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.


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

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)

122
123
124
# File 'generated/google/apis/bigqueryreservation_v1alpha2/classes.rb', line 122

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


127
128
129
# File 'generated/google/apis/bigqueryreservation_v1alpha2/classes.rb', line 127

def slot_pools
  @slot_pools
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


134
135
136
137
# File 'generated/google/apis/bigqueryreservation_v1alpha2/classes.rb', line 134

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