Liking cljdoc? Tell your friends :D

happygapi.translate.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

Cloud Translation API: projects.
Integrates text translation into your website or application.
See: https://cloud.google.com/translate/docs/quickstartsapi/reference/rest/v3/projects
raw docstring

detectLanguage$clj

(detectLanguage$ auth parameters body)

https://cloud.google.com/translate/docs/quickstartsapi/reference/rest/v3/projects/detectLanguage

Required parameters: parent

Optional parameters: none

Body:

{:mimeType string, :model string, :labels {}, :content string}

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: 

{:mimeType string, :model string, :labels {}, :content string}

Detects the language of text within a request.
sourceraw docstring

getSupportedLanguages$clj

(getSupportedLanguages$ auth parameters)

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.

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.
sourceraw docstring

locations-batchTranslateText$clj

(locations-batchTranslateText$ auth parameters body)

https://cloud.google.com/translate/docs/quickstartsapi/reference/rest/v3/projects/locations/batchTranslateText

Required parameters: parent

Optional parameters: none

Body:

{:outputConfig {:gcsDestination GcsDestination}, :models {}, :labels {}, :glossaries {}, :targetLanguageCodes [string], :sourceLanguageCode string, :inputConfigs [{:mimeType string, :gcsSource GcsSource}]}

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},
 :models {},
 :labels {},
 :glossaries {},
 :targetLanguageCodes [string],
 :sourceLanguageCode string,
 :inputConfigs [{:mimeType string, :gcsSource GcsSource}]}

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.
sourceraw docstring

locations-detectLanguage$clj

(locations-detectLanguage$ auth parameters body)

https://cloud.google.com/translate/docs/quickstartsapi/reference/rest/v3/projects/locations/detectLanguage

Required parameters: parent

Optional parameters: none

Body:

{:mimeType string, :model string, :labels {}, :content string}

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: 

{:mimeType string, :model string, :labels {}, :content string}

Detects the language of text within a request.
sourceraw docstring

locations-get$clj

(locations-get$ auth parameters)

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.
sourceraw docstring

locations-getSupportedLanguages$clj

(locations-getSupportedLanguages$ auth parameters)

https://cloud.google.com/translate/docs/quickstartsapi/reference/rest/v3/projects/locations/getSupportedLanguages

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/locations/getSupportedLanguages

Required parameters: parent

Optional parameters: model, displayLanguageCode

Returns a list of supported languages for translation.
sourceraw docstring

locations-glossaries-create$clj

(locations-glossaries-create$ auth parameters body)

https://cloud.google.com/translate/docs/quickstartsapi/reference/rest/v3/projects/locations/glossaries/create

Required parameters: parent

Optional parameters: none

Body:

{:languageCodesSet {:languageCodes [string]}, :name string, :inputConfig {:gcsSource GcsSource}, :languagePair {:targetLanguageCode string, :sourceLanguageCode string}, :endTime string, :entryCount integer, :submitTime 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: 

{:languageCodesSet {:languageCodes [string]},
 :name string,
 :inputConfig {:gcsSource GcsSource},
 :languagePair {:targetLanguageCode string,
                :sourceLanguageCode string},
 :endTime string,
 :entryCount integer,
 :submitTime string}

Creates a glossary and returns the long-running operation. Returns NOT_FOUND, if the project doesn't exist.
sourceraw docstring

locations-glossaries-delete$clj

(locations-glossaries-delete$ auth parameters)

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.

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.
sourceraw docstring

locations-glossaries-get$clj

(locations-glossaries-get$ auth parameters)

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.

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.
sourceraw docstring

locations-glossaries-list$clj

(locations-glossaries-list$ auth parameters)

https://cloud.google.com/translate/docs/quickstartsapi/reference/rest/v3/projects/locations/glossaries/list

Required parameters: parent

Optional parameters: pageSize, pageToken, filter

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: pageSize, pageToken, filter

Lists glossaries in a project. Returns NOT_FOUND, if the project doesn't exist.
sourceraw docstring

locations-list$clj

(locations-list$ auth parameters)

https://cloud.google.com/translate/docs/quickstartsapi/reference/rest/v3/projects/locations/list

Required parameters: name

Optional parameters: pageToken, filter, pageSize

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, filter, pageSize

Lists information about the supported locations for this service.
sourceraw docstring

locations-operations-cancel$clj

(locations-operations-cancel$ auth parameters body)

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.

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`.
sourceraw docstring

locations-operations-delete$clj

(locations-operations-delete$ auth parameters)

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.

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`.
sourceraw docstring

locations-operations-get$clj

(locations-operations-get$ auth parameters)

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.

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.
sourceraw docstring

locations-operations-list$clj

(locations-operations-list$ auth parameters)

https://cloud.google.com/translate/docs/quickstartsapi/reference/rest/v3/projects/locations/operations/list

Required parameters: name

Optional parameters: filter, pageSize, pageToken

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: filter, pageSize, pageToken

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.
sourceraw docstring

locations-operations-wait$clj

(locations-operations-wait$ auth parameters body)

https://cloud.google.com/translate/docs/quickstartsapi/reference/rest/v3/projects/locations/operations/wait

Required parameters: name

Optional parameters: none

Body:

{:timeout string}

Waits until the specified long-running operation 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 until the specified long-running operation 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.
sourceraw docstring

locations-translateText$clj

(locations-translateText$ auth parameters body)

https://cloud.google.com/translate/docs/quickstartsapi/reference/rest/v3/projects/locations/translateText

Required parameters: parent

Optional parameters: none

Body:

{:targetLanguageCode string, :labels {}, :mimeType string, :sourceLanguageCode string, :glossaryConfig {:glossary string, :ignoreCase boolean}, :model string, :contents [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: 

{:targetLanguageCode string,
 :labels {},
 :mimeType string,
 :sourceLanguageCode string,
 :glossaryConfig {:glossary string, :ignoreCase boolean},
 :model string,
 :contents [string]}

Translates input text and returns translated text.
sourceraw docstring

translateText$clj

(translateText$ auth parameters body)

https://cloud.google.com/translate/docs/quickstartsapi/reference/rest/v3/projects/translateText

Required parameters: parent

Optional parameters: none

Body:

{:targetLanguageCode string, :labels {}, :mimeType string, :sourceLanguageCode string, :glossaryConfig {:glossary string, :ignoreCase boolean}, :model string, :contents [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: 

{:targetLanguageCode string,
 :labels {},
 :mimeType string,
 :sourceLanguageCode string,
 :glossaryConfig {:glossary string, :ignoreCase boolean},
 :model string,
 :contents [string]}

Translates input text and returns translated text.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close