fog/fog-google

View on GitHub
lib/fog/google/models/sql/tier.rb

Summary

Maintainability
A
0 mins
Test Coverage
require "fog/core/model"

module Fog
  module Google
    class SQL
      ##
      # A Google Cloud SQL service tier resource
      #
      # @see https://cloud.google.com/sql/docs/mysql/admin-api/v1beta4/tiers
      class Tier < Fog::Model
        identity :tier

        attribute :disk_quota, :aliases => "DiskQuota"
        attribute :kind
        attribute :ram, :aliases => "RAM"
        attribute :region
      end
    end
  end
end