Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueSecurityContext

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2IssueSecurityContext

Returns a new instance of GoogleCloudSecuritycenterV2IssueSecurityContext.



7735
7736
7737
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7735

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

Instance Attribute Details

#aggregated_countGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount

Corresponds to the JSON property aggregatedCount



7728
7729
7730
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7728

def aggregated_count
  @aggregated_count
end

#contextGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IssueSecurityContextContext

Corresponds to the JSON property context



7733
7734
7735
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7733

def context
  @context
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7740
7741
7742
7743
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 7740

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