Class: Google::Apis::TpuV2::GuestAttributesValue

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



383
384
385
# File 'lib/google/apis/tpu_v2/classes.rb', line 383

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

Instance Attribute Details

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

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



381
382
383
# File 'lib/google/apis/tpu_v2/classes.rb', line 381

def items
  @items
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



388
389
390
# File 'lib/google/apis/tpu_v2/classes.rb', line 388

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