Cloud Translation API: projects. Integrates text translation into your website or application. See: https://cloud.google.com/translate/docs/quickstartsapi/reference/rest/v3/projects
Cloud Translation API: projects. Integrates text translation into your website or application. See: https://cloud.google.com/translate/docs/quickstartsapi/reference/rest/v3/projects
(detectLanguage$ auth args body)
https://cloud.google.com/translate/docs/quickstartsapi/reference/rest/v3/projects/detectLanguage
Required parameters: parent
Optional parameters: none
Body:
{:content string, :model string, :mimeType string, :labels {}}
Detects the language of text within a request.
https://cloud.google.com/translate/docs/quickstartsapi/reference/rest/v3/projects/detectLanguage Required parameters: parent Optional parameters: none Body: {:content string, :model string, :mimeType string, :labels {}} Detects the language of text within a request.
(getSupportedLanguages$ auth args)
Required parameters: parent
Optional parameters: model, displayLanguageCode Returns a list of supported languages for translation.
https://cloud.google.com/translate/docs/quickstartsapi/reference/rest/v3/projects/getSupportedLanguages Required parameters: parent Optional parameters: model, displayLanguageCode Returns a list of supported languages for translation.
(locations-batchTranslateText$ auth args body)
Required parameters: parent
Optional parameters: none
Body:
{:outputConfig {:gcsDestination GcsDestination}, :sourceLanguageCode string, :inputConfigs [{:gcsSource GcsSource, :mimeType string}], :glossaries {}, :models {}, :labels {}, :targetLanguageCodes [string]}
Translates a large volume of text in asynchronous batch mode. This function provides real-time output as the inputs are being processed. If caller cancels a request, the partial results (for an input file, it's all or nothing) may still be available on the specified output location.
This call returns immediately and you can use google.longrunning.Operation.name to poll the status of the call.
https://cloud.google.com/translate/docs/quickstartsapi/reference/rest/v3/projects/locations/batchTranslateText Required parameters: parent Optional parameters: none Body: {:outputConfig {:gcsDestination GcsDestination}, :sourceLanguageCode string, :inputConfigs [{:gcsSource GcsSource, :mimeType string}], :glossaries {}, :models {}, :labels {}, :targetLanguageCodes [string]} Translates a large volume of text in asynchronous batch mode. This function provides real-time output as the inputs are being processed. If caller cancels a request, the partial results (for an input file, it's all or nothing) may still be available on the specified output location. This call returns immediately and you can use google.longrunning.Operation.name to poll the status of the call.
(locations-detectLanguage$ auth args body)
Required parameters: parent
Optional parameters: none
Body:
{:content string, :model string, :mimeType string, :labels {}}
Detects the language of text within a request.
https://cloud.google.com/translate/docs/quickstartsapi/reference/rest/v3/projects/locations/detectLanguage Required parameters: parent Optional parameters: none Body: {:content string, :model string, :mimeType string, :labels {}} Detects the language of text within a request.
(locations-get$ auth args)
https://cloud.google.com/translate/docs/quickstartsapi/reference/rest/v3/projects/locations/get
Required parameters: name
Optional parameters: none Gets information about a location.
https://cloud.google.com/translate/docs/quickstartsapi/reference/rest/v3/projects/locations/get Required parameters: name Optional parameters: none Gets information about a location.
(locations-getSupportedLanguages$ auth args)
Required parameters: parent
Optional parameters: displayLanguageCode, model Returns a list of supported languages for translation.
https://cloud.google.com/translate/docs/quickstartsapi/reference/rest/v3/projects/locations/getSupportedLanguages Required parameters: parent Optional parameters: displayLanguageCode, model Returns a list of supported languages for translation.
(locations-glossaries-create$ auth args body)
Required parameters: parent
Optional parameters: none
Body:
{:endTime string, :entryCount integer, :inputConfig {:gcsSource GcsSource}, :submitTime string, :languagePair {:sourceLanguageCode string, :targetLanguageCode string}, :name string, :languageCodesSet {:languageCodes [string]}}
Creates a glossary and returns the long-running operation. Returns NOT_FOUND, if the project doesn't exist.
https://cloud.google.com/translate/docs/quickstartsapi/reference/rest/v3/projects/locations/glossaries/create Required parameters: parent Optional parameters: none Body: {:endTime string, :entryCount integer, :inputConfig {:gcsSource GcsSource}, :submitTime string, :languagePair {:sourceLanguageCode string, :targetLanguageCode string}, :name string, :languageCodesSet {:languageCodes [string]}} Creates a glossary and returns the long-running operation. Returns NOT_FOUND, if the project doesn't exist.
(locations-glossaries-delete$ auth args)
Required parameters: name
Optional parameters: none Deletes a glossary, or cancels glossary construction if the glossary isn't created yet. Returns NOT_FOUND, if the glossary doesn't exist.
https://cloud.google.com/translate/docs/quickstartsapi/reference/rest/v3/projects/locations/glossaries/delete Required parameters: name Optional parameters: none Deletes a glossary, or cancels glossary construction if the glossary isn't created yet. Returns NOT_FOUND, if the glossary doesn't exist.
(locations-glossaries-get$ auth args)
Required parameters: name
Optional parameters: none Gets a glossary. Returns NOT_FOUND, if the glossary doesn't exist.
https://cloud.google.com/translate/docs/quickstartsapi/reference/rest/v3/projects/locations/glossaries/get Required parameters: name Optional parameters: none Gets a glossary. Returns NOT_FOUND, if the glossary doesn't exist.
(locations-glossaries-list$ auth args)
Required parameters: parent
Optional parameters: filter, pageToken, pageSize Lists glossaries in a project. Returns NOT_FOUND, if the project doesn't exist.
https://cloud.google.com/translate/docs/quickstartsapi/reference/rest/v3/projects/locations/glossaries/list Required parameters: parent Optional parameters: filter, pageToken, pageSize Lists glossaries in a project. Returns NOT_FOUND, if the project doesn't exist.
(locations-list$ auth args)
https://cloud.google.com/translate/docs/quickstartsapi/reference/rest/v3/projects/locations/list
Required parameters: name
Optional parameters: pageToken, pageSize, filter Lists information about the supported locations for this service.
https://cloud.google.com/translate/docs/quickstartsapi/reference/rest/v3/projects/locations/list Required parameters: name Optional parameters: pageToken, pageSize, filter Lists information about the supported locations for this service.
(locations-operations-cancel$ auth args body)
Required parameters: name
Optional parameters: none
Body:
{}
Starts asynchronous cancellation on a long-running operation. The server
makes a best effort to cancel the operation, but success is not
guaranteed. If the server doesn't support this method, it returns
google.rpc.Code.UNIMPLEMENTED
. Clients can use
Operations.GetOperation or
other methods to check whether the cancellation succeeded or whether the
operation completed despite cancellation. On successful cancellation,
the operation is not deleted; instead, it becomes an operation with
an Operation.error value with a google.rpc.Status.code of 1,
corresponding to Code.CANCELLED
.
https://cloud.google.com/translate/docs/quickstartsapi/reference/rest/v3/projects/locations/operations/cancel Required parameters: name Optional parameters: none Body: {} Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
(locations-operations-delete$ auth args)
Required parameters: name
Optional parameters: none
Deletes a long-running operation. This method indicates that the client is
no longer interested in the operation result. It does not cancel the
operation. If the server doesn't support this method, it returns
google.rpc.Code.UNIMPLEMENTED
.
https://cloud.google.com/translate/docs/quickstartsapi/reference/rest/v3/projects/locations/operations/delete Required parameters: name Optional parameters: none Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
(locations-operations-get$ auth args)
Required parameters: name
Optional parameters: none Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
https://cloud.google.com/translate/docs/quickstartsapi/reference/rest/v3/projects/locations/operations/get Required parameters: name Optional parameters: none Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
(locations-operations-list$ auth args)
Required parameters: name
Optional parameters: pageToken, pageSize, filter
Lists operations that match the specified filter in the request. If the
server doesn't support this method, it returns UNIMPLEMENTED
.
NOTE: the name
binding allows API services to override the binding
to use different resource name schemes, such as users/*/operations
. To
override the binding, API services can add a binding such as
"/v1/{name=users/*}/operations"
to their service configuration.
For backwards compatibility, the default name includes the operations
collection id, however overriding users must ensure the name binding
is the parent resource, without the operations collection id.
https://cloud.google.com/translate/docs/quickstartsapi/reference/rest/v3/projects/locations/operations/list Required parameters: name Optional parameters: pageToken, pageSize, filter Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.
(locations-operations-wait$ auth args body)
Required parameters: name
Optional parameters: none
Body:
{:timeout string}
Waits for the specified long-running operation until it is done or reaches
at most a specified timeout, returning the latest state. If the operation
is already done, the latest state is immediately returned. If the timeout
specified is greater than the default HTTP/RPC timeout, the HTTP/RPC
timeout is used. If the server does not support this method, it returns
google.rpc.Code.UNIMPLEMENTED
.
Note that this method is on a best-effort basis. It may return the latest
state before the specified timeout (including immediately), meaning even an
immediate response is no guarantee that the operation is done.
https://cloud.google.com/translate/docs/quickstartsapi/reference/rest/v3/projects/locations/operations/wait Required parameters: name Optional parameters: none Body: {:timeout string} Waits for the specified long-running operation until it is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done.
(locations-translateText$ auth args body)
Required parameters: parent
Optional parameters: none
Body:
{:glossaryConfig {:ignoreCase boolean, :glossary string}, :labels {}, :targetLanguageCode string, :sourceLanguageCode string, :model string, :contents [string], :mimeType string}
Translates input text and returns translated text.
https://cloud.google.com/translate/docs/quickstartsapi/reference/rest/v3/projects/locations/translateText Required parameters: parent Optional parameters: none Body: {:glossaryConfig {:ignoreCase boolean, :glossary string}, :labels {}, :targetLanguageCode string, :sourceLanguageCode string, :model string, :contents [string], :mimeType string} Translates input text and returns translated text.
(translateText$ auth args body)
https://cloud.google.com/translate/docs/quickstartsapi/reference/rest/v3/projects/translateText
Required parameters: parent
Optional parameters: none
Body:
{:glossaryConfig {:ignoreCase boolean, :glossary string}, :labels {}, :targetLanguageCode string, :sourceLanguageCode string, :model string, :contents [string], :mimeType string}
Translates input text and returns translated text.
https://cloud.google.com/translate/docs/quickstartsapi/reference/rest/v3/projects/translateText Required parameters: parent Optional parameters: none Body: {:glossaryConfig {:ignoreCase boolean, :glossary string}, :labels {}, :targetLanguageCode string, :sourceLanguageCode string, :model string, :contents [string], :mimeType string} Translates input text and returns translated text.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close