Google Cloud Tpu V2 Client - Class GuestAttributes (1.4.5)

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
Name Description
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
Type Description
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
Name Description
var string
Returns
Type Description
$this

getQueryValue

The value of the requested queried path.

Returns
Type Description
Google\Cloud\Tpu\V2\GuestAttributesValue|null

hasQueryValue

clearQueryValue

setQueryValue

The value of the requested queried path.

Parameter
Name Description
var Google\Cloud\Tpu\V2\GuestAttributesValue
Returns
Type Description
$this