Class: Google::Apis::BigqueryreservationV1alpha2::ListReservationGrantsResponse

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.ListReservationGrants.

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

Returns a new instance of ListReservationGrantsResponse.


77
78
79
# File 'generated/google/apis/bigqueryreservation_v1alpha2/classes.rb', line 77

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)

70
71
72
# File 'generated/google/apis/bigqueryreservation_v1alpha2/classes.rb', line 70

def next_page_token
  @next_page_token
end

#reservation_grantsArray<Google::Apis::BigqueryreservationV1alpha2::ReservationGrant>

List of reservation grants visible to the user. Corresponds to the JSON property reservationGrants


75
76
77
# File 'generated/google/apis/bigqueryreservation_v1alpha2/classes.rb', line 75

def reservation_grants
  @reservation_grants
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


82
83
84
85
# File 'generated/google/apis/bigqueryreservation_v1alpha2/classes.rb', line 82

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