Skip to main content

instances_tags

Creates, updates, deletes, gets or lists an instances_tags resource.

Overview

Nameinstances_tags
TypeResource
Idgoogle.memcache.instances_tags

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringRequired. The full resource name of the service resource.
etagstringA checksum based on the current bindings. This field is always set in server responses.
tagsobjectRequired. Tag keys/values directly bound to this resource. Each item in the map must be expressed as " : ". For example: "123/environment" : "production", "123/costCenter" : "marketing"

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_tagsselectprojectsId, locationsId, instancesIdReturns tags directly bound to a GCP resource.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
instancesIdstring
locationsIdstring
projectsIdstring

SELECT examples

Returns tags directly bound to a GCP resource.

SELECT
name,
etag,
tags
FROM google.memcache.instances_tags
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND instancesId = '{{ instancesId }}' -- required
;