# Google Cloud Private Catalog V1beta1 Client - Class SearchVersionsResponse (0.6.3)

0.6.3 (latest) 0.6.2 0.5.3 0.4.6 0.3.3 0.2.13

> [!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 Private Catalog V1beta1 Client class SearchVersionsResponse.

Response message for [PrivateCatalog.SearchVersions](https://docs.cloud.google.com/php/docs/reference/cloud-private-catalog/latest/V1beta1.Client.PrivateCatalogClient#_Google_Cloud_PrivateCatalog_V1beta1_Client_PrivateCatalogClient__searchVersions__).

Generated from protobuf message `google.cloud.privatecatalog.v1beta1.SearchVersionsResponse`

## Namespace

Google \\ Cloud \\ PrivateCatalog \\ V1beta1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ versions` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-private-catalog/latest/V1beta1.Version>` The `Version` resources computed from the resource context. |
| `↳ next_page_token` | `string` A pagination token returned from a previous call to SearchVersions that indicates from where the listing should continue. |

### getVersions

The `Version` resources computed from the resource context.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-private-catalog/latest/V1beta1.Version>` |   |

### setVersions

The `Version` resources computed from the resource context.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-private-catalog/latest/V1beta1.Version>` |

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

### getNextPageToken

A pagination token returned from a previous call to SearchVersions that
indicates from where the listing should continue.

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

### setNextPageToken

A pagination token returned from a previous call to SearchVersions that
indicates from where the listing should continue.

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

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