Class: Google::Apis::SqladminV1::TiersListResponse
- Inherits:
-
Object
- Object
- Google::Apis::SqladminV1::TiersListResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/sqladmin_v1/classes.rb,
lib/google/apis/sqladmin_v1/representations.rb,
lib/google/apis/sqladmin_v1/representations.rb
Overview
Tiers list response.
Instance Attribute Summary collapse
-
#items ⇒ Array<Google::Apis::SqladminV1::Tier>
List of tiers.
-
#kind ⇒ String
This is always
sql#tiersList.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TiersListResponse
constructor
A new instance of TiersListResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TiersListResponse
Returns a new instance of TiersListResponse.
6622 6623 6624 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 6622 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::SqladminV1::Tier>
List of tiers.
Corresponds to the JSON property items
6615 6616 6617 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 6615 def items @items end |
#kind ⇒ String
This is always sql#tiersList.
Corresponds to the JSON property kind
6620 6621 6622 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 6620 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6627 6628 6629 6630 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 6627 def update!(**args) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) end |