# Cloud AutoML V1 Client - Class ListModelEvaluationsRequest (2.1.3)

2.1.3 (latest) 2.1.2 2.0.5 1.6.5 1.5.4 1.4.17 Reference documentation and code samples for the Cloud AutoML V1 Client class ListModelEvaluationsRequest.

Request message for [AutoMl.ListModelEvaluations](https://docs.cloud.google.com/php/docs/reference/cloud-automl/latest/V1.Client.AutoMlClient#_Google_Cloud_AutoMl_V1_Client_AutoMlClient__listModelEvaluations__).

Generated from protobuf message `google.cloud.automl.v1.ListModelEvaluationsRequest`

## Namespace

Google \\ Cloud \\ AutoMl \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. Resource name of the model to list the model evaluations for. If modelId is set as "-", this will list model evaluations from across all models of the parent location. |
| `↳ filter` | `string` Required. An expression for filtering the results of the request. \* \* `annotation_spec_id` - for =, != or existence. See example below for the last. Some examples of using the filter are: \* \* `annotation_spec_id!=4` --\> The model evaluation was done for annotation spec with ID different than 4. \* \* `NOT annotation_spec_id:*` --\> The model evaluation was done for aggregate of all annotation specs. |
| `↳ page_size` | `int` Requested page size. |
| `↳ page_token` | `string` A token identifying a page of results for the server to return. Typically obtained via [ListModelEvaluationsResponse.next_page_token](https://docs.cloud.google.com/php/docs/reference/cloud-automl/latest/V1.ListModelEvaluationsResponse#_Google_Cloud_AutoMl_V1_ListModelEvaluationsResponse__getNextPageToken__) of the previous [AutoMl.ListModelEvaluations](https://docs.cloud.google.com/php/docs/reference/cloud-automl/latest/V1.Client.AutoMlClient#_Google_Cloud_AutoMl_V1_Client_AutoMlClient__listModelEvaluations__) call. |

### getParent

Required. Resource name of the model to list the model evaluations for.

If modelId is set as "-", this will list model evaluations from across all
models of the parent location.

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

### setParent

Required. Resource name of the model to list the model evaluations for.

If modelId is set as "-", this will list model evaluations from across all
models of the parent location.

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

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

### getFilter

Required. An expression for filtering the results of the request.

- `annotation_spec_id` - for =, != or existence. See example below for the last. Some examples of using the filter are:
  - `annotation_spec_id!=4` --\> The model evaluation was done for annotation spec with ID different than 4.
  - `NOT annotation_spec_id:*` --\> The model evaluation was done for aggregate of all annotation specs.

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

### setFilter

Required. An expression for filtering the results of the request.

- `annotation_spec_id` - for =, != or existence. See example below for the last. Some examples of using the filter are:
  - `annotation_spec_id!=4` --\> The model evaluation was done for annotation spec with ID different than 4.
  - `NOT annotation_spec_id:*` --\> The model evaluation was done for aggregate of all annotation specs.

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

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

### getPageSize

Requested page size.

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

### setPageSize

Requested page size.

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

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

### getPageToken

A token identifying a page of results for the server to return.

Typically obtained via
[ListModelEvaluationsResponse.next_page_token](https://docs.cloud.google.com/php/docs/reference/cloud-automl/latest/V1.ListModelEvaluationsResponse#_Google_Cloud_AutoMl_V1_ListModelEvaluationsResponse__getNextPageToken__) of the previous
[AutoMl.ListModelEvaluations](https://docs.cloud.google.com/php/docs/reference/cloud-automl/latest/V1.Client.AutoMlClient#_Google_Cloud_AutoMl_V1_Client_AutoMlClient__listModelEvaluations__) call.

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

### setPageToken

A token identifying a page of results for the server to return.

Typically obtained via
[ListModelEvaluationsResponse.next_page_token](https://docs.cloud.google.com/php/docs/reference/cloud-automl/latest/V1.ListModelEvaluationsResponse#_Google_Cloud_AutoMl_V1_ListModelEvaluationsResponse__getNextPageToken__) of the previous
[AutoMl.ListModelEvaluations](https://docs.cloud.google.com/php/docs/reference/cloud-automl/latest/V1.Client.AutoMlClient#_Google_Cloud_AutoMl_V1_Client_AutoMlClient__listModelEvaluations__) call.

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

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. Resource name of the model to list the model evaluations for. If modelId is set as "-", this will list model evaluations from across all models of the parent location. Please see AutoMlClient::modelName() for help formatting this field. |
| `filter` | `string` Required. An expression for filtering the results of the request. - - `annotation_spec_id` - for =, != or existence. See example below for the last. Some examples of using the filter are: - - `annotation_spec_id!=4` --\> The model evaluation was done for annotation spec with ID different than 4. - - `NOT annotation_spec_id:*` --\> The model evaluation was done for aggregate of all annotation specs. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-automl/latest/V1.ListModelEvaluationsRequest` |   |