Class: Google::Apis::RunV2::GoogleCloudRunV2Metadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/run_v2/classes.rb,
lib/google/apis/run_v2/representations.rb,
lib/google/apis/run_v2/representations.rb

Overview

Metadata represents the JSON encoded generated customer metadata.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRunV2Metadata

Returns a new instance of GoogleCloudRunV2Metadata.



1408
1409
1410
# File 'lib/google/apis/run_v2/classes.rb', line 1408

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

Instance Attribute Details

#metadataString

JSON encoded Google-generated Customer Metadata for a given resource/project. Corresponds to the JSON property metadata

Returns:

  • (String)


1406
1407
1408
# File 'lib/google/apis/run_v2/classes.rb', line 1406

def 
  @metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1413
1414
1415
# File 'lib/google/apis/run_v2/classes.rb', line 1413

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