restore_plan_bindings
Creates, updates, deletes, gets or lists a restore_plan_bindings
resource.
Overview
Name | restore_plan_bindings |
Type | Resource |
Id | google.gkebackup.restore_plan_bindings |
Fields
The following fields are returned by SELECT
queries:
- get
- list
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Identifier. The fully qualified name of the RestorePlanBinding. projects/*/locations/*/restoreChannels/*/restorePlanBindings/* |
backupPlan | string | Output only. The fully qualified name of the BackupPlan bound to the specified RestorePlan. projects/*/locations/*/backukpPlans/{backup_plan} |
createTime | string (google-datetime) | Output only. The timestamp when this binding was created. |
etag | string | Output only. etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a RestorePlanBinding from overwriting each other. It is strongly suggested that systems make use of the 'etag' in the read-modify-write cycle to perform RestorePlanBinding updates in order to avoid race conditions: An etag is returned in the response to GetRestorePlanBinding , and systems are expected to put that etag in the request to UpdateRestorePlanBinding or DeleteRestorePlanBinding to ensure that their change will be applied to the same version of the resource. |
restorePlan | string | Output only. The fully qualified name of the RestorePlan bound to this RestoreChannel. projects/*/locations/*/restorePlans/{restore_plan} |
uid | string | Output only. Server generated global unique identifier of UUID4 |
updateTime | string (google-datetime) | Output only. The timestamp when this binding was created. |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Identifier. The fully qualified name of the RestorePlanBinding. projects/*/locations/*/restoreChannels/*/restorePlanBindings/* |
backupPlan | string | Output only. The fully qualified name of the BackupPlan bound to the specified RestorePlan. projects/*/locations/*/backukpPlans/{backup_plan} |
createTime | string (google-datetime) | Output only. The timestamp when this binding was created. |
etag | string | Output only. etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a RestorePlanBinding from overwriting each other. It is strongly suggested that systems make use of the 'etag' in the read-modify-write cycle to perform RestorePlanBinding updates in order to avoid race conditions: An etag is returned in the response to GetRestorePlanBinding , and systems are expected to put that etag in the request to UpdateRestorePlanBinding or DeleteRestorePlanBinding to ensure that their change will be applied to the same version of the resource. |
restorePlan | string | Output only. The fully qualified name of the RestorePlan bound to this RestoreChannel. projects/*/locations/*/restorePlans/{restore_plan} |
uid | string | Output only. Server generated global unique identifier of UUID4 |
updateTime | string (google-datetime) | Output only. The timestamp when this binding was created. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | projectsId , locationsId , restoreChannelsId , restorePlanBindingsId | Retrieve the details of a single RestorePlanBinding. | |
list | select | projectsId , locationsId , restoreChannelsId | pageSize , pageToken , filter , orderBy | Lists RestorePlanBindings 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.
Name | Datatype | Description |
---|---|---|
locationsId | string | |
projectsId | string | |
restoreChannelsId | string | |
restorePlanBindingsId | string | |
filter | string | |
orderBy | string | |
pageSize | integer (int32) | |
pageToken | string |
SELECT
examples
- get
- list
Retrieve the details of a single RestorePlanBinding.
SELECT
name,
backupPlan,
createTime,
etag,
restorePlan,
uid,
updateTime
FROM google.gkebackup.restore_plan_bindings
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND restoreChannelsId = '{{ restoreChannelsId }}' -- required
AND restorePlanBindingsId = '{{ restorePlanBindingsId }}' -- required;
Lists RestorePlanBindings in a given location.
SELECT
name,
backupPlan,
createTime,
etag,
restorePlan,
uid,
updateTime
FROM google.gkebackup.restore_plan_bindings
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND restoreChannelsId = '{{ restoreChannelsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
AND filter = '{{ filter }}'
AND orderBy = '{{ orderBy }}';