Class: Google::Apis::ComputeBeta::InstanceSettingsMetadata
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::InstanceSettingsMetadata
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb
Instance Attribute Summary collapse
-
#items ⇒ Hash<String,String>
A metadata key/value items map.
-
#kind ⇒ String
[Output Only] Type of the resource.
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.
19194 19195 19196 |
# File 'lib/google/apis/compute_beta/classes.rb', line 19194 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
19187 19188 19189 |
# File 'lib/google/apis/compute_beta/classes.rb', line 19187 def items @items end |
#kind ⇒ String
[Output Only] Type of the resource. Always compute#metadata for metadata.
Corresponds to the JSON property kind
19192 19193 19194 |
# File 'lib/google/apis/compute_beta/classes.rb', line 19192 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19199 19200 19201 19202 |
# File 'lib/google/apis/compute_beta/classes.rb', line 19199 def update!(**args) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) end |