Skip to main content

restore_plans

Overview

Namerestore_plans
TypeResource
Idgoogle.gkebackup.restore_plans

Fields

NameDatatypeDescription
namestringOutput only. The full name of the RestorePlan resource. Format: projects/*/locations/*/restorePlans/*.
descriptionstringOptional. User specified descriptive string for this RestorePlan.
backupPlanstringRequired. Immutable. A reference to the BackupPlan from which Backups may be used as the source for Restores created via this RestorePlan. Format: projects/*/locations/*/backupPlans/*.
clusterstringRequired. Immutable. The target cluster into which Restores created via this RestorePlan will restore data. NOTE: the cluster's region must be the same as the RestorePlan. Valid formats: - projects/*/locations/*/clusters/* - projects/*/zones/*/clusters/*
createTimestringOutput only. The timestamp when this RestorePlan resource was created.
etagstringOutput only. etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a restore from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform restore updates in order to avoid race conditions: An etag is returned in the response to GetRestorePlan, and systems are expected to put that etag in the request to UpdateRestorePlan or DeleteRestorePlan to ensure that their change will be applied to the same version of the resource.
labelsobjectOptional. A set of custom labels supplied by user.
restoreConfigobjectConfiguration of a restore. Next id: 12
statestringOutput only. State of the RestorePlan. This State field reflects the various stages a RestorePlan can be in during the Create operation.
stateReasonstringOutput only. Human-readable description of why RestorePlan is in the current state
uidstringOutput only. Server generated global unique identifier of UUID format.
updateTimestringOutput only. The timestamp when this RestorePlan resource was last updated.

Methods

NameAccessible byRequired ParamsDescription
getSELECTlocationsId, projectsId, restorePlansIdRetrieve the details of a single RestorePlan.
listSELECTlocationsId, projectsIdLists RestorePlans in a given location.
createINSERTlocationsId, projectsIdCreates a new RestorePlan in a given location.
deleteDELETElocationsId, projectsId, restorePlansIdDeletes an existing RestorePlan.
_listEXEClocationsId, projectsIdLists RestorePlans in a given location.
patchEXEClocationsId, projectsId, restorePlansIdUpdate a RestorePlan.