projects

GET /v1/projects/{projectsId}/locations/{locationsId}/restoreTemplates/{restoreTemplatesId}

Changed on

Gets details of a RestoreTemplate.

Request

  • Base URL
    https://backupdr.googleapis.com
  • Auth
    • OAuth 2 and OAuth 2
      Implicit: https://accounts.google.com/o/oauth2/auth
      Scopes: https://www.googleapis.com/auth/cloud-backupdr
      Authorization code: https://accounts.google.com/o/oauth2/auth
      Token URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/cloud-backupdr
    • or OAuth 2 and OAuth 2
      Implicit: https://accounts.google.com/o/oauth2/auth
      Scopes: https://www.googleapis.com/auth/cloud-platform
      Authorization code: https://accounts.google.com/o/oauth2/auth
      Token URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/cloud-platform

Path parameters

projectsIdstring required
locationsIdstring required
restoreTemplatesIdstring required

Response

Successful response

createTimestring google-datetime

Output only. The time when the restore template was created.

descriptionstring

Optional. User-provided description of the restore template.

etagstring

Optional. Etag for concurrency control.

labelsobject

Optional. User-defined labels.

namestring

Identifier. The resource name of the RestoreTemplate.

resourceTypestring

Required. Immutable. The specific type of the workload being restored. The format is "{service_name}/{resource_kind}", for example, "compute.googleapis.com/Instance".

restorePropertiesobject

Required. Defines target environments where the resource will be restored. The target resource name in restore_properties supports the {EXECUTION_ID} token to dynamically generate unique resource names for each execution. During restore execution, every occurrence of {EXECUTION_ID} in the target resource name is replaced with the 8-character RestoreTemplateExecution ID (for example, "restored-resource-{EXECUTION_ID}" or "restored-{EXECUTION_ID}-resource" resolves to "restored-resource-5d437b06" or "restored-5d437b06-resource").

state'STATE_UNSPECIFIED' | 'CREATING' | 'ACTIVE' | 'UPDATING' | 'DELETING'

Output only. The state of the restore template.

updateTimestring google-datetime

Output only. The time when the restore template was last updated.

Changes