# Google Cloud Secure Source Manager V1 Client - Class ListPullRequestsResponse (1.8.0)

1.8.0 (latest) 1.7.0 1.6.3 1.5.0 1.4.1 1.3.3 1.2.0 1.1.0 1.0.0 0.2.5 0.1.0 Reference documentation and code samples for the Google Cloud Secure Source Manager V1 Client class ListPullRequestsResponse.

ListPullRequestsResponse is the response to list pull requests.

Generated from protobuf message `google.cloud.securesourcemanager.v1.ListPullRequestsResponse`

## Namespace

Google \\ Cloud \\ SecureSourceManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ pull_requests` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-securesourcemanager/latest/V1.PullRequest>` The list of pull requests. |
| `↳ next_page_token` | `string` A token identifying a page of results the server should return. |

### getPullRequests

The list of pull requests.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-securesourcemanager/latest/V1.PullRequest>` |   |

### setPullRequests

The list of pull requests.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-securesourcemanager/latest/V1.PullRequest>` |

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

### getNextPageToken

A token identifying a page of results the server should return.

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

### setNextPageToken

A token identifying a page of results the server should return.

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

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