Class: Google::Apis::ApphubV1alpha::Attributes

Inherits:
Object
  • Object
show all
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

Consumer provided attributes.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Attributes

Returns a new instance of Attributes.



127
128
129
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 127

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#business_ownersArray<Google::Apis::ApphubV1alpha::ContactInfo>

Optional. Business team that ensures user needs are met and value is delivered Corresponds to the JSON property businessOwners



105
106
107
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 105

def business_owners
  @business_owners
end

#criticalityGoogle::Apis::ApphubV1alpha::Criticality

Criticality of the Application, Service, or Workload Corresponds to the JSON property criticality



110
111
112
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 110

def criticality
  @criticality
end

#developer_ownersArray<Google::Apis::ApphubV1alpha::ContactInfo>

Optional. Developer team that owns development and coding. Corresponds to the JSON property developerOwners



115
116
117
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 115

def developer_owners
  @developer_owners
end

#environmentGoogle::Apis::ApphubV1alpha::Environment

Environment of the Application, Service, or Workload Corresponds to the JSON property environment



120
121
122
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 120

def environment
  @environment
end

#operator_ownersArray<Google::Apis::ApphubV1alpha::ContactInfo>

Optional. Operator team that ensures runtime and operations. Corresponds to the JSON property operatorOwners



125
126
127
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 125

def operator_owners
  @operator_owners
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



132
133
134
135
136
137
138
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 132

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