Google Cloud Sql Admin V1beta4 Client - Class Tier (0.6.0)

Reference documentation and code samples for the Google Cloud Sql Admin V1beta4 Client class Tier.

A Google Cloud SQL service tier resource.

Generated from protobuf message google.cloud.sql.v1beta4.Tier

Namespace

Google \ Cloud \ Sql \ V1beta4

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ tier string

An identifier for the machine type, for example, db-custom-1-3840. For related information, see Pricing.

↳ RAM int|string

The maximum RAM usage of this tier in bytes.

↳ kind string

This is always sql#tier.

↳ 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
TypeDescription
string

setTier

An identifier for the machine type, for example, db-custom-1-3840. For related information, see Pricing.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRAM

The maximum RAM usage of this tier in bytes.

Returns
TypeDescription
int|string

setRAM

The maximum RAM usage of this tier in bytes.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getKind

This is always sql#tier.

Returns
TypeDescription
string

setKind

This is always sql#tier.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDiskQuota

The maximum disk size of this tier in bytes.

Returns
TypeDescription
int|string

setDiskQuota

The maximum disk size of this tier in bytes.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getRegion

The applicable regions for this tier.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setRegion

The applicable regions for this tier.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this