GetEndpointResult class
Result data returned by getEndpoint.
Constructors
-
GetEndpointResult({required String createTime, required List<
GoogleCloudAiplatformV1DeployedModelResponse> deployedModels, required String description, required String displayName, required bool enablePrivateServiceConnect, required GoogleCloudAiplatformV1EncryptionSpecResponse encryptionSpec, required String etag, required Map<String, String> labels, required String modelDeploymentMonitoringJob, required String name, required String network, required GoogleCloudAiplatformV1PredictRequestResponseLoggingConfigResponse predictRequestResponseLoggingConfig, required Map<String, String> trafficSplit, required String updateTime}) -
Creates a new GetEndpointResult.
createTimeTimestamp when this Endpoint was created.deployedModelsThe models deployed in this Endpoint. To add or remove DeployedModels use EndpointService.DeployModel and EndpointService.UndeployModel respectively.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.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.modelDeploymentMonitoringJobResource name of the Model Monitoring job associated with this Endpoint if monitoring is enabled by JobService.CreateModelDeploymentMonitoringJob. Format:projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}nameThe resource name of the Endpoint.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.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.updateTimeTimestamp when this Endpoint was last updated.const -
GetEndpointResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- createTime → String
-
Timestamp when this Endpoint was created.
final
-
deployedModels
→ List<
GoogleCloudAiplatformV1DeployedModelResponse> -
The models deployed in this Endpoint. To add or remove DeployedModels use EndpointService.DeployModel and EndpointService.UndeployModel respectively.
final
- description → String
-
The description of the Endpoint.
final
- displayName → 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 → 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 → GoogleCloudAiplatformV1EncryptionSpecResponse
-
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
- etag → 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
→ 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
- modelDeploymentMonitoringJob → String
-
Resource name of the Model Monitoring job associated with this Endpoint if monitoring is enabled by JobService.CreateModelDeploymentMonitoringJob. Format:
projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}final - name → String
-
The resource name of the Endpoint.
final
- network → 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 → GoogleCloudAiplatformV1PredictRequestResponseLoggingConfigResponse
-
Configures the request-response logging for online prediction.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
trafficSplit
→ 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
- updateTime → String
-
Timestamp when this Endpoint was last updated.
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