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 [Fixnum]

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 [Fixnum]

region[RW]

The applicable regions for this tier. Corresponds to the JSON property `region` @return [Array<String>]

tier[RW]

An identifier for the machine type, for example, `db-custom-1-3840`. For related information, see [Pricing](/sql/pricing). Corresponds to the JSON property `tier` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 3618
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