Class: Google::Apis::TpuV2alpha1::GuestAttributesValue
- Inherits:
-
Object
- Object
- Google::Apis::TpuV2alpha1::GuestAttributesValue
- 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
-
#items ⇒ Array<Google::Apis::TpuV2alpha1::GuestAttributesEntry>
The list of guest attributes entries.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GuestAttributesValue
constructor
A new instance of GuestAttributesValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GuestAttributesValue
Returns a new instance of GuestAttributesValue.
452 453 454 |
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 452 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::TpuV2alpha1::GuestAttributesEntry>
The list of guest attributes entries.
Corresponds to the JSON property items
450 451 452 |
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 450 def items @items end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
457 458 459 |
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 457 def update!(**args) @items = args[:items] if args.key?(:items) end |