Skip to content

Commit 728080d

Browse files
Google APIscopybara-github
authored andcommitted
docs: minor formatting
feat: add google.iam.v1.IAMPolicy API feat: add google.cloud.location.Locations API feat: add google.longrunning.Operations API PiperOrigin-RevId: 774751840
1 parent 9425777 commit 728080d

3 files changed

Lines changed: 6 additions & 24 deletions

File tree

google/cloud/translate/v3beta1/BUILD.bazel

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,9 @@ py_gapic_library(
176176
rest_numeric_enums = True,
177177
service_yaml = "translate_v3beta1.yaml",
178178
transport = "grpc+rest",
179+
deps = [
180+
"//google/iam/v1:iam_policy_py_proto",
181+
],
179182
)
180183

181184
py_test(

google/cloud/translate/v3beta1/translate_v3beta1.yaml

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ name: translate.googleapis.com
44
title: Cloud Translation API
55

66
apis:
7+
- name: google.cloud.location.Locations
78
- name: google.cloud.translation.v3beta1.TranslationService
9+
- name: google.iam.v1.IAMPolicy
10+
- name: google.longrunning.Operations
811

912
documentation:
1013
summary: Integrates text translation into your website or application.
@@ -15,17 +18,6 @@ documentation:
1518
- selector: google.cloud.location.Locations.ListLocations
1619
description: Lists information about the supported locations for this service.
1720

18-
backend:
19-
rules:
20-
- selector: google.cloud.location.Locations.GetLocation
21-
deadline: 30.0
22-
- selector: google.cloud.location.Locations.ListLocations
23-
deadline: 30.0
24-
- selector: 'google.longrunning.Operations.*'
25-
deadline: 60.0
26-
- selector: google.longrunning.Operations.WaitOperation
27-
deadline: 120.0
28-
2921
http:
3022
rules:
3123
- selector: google.cloud.location.Locations.GetLocation
@@ -62,18 +54,6 @@ authentication:
6254
canonical_scopes: |-
6355
https://www.googleapis.com/auth/cloud-platform,
6456
https://www.googleapis.com/auth/cloud-translation
65-
- selector: google.cloud.translation.v3beta1.TranslationService.BatchTranslateDocument
66-
oauth:
67-
canonical_scopes: |-
68-
https://www.googleapis.com/auth/cloud-platform
69-
- selector: google.cloud.translation.v3beta1.TranslationService.BatchTranslateText
70-
oauth:
71-
canonical_scopes: |-
72-
https://www.googleapis.com/auth/cloud-platform
73-
- selector: google.cloud.translation.v3beta1.TranslationService.CreateGlossary
74-
oauth:
75-
canonical_scopes: |-
76-
https://www.googleapis.com/auth/cloud-platform
7757
- selector: 'google.longrunning.Operations.*'
7858
oauth:
7959
canonical_scopes: |-

google/cloud/translate/v3beta1/translation_service.proto

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@ service TranslationService {
175175
}
176176
}
177177

178-
// -----------------------------------------------------------------------------
179178
// Configures which glossary should be used for a specific target language,
180179
// and defines options for applying that glossary.
181180
message TranslateTextGlossaryConfig {

0 commit comments

Comments
 (0)