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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
Google\Cloud\Compute\V1\GuestAttributesValue
|
Returns | |
---|---|
Type | Description |
$this |
getSelfLink
[Output Only] Server-defined URL for this resource.
Generated from protobuf field optional string self_link = 456214797;
Returns | |
---|---|
Type | Description |
string |
hasSelfLink
clearSelfLink
setSelfLink
[Output Only] Server-defined URL for this resource.
Generated from protobuf field optional string self_link = 456214797;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getVariableKey
The key to search for.
Generated from protobuf field optional string variable_key = 164364828;
Returns | |
---|---|
Type | Description |
string |
hasVariableKey
clearVariableKey
setVariableKey
The key to search for.
Generated from protobuf field optional string variable_key = 164364828;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getVariableValue
[Output Only] The value found for the requested key.
Generated from protobuf field optional string variable_value = 124582382;
Returns | |
---|---|
Type | Description |
string |
hasVariableValue
clearVariableValue
setVariableValue
[Output Only] The value found for the requested key.
Generated from protobuf field optional string variable_value = 124582382;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |