Reference documentation and code samples for the Google Cloud Gke Backup V1 Client class RestorePlanBinding.
A RestorePlanBinding binds a RestorePlan with a RestoreChannel.
This resource is created automatically when a RestorePlan is created using a
RestoreChannel. This also serves as a holder for cross-project fields
that need to be displayed in the current project.
Generated from protobuf messagegoogle.cloud.gkebackup.v1.RestorePlanBinding
Namespace
Google \ Cloud \ GkeBackup \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The fully qualified name of the RestorePlanBinding.projects/*/locations/*/restoreChannels/*/restorePlanBindings/*
↳ uid
string
Output only. Server generated global unique identifier ofUUID4
Output only. The timestamp when this binding was created.
↳ restore_plan
string
Output only. The fully qualified name of the RestorePlan bound to this RestoreChannel.projects/*/locations/*/restorePlans/{restore_plan}
↳ etag
string
Output only.etagis used for optimistic concurrency control as a way to help prevent simultaneous updates of a RestorePlanBinding from overwriting each other. It is strongly suggested that systems make use of the 'etag' in the read-modify-write cycle to perform RestorePlanBinding updates in order to avoid race conditions: Anetagis returned in the response toGetRestorePlanBinding, and systems are expected to put that etag in the request toUpdateRestorePlanBindingorDeleteRestorePlanBindingto ensure that their change will be applied to the same version of the resource.
↳ backup_plan
string
Output only. The fully qualified name of the BackupPlan bound to the specified RestorePlan.projects/*/locations/*/backukpPlans/{backup_plan}
getName
Identifier. The fully qualified name of the RestorePlanBinding.
Output only. The fully qualified name of the RestorePlan bound to this
RestoreChannel.projects/*/locations/*/restorePlans/{restore_plan}
Returns
Type
Description
string
setRestorePlan
Output only. The fully qualified name of the RestorePlan bound to this
RestoreChannel.projects/*/locations/*/restorePlans/{restore_plan}
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 RestorePlanBinding from overwriting
each other. It is strongly suggested that systems make use of the 'etag' in
the read-modify-write cycle to perform RestorePlanBinding updates in
order to avoid race conditions: Anetagis returned in the response toGetRestorePlanBinding, and systems are expected to put that etag in
the request toUpdateRestorePlanBindingorDeleteRestorePlanBindingto 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 RestorePlanBinding from overwriting
each other. It is strongly suggested that systems make use of the 'etag' in
the read-modify-write cycle to perform RestorePlanBinding updates in
order to avoid race conditions: Anetagis returned in the response toGetRestorePlanBinding, and systems are expected to put that etag in
the request toUpdateRestorePlanBindingorDeleteRestorePlanBindingto ensure that their change will be applied
to the same version of the resource.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getBackupPlan
Output only. The fully qualified name of the BackupPlan bound to the
specified RestorePlan.projects/*/locations/*/backukpPlans/{backup_plan}
Returns
Type
Description
string
setBackupPlan
Output only. The fully qualified name of the BackupPlan bound to the
specified RestorePlan.projects/*/locations/*/backukpPlans/{backup_plan}
[[["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 RestorePlanBinding (1.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.1 (latest)](/php/docs/reference/cloud-gke-backup/latest/V1.RestorePlanBinding)\n- [1.2.0](/php/docs/reference/cloud-gke-backup/1.2.0/V1.RestorePlanBinding)\n- [1.0.3](/php/docs/reference/cloud-gke-backup/1.0.3/V1.RestorePlanBinding)\n- [0.8.1](/php/docs/reference/cloud-gke-backup/0.8.1/V1.RestorePlanBinding)\n- [0.7.2](/php/docs/reference/cloud-gke-backup/0.7.2/V1.RestorePlanBinding)\n- [0.6.0](/php/docs/reference/cloud-gke-backup/0.6.0/V1.RestorePlanBinding)\n- [0.5.3](/php/docs/reference/cloud-gke-backup/0.5.3/V1.RestorePlanBinding)\n- [0.4.0](/php/docs/reference/cloud-gke-backup/0.4.0/V1.RestorePlanBinding)\n- [0.3.1](/php/docs/reference/cloud-gke-backup/0.3.1/V1.RestorePlanBinding)\n- [0.2.0](/php/docs/reference/cloud-gke-backup/0.2.0/V1.RestorePlanBinding)\n- [0.1.7](/php/docs/reference/cloud-gke-backup/0.1.7/V1.RestorePlanBinding) \nReference documentation and code samples for the Google Cloud Gke Backup V1 Client class RestorePlanBinding.\n\nA RestorePlanBinding binds a RestorePlan with a RestoreChannel.\n\nThis resource is created automatically when a RestorePlan is created using a\nRestoreChannel. This also serves as a holder for cross-project fields\nthat need to be displayed in the current project.\n\nGenerated from protobuf message `google.cloud.gkebackup.v1.RestorePlanBinding`\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 RestorePlanBinding.\n\n`projects/*/locations/*/restoreChannels/*/restorePlanBindings/*`\n\n### setName\n\nIdentifier. The fully qualified name of the RestorePlanBinding.\n\n`projects/*/locations/*/restoreChannels/*/restorePlanBindings/*`\n\n### getUid\n\nOutput only. Server generated global unique identifier of\n[UUID4](https://en.wikipedia.org/wiki/Universally_unique_identifier)\n\n### setUid\n\nOutput only. Server generated global unique identifier of\n[UUID4](https://en.wikipedia.org/wiki/Universally_unique_identifier)\n\n### getCreateTime\n\nOutput only. The timestamp when this binding was created.\n\n### hasCreateTime\n\n### clearCreateTime\n\n### setCreateTime\n\nOutput only. The timestamp when this binding was created.\n\n### getUpdateTime\n\nOutput only. The timestamp when this binding was created.\n\n### hasUpdateTime\n\n### clearUpdateTime\n\n### setUpdateTime\n\nOutput only. The timestamp when this binding was created.\n\n### getRestorePlan\n\nOutput only. The fully qualified name of the RestorePlan bound to this\nRestoreChannel. `projects/*/locations/*/restorePlans/{restore_plan}`\n\n### setRestorePlan\n\nOutput only. The fully qualified name of the RestorePlan bound to this\nRestoreChannel. `projects/*/locations/*/restorePlans/{restore_plan}`\n\n### getEtag\n\nOutput only. `etag` is used for optimistic concurrency control as a way to\nhelp prevent simultaneous updates of a RestorePlanBinding from overwriting\neach other. It is strongly suggested that systems make use of the 'etag' in\nthe read-modify-write cycle to perform RestorePlanBinding updates in\norder to avoid race conditions: An `etag` is returned in the response to\n`GetRestorePlanBinding`, and systems are expected to put that etag in\nthe request to `UpdateRestorePlanBinding` or\n`DeleteRestorePlanBinding` to ensure that their change will be applied\nto the same version of the resource.\n\n### setEtag\n\nOutput only. `etag` is used for optimistic concurrency control as a way to\nhelp prevent simultaneous updates of a RestorePlanBinding from overwriting\neach other. It is strongly suggested that systems make use of the 'etag' in\nthe read-modify-write cycle to perform RestorePlanBinding updates in\norder to avoid race conditions: An `etag` is returned in the response to\n`GetRestorePlanBinding`, and systems are expected to put that etag in\nthe request to `UpdateRestorePlanBinding` or\n`DeleteRestorePlanBinding` to ensure that their change will be applied\nto the same version of the resource.\n\n### getBackupPlan\n\nOutput only. The fully qualified name of the BackupPlan bound to the\nspecified RestorePlan. `projects/*/locations/*/backukpPlans/{backup_plan}`\n\n### setBackupPlan\n\nOutput only. The fully qualified name of the BackupPlan bound to the\nspecified RestorePlan. `projects/*/locations/*/backukpPlans/{backup_plan}`"]]