Class: Google::Apis::BigqueryreservationV1beta1::ListAssignmentsResponse

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

Overview

The response for ReservationService.ListAssignments.

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


197
198
199
# File 'generated/google/apis/bigqueryreservation_v1beta1/classes.rb', line 197

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

Instance Attribute Details

#assignmentsArray<Google::Apis::BigqueryreservationV1beta1::Assignment>

List of assignments visible to the user. Corresponds to the JSON property assignments


189
190
191
# File 'generated/google/apis/bigqueryreservation_v1beta1/classes.rb', line 189

def assignments
  @assignments
end

#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


195
196
197
# File 'generated/google/apis/bigqueryreservation_v1beta1/classes.rb', line 195

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


202
203
204
205
# File 'generated/google/apis/bigqueryreservation_v1beta1/classes.rb', line 202

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