class ProjectsInstancesBackupOperations extends Resource (View source)

The "backupOperations" collection of methods.

Typical usage is:

 $spannerService = new Google\Service\Spanner(...);
 $backupOperations = $spannerService->projects_instances_backupOperations;

Methods

listProjectsInstancesBackupOperations(string $parent, array $optParams = [])

Lists the backup long-running operations in the given instance. A backup operation has a name of the form projects//instances//backups//operations/.

Details

ListBackupOperationsResponse listProjectsInstancesBackupOperations(string $parent, array $optParams = [])

Lists the backup long-running operations in the given instance. A backup operation has a name of the form projects//instances//backups//operations/.

The long-running operation metadata field type metadata.type_url describes the type of the metadata. Operations returned include those that have completed/failed/canceled within the last 7 days, and pending operations. Operations returned are ordered by operation.metadata.value.progress.start_time in descending order starting from the most recently started operation. (backupOperations.listProjectsInstancesBackupOperations)

Parameters

string $parent

Required. The instance of the backup operations. Values are of the form projects//instances/.

array $optParams

Optional parameters.

Return Value

ListBackupOperationsResponse

Exceptions

Exception