Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class Tier.
A Google Cloud SQL service tier resource.
Generated from protobuf message google.cloud.sql.v1.Tier
Namespace
Google \ Cloud \ Sql \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ tier |
string
An identifier for the machine type, for example, |
↳ RAM |
int|string
The maximum RAM usage of this tier in bytes. |
↳ kind |
string
This is always |
↳ Disk_Quota |
int|string
The maximum disk size of this tier in bytes. |
↳ region |
array
The applicable regions for this tier. |
getTier
An identifier for the machine type, for example, db-custom-1-3840. For
related information, see Pricing.
| Returns | |
|---|---|
| Type | Description |
string |
|
setTier
An identifier for the machine type, for example, db-custom-1-3840. For
related information, see Pricing.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRAM
The maximum RAM usage of this tier in bytes.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setRAM
The maximum RAM usage of this tier in bytes.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getKind
This is always sql#tier.
| Returns | |
|---|---|
| Type | Description |
string |
|
setKind
This is always sql#tier.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDiskQuota
The maximum disk size of this tier in bytes.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setDiskQuota
The maximum disk size of this tier in bytes.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRegion
The applicable regions for this tier.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setRegion
The applicable regions for this tier.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|