Class: Google::Apis::BigqueryreservationV1::SearchAllAssignmentsResponse

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

Overview

The response for ReservationService.SearchAllAssignments.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SearchAllAssignmentsResponse

Returns a new instance of SearchAllAssignmentsResponse.



544
545
546
# File 'lib/google/apis/bigqueryreservation_v1/classes.rb', line 544

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

Instance Attribute Details

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

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



536
537
538
# File 'lib/google/apis/bigqueryreservation_v1/classes.rb', line 536

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

Returns:

  • (String)


542
543
544
# File 'lib/google/apis/bigqueryreservation_v1/classes.rb', line 542

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



549
550
551
552
# File 'lib/google/apis/bigqueryreservation_v1/classes.rb', line 549

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