class Operations extends Resource (View source)

The "operations" collection of methods.

Typical usage is:

 $sqladminService = new Google\Service\SQLAdmin(...);
 $operations = $sqladminService->operations;

Methods

cancel(string $project, string $operation, array $optParams = [])

Cancels an instance operation that has been performed on an instance.

get(string $project, string $operation, array $optParams = [])

Retrieves an instance operation that has been performed on an instance.

listOperations(string $project, array $optParams = [])

Lists all instance operations that have been performed on the given Cloud SQL instance in the reverse chronological order of the start time.

Details

SqladminEmpty cancel(string $project, string $operation, array $optParams = [])

Cancels an instance operation that has been performed on an instance.

(operations.cancel)

Parameters

string $project

Project ID of the project that contains the instance.

string $operation

Instance operation ID.

array $optParams

Optional parameters.

Return Value

SqladminEmpty

Exceptions

Exception

Operation get(string $project, string $operation, array $optParams = [])

Retrieves an instance operation that has been performed on an instance.

(operations.get)

Parameters

string $project

Project ID of the project that contains the instance.

string $operation

Instance operation ID.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

OperationsListResponse listOperations(string $project, array $optParams = [])

Lists all instance operations that have been performed on the given Cloud SQL instance in the reverse chronological order of the start time.

(operations.listOperations)

Parameters

string $project

Project ID of the project that contains the instance.

array $optParams

Optional parameters.

Return Value

OperationsListResponse

Exceptions

Exception