class Google::Apis::SqladminV1beta4::Tier

A Google Cloud SQL service tier resource.

Attributes

disk_quota[RW]

The maximum disk size of this tier in bytes. Corresponds to the JSON property `DiskQuota` @return [String]

kind[RW]

This is always sql#tier. Corresponds to the JSON property `kind` @return [String]

ram[RW]

The maximum RAM usage of this tier in bytes. Corresponds to the JSON property `RAM` @return [String]

region[RW]

The applicable regions for this tier. Can be us-east1, europe-west1 or asia- east1. Corresponds to the JSON property `region` @return [Array<String>]

tier[RW]

An identifier for the service tier, for example D1, D2 etc. For related information, see Pricing. Corresponds to the JSON property `tier` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/sqladmin_v1beta4/classes.rb, line 1897
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/sqladmin_v1beta4/classes.rb, line 1902
def update!(**args)
  @disk_quota = args[:disk_quota] if args.key?(:disk_quota)
  @ram = args[:ram] if args.key?(:ram)
  @kind = args[:kind] if args.key?(:kind)
  @region = args[:region] if args.key?(:region)
  @tier = args[:tier] if args.key?(:tier)
end