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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/sqladmin_v1beta4/classes.rb,
generated/google/apis/sqladmin_v1beta4/representations.rb,
generated/google/apis/sqladmin_v1beta4/representations.rb

Overview

Tiers list response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListTiersResponse

Returns a new instance of ListTiersResponse.



1964
1965
1966
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1964

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

Instance Attribute Details

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

List of tiers. Corresponds to the JSON property items



1957
1958
1959
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1957

def items
  @items
end

#kindString

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

Returns:

  • (String)


1962
1963
1964
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1962

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1969
1970
1971
1972
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1969

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