EndpointService class final
A service for managing Vertex AI's Endpoints.
Constructors
- EndpointService({required Client client})
-
Creates a
EndpointServiceusingclientfor transport. - EndpointService.fromApiKey([String? apiKey])
-
Creates a
EndpointServicethat does authentication through an API key.factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cancelOperation(
CancelOperationRequest request) → Future< void> -
Provides the
Operationsservice functionality in this service. -
close(
) → void - Closes the client and cleans up any resources associated with it.
-
createEndpoint(
CreateEndpointRequest request) → Future< Operation< Endpoint, CreateEndpointOperationMetadata> > - Creates an Endpoint.
-
deleteEndpoint(
DeleteEndpointRequest request) → Future< Operation< Empty, DeleteOperationMetadata> > - Deletes an Endpoint.
-
deleteOperation(
DeleteOperationRequest request) → Future< void> -
Provides the
Operationsservice functionality in this service. -
deployModel(
DeployModelRequest request) → Future< Operation< DeployModelResponse, DeployModelOperationMetadata> > - Deploys a Model into this Endpoint, creating a DeployedModel within it.
-
fetchPublisherModelConfig(
FetchPublisherModelConfigRequest request) → Future< PublisherModelConfig> - Fetches the configs of publisher models.
-
getEndpoint(
GetEndpointRequest request) → Future< Endpoint> - Gets an Endpoint.
-
getIamPolicy(
GetIamPolicyRequest request) → Future< Policy> - Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
-
getLocation(
GetLocationRequest request) → Future< Location> - Gets information about a location.
-
getOperation<
T extends ProtoMessage, S extends ProtoMessage> (Operation< T, S> request) → Future<Operation< T, S> > -
Provides the
Operationsservice functionality in this service. -
listEndpoints(
ListEndpointsRequest request) → Future< ListEndpointsResponse> - Lists Endpoints in a Location.
-
listLocations(
ListLocationsRequest request) → Future< ListLocationsResponse> - Lists information about the supported locations for this service.
-
listOperations(
ListOperationsRequest request) → Future< ListOperationsResponse> -
Provides the
Operationsservice functionality in this service. -
mutateDeployedModel(
MutateDeployedModelRequest request) → Future< Operation< MutateDeployedModelResponse, MutateDeployedModelOperationMetadata> > -
Updates an existing deployed model. Updatable fields include
min_replica_count,max_replica_count,required_replica_count,autoscaling_metric_specs,disable_container_logging(v1 only), andenable_container_logging(v1beta1 only). -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setIamPolicy(
SetIamPolicyRequest request) → Future< Policy> - Sets the access control policy on the specified resource. Replaces any existing policy.
-
setPublisherModelConfig(
SetPublisherModelConfigRequest request) → Future< Operation< PublisherModelConfig, SetPublisherModelConfigOperationMetadata> > - Sets (creates or updates) configs of publisher models. For example, sets the request/response logging config.
-
testIamPermissions(
TestIamPermissionsRequest request) → Future< TestIamPermissionsResponse> -
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of
permissions, not a
NOT_FOUNDerror. -
toString(
) → String -
A string representation of this object.
inherited
-
undeployModel(
UndeployModelRequest request) → Future< Operation< UndeployModelResponse, UndeployModelOperationMetadata> > - Undeploys a Model from an Endpoint, removing a DeployedModel from it, and freeing all resources it's using.
-
updateEndpoint(
UpdateEndpointRequest request) → Future< Endpoint> - Updates an Endpoint.
-
updateEndpointLongRunning(
UpdateEndpointLongRunningRequest request) → Future< Operation< Endpoint, UpdateEndpointOperationMetadata> > - Updates an Endpoint with a long running operation.
-
waitOperation(
WaitOperationRequest request) → Future< Operation< ProtoMessage, ProtoMessage> > -
Provides the
Operationsservice functionality in this service.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited