Cloud Spanner V1 Client - Class OptimizeRestoredDatabaseMetadata (1.76.1)

Reference documentation and code samples for the Cloud Spanner V1 Client class OptimizeRestoredDatabaseMetadata.

Metadata type for the long-running operation used to track the progress of optimizations performed on a newly restored database. This long-running operation is automatically created by the system after the successful completion of a database restore, and cannot be cancelled.

Generated from protobuf message google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata

Namespace

Google \ Cloud \ Spanner \ Admin \ Database \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Name of the restored database being optimized.

↳ progress Google\Cloud\Spanner\Admin\Database\V1\OperationProgress

The progress of the post-restore optimizations.

getName

Name of the restored database being optimized.

Returns
Type Description
string

setName

Name of the restored database being optimized.

Parameter
Name Description
var string
Returns
Type Description
$this

getProgress

The progress of the post-restore optimizations.

Returns
Type Description
Google\Cloud\Spanner\Admin\Database\V1\OperationProgress|null

hasProgress

clearProgress

setProgress

The progress of the post-restore optimizations.

Parameter
Name Description
var Google\Cloud\Spanner\Admin\Database\V1\OperationProgress
Returns
Type Description
$this