# Google Cloud Ai Platform V1 Client - Class IndexEndpoint (1.60.0)

1.60.0 (latest) 1.59.0 1.58.0 1.57.0 1.56.0 1.55.0 1.54.0 1.53.0 1.52.0 1.51.0 1.50.0 1.49.0 1.48.0 1.47.0 1.46.0 1.45.0 1.44.0 1.43.0 1.42.0 1.41.0 1.40.0 1.39.0 1.38.0 1.37.0 1.36.0 1.35.0 1.34.0 1.33.0 1.32.1 1.31.0 1.30.0 1.26.0 1.23.0 1.22.0 1.21.0 1.20.0 1.19.0 1.18.0 1.17.0 1.16.0 1.15.0 1.14.0 1.13.1 1.12.0 1.11.0 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0 0.39.0 0.38.0 0.37.1 0.32.0 0.31.0 0.30.0 0.29.0 0.28.0 0.27.0 0.26.2 0.25.0 0.24.0 0.23.0 0.22.0 0.21.0 0.20.0 0.19.0 0.18.0 0.17.0 0.16.0 0.15.0 0.13.0 0.12.0 0.11.1 0.10.0 Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class IndexEndpoint.

Indexes are deployed into it. An IndexEndpoint can have multiple
DeployedIndexes.

Generated from protobuf message `google.cloud.aiplatform.v1.IndexEndpoint`

## Namespace

