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.
1408 1409 1410 |
# File 'lib/google/apis/run_v2/classes.rb', line 1408 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
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 |