Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount

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) ⇒ GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount

Returns a new instance of GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount.



8219
8220
8221
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 8219

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

Instance Attribute Details

#idString

Corresponds to the JSON property id

Returns:

  • (String)


8212
8213
8214
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 8212

def id
  @id
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


8217
8218
8219
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 8217

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8224
8225
8226
8227
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 8224

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