Get Guest Attributes
|
|||||
|
|
Returns the specified guest attributes entry
Authorization
To use this building block you will have to grant access to at least one of the following scopes:
- View and manage your data across Google Cloud Platform services
- View and manage your Google Compute Engine resources
- View your Google Compute Engine resources
Input
This building block consumes 5 input parameters
Name | Format | Description |
---|---|---|
project Required |
STRING |
Project ID for this request |
zone Required |
STRING |
The name of the zone for this request |
instance Required |
STRING |
Name of the instance scoping this request |
queryPath |
STRING |
Specifies the guest attributes path to be queried |
variableKey |
STRING |
Specifies the key for the guest attributes entry |
= Parameter name
= Format
project STRING Required Project ID for this request |
zone STRING Required The name of the zone for this request |
instance STRING Required Name of the instance scoping this request |
queryPath STRING Specifies the guest attributes path to be queried |
variableKey STRING Specifies the key for the guest attributes entry |
Output
This building block provides 10 output parameters
Name | Format | Description |
---|---|---|
kind |
STRING |
[Output Only] Type of the resource. Always compute#guestAttributes for guest attributes entry |
queryPath |
STRING |
The path to be queried. This can be the default namespace ('/') or a nested namespace ('//') or a specified key ('//') |
queryValue |
OBJECT |
Array of guest attribute namespace/key/value tuples |
queryValue.items[] |
OBJECT |
A guest attributes namespace/key/value entry |
queryValue.items[].key |
STRING |
Key for the guest attribute entry |
queryValue.items[].namespace |
STRING |
Namespace for the guest attribute entry |
queryValue.items[].value |
STRING |
Value for the guest attribute entry |
selfLink |
STRING |
[Output Only] Server-defined URL for this resource |
variableKey |
STRING |
The key to search for |
variableValue |
STRING |
[Output Only] The value found for the requested key |
= Parameter name
= Format
kind STRING [Output Only] Type of the resource. Always compute#guestAttributes for guest attributes entry |
queryPath STRING The path to be queried. This can be the default namespace ('/') or a nested namespace ('//') or a specified key ('//') |
queryValue OBJECT Array of guest attribute namespace/key/value tuples |
queryValue.items[] OBJECT A guest attributes namespace/key/value entry |
queryValue.items[].key STRING Key for the guest attribute entry |
queryValue.items[].namespace STRING Namespace for the guest attribute entry |
queryValue.items[].value STRING Value for the guest attribute entry |
selfLink STRING [Output Only] Server-defined URL for this resource |
variableKey STRING The key to search for |
variableValue STRING [Output Only] The value found for the requested key |