Cloud Spanner V1 Client - Class UpdateDatabaseMetadata (1.79.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
Name Description
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
Type Description
Google\Cloud\Spanner\Admin\Database\V1\UpdateDatabaseRequest|null

hasRequest

clearRequest

setRequest

The request for UpdateDatabase.

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

getProgress

The progress of the UpdateDatabase operation.

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

hasProgress

clearProgress

setProgress

The progress of the UpdateDatabase operation.

Parameter
Name Description
var Google\Cloud\Spanner\Admin\Database\V1\OperationProgress
Returns
Type Description
$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
Type Description
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
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this