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



2184
2185
2186
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 2184

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

Instance Attribute Details

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

List of tiers. Corresponds to the JSON property items



2177
2178
2179
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 2177

def items
  @items
end

#kindString

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

Returns:

  • (String)


2182
2183
2184
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 2182

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2189
2190
2191
2192
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 2189

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