Class: Google::Apis::ComputeV1::InstanceSettingsMetadata
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::InstanceSettingsMetadata
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb
Instance Attribute Summary collapse
-
#items ⇒ Hash<String,String>
A metadata key/value items map.
-
#kind ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InstanceSettingsMetadata
constructor
A new instance of InstanceSettingsMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InstanceSettingsMetadata
Returns a new instance of InstanceSettingsMetadata.
22408 22409 22410 |
# File 'lib/google/apis/compute_v1/classes.rb', line 22408 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Hash<String,String>
A metadata key/value items map.
The total size of all keys and values must be less than 512KB.
Corresponds to the JSON property items
22400 22401 22402 |
# File 'lib/google/apis/compute_v1/classes.rb', line 22400 def items @items end |
#kind ⇒ String
Output only. [Output Only] Type of the resource. Always compute#metadata
for metadata.
Corresponds to the JSON property kind
22406 22407 22408 |
# File 'lib/google/apis/compute_v1/classes.rb', line 22406 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
22413 22414 22415 22416 |
# File 'lib/google/apis/compute_v1/classes.rb', line 22413 def update!(**args) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) end |