Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueSecurityContextContext
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueSecurityContextContext
- 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
-
#type ⇒ String
Corresponds to the JSON property
type. -
#values ⇒ Array<String>
Corresponds to the JSON property
values.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2IssueSecurityContextContext
constructor
A new instance of GoogleCloudSecuritycenterV2IssueSecurityContextContext.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2IssueSecurityContextContext
Returns a new instance of GoogleCloudSecuritycenterV2IssueSecurityContextContext.
8399 8400 8401 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8399 def initialize(**args) update!(**args) end |
Instance Attribute Details
#type ⇒ String
Corresponds to the JSON property type
8392 8393 8394 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8392 def type @type end |
#values ⇒ Array<String>
Corresponds to the JSON property values
8397 8398 8399 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8397 def values @values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8404 8405 8406 8407 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8404 def update!(**args) @type = args[:type] if args.key?(:type) @values = args[:values] if args.key?(:values) end |