# BigQuery Reservation V1 API - Class Google::Cloud::Bigquery::Reservation::V1::SearchAssignmentsRequest (v1.12.0)

1.12.0 (latest) 1.11.0 1.10.0 1.9.2 1.8.0 1.7.0 1.6.0 1.5.0 1.4.1 1.3.0 1.2.0 1.1.0 1.0.1 0.12.0 0.11.2 0.10.0 0.9.0 0.8.1 0.7.0 0.6.0 0.5.0 0.4.2 Reference documentation and code samples for the BigQuery Reservation V1 API class Google::Cloud::Bigquery::Reservation::V1::SearchAssignmentsRequest.

The request for
[ReservationService.SearchAssignments](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-reservation-v1/latest/Google-Cloud-Bigquery-Reservation-V1-ReservationService-Client#Google__Cloud__Bigquery__Reservation__V1__ReservationService__Client_search_assignments_instance_ "Google::Cloud::Bigquery::Reservation::V1::ReservationService::Client#search_assignments (method)").
Note: "bigquery.reservationAssignments.search" permission is required on the
related assignee.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #page_size

    def page_size() -> ::Integer

**Returns**

- (::Integer) --- The maximum number of items to return per page.

### #page_size=

    def page_size=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The maximum number of items to return per page.
**Returns**

- (::Integer) --- The maximum number of items to return per page.

### #page_token

    def page_token() -> ::String

**Returns**

- (::String) --- The next_page_token value returned from a previous List request, if any.

### #page_token=

    def page_token=(value) -> ::String

**Parameter**

- **value** (::String) --- The next_page_token value returned from a previous List request, if any.
**Returns**

- (::String) --- The next_page_token value returned from a previous List request, if any.

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. The resource name of the admin project(containing project and location), e.g.: `projects/myproject/locations/US`.

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The resource name of the admin project(containing project and location), e.g.: `projects/myproject/locations/US`.
**Returns**

- (::String) --- Required. The resource name of the admin project(containing project and location), e.g.: `projects/myproject/locations/US`.

### #query

    def query() -> ::String

**Returns**

- (::String) --- Please specify resource name as assignee in the query.

  Examples:
  - `assignee=projects/myproject`
  - `assignee=folders/123`
  - `assignee=organizations/456`

### #query=

    def query=(value) -> ::String

**Parameter**

- **value** (::String) ---

  Please specify resource name as assignee in the query.

  Examples:
  - `assignee=projects/myproject`
  - `assignee=folders/123`
  - `assignee=organizations/456`
**Returns**

- (::String) --- Please specify resource name as assignee in the query.

  Examples:
  - `assignee=projects/myproject`
  - `assignee=folders/123`
  - `assignee=organizations/456`