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
Namespace
Google \ Cloud \ Compute \ V1Methods
__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 |
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.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasKind
clearKind
setKind
[Output Only] Type of the resource. Always compute#guestAttributes for guest attributes entry.
| 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 ('/').
| 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 ('/').
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getQueryValue
[Output Only] The value of the requested queried path.
| Returns | |
|---|---|
| Type | Description |
GuestAttributesValue|null |
|
hasQueryValue
clearQueryValue
setQueryValue
[Output Only] The value of the requested queried path.
| Parameter | |
|---|---|
| Name | Description |
var |
GuestAttributesValue
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSelfLink
[Output Only] Server-defined URL for this resource.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasSelfLink
clearSelfLink
setSelfLink
[Output Only] Server-defined URL for this resource.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getVariableKey
The key to search for.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasVariableKey
clearVariableKey
setVariableKey
The key to search for.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getVariableValue
[Output Only] The value found for the requested key.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasVariableValue
clearVariableValue
setVariableValue
[Output Only] The value found for the requested key.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|