2.11.0 (latest) 2.10.3 2.7.0 2.6.2 2.5.0 2.4.0 2.3.0 2.2.1 2.1.2 2.0.2 1.3.5 1.2.3 1.1.2 1.0.3 Reference documentation and code samples for the Google BigQuery Reservation V1 Client class SearchAllAssignmentsRequest.

The request for
[ReservationService.SearchAllAssignments](https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-reservation/latest/V1.Client.ReservationServiceClient#_Google_Cloud_BigQuery_Reservation_V1_Client_ReservationServiceClient__searchAllAssignments__).

Note: "bigquery.reservationAssignments.search" permission is required on the
related assignee.

Generated from protobuf message `google.cloud.bigquery.reservation.v1.SearchAllAssignmentsRequest`

## Namespace

Google \\ Cloud \\ BigQuery \\ Reservation \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The resource name with location (project name could be the wildcard '-'), e.g.: `projects/-/locations/US`. |
| `↳ query` | `string` Please specify resource name as assignee in the query. Examples: \* \* `assignee=projects/myproject` \* \* `assignee=folders/123` \* \* `assignee=organizations/456` |
| `↳ page_size` | `int` The maximum number of items to return per page. |
| `↳ page_token` | `string` The next_page_token value returned from a previous List request, if any. |

### getParent

Required. The resource name with location (project name could be the
wildcard '-'), e.g.:
`projects/-/locations/US`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setParent

Required. The resource name with location (project name could be the
wildcard '-'), e.g.:
`projects/-/locations/US`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getQuery

Please specify resource name as assignee in the query.

Examples:

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setQuery

Please specify resource name as assignee in the query.

Examples:

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPageSize

The maximum number of items to return per page.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setPageSize

The maximum number of items to return per page.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPageToken

The next_page_token value returned from a previous List request, if any.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setPageToken

The next_page_token value returned from a previous List request, if any.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The resource name with location (project name could be the wildcard '-'), e.g.: `projects/-/locations/US`. Please see ReservationServiceClient::locationName() for help formatting this field. |
| `query` | `string` Please specify resource name as assignee in the query. Examples: - - `assignee=projects/myproject` - - `assignee=folders/123` - - `assignee=organizations/456` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-reservation/latest/V1.SearchAllAssignmentsRequest` |   |