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

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

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.



16623
16624
16625
# File 'lib/google/apis/compute_beta/classes.rb', line 16623

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

Instance Attribute Details

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

Corresponds to the JSON property items



16621
16622
16623
# File 'lib/google/apis/compute_beta/classes.rb', line 16621

def items
  @items
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16628
16629
16630
# File 'lib/google/apis/compute_beta/classes.rb', line 16628

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