You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
2.9 KiB
68 lines
2.9 KiB
type: google.api.Service
|
|
config_version: 3
|
|
name: translate.googleapis.com
|
|
title: Cloud Translation API
|
|
|
|
apis:
|
|
- name: google.cloud.translation.v3beta1.TranslationService
|
|
|
|
documentation:
|
|
summary: Integrates text translation into your website or application.
|
|
|
|
http:
|
|
rules:
|
|
- selector: google.iam.v1.IAMPolicy.GetIamPolicy
|
|
get: '/v3beta1/{resource=projects/*/locations/*}:getIamPolicy'
|
|
additional_bindings:
|
|
- get: '/v3beta1/{resource=projects/*/locations/*/glossaries/*}:getIamPolicy'
|
|
- get: '/v3beta1/{resource=projects/*/locations/*/models/*}:getIamPolicy'
|
|
- get: '/v3beta1/{resource=projects/*/locations/*/models/general/*}:getIamPolicy'
|
|
- get: '/v3beta1/{resource=projects/*/locations/*/models/language-detection/*}:getIamPolicy'
|
|
- selector: google.iam.v1.IAMPolicy.SetIamPolicy
|
|
post: '/v3beta1/{resource=projects/*/locations/*}:setIamPolicy'
|
|
body: '*'
|
|
additional_bindings:
|
|
- post: '/v3beta1/{resource=projects/*/locations/*/glossaries/*}:setIamPolicy'
|
|
body: '*'
|
|
- post: '/v3beta1/{resource=projects/*/locations/*/models/*}:setIamPolicy'
|
|
body: '*'
|
|
- post: '/v3beta1/{resource=projects/*/locations/*/models/general/*}:setIamPolicy'
|
|
body: '*'
|
|
- post: '/v3beta1/{resource=projects/*/locations/*/models/language-detection/*}:setIamPolicy'
|
|
body: '*'
|
|
- selector: google.iam.v1.IAMPolicy.TestIamPermissions
|
|
post: '/v3beta1/{resource=projects/*/locations/*/**}:testIamPermissions'
|
|
body: '*'
|
|
- selector: google.longrunning.Operations.CancelOperation
|
|
post: '/v3beta1/{name=projects/*/locations/*/operations/*}:cancel'
|
|
body: '*'
|
|
- selector: google.longrunning.Operations.DeleteOperation
|
|
delete: '/v3beta1/{name=projects/*/locations/*/operations/*}'
|
|
- selector: google.longrunning.Operations.GetOperation
|
|
get: '/v3beta1/{name=projects/*/locations/*/operations/*}'
|
|
- selector: google.longrunning.Operations.ListOperations
|
|
get: '/v3beta1/{name=projects/*/locations/*/operations}'
|
|
- selector: google.longrunning.Operations.WaitOperation
|
|
post: '/v3beta1/{name=projects/*/locations/*/operations/*}:wait'
|
|
body: '*'
|
|
|
|
authentication:
|
|
rules:
|
|
- selector: 'google.cloud.translation.v3beta1.TranslationService.*'
|
|
oauth:
|
|
canonical_scopes: |-
|
|
https://www.googleapis.com/auth/cloud-platform,
|
|
https://www.googleapis.com/auth/cloud-translation
|
|
- selector: google.cloud.translation.v3beta1.TranslationService.BatchTranslateText
|
|
oauth:
|
|
canonical_scopes: |-
|
|
https://www.googleapis.com/auth/cloud-platform
|
|
- selector: google.cloud.translation.v3beta1.TranslationService.CreateGlossary
|
|
oauth:
|
|
canonical_scopes: |-
|
|
https://www.googleapis.com/auth/cloud-platform
|
|
- selector: 'google.longrunning.Operations.*'
|
|
oauth:
|
|
canonical_scopes: |-
|
|
https://www.googleapis.com/auth/cloud-platform,
|
|
https://www.googleapis.com/auth/cloud-translation
|
|
|