Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount

Returns a new instance of GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount.



8041
8042
8043
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 8041

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

Instance Attribute Details

#keyString

Corresponds to the JSON property key

Returns:

  • (String)


8034
8035
8036
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 8034

def key
  @key
end

#valueFixnum

Corresponds to the JSON property value

Returns:

  • (Fixnum)


8039
8040
8041
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 8039

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8046
8047
8048
8049
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 8046

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