Cloud Spanner V1 Client - Class ListBackupOperationsResponse (1.65.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
NameDescription
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
TypeDescription
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
NameDescription
var array<Google\LongRunning\Operation>
Returns
TypeDescription
$this

getNextPageToken

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

Returns
TypeDescription
string

setNextPageToken

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this