Class: Google::Apis::ComputeAlpha::InstanceSettingsMetadata
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::InstanceSettingsMetadata
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/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.
26106 26107 26108 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 26106 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
26099 26100 26101 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 26099 def items @items end |
#kind ⇒ String
[Output Only] Type of the resource. Always compute#metadata for metadata.
Corresponds to the JSON property kind
26104 26105 26106 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 26104 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
26111 26112 26113 26114 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 26111 def update!(**args) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) end |