Class: Google::Apis::SqladminV1beta4::ListTiersResponse
- Inherits:
-
Object
- Object
- Google::Apis::SqladminV1beta4::ListTiersResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/sqladmin_v1beta4/classes.rb,
lib/google/apis/sqladmin_v1beta4/representations.rb,
lib/google/apis/sqladmin_v1beta4/representations.rb
Overview
Tiers list response.
Instance Attribute Summary collapse
-
#items ⇒ Array<Google::Apis::SqladminV1beta4::Tier>
List of tiers.
-
#kind ⇒ String
This is always
sql#tiersList.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListTiersResponse
constructor
A new instance of ListTiersResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListTiersResponse
Returns a new instance of ListTiersResponse.
3522 3523 3524 |
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 3522 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::SqladminV1beta4::Tier>
List of tiers.
Corresponds to the JSON property items
3515 3516 3517 |
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 3515 def items @items end |
#kind ⇒ String
This is always sql#tiersList.
Corresponds to the JSON property kind
3520 3521 3522 |
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 3520 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3527 3528 3529 3530 |
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 3527 def update!(**args) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) end |