Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueSecurityContextContext

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

Returns a new instance of GoogleCloudSecuritycenterV2IssueSecurityContextContext.



8066
8067
8068
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 8066

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

Instance Attribute Details

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


8059
8060
8061
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 8059

def type
  @type
end

#valuesArray<String>

Corresponds to the JSON property values

Returns:

  • (Array<String>)


8064
8065
8066
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 8064

def values
  @values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8071
8072
8073
8074
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 8071

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