Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality

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

Returns a new instance of GoogleCloudSecuritycenterV2IssueResourceApplicationAttributesCriticality.



7573
7574
7575
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7573

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

Instance Attribute Details

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


7571
7572
7573
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7571

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7578
7579
7580
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7578

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