# Google Cloud Binary Authorization V1 Client - Class ListAttestorsRequest (1.1.2)

1.1.2 (latest) 1.1.1 1.0.5 0.8.7 0.7.0 0.6.1 0.5.13 Reference documentation and code samples for the Google Cloud Binary Authorization V1 Client class ListAttestorsRequest.

Request message for BinauthzManagementService.ListAttestors.

Generated from protobuf message `google.cloud.binaryauthorization.v1.ListAttestorsRequest`

## Namespace

Google \\ Cloud \\ BinaryAuthorization \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The resource name of the project associated with the [attestors](https://docs.cloud.google.com/php/docs/reference/cloud-binary-authorization/latest/V1.Attestor), in the format `projects/*`. |
| `↳ page_size` | `int` Requested page size. The server may return fewer results than requested. If unspecified, the server will pick an appropriate default. |
| `↳ page_token` | `string` A token identifying a page of results the server should return. Typically, this is the value of [ListAttestorsResponse.next_page_token](https://docs.cloud.google.com/php/docs/reference/cloud-binary-authorization/latest/V1.ListAttestorsResponse#_Google_Cloud_BinaryAuthorization_V1_ListAttestorsResponse__getNextPageToken__) returned from the previous call to the `ListAttestors` method. |

### getParent

Required. The resource name of the project associated with the
[attestors](https://docs.cloud.google.com/php/docs/reference/cloud-binary-authorization/latest/V1.Attestor), in the format `projects/*`.

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

### setParent

Required. The resource name of the project associated with the
[attestors](https://docs.cloud.google.com/php/docs/reference/cloud-binary-authorization/latest/V1.Attestor), in the format `projects/*`.

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

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

### getPageSize

Requested page size. The server may return fewer results than requested. If
unspecified, the server will pick an appropriate default.

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

### setPageSize

Requested page size. The server may return fewer results than requested. If
unspecified, the server will pick an appropriate default.

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

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

### getPageToken

A token identifying a page of results the server should return. Typically,
this is the value of [ListAttestorsResponse.next_page_token](https://docs.cloud.google.com/php/docs/reference/cloud-binary-authorization/latest/V1.ListAttestorsResponse#_Google_Cloud_BinaryAuthorization_V1_ListAttestorsResponse__getNextPageToken__) returned
from the previous call to the `ListAttestors` method.

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

### setPageToken

A token identifying a page of results the server should return. Typically,
this is the value of [ListAttestorsResponse.next_page_token](https://docs.cloud.google.com/php/docs/reference/cloud-binary-authorization/latest/V1.ListAttestorsResponse#_Google_Cloud_BinaryAuthorization_V1_ListAttestorsResponse__getNextPageToken__) returned
from the previous call to the `ListAttestors` method.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The resource name of the project associated with the [attestors](https://docs.cloud.google.com/php/docs/reference/cloud-binary-authorization/latest/V1.Attestor), in the format `projects/*`. Please see BinauthzManagementServiceV1Client::projectName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-binary-authorization/latest/V1.ListAttestorsRequest` |   |