Google Cloud Tpu V2 Client - Class GetGuestAttributesRequest (1.1.1)

Reference documentation and code samples for the Google Cloud Tpu V2 Client class GetGuestAttributesRequest.

Request for GetGuestAttributes.

Generated from protobuf message google.cloud.tpu.v2.GetGuestAttributesRequest

Namespace

Google \ Cloud \ Tpu \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource name.

↳ query_path string

The guest attributes path to be queried.

↳ worker_ids array

The 0-based worker ID. If it is empty, all workers' GuestAttributes will be returned.

getName

Required. The resource name.

Returns
TypeDescription
string

setName

Required. The resource name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getQueryPath

The guest attributes path to be queried.

Returns
TypeDescription
string

setQueryPath

The guest attributes path to be queried.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getWorkerIds

The 0-based worker ID. If it is empty, all workers' GuestAttributes will be returned.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setWorkerIds

The 0-based worker ID. If it is empty, all workers' GuestAttributes will be returned.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this