Class: Google::Apis::ApphubV1alpha::Application
- Inherits:
-
Object
- Object
- Google::Apis::ApphubV1alpha::Application
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apphub_v1alpha/classes.rb,
lib/google/apis/apphub_v1alpha/representations.rb,
lib/google/apis/apphub_v1alpha/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::ApphubV1alpha::Attributes
Consumer provided attributes.
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Optional.
-
#display_name ⇒ String
Optional.
-
#name ⇒ String
Identifier.
-
#scope ⇒ Google::Apis::ApphubV1alpha::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.
78 79 80 |
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 78 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attributes ⇒ Google::Apis::ApphubV1alpha::Attributes
Consumer provided attributes.
Corresponds to the JSON property attributes
34 35 36 |
# File 'lib/google/apis/apphub_v1alpha/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_v1alpha/classes.rb', line 39 def create_time @create_time end |
#description ⇒ String
Optional. User-defined description of an Application.
Corresponds to the JSON property description
44 45 46 |
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 44 def description @description end |
#display_name ⇒ String
Optional. User-defined name for the Application.
Corresponds to the JSON property displayName
49 50 51 |
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 49 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
55 56 57 |
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 55 def name @name end |
#scope ⇒ Google::Apis::ApphubV1alpha::Scope
Scope of an application.
Corresponds to the JSON property scope
60 61 62 |
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 60 def scope @scope end |
#state ⇒ String
Output only. Application state.
Corresponds to the JSON property state
65 66 67 |
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 65 def state @state end |
#uid ⇒ String
Output only. A universally unique identifier (in UUID4 format) for the
Application.
Corresponds to the JSON property uid
71 72 73 |
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 71 def uid @uid end |
#update_time ⇒ String
Output only. Update time.
Corresponds to the JSON property updateTime
76 77 78 |
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 76 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
83 84 85 86 87 88 89 90 91 92 93 |
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 83 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 |