Class: Google::Apis::SqladminV1::TiersListResponse

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TiersListResponse

Returns a new instance of TiersListResponse.



4749
4750
4751
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 4749

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

Instance Attribute Details

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

List of tiers. Corresponds to the JSON property items

Returns:



4742
4743
4744
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 4742

def items
  @items
end

#kindString

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

Returns:

  • (String)


4747
4748
4749
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 4747

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4754
4755
4756
4757
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 4754

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