Skip to main content

backup_plan_bindings

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

Overview

Namebackup_plan_bindings
TypeResource
Idgoogle.gkebackup.backup_plan_bindings

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringIdentifier. The fully qualified name of the BackupPlanBinding. projects/*/locations/*/backupChannels/*/backupPlanBindings/*
backupPlanstringOutput only. Immutable. The fully qualified name of the BackupPlan bound with the parent BackupChannel. projects/*/locations/*/backupPlans/{backup_plan}
backupPlanDetailsobjectOutput only. Contains details about the backup plan/backup. (id: BackupPlanDetails)
clusterstringOutput only. Immutable. The fully qualified name of the cluster that is being backed up Valid formats: - projects/*/locations/*/clusters/* - projects/*/zones/*/clusters/*
createTimestring (google-datetime)Output only. The timestamp when this binding was created.
etagstringOutput only. etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a BackupPlanBinding from overwriting each other. It is strongly suggested that systems make use of the 'etag' in the read-modify-write cycle to perform BackupPlanBinding updates in order to avoid race conditions: An etag is returned in the response to GetBackupPlanBinding, and systems are expected to put that etag in the request to UpdateBackupPlanBinding or DeleteBackupPlanBinding to ensure that their change will be applied to the same version of the resource.
uidstringOutput only. Server generated global unique identifier of UUID4
updateTimestring (google-datetime)Output only. The timestamp when this binding was created.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectprojectsId, locationsId, backupChannelsId, backupPlanBindingsIdRetrieve the details of a single BackupPlanBinding.
listselectprojectsId, locationsId, backupChannelsIdpageSize, pageToken, filter, orderByLists BackupPlanBindings in a given location.

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
backupChannelsIdstring
backupPlanBindingsIdstring
locationsIdstring
projectsIdstring
filterstring
orderBystring
pageSizeinteger (int32)
pageTokenstring

SELECT examples

Retrieve the details of a single BackupPlanBinding.

SELECT
name,
backupPlan,
backupPlanDetails,
cluster,
createTime,
etag,
uid,
updateTime
FROM google.gkebackup.backup_plan_bindings
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND backupChannelsId = '{{ backupChannelsId }}' -- required
AND backupPlanBindingsId = '{{ backupPlanBindingsId }}' -- required;