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.



425
426
427
# File 'lib/google/apis/tpu_v2/classes.rb', line 425

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



423
424
425
# File 'lib/google/apis/tpu_v2/classes.rb', line 423

def items
  @items
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



430
431
432
# File 'lib/google/apis/tpu_v2/classes.rb', line 430

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