ProjectsLocationsEndpointsResource class

Constructors

ProjectsLocationsEndpointsResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
no setterinherited
operations ProjectsLocationsEndpointsOperationsResource
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

computeTokens(GoogleCloudAiplatformV1ComputeTokensRequest request, String endpoint, {String? $fields}) Future<GoogleCloudAiplatformV1ComputeTokensResponse>
Return a list of tokens based on the input text.
countTokens(GoogleCloudAiplatformV1CountTokensRequest request, String endpoint, {String? $fields}) Future<GoogleCloudAiplatformV1CountTokensResponse>
Perform a token counting.
create(GoogleCloudAiplatformV1Endpoint request, String parent, {String? endpointId, String? $fields}) Future<GoogleLongrunningOperation>
Creates an Endpoint.
delete(String name, {String? $fields}) Future<GoogleLongrunningOperation>
Deletes an Endpoint.
deployModel(GoogleCloudAiplatformV1DeployModelRequest request, String endpoint, {String? $fields}) Future<GoogleLongrunningOperation>
Deploys a Model into this Endpoint, creating a DeployedModel within it.
directPredict(GoogleCloudAiplatformV1DirectPredictRequest request, String endpoint, {String? $fields}) Future<GoogleCloudAiplatformV1DirectPredictResponse>
Perform an unary online prediction request to a gRPC model server for Vertex first-party products and frameworks.
directRawPredict(GoogleCloudAiplatformV1DirectRawPredictRequest request, String endpoint, {String? $fields}) Future<GoogleCloudAiplatformV1DirectRawPredictResponse>
Perform an unary online prediction request to a gRPC model server for custom containers.
explain(GoogleCloudAiplatformV1ExplainRequest request, String endpoint, {String? $fields}) Future<GoogleCloudAiplatformV1ExplainResponse>
Perform an online explanation.
generateContent(GoogleCloudAiplatformV1GenerateContentRequest request, String model, {String? $fields}) Future<GoogleCloudAiplatformV1GenerateContentResponse>
Generate content with multimodal inputs.
get(String name, {String? $fields}) Future<GoogleCloudAiplatformV1Endpoint>
Gets an Endpoint.
list(String parent, {String? filter, String? orderBy, int? pageSize, String? pageToken, String? readMask, String? $fields}) Future<GoogleCloudAiplatformV1ListEndpointsResponse>
Lists Endpoints in a Location.
mutateDeployedModel(GoogleCloudAiplatformV1MutateDeployedModelRequest request, String endpoint, {String? $fields}) Future<GoogleLongrunningOperation>
Updates an existing deployed model.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(GoogleCloudAiplatformV1Endpoint request, String name, {String? updateMask, String? $fields}) Future<GoogleCloudAiplatformV1Endpoint>
Updates an Endpoint.
predict(GoogleCloudAiplatformV1PredictRequest request, String endpoint, {String? $fields}) Future<GoogleCloudAiplatformV1PredictResponse>
Perform an online prediction.
rawPredict(GoogleCloudAiplatformV1RawPredictRequest request, String endpoint, {String? $fields}) Future<GoogleApiHttpBody>
Perform an online prediction with an arbitrary HTTP payload.
serverStreamingPredict(GoogleCloudAiplatformV1StreamingPredictRequest request, String endpoint, {String? $fields}) Future<GoogleCloudAiplatformV1StreamingPredictResponse>
Perform a server-side streaming online prediction request for Vertex LLM streaming.
streamGenerateContent(GoogleCloudAiplatformV1GenerateContentRequest request, String model, {String? $fields}) Future<GoogleCloudAiplatformV1GenerateContentResponse>
Generate content with multimodal inputs with streaming support.
streamRawPredict(GoogleCloudAiplatformV1StreamRawPredictRequest request, String endpoint, {String? $fields}) Future<GoogleApiHttpBody>
Perform a streaming online prediction with an arbitrary HTTP payload.
toString() String
A string representation of this object.
inherited
undeployModel(GoogleCloudAiplatformV1UndeployModelRequest request, String endpoint, {String? $fields}) Future<GoogleLongrunningOperation>
Undeploys a Model from an Endpoint, removing a DeployedModel from it, and freeing all resources it's using.

Operators

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