Cloud Spanner V1 Client - Class UpdateDatabaseMetadata (1.89.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 UpdateDatabaseRequest

The request for UpdateDatabase.

↳ progress 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
UpdateDatabaseRequest|null

hasRequest

clearRequest

setRequest

The request for UpdateDatabase.

Parameter
Name Description
var UpdateDatabaseRequest
Returns
Type Description
$this

getProgress

The progress of the UpdateDatabase operation.

Returns
Type Description
OperationProgress|null

hasProgress

clearProgress

setProgress

The progress of the UpdateDatabase operation.

Parameter
Name Description
var 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