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

Constructor Details

#initialize(**args) ⇒ ListTiersResponse

Returns a new instance of ListTiersResponse.



2988
2989
2990
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 2988

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

Instance Attribute Details

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

List of tiers. Corresponds to the JSON property items



2981
2982
2983
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 2981

def items
  @items
end

#kindString

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

Returns:

  • (String)


2986
2987
2988
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 2986

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2993
2994
2995
2996
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 2993

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