Class: Google::Apis::TpuV2::GetGuestAttributesRequest
- Inherits:
-
Object
- Object
- Google::Apis::TpuV2::GetGuestAttributesRequest
- 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
Request for GetGuestAttributes.
Instance Attribute Summary collapse
-
#query_path ⇒ String
The guest attributes path to be queried.
-
#worker_ids ⇒ Array<String>
The 0-based worker ID.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GetGuestAttributesRequest
constructor
A new instance of GetGuestAttributesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GetGuestAttributesRequest
Returns a new instance of GetGuestAttributesRequest.
266 267 268 |
# File 'lib/google/apis/tpu_v2/classes.rb', line 266 def initialize(**args) update!(**args) end |
Instance Attribute Details
#query_path ⇒ String
The guest attributes path to be queried.
Corresponds to the JSON property queryPath
258 259 260 |
# File 'lib/google/apis/tpu_v2/classes.rb', line 258 def query_path @query_path end |
#worker_ids ⇒ Array<String>
The 0-based worker ID. If it is empty, all workers' GuestAttributes will be
returned.
Corresponds to the JSON property workerIds
264 265 266 |
# File 'lib/google/apis/tpu_v2/classes.rb', line 264 def worker_ids @worker_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
271 272 273 274 |
# File 'lib/google/apis/tpu_v2/classes.rb', line 271 def update!(**args) @query_path = args[:query_path] if args.key?(:query_path) @worker_ids = args[:worker_ids] if args.key?(:worker_ids) end |