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.
403 404 405 |
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 403 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
401 402 403 |
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 401 def items @items end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
408 409 410 |
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 408 def update!(**args) @items = args[:items] if args.key?(:items) end |