Cloud Spanner V1 Client - Class UpdateDatabaseMetadata (1.67.0)

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

Metadata type for the operation returned by UpdateDatabase.

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

Namespace

Google \ Cloud \ Spanner \ Admin \ Database \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ request Google\Cloud\Spanner\Admin\Database\V1\UpdateDatabaseRequest

The request for UpdateDatabase.

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

The progress of the UpdateDatabase operation.

↳ cancel_time Google\Protobuf\Timestamp

The time at which this operation was cancelled. If set, this operation is in the process of undoing itself (which is best-effort).

getRequest

The request for UpdateDatabase.

Returns
TypeDescription
Google\Cloud\Spanner\Admin\Database\V1\UpdateDatabaseRequest|null

hasRequest

clearRequest

setRequest

The request for UpdateDatabase.

Parameter
NameDescription
var Google\Cloud\Spanner\Admin\Database\V1\UpdateDatabaseRequest
Returns
TypeDescription
$this

getProgress

The progress of the UpdateDatabase operation.

Returns
TypeDescription
Google\Cloud\Spanner\Admin\Database\V1\OperationProgress|null

hasProgress

clearProgress

setProgress

The progress of the UpdateDatabase operation.

Parameter
NameDescription
var Google\Cloud\Spanner\Admin\Database\V1\OperationProgress
Returns
TypeDescription
$this

getCancelTime

The time at which this operation was cancelled. If set, this operation is in the process of undoing itself (which is best-effort).

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCancelTime

clearCancelTime

setCancelTime

The time at which this operation was cancelled. If set, this operation is in the process of undoing itself (which is best-effort).

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this