Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ResourceApplicationAttributes

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) ⇒ GoogleCloudSecuritycenterV1ResourceApplicationAttributes

Returns a new instance of GoogleCloudSecuritycenterV1ResourceApplicationAttributes.



3523
3524
3525
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3523

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

Instance Attribute Details

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

Corresponds to the JSON property businessOwners



3501
3502
3503
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3501

def business_owners
  @business_owners
end

#criticalityGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality

Corresponds to the JSON property criticality



3506
3507
3508
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3506

def criticality
  @criticality
end

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

Corresponds to the JSON property developerOwners



3511
3512
3513
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3511

def developer_owners
  @developer_owners
end

#environmentGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment

Corresponds to the JSON property environment



3516
3517
3518
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3516

def environment
  @environment
end

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

Corresponds to the JSON property operatorOwners



3521
3522
3523
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3521

def operator_owners
  @operator_owners
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3528
3529
3530
3531
3532
3533
3534
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3528

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