Required. The RestoreChannel resource object to create.
↳ restore_channel_id
string
Optional. The client-provided short name for the RestoreChannel resource. This name must: - be between 1 and 63 characters long (inclusive) - consist of only lower-case ASCII letters, numbers, and dashes - start with a lower-case letter - end with a lower-case letter or number - be unique within the set of RestoreChannels in this location If the user does not provide a name, a uuid will be used as the name.
getParent
Required. The location within which to create the RestoreChannel.
Format: projects/*/locations/*
Returns
Type
Description
string
setParent
Required. The location within which to create the RestoreChannel.
Format: projects/*/locations/*
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getRestoreChannel
Required. The RestoreChannel resource object to create.
Optional. The client-provided short name for the RestoreChannel resource.
This name must:
be between 1 and 63 characters long (inclusive)
consist of only lower-case ASCII letters, numbers, and dashes
start with a lower-case letter
end with a lower-case letter or number
be unique within the set of RestoreChannels in this location
If the user does not provide a name, a uuid will be used as the name.
Returns
Type
Description
string
setRestoreChannelId
Optional. The client-provided short name for the RestoreChannel resource.
This name must:
be between 1 and 63 characters long (inclusive)
consist of only lower-case ASCII letters, numbers, and dashes
start with a lower-case letter
end with a lower-case letter or number
be unique within the set of RestoreChannels in this location
If the user does not provide a name, a uuid will be used as the name.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameters
Name
Description
parent
string
Required. The location within which to create the RestoreChannel.
Format: projects/*/locations/*
Please see BackupForGKEClient::locationName() for help formatting this field.
[[["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 CreateRestoreChannelRequest (1.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.1 (latest)](/php/docs/reference/cloud-gke-backup/latest/V1.CreateRestoreChannelRequest)\n- [1.2.0](/php/docs/reference/cloud-gke-backup/1.2.0/V1.CreateRestoreChannelRequest)\n- [1.0.3](/php/docs/reference/cloud-gke-backup/1.0.3/V1.CreateRestoreChannelRequest)\n- [0.8.1](/php/docs/reference/cloud-gke-backup/0.8.1/V1.CreateRestoreChannelRequest)\n- [0.7.2](/php/docs/reference/cloud-gke-backup/0.7.2/V1.CreateRestoreChannelRequest)\n- [0.6.0](/php/docs/reference/cloud-gke-backup/0.6.0/V1.CreateRestoreChannelRequest)\n- [0.5.3](/php/docs/reference/cloud-gke-backup/0.5.3/V1.CreateRestoreChannelRequest)\n- [0.4.0](/php/docs/reference/cloud-gke-backup/0.4.0/V1.CreateRestoreChannelRequest)\n- [0.3.1](/php/docs/reference/cloud-gke-backup/0.3.1/V1.CreateRestoreChannelRequest)\n- [0.2.0](/php/docs/reference/cloud-gke-backup/0.2.0/V1.CreateRestoreChannelRequest)\n- [0.1.7](/php/docs/reference/cloud-gke-backup/0.1.7/V1.CreateRestoreChannelRequest) \nReference documentation and code samples for the Google Cloud Gke Backup V1 Client class CreateRestoreChannelRequest.\n\nRequest message for CreateRestoreChannel.\n\nGenerated from protobuf message `google.cloud.gkebackup.v1.CreateRestoreChannelRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ GkeBackup \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The location within which to create the RestoreChannel.\n\nFormat: `projects/*/locations/*`\n\n### setParent\n\nRequired. The location within which to create the RestoreChannel.\n\nFormat: `projects/*/locations/*`\n\n### getRestoreChannel\n\nRequired. The RestoreChannel resource object to create.\n\n### hasRestoreChannel\n\n### clearRestoreChannel\n\n### setRestoreChannel\n\nRequired. The RestoreChannel resource object to create.\n\n### getRestoreChannelId\n\nOptional. The client-provided short name for the RestoreChannel resource.\n\nThis name must:\n\n- be between 1 and 63 characters long (inclusive)\n- consist of only lower-case ASCII letters, numbers, and dashes\n- start with a lower-case letter\n- end with a lower-case letter or number\n- be unique within the set of RestoreChannels in this location If the user does not provide a name, a uuid will be used as the name.\n\n### setRestoreChannelId\n\nOptional. The client-provided short name for the RestoreChannel resource.\n\nThis name must:\n\n- be between 1 and 63 characters long (inclusive)\n- consist of only lower-case ASCII letters, numbers, and dashes\n- start with a lower-case letter\n- end with a lower-case letter or number\n- be unique within the set of RestoreChannels in this location If the user does not provide a name, a uuid will be used as the name.\n\n### static::build"]]