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 \ V2Methods
__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 |
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 |
GuestAttributesValue|null |
|
hasQueryValue
clearQueryValue
setQueryValue
The value of the requested queried path.
| Parameter | |
|---|---|
| Name | Description |
var |
GuestAttributesValue
|
| Returns | |
|---|---|
| Type | Description |
$this |
|