class ProjectsInstancesDatabaseOperations extends Resource (View source)

The "databaseOperations" collection of methods.

Typical usage is:

 $spannerService = new Google\Service\Spanner(...);
 $databaseOperations = $spannerService->projects_instances_databaseOperations;

Methods

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

Lists database longrunning-operations. A database operation has a name of the form projects//instances//databases//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.

Details

ListDatabaseOperationsResponse listProjectsInstancesDatabaseOperations(string $parent, array $optParams = [])

Lists database longrunning-operations. A database operation has a name of the form projects//instances//databases//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.

(databaseOperations.listProjectsInstancesDatabaseOperations)

Parameters

string $parent

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

array $optParams

Optional parameters.

Return Value

ListDatabaseOperationsResponse

Exceptions

Exception