Class: Google::Apis::ComputeAlpha::InstanceSettingsMetadata

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InstanceSettingsMetadata

Returns a new instance of InstanceSettingsMetadata.



19756
19757
19758
# File 'lib/google/apis/compute_alpha/classes.rb', line 19756

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

Instance Attribute Details

#kindString

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

Returns:

  • (String)


19748
19749
19750
# File 'lib/google/apis/compute_alpha/classes.rb', line 19748

def kind
  @kind
end

#metadatasHash<String,String>

A metadata key/value map. The total size of all keys and values must be less than 512KB. Corresponds to the JSON property metadatas

Returns:

  • (Hash<String,String>)


19754
19755
19756
# File 'lib/google/apis/compute_alpha/classes.rb', line 19754

def metadatas
  @metadatas
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19761
19762
19763
19764
# File 'lib/google/apis/compute_alpha/classes.rb', line 19761

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