Class: Google::Apis::SqladminV1beta3::TiersListResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/sqladmin_v1beta3/classes.rb,
generated/google/apis/sqladmin_v1beta3/representations.rb,
generated/google/apis/sqladmin_v1beta3/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) ⇒ TiersListResponse

Returns a new instance of TiersListResponse



1620
1621
1622
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 1620

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

Instance Attribute Details

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

List of tiers. Corresponds to the JSON property items



1613
1614
1615
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 1613

def items
  @items
end

#kindString

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

Returns:

  • (String)


1618
1619
1620
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 1618

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1625
1626
1627
1628
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 1625

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