Compute V1 Client - Class GuestAttributes (1.5.0)

Reference documentation and code samples for the Compute V1 Client class GuestAttributes.

A guest attributes entry.

Generated from protobuf message google.cloud.compute.v1.GuestAttributes

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ kind string

[Output Only] Type of the resource. Always compute#guestAttributes for guest attributes entry.

↳ query_path string

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

↳ query_value Google\Cloud\Compute\V1\GuestAttributesValue

[Output Only] The value of the requested queried path.

↳ self_link string

[Output Only] Server-defined URL for this resource.

↳ variable_key string

The key to search for.

↳ variable_value string

[Output Only] The value found for the requested key.

getKind

[Output Only] Type of the resource. Always compute#guestAttributes for guest attributes entry.

Generated from protobuf field optional string kind = 3292052;

Returns
TypeDescription
string

hasKind

clearKind

setKind

[Output Only] Type of the resource. Always compute#guestAttributes for guest attributes entry.

Generated from protobuf field optional string kind = 3292052;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getQueryPath

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

Generated from protobuf field optional string query_path = 368591164;

Returns
TypeDescription
string

hasQueryPath

clearQueryPath

setQueryPath

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

Generated from protobuf field optional string query_path = 368591164;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getQueryValue

[Output Only] The value of the requested queried path.

Generated from protobuf field optional .google.cloud.compute.v1.GuestAttributesValue query_value = 157570874;

Returns
TypeDescription
Google\Cloud\Compute\V1\GuestAttributesValue|null

hasQueryValue

clearQueryValue

setQueryValue

[Output Only] The value of the requested queried path.

Generated from protobuf field optional .google.cloud.compute.v1.GuestAttributesValue query_value = 157570874;

Parameter
NameDescription
var Google\Cloud\Compute\V1\GuestAttributesValue
Returns
TypeDescription
$this

[Output Only] Server-defined URL for this resource.

Generated from protobuf field optional string self_link = 456214797;

Returns
TypeDescription
string

[Output Only] Server-defined URL for this resource.

Generated from protobuf field optional string self_link = 456214797;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getVariableKey

The key to search for.

Generated from protobuf field optional string variable_key = 164364828;

Returns
TypeDescription
string

hasVariableKey

clearVariableKey

setVariableKey

The key to search for.

Generated from protobuf field optional string variable_key = 164364828;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getVariableValue

[Output Only] The value found for the requested key.

Generated from protobuf field optional string variable_value = 124582382;

Returns
TypeDescription
string

hasVariableValue

clearVariableValue

setVariableValue

[Output Only] The value found for the requested key.

Generated from protobuf field optional string variable_value = 124582382;

Parameter
NameDescription
var string
Returns
TypeDescription
$this