Cloud Spanner V1 Client - Class ListBackupOperationsResponse (1.54.2)

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

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.

Generated from protobuf field repeated .google.longrunning.Operation operations = 1;

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.

Generated from protobuf field repeated .google.longrunning.Operation operations = 1;

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.

Generated from protobuf field string next_page_token = 2;

Returns
TypeDescription
string

setNextPageToken

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

Generated from protobuf field string next_page_token = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this