Skip to main content

restore_plans_tags

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

Overview

Namerestore_plans_tags
TypeResource
Idgoogle.gkebackup.restore_plans_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, restorePlansIdReturns 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
locationsIdstring
projectsIdstring
restorePlansIdstring

SELECT examples

Returns tags directly bound to a GCP resource.

SELECT
name,
etag,
tags
FROM google.gkebackup.restore_plans_tags
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND restorePlansId = '{{ restorePlansId }}' -- required
;