Class: Google::Apis::TpuV2alpha1::GuestAttributesValue

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/tpu_v2alpha1/classes.rb,
lib/google/apis/tpu_v2alpha1/representations.rb,
lib/google/apis/tpu_v2alpha1/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.



515
516
517
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 515

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

Instance Attribute Details

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

The list of guest attributes entries. Corresponds to the JSON property items



513
514
515
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 513

def items
  @items
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



520
521
522
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 520

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