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.



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

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



103
104
105
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 103

def business_owners
  @business_owners
end

#criticalityGoogle::Apis::ApphubV1alpha::Criticality

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



108
109
110
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 108

def criticality
  @criticality
end

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

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



113
114
115
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 113

def developer_owners
  @developer_owners
end

#environmentGoogle::Apis::ApphubV1alpha::Environment

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



118
119
120
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 118

def environment
  @environment
end

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

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



123
124
125
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 123

def operator_owners
  @operator_owners
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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