class ProjectsInstancesInstancePartitionOperations extends Resource (View source)

The "instancePartitionOperations" collection of methods.

Typical usage is:

 $spannerService = new Google\Service\Spanner(...);
 $instancePartitionOperations = $spannerService->projects_instances_instancePartitionOperations;

Methods

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

Lists instance partition long-running operations in the given instance. An instance partition operation has a name of the form projects//instances//instancePartitions//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

ListInstancePartitionOperationsResponse listProjectsInstancesInstancePartitionOperations(string $parent, array $optParams = [])

Lists instance partition long-running operations in the given instance. An instance partition operation has a name of the form projects//instances//instancePartitions//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.start_time in descending order starting from the most recently started operation. Authorization requires spanner.instancePartitionOperations.list permission on the resource parent. (instancePartitionOperations.listProjectsInstancesIns tancePartitionOperations)

Parameters

string $parent

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

array $optParams

Optional parameters.

Return Value

ListInstancePartitionOperationsResponse

Exceptions

Exception