Cloud Bigtable V2 Client - Class CopyBackupMetadata (1.31.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
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

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_info Google\Cloud\Bigtable\Admin\V2\BackupInfo

Information about the source backup that is being copied from.

↳ progress Google\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
Type Description
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
Name Description
var string
Returns
Type Description
$this

getSourceBackupInfo

Information about the source backup that is being copied from.

Returns
Type Description
Google\Cloud\Bigtable\Admin\V2\BackupInfo|null

hasSourceBackupInfo

clearSourceBackupInfo

setSourceBackupInfo

Information about the source backup that is being copied from.

Parameter
Name Description
var Google\Cloud\Bigtable\Admin\V2\BackupInfo
Returns
Type Description
$this

getProgress

The progress of the CopyBackup operation.

Returns
Type Description
Google\Cloud\Bigtable\Admin\V2\OperationProgress|null

hasProgress

clearProgress

setProgress

The progress of the CopyBackup operation.

Parameter
Name Description
var Google\Cloud\Bigtable\Admin\V2\OperationProgress
Returns
Type Description
$this