EndpointArgs class

The set of arguments for Endpoint. The set of arguments for Endpoint.

Constructors

EndpointArgs({Input<String>? description, required Input<String> displayName, Input<bool>? enablePrivateServiceConnect, Input<GoogleCloudAiplatformV1EncryptionSpec>? encryptionSpec, Input<String>? endpointId, Input<String>? etag, Input<Map<String, String>>? labels, Input<String>? location, Input<String>? network, Input<GoogleCloudAiplatformV1PredictRequestResponseLoggingConfig>? predictRequestResponseLoggingConfig, Input<String>? project, Input<Map<String, String>>? trafficSplit})
Creates a new EndpointArgs. description The description of the Endpoint. displayName The display name of the Endpoint. The name can be up to 128 characters long and can consist of any UTF-8 characters. enablePrivateServiceConnect Deprecated: If true, expose the Endpoint via private service connect. Only one of the fields, network or enable_private_service_connect, can be set. encryptionSpec 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. endpointId Immutable. The ID to use for endpoint, which will become the final component of the endpoint resource name. If not provided, Vertex AI will generate a value for this ID. If the first character is a letter, this value may be up to 63 characters, and valid characters are [a-z0-9-]. The last character must be a letter or number. If the first character is a number, this value may be up to 9 characters, and valid characters are [0-9] with no leading zeros. When using HTTP/JSON, this field is populated based on a query string argument, such as ?endpoint_id=12345. This is the fallback for fields that are not included in either the URI or the body. etag Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens. labels 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. location Optional. network 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 or 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. predictRequestResponseLoggingConfig Configures the request-response logging for online prediction. project Optional. trafficSplit 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.
const
EndpointArgs.fromMap(Map<String, dynamic> map)
factory

Properties

description → Input<String>?
The description of the Endpoint.
final
displayName → Input<String>
The display name of the Endpoint. The name can be up to 128 characters long and can consist of any UTF-8 characters.
final
enablePrivateServiceConnect → Input<bool>?
Deprecated: If true, expose the Endpoint via private service connect. Only one of the fields, network or enable_private_service_connect, can be set.
final
encryptionSpec → Input<GoogleCloudAiplatformV1EncryptionSpec>?
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.
final
endpointId → Input<String>?
Immutable. The ID to use for endpoint, which will become the final component of the endpoint resource name. If not provided, Vertex AI will generate a value for this ID. If the first character is a letter, this value may be up to 63 characters, and valid characters are [a-z0-9-]. The last character must be a letter or number. If the first character is a number, this value may be up to 9 characters, and valid characters are [0-9] with no leading zeros. When using HTTP/JSON, this field is populated based on a query string argument, such as ?endpoint_id=12345. This is the fallback for fields that are not included in either the URI or the body.
final
etag → Input<String>?
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
final
hashCode → int
The hash code for this object.
no setterinherited
labels → Input<Map<String, String>>?
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.
final
location → Input<String>?
final
network → Input<String>?
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 or 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.
final
predictRequestResponseLoggingConfig → Input<GoogleCloudAiplatformV1PredictRequestResponseLoggingConfig>?
Configures the request-response logging for online prediction.
final
project → Input<String>?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
trafficSplit → Input<Map<String, String>>?
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.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited