Generated from protobuf message google.bigtable.admin.v2.CopyBackupRequest
Namespace
Google \ Cloud \ Bigtable \ Admin \ V2
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The name of the destination cluster that will contain the backup copy. The cluster must already exist. Values are of the form: projects/{project}/instances/{instance}/clusters/{cluster}.
↳ backup_id
string
Required. The id of the new backup. The backup_id along with parent are combined as {parent}/backups/{backup_id} to create the full backup name, of the form: projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}. This string must be between 1 and 50 characters in length and match the regex [a-zA-Z0-9][-.a-zA-Z0-9]*.
↳ source_backup
string
Required. The source backup to be copied from. The source backup needs to be in READY state for it to be copied. Copying a copied backup is not allowed. Once CopyBackup is in progress, the source backup cannot be deleted or cleaned up on expiration until CopyBackup is finished. Values are of the form: projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>.
Required. Required. The expiration time of the copied backup with microsecond granularity that must be at least 6 hours and at most 30 days from the time the request is received. Once the expire_time has passed, Cloud Bigtable will delete the backup and free the resources used by the backup.
getParent
Required. The name of the destination cluster that will contain the backup
copy. The cluster must already exist. Values are of the form:
projects/{project}/instances/{instance}/clusters/{cluster}.
Returns
Type
Description
string
setParent
Required. The name of the destination cluster that will contain the backup
copy. The cluster must already exist. Values are of the form:
projects/{project}/instances/{instance}/clusters/{cluster}.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getBackupId
Required. The id of the new backup. The backup_id along with parent
are combined as {parent}/backups/{backup_id} to create the full backup
name, of the form:
projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}.
This string must be between 1 and 50 characters in length and match the
regex [a-zA-Z0-9][-.a-zA-Z0-9]*.
Returns
Type
Description
string
setBackupId
Required. The id of the new backup. The backup_id along with parent
are combined as {parent}/backups/{backup_id} to create the full backup
name, of the form:
projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}.
This string must be between 1 and 50 characters in length and match the
regex [a-zA-Z0-9][-.a-zA-Z0-9]*.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getSourceBackup
Required. The source backup to be copied from.
The source backup needs to be in READY state for it to be copied.
Copying a copied backup is not allowed.
Once CopyBackup is in progress, the source backup cannot be deleted or
cleaned up on expiration until CopyBackup is finished.
Values are of the form:
projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>.
Returns
Type
Description
string
setSourceBackup
Required. The source backup to be copied from.
The source backup needs to be in READY state for it to be copied.
Copying a copied backup is not allowed.
Once CopyBackup is in progress, the source backup cannot be deleted or
cleaned up on expiration until CopyBackup is finished.
Values are of the form:
projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getExpireTime
Required. Required. The expiration time of the copied backup with
microsecond granularity that must be at least 6 hours and at most 30 days
from the time the request is received. Once the expire_time has
passed, Cloud Bigtable will delete the backup and free the resources used
by the backup.
Required. Required. The expiration time of the copied backup with
microsecond granularity that must be at least 6 hours and at most 30 days
from the time the request is received. Once the expire_time has
passed, Cloud Bigtable will delete the backup and free the resources used
by the backup.
Required. The name of the destination cluster that will contain the backup
copy. The cluster must already exist. Values are of the form:
projects/{project}/instances/{instance}/clusters/{cluster}. Please see
BigtableTableAdminClient::clusterName() for help formatting this field.
backupId
string
Required. The id of the new backup. The backup_id along with parent
are combined as {parent}/backups/{backup_id} to create the full backup
name, of the form:
projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}.
This string must be between 1 and 50 characters in length and match the
regex [a-zA-Z0-9][-.a-zA-Z0-9]*.
sourceBackup
string
Required. The source backup to be copied from.
The source backup needs to be in READY state for it to be copied.
Copying a copied backup is not allowed.
Once CopyBackup is in progress, the source backup cannot be deleted or
cleaned up on expiration until CopyBackup is finished.
Values are of the form:
projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>. Please see
BigtableTableAdminClient::backupName() for help formatting this field.
Required. Required. The expiration time of the copied backup with
microsecond granularity that must be at least 6 hours and at most 30 days
from the time the request is received. Once the expire_time has
passed, Cloud Bigtable will delete the backup and free the resources used
by the backup.
[[["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-08-28 UTC."],[],[],null,["# Cloud Bigtable V2 Client - Class CopyBackupRequest (2.17.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.17.1 (latest)](/php/docs/reference/cloud-bigtable/latest/Admin.V2.CopyBackupRequest)\n- [2.17.0](/php/docs/reference/cloud-bigtable/2.17.0/Admin.V2.CopyBackupRequest)\n- [2.16.0](/php/docs/reference/cloud-bigtable/2.16.0/Admin.V2.CopyBackupRequest)\n- [2.15.0](/php/docs/reference/cloud-bigtable/2.15.0/Admin.V2.CopyBackupRequest)\n- [2.14.0](/php/docs/reference/cloud-bigtable/2.14.0/Admin.V2.CopyBackupRequest)\n- [2.13.0](/php/docs/reference/cloud-bigtable/2.13.0/Admin.V2.CopyBackupRequest)\n- [2.12.0](/php/docs/reference/cloud-bigtable/2.12.0/Admin.V2.CopyBackupRequest)\n- [2.11.1](/php/docs/reference/cloud-bigtable/2.11.1/Admin.V2.CopyBackupRequest)\n- [2.9.1](/php/docs/reference/cloud-bigtable/2.9.1/Admin.V2.CopyBackupRequest)\n- [2.8.0](/php/docs/reference/cloud-bigtable/2.8.0/Admin.V2.CopyBackupRequest)\n- [2.7.0](/php/docs/reference/cloud-bigtable/2.7.0/Admin.V2.CopyBackupRequest)\n- [2.6.3](/php/docs/reference/cloud-bigtable/2.6.3/Admin.V2.CopyBackupRequest)\n- [2.5.0](/php/docs/reference/cloud-bigtable/2.5.0/Admin.V2.CopyBackupRequest)\n- [2.4.0](/php/docs/reference/cloud-bigtable/2.4.0/Admin.V2.CopyBackupRequest)\n- [2.3.0](/php/docs/reference/cloud-bigtable/2.3.0/Admin.V2.CopyBackupRequest)\n- [2.2.1](/php/docs/reference/cloud-bigtable/2.2.1/Admin.V2.CopyBackupRequest)\n- [2.1.0](/php/docs/reference/cloud-bigtable/2.1.0/Admin.V2.CopyBackupRequest)\n- [2.0.1](/php/docs/reference/cloud-bigtable/2.0.1/Admin.V2.CopyBackupRequest)\n- [1.32.1](/php/docs/reference/cloud-bigtable/1.32.1/Admin.V2.CopyBackupRequest)\n- [1.31.1](/php/docs/reference/cloud-bigtable/1.31.1/Admin.V2.CopyBackupRequest)\n- [1.30.0](/php/docs/reference/cloud-bigtable/1.30.0/Admin.V2.CopyBackupRequest)\n- [1.29.2](/php/docs/reference/cloud-bigtable/1.29.2/Admin.V2.CopyBackupRequest)\n- [1.28.3](/php/docs/reference/cloud-bigtable/1.28.3/Admin.V2.CopyBackupRequest)\n- [1.27.0](/php/docs/reference/cloud-bigtable/1.27.0/Admin.V2.CopyBackupRequest)\n- [1.26.2](/php/docs/reference/cloud-bigtable/1.26.2/Admin.V2.CopyBackupRequest)\n- [1.25.0](/php/docs/reference/cloud-bigtable/1.25.0/Admin.V2.CopyBackupRequest)\n- [1.24.1](/php/docs/reference/cloud-bigtable/1.24.1/Admin.V2.CopyBackupRequest)\n- [1.23.0](/php/docs/reference/cloud-bigtable/1.23.0/Admin.V2.CopyBackupRequest)\n- [1.22.2](/php/docs/reference/cloud-bigtable/1.22.2/Admin.V2.CopyBackupRequest)\n- [1.21.1](/php/docs/reference/cloud-bigtable/1.21.1/Admin.V2.CopyBackupRequest)\n- [1.20.3](/php/docs/reference/cloud-bigtable/1.20.3/Admin.V2.CopyBackupRequest) \nReference documentation and code samples for the Cloud Bigtable V2 Client class CopyBackupRequest.\n\nThe request for\n[CopyBackup](/php/docs/reference/cloud-bigtable/latest/Admin.V2.Client.BigtableTableAdminClient#_Google_Cloud_Bigtable_Admin_V2_Client_BigtableTableAdminClient__copyBackup__).\n\nGenerated from protobuf message `google.bigtable.admin.v2.CopyBackupRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Bigtable \\\\ Admin \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The name of the destination cluster that will contain the backup\ncopy. The cluster must already exist. Values are of the form:\n`projects/{project}/instances/{instance}/clusters/{cluster}`.\n\n### setParent\n\nRequired. The name of the destination cluster that will contain the backup\ncopy. The cluster must already exist. Values are of the form:\n`projects/{project}/instances/{instance}/clusters/{cluster}`.\n\n### getBackupId\n\nRequired. The id of the new backup. The `backup_id` along with `parent`\nare combined as {parent}/backups/{backup_id} to create the full backup\nname, of the form:\n`projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`.\n\nThis string must be between 1 and 50 characters in length and match the\nregex \\[*a-zA-Z0-9\\]\\[-*.a-zA-Z0-9\\]\\*.\n\n### setBackupId\n\nRequired. The id of the new backup. The `backup_id` along with `parent`\nare combined as {parent}/backups/{backup_id} to create the full backup\nname, of the form:\n`projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`.\n\nThis string must be between 1 and 50 characters in length and match the\nregex \\[*a-zA-Z0-9\\]\\[-*.a-zA-Z0-9\\]\\*.\n\n### getSourceBackup\n\nRequired. The source backup to be copied from.\n\nThe source backup needs to be in READY state for it to be copied.\nCopying a copied backup is not allowed.\nOnce CopyBackup is in progress, the source backup cannot be deleted or\ncleaned up on expiration until CopyBackup is finished.\nValues are of the form:\n`projects/\u003cproject\u003e/instances/\u003cinstance\u003e/clusters/\u003ccluster\u003e/backups/\u003cbackup\u003e`.\n\n### setSourceBackup\n\nRequired. The source backup to be copied from.\n\nThe source backup needs to be in READY state for it to be copied.\nCopying a copied backup is not allowed.\nOnce CopyBackup is in progress, the source backup cannot be deleted or\ncleaned up on expiration until CopyBackup is finished.\nValues are of the form:\n`projects/\u003cproject\u003e/instances/\u003cinstance\u003e/clusters/\u003ccluster\u003e/backups/\u003cbackup\u003e`.\n\n### getExpireTime\n\nRequired. Required. The expiration time of the copied backup with\nmicrosecond granularity that must be at least 6 hours and at most 30 days\nfrom the time the request is received. Once the `expire_time` has\npassed, Cloud Bigtable will delete the backup and free the resources used\nby the backup.\n\n### hasExpireTime\n\n### clearExpireTime\n\n### setExpireTime\n\nRequired. Required. The expiration time of the copied backup with\nmicrosecond granularity that must be at least 6 hours and at most 30 days\nfrom the time the request is received. Once the `expire_time` has\npassed, Cloud Bigtable will delete the backup and free the resources used\nby the backup.\n\n### static::build"]]