# Google Cloud Support V2beta Client - Class SearchCasesResponse (1.6.0)

1.6.0 (latest) 1.5.0 1.4.2 1.3.0 1.2.1 1.1.0 1.0.3 0.2.5 0.1.2

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Support V2beta Client class SearchCasesResponse.

The response message for the SearchCases endpoint.

Generated from protobuf message `google.cloud.support.v2beta.SearchCasesResponse`

## Namespace

Google \\ Cloud \\ Support \\ V2beta

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ cases` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-support/latest/V2beta.PBCase>` The list of cases associated with the parent after any filters have been applied. |
| `↳ next_page_token` | `string` A token to retrieve the next page of results. Set this in the `page_token` field of subsequent `cases.search` requests. If unspecified, there are no more results to retrieve. |

### getCases

The list of cases associated with the parent after any
filters have been applied.

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

### setCases

The list of cases associated with the parent after any
filters have been applied.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-support/latest/V2beta.PBCase>` |

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

### getNextPageToken

A token to retrieve the next page of results. Set this in the
`page_token` field of subsequent `cases.search` requests. If unspecified,
there are no more results to retrieve.

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

### setNextPageToken

A token to retrieve the next page of results. Set this in the
`page_token` field of subsequent `cases.search` requests. If unspecified,
there are no more results to retrieve.

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

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