v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-132876147.9 KB
projects

Update a RestoreChannel.

patch/v1/{+name}

Path parameters

namestring required

Identifier. The fully qualified name of the RestoreChannel. projects/*/locations/*/restoreChannels/*

Query parameters

updateMaskstring

Optional. This is used to specify the fields to be overwritten in the RestoreChannel targeted for update. The values for each of these updated fields will be taken from the restore_channel provided with this request. Field names are relative to the root of the resource (e.g., description, destination_project_id, etc.) If no update_mask is provided, all fields in restore_channel will be written to the target RestoreChannel resource. Note that OUTPUT_ONLY and IMMUTABLE fields in restore_channel are ignored and are not used to update the target RestoreChannel.

Request body

updateTimestring google-datetime

Output only. The timestamp when this RestoreChannel was last updated.

uidstring

Output only. Server generated global unique identifier of UUID format.

destinationProjectIdstring

Output only. The project_id where backups will be restored. Example Project ID: "my-project-id". This will be an OUTPUT_ONLY field to return the project_id of the destination project.

descriptionstring

Optional. User specified descriptive string for this RestoreChannel.

labelsobject

Optional. A set of custom labels supplied by user.

destinationProjectstring

Required. Immutable. The project into which the backups will be restored. The format is projects/{projectId} or projects/{projectNumber}.

namestring

Identifier. The fully qualified name of the RestoreChannel. projects/*/locations/*/restoreChannels/*

createTimestring google-datetime

Output only. The timestamp when this RestoreChannel was created.

etagstring

Output only. etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a RestoreChannel from overwriting each other. It is strongly suggested that systems make use of the 'etag' in the read-modify-write cycle to perform RestoreChannel updates in order to avoid race conditions: An etag is returned in the response to GetRestoreChannel, and systems are expected to put that etag in the request to UpdateRestoreChannel or DeleteRestoreChannel to ensure that their change will be applied to the same version of the resource.

Response

Successful response