Google Cloud Ai Platform V1 Client - Class IndexEndpoint (0.26.2)

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
NameDescription
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<Google\Cloud\AIPlatform\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|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 Google\Protobuf\Timestamp

Output only. Timestamp when this IndexEndpoint was created.

↳ update_time 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 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 and private_service_connect_config are mutually exclusive. Format: 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 or enable_private_service_connect, can be set.

↳ private_service_connect_config Google\Cloud\AIPlatform\V1\PrivateServiceConnectConfig

Optional. Configuration for private service connect. network and private_service_connect_config 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 is true, this field will be populated with the domain name to use for this index endpoint.

↳ encryption_spec Google\Cloud\AIPlatform\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.

getName

Output only. The resource name of the IndexEndpoint.

Returns
TypeDescription
string

setName

Output only. The resource name of the IndexEndpoint.

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getDescription

The description of the IndexEndpoint.

Returns
TypeDescription
string

setDescription

The description of the IndexEndpoint.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDeployedIndexes

Output only. The indexes deployed in this endpoint.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setDeployedIndexes

Output only. The indexes deployed in this endpoint.

Parameter
NameDescription
var array<Google\Cloud\AIPlatform\V1\DeployedIndex>
Returns
TypeDescription
$this

getEtag

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

Returns
TypeDescription
string

setEtag

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

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getCreateTime

Output only. Timestamp when this IndexEndpoint was created.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Timestamp when this IndexEndpoint was created.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getNetwork

Optional. The full name of the Google Compute Engine network 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 and private_service_connect_config are mutually exclusive. Format: projects/{project}/global/networks/{network}. Where {project} is a project number, as in '12345', and {network} is network name.

Returns
TypeDescription
string

setNetwork

Optional. The full name of the Google Compute Engine network 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 and private_service_connect_config are mutually exclusive. Format: projects/{project}/global/networks/{network}. Where {project} is a project number, as in '12345', and {network} is network name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEnablePrivateServiceConnect

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

Only one of the fields, network or enable_private_service_connect, can be set.

Returns
TypeDescription
bool

setEnablePrivateServiceConnect

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

Only one of the fields, network or enable_private_service_connect, can be set.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getPrivateServiceConnectConfig

Optional. Configuration for private service connect.

network and private_service_connect_config are mutually exclusive.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\PrivateServiceConnectConfig|null

hasPrivateServiceConnectConfig

clearPrivateServiceConnectConfig

setPrivateServiceConnectConfig

Optional. Configuration for private service connect.

network and private_service_connect_config are mutually exclusive.

Parameter
NameDescription
var Google\Cloud\AIPlatform\V1\PrivateServiceConnectConfig
Returns
TypeDescription
$this

getPublicEndpointEnabled

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

Returns
TypeDescription
bool

setPublicEndpointEnabled

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

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getPublicEndpointDomainName

Output only. If public_endpoint_enabled is true, this field will be populated with the domain name to use for this index endpoint.

Returns
TypeDescription
string

setPublicEndpointDomainName

Output only. If public_endpoint_enabled is true, this field will be populated with the domain name to use for this index endpoint.

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
Google\Cloud\AIPlatform\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
NameDescription
var Google\Cloud\AIPlatform\V1\EncryptionSpec
Returns
TypeDescription
$this