Class: Google::Apis::ApphubV1::Attributes
- Inherits:
-
Object
- Object
- Google::Apis::ApphubV1::Attributes
- 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
Consumer provided attributes.
Instance Attribute Summary collapse
-
#business_owners ⇒ Array<Google::Apis::ApphubV1::ContactInfo>
Optional.
-
#criticality ⇒ Google::Apis::ApphubV1::Criticality
Criticality of the Application, Service, or Workload Corresponds to the JSON property
criticality
. -
#developer_owners ⇒ Array<Google::Apis::ApphubV1::ContactInfo>
Optional.
-
#environment ⇒ Google::Apis::ApphubV1::Environment
Environment of the Application, Service, or Workload Corresponds to the JSON property
environment
. -
#operator_owners ⇒ Array<Google::Apis::ApphubV1::ContactInfo>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Attributes
constructor
A new instance of Attributes.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Attributes
Returns a new instance of Attributes.
174 175 176 |
# File 'lib/google/apis/apphub_v1/classes.rb', line 174 def initialize(**args) update!(**args) end |
Instance Attribute Details
#business_owners ⇒ Array<Google::Apis::ApphubV1::ContactInfo>
Optional. Business team that ensures user needs are met and value is delivered
Corresponds to the JSON property businessOwners
152 153 154 |
# File 'lib/google/apis/apphub_v1/classes.rb', line 152 def business_owners @business_owners end |
#criticality ⇒ Google::Apis::ApphubV1::Criticality
Criticality of the Application, Service, or Workload
Corresponds to the JSON property criticality
157 158 159 |
# File 'lib/google/apis/apphub_v1/classes.rb', line 157 def criticality @criticality end |
#developer_owners ⇒ Array<Google::Apis::ApphubV1::ContactInfo>
Optional. Developer team that owns development and coding.
Corresponds to the JSON property developerOwners
162 163 164 |
# File 'lib/google/apis/apphub_v1/classes.rb', line 162 def developer_owners @developer_owners end |
#environment ⇒ Google::Apis::ApphubV1::Environment
Environment of the Application, Service, or Workload
Corresponds to the JSON property environment
167 168 169 |
# File 'lib/google/apis/apphub_v1/classes.rb', line 167 def environment @environment end |
#operator_owners ⇒ Array<Google::Apis::ApphubV1::ContactInfo>
Optional. Operator team that ensures runtime and operations.
Corresponds to the JSON property operatorOwners
172 173 174 |
# File 'lib/google/apis/apphub_v1/classes.rb', line 172 def operator_owners @operator_owners end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
179 180 181 182 183 184 185 |
# File 'lib/google/apis/apphub_v1/classes.rb', line 179 def update!(**args) @business_owners = args[:business_owners] if args.key?(:business_owners) @criticality = args[:criticality] if args.key?(:criticality) @developer_owners = args[:developer_owners] if args.key?(:developer_owners) @environment = args[:environment] if args.key?(:environment) @operator_owners = args[:operator_owners] if args.key?(:operator_owners) end |