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
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
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
var string
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
var Google\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
var Google\Cloud\Bigtable\Admin\V2\OperationProgress
Returns
TypeDescription
$this