Class: Google::Apis::BigqueryreservationV1beta1::ListAssignmentsResponse
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryreservationV1beta1::ListAssignmentsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigqueryreservation_v1beta1/classes.rb,
lib/google/apis/bigqueryreservation_v1beta1/representations.rb,
lib/google/apis/bigqueryreservation_v1beta1/representations.rb
Overview
The response for ReservationService.ListAssignments.
Instance Attribute Summary collapse
-
#assignments ⇒ Array<Google::Apis::BigqueryreservationV1beta1::Assignment>
List of assignments visible to the user.
-
#next_page_token ⇒ String
Token to retrieve the next page of results, or empty if there are no more results in the list.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListAssignmentsResponse
constructor
A new instance of ListAssignmentsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListAssignmentsResponse
Returns a new instance of ListAssignmentsResponse.
225 226 227 |
# File 'lib/google/apis/bigqueryreservation_v1beta1/classes.rb', line 225 def initialize(**args) update!(**args) end |
Instance Attribute Details
#assignments ⇒ Array<Google::Apis::BigqueryreservationV1beta1::Assignment>
List of assignments visible to the user.
Corresponds to the JSON property assignments
217 218 219 |
# File 'lib/google/apis/bigqueryreservation_v1beta1/classes.rb', line 217 def assignments @assignments end |
#next_page_token ⇒ String
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
223 224 225 |
# File 'lib/google/apis/bigqueryreservation_v1beta1/classes.rb', line 223 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
230 231 232 233 |
# File 'lib/google/apis/bigqueryreservation_v1beta1/classes.rb', line 230 def update!(**args) @assignments = args[:assignments] if args.key?(:assignments) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |