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
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.
Generated from protobuf field string name = 1 [(.google.api.resource_reference) = {
Returns | |
---|---|
Type | Description |
string |
setName
Name of the restored database being optimized.
Generated from protobuf field string name = 1 [(.google.api.resource_reference) = {
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getProgress
The progress of the post-restore optimizations.
Generated from protobuf field .google.spanner.admin.database.v1.OperationProgress progress = 2;
Returns | |
---|---|
Type | Description |
Google\Cloud\Spanner\Admin\Database\V1\OperationProgress|null |
hasProgress
clearProgress
setProgress
The progress of the post-restore optimizations.
Generated from protobuf field .google.spanner.admin.database.v1.OperationProgress progress = 2;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Spanner\Admin\Database\V1\OperationProgress
|
Returns | |
---|---|
Type | Description |
$this |