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< ? labels, Input<String, String> >String> ? location, Input<String> ? network, Input<GoogleCloudAiplatformV1PredictRequestResponseLoggingConfig> ? predictRequestResponseLoggingConfig, Input<String> ? project, Input<Map< ? trafficSplit})String, String> > -
Creates a new EndpointArgs.
descriptionThe description of the Endpoint.displayNameThe display name of the Endpoint. The name can be up to 128 characters long and can consist of any UTF-8 characters.enablePrivateServiceConnectDeprecated: If true, expose the Endpoint via private service connect. Only one of the fields, network or enable_private_service_connect, can be set.encryptionSpecCustomer-managed encryption key spec for an Endpoint. If set, this Endpoint and all sub-resources of this Endpoint will be secured by this key.endpointIdImmutable. 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.etagUsed to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.labelsThe 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.locationOptional.networkOptional. 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 in12345, and{network}is network name.predictRequestResponseLoggingConfigConfigures the request-response logging for online prediction.projectOptional.trafficSplitA 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 in12345, 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