Class: Google::Apis::ComputeAlpha::GuestAttributesValue

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

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.



18764
18765
18766
# File 'lib/google/apis/compute_alpha/classes.rb', line 18764

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

Instance Attribute Details

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

Corresponds to the JSON property items



18762
18763
18764
# File 'lib/google/apis/compute_alpha/classes.rb', line 18762

def items
  @items
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18769
18770
18771
# File 'lib/google/apis/compute_alpha/classes.rb', line 18769

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