2023-11-11
▼ ▲ aiplatform.projects.locations.publishers.models.computeTokens
Scopes : https://www.googleapis.com/auth/cloud-platform
Parameters :
endpoint
Description : Required. The name of the Endpoint requested to get lists of tokens and token ids.
Required : Yes
Type : string
Pattern : ^projects/[^/]+/locations/[^/]+/publishers/[^/]+/models/[^/]+$
Location : path
Path : v1beta1/{+endpoint}:computeTokens
Description : Return a list of tokens based on the input text.
Flat Path : v1beta1/projects/{projectsId}/locations/{locationsId}/publishers/{publishersId}/models/{modelsId}:computeTokens
Parameter Order : endpoint
HTTP Method : POST
▼ ▲ aiplatform.projects.locations.endpoints.computeTokens
Pattern : ^projects/[^/]+/locations/[^/]+/endpoints/[^/]+$
Flat Path : v1beta1/projects/{projectsId}/locations/{locationsId}/endpoints/{endpointsId}:computeTokens