Cloud Bigtable V2 Client - Class CopyBackupMetadata (1.30.0)

Reference documentation and code samples for the Cloud Bigtable V2 Client class CopyBackupMetadata.

Metadata type for the google.longrunning.Operation returned by CopyBackup.

Generated from protobuf message google.bigtable.admin.v2.CopyBackupMetadata

Namespace

Google \ Cloud \ Bigtable \ Admin \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ namestring

The name of the backup being created through the copy operation. Values are of the form projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>.

↳ source_backup_infoGoogle\Cloud\Bigtable\Admin\V2\BackupInfo

Information about the source backup that is being copied from.

↳ progressGoogle\Cloud\Bigtable\Admin\V2\OperationProgress

The progress of the CopyBackup operation.

getName

The name of the backup being created through the copy operation.

Values are of the form projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>.

Returns
TypeDescription
string

setName

The name of the backup being created through the copy operation.

Values are of the form projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getSourceBackupInfo

Information about the source backup that is being copied from.

Returns
TypeDescription
Google\Cloud\Bigtable\Admin\V2\BackupInfo|null

hasSourceBackupInfo

clearSourceBackupInfo

setSourceBackupInfo

Information about the source backup that is being copied from.

Parameter
NameDescription
varGoogle\Cloud\Bigtable\Admin\V2\BackupInfo
Returns
TypeDescription
$this

getProgress

The progress of the CopyBackup operation.

Returns
TypeDescription
Google\Cloud\Bigtable\Admin\V2\OperationProgress|null

hasProgress

clearProgress

setProgress

The progress of the CopyBackup operation.

Parameter
NameDescription
varGoogle\Cloud\Bigtable\Admin\V2\OperationProgress
Returns
TypeDescription
$this