- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Examples
- Try it!
Lists blue-green deployments under a given project.
HTTP request
GET https://sqladmin.googleapis.com/sql/v1beta4/{parent=projects/*/locations/*}/blueGreenDeployments
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. The parent resource whose blue-green deployments are to be listed. Format: projects/{project}/locations/{location} |
Query parameters
| Parameters | |
|---|---|
pageSize |
Optional. The maximum number of deployments to return. |
pageToken |
Optional. A page token, received from a previous |
filter |
Optional. A filter expression that filters the results. |
orderBy |
Optional. A comma-separated list of fields to order the results by. |
Request body
The request body must be empty.
Response body
The response message for listing blue-green deployment resources.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"blueGreenDeployments": [
{
object ( |
| Fields | |
|---|---|
blueGreenDeployments[] |
The list of blue-green deployment resources. |
nextPageToken |
A token to retrieve the next page of results, or empty if there are no more results. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloudsqlhttps://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/sqlservice.admin
For more information, see the Authentication Overview.