# Grafeas V1 Client - Class ListNotesRequest (1.7.0)

1.7.0 (latest) 1.6.0 1.5.0 1.4.0 1.3.2 1.2.2 1.1.3 1.0.0 0.10.3 0.9.0 0.8.3 0.7.1 0.6.0 0.5.0 0.4.4 Reference documentation and code samples for the Grafeas V1 Client class ListNotesRequest.

Request to list notes.

Generated from protobuf message `grafeas.v1.ListNotesRequest`

## Namespace

Grafeas \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` The name of the project to list notes for in the form of `projects/[PROJECT_ID]`. |
| `↳ filter` | `string` The filter expression. |
| `↳ page_size` | `int` Number of notes to return in the list. Must be positive. Max allowed page size is 1000. If not specified, page size defaults to 20. |
| `↳ page_token` | `string` Token to provide to skip to a particular spot in the list. |
| `↳ return_partial_success` | `bool` If set, the request will return all reachable Notes and report all unreachable regions in the `unreachable` field in the response. Only applicable for requests in the global region. |

### getParent

The name of the project to list notes for in the form of
`projects/[PROJECT_ID]`.

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

### setParent

The name of the project to list notes for in the form of
`projects/[PROJECT_ID]`.

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

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

### getFilter

The filter expression.

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

### setFilter

The filter expression.

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

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

### getPageSize

Number of notes to return in the list. Must be positive. Max allowed page
size is 1000. If not specified, page size defaults to 20.

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

### setPageSize

Number of notes to return in the list. Must be positive. Max allowed page
size is 1000. If not specified, page size defaults to 20.

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

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

### getPageToken

Token to provide to skip to a particular spot in the list.

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

### setPageToken

Token to provide to skip to a particular spot in the list.

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

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

### getReturnPartialSuccess

If set, the request will return all reachable Notes
and report all unreachable regions in the `unreachable` field in
the response.

Only applicable for requests in the global region.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setReturnPartialSuccess

If set, the request will return all reachable Notes
and report all unreachable regions in the `unreachable` field in
the response.

Only applicable for requests in the global region.

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

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` The name of the project to list notes for in the form of `projects/[PROJECT_ID]`. Please see GrafeasClient::projectName() for help formatting this field. |
| `filter` | `string` The filter expression. |

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