Skip to main content

instances_guest_attributes

Creates, updates, deletes, gets or lists a instances_guest_attributes resource.

Overview

Nameinstances_guest_attributes
TypeResource
Idgoogle.compute.instances_guest_attributes

Fields

NameDatatypeDescription
kindstring[Output Only] Type of the resource. Always compute#guestAttributes for guest attributes entry.
queryPathstringThe path to be queried. This can be the default namespace ('') or a nested namespace ('\/') or a specified key ('\/\').
queryValueobjectArray of guest attribute namespace/key/value tuples.
selfLinkstring[Output Only] Server-defined URL for this resource.
variableKeystringThe key to search for.
variableValuestring[Output Only] The value found for the requested key.

Methods

NameAccessible byRequired ParamsDescription
get_guest_attributesSELECTinstance, project, zoneReturns the specified guest attributes entry.

SELECT examples

Returns the specified guest attributes entry.

SELECT
kind,
queryPath,
queryValue,
selfLink,
variableKey,
variableValue
FROM google.compute.instances_guest_attributes
WHERE instance = '{{ instance }}'
AND project = '{{ project }}'
AND zone = '{{ zone }}';