Google Cloud Tpu V2 Client - Class GetGuestAttributesRequest (1.4.5)

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
Name Description
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
Type Description
string

setName

Required. The resource name.

Parameter
Name Description
var string
Returns
Type Description
$this

getQueryPath

The guest attributes path to be queried.

Returns
Type Description
string

setQueryPath

The guest attributes path to be queried.

Parameter
Name Description
var string
Returns
Type Description
$this

getWorkerIds

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

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setWorkerIds

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

Parameter
Name Description
var string[]
Returns
Type Description
$this