Skip to main content

tiers

Creates, updates, deletes, gets or lists a tiers resource.

Overview

Nametiers
TypeResource
Idgoogle.sqladmin.tiers

Fields

NameDatatypeDescription
DiskQuotastringThe maximum disk size of this tier in bytes.
RAMstringThe maximum RAM usage of this tier in bytes.
kindstringThis is always sql#tier.
regionarrayThe applicable regions for this tier.
tierstringAn identifier for the machine type, for example, db-custom-1-3840. For related information, see Pricing.

Methods

NameAccessible byRequired ParamsDescription
listSELECTprojectLists all available machine types (tiers) for Cloud SQL, for example, db-custom-1-3840. For more information, see https://cloud.google.com/sql/pricing.

SELECT examples

Lists all available machine types (tiers) for Cloud SQL, for example, db-custom-1-3840. For more information, see https://cloud.google.com/sql/pricing.

SELECT
DiskQuota,
RAM,
kind,
region,
tier
FROM google.sqladmin.tiers
WHERE project = '{{ project }}';