Interfaccia EndpointServiceGrpc.AsyncService (1.2.0)

public static interface EndpointServiceGrpc.AsyncService

Un servizio per la gestione degli endpoint di Vertex AI.

Metodi

createEndpoint(CreateEndpointRequest request, StreamObserver<Operation> responseObserver)

public default void createEndpoint(CreateEndpointRequest request, StreamObserver<Operation> responseObserver)

Crea un endpoint.

Parametri
Nome Description
request CreateEndpointRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteEndpoint(DeleteEndpointRequest request, StreamObserver<Operation> responseObserver)

public default void deleteEndpoint(DeleteEndpointRequest request, StreamObserver<Operation> responseObserver)

Elimina un endpoint.

Parametri
Nome Description
request DeleteEndpointRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deployModel(DeployModelRequest request, StreamObserver<Operation> responseObserver)

public default void deployModel(DeployModelRequest request, StreamObserver<Operation> responseObserver)

Esegue il deployment di un modello in questo endpoint, creando un modello implementato al suo interno.

Parametri
Nome Description
request DeployModelRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

getEndpoint(GetEndpointRequest request, StreamObserver<Endpoint> responseObserver)

public default void getEndpoint(GetEndpointRequest request, StreamObserver<Endpoint> responseObserver)

Recupera un endpoint.

Parametri
Nome Description
request GetEndpointRequest
responseObserver io.grpc.stub.StreamObserver<Endpoint>

listEndpoints(ListEndpointsRequest request, StreamObserver<ListEndpointsResponse> responseObserver)

public default void listEndpoints(ListEndpointsRequest request, StreamObserver<ListEndpointsResponse> responseObserver)

Elenca gli endpoint in una località.

Parametri
Nome Description
request ListEndpointsRequest
responseObserver io.grpc.stub.StreamObserver<ListEndpointsResponse>

mutateDeployedModel(MutateDeployedModelRequest request, StreamObserver<Operation> responseObserver)

public default void mutateDeployedModel(MutateDeployedModelRequest request, StreamObserver<Operation> responseObserver)

Aggiorna un modello esistente di cui è stato eseguito il deployment. I campi aggiornabili includono min_replica_count, max_replica_count, autoscaling_metric_specs, disable_container_logging (solo v1) e enable_container_logging (solo v1beta1).

Parametri
Nome Description
request MutateDeployedModelRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

undeployModel(UndeployModelRequest request, StreamObserver<Operation> responseObserver)

public default void undeployModel(UndeployModelRequest request, StreamObserver<Operation> responseObserver)

Annulla il deployment di un modello da un endpoint, rimuovendo un modello DeployedModel da quest'ultimo e liberando tutte le risorse che utilizza.

Parametri
Nome Description
request UndeployModelRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateEndpoint(UpdateEndpointRequest request, StreamObserver<Endpoint> responseObserver)

public default void updateEndpoint(UpdateEndpointRequest request, StreamObserver<Endpoint> responseObserver)

Aggiorna un endpoint.

Parametri
Nome Description
request UpdateEndpointRequest
responseObserver io.grpc.stub.StreamObserver<Endpoint>