Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2ResourceApplicationAttributes

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

Returns a new instance of GoogleCloudSecuritycenterV2ResourceApplicationAttributes.



9071
9072
9073
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9071

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

Instance Attribute Details

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

Corresponds to the JSON property businessOwners



9049
9050
9051
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9049

def business_owners
  @business_owners
end

#criticalityGoogle::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality

Corresponds to the JSON property criticality



9054
9055
9056
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9054

def criticality
  @criticality
end

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

Corresponds to the JSON property developerOwners



9059
9060
9061
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9059

def developer_owners
  @developer_owners
end

#environmentGoogle::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment

Corresponds to the JSON property environment



9064
9065
9066
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9064

def environment
  @environment
end

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

Corresponds to the JSON property operatorOwners



9069
9070
9071
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9069

def operator_owners
  @operator_owners
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9076
9077
9078
9079
9080
9081
9082
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 9076

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