Class: Google::Apis::ApphubV1::Application
- Inherits:
-
Object
- Object
- Google::Apis::ApphubV1::Application
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apphub_v1/classes.rb,
lib/google/apis/apphub_v1/representations.rb,
lib/google/apis/apphub_v1/representations.rb
Overview
Application defines the governance boundary for App Hub entities that perform a logical end-to-end business function. App Hub supports application level IAM permission to align with governance requirements.
Instance Attribute Summary collapse
-
#attributes ⇒ Google::Apis::ApphubV1::Attributes
Consumer provided attributes.
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Optional.
-
#display_name ⇒ String
Optional.
-
#name ⇒ String
Identifier.
-
#scope ⇒ Google::Apis::ApphubV1::Scope
Scope of an application.
-
#state ⇒ String
Output only.
-
#uid ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Application
constructor
A new instance of Application.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Application
Returns a new instance of Application.
80 81 82 |
# File 'lib/google/apis/apphub_v1/classes.rb', line 80 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attributes ⇒ Google::Apis::ApphubV1::Attributes
Consumer provided attributes.
Corresponds to the JSON property attributes
34 35 36 |
# File 'lib/google/apis/apphub_v1/classes.rb', line 34 def attributes @attributes end |
#create_time ⇒ String
Output only. Create time.
Corresponds to the JSON property createTime
39 40 41 |
# File 'lib/google/apis/apphub_v1/classes.rb', line 39 def create_time @create_time end |
#description ⇒ String
Optional. User-defined description of an Application. Can have a maximum
length of 2048 characters.
Corresponds to the JSON property description
45 46 47 |
# File 'lib/google/apis/apphub_v1/classes.rb', line 45 def description @description end |
#display_name ⇒ String
Optional. User-defined name for the Application. Can have a maximum length of
63 characters.
Corresponds to the JSON property displayName
51 52 53 |
# File 'lib/google/apis/apphub_v1/classes.rb', line 51 def display_name @display_name end |
#name ⇒ String
Identifier. The resource name of an Application. Format: "projects/
host-
project-id/locations/
location/applications/
application-id"
Corresponds to the JSON property name
57 58 59 |
# File 'lib/google/apis/apphub_v1/classes.rb', line 57 def name @name end |
#scope ⇒ Google::Apis::ApphubV1::Scope
Scope of an application.
Corresponds to the JSON property scope
62 63 64 |
# File 'lib/google/apis/apphub_v1/classes.rb', line 62 def scope @scope end |
#state ⇒ String
Output only. Application state.
Corresponds to the JSON property state
67 68 69 |
# File 'lib/google/apis/apphub_v1/classes.rb', line 67 def state @state end |
#uid ⇒ String
Output only. A universally unique identifier (in UUID4 format) for the
Application
.
Corresponds to the JSON property uid
73 74 75 |
# File 'lib/google/apis/apphub_v1/classes.rb', line 73 def uid @uid end |
#update_time ⇒ String
Output only. Update time.
Corresponds to the JSON property updateTime
78 79 80 |
# File 'lib/google/apis/apphub_v1/classes.rb', line 78 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
85 86 87 88 89 90 91 92 93 94 95 |
# File 'lib/google/apis/apphub_v1/classes.rb', line 85 def update!(**args) @attributes = args[:attributes] if args.key?(:attributes) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) @scope = args[:scope] if args.key?(:scope) @state = args[:state] if args.key?(:state) @uid = args[:uid] if args.key?(:uid) @update_time = args[:update_time] if args.key?(:update_time) end |