# Google Cloud Support V2beta Client - Class SearchCaseClassificationsRequest (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 SearchCaseClassificationsRequest.

The request message for the SearchCaseClassifications endpoint.

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

## Namespace

Google \\ Cloud \\ Support \\ V2beta

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ query` | `string` An expression used to filter case classifications. If it's an empty string, then no filtering happens. Otherwise, case classifications will be returned that match the filter. |
| `↳ page_size` | `int` The maximum number of classifications fetched with each request. |
| `↳ page_token` | `string` A token identifying the page of results to return. If unspecified, the first page is retrieved. |
| `↳ product` | `https://docs.cloud.google.com/php/docs/reference/cloud-support/latest/V2beta.Product` Optional. The product to return case classifications for. |

### getQuery

An expression used to filter case classifications.

If it's an empty string, then no filtering happens. Otherwise, case
classifications will be returned that match the filter.

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

### setQuery

An expression used to filter case classifications.

If it's an empty string, then no filtering happens. Otherwise, case
classifications will be returned that match the filter.

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

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

### getPageSize

The maximum number of classifications fetched with each request.

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

### setPageSize

The maximum number of classifications fetched with each request.

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

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

### getPageToken

A token identifying the page of results to return. If unspecified, the
first page is retrieved.

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

### setPageToken

A token identifying the page of results to return. If unspecified, the
first page is retrieved.

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

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

### getProduct

Optional. The product to return case classifications for.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-support/latest/V2beta.Product|null` |   |

### hasProduct

### clearProduct

### setProduct

Optional. The product to return case classifications for.

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

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