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.
1680 1681 1682 |
# File 'lib/google/apis/run_v2/classes.rb', line 1680 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
1678 1679 1680 |
# File 'lib/google/apis/run_v2/classes.rb', line 1678 def @metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1685 1686 1687 |
# File 'lib/google/apis/run_v2/classes.rb', line 1685 def update!(**args) @metadata = args[:metadata] if args.key?(:metadata) end |