Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourceApplicationAttributes

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/securitycenter_v1beta2/classes.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2ResourceApplicationAttributes

Returns a new instance of GoogleCloudSecuritycenterV2ResourceApplicationAttributes.



9293
9294
9295
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9293

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

Instance Attribute Details

#business_ownersArray<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo>

Corresponds to the JSON property businessOwners



9271
9272
9273
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9271

def business_owners
  @business_owners
end

#criticalityGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality

Corresponds to the JSON property criticality



9276
9277
9278
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9276

def criticality
  @criticality
end

#developer_ownersArray<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo>

Corresponds to the JSON property developerOwners



9281
9282
9283
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9281

def developer_owners
  @developer_owners
end

#environmentGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment

Corresponds to the JSON property environment



9286
9287
9288
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9286

def environment
  @environment
end

#operator_ownersArray<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo>

Corresponds to the JSON property operatorOwners



9291
9292
9293
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9291

def operator_owners
  @operator_owners
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9298
9299
9300
9301
9302
9303
9304
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 9298

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