Class: Google::Apis::SqladminV1beta3::Tier
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::SqladminV1beta3::Tier
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/sqladmin_v1beta3/classes.rb,
 generated/google/apis/sqladmin_v1beta3/representations.rb,
 generated/google/apis/sqladmin_v1beta3/representations.rb
Overview
A Google Cloud SQL service tier resource.
Instance Attribute Summary collapse
- 
  
    
      #disk_quota  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The maximum disk size of this tier in bytes. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    This is always sql#tier. 
- 
  
    
      #ram  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The maximum RAM usage of this tier in bytes. 
- 
  
    
      #region  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The applicable regions for this tier. 
- 
  
    
      #tier  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    An identifier for the service tier, for example D1, D2 etc. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Tier 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Tier. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Tier
Returns a new instance of Tier
| 1592 1593 1594 | # File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 1592 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#disk_quota ⇒ Fixnum
The maximum disk size of this tier in bytes.
Corresponds to the JSON property DiskQuota
| 1569 1570 1571 | # File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 1569 def disk_quota @disk_quota end | 
#kind ⇒ String
This is always sql#tier.
Corresponds to the JSON property kind
| 1579 1580 1581 | # File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 1579 def kind @kind end | 
#ram ⇒ Fixnum
The maximum RAM usage of this tier in bytes.
Corresponds to the JSON property RAM
| 1574 1575 1576 | # File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 1574 def ram @ram end | 
#region ⇒ Array<String>
The applicable regions for this tier.
Corresponds to the JSON property region
| 1584 1585 1586 | # File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 1584 def region @region end | 
#tier ⇒ String
An identifier for the service tier, for example D1, D2 etc. For related
information, see Pricing.
Corresponds to the JSON property tier
| 1590 1591 1592 | # File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 1590 def tier @tier end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1597 1598 1599 1600 1601 1602 1603 | # File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 1597 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 |