Requires authorization
Lists all instance operations that have been performed on the given Cloud SQL instance in the reverse chronological order of the start time.
Request
HTTP request
GET https://www.googleapis.com/sql/v1beta4/projects/project/operations
Parameters
Parameter name | Value | Description |
---|---|---|
Path parameters | ||
project |
string |
Project ID of the project that contains the instance. |
Required query parameters | ||
instance |
string |
Cloud SQL instance ID. This does not include the project ID. |
Optional query parameters | ||
maxResults |
unsigned integer |
Maximum number of operations per response. |
pageToken |
string |
A previously-returned page token representing part of the larger set of results to view. |
Authorization
This request requires authorization with at least one of the following scopes (read more about authentication and authorization).
Scope |
---|
https://www.googleapis.com/auth/sqlservice.admin |
https://www.googleapis.com/auth/cloud-platform |
Request body
Do not supply a request body with this method.
Response
If successful, this method returns a response body with the following structure:
{ "kind": "sql#operationsList", "nextPageToken": string, "items": [ operations Resource ] }
Property name | Value | Description | Notes |
---|---|---|---|
kind |
string |
This is always sql#operationsList . |
|
items[] |
list |
List of operation resources. | |
nextPageToken |
string |
The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results. |