Class: Google::Apis::ComputeBeta::GuestAttributesValue

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/compute_beta/classes.rb,
generated/google/apis/compute_beta/representations.rb,
generated/google/apis/compute_beta/representations.rb

Overview

Array of guest attribute namespace/key/value tuples.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GuestAttributesValue

Returns a new instance of GuestAttributesValue



7636
7637
7638
# File 'generated/google/apis/compute_beta/classes.rb', line 7636

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

Instance Attribute Details

#itemsArray<Google::Apis::ComputeBeta::GuestAttributesEntry>

Corresponds to the JSON property items



7634
7635
7636
# File 'generated/google/apis/compute_beta/classes.rb', line 7634

def items
  @items
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7641
7642
7643
# File 'generated/google/apis/compute_beta/classes.rb', line 7641

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