Google Cloud Tpu V2 Client - Class GuestAttributes (1.3.2)

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

A guest attributes.

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

Namespace

Google \ Cloud \ Tpu \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ query_path string

The path to be queried. This can be the default namespace ('/') or a nested namespace ('/<namespace>/') or a specified key ('/<namespace>/<key>')

↳ query_value Google\Cloud\Tpu\V2\GuestAttributesValue

The value of the requested queried path.

getQueryPath

The path to be queried. This can be the default namespace ('/') or a nested namespace ('/<namespace>/') or a specified key ('/<namespace>/<key>')

Returns
TypeDescription
string

setQueryPath

The path to be queried. This can be the default namespace ('/') or a nested namespace ('/<namespace>/') or a specified key ('/<namespace>/<key>')

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getQueryValue

The value of the requested queried path.

Returns
TypeDescription
Google\Cloud\Tpu\V2\GuestAttributesValue|null

hasQueryValue

clearQueryValue

setQueryValue

The value of the requested queried path.

Parameter
NameDescription
var Google\Cloud\Tpu\V2\GuestAttributesValue
Returns
TypeDescription
$this