Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueSecurityContext

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2IssueSecurityContext

Returns a new instance of GoogleCloudSecuritycenterV2IssueSecurityContext.



8640
8641
8642
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8640

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

Instance Attribute Details

#aggregated_countGoogle::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount

Corresponds to the JSON property aggregatedCount



8633
8634
8635
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8633

def aggregated_count
  @aggregated_count
end

#contextGoogle::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueSecurityContextContext

Corresponds to the JSON property context



8638
8639
8640
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8638

def context
  @context
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8645
8646
8647
8648
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 8645

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