Class: Google::Apis::ComputeBeta::InstanceSettingsMetadata

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InstanceSettingsMetadata

Returns a new instance of InstanceSettingsMetadata.



19793
19794
19795
# File 'lib/google/apis/compute_beta/classes.rb', line 19793

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#itemsHash<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

Returns:

  • (Hash<String,String>)


19786
19787
19788
# File 'lib/google/apis/compute_beta/classes.rb', line 19786

def items
  @items
end

#kindString

[Output Only] Type of the resource. Always compute#metadata for metadata. Corresponds to the JSON property kind

Returns:

  • (String)


19791
19792
19793
# File 'lib/google/apis/compute_beta/classes.rb', line 19791

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19798
19799
19800
19801
# File 'lib/google/apis/compute_beta/classes.rb', line 19798

def update!(**args)
  @items = args[:items] if args.key?(:items)
  @kind = args[:kind] if args.key?(:kind)
end