Optional. A set of custom labels supplied by user.
↳ description
string
Optional. User specified descriptive string for this RestoreChannel.
↳ etag
string
Output only.etagis 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: Anetagis returned in the response toGetRestoreChannel, and systems are expected to put that etag in the request toUpdateRestoreChannelorDeleteRestoreChannelto ensure that their change will be applied to the same version of the resource.
↳ destination_project_id
string
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.
getName
Identifier. The fully qualified name of the RestoreChannel.
projects/*/locations/*/restoreChannels/*
Returns
Type
Description
string
setName
Identifier. The fully qualified name of the RestoreChannel.
projects/*/locations/*/restoreChannels/*
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getDestinationProject
Required. Immutable. The project into which the backups will be restored.
The format isprojects/{projectId}orprojects/{projectNumber}.
Returns
Type
Description
string
setDestinationProject
Required. Immutable. The project into which the backups will be restored.
The format isprojects/{projectId}orprojects/{projectNumber}.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getUid
Output only. Server generated global unique identifier ofUUIDformat.
Returns
Type
Description
string
setUid
Output only. Server generated global unique identifier ofUUIDformat.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getCreateTime
Output only. The timestamp when this RestoreChannel was created.
Optional. User specified descriptive string for this RestoreChannel.
Returns
Type
Description
string
setDescription
Optional. User specified descriptive string for this RestoreChannel.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getEtag
Output only.etagis 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: Anetagis returned in the response toGetRestoreChannel, and systems are expected to put that etag in the
request toUpdateRestoreChannelorDeleteRestoreChannelto
ensure that their change will be applied to the same version of the
resource.
Returns
Type
Description
string
setEtag
Output only.etagis 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: Anetagis returned in the response toGetRestoreChannel, and systems are expected to put that etag in the
request toUpdateRestoreChannelorDeleteRestoreChannelto
ensure that their change will be applied to the same version of the
resource.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getDestinationProjectId
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.
Returns
Type
Description
string
setDestinationProjectId
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Gke Backup V1 Client - Class RestoreChannel (1.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.1 (latest)](/php/docs/reference/cloud-gke-backup/latest/V1.RestoreChannel)\n- [1.2.0](/php/docs/reference/cloud-gke-backup/1.2.0/V1.RestoreChannel)\n- [1.0.3](/php/docs/reference/cloud-gke-backup/1.0.3/V1.RestoreChannel)\n- [0.8.1](/php/docs/reference/cloud-gke-backup/0.8.1/V1.RestoreChannel)\n- [0.7.2](/php/docs/reference/cloud-gke-backup/0.7.2/V1.RestoreChannel)\n- [0.6.0](/php/docs/reference/cloud-gke-backup/0.6.0/V1.RestoreChannel)\n- [0.5.3](/php/docs/reference/cloud-gke-backup/0.5.3/V1.RestoreChannel)\n- [0.4.0](/php/docs/reference/cloud-gke-backup/0.4.0/V1.RestoreChannel)\n- [0.3.1](/php/docs/reference/cloud-gke-backup/0.3.1/V1.RestoreChannel)\n- [0.2.0](/php/docs/reference/cloud-gke-backup/0.2.0/V1.RestoreChannel)\n- [0.1.7](/php/docs/reference/cloud-gke-backup/0.1.7/V1.RestoreChannel) \nReference documentation and code samples for the Google Cloud Gke Backup V1 Client class RestoreChannel.\n\nA RestoreChannel imposes constraints on where backups can be restored.\n\nThe RestoreChannel should be in the same project and region\nas the backups. The backups can only be restored in the\n`destination_project`.\n\nGenerated from protobuf message `google.cloud.gkebackup.v1.RestoreChannel`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ GkeBackup \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nIdentifier. The fully qualified name of the RestoreChannel.\n\n`projects/*/locations/*/restoreChannels/*`\n\n### setName\n\nIdentifier. The fully qualified name of the RestoreChannel.\n\n`projects/*/locations/*/restoreChannels/*`\n\n### getDestinationProject\n\nRequired. Immutable. The project into which the backups will be restored.\n\nThe format is `projects/{projectId}` or `projects/{projectNumber}`.\n\n### setDestinationProject\n\nRequired. Immutable. The project into which the backups will be restored.\n\nThe format is `projects/{projectId}` or `projects/{projectNumber}`.\n\n### getUid\n\nOutput only. Server generated global unique identifier of\n[UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) format.\n\n### setUid\n\nOutput only. Server generated global unique identifier of\n[UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier) format.\n\n### getCreateTime\n\nOutput only. The timestamp when this RestoreChannel was created.\n\n### hasCreateTime\n\n### clearCreateTime\n\n### setCreateTime\n\nOutput only. The timestamp when this RestoreChannel was created.\n\n### getUpdateTime\n\nOutput only. The timestamp when this RestoreChannel was last updated.\n\n### hasUpdateTime\n\n### clearUpdateTime\n\n### setUpdateTime\n\nOutput only. The timestamp when this RestoreChannel was last updated.\n\n### getLabels\n\nOptional. A set of custom labels supplied by user.\n\n### setLabels\n\nOptional. A set of custom labels supplied by user.\n\n### getDescription\n\nOptional. User specified descriptive string for this RestoreChannel.\n\n### setDescription\n\nOptional. User specified descriptive string for this RestoreChannel.\n\n### getEtag\n\nOutput only. `etag` is used for optimistic concurrency control as a way to\nhelp prevent simultaneous updates of a RestoreChannel from overwriting each\nother. It is strongly suggested that systems make use of the 'etag' in the\nread-modify-write cycle to perform RestoreChannel updates in order to\navoid race conditions: An `etag` is returned in the response to\n`GetRestoreChannel`, and systems are expected to put that etag in the\nrequest to `UpdateRestoreChannel` or `DeleteRestoreChannel` to\nensure that their change will be applied to the same version of the\nresource.\n\n### setEtag\n\nOutput only. `etag` is used for optimistic concurrency control as a way to\nhelp prevent simultaneous updates of a RestoreChannel from overwriting each\nother. It is strongly suggested that systems make use of the 'etag' in the\nread-modify-write cycle to perform RestoreChannel updates in order to\navoid race conditions: An `etag` is returned in the response to\n`GetRestoreChannel`, and systems are expected to put that etag in the\nrequest to `UpdateRestoreChannel` or `DeleteRestoreChannel` to\nensure that their change will be applied to the same version of the\nresource.\n\n### getDestinationProjectId\n\nOutput only. The project_id where backups will be restored.\n\nExample Project ID: \"my-project-id\".\nThis will be an OUTPUT_ONLY field to return the project_id of the\ndestination project.\n\n### setDestinationProjectId\n\nOutput only. The project_id where backups will be restored.\n\nExample Project ID: \"my-project-id\".\nThis will be an OUTPUT_ONLY field to return the project_id of the\ndestination project."]]