Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueSecurityContextContext
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueSecurityContextContext
- 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
Context of a security context.
Instance Attribute Summary collapse
-
#type ⇒ String
Context type.
-
#values ⇒ Array<String>
Context 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.
6806 6807 6808 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6806 def initialize(**args) update!(**args) end |
Instance Attribute Details
#type ⇒ String
Context type.
Corresponds to the JSON property type
6799 6800 6801 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6799 def type @type end |
#values ⇒ Array<String>
Context values.
Corresponds to the JSON property values
6804 6805 6806 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6804 def values @values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6811 6812 6813 6814 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 6811 def update!(**args) @type = args[:type] if args.key?(:type) @values = args[:values] if args.key?(:values) end |