Class: Google::Apis::TpuV2::GuestAttributes
- Inherits:
-
Object
- Object
- Google::Apis::TpuV2::GuestAttributes
- 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
A guest attributes.
Instance Attribute Summary collapse
-
#query_path ⇒ String
The path to be queried.
-
#query_value ⇒ Google::Apis::TpuV2::GuestAttributesValue
Array of guest attribute namespace/key/value tuples.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GuestAttributes
constructor
A new instance of GuestAttributes.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GuestAttributes
Returns a new instance of GuestAttributes.
332 333 334 |
# File 'lib/google/apis/tpu_v2/classes.rb', line 332 def initialize(**args) update!(**args) end |
Instance Attribute Details
#query_path ⇒ String
The path to be queried. This can be the default namespace ('/') or a nested
namespace ('/\/') or a specified key ('/\/\')
Corresponds to the JSON property queryPath
325 326 327 |
# File 'lib/google/apis/tpu_v2/classes.rb', line 325 def query_path @query_path end |
#query_value ⇒ Google::Apis::TpuV2::GuestAttributesValue
Array of guest attribute namespace/key/value tuples.
Corresponds to the JSON property queryValue
330 331 332 |
# File 'lib/google/apis/tpu_v2/classes.rb', line 330 def query_value @query_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
337 338 339 340 |
# File 'lib/google/apis/tpu_v2/classes.rb', line 337 def update!(**args) @query_path = args[:query_path] if args.key?(:query_path) @query_value = args[:query_value] if args.key?(:query_value) end |