Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ResourceApplicationAttributes

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV1ResourceApplicationAttributes

Returns a new instance of GoogleCloudSecuritycenterV1ResourceApplicationAttributes.



4037
4038
4039
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4037

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

Instance Attribute Details

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

Corresponds to the JSON property businessOwners



4015
4016
4017
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4015

def business_owners
  @business_owners
end

#criticalityGoogle::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality

Corresponds to the JSON property criticality



4020
4021
4022
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4020

def criticality
  @criticality
end

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

Corresponds to the JSON property developerOwners



4025
4026
4027
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4025

def developer_owners
  @developer_owners
end

#environmentGoogle::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment

Corresponds to the JSON property environment



4030
4031
4032
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4030

def environment
  @environment
end

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

Corresponds to the JSON property operatorOwners



4035
4036
4037
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4035

def operator_owners
  @operator_owners
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4042
4043
4044
4045
4046
4047
4048
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 4042

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