Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ResourceApplicationAttributes

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV1ResourceApplicationAttributes

Returns a new instance of GoogleCloudSecuritycenterV1ResourceApplicationAttributes.



3792
3793
3794
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3792

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

Instance Attribute Details

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

Corresponds to the JSON property businessOwners



3770
3771
3772
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3770

def business_owners
  @business_owners
end

#criticalityGoogle::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality

Corresponds to the JSON property criticality



3775
3776
3777
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3775

def criticality
  @criticality
end

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

Corresponds to the JSON property developerOwners



3780
3781
3782
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3780

def developer_owners
  @developer_owners
end

#environmentGoogle::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment

Corresponds to the JSON property environment



3785
3786
3787
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3785

def environment
  @environment
end

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

Corresponds to the JSON property operatorOwners



3790
3791
3792
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3790

def operator_owners
  @operator_owners
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3797
3798
3799
3800
3801
3802
3803
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 3797

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