Cloud AI Platform v1 API - Class Endpoint (2.12.0)

public sealed class Endpoint : IMessage<Endpoint>, IEquatable<Endpoint>, IDeepCloneable<Endpoint>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1 API class Endpoint.

Models are deployed into it, and afterwards Endpoint is called to obtain predictions and explanations.

Inheritance

object > Endpoint

Namespace

GoogleCloudGoogle.Cloud.AIPlatformV1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

Endpoint()

public Endpoint()

Endpoint(Endpoint)

public Endpoint(Endpoint other)
Parameter
NameDescription
otherEndpoint

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Timestamp when this Endpoint was created.

Property Value
TypeDescription
Timestamp

DeployedModels

public RepeatedField<DeployedModel> DeployedModels { get; }

Output only. The models deployed in this Endpoint. To add or remove DeployedModels use [EndpointService.DeployModel][google.cloud.aiplatform.v1.EndpointService.DeployModel] and [EndpointService.UndeployModel][google.cloud.aiplatform.v1.EndpointService.UndeployModel] respectively.

Property Value
TypeDescription
RepeatedFieldDeployedModel

Description

public string Description { get; set; }

The description of the Endpoint.

Property Value
TypeDescription
string

DisplayName

public string DisplayName { get; set; }

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

Property Value
TypeDescription
string

EnablePrivateServiceConnect

[Obsolete]
public bool EnablePrivateServiceConnect { get; set; }

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

Only one of the fields, [network][google.cloud.aiplatform.v1.Endpoint.network] or [enable_private_service_connect][google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect], can be set.

Property Value
TypeDescription
bool

EncryptionSpec

public EncryptionSpec EncryptionSpec { get; set; }

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

Property Value
TypeDescription
EncryptionSpec

EndpointName

public EndpointName EndpointName { get; set; }

EndpointName-typed view over the Name resource name property.

Property Value
TypeDescription
EndpointName

Etag

public string Etag { get; set; }

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

Property Value
TypeDescription
string

Labels

public MapField<string, string> Labels { get; }

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

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.

Property Value
TypeDescription
MapFieldstringstring

ModelDeploymentMonitoringJob

public string ModelDeploymentMonitoringJob { get; set; }

Output only. Resource name of the Model Monitoring job associated with this Endpoint if monitoring is enabled by [CreateModelDeploymentMonitoringJob][]. Format: projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}

Property Value
TypeDescription
string

ModelDeploymentMonitoringJobAsModelDeploymentMonitoringJobName

public ModelDeploymentMonitoringJobName ModelDeploymentMonitoringJobAsModelDeploymentMonitoringJobName { get; set; }

ModelDeploymentMonitoringJobName-typed view over the ModelDeploymentMonitoringJob resource name property.

Property Value
TypeDescription
ModelDeploymentMonitoringJobName

Name

public string Name { get; set; }

Output only. The resource name of the Endpoint.

Property Value
TypeDescription
string

Network

public string Network { get; set; }

Optional. The full name of the Google Compute Engine network to which the Endpoint should be peered.

Private services access must already be configured for the network. If left unspecified, the Endpoint is not peered with any network.

Only one of the fields, [network][google.cloud.aiplatform.v1.Endpoint.network] or [enable_private_service_connect][google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect], can be set.

Format: projects/{project}/global/networks/{network}. Where {project} is a project number, as in 12345, and {network} is network name.

Property Value
TypeDescription
string

NetworkAsNetworkName

public NetworkName NetworkAsNetworkName { get; set; }

NetworkName-typed view over the Network resource name property.

Property Value
TypeDescription
NetworkName

PredictRequestResponseLoggingConfig

public PredictRequestResponseLoggingConfig PredictRequestResponseLoggingConfig { get; set; }

Configures the request-response logging for online prediction.

Property Value
TypeDescription
PredictRequestResponseLoggingConfig

TrafficSplit

public MapField<string, int> TrafficSplit { get; }

A map from a DeployedModel's ID to the percentage of this Endpoint's traffic that should be forwarded to that DeployedModel.

If a DeployedModel's ID is not listed in this map, then it receives no traffic.

The traffic percentage values must add up to 100, or map must be empty if the Endpoint is to not accept any traffic at a moment.

Property Value
TypeDescription
MapFieldstringint

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. Timestamp when this Endpoint was last updated.

Property Value
TypeDescription
Timestamp