backup_plans_tags
Creates, updates, deletes, gets or lists a backup_plans_tags resource.
Overview
| Name | backup_plans_tags |
| Type | Resource |
| Id | google.gkebackup.backup_plans_tags |
Fields
The following fields are returned by SELECT queries:
- get_tags
| Name | Datatype | Description |
|---|---|---|
name | string | Required. The full resource name of the service resource. |
etag | string | A checksum based on the current bindings. This field is always set in server responses. |
tags | object | Required. 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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_tags | select | projectsId, locationsId, backupPlansId | Returns 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.
| Name | Datatype | Description |
|---|---|---|
backupPlansId | string | |
locationsId | string | |
projectsId | string |
SELECT examples
- get_tags
Returns tags directly bound to a GCP resource.
SELECT
name,
etag,
tags
FROM google.gkebackup.backup_plans_tags
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND backupPlansId = '{{ backupPlansId }}' -- required
;