Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueSecurityContextContext

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

Returns a new instance of GoogleCloudSecuritycenterV2IssueSecurityContextContext.



7773
7774
7775
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7773

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

Instance Attribute Details

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


7766
7767
7768
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7766

def type
  @type
end

#valuesArray<String>

Corresponds to the JSON property values

Returns:

  • (Array<String>)


7771
7772
7773
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7771

def values
  @values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7778
7779
7780
7781
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7778

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