ProjectsLocationsEndpointsResource class

Constructors

ProjectsLocationsEndpointsResource.new(ApiRequester client)

Properties

chat ProjectsLocationsEndpointsChatResource
no setter
deployedModels ProjectsLocationsEndpointsDeployedModelsResource
no setter
hashCode int
The hash code for this object.
no setterinherited
invoke ProjectsLocationsEndpointsInvokeResource
no setter
openapi ProjectsLocationsEndpointsOpenapiResource
no setter
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.
fetchPredictOperation(GoogleCloudAiplatformV1FetchPredictOperationRequest request, String endpoint, {String? $fields}) Future<GoogleLongrunningOperation>
Fetch an asynchronous online prediction operation.
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? gdcZone, 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.
predictLongRunning(GoogleCloudAiplatformV1PredictLongRunningRequest request, String endpoint, {String? $fields}) Future<GoogleLongrunningOperation>
request - The metadata request object.
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.
update(GoogleCloudAiplatformV1UpdateEndpointLongRunningRequest request, String name, {String? $fields}) Future<GoogleLongrunningOperation>
Updates an Endpoint with a long running operation.

Operators

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