Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueSecurityContext
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueSecurityContext
- 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
Overview
Security context associated with an issue.
Instance Attribute Summary collapse
-
#aggregated_count ⇒ Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount
Aggregated count of a security context.
-
#context ⇒ Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueSecurityContextContext
Context of a security context.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2IssueSecurityContext
constructor
A new instance of GoogleCloudSecuritycenterV2IssueSecurityContext.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2IssueSecurityContext
Returns a new instance of GoogleCloudSecuritycenterV2IssueSecurityContext.
8311 8312 8313 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8311 def initialize(**args) update!(**args) end |
Instance Attribute Details
#aggregated_count ⇒ Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount
Aggregated count of a security context.
Corresponds to the JSON property aggregatedCount
8304 8305 8306 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8304 def aggregated_count @aggregated_count end |
#context ⇒ Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueSecurityContextContext
Context of a security context.
Corresponds to the JSON property context
8309 8310 8311 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8309 def context @context end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8316 8317 8318 8319 |
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8316 def update!(**args) @aggregated_count = args[:aggregated_count] if args.key?(:aggregated_count) @context = args[:context] if args.key?(:context) end |