Google \\ Cloud \\ AIPlatform \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Output only. The resource name of the IndexEndpoint. |
| `↳ display_name` | `string` Required. The display name of the IndexEndpoint. The name can be up to 128 characters long and can consist of any UTF-8 characters. |
| `↳ description` | `string` The description of the IndexEndpoint. |
| `↳ deployed_indexes` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-ai-platform/latest/V1.DeployedIndex>` Output only. The indexes deployed in this endpoint. |
| `↳ etag` | `string` Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens. |
| `↳ labels` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` The labels with user-defined metadata to organize your IndexEndpoints. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See <https://goo.gl/xmQnxf> for more information and examples of labels. |
| `↳ create_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. Timestamp when this IndexEndpoint was created. |
| `↳ update_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. Timestamp when this IndexEndpoint was last updated. This timestamp is not updated when the endpoint's DeployedIndexes are updated, e.g. due to updates of the original Indexes they are the deployments of. |
| `↳ network` | `string` Optional. The full name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the IndexEndpoint should be peered. Private services access must already be configured for the network. If left unspecified, the Endpoint is not peered with any network. [network](https://docs.cloud.google.com/php/docs/reference/cloud-ai-platform/latest/V1.IndexEndpoint#_Google_Cloud_AIPlatform_V1_IndexEndpoint__getNetwork__) and [private_service_connect_config](https://docs.cloud.google.com/php/docs/reference/cloud-ai-platform/latest/V1.IndexEndpoint#_Google_Cloud_AIPlatform_V1_IndexEndpoint__getPrivateServiceConnectConfig__) are mutually exclusive. [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert): `projects/{project}/global/networks/{network}`. Where {project} is a project number, as in '12345', and {network} is network name. |
| `↳ enable_private_service_connect` | `bool` Optional. Deprecated: If true, expose the IndexEndpoint via private service connect. Only one of the fields, [network](https://docs.cloud.google.com/php/docs/reference/cloud-ai-platform/latest/V1.IndexEndpoint#_Google_Cloud_AIPlatform_V1_IndexEndpoint__getNetwork__) or [enable_private_service_connect](https://docs.cloud.google.com/php/docs/reference/cloud-ai-platform/latest/V1.IndexEndpoint#_Google_Cloud_AIPlatform_V1_IndexEndpoint__getEnablePrivateServiceConnect__), can be set. |
| `↳ private_service_connect_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-ai-platform/latest/V1.PrivateServiceConnectConfig` Optional. Configuration for private service connect. [network](https://docs.cloud.google.com/php/docs/reference/cloud-ai-platform/latest/V1.IndexEndpoint#_Google_Cloud_AIPlatform_V1_IndexEndpoint__getNetwork__) and [private_service_connect_config](https://docs.cloud.google.com/php/docs/reference/cloud-ai-platform/latest/V1.IndexEndpoint#_Google_Cloud_AIPlatform_V1_IndexEndpoint__getPrivateServiceConnectConfig__) are mutually exclusive. |
| `↳ public_endpoint_enabled` | `bool` Optional. If true, the deployed index will be accessible through public endpoint. |
| `↳ public_endpoint_domain_name` | `string` Output only. If [public_endpoint_enabled](https://docs.cloud.google.com/php/docs/reference/cloud-ai-platform/latest/V1.IndexEndpoint#_Google_Cloud_AIPlatform_V1_IndexEndpoint__getPublicEndpointEnabled__) is true, this field will be populated with the domain name to use for this index endpoint. |
| `↳ encryption_spec` | `https://docs.cloud.google.com/php/docs/reference/cloud-ai-platform/latest/V1.EncryptionSpec` Immutable. Customer-managed encryption key spec for an IndexEndpoint. If set, this IndexEndpoint and all sub-resources of this IndexEndpoint will be secured by this key. |
| `↳ satisfies_pzs` | `bool` Output only. Reserved for future use. |
| `↳ satisfies_pzi` | `bool` Output only. Reserved for future use. |

### getName

Output only. The resource name of the IndexEndpoint.

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

### setName

Output only. The resource name of the IndexEndpoint.

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

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

### getDisplayName

Required. The display name of the IndexEndpoint.

The name can be up to 128 characters long and can consist of any UTF-8
characters.

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

### setDisplayName

Required. The display name of the IndexEndpoint.

The name can be up to 128 characters long and can consist of any UTF-8
characters.

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

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

### getDescription

The description of the IndexEndpoint.

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

### setDescription

The description of the IndexEndpoint.

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

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

### getDeployedIndexes

Output only. The indexes deployed in this endpoint.

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

### setDeployedIndexes

Output only. The indexes deployed in this endpoint.

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

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

### getEtag

Used to perform consistent read-modify-write updates. If not set, a blind
"overwrite" update happens.

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

### setEtag

Used to perform consistent read-modify-write updates. If not set, a blind
"overwrite" update happens.

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

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

### getLabels

The labels with user-defined metadata to organize your IndexEndpoints.

Label keys and values can be no longer than 64 characters
(Unicode codepoints), can only contain lowercase letters, numeric
characters, underscores and dashes. International characters are allowed.
See <https://goo.gl/xmQnxf> for more information and examples of labels.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |   |

### setLabels

The labels with user-defined metadata to organize your IndexEndpoints.

Label keys and values can be no longer than 64 characters
(Unicode codepoints), can only contain lowercase letters, numeric
characters, underscores and dashes. International characters are allowed.
See <https://goo.gl/xmQnxf> for more information and examples of labels.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |

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

### getCreateTime

Output only. Timestamp when this IndexEndpoint was created.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasCreateTime

### clearCreateTime

### setCreateTime

Output only. Timestamp when this IndexEndpoint was created.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getUpdateTime

Output only. Timestamp when this IndexEndpoint was last updated.

This timestamp is not updated when the endpoint's DeployedIndexes are
updated, e.g. due to updates of the original Indexes they are the
deployments of.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasUpdateTime

### clearUpdateTime

### setUpdateTime

Output only. Timestamp when this IndexEndpoint was last updated.

This timestamp is not updated when the endpoint's DeployedIndexes are
updated, e.g. due to updates of the original Indexes they are the
deployments of.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getNetwork

Optional. The full name of the Google Compute Engine
[network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
to which the IndexEndpoint should be peered.

Private services access must already be configured for the network. If left
unspecified, the Endpoint is not peered with any network.
[network](https://docs.cloud.google.com/php/docs/reference/cloud-ai-platform/latest/V1.IndexEndpoint#_Google_Cloud_AIPlatform_V1_IndexEndpoint__getNetwork__) and
[private_service_connect_config](https://docs.cloud.google.com/php/docs/reference/cloud-ai-platform/latest/V1.IndexEndpoint#_Google_Cloud_AIPlatform_V1_IndexEndpoint__getPrivateServiceConnectConfig__)
are mutually exclusive.
[Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert):
`projects/{project}/global/networks/{network}`.
Where {project} is a project number, as in '12345', and {network} is
network name.

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

### setNetwork

Optional. The full name of the Google Compute Engine
[network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
to which the IndexEndpoint should be peered.

Private services access must already be configured for the network. If left
unspecified, the Endpoint is not peered with any network.
[network](https://docs.cloud.google.com/php/docs/reference/cloud-ai-platform/latest/V1.IndexEndpoint#_Google_Cloud_AIPlatform_V1_IndexEndpoint__getNetwork__) and
[private_service_connect_config](https://docs.cloud.google.com/php/docs/reference/cloud-ai-platform/latest/V1.IndexEndpoint#_Google_Cloud_AIPlatform_V1_IndexEndpoint__getPrivateServiceConnectConfig__)
are mutually exclusive.
[Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert):
`projects/{project}/global/networks/{network}`.
Where {project} is a project number, as in '12345', and {network} is
network name.

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

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

### getEnablePrivateServiceConnect

Optional. Deprecated: If true, expose the IndexEndpoint via private service
connect.

Only one of the fields,
[network](https://docs.cloud.google.com/php/docs/reference/cloud-ai-platform/latest/V1.IndexEndpoint#_Google_Cloud_AIPlatform_V1_IndexEndpoint__getNetwork__) or
[enable_private_service_connect](https://docs.cloud.google.com/php/docs/reference/cloud-ai-platform/latest/V1.IndexEndpoint#_Google_Cloud_AIPlatform_V1_IndexEndpoint__getEnablePrivateServiceConnect__),
can be set.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setEnablePrivateServiceConnect

Optional. Deprecated: If true, expose the IndexEndpoint via private service
connect.

Only one of the fields,
[network](https://docs.cloud.google.com/php/docs/reference/cloud-ai-platform/latest/V1.IndexEndpoint#_Google_Cloud_AIPlatform_V1_IndexEndpoint__getNetwork__) or
[enable_private_service_connect](https://docs.cloud.google.com/php/docs/reference/cloud-ai-platform/latest/V1.IndexEndpoint#_Google_Cloud_AIPlatform_V1_IndexEndpoint__getEnablePrivateServiceConnect__),
can be set.

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

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

### getPrivateServiceConnectConfig

Optional. Configuration for private service connect.

[network](https://docs.cloud.google.com/php/docs/reference/cloud-ai-platform/latest/V1.IndexEndpoint#_Google_Cloud_AIPlatform_V1_IndexEndpoint__getNetwork__) and
[private_service_connect_config](https://docs.cloud.google.com/php/docs/reference/cloud-ai-platform/latest/V1.IndexEndpoint#_Google_Cloud_AIPlatform_V1_IndexEndpoint__getPrivateServiceConnectConfig__)
are mutually exclusive.

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

### hasPrivateServiceConnectConfig

### clearPrivateServiceConnectConfig

### setPrivateServiceConnectConfig

Optional. Configuration for private service connect.

[network](https://docs.cloud.google.com/php/docs/reference/cloud-ai-platform/latest/V1.IndexEndpoint#_Google_Cloud_AIPlatform_V1_IndexEndpoint__getNetwork__) and
[private_service_connect_config](https://docs.cloud.google.com/php/docs/reference/cloud-ai-platform/latest/V1.IndexEndpoint#_Google_Cloud_AIPlatform_V1_IndexEndpoint__getPrivateServiceConnectConfig__)
are mutually exclusive.

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

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

### getPublicEndpointEnabled

Optional. If true, the deployed index will be accessible through public
endpoint.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setPublicEndpointEnabled

Optional. If true, the deployed index will be accessible through public
endpoint.

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

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

### getPublicEndpointDomainName

Output only. If
[public_endpoint_enabled](https://docs.cloud.google.com/php/docs/reference/cloud-ai-platform/latest/V1.IndexEndpoint#_Google_Cloud_AIPlatform_V1_IndexEndpoint__getPublicEndpointEnabled__)
is true, this field will be populated with the domain name to use for this
index endpoint.

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

### setPublicEndpointDomainName

Output only. If
[public_endpoint_enabled](https://docs.cloud.google.com/php/docs/reference/cloud-ai-platform/latest/V1.IndexEndpoint#_Google_Cloud_AIPlatform_V1_IndexEndpoint__getPublicEndpointEnabled__)
is true, this field will be populated with the domain name to use for this
index endpoint.

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

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

### getEncryptionSpec

Immutable. Customer-managed encryption key spec for an IndexEndpoint. If
set, this IndexEndpoint and all sub-resources of this IndexEndpoint will be
secured by this key.

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

### hasEncryptionSpec

### clearEncryptionSpec

### setEncryptionSpec

Immutable. Customer-managed encryption key spec for an IndexEndpoint. If
set, this IndexEndpoint and all sub-resources of this IndexEndpoint will be
secured by this key.

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

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

### getSatisfiesPzs

Output only. Reserved for future use.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setSatisfiesPzs

Output only. Reserved for future use.

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

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

### getSatisfiesPzi

Output only. Reserved for future use.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setSatisfiesPzi

Output only. Reserved for future use.

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

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