Cloud Spanner V1 Client - Class ListBackupOperationsResponse (1.77.0)

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

The response for ListBackupOperations.

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

Namespace

Google \ Cloud \ Spanner \ Admin \ Database \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ operations array<Google\LongRunning\Operation>

The list of matching backup long-running operations. Each operation's name will be prefixed by the backup's name. The operation's metadata field type metadata.type_url describes the type of the metadata. Operations returned include those that are pending or have completed/failed/canceled within the last 7 days. Operations returned are ordered by operation.metadata.value.progress.start_time in descending order starting from the most recently started operation.

↳ next_page_token string

next_page_token can be sent in a subsequent ListBackupOperations call to fetch more of the matching metadata.

getOperations

The list of matching backup long-running operations. Each operation's name will be prefixed by the backup's name. The operation's metadata field type metadata.type_url describes the type of the metadata. Operations returned include those that are pending or have completed/failed/canceled within the last 7 days. Operations returned are ordered by operation.metadata.value.progress.start_time in descending order starting from the most recently started operation.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setOperations

The list of matching backup long-running operations. Each operation's name will be prefixed by the backup's name. The operation's metadata field type metadata.type_url describes the type of the metadata. Operations returned include those that are pending or have completed/failed/canceled within the last 7 days. Operations returned are ordered by operation.metadata.value.progress.start_time in descending order starting from the most recently started operation.

Parameter
Name Description
var array<Google\LongRunning\Operation>
Returns
Type Description
$this

getNextPageToken

next_page_token can be sent in a subsequent ListBackupOperations call to fetch more of the matching metadata.

Returns
Type Description
string

setNextPageToken

next_page_token can be sent in a subsequent ListBackupOperations call to fetch more of the matching metadata.

Parameter
Name Description
var string
Returns
Type Description
$this