Class: Google::Apis::BigqueryreservationV1alpha2::ListSlotPoolsResponse

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

Overview

The response for ReservationService.ListSlotPools.

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) ⇒ ListSlotPoolsResponse

Returns a new instance of ListSlotPoolsResponse.



132
133
134
# File 'generated/google/apis/bigqueryreservation_v1alpha2/classes.rb', line 132

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

Instance Attribute Details

#next_page_tokenString

Token to retrieve the next page of results, or empty if there are no more results in the list. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


125
126
127
# File 'generated/google/apis/bigqueryreservation_v1alpha2/classes.rb', line 125

def next_page_token
  @next_page_token
end

#slot_poolsArray<Google::Apis::BigqueryreservationV1alpha2::SlotPool>

List of slot pools visible to the user. Corresponds to the JSON property slotPools



130
131
132
# File 'generated/google/apis/bigqueryreservation_v1alpha2/classes.rb', line 130

def slot_pools
  @slot_pools
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



137
138
139
140
# File 'generated/google/apis/bigqueryreservation_v1alpha2/classes.rb', line 137

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