Method: tiers.list

Lists all available machine types (tiers) for Cloud SQL, for example, db-custom-1-3840. For related information, see Pricing.

HTTP request

GET https://sqladmin.googleapis.com/sql/v1beta4/projects/{project}/tiers

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
project

string

Project ID of the project for which to list tiers.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Tiers list response.

JSON representation
{
  "kind": string,
  "items": [
    {
      object (Tier)
    }
  ]
}
Fields
kind

string

This is always sql#tiersList.

items[]

object (Tier)

instances.list of tiers.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/sqlservice.admin

For more information, see the Authentication Overview.