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.



1680
1681
1682
# File 'lib/google/apis/run_v2/classes.rb', line 1680

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)


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