# Google Cloud Gke Recommender V1 Client - Class FetchProfilesRequest (0.2.0)

0.2.0 (latest) 0.1.0 Reference documentation and code samples for the Google Cloud Gke Recommender V1 Client class FetchProfilesRequest.

Request message for
[GkeInferenceQuickstart.FetchProfiles](https://docs.cloud.google.com/php/docs/reference/cloud-gkerecommender/latest/V1.Client.GkeInferenceQuickstartClient#_Google_Cloud_GkeRecommender_V1_Client_GkeInferenceQuickstartClient__fetchProfiles__).

Generated from protobuf message `google.cloud.gkerecommender.v1.FetchProfilesRequest`

## Namespace

Google \\ Cloud \\ GkeRecommender \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ model` | `string` Optional. The model to filter profiles by. Open-source models follow the Huggingface Hub `owner/model_name` format. If not provided, all models are returned. Use [GkeInferenceQuickstart.FetchModels](https://docs.cloud.google.com/php/docs/reference/cloud-gkerecommender/latest/V1.Client.GkeInferenceQuickstartClient#_Google_Cloud_GkeRecommender_V1_Client_GkeInferenceQuickstartClient__fetchModels__) to find available models. |
| `↳ model_server` | `string` Optional. The model server to filter profiles by. If not provided, all model servers are returned. Use [GkeInferenceQuickstart.FetchModelServers](https://docs.cloud.google.com/php/docs/reference/cloud-gkerecommender/latest/V1.Client.GkeInferenceQuickstartClient#_Google_Cloud_GkeRecommender_V1_Client_GkeInferenceQuickstartClient__fetchModelServers__) to find available model servers for a given model. |
| `↳ model_server_version` | `string` Optional. The model server version to filter profiles by. If not provided, all model server versions are returned. Use [GkeInferenceQuickstart.FetchModelServerVersions](https://docs.cloud.google.com/php/docs/reference/cloud-gkerecommender/latest/V1.Client.GkeInferenceQuickstartClient#_Google_Cloud_GkeRecommender_V1_Client_GkeInferenceQuickstartClient__fetchModelServerVersions__) to find available versions for a given model and server. |
| `↳ performance_requirements` | `https://docs.cloud.google.com/php/docs/reference/cloud-gkerecommender/latest/V1.PerformanceRequirements` Optional. The performance requirements to filter profiles. Profiles that do not meet these requirements are filtered out. If not provided, all profiles are returned. |
| `↳ page_size` | `int` Optional. The target number of results to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a partial list and a caller should only rely on the response's [next_page_token](https://docs.cloud.google.com/php/docs/reference/cloud-gkerecommender/latest/V1.FetchProfilesResponse#_Google_Cloud_GkeRecommender_V1_FetchProfilesResponse__getNextPageToken__) to determine if there are more instances left to be queried. |
| `↳ page_token` | `string` Optional. The value of [next_page_token](https://docs.cloud.google.com/php/docs/reference/cloud-gkerecommender/latest/V1.FetchProfilesResponse#_Google_Cloud_GkeRecommender_V1_FetchProfilesResponse__getNextPageToken__) received from a previous `FetchProfilesRequest` call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to `FetchProfilesRequest` must match the call that provided the page token. |

### getModel

Optional. The model to filter profiles by. Open-source models follow the
Huggingface Hub `owner/model_name` format. If not provided, all models are
returned. Use
[GkeInferenceQuickstart.FetchModels](https://docs.cloud.google.com/php/docs/reference/cloud-gkerecommender/latest/V1.Client.GkeInferenceQuickstartClient#_Google_Cloud_GkeRecommender_V1_Client_GkeInferenceQuickstartClient__fetchModels__)
to find available models.

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

### setModel

Optional. The model to filter profiles by. Open-source models follow the
Huggingface Hub `owner/model_name` format. If not provided, all models are
returned. Use
[GkeInferenceQuickstart.FetchModels](https://docs.cloud.google.com/php/docs/reference/cloud-gkerecommender/latest/V1.Client.GkeInferenceQuickstartClient#_Google_Cloud_GkeRecommender_V1_Client_GkeInferenceQuickstartClient__fetchModels__)
to find available models.

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

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

### getModelServer

Optional. The model server to filter profiles by. If not provided, all
model servers are returned. Use
[GkeInferenceQuickstart.FetchModelServers](https://docs.cloud.google.com/php/docs/reference/cloud-gkerecommender/latest/V1.Client.GkeInferenceQuickstartClient#_Google_Cloud_GkeRecommender_V1_Client_GkeInferenceQuickstartClient__fetchModelServers__)
to find available model servers for a given model.

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

### setModelServer

Optional. The model server to filter profiles by. If not provided, all
model servers are returned. Use
[GkeInferenceQuickstart.FetchModelServers](https://docs.cloud.google.com/php/docs/reference/cloud-gkerecommender/latest/V1.Client.GkeInferenceQuickstartClient#_Google_Cloud_GkeRecommender_V1_Client_GkeInferenceQuickstartClient__fetchModelServers__)
to find available model servers for a given model.

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

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

### getModelServerVersion

Optional. The model server version to filter profiles by. If not provided,
all model server versions are returned. Use
[GkeInferenceQuickstart.FetchModelServerVersions](https://docs.cloud.google.com/php/docs/reference/cloud-gkerecommender/latest/V1.Client.GkeInferenceQuickstartClient#_Google_Cloud_GkeRecommender_V1_Client_GkeInferenceQuickstartClient__fetchModelServerVersions__)
to find available versions for a given model and server.

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

### setModelServerVersion

Optional. The model server version to filter profiles by. If not provided,
all model server versions are returned. Use
[GkeInferenceQuickstart.FetchModelServerVersions](https://docs.cloud.google.com/php/docs/reference/cloud-gkerecommender/latest/V1.Client.GkeInferenceQuickstartClient#_Google_Cloud_GkeRecommender_V1_Client_GkeInferenceQuickstartClient__fetchModelServerVersions__)
to find available versions for a given model and server.

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

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

### getPerformanceRequirements

Optional. The performance requirements to filter profiles. Profiles that do
not meet these requirements are filtered out. If not provided, all profiles
are returned.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-gkerecommender/latest/V1.PerformanceRequirements|null` |   |

### hasPerformanceRequirements

### clearPerformanceRequirements

### setPerformanceRequirements

Optional. The performance requirements to filter profiles. Profiles that do
not meet these requirements are filtered out. If not provided, all profiles
are returned.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-gkerecommender/latest/V1.PerformanceRequirements` |

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

### getPageSize

Optional. The target number of results to return in a single response. If
not specified, a default value will be chosen by the service. Note that the
response may include a partial list and a caller should only rely on the
response's
[next_page_token](https://docs.cloud.google.com/php/docs/reference/cloud-gkerecommender/latest/V1.FetchProfilesResponse#_Google_Cloud_GkeRecommender_V1_FetchProfilesResponse__getNextPageToken__)
to determine if there are more instances left to be queried.

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

### hasPageSize

### clearPageSize

### setPageSize

Optional. The target number of results to return in a single response. If
not specified, a default value will be chosen by the service. Note that the
response may include a partial list and a caller should only rely on the
response's
[next_page_token](https://docs.cloud.google.com/php/docs/reference/cloud-gkerecommender/latest/V1.FetchProfilesResponse#_Google_Cloud_GkeRecommender_V1_FetchProfilesResponse__getNextPageToken__)
to determine if there are more instances left to be queried.

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

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

### getPageToken

Optional. The value of
[next_page_token](https://docs.cloud.google.com/php/docs/reference/cloud-gkerecommender/latest/V1.FetchProfilesResponse#_Google_Cloud_GkeRecommender_V1_FetchProfilesResponse__getNextPageToken__)
received from a previous `FetchProfilesRequest` call.

Provide this to retrieve the subsequent page in a multi-page list of
results. When paginating, all other parameters provided to
`FetchProfilesRequest` must match the call that provided the page
token.

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

### hasPageToken

### clearPageToken

### setPageToken

Optional. The value of
[next_page_token](https://docs.cloud.google.com/php/docs/reference/cloud-gkerecommender/latest/V1.FetchProfilesResponse#_Google_Cloud_GkeRecommender_V1_FetchProfilesResponse__getNextPageToken__)
received from a previous `FetchProfilesRequest` call.

Provide this to retrieve the subsequent page in a multi-page list of
results. When paginating, all other parameters provided to
`FetchProfilesRequest` must match the call that provided the page
token.

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

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