Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality

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

Overview

Criticality of the Application, Service, or Workload

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality

Returns a new instance of GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality.



10177
10178
10179
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10177

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

Instance Attribute Details

#typeString

Criticality Type. Corresponds to the JSON property type

Returns:

  • (String)


10175
10176
10177
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10175

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10182
10183
10184
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10182

def update!(**args)
  @type = args[:type] if args.key?(:type)
end