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

Constructor Details

#initialize(**args) ⇒ GuestAttributesValue

Returns a new instance of GuestAttributesValue.



8942
8943
8944
# File 'generated/google/apis/compute_beta/classes.rb', line 8942

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

Instance Attribute Details

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

Corresponds to the JSON property items



8940
8941
8942
# File 'generated/google/apis/compute_beta/classes.rb', line 8940

def items
  @items
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8947
8948
8949
# File 'generated/google/apis/compute_beta/classes.rb', line 8947

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