Class: Google::Apis::RunV2::GoogleCloudRunV2Metadata
- Inherits:
-
Object
- Object
- Google::Apis::RunV2::GoogleCloudRunV2Metadata
- 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
-
#metadata ⇒ String
JSON encoded Google-generated Customer Metadata for a given resource/project.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRunV2Metadata
constructor
A new instance of GoogleCloudRunV2Metadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRunV2Metadata
Returns a new instance of GoogleCloudRunV2Metadata.
1331 1332 1333 |
# File 'lib/google/apis/run_v2/classes.rb', line 1331 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metadata ⇒ String
JSON encoded Google-generated Customer Metadata for a given resource/project.
Corresponds to the JSON property metadata
1329 1330 1331 |
# File 'lib/google/apis/run_v2/classes.rb', line 1329 def @metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1336 1337 1338 |
# File 'lib/google/apis/run_v2/classes.rb', line 1336 def update!(**args) @metadata = args[:metadata] if args.key?(:metadata) end |