Class: Google::Apis::SqladminV1beta4::ListTiersResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListTiersResponse

Returns a new instance of ListTiersResponse.



4599
4600
4601
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 4599

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#itemsArray<Google::Apis::SqladminV1beta4::Tier>

List of tiers. Corresponds to the JSON property items



4592
4593
4594
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 4592

def items
  @items
end

#kindString

This is always sql#tiersList. Corresponds to the JSON property kind

Returns:

  • (String)


4597
4598
4599
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 4597

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4604
4605
4606
4607
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 4604

def update!(**args)
  @items = args[:items] if args.key?(:items)
  @kind = args[:kind] if args.key?(:kind)
end