Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Side by Side Diff: discovery/googleapis/servicemanagement__v1.json

Issue 2973303002: Api-Roll 51: 2017-07-10 (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « discovery/googleapis/servicecontrol__v1.json ('k') | discovery/googleapis/serviceuser__v1.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/service.management": { 5 "https://www.googleapis.com/auth/service.management": {
6 "description": "Manage your Google API service configuration " 6 "description": "Manage your Google API service configuration "
7 }, 7 },
8 "https://www.googleapis.com/auth/service.management.readonly": {
9 "description": "View your Google API service configuration"
10 },
8 "https://www.googleapis.com/auth/cloud-platform.read-only": { 11 "https://www.googleapis.com/auth/cloud-platform.read-only": {
9 "description": "View your data across Google Cloud Platform services" 12 "description": "View your data across Google Cloud Platform services"
10 }, 13 },
11 "https://www.googleapis.com/auth/service.management.readonly": {
12 "description": "View your Google API service configuration"
13 },
14 "https://www.googleapis.com/auth/cloud-platform": { 14 "https://www.googleapis.com/auth/cloud-platform": {
15 "description": "View and manage your data across Google Clou d Platform services" 15 "description": "View and manage your data across Google Clou d Platform services"
16 } 16 }
17 } 17 }
18 } 18 }
19 }, 19 },
20 "basePath": "", 20 "basePath": "",
21 "baseUrl": "https://servicemanagement.googleapis.com/", 21 "baseUrl": "https://servicemanagement.googleapis.com/",
22 "batchPath": "batch", 22 "batchPath": "batch",
23 "canonicalName": "Service Management", 23 "canonicalName": "Service Management",
24 "description": "Google Service Management allows service producers to publis h their services on Google Cloud Platform so that they can be discovered and use d by service consumers.", 24 "description": "Google Service Management allows service producers to publis h their services on Google Cloud Platform so that they can be discovered and use d by service consumers.",
25 "discoveryVersion": "v1", 25 "discoveryVersion": "v1",
26 "documentationLink": "https://cloud.google.com/service-management/", 26 "documentationLink": "https://cloud.google.com/service-management/",
27 "icons": { 27 "icons": {
28 "x16": "http://www.google.com/images/icons/product/search-16.gif", 28 "x16": "http://www.google.com/images/icons/product/search-16.gif",
29 "x32": "http://www.google.com/images/icons/product/search-32.gif" 29 "x32": "http://www.google.com/images/icons/product/search-32.gif"
30 }, 30 },
31 "id": "servicemanagement:v1", 31 "id": "servicemanagement:v1",
32 "kind": "discovery#restDescription", 32 "kind": "discovery#restDescription",
33 "name": "servicemanagement", 33 "name": "servicemanagement",
34 "ownerDomain": "google.com", 34 "ownerDomain": "google.com",
35 "ownerName": "Google", 35 "ownerName": "Google",
36 "parameters": { 36 "parameters": {
37 "key": {
38 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
39 "location": "query",
40 "type": "string"
41 },
42 "access_token": {
43 "description": "OAuth access token.",
44 "location": "query",
45 "type": "string"
46 },
47 "quotaUser": {
48 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.",
49 "location": "query",
50 "type": "string"
51 },
52 "pp": {
53 "default": "true",
54 "description": "Pretty-print response.",
55 "location": "query",
56 "type": "boolean"
57 },
58 "oauth_token": {
59 "description": "OAuth 2.0 token for the current user.",
60 "location": "query",
61 "type": "string"
62 },
63 "bearer_token": {
64 "description": "OAuth bearer token.",
65 "location": "query",
66 "type": "string"
67 },
68 "upload_protocol": { 37 "upload_protocol": {
69 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 38 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
70 "location": "query", 39 "location": "query",
71 "type": "string" 40 "type": "string"
72 }, 41 },
73 "prettyPrint": { 42 "prettyPrint": {
74 "default": "true", 43 "default": "true",
75 "description": "Returns response with indentations and line breaks." , 44 "description": "Returns response with indentations and line breaks." ,
76 "location": "query", 45 "location": "query",
77 "type": "boolean" 46 "type": "boolean"
78 }, 47 },
48 "uploadType": {
49 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
50 "location": "query",
51 "type": "string"
52 },
79 "fields": { 53 "fields": {
80 "description": "Selector specifying which fields to include in a par tial response.", 54 "description": "Selector specifying which fields to include in a par tial response.",
81 "location": "query", 55 "location": "query",
82 "type": "string" 56 "type": "string"
83 }, 57 },
84 "uploadType": { 58 "callback": {
85 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").", 59 "description": "JSONP",
86 "location": "query", 60 "location": "query",
87 "type": "string" 61 "type": "string"
88 }, 62 },
89 "$.xgafv": { 63 "$.xgafv": {
90 "description": "V1 error format.", 64 "description": "V1 error format.",
91 "enum": [ 65 "enum": [
92 "1", 66 "1",
93 "2" 67 "2"
94 ], 68 ],
95 "enumDescriptions": [ 69 "enumDescriptions": [
96 "v1 error format", 70 "v1 error format",
97 "v2 error format" 71 "v2 error format"
98 ], 72 ],
99 "location": "query", 73 "location": "query",
100 "type": "string" 74 "type": "string"
101 }, 75 },
102 "callback": {
103 "description": "JSONP",
104 "location": "query",
105 "type": "string"
106 },
107 "alt": { 76 "alt": {
108 "default": "json", 77 "default": "json",
109 "description": "Data format for response.", 78 "description": "Data format for response.",
110 "enum": [ 79 "enum": [
111 "json", 80 "json",
112 "media", 81 "media",
113 "proto" 82 "proto"
114 ], 83 ],
115 "enumDescriptions": [ 84 "enumDescriptions": [
116 "Responses with Content-Type of application/json", 85 "Responses with Content-Type of application/json",
117 "Media download with context-dependent Content-Type", 86 "Media download with context-dependent Content-Type",
118 "Responses with Content-Type of application/x-protobuf" 87 "Responses with Content-Type of application/x-protobuf"
119 ], 88 ],
120 "location": "query", 89 "location": "query",
121 "type": "string" 90 "type": "string"
91 },
92 "access_token": {
93 "description": "OAuth access token.",
94 "location": "query",
95 "type": "string"
96 },
97 "key": {
98 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
99 "location": "query",
100 "type": "string"
101 },
102 "quotaUser": {
103 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.",
104 "location": "query",
105 "type": "string"
106 },
107 "pp": {
108 "default": "true",
109 "description": "Pretty-print response.",
110 "location": "query",
111 "type": "boolean"
112 },
113 "oauth_token": {
114 "description": "OAuth 2.0 token for the current user.",
115 "location": "query",
116 "type": "string"
117 },
118 "bearer_token": {
119 "description": "OAuth bearer token.",
120 "location": "query",
121 "type": "string"
122 } 122 }
123 }, 123 },
124 "protocol": "rest", 124 "protocol": "rest",
125 "resources": { 125 "resources": {
126 "operations": { 126 "operations": {
127 "methods": { 127 "methods": {
128 "list": {
129 "description": "Lists service operations that match the spec ified filter in the request.",
130 "httpMethod": "GET",
131 "id": "servicemanagement.operations.list",
132 "parameterOrder": [],
133 "parameters": {
134 "name": {
135 "description": "Not used.",
136 "location": "query",
137 "type": "string"
138 },
139 "pageToken": {
140 "description": "The standard list page token.",
141 "location": "query",
142 "type": "string"
143 },
144 "pageSize": {
145 "description": "The maximum number of operations to return. If unspecified, defaults to\n50. The maximum value is 100.",
146 "format": "int32",
147 "location": "query",
148 "type": "integer"
149 },
150 "filter": {
151 "description": "A string for filtering Operations.\n The following filter fields are supported&#58;\n\n * serviceName&#58; Require d. Only `=` operator is allowed.\n * startTime&#58; The time this job was start ed, in ISO 8601 format.\n Allowed operators are `>=`, `>`, `<=`, and `<`.\n * status&#58; Can be `done`, `in_progress`, or `failed`. Allowed\n operators are `=`, and `!=`.\n\n Filter expression supports conjunction (AND) and disjun ction (OR)\n logical operators. However, the serviceName restriction must be at the\n top-level and can only be combined with other restrictions via the AND\n logical operator.\n\n Examples&#58;\n\n * `serviceName={some-service}.google apis.com`\n * `serviceName={some-service}.googleapis.com AND startTime>=\"2017- 02-01\"`\n * `serviceName={some-service}.googleapis.com AND status=done`\n * ` serviceName={some-service}.googleapis.com AND (status=done OR startTime>=\"2017- 02-01\")`",
152 "location": "query",
153 "type": "string"
154 }
155 },
156 "path": "v1/operations",
157 "response": {
158 "$ref": "ListOperationsResponse"
159 },
160 "scopes": [
161 "https://www.googleapis.com/auth/cloud-platform",
162 "https://www.googleapis.com/auth/service.management"
163 ]
164 },
165 "get": { 128 "get": {
166 "description": "Gets the latest state of a long-running oper ation. Clients can use this\nmethod to poll the operation result at intervals a s recommended by the API\nservice.", 129 "description": "Gets the latest state of a long-running oper ation. Clients can use this\nmethod to poll the operation result at intervals a s recommended by the API\nservice.",
167 "httpMethod": "GET", 130 "httpMethod": "GET",
168 "id": "servicemanagement.operations.get", 131 "id": "servicemanagement.operations.get",
169 "parameterOrder": [ 132 "parameterOrder": [
170 "name" 133 "name"
171 ], 134 ],
172 "parameters": { 135 "parameters": {
173 "name": { 136 "name": {
174 "description": "The name of the operation resource." , 137 "description": "The name of the operation resource." ,
175 "location": "path", 138 "location": "path",
176 "pattern": "^operations/.+$", 139 "pattern": "^operations/.+$",
177 "required": true, 140 "required": true,
178 "type": "string" 141 "type": "string"
179 } 142 }
180 }, 143 },
181 "path": "v1/{+name}", 144 "path": "v1/{+name}",
182 "response": { 145 "response": {
183 "$ref": "Operation" 146 "$ref": "Operation"
184 }, 147 },
185 "scopes": [ 148 "scopes": [
186 "https://www.googleapis.com/auth/cloud-platform", 149 "https://www.googleapis.com/auth/cloud-platform",
187 "https://www.googleapis.com/auth/service.management" 150 "https://www.googleapis.com/auth/service.management"
188 ] 151 ]
152 },
153 "list": {
154 "description": "Lists service operations that match the spec ified filter in the request.",
155 "httpMethod": "GET",
156 "id": "servicemanagement.operations.list",
157 "parameterOrder": [],
158 "parameters": {
159 "pageToken": {
160 "description": "The standard list page token.",
161 "location": "query",
162 "type": "string"
163 },
164 "name": {
165 "description": "Not used.",
166 "location": "query",
167 "type": "string"
168 },
169 "pageSize": {
170 "description": "The maximum number of operations to return. If unspecified, defaults to\n50. The maximum value is 100.",
171 "format": "int32",
172 "location": "query",
173 "type": "integer"
174 },
175 "filter": {
176 "description": "A string for filtering Operations.\n The following filter fields are supported&#58;\n\n * serviceName&#58; Require d. Only `=` operator is allowed.\n * startTime&#58; The time this job was start ed, in ISO 8601 format.\n Allowed operators are `>=`, `>`, `<=`, and `<`.\n * status&#58; Can be `done`, `in_progress`, or `failed`. Allowed\n operators are `=`, and `!=`.\n\n Filter expression supports conjunction (AND) and disjun ction (OR)\n logical operators. However, the serviceName restriction must be at the\n top-level and can only be combined with other restrictions via the AND\n logical operator.\n\n Examples&#58;\n\n * `serviceName={some-service}.google apis.com`\n * `serviceName={some-service}.googleapis.com AND startTime>=\"2017- 02-01\"`\n * `serviceName={some-service}.googleapis.com AND status=done`\n * ` serviceName={some-service}.googleapis.com AND (status=done OR startTime>=\"2017- 02-01\")`",
177 "location": "query",
178 "type": "string"
179 }
180 },
181 "path": "v1/operations",
182 "response": {
183 "$ref": "ListOperationsResponse"
184 },
185 "scopes": [
186 "https://www.googleapis.com/auth/cloud-platform",
187 "https://www.googleapis.com/auth/service.management"
188 ]
189 } 189 }
190 } 190 }
191 }, 191 },
192 "services": { 192 "services": {
193 "methods": { 193 "methods": {
194 "list": {
195 "description": "Lists managed services.\n\nReturns all publi c services. For authenticated users, also returns all\nservices the calling user has \"servicemanagement.services.get\" permission\nfor.\n\n**BETA:** If the cal ler specifies the `consumer_id`, it returns only the\nservices enabled on the co nsumer. The `consumer_id` must have the format\nof \"project:{PROJECT-ID}\".",
196 "httpMethod": "GET",
197 "id": "servicemanagement.services.list",
198 "parameterOrder": [],
199 "parameters": {
200 "consumerId": {
201 "description": "Include services consumed by the spe cified consumer.\n\nThe Google Service Management implementation accepts the fol lowing\nforms:\n- project:<project_id>",
202 "location": "query",
203 "type": "string"
204 },
205 "pageToken": {
206 "description": "Token identifying which result to st art with; returned by a previous list\ncall.",
207 "location": "query",
208 "type": "string"
209 },
210 "pageSize": {
211 "description": "Requested size of the next page of d ata.",
212 "format": "int32",
213 "location": "query",
214 "type": "integer"
215 },
216 "producerProjectId": {
217 "description": "Include services produced by the spe cified project.",
218 "location": "query",
219 "type": "string"
220 }
221 },
222 "path": "v1/services",
223 "response": {
224 "$ref": "ListServicesResponse"
225 },
226 "scopes": [
227 "https://www.googleapis.com/auth/cloud-platform",
228 "https://www.googleapis.com/auth/cloud-platform.read-onl y",
229 "https://www.googleapis.com/auth/service.management",
230 "https://www.googleapis.com/auth/service.management.read only"
231 ]
232 },
233 "create": {
234 "description": "Creates a new managed service.\nPlease note one producer project can own no more than 20 services.\n\nOperation<response: Ma nagedService>",
235 "httpMethod": "POST",
236 "id": "servicemanagement.services.create",
237 "parameterOrder": [],
238 "parameters": {},
239 "path": "v1/services",
240 "request": {
241 "$ref": "ManagedService"
242 },
243 "response": {
244 "$ref": "Operation"
245 },
246 "scopes": [
247 "https://www.googleapis.com/auth/cloud-platform",
248 "https://www.googleapis.com/auth/service.management"
249 ]
250 },
251 "generateConfigReport": {
252 "description": "Generates and returns a report (errors, warn ings and changes from\nexisting configurations) associated with\nGenerateConfigR eportRequest.new_value\n\nIf GenerateConfigReportRequest.old_value is specified, \nGenerateConfigReportRequest will contain a single ChangeReport based on the\nc omparison between GenerateConfigReportRequest.new_value and\nGenerateConfigRepor tRequest.old_value.\nIf GenerateConfigReportRequest.old_value is not specified, this method\nwill compare GenerateConfigReportRequest.new_value with the last pu shed\nservice configuration.",
253 "httpMethod": "POST",
254 "id": "servicemanagement.services.generateConfigReport",
255 "parameterOrder": [],
256 "parameters": {},
257 "path": "v1/services:generateConfigReport",
258 "request": {
259 "$ref": "GenerateConfigReportRequest"
260 },
261 "response": {
262 "$ref": "GenerateConfigReportResponse"
263 },
264 "scopes": [
265 "https://www.googleapis.com/auth/cloud-platform",
266 "https://www.googleapis.com/auth/service.management"
267 ]
268 },
269 "get": { 194 "get": {
270 "description": "Gets a managed service. Authentication is re quired unless the service is\npublic.", 195 "description": "Gets a managed service. Authentication is re quired unless the service is\npublic.",
271 "httpMethod": "GET", 196 "httpMethod": "GET",
272 "id": "servicemanagement.services.get", 197 "id": "servicemanagement.services.get",
273 "parameterOrder": [ 198 "parameterOrder": [
274 "serviceName" 199 "serviceName"
275 ], 200 ],
276 "parameters": { 201 "parameters": {
277 "serviceName": { 202 "serviceName": {
278 "description": "The name of the service. See the `S erviceManager` overview for naming\nrequirements. For example: `example.googlea pis.com`.", 203 "description": "The name of the service. See the `S erviceManager` overview for naming\nrequirements. For example: `example.googlea pis.com`.",
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 ] 248 ]
324 }, 249 },
325 "getConfig": { 250 "getConfig": {
326 "description": "Gets a service configuration (version) for a managed service.", 251 "description": "Gets a service configuration (version) for a managed service.",
327 "httpMethod": "GET", 252 "httpMethod": "GET",
328 "id": "servicemanagement.services.getConfig", 253 "id": "servicemanagement.services.getConfig",
329 "parameterOrder": [ 254 "parameterOrder": [
330 "serviceName" 255 "serviceName"
331 ], 256 ],
332 "parameters": { 257 "parameters": {
258 "view": {
259 "description": "Specifies which parts of the Service Config should be returned in the\nresponse.",
260 "enum": [
261 "BASIC",
262 "FULL"
263 ],
264 "location": "query",
265 "type": "string"
266 },
333 "serviceName": { 267 "serviceName": {
334 "description": "The name of the service. See the [o verview](/service-management/overview)\nfor naming requirements. For example: ` example.googleapis.com`.", 268 "description": "The name of the service. See the [o verview](/service-management/overview)\nfor naming requirements. For example: ` example.googleapis.com`.",
335 "location": "path", 269 "location": "path",
336 "required": true, 270 "required": true,
337 "type": "string" 271 "type": "string"
338 }, 272 },
339 "configId": { 273 "configId": {
340 "description": "The id of the service configuration resource.", 274 "description": "The id of the service configuration resource.",
341 "location": "query", 275 "location": "query",
342 "type": "string" 276 "type": "string"
343 },
344 "view": {
345 "description": "Specifies which parts of the Service Config should be returned in the\nresponse.",
346 "enum": [
347 "BASIC",
348 "FULL"
349 ],
350 "location": "query",
351 "type": "string"
352 } 277 }
353 }, 278 },
354 "path": "v1/services/{serviceName}/config", 279 "path": "v1/services/{serviceName}/config",
355 "response": { 280 "response": {
356 "$ref": "Service" 281 "$ref": "Service"
357 }, 282 },
358 "scopes": [ 283 "scopes": [
359 "https://www.googleapis.com/auth/cloud-platform", 284 "https://www.googleapis.com/auth/cloud-platform",
360 "https://www.googleapis.com/auth/cloud-platform.read-onl y", 285 "https://www.googleapis.com/auth/cloud-platform.read-onl y",
361 "https://www.googleapis.com/auth/service.management", 286 "https://www.googleapis.com/auth/service.management",
362 "https://www.googleapis.com/auth/service.management.read only" 287 "https://www.googleapis.com/auth/service.management.read only"
363 ] 288 ]
364 }, 289 },
365 "enable": { 290 "delete": {
366 "description": "Enables a service for a project, so it can b e used\nfor the project. See\n[Cloud Auth Guide](https://cloud.google.com/docs/a uthentication) for\nmore information.\n\nOperation<response: EnableServiceRespon se>", 291 "description": "Deletes a managed service. This method will change the service to the\n`Soft-Delete` state for 30 days. Within this period, service producers may\ncall UndeleteService to restore the service.\nAfter 30 da ys, the service will be permanently deleted.\n\nOperation<response: google.proto buf.Empty>",
367 "httpMethod": "POST", 292 "httpMethod": "DELETE",
368 "id": "servicemanagement.services.enable", 293 "id": "servicemanagement.services.delete",
369 "parameterOrder": [ 294 "parameterOrder": [
370 "serviceName" 295 "serviceName"
371 ], 296 ],
372 "parameters": { 297 "parameters": {
373 "serviceName": { 298 "serviceName": {
374 "description": "Name of the service to enable. Speci fying an unknown service name will\ncause the request to fail.", 299 "description": "The name of the service. See the [o verview](/service-management/overview)\nfor naming requirements. For example: ` example.googleapis.com`.",
375 "location": "path", 300 "location": "path",
376 "required": true, 301 "required": true,
377 "type": "string" 302 "type": "string"
378 } 303 }
379 }, 304 },
380 "path": "v1/services/{serviceName}:enable", 305 "path": "v1/services/{serviceName}",
381 "request": {
382 "$ref": "EnableServiceRequest"
383 },
384 "response": { 306 "response": {
385 "$ref": "Operation" 307 "$ref": "Operation"
386 }, 308 },
387 "scopes": [ 309 "scopes": [
388 "https://www.googleapis.com/auth/cloud-platform", 310 "https://www.googleapis.com/auth/cloud-platform",
389 "https://www.googleapis.com/auth/service.management" 311 "https://www.googleapis.com/auth/service.management"
390 ] 312 ]
391 }, 313 },
392 "delete": { 314 "enable": {
393 "description": "Deletes a managed service. This method will change the service to the\n`Soft-Delete` state for 30 days. Within this period, service producers may\ncall UndeleteService to restore the service.\nAfter 30 da ys, the service will be permanently deleted.\n\nOperation<response: google.proto buf.Empty>", 315 "description": "Enables a service for a project, so it can b e used\nfor the project. See\n[Cloud Auth Guide](https://cloud.google.com/docs/a uthentication) for\nmore information.\n\nOperation<response: EnableServiceRespon se>",
394 "httpMethod": "DELETE", 316 "httpMethod": "POST",
395 "id": "servicemanagement.services.delete", 317 "id": "servicemanagement.services.enable",
396 "parameterOrder": [ 318 "parameterOrder": [
397 "serviceName" 319 "serviceName"
398 ], 320 ],
399 "parameters": { 321 "parameters": {
400 "serviceName": { 322 "serviceName": {
401 "description": "The name of the service. See the [o verview](/service-management/overview)\nfor naming requirements. For example: ` example.googleapis.com`.", 323 "description": "Name of the service to enable. Speci fying an unknown service name will\ncause the request to fail.",
402 "location": "path", 324 "location": "path",
403 "required": true, 325 "required": true,
404 "type": "string" 326 "type": "string"
405 } 327 }
406 }, 328 },
407 "path": "v1/services/{serviceName}", 329 "path": "v1/services/{serviceName}:enable",
330 "request": {
331 "$ref": "EnableServiceRequest"
332 },
408 "response": { 333 "response": {
409 "$ref": "Operation" 334 "$ref": "Operation"
410 }, 335 },
411 "scopes": [ 336 "scopes": [
412 "https://www.googleapis.com/auth/cloud-platform", 337 "https://www.googleapis.com/auth/cloud-platform",
413 "https://www.googleapis.com/auth/service.management" 338 "https://www.googleapis.com/auth/service.management"
414 ] 339 ]
415 }, 340 },
416 "setIamPolicy": { 341 "setIamPolicy": {
417 "description": "Sets the access control policy on the specif ied resource. Replaces any\nexisting policy.", 342 "description": "Sets the access control policy on the specif ied resource. Replaces any\nexisting policy.",
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 } 439 }
515 }, 440 },
516 "path": "v1/services/{serviceName}:undelete", 441 "path": "v1/services/{serviceName}:undelete",
517 "response": { 442 "response": {
518 "$ref": "Operation" 443 "$ref": "Operation"
519 }, 444 },
520 "scopes": [ 445 "scopes": [
521 "https://www.googleapis.com/auth/cloud-platform", 446 "https://www.googleapis.com/auth/cloud-platform",
522 "https://www.googleapis.com/auth/service.management" 447 "https://www.googleapis.com/auth/service.management"
523 ] 448 ]
449 },
450 "list": {
451 "description": "Lists managed services.\n\nReturns all publi c services. For authenticated users, also returns all\nservices the calling user has \"servicemanagement.services.get\" permission\nfor.\n\n**BETA:** If the cal ler specifies the `consumer_id`, it returns only the\nservices enabled on the co nsumer. The `consumer_id` must have the format\nof \"project:{PROJECT-ID}\".",
452 "httpMethod": "GET",
453 "id": "servicemanagement.services.list",
454 "parameterOrder": [],
455 "parameters": {
456 "consumerId": {
457 "description": "Include services consumed by the spe cified consumer.\n\nThe Google Service Management implementation accepts the fol lowing\nforms:\n- project:<project_id>",
458 "location": "query",
459 "type": "string"
460 },
461 "pageToken": {
462 "description": "Token identifying which result to st art with; returned by a previous list\ncall.",
463 "location": "query",
464 "type": "string"
465 },
466 "pageSize": {
467 "description": "Requested size of the next page of d ata.",
468 "format": "int32",
469 "location": "query",
470 "type": "integer"
471 },
472 "producerProjectId": {
473 "description": "Include services produced by the spe cified project.",
474 "location": "query",
475 "type": "string"
476 }
477 },
478 "path": "v1/services",
479 "response": {
480 "$ref": "ListServicesResponse"
481 },
482 "scopes": [
483 "https://www.googleapis.com/auth/cloud-platform",
484 "https://www.googleapis.com/auth/cloud-platform.read-onl y",
485 "https://www.googleapis.com/auth/service.management",
486 "https://www.googleapis.com/auth/service.management.read only"
487 ]
488 },
489 "create": {
490 "description": "Creates a new managed service.\nPlease note one producer project can own no more than 20 services.\n\nOperation<response: Ma nagedService>",
491 "httpMethod": "POST",
492 "id": "servicemanagement.services.create",
493 "parameterOrder": [],
494 "parameters": {},
495 "path": "v1/services",
496 "request": {
497 "$ref": "ManagedService"
498 },
499 "response": {
500 "$ref": "Operation"
501 },
502 "scopes": [
503 "https://www.googleapis.com/auth/cloud-platform",
504 "https://www.googleapis.com/auth/service.management"
505 ]
506 },
507 "generateConfigReport": {
508 "description": "Generates and returns a report (errors, warn ings and changes from\nexisting configurations) associated with\nGenerateConfigR eportRequest.new_value\n\nIf GenerateConfigReportRequest.old_value is specified, \nGenerateConfigReportRequest will contain a single ChangeReport based on the\nc omparison between GenerateConfigReportRequest.new_value and\nGenerateConfigRepor tRequest.old_value.\nIf GenerateConfigReportRequest.old_value is not specified, this method\nwill compare GenerateConfigReportRequest.new_value with the last pu shed\nservice configuration.",
509 "httpMethod": "POST",
510 "id": "servicemanagement.services.generateConfigReport",
511 "parameterOrder": [],
512 "parameters": {},
513 "path": "v1/services:generateConfigReport",
514 "request": {
515 "$ref": "GenerateConfigReportRequest"
516 },
517 "response": {
518 "$ref": "GenerateConfigReportResponse"
519 },
520 "scopes": [
521 "https://www.googleapis.com/auth/cloud-platform",
522 "https://www.googleapis.com/auth/service.management"
523 ]
524 } 524 }
525 }, 525 },
526 "resources": { 526 "resources": {
527 "configs": { 527 "configs": {
528 "methods": { 528 "methods": {
529 "create": { 529 "get": {
530 "description": "Creates a new service configuration (version) for a managed service.\nThis method only stores the service configurat ion. To roll out the service\nconfiguration to backend systems please call\nCrea teServiceRollout.", 530 "description": "Gets a service configuration (versio n) for a managed service.",
531 "httpMethod": "POST", 531 "httpMethod": "GET",
532 "id": "servicemanagement.services.configs.create", 532 "id": "servicemanagement.services.configs.get",
533 "parameterOrder": [ 533 "parameterOrder": [
534 "serviceName" 534 "serviceName",
535 "configId"
535 ], 536 ],
536 "parameters": { 537 "parameters": {
537 "serviceName": { 538 "serviceName": {
538 "description": "The name of the service. Se e the [overview](/service-management/overview)\nfor naming requirements. For ex ample: `example.googleapis.com`.",
539 "location": "path",
540 "required": true,
541 "type": "string"
542 }
543 },
544 "path": "v1/services/{serviceName}/configs",
545 "request": {
546 "$ref": "Service"
547 },
548 "response": {
549 "$ref": "Service"
550 },
551 "scopes": [
552 "https://www.googleapis.com/auth/cloud-platform" ,
553 "https://www.googleapis.com/auth/service.managem ent"
554 ]
555 },
556 "submit": {
557 "description": "Creates a new service configuration (version) for a managed service based\non\nuser-supplied configuration source fi les (for example: OpenAPI\nSpecification). This method stores the source configu rations as well as the\ngenerated service configuration. To rollout the service configuration to\nother services,\nplease call CreateServiceRollout.\n\nOperatio n<response: SubmitConfigSourceResponse>",
558 "httpMethod": "POST",
559 "id": "servicemanagement.services.configs.submit",
560 "parameterOrder": [
561 "serviceName"
562 ],
563 "parameters": {
564 "serviceName": {
565 "description": "The name of the service. Se e the [overview](/service-management/overview)\nfor naming requirements. For ex ample: `example.googleapis.com`.", 539 "description": "The name of the service. Se e the [overview](/service-management/overview)\nfor naming requirements. For ex ample: `example.googleapis.com`.",
566 "location": "path", 540 "location": "path",
567 "required": true, 541 "required": true,
568 "type": "string" 542 "type": "string"
543 },
544 "configId": {
545 "description": "The id of the service config uration resource.",
546 "location": "path",
547 "required": true,
548 "type": "string"
549 },
550 "view": {
551 "description": "Specifies which parts of the Service Config should be returned in the\nresponse.",
552 "enum": [
553 "BASIC",
554 "FULL"
555 ],
556 "location": "query",
557 "type": "string"
569 } 558 }
570 }, 559 },
571 "path": "v1/services/{serviceName}/configs:submit", 560 "path": "v1/services/{serviceName}/configs/{configId }",
572 "request": {
573 "$ref": "SubmitConfigSourceRequest"
574 },
575 "response": { 561 "response": {
576 "$ref": "Operation" 562 "$ref": "Service"
577 }, 563 },
578 "scopes": [ 564 "scopes": [
579 "https://www.googleapis.com/auth/cloud-platform" , 565 "https://www.googleapis.com/auth/cloud-platform" ,
580 "https://www.googleapis.com/auth/service.managem ent" 566 "https://www.googleapis.com/auth/cloud-platform. read-only",
567 "https://www.googleapis.com/auth/service.managem ent",
568 "https://www.googleapis.com/auth/service.managem ent.readonly"
581 ] 569 ]
582 }, 570 },
583 "list": { 571 "list": {
584 "description": "Lists the history of the service con figuration for a managed service,\nfrom the newest to the oldest.", 572 "description": "Lists the history of the service con figuration for a managed service,\nfrom the newest to the oldest.",
585 "httpMethod": "GET", 573 "httpMethod": "GET",
586 "id": "servicemanagement.services.configs.list", 574 "id": "servicemanagement.services.configs.list",
587 "parameterOrder": [ 575 "parameterOrder": [
588 "serviceName" 576 "serviceName"
589 ], 577 ],
590 "parameters": { 578 "parameters": {
(...skipping 19 matching lines...) Expand all
610 "response": { 598 "response": {
611 "$ref": "ListServiceConfigsResponse" 599 "$ref": "ListServiceConfigsResponse"
612 }, 600 },
613 "scopes": [ 601 "scopes": [
614 "https://www.googleapis.com/auth/cloud-platform" , 602 "https://www.googleapis.com/auth/cloud-platform" ,
615 "https://www.googleapis.com/auth/cloud-platform. read-only", 603 "https://www.googleapis.com/auth/cloud-platform. read-only",
616 "https://www.googleapis.com/auth/service.managem ent", 604 "https://www.googleapis.com/auth/service.managem ent",
617 "https://www.googleapis.com/auth/service.managem ent.readonly" 605 "https://www.googleapis.com/auth/service.managem ent.readonly"
618 ] 606 ]
619 }, 607 },
620 "get": { 608 "create": {
621 "description": "Gets a service configuration (versio n) for a managed service.", 609 "description": "Creates a new service configuration (version) for a managed service.\nThis method only stores the service configurat ion. To roll out the service\nconfiguration to backend systems please call\nCrea teServiceRollout.",
622 "httpMethod": "GET", 610 "httpMethod": "POST",
623 "id": "servicemanagement.services.configs.get", 611 "id": "servicemanagement.services.configs.create",
624 "parameterOrder": [ 612 "parameterOrder": [
625 "serviceName", 613 "serviceName"
626 "configId"
627 ], 614 ],
628 "parameters": { 615 "parameters": {
629 "view": {
630 "description": "Specifies which parts of the Service Config should be returned in the\nresponse.",
631 "enum": [
632 "BASIC",
633 "FULL"
634 ],
635 "location": "query",
636 "type": "string"
637 },
638 "serviceName": { 616 "serviceName": {
639 "description": "The name of the service. Se e the [overview](/service-management/overview)\nfor naming requirements. For ex ample: `example.googleapis.com`.", 617 "description": "The name of the service. Se e the [overview](/service-management/overview)\nfor naming requirements. For ex ample: `example.googleapis.com`.",
640 "location": "path", 618 "location": "path",
641 "required": true, 619 "required": true,
642 "type": "string" 620 "type": "string"
643 }, 621 }
644 "configId": { 622 },
645 "description": "The id of the service config uration resource.", 623 "path": "v1/services/{serviceName}/configs",
624 "request": {
625 "$ref": "Service"
626 },
627 "response": {
628 "$ref": "Service"
629 },
630 "scopes": [
631 "https://www.googleapis.com/auth/cloud-platform" ,
632 "https://www.googleapis.com/auth/service.managem ent"
633 ]
634 },
635 "submit": {
636 "description": "Creates a new service configuration (version) for a managed service based\non\nuser-supplied configuration source fi les (for example: OpenAPI\nSpecification). This method stores the source configu rations as well as the\ngenerated service configuration. To rollout the service configuration to\nother services,\nplease call CreateServiceRollout.\n\nOperatio n<response: SubmitConfigSourceResponse>",
637 "httpMethod": "POST",
638 "id": "servicemanagement.services.configs.submit",
639 "parameterOrder": [
640 "serviceName"
641 ],
642 "parameters": {
643 "serviceName": {
644 "description": "The name of the service. Se e the [overview](/service-management/overview)\nfor naming requirements. For ex ample: `example.googleapis.com`.",
646 "location": "path", 645 "location": "path",
647 "required": true, 646 "required": true,
648 "type": "string" 647 "type": "string"
649 } 648 }
650 }, 649 },
651 "path": "v1/services/{serviceName}/configs/{configId }", 650 "path": "v1/services/{serviceName}/configs:submit",
651 "request": {
652 "$ref": "SubmitConfigSourceRequest"
653 },
652 "response": { 654 "response": {
653 "$ref": "Service" 655 "$ref": "Operation"
656 },
657 "scopes": [
658 "https://www.googleapis.com/auth/cloud-platform" ,
659 "https://www.googleapis.com/auth/service.managem ent"
660 ]
661 }
662 }
663 },
664 "consumers": {
665 "methods": {
666 "getIamPolicy": {
667 "description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a p olicy\nset.",
668 "httpMethod": "POST",
669 "id": "servicemanagement.services.consumers.getIamPo licy",
670 "parameterOrder": [
671 "resource"
672 ],
673 "parameters": {
674 "resource": {
675 "description": "REQUIRED: The resource for w hich the policy is being requested.\nSee the operation documentation for the app ropriate value for this field.",
676 "location": "path",
677 "pattern": "^services/[^/]+/consumers/[^/]+$ ",
678 "required": true,
679 "type": "string"
680 }
681 },
682 "path": "v1/{+resource}:getIamPolicy",
683 "request": {
684 "$ref": "GetIamPolicyRequest"
685 },
686 "response": {
687 "$ref": "Policy"
654 }, 688 },
655 "scopes": [ 689 "scopes": [
656 "https://www.googleapis.com/auth/cloud-platform" , 690 "https://www.googleapis.com/auth/cloud-platform" ,
657 "https://www.googleapis.com/auth/cloud-platform. read-only", 691 "https://www.googleapis.com/auth/cloud-platform. read-only",
658 "https://www.googleapis.com/auth/service.managem ent", 692 "https://www.googleapis.com/auth/service.managem ent",
659 "https://www.googleapis.com/auth/service.managem ent.readonly" 693 "https://www.googleapis.com/auth/service.managem ent.readonly"
660 ] 694 ]
661 } 695 },
662 }
663 },
664 "consumers": {
665 "methods": {
666 "setIamPolicy": { 696 "setIamPolicy": {
667 "description": "Sets the access control policy on th e specified resource. Replaces any\nexisting policy.", 697 "description": "Sets the access control policy on th e specified resource. Replaces any\nexisting policy.",
668 "httpMethod": "POST", 698 "httpMethod": "POST",
669 "id": "servicemanagement.services.consumers.setIamPo licy", 699 "id": "servicemanagement.services.consumers.setIamPo licy",
670 "parameterOrder": [ 700 "parameterOrder": [
671 "resource" 701 "resource"
672 ], 702 ],
673 "parameters": { 703 "parameters": {
674 "resource": { 704 "resource": {
675 "description": "REQUIRED: The resource for w hich the policy is being specified.\nSee the operation documentation for the app ropriate value for this field.", 705 "description": "REQUIRED: The resource for w hich the policy is being specified.\nSee the operation documentation for the app ropriate value for this field.",
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
709 }, 739 },
710 "path": "v1/{+resource}:testIamPermissions", 740 "path": "v1/{+resource}:testIamPermissions",
711 "request": { 741 "request": {
712 "$ref": "TestIamPermissionsRequest" 742 "$ref": "TestIamPermissionsRequest"
713 }, 743 },
714 "response": { 744 "response": {
715 "$ref": "TestIamPermissionsResponse" 745 "$ref": "TestIamPermissionsResponse"
716 }, 746 },
717 "scopes": [ 747 "scopes": [
718 "https://www.googleapis.com/auth/cloud-platform" , 748 "https://www.googleapis.com/auth/cloud-platform" ,
719 "https://www.googleapis.com/auth/cloud-platform. read-only",
720 "https://www.googleapis.com/auth/service.managem ent",
721 "https://www.googleapis.com/auth/service.managem ent.readonly"
722 ]
723 },
724 "getIamPolicy": {
725 "description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a p olicy\nset.",
726 "httpMethod": "POST",
727 "id": "servicemanagement.services.consumers.getIamPo licy",
728 "parameterOrder": [
729 "resource"
730 ],
731 "parameters": {
732 "resource": {
733 "description": "REQUIRED: The resource for w hich the policy is being requested.\nSee the operation documentation for the app ropriate value for this field.",
734 "location": "path",
735 "pattern": "^services/[^/]+/consumers/[^/]+$ ",
736 "required": true,
737 "type": "string"
738 }
739 },
740 "path": "v1/{+resource}:getIamPolicy",
741 "request": {
742 "$ref": "GetIamPolicyRequest"
743 },
744 "response": {
745 "$ref": "Policy"
746 },
747 "scopes": [
748 "https://www.googleapis.com/auth/cloud-platform" ,
749 "https://www.googleapis.com/auth/cloud-platform. read-only", 749 "https://www.googleapis.com/auth/cloud-platform. read-only",
750 "https://www.googleapis.com/auth/service.managem ent", 750 "https://www.googleapis.com/auth/service.managem ent",
751 "https://www.googleapis.com/auth/service.managem ent.readonly" 751 "https://www.googleapis.com/auth/service.managem ent.readonly"
752 ] 752 ]
753 } 753 }
754 } 754 }
755 }, 755 },
756 "rollouts": { 756 "rollouts": {
757 "methods": { 757 "methods": {
758 "list": { 758 "get": {
759 "description": "Lists the history of the service con figuration rollouts for a managed\nservice, from the newest to the oldest.", 759 "description": "Gets a service configuration rollout .",
760 "httpMethod": "GET", 760 "httpMethod": "GET",
761 "id": "servicemanagement.services.rollouts.list", 761 "id": "servicemanagement.services.rollouts.get",
762 "parameterOrder": [ 762 "parameterOrder": [
763 "serviceName" 763 "serviceName",
764 "rolloutId"
764 ], 765 ],
765 "parameters": { 766 "parameters": {
766 "pageToken": {
767 "description": "The token of the page to ret rieve.",
768 "location": "query",
769 "type": "string"
770 },
771 "pageSize": {
772 "description": "The max number of items to i nclude in the response list.",
773 "format": "int32",
774 "location": "query",
775 "type": "integer"
776 },
777 "filter": {
778 "description": "Use `filter` to return subse t of rollouts.\nThe following filters are supported:\n -- To limit the results to only those in\n [status](google.api.servicemanagement.v1.RolloutStatus) ' SUCCESS',\n use filter='status=SUCCESS'\n -- To limit the results to those in\n [status](google.api.servicemanagement.v1.RolloutStatus) 'CANCELLED'\n or 'FAILED', use filter='status=CANCELLED OR status=FAILED'",
779 "location": "query",
780 "type": "string"
781 },
782 "serviceName": { 767 "serviceName": {
783 "description": "The name of the service. Se e the [overview](/service-management/overview)\nfor naming requirements. For ex ample: `example.googleapis.com`.", 768 "description": "The name of the service. Se e the [overview](/service-management/overview)\nfor naming requirements. For ex ample: `example.googleapis.com`.",
784 "location": "path", 769 "location": "path",
785 "required": true, 770 "required": true,
786 "type": "string" 771 "type": "string"
772 },
773 "rolloutId": {
774 "description": "The id of the rollout resour ce.",
775 "location": "path",
776 "required": true,
777 "type": "string"
787 } 778 }
788 }, 779 },
789 "path": "v1/services/{serviceName}/rollouts", 780 "path": "v1/services/{serviceName}/rollouts/{rollout Id}",
790 "response": { 781 "response": {
791 "$ref": "ListServiceRolloutsResponse" 782 "$ref": "Rollout"
792 }, 783 },
793 "scopes": [ 784 "scopes": [
794 "https://www.googleapis.com/auth/cloud-platform" , 785 "https://www.googleapis.com/auth/cloud-platform" ,
795 "https://www.googleapis.com/auth/cloud-platform. read-only", 786 "https://www.googleapis.com/auth/cloud-platform. read-only",
796 "https://www.googleapis.com/auth/service.managem ent", 787 "https://www.googleapis.com/auth/service.managem ent",
797 "https://www.googleapis.com/auth/service.managem ent.readonly" 788 "https://www.googleapis.com/auth/service.managem ent.readonly"
798 ] 789 ]
799 }, 790 },
800 "get": { 791 "list": {
801 "description": "Gets a service configuration rollout .", 792 "description": "Lists the history of the service con figuration rollouts for a managed\nservice, from the newest to the oldest.",
802 "httpMethod": "GET", 793 "httpMethod": "GET",
803 "id": "servicemanagement.services.rollouts.get", 794 "id": "servicemanagement.services.rollouts.list",
804 "parameterOrder": [ 795 "parameterOrder": [
805 "serviceName", 796 "serviceName"
806 "rolloutId"
807 ], 797 ],
808 "parameters": { 798 "parameters": {
809 "serviceName": { 799 "serviceName": {
810 "description": "The name of the service. Se e the [overview](/service-management/overview)\nfor naming requirements. For ex ample: `example.googleapis.com`.", 800 "description": "The name of the service. Se e the [overview](/service-management/overview)\nfor naming requirements. For ex ample: `example.googleapis.com`.",
811 "location": "path", 801 "location": "path",
812 "required": true, 802 "required": true,
813 "type": "string" 803 "type": "string"
814 }, 804 },
815 "rolloutId": { 805 "pageToken": {
816 "description": "The id of the rollout resour ce.", 806 "description": "The token of the page to ret rieve.",
817 "location": "path", 807 "location": "query",
818 "required": true, 808 "type": "string"
809 },
810 "pageSize": {
811 "description": "The max number of items to i nclude in the response list.",
812 "format": "int32",
813 "location": "query",
814 "type": "integer"
815 },
816 "filter": {
817 "description": "Use `filter` to return subse t of rollouts.\nThe following filters are supported:\n -- To limit the results to only those in\n [status](google.api.servicemanagement.v1.RolloutStatus) ' SUCCESS',\n use filter='status=SUCCESS'\n -- To limit the results to those in\n [status](google.api.servicemanagement.v1.RolloutStatus) 'CANCELLED'\n or 'FAILED', use filter='status=CANCELLED OR status=FAILED'",
818 "location": "query",
819 "type": "string" 819 "type": "string"
820 } 820 }
821 }, 821 },
822 "path": "v1/services/{serviceName}/rollouts/{rollout Id}", 822 "path": "v1/services/{serviceName}/rollouts",
823 "response": { 823 "response": {
824 "$ref": "Rollout" 824 "$ref": "ListServiceRolloutsResponse"
825 }, 825 },
826 "scopes": [ 826 "scopes": [
827 "https://www.googleapis.com/auth/cloud-platform" , 827 "https://www.googleapis.com/auth/cloud-platform" ,
828 "https://www.googleapis.com/auth/cloud-platform. read-only", 828 "https://www.googleapis.com/auth/cloud-platform. read-only",
829 "https://www.googleapis.com/auth/service.managem ent", 829 "https://www.googleapis.com/auth/service.managem ent",
830 "https://www.googleapis.com/auth/service.managem ent.readonly" 830 "https://www.googleapis.com/auth/service.managem ent.readonly"
831 ] 831 ]
832 }, 832 },
833 "create": { 833 "create": {
834 "description": "Creates a new service configuration rollout. Based on rollout, the\nGoogle Service Management will roll out the serv ice configurations to\ndifferent backend services. For example, the logging conf iguration will be\npushed to Google Cloud Logging.\n\nPlease note that any previ ous pending and running Rollouts and associated\nOperations will be automaticall y cancelled so that the latest Rollout will\nnot be blocked by previous Rollouts .\n\nOperation<response: Rollout>", 834 "description": "Creates a new service configuration rollout. Based on rollout, the\nGoogle Service Management will roll out the serv ice configurations to\ndifferent backend services. For example, the logging conf iguration will be\npushed to Google Cloud Logging.\n\nPlease note that any previ ous pending and running Rollouts and associated\nOperations will be automaticall y cancelled so that the latest Rollout will\nnot be blocked by previous Rollouts .\n\nOperation<response: Rollout>",
(...skipping 20 matching lines...) Expand all
855 "scopes": [ 855 "scopes": [
856 "https://www.googleapis.com/auth/cloud-platform" , 856 "https://www.googleapis.com/auth/cloud-platform" ,
857 "https://www.googleapis.com/auth/service.managem ent" 857 "https://www.googleapis.com/auth/service.managem ent"
858 ] 858 ]
859 } 859 }
860 } 860 }
861 } 861 }
862 } 862 }
863 } 863 }
864 }, 864 },
865 "revision": "20170602", 865 "revision": "20170626",
866 "rootUrl": "https://servicemanagement.googleapis.com/", 866 "rootUrl": "https://servicemanagement.googleapis.com/",
867 "schemas": { 867 "schemas": {
868 "ConfigFile": {
869 "description": "Generic specification of a source configuration file ",
870 "id": "ConfigFile",
871 "properties": {
872 "filePath": {
873 "description": "The file name of the configuration file (ful l or relative path).",
874 "type": "string"
875 },
876 "fileType": {
877 "description": "The type of configuration file this represen ts.",
878 "enum": [
879 "FILE_TYPE_UNSPECIFIED",
880 "SERVICE_CONFIG_YAML",
881 "OPEN_API_JSON",
882 "OPEN_API_YAML",
883 "FILE_DESCRIPTOR_SET_PROTO"
884 ],
885 "enumDescriptions": [
886 "Unknown file type.",
887 "YAML-specification of service.",
888 "OpenAPI specification, serialized in JSON.",
889 "OpenAPI specification, serialized in YAML.",
890 "FileDescriptorSet, generated by protoc.\n\nTo generate, use protoc with imports and source info included.\nFor an example test.proto fi le, the following command would put the value\nin a new file named out.pb.\n\n$p rotoc --include_imports --include_source_info test.proto -o out.pb"
891 ],
892 "type": "string"
893 },
894 "fileContents": {
895 "description": "The bytes that constitute the file.",
896 "format": "byte",
897 "type": "string"
898 }
899 },
900 "type": "object"
901 },
902 "MonitoredResourceDescriptor": {
903 "description": "An object that describes the schema of a MonitoredRe source object using a\ntype name and a set of labels. For example, the monitore d resource\ndescriptor for Google Compute Engine VM instances has a type of\n`\" gce_instance\"` and specifies the use of the labels `\"instance_id\"` and\n`\"zo ne\"` to identify particular VM instances.\n\nDifferent APIs can support differe nt monitored resource types. APIs generally\nprovide a `list` method that return s the monitored resource descriptors used\nby the API.",
904 "id": "MonitoredResourceDescriptor",
905 "properties": {
906 "labels": {
907 "description": "Required. A set of labels used to describe i nstances of this monitored\nresource type. For example, an individual Google Clo ud SQL database is\nidentified by values for the labels `\"database_id\"` and `\ "zone\"`.",
908 "items": {
909 "$ref": "LabelDescriptor"
910 },
911 "type": "array"
912 },
913 "name": {
914 "description": "Optional. The resource name of the monitored resource descriptor:\n`\"projects/{project_id}/monitoredResourceDescriptors/{ty pe}\"` where\n{type} is the value of the `type` field in this object and\n{proje ct_id} is a project ID that provides API-specific context for\naccessing the typ e. APIs that do not use project information can use the\nresource name format ` \"monitoredResourceDescriptors/{type}\"`.",
915 "type": "string"
916 },
917 "description": {
918 "description": "Optional. A detailed description of the moni tored resource type that might\nbe used in documentation.",
919 "type": "string"
920 },
921 "displayName": {
922 "description": "Optional. A concise name for the monitored r esource type that might be\ndisplayed in user interfaces. It should be a Title C ased Noun Phrase,\nwithout any article or other determiners. For example,\n`\"Go ogle Cloud SQL Database\"`.",
923 "type": "string"
924 },
925 "type": {
926 "description": "Required. The monitored resource type. For e xample, the type\n`\"cloudsql_database\"` represents databases in Google Cloud S QL.\nThe maximum length of this value is 256 characters.",
927 "type": "string"
928 }
929 },
930 "type": "object"
931 },
932 "CustomErrorRule": {
933 "description": "A custom error rule.",
934 "id": "CustomErrorRule",
935 "properties": {
936 "isErrorType": {
937 "description": "Mark this message as possible payload in err or response. Otherwise,\nobjects of this type will be filtered when they appear in error payload.",
938 "type": "boolean"
939 },
940 "selector": {
941 "description": "Selects messages to which this rule applies. \n\nRefer to selector for syntax details.",
942 "type": "string"
943 }
944 },
945 "type": "object"
946 },
947 "MediaDownload": {
948 "description": "Defines the Media configuration for a service in cas e of a download.\nUse this only for Scotty Requests. Do not use this for media s upport using\nBytestream, add instead [][google.bytestream.RestByteStream] as an API to\nyour configuration for Bytestream methods.",
949 "id": "MediaDownload",
950 "properties": {
951 "enabled": {
952 "description": "Whether download is enabled.",
953 "type": "boolean"
954 },
955 "downloadService": {
956 "description": "DO NOT USE FIELDS BELOW THIS LINE UNTIL THIS WARNING IS REMOVED.\n\nSpecify name of the download service if one is used for download.",
957 "type": "string"
958 },
959 "completeNotification": {
960 "description": "A boolean that determines whether a notifica tion for the completion of a\ndownload should be sent to the backend.",
961 "type": "boolean"
962 },
963 "maxDirectDownloadSize": {
964 "description": "Optional maximum acceptable size for direct download.\nThe size is specified in bytes.",
965 "format": "int64",
966 "type": "string"
967 },
968 "dropzone": {
969 "description": "Name of the Scotty dropzone to use for the c urrent API.",
970 "type": "string"
971 },
972 "useDirectDownload": {
973 "description": "A boolean that determines if direct download from ESF should be used for\ndownload of this media.",
974 "type": "boolean"
975 }
976 },
977 "type": "object"
978 },
979 "CustomAuthRequirements": {
980 "description": "Configuration for a custom authentication provider." ,
981 "id": "CustomAuthRequirements",
982 "properties": {
983 "provider": {
984 "description": "A configuration string containing connection information for the\nauthentication provider, typically formatted as a SmartSer vice string\n(go/smartservice).",
985 "type": "string"
986 }
987 },
988 "type": "object"
989 },
990 "ChangeReport": {
991 "description": "Change report associated with a particular service c onfiguration.\n\nIt contains a list of ConfigChanges based on the comparison bet ween\ntwo service configurations.",
992 "id": "ChangeReport",
993 "properties": {
994 "configChanges": {
995 "description": "List of changes between two service configur ations.\nThe changes will be alphabetically sorted based on the identifier\nof e ach change.\nA ConfigChange identifier is a dot separated path to the configurat ion.\nExample: visibility.rules[selector='LibraryService.CreateBook'].restrictio n",
996 "items": {
997 "$ref": "ConfigChange"
998 },
999 "type": "array"
1000 }
1001 },
1002 "type": "object"
1003 },
1004 "DisableServiceRequest": {
1005 "description": "Request message for DisableService method.",
1006 "id": "DisableServiceRequest",
1007 "properties": {
1008 "consumerId": {
1009 "description": "The identity of consumer resource which serv ice disablement will be\napplied to.\n\nThe Google Service Management implementa tion accepts the following\nforms:\n- \"project:<project_id>\"\n\nNote: this is made compatible with\ngoogle.api.servicecontrol.v1.Operation.consumer_id.",
1010 "type": "string"
1011 }
1012 },
1013 "type": "object"
1014 },
1015 "SubmitConfigSourceResponse": {
1016 "description": "Response message for SubmitConfigSource method.",
1017 "id": "SubmitConfigSourceResponse",
1018 "properties": {
1019 "serviceConfig": {
1020 "$ref": "Service",
1021 "description": "The generated service configuration."
1022 }
1023 },
1024 "type": "object"
1025 },
1026 "MediaUpload": {
1027 "description": "Defines the Media configuration for a service in cas e of an upload.\nUse this only for Scotty Requests. Do not use this for media su pport using\nBytestream, add instead [][google.bytestream.RestByteStream] as an API to\nyour configuration for Bytestream methods.",
1028 "id": "MediaUpload",
1029 "properties": {
1030 "startNotification": {
1031 "description": "Whether to receive a notification on the sta rt of media upload.",
1032 "type": "boolean"
1033 },
1034 "uploadService": {
1035 "description": "DO NOT USE FIELDS BELOW THIS LINE UNTIL THIS WARNING IS REMOVED.\n\nSpecify name of the upload service if one is used for up load.",
1036 "type": "string"
1037 },
1038 "maxSize": {
1039 "description": "Optional maximum acceptable size for an uplo ad.\nThe size is specified in bytes.",
1040 "format": "int64",
1041 "type": "string"
1042 },
1043 "mimeTypes": {
1044 "description": "An array of mimetype patterns. Esf will only accept uploads that match one\nof the given patterns.",
1045 "items": {
1046 "type": "string"
1047 },
1048 "type": "array"
1049 },
1050 "completeNotification": {
1051 "description": "A boolean that determines whether a notifica tion for the completion of an\nupload should be sent to the backend. These notif ications will not be seen\nby the client and will not consume quota.",
1052 "type": "boolean"
1053 },
1054 "progressNotification": {
1055 "description": "Whether to receive a notification for progre ss changes of media upload.",
1056 "type": "boolean"
1057 },
1058 "enabled": {
1059 "description": "Whether upload is enabled.",
1060 "type": "boolean"
1061 },
1062 "dropzone": {
1063 "description": "Name of the Scotty dropzone to use for the c urrent API.",
1064 "type": "string"
1065 }
1066 },
1067 "type": "object"
1068 },
868 "Advice": { 1069 "Advice": {
869 "description": "Generated advice about this change, used for providi ng more\ninformation about how a change will affect the existing service.", 1070 "description": "Generated advice about this change, used for providi ng more\ninformation about how a change will affect the existing service.",
870 "id": "Advice", 1071 "id": "Advice",
871 "properties": { 1072 "properties": {
872 "description": { 1073 "description": {
873 "description": "Useful description for why this advice was a pplied and what actions should\nbe taken to mitigate any implied risks.", 1074 "description": "Useful description for why this advice was a pplied and what actions should\nbe taken to mitigate any implied risks.",
874 "type": "string" 1075 "type": "string"
875 } 1076 }
876 }, 1077 },
877 "type": "object" 1078 "type": "object"
(...skipping 14 matching lines...) Expand all
892 "type": "object" 1093 "type": "object"
893 }, 1094 },
894 "UsageRule": { 1095 "UsageRule": {
895 "description": "Usage configuration rules for the service.\n\nNOTE: Under development.\n\n\nUse this rule to configure unregistered calls for the se rvice. Unregistered\ncalls are calls that do not contain consumer project identi ty.\n(Example: calls that do not contain an API key).\nBy default, API methods d o not allow unregistered calls, and each method call\nmust be identified by a co nsumer project identity. Use this rule to\nallow/disallow unregistered calls.\n\ nExample of an API that wants to allow unregistered calls for entire service.\n\ n usage:\n rules:\n - selector: \"*\"\n allow_unregistered_c alls: true\n\nExample of a method that wants to allow unregistered calls.\n\n usage:\n rules:\n - selector: \"google.example.library.v1.LibraryServ ice.CreateBook\"\n allow_unregistered_calls: true", 1096 "description": "Usage configuration rules for the service.\n\nNOTE: Under development.\n\n\nUse this rule to configure unregistered calls for the se rvice. Unregistered\ncalls are calls that do not contain consumer project identi ty.\n(Example: calls that do not contain an API key).\nBy default, API methods d o not allow unregistered calls, and each method call\nmust be identified by a co nsumer project identity. Use this rule to\nallow/disallow unregistered calls.\n\ nExample of an API that wants to allow unregistered calls for entire service.\n\ n usage:\n rules:\n - selector: \"*\"\n allow_unregistered_c alls: true\n\nExample of a method that wants to allow unregistered calls.\n\n usage:\n rules:\n - selector: \"google.example.library.v1.LibraryServ ice.CreateBook\"\n allow_unregistered_calls: true",
896 "id": "UsageRule", 1097 "id": "UsageRule",
897 "properties": { 1098 "properties": {
898 "selector": { 1099 "selector": {
899 "description": "Selects the methods to which this rule appli es. Use '*' to indicate all\nmethods in all APIs.\n\nRefer to selector for synta x details.", 1100 "description": "Selects the methods to which this rule appli es. Use '*' to indicate all\nmethods in all APIs.\n\nRefer to selector for synta x details.",
900 "type": "string" 1101 "type": "string"
901 }, 1102 },
1103 "skipServiceControl": {
1104 "description": "True, if the method should skip service cont rol. If so, no control plane\nfeature (like quota and billing) will be enabled." ,
1105 "type": "boolean"
1106 },
902 "allowUnregisteredCalls": { 1107 "allowUnregisteredCalls": {
903 "description": "True, if the method allows unregistered call s; false otherwise.", 1108 "description": "True, if the method allows unregistered call s; false otherwise.",
904 "type": "boolean" 1109 "type": "boolean"
905 } 1110 }
906 }, 1111 },
907 "type": "object" 1112 "type": "object"
908 }, 1113 },
909 "AuthRequirement": {
910 "description": "User-defined authentication requirements, including support for\n[JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth -json-web-token-32).",
911 "id": "AuthRequirement",
912 "properties": {
913 "audiences": {
914 "description": "NOTE: This will be deprecated soon, once Aut hProvider.audiences is\nimplemented and accepted in all the runtime components.\ n\nThe list of JWT\n[audiences](https://tools.ietf.org/html/draft-ietf-oauth-jso n-web-token-32#section-4.1.3).\nthat are allowed to access. A JWT containing any of these audiences will\nbe accepted. When this setting is absent, only JWTs wi th audience\n\"https://Service_name/API_name\"\nwill be accepted. For example, i f no audiences are in the setting,\nLibraryService API will only accept JWTs wit h the following audience\n\"https://library-example.googleapis.com/google.exampl e.library.v1.LibraryService\".\n\nExample:\n\n audiences: bookstore_android.a pps.googleusercontent.com,\n bookstore_web.apps.googleusercontent. com",
915 "type": "string"
916 },
917 "providerId": {
918 "description": "id from authentication provider.\n\nExample: \n\n provider_id: bookstore_auth",
919 "type": "string"
920 }
921 },
922 "type": "object"
923 },
924 "TrafficPercentStrategy": { 1114 "TrafficPercentStrategy": {
925 "description": "Strategy that specifies how clients of Google Servic e Controller want to\nsend traffic to use different config versions. This is gen erally\nused by API proxy to split traffic based on your configured precentage f or\neach config version.\n\nOne example of how to gradually rollout a new servic e configuration using\nthis\nstrategy:\nDay 1\n\n Rollout {\n id: \"exam ple.googleapis.com/rollout_20160206\"\n traffic_percent_strategy {\n percentages: {\n \"example.googleapis.com/20160201\": 70.00\n \"example.googleapis.com/20160206\": 30.00\n }\n }\n }\n\nDay 2\ n\n Rollout {\n id: \"example.googleapis.com/rollout_20160207\"\n t raffic_percent_strategy: {\n percentages: {\n \"example.googleap is.com/20160206\": 100.00\n }\n }\n }", 1115 "description": "Strategy that specifies how clients of Google Servic e Controller want to\nsend traffic to use different config versions. This is gen erally\nused by API proxy to split traffic based on your configured precentage f or\neach config version.\n\nOne example of how to gradually rollout a new servic e configuration using\nthis\nstrategy:\nDay 1\n\n Rollout {\n id: \"exam ple.googleapis.com/rollout_20160206\"\n traffic_percent_strategy {\n percentages: {\n \"example.googleapis.com/20160201\": 70.00\n \"example.googleapis.com/20160206\": 30.00\n }\n }\n }\n\nDay 2\ n\n Rollout {\n id: \"example.googleapis.com/rollout_20160207\"\n t raffic_percent_strategy: {\n percentages: {\n \"example.googleap is.com/20160206\": 100.00\n }\n }\n }",
926 "id": "TrafficPercentStrategy", 1116 "id": "TrafficPercentStrategy",
927 "properties": { 1117 "properties": {
928 "percentages": { 1118 "percentages": {
929 "additionalProperties": { 1119 "additionalProperties": {
930 "format": "double", 1120 "format": "double",
931 "type": "number" 1121 "type": "number"
932 }, 1122 },
933 "description": "Maps service configuration IDs to their corr esponding traffic percentage.\nKey is the service configuration ID, Value is the traffic percentage\nwhich must be greater than 0.0 and the sum must equal to 10 0.0.", 1123 "description": "Maps service configuration IDs to their corr esponding traffic percentage.\nKey is the service configuration ID, Value is the traffic percentage\nwhich must be greater than 0.0 and the sum must equal to 10 0.0.",
934 "type": "object" 1124 "type": "object"
935 } 1125 }
936 }, 1126 },
937 "type": "object" 1127 "type": "object"
938 }, 1128 },
1129 "AuthRequirement": {
1130 "description": "User-defined authentication requirements, including support for\n[JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth -json-web-token-32).",
1131 "id": "AuthRequirement",
1132 "properties": {
1133 "providerId": {
1134 "description": "id from authentication provider.\n\nExample: \n\n provider_id: bookstore_auth",
1135 "type": "string"
1136 },
1137 "audiences": {
1138 "description": "NOTE: This will be deprecated soon, once Aut hProvider.audiences is\nimplemented and accepted in all the runtime components.\ n\nThe list of JWT\n[audiences](https://tools.ietf.org/html/draft-ietf-oauth-jso n-web-token-32#section-4.1.3).\nthat are allowed to access. A JWT containing any of these audiences will\nbe accepted. When this setting is absent, only JWTs wi th audience\n\"https://Service_name/API_name\"\nwill be accepted. For example, i f no audiences are in the setting,\nLibraryService API will only accept JWTs wit h the following audience\n\"https://library-example.googleapis.com/google.exampl e.library.v1.LibraryService\".\n\nExample:\n\n audiences: bookstore_android.a pps.googleusercontent.com,\n bookstore_web.apps.googleusercontent. com",
1139 "type": "string"
1140 }
1141 },
1142 "type": "object"
1143 },
939 "Documentation": { 1144 "Documentation": {
940 "description": "`Documentation` provides the information for describ ing a service.\n\nExample:\n<pre><code>documentation:\n summary: >\n The Goo gle Calendar API gives access\n to most calendar features.\n pages:\n - nam e: Overview\n content: &#40;== include google/foo/overview.md ==&#41;\n - na me: Tutorial\n content: &#40;== include google/foo/tutorial.md ==&#41;\n s ubpages;\n - name: Java\n content: &#40;== include google/foo/tutorial_j ava.md ==&#41;\n rules:\n - selector: google.calendar.Calendar.Get\n descri ption: >\n ...\n - selector: google.calendar.Calendar.Put\n description : >\n ...\n</code></pre>\nDocumentation is provided in markdown syntax. In addition to\nstandard markdown features, definition lists, tables and fenced\nco de blocks are supported. Section headers can be provided and are\ninterpreted re lative to the section nesting of the context where\na documentation fragment is embedded.\n\nDocumentation from the IDL is merged with documentation defined\nvi a the config at normalization time, where documentation provided\nby config rule s overrides IDL provided.\n\nA number of constructs specific to the API platform are supported\nin documentation text.\n\nIn order to reference a proto element, the following\nnotation can be used:\n<pre><code>&#91;fully.qualified.proto.nam e]&#91;]</code></pre>\nTo override the display text used for the link, this can be used:\n<pre><code>&#91;display text]&#91;fully.qualified.proto.name]</code></ pre>\nText can be excluded from doc using the following notation:\n<pre><code>&# 40;-- internal comment --&#41;</code></pre>\nComments can be made conditional us ing a visibility label. The below\ntext will be only rendered if the `BETA` labe l is available:\n<pre><code>&#40;--BETA: comment for BETA users --&#41;</code></ pre>\nA few directives are available in documentation. Note that\ndirectives mus t appear on a single line to be properly\nidentified. The `include` directive in cludes a markdown file from\nan external source:\n<pre><code>&#40;== include pat h/to/file ==&#41;</code></pre>\nThe `resource_for` directive marks a message to be the resource of\na collection in REST view. If it is not specified, tools att empt\nto infer the resource from the operations in a collection:\n<pre><code>&#4 0;== resource_for v1.shelves.books ==&#41;</code></pre>\nThe directive `suppress _warning` does not directly affect documentation\nand is documented together wit h service config validation.", 1145 "description": "`Documentation` provides the information for describ ing a service.\n\nExample:\n<pre><code>documentation:\n summary: >\n The Goo gle Calendar API gives access\n to most calendar features.\n pages:\n - nam e: Overview\n content: &#40;== include google/foo/overview.md ==&#41;\n - na me: Tutorial\n content: &#40;== include google/foo/tutorial.md ==&#41;\n s ubpages;\n - name: Java\n content: &#40;== include google/foo/tutorial_j ava.md ==&#41;\n rules:\n - selector: google.calendar.Calendar.Get\n descri ption: >\n ...\n - selector: google.calendar.Calendar.Put\n description : >\n ...\n</code></pre>\nDocumentation is provided in markdown syntax. In addition to\nstandard markdown features, definition lists, tables and fenced\nco de blocks are supported. Section headers can be provided and are\ninterpreted re lative to the section nesting of the context where\na documentation fragment is embedded.\n\nDocumentation from the IDL is merged with documentation defined\nvi a the config at normalization time, where documentation provided\nby config rule s overrides IDL provided.\n\nA number of constructs specific to the API platform are supported\nin documentation text.\n\nIn order to reference a proto element, the following\nnotation can be used:\n<pre><code>&#91;fully.qualified.proto.nam e]&#91;]</code></pre>\nTo override the display text used for the link, this can be used:\n<pre><code>&#91;display text]&#91;fully.qualified.proto.name]</code></ pre>\nText can be excluded from doc using the following notation:\n<pre><code>&# 40;-- internal comment --&#41;</code></pre>\nComments can be made conditional us ing a visibility label. The below\ntext will be only rendered if the `BETA` labe l is available:\n<pre><code>&#40;--BETA: comment for BETA users --&#41;</code></ pre>\nA few directives are available in documentation. Note that\ndirectives mus t appear on a single line to be properly\nidentified. The `include` directive in cludes a markdown file from\nan external source:\n<pre><code>&#40;== include pat h/to/file ==&#41;</code></pre>\nThe `resource_for` directive marks a message to be the resource of\na collection in REST view. If it is not specified, tools att empt\nto infer the resource from the operations in a collection:\n<pre><code>&#4 0;== resource_for v1.shelves.books ==&#41;</code></pre>\nThe directive `suppress _warning` does not directly affect documentation\nand is documented together wit h service config validation.",
941 "id": "Documentation", 1146 "id": "Documentation",
942 "properties": { 1147 "properties": {
943 "summary": { 1148 "summary": {
944 "description": "A short summary of what the service does. Ca n only be provided by\nplain text.", 1149 "description": "A short summary of what the service does. Ca n only be provided by\nplain text.",
945 "type": "string" 1150 "type": "string"
946 }, 1151 },
947 "documentationRootUrl": { 1152 "documentationRootUrl": {
948 "description": "The URL to the root of documentation.", 1153 "description": "The URL to the root of documentation.",
949 "type": "string" 1154 "type": "string"
950 }, 1155 },
1156 "overview": {
1157 "description": "Declares a single overview page. For example :\n<pre><code>documentation:\n summary: ...\n overview: &#40;== include overvi ew.md ==&#41;\n</code></pre>\nThis is a shortcut for the following declaration ( using pages style):\n<pre><code>documentation:\n summary: ...\n pages:\n - na me: Overview\n content: &#40;== include overview.md ==&#41;\n</code></pre>\nN ote: you cannot specify both `overview` field and `pages` field.",
1158 "type": "string"
1159 },
951 "rules": { 1160 "rules": {
952 "description": "A list of documentation rules that apply to individual API elements.\n\n**NOTE:** All service configuration rules follow \"l ast one wins\" order.", 1161 "description": "A list of documentation rules that apply to individual API elements.\n\n**NOTE:** All service configuration rules follow \"l ast one wins\" order.",
953 "items": { 1162 "items": {
954 "$ref": "DocumentationRule" 1163 "$ref": "DocumentationRule"
955 }, 1164 },
956 "type": "array" 1165 "type": "array"
957 }, 1166 },
958 "overview": {
959 "description": "Declares a single overview page. For example :\n<pre><code>documentation:\n summary: ...\n overview: &#40;== include overvi ew.md ==&#41;\n</code></pre>\nThis is a shortcut for the following declaration ( using pages style):\n<pre><code>documentation:\n summary: ...\n pages:\n - na me: Overview\n content: &#40;== include overview.md ==&#41;\n</code></pre>\nN ote: you cannot specify both `overview` field and `pages` field.",
960 "type": "string"
961 },
962 "pages": { 1167 "pages": {
963 "description": "The top level pages for the documentation se t.", 1168 "description": "The top level pages for the documentation se t.",
964 "items": { 1169 "items": {
965 "$ref": "Page" 1170 "$ref": "Page"
966 }, 1171 },
967 "type": "array" 1172 "type": "array"
968 } 1173 }
969 }, 1174 },
970 "type": "object" 1175 "type": "object"
971 }, 1176 },
972 "Condition": { 1177 "Condition": {
973 "description": "A condition to be met.", 1178 "description": "A condition to be met.",
974 "id": "Condition", 1179 "id": "Condition",
975 "properties": { 1180 "properties": {
976 "value": { 1181 "svc": {
977 "description": "DEPRECATED. Use 'values' instead.", 1182 "description": "Trusted attributes discharged by the service .",
978 "type": "string" 1183 "type": "string"
979 }, 1184 },
980 "sys": { 1185 "sys": {
981 "description": "Trusted attributes supplied by any service t hat owns resources and uses\nthe IAM system for access control.", 1186 "description": "Trusted attributes supplied by any service t hat owns resources and uses\nthe IAM system for access control.",
982 "enum": [ 1187 "enum": [
983 "NO_ATTR", 1188 "NO_ATTR",
984 "REGION", 1189 "REGION",
985 "SERVICE", 1190 "SERVICE",
986 "NAME", 1191 "NAME",
987 "IP" 1192 "IP"
988 ], 1193 ],
989 "enumDescriptions": [ 1194 "enumDescriptions": [
990 "Default non-attribute type", 1195 "Default non-attribute type",
991 "Region of the resource", 1196 "Region of the resource",
992 "Service name", 1197 "Service name",
993 "Resource name", 1198 "Resource name",
994 "IP address of the caller" 1199 "IP address of the caller"
995 ], 1200 ],
996 "type": "string" 1201 "type": "string"
997 }, 1202 },
1203 "value": {
1204 "description": "DEPRECATED. Use 'values' instead.",
1205 "type": "string"
1206 },
998 "iam": { 1207 "iam": {
999 "description": "Trusted attributes supplied by the IAM syste m.", 1208 "description": "Trusted attributes supplied by the IAM syste m.",
1000 "enum": [ 1209 "enum": [
1001 "NO_ATTR", 1210 "NO_ATTR",
1002 "AUTHORITY", 1211 "AUTHORITY",
1003 "ATTRIBUTION", 1212 "ATTRIBUTION",
1004 "APPROVER", 1213 "APPROVER",
1005 "JUSTIFICATION_TYPE" 1214 "JUSTIFICATION_TYPE"
1006 ], 1215 ],
1007 "enumDescriptions": [ 1216 "enumDescriptions": [
(...skipping 24 matching lines...) Expand all
1032 ], 1241 ],
1033 "enumDescriptions": [ 1242 "enumDescriptions": [
1034 "Default no-op.", 1243 "Default no-op.",
1035 "DEPRECATED. Use IN instead.", 1244 "DEPRECATED. Use IN instead.",
1036 "DEPRECATED. Use NOT_IN instead.", 1245 "DEPRECATED. Use NOT_IN instead.",
1037 "The condition is true if the subject (or any element of it if it is\na set) matches any of the supplied values.", 1246 "The condition is true if the subject (or any element of it if it is\na set) matches any of the supplied values.",
1038 "The condition is true if the subject (or every element of it if it is\na set) matches none of the supplied values.", 1247 "The condition is true if the subject (or every element of it if it is\na set) matches none of the supplied values.",
1039 "Subject is discharged" 1248 "Subject is discharged"
1040 ], 1249 ],
1041 "type": "string" 1250 "type": "string"
1042 },
1043 "svc": {
1044 "description": "Trusted attributes discharged by the service .",
1045 "type": "string"
1046 } 1251 }
1047 }, 1252 },
1048 "type": "object" 1253 "type": "object"
1049 }, 1254 },
1050 "AuditLogConfig": { 1255 "AuditLogConfig": {
1051 "description": "Provides the configuration for logging a type of per missions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type \": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and ' DATA_WRITE' logging, while exempting\nfoo@gmail.com from DATA_READ logging.", 1256 "description": "Provides the configuration for logging a type of per missions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n \"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type \": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and ' DATA_WRITE' logging, while exempting\nfoo@gmail.com from DATA_READ logging.",
1052 "id": "AuditLogConfig", 1257 "id": "AuditLogConfig",
1053 "properties": { 1258 "properties": {
1054 "exemptedMembers": { 1259 "exemptedMembers": {
1055 "description": "Specifies the identities that do not cause l ogging for this type of\npermission.\nFollows the same format of Binding.members .", 1260 "description": "Specifies the identities that do not cause l ogging for this type of\npermission.\nFollows the same format of Binding.members .",
(...skipping 18 matching lines...) Expand all
1074 ], 1279 ],
1075 "type": "string" 1280 "type": "string"
1076 } 1281 }
1077 }, 1282 },
1078 "type": "object" 1283 "type": "object"
1079 }, 1284 },
1080 "ConfigSource": { 1285 "ConfigSource": {
1081 "description": "Represents a source file which is used to generate t he service configuration\ndefined by `google.api.Service`.", 1286 "description": "Represents a source file which is used to generate t he service configuration\ndefined by `google.api.Service`.",
1082 "id": "ConfigSource", 1287 "id": "ConfigSource",
1083 "properties": { 1288 "properties": {
1289 "id": {
1290 "description": "A unique ID for a specific instance of this message, typically assigned\nby the client for tracking purpose. If empty, the s erver may choose to\ngenerate one instead.",
1291 "type": "string"
1292 },
1084 "files": { 1293 "files": {
1085 "description": "Set of source configuration files that are u sed to generate a service\nconfiguration (`google.api.Service`).", 1294 "description": "Set of source configuration files that are u sed to generate a service\nconfiguration (`google.api.Service`).",
1086 "items": { 1295 "items": {
1087 "$ref": "ConfigFile" 1296 "$ref": "ConfigFile"
1088 }, 1297 },
1089 "type": "array" 1298 "type": "array"
1090 },
1091 "id": {
1092 "description": "A unique ID for a specific instance of this message, typically assigned\nby the client for tracking purpose. If empty, the s erver may choose to\ngenerate one instead.",
1093 "type": "string"
1094 } 1299 }
1095 }, 1300 },
1096 "type": "object" 1301 "type": "object"
1097 }, 1302 },
1098 "AuthenticationRule": { 1303 "AuthenticationRule": {
1099 "description": "Authentication rules for the service.\n\nBy default, if a method has any authentication requirements, every request\nmust include a valid credential matching one of the requirements.\nIt's an error to include mor e than one kind of credential in a single\nrequest.\n\nIf a method doesn't have any auth requirements, request credentials will be\nignored.", 1304 "description": "Authentication rules for the service.\n\nBy default, if a method has any authentication requirements, every request\nmust include a valid credential matching one of the requirements.\nIt's an error to include mor e than one kind of credential in a single\nrequest.\n\nIf a method doesn't have any auth requirements, request credentials will be\nignored.",
1100 "id": "AuthenticationRule", 1305 "id": "AuthenticationRule",
1101 "properties": { 1306 "properties": {
1307 "customAuth": {
1308 "$ref": "CustomAuthRequirements",
1309 "description": "Configuration for custom authentication."
1310 },
1102 "oauth": { 1311 "oauth": {
1103 "$ref": "OAuthRequirements", 1312 "$ref": "OAuthRequirements",
1104 "description": "The requirements for OAuth credentials." 1313 "description": "The requirements for OAuth credentials."
1105 }, 1314 },
1106 "customAuth": {
1107 "$ref": "CustomAuthRequirements",
1108 "description": "Configuration for custom authentication."
1109 },
1110 "requirements": { 1315 "requirements": {
1111 "description": "Requirements for additional authentication p roviders.", 1316 "description": "Requirements for additional authentication p roviders.",
1112 "items": { 1317 "items": {
1113 "$ref": "AuthRequirement" 1318 "$ref": "AuthRequirement"
1114 }, 1319 },
1115 "type": "array" 1320 "type": "array"
1116 }, 1321 },
1322 "allowWithoutCredential": {
1323 "description": "Whether to allow requests without a credenti al. The credential can be\nan OAuth token, Google cookies (first-party auth) or EndUserCreds.\n\nFor requests without credentials, if the service control enviro nment is\nspecified, each incoming request **must** be associated with a service \nconsumer. This can be done by passing an API key that belongs to a consumer\np roject.",
1324 "type": "boolean"
1325 },
1117 "selector": { 1326 "selector": {
1118 "description": "Selects the methods to which this rule appli es.\n\nRefer to selector for syntax details.", 1327 "description": "Selects the methods to which this rule appli es.\n\nRefer to selector for syntax details.",
1119 "type": "string" 1328 "type": "string"
1120 },
1121 "allowWithoutCredential": {
1122 "description": "Whether to allow requests without a credenti al. The credential can be\nan OAuth token, Google cookies (first-party auth) or EndUserCreds.\n\nFor requests without credentials, if the service control enviro nment is\nspecified, each incoming request **must** be associated with a service \nconsumer. This can be done by passing an API key that belongs to a consumer\np roject.",
1123 "type": "boolean"
1124 } 1329 }
1125 }, 1330 },
1126 "type": "object" 1331 "type": "object"
1127 }, 1332 },
1128 "BackendRule": { 1333 "BackendRule": {
1129 "description": "A backend rule provides configuration for an individ ual API element.", 1334 "description": "A backend rule provides configuration for an individ ual API element.",
1130 "id": "BackendRule", 1335 "id": "BackendRule",
1131 "properties": { 1336 "properties": {
1337 "minDeadline": {
1338 "description": "Minimum deadline in seconds needed for this method. Calls having deadline\nvalue lower than this will be rejected.",
1339 "format": "double",
1340 "type": "number"
1341 },
1132 "address": { 1342 "address": {
1133 "description": "The address of the API backend.", 1343 "description": "The address of the API backend.",
1134 "type": "string" 1344 "type": "string"
1135 }, 1345 },
1136 "selector": { 1346 "selector": {
1137 "description": "Selects the methods to which this rule appli es.\n\nRefer to selector for syntax details.", 1347 "description": "Selects the methods to which this rule appli es.\n\nRefer to selector for syntax details.",
1138 "type": "string" 1348 "type": "string"
1139 }, 1349 },
1140 "deadline": { 1350 "deadline": {
1141 "description": "The number of seconds to wait for a response from a request. The\ndefault depends on the deployment context.", 1351 "description": "The number of seconds to wait for a response from a request. The\ndefault depends on the deployment context.",
1142 "format": "double", 1352 "format": "double",
1143 "type": "number" 1353 "type": "number"
1144 },
1145 "minDeadline": {
1146 "description": "Minimum deadline in seconds needed for this method. Calls having deadline\nvalue lower than this will be rejected.",
1147 "format": "double",
1148 "type": "number"
1149 } 1354 }
1150 }, 1355 },
1151 "type": "object" 1356 "type": "object"
1357 },
1358 "UndeleteServiceResponse": {
1359 "description": "Response message for UndeleteService method.",
1360 "id": "UndeleteServiceResponse",
1361 "properties": {
1362 "service": {
1363 "$ref": "ManagedService",
1364 "description": "Revived service resource."
1365 }
1366 },
1367 "type": "object"
1152 }, 1368 },
1153 "Policy": { 1369 "Policy": {
1154 "description": "Defines an Identity and Access Management (IAM) poli cy. It is used to\nspecify access control policies for Cloud Platform resources. \n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n `members` to a `role`, where the members can be user accounts, Google groups,\nG oogle domains, and service accounts. A `role` is a named list of permissions\nde fined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike @example.com\",\n \"group:admins@example.com\",\n \"domain :google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccoun t.com\",\n ]\n },\n {\n \"role\": \"roles/viewer \",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide ](https://cloud.google.com/iam).", 1370 "description": "Defines an Identity and Access Management (IAM) poli cy. It is used to\nspecify access control policies for Cloud Platform resources. \n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n `members` to a `role`, where the members can be user accounts, Google groups,\nG oogle domains, and service accounts. A `role` is a named list of permissions\nde fined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike @example.com\",\n \"group:admins@example.com\",\n \"domain :google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccoun t.com\",\n ]\n },\n {\n \"role\": \"roles/viewer \",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n }\n\nFor a description of IAM and its features, see the\n[IAM developer's guide ](https://cloud.google.com/iam).",
1155 "id": "Policy", 1371 "id": "Policy",
1156 "properties": { 1372 "properties": {
1157 "auditConfigs": {
1158 "description": "Specifies cloud audit logging configuration for this policy.",
1159 "items": {
1160 "$ref": "AuditConfig"
1161 },
1162 "type": "array"
1163 },
1164 "bindings": {
1165 "description": "Associates a list of `members` to a `role`.\ n`bindings` with no members will result in an error.",
1166 "items": {
1167 "$ref": "Binding"
1168 },
1169 "type": "array"
1170 },
1171 "etag": { 1373 "etag": {
1172 "description": "`etag` is used for optimistic concurrency co ntrol as a way to help\nprevent simultaneous updates of a policy from overwritin g each other.\nIt is strongly suggested that systems make use of the `etag` in t he\nread-modify-write cycle to perform policy updates in order to avoid race\nco nditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that t heir change will be applied to the same version of the policy.\n\nIf no `etag` i s provided in the call to `setIamPolicy`, then the existing\npolicy is overwritt en blindly.", 1374 "description": "`etag` is used for optimistic concurrency co ntrol as a way to help\nprevent simultaneous updates of a policy from overwritin g each other.\nIt is strongly suggested that systems make use of the `etag` in t he\nread-modify-write cycle to perform policy updates in order to avoid race\nco nditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that t heir change will be applied to the same version of the policy.\n\nIf no `etag` i s provided in the call to `setIamPolicy`, then the existing\npolicy is overwritt en blindly.",
1173 "format": "byte", 1375 "format": "byte",
1174 "type": "string" 1376 "type": "string"
1175 }, 1377 },
1176 "iamOwned": { 1378 "iamOwned": {
1177 "type": "boolean" 1379 "type": "boolean"
1178 }, 1380 },
1179 "rules": { 1381 "rules": {
1180 "description": "If more than one rule is specified, the rule s are applied in the following\nmanner:\n- All matching LOG rules are always app lied.\n- If any DENY/DENY_WITH_LOG rule matches, permission is denied.\n Loggin g will be applied if one or more matching rule requires logging.\n- Otherwise, i f any ALLOW/ALLOW_WITH_LOG rule matches, permission is\n granted.\n Logging wi ll be applied if one or more matching rule requires logging.\n- Otherwise, if no rule applies, permission is denied.", 1382 "description": "If more than one rule is specified, the rule s are applied in the following\nmanner:\n- All matching LOG rules are always app lied.\n- If any DENY/DENY_WITH_LOG rule matches, permission is denied.\n Loggin g will be applied if one or more matching rule requires logging.\n- Otherwise, i f any ALLOW/ALLOW_WITH_LOG rule matches, permission is\n granted.\n Logging wi ll be applied if one or more matching rule requires logging.\n- Otherwise, if no rule applies, permission is denied.",
1181 "items": { 1383 "items": {
1182 "$ref": "Rule" 1384 "$ref": "Rule"
1183 }, 1385 },
1184 "type": "array" 1386 "type": "array"
1185 }, 1387 },
1186 "version": { 1388 "version": {
1187 "description": "Version of the `Policy`. The default version is 0.", 1389 "description": "Version of the `Policy`. The default version is 0.",
1188 "format": "int32", 1390 "format": "int32",
1189 "type": "integer" 1391 "type": "integer"
1392 },
1393 "auditConfigs": {
1394 "description": "Specifies cloud audit logging configuration for this policy.",
1395 "items": {
1396 "$ref": "AuditConfig"
1397 },
1398 "type": "array"
1399 },
1400 "bindings": {
1401 "description": "Associates a list of `members` to a `role`.\ n`bindings` with no members will result in an error.",
1402 "items": {
1403 "$ref": "Binding"
1404 },
1405 "type": "array"
1190 } 1406 }
1191 }, 1407 },
1192 "type": "object" 1408 "type": "object"
1193 },
1194 "UndeleteServiceResponse": {
1195 "description": "Response message for UndeleteService method.",
1196 "id": "UndeleteServiceResponse",
1197 "properties": {
1198 "service": {
1199 "$ref": "ManagedService",
1200 "description": "Revived service resource."
1201 }
1202 },
1203 "type": "object"
1204 }, 1409 },
1205 "Api": { 1410 "Api": {
1206 "description": "Api is a light-weight descriptor for a protocol buff er service.", 1411 "description": "Api is a light-weight descriptor for a protocol buff er service.",
1207 "id": "Api", 1412 "id": "Api",
1208 "properties": { 1413 "properties": {
1209 "methods": {
1210 "description": "The methods of this api, in unspecified orde r.",
1211 "items": {
1212 "$ref": "Method"
1213 },
1214 "type": "array"
1215 },
1216 "name": { 1414 "name": {
1217 "description": "The fully qualified name of this api, includ ing package name\nfollowed by the api's simple name.", 1415 "description": "The fully qualified name of this api, includ ing package name\nfollowed by the api's simple name.",
1218 "type": "string" 1416 "type": "string"
1219 }, 1417 },
1220 "sourceContext": {
1221 "$ref": "SourceContext",
1222 "description": "Source context for the protocol buffer servi ce represented by this\nmessage."
1223 },
1224 "syntax": { 1418 "syntax": {
1225 "description": "The source syntax of the service.", 1419 "description": "The source syntax of the service.",
1226 "enum": [ 1420 "enum": [
1227 "SYNTAX_PROTO2", 1421 "SYNTAX_PROTO2",
1228 "SYNTAX_PROTO3" 1422 "SYNTAX_PROTO3"
1229 ], 1423 ],
1230 "enumDescriptions": [ 1424 "enumDescriptions": [
1231 "Syntax `proto2`.", 1425 "Syntax `proto2`.",
1232 "Syntax `proto3`." 1426 "Syntax `proto3`."
1233 ], 1427 ],
1234 "type": "string" 1428 "type": "string"
1235 }, 1429 },
1430 "sourceContext": {
1431 "$ref": "SourceContext",
1432 "description": "Source context for the protocol buffer servi ce represented by this\nmessage."
1433 },
1236 "version": { 1434 "version": {
1237 "description": "A version string for this api. If specified, must have the form\n`major-version.minor-version`, as in `1.10`. If the minor v ersion\nis omitted, it defaults to zero. If the entire version field is\nempty, the major version is derived from the package name, as\noutlined below. If the f ield is not empty, the version in the\npackage name will be verified to be consi stent with what is\nprovided here.\n\nThe versioning schema uses [semantic\nvers ioning](http://semver.org) where the major version number\nindicates a breaking change and the minor version an additive,\nnon-breaking change. Both version num bers are signals to users\nwhat to expect from different versions, and should be carefully\nchosen based on the product plan.\n\nThe major version is also refle cted in the package name of the\nAPI, which must end in `v<major-version>`, as i n\n`google.feature.v1`. For major versions 0 and 1, the suffix can\nbe omitted. Zero major versions must only be used for\nexperimental, none-GA apis.\n", 1435 "description": "A version string for this api. If specified, must have the form\n`major-version.minor-version`, as in `1.10`. If the minor v ersion\nis omitted, it defaults to zero. If the entire version field is\nempty, the major version is derived from the package name, as\noutlined below. If the f ield is not empty, the version in the\npackage name will be verified to be consi stent with what is\nprovided here.\n\nThe versioning schema uses [semantic\nvers ioning](http://semver.org) where the major version number\nindicates a breaking change and the minor version an additive,\nnon-breaking change. Both version num bers are signals to users\nwhat to expect from different versions, and should be carefully\nchosen based on the product plan.\n\nThe major version is also refle cted in the package name of the\nAPI, which must end in `v<major-version>`, as i n\n`google.feature.v1`. For major versions 0 and 1, the suffix can\nbe omitted. Zero major versions must only be used for\nexperimental, none-GA apis.\n",
1238 "type": "string" 1436 "type": "string"
1239 }, 1437 },
1240 "mixins": { 1438 "mixins": {
1241 "description": "Included APIs. See Mixin.", 1439 "description": "Included APIs. See Mixin.",
1242 "items": { 1440 "items": {
1243 "$ref": "Mixin" 1441 "$ref": "Mixin"
1244 }, 1442 },
1245 "type": "array" 1443 "type": "array"
1246 }, 1444 },
1247 "options": { 1445 "options": {
1248 "description": "Any metadata attached to the API.", 1446 "description": "Any metadata attached to the API.",
1249 "items": { 1447 "items": {
1250 "$ref": "Option" 1448 "$ref": "Option"
1251 }, 1449 },
1252 "type": "array" 1450 "type": "array"
1451 },
1452 "methods": {
1453 "description": "The methods of this api, in unspecified orde r.",
1454 "items": {
1455 "$ref": "Method"
1456 },
1457 "type": "array"
1253 } 1458 }
1254 }, 1459 },
1255 "type": "object" 1460 "type": "object"
1256 }, 1461 },
1462 "DataAccessOptions": {
1463 "description": "Write a Data Access (Gin) log",
1464 "id": "DataAccessOptions",
1465 "properties": {},
1466 "type": "object"
1467 },
1257 "MetricRule": { 1468 "MetricRule": {
1258 "description": "Bind API methods to metrics. Binding a method to a m etric causes that\nmetric's configured quota behaviors to apply to the method ca ll.", 1469 "description": "Bind API methods to metrics. Binding a method to a m etric causes that\nmetric's configured quota behaviors to apply to the method ca ll.",
1259 "id": "MetricRule", 1470 "id": "MetricRule",
1260 "properties": { 1471 "properties": {
1261 "selector": {
1262 "description": "Selects the methods to which this rule appli es.\n\nRefer to selector for syntax details.",
1263 "type": "string"
1264 },
1265 "metricCosts": { 1472 "metricCosts": {
1266 "additionalProperties": { 1473 "additionalProperties": {
1267 "format": "int64", 1474 "format": "int64",
1268 "type": "string" 1475 "type": "string"
1269 }, 1476 },
1270 "description": "Metrics to update when the selected methods are called, and the associated\ncost applied to each metric.\n\nThe key of the m ap is the metric name, and the values are the amount\nincreased for the metric a gainst which the quota limits are defined.\nThe value must not be negative.", 1477 "description": "Metrics to update when the selected methods are called, and the associated\ncost applied to each metric.\n\nThe key of the m ap is the metric name, and the values are the amount\nincreased for the metric a gainst which the quota limits are defined.\nThe value must not be negative.",
1271 "type": "object" 1478 "type": "object"
1479 },
1480 "selector": {
1481 "description": "Selects the methods to which this rule appli es.\n\nRefer to selector for syntax details.",
1482 "type": "string"
1272 } 1483 }
1273 }, 1484 },
1274 "type": "object" 1485 "type": "object"
1275 }, 1486 },
1276 "DataAccessOptions": {
1277 "description": "Write a Data Access (Gin) log",
1278 "id": "DataAccessOptions",
1279 "properties": {},
1280 "type": "object"
1281 },
1282 "Authentication": { 1487 "Authentication": {
1283 "description": "`Authentication` defines the authentication configur ation for an API.\n\nExample for an API targeted for external use:\n\n name: calendar.googleapis.com\n authentication:\n providers:\n - id: goog le_calendar_auth\n jwks_uri: https://www.googleapis.com/oauth2/v1/certs\n issuer: https://securetoken.google.com\n rules:\n - selector: \"*\"\n requirements:\n provider_id: google_calendar_auth", 1488 "description": "`Authentication` defines the authentication configur ation for an API.\n\nExample for an API targeted for external use:\n\n name: calendar.googleapis.com\n authentication:\n providers:\n - id: goog le_calendar_auth\n jwks_uri: https://www.googleapis.com/oauth2/v1/certs\n issuer: https://securetoken.google.com\n rules:\n - selector: \"*\"\n requirements:\n provider_id: google_calendar_auth",
1284 "id": "Authentication", 1489 "id": "Authentication",
1285 "properties": { 1490 "properties": {
1286 "rules": { 1491 "rules": {
1287 "description": "A list of authentication rules that apply to individual API methods.\n\n**NOTE:** All service configuration rules follow \"l ast one wins\" order.", 1492 "description": "A list of authentication rules that apply to individual API methods.\n\n**NOTE:** All service configuration rules follow \"l ast one wins\" order.",
1288 "items": { 1493 "items": {
1289 "$ref": "AuthenticationRule" 1494 "$ref": "AuthenticationRule"
1290 }, 1495 },
1291 "type": "array" 1496 "type": "array"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
1354 "description": "The name of the page. It will be used as an identity of the page to\ngenerate URI of the page, text of the link to this page in navigation,\netc. The full page name (start from the root page name to this page\nconcatenated with `.`) can be used as reference to the page in your\ndocum entation. For example:\n<pre><code>pages:\n- name: Tutorial\n content: &#40;== include tutorial.md ==&#41;\n subpages:\n - name: Java\n content: &#40;== i nclude tutorial_java.md ==&#41;\n</code></pre>\nYou can reference `Java` page us ing Markdown reference link syntax:\n`Java`.", 1559 "description": "The name of the page. It will be used as an identity of the page to\ngenerate URI of the page, text of the link to this page in navigation,\netc. The full page name (start from the root page name to this page\nconcatenated with `.`) can be used as reference to the page in your\ndocum entation. For example:\n<pre><code>pages:\n- name: Tutorial\n content: &#40;== include tutorial.md ==&#41;\n subpages:\n - name: Java\n content: &#40;== i nclude tutorial_java.md ==&#41;\n</code></pre>\nYou can reference `Java` page us ing Markdown reference link syntax:\n`Java`.",
1355 "type": "string" 1560 "type": "string"
1356 } 1561 }
1357 }, 1562 },
1358 "type": "object" 1563 "type": "object"
1359 }, 1564 },
1360 "Status": { 1565 "Status": {
1361 "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RP C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie ces of data: error code, error message,\nand error details. The error code shoul d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message tha t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa cing\nerror message is needed, put the localized message in the error details or \nlocalize it in the client. The optional error details may contain arbitrary\ni nformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` that can be used for common error conditions.\n\n# Lang uage mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` mess age is\nexposed in different client libraries and different wire protocols, it c an be\nmapped differently. For example, it will likely be mapped to some excepti ons\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n \nThe error model and the `Status` message can be used in a variety of\nenvironm ents, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n - Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step m ay\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\ n- Asynchronous operations. If an API call embeds asynchronous operation\n re sults in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are store d in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.", 1566 "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RP C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie ces of data: error code, error message,\nand error details. The error code shoul d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message tha t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa cing\nerror message is needed, put the localized message in the error details or \nlocalize it in the client. The optional error details may contain arbitrary\ni nformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` that can be used for common error conditions.\n\n# Lang uage mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` mess age is\nexposed in different client libraries and different wire protocols, it c an be\nmapped differently. For example, it will likely be mapped to some excepti ons\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n \nThe error model and the `Status` message can be used in a variety of\nenvironm ents, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n - Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step m ay\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\ n- Asynchronous operations. If an API call embeds asynchronous operation\n re sults in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are store d in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
1362 "id": "Status", 1567 "id": "Status",
1363 "properties": { 1568 "properties": {
1364 "code": {
1365 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
1366 "format": "int32",
1367 "type": "integer"
1368 },
1369 "message": { 1569 "message": {
1370 "description": "A developer-facing error message, which shou ld be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.", 1570 "description": "A developer-facing error message, which shou ld be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
1371 "type": "string" 1571 "type": "string"
1372 }, 1572 },
1373 "details": { 1573 "details": {
1374 "description": "A list of messages that carry the error deta ils. There will be a\ncommon set of message types for APIs to use.", 1574 "description": "A list of messages that carry the error deta ils. There will be a\ncommon set of message types for APIs to use.",
1375 "items": { 1575 "items": {
1376 "additionalProperties": { 1576 "additionalProperties": {
1377 "description": "Properties of the object. Contains f ield @type with type URL.", 1577 "description": "Properties of the object. Contains f ield @type with type URL.",
1378 "type": "any" 1578 "type": "any"
1379 }, 1579 },
1380 "type": "object" 1580 "type": "object"
1381 }, 1581 },
1382 "type": "array" 1582 "type": "array"
1583 },
1584 "code": {
1585 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
1586 "format": "int32",
1587 "type": "integer"
1383 } 1588 }
1384 }, 1589 },
1385 "type": "object" 1590 "type": "object"
1386 }, 1591 },
1387 "Binding": { 1592 "Binding": {
1388 "description": "Associates `members` with a `role`.", 1593 "description": "Associates `members` with a `role`.",
1389 "id": "Binding", 1594 "id": "Binding",
1390 "properties": { 1595 "properties": {
1391 "condition": { 1596 "condition": {
1392 "$ref": "Expr", 1597 "$ref": "Expr",
(...skipping 10 matching lines...) Expand all
1403 "description": "Role that is assigned to `members`.\nFor exa mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", 1608 "description": "Role that is assigned to `members`.\nFor exa mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
1404 "type": "string" 1609 "type": "string"
1405 } 1610 }
1406 }, 1611 },
1407 "type": "object" 1612 "type": "object"
1408 }, 1613 },
1409 "AuthProvider": { 1614 "AuthProvider": {
1410 "description": "Configuration for an anthentication provider, includ ing support for\n[JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-o auth-json-web-token-32).", 1615 "description": "Configuration for an anthentication provider, includ ing support for\n[JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-o auth-json-web-token-32).",
1411 "id": "AuthProvider", 1616 "id": "AuthProvider",
1412 "properties": { 1617 "properties": {
1413 "audiences": { 1618 "issuer": {
1414 "description": "The list of JWT\n[audiences](https://tools.i etf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).\nthat are allowe d to access. A JWT containing any of these audiences will\nbe accepted. When thi s setting is absent, only JWTs with audience\n\"https://Service_name/API_name\"\ nwill be accepted. For example, if no audiences are in the setting,\nLibraryServ ice API will only accept JWTs with the following audience\n\"https://library-exa mple.googleapis.com/google.example.library.v1.LibraryService\".\n\nExample:\n\n audiences: bookstore_android.apps.googleusercontent.com,\n book store_web.apps.googleusercontent.com", 1619 "description": "Identifies the principal that issued the JWT . See\nhttps://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4. 1.1\nUsually a URL or an email address.\n\nExample: https://securetoken.google.c om\nExample: 1234567-compute@developer.gserviceaccount.com",
1415 "type": "string" 1620 "type": "string"
1416 }, 1621 },
1417 "id": { 1622 "id": {
1418 "description": "The unique identifier of the auth provider. It will be referred to by\n`AuthRequirement.provider_id`.\n\nExample: \"bookstor e_auth\".", 1623 "description": "The unique identifier of the auth provider. It will be referred to by\n`AuthRequirement.provider_id`.\n\nExample: \"bookstor e_auth\".",
1419 "type": "string" 1624 "type": "string"
1420 }, 1625 },
1421 "issuer": { 1626 "jwksUri": {
1422 "description": "Identifies the principal that issued the JWT . See\nhttps://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4. 1.1\nUsually a URL or an email address.\n\nExample: https://securetoken.google.c om\nExample: 1234567-compute@developer.gserviceaccount.com", 1627 "description": "URL of the provider's public key set to vali date signature of the JWT. See\n[OpenID Discovery](https://openid.net/specs/open id-connect-discovery-1_0.html#ProviderMetadata).\nOptional if the key set docume nt:\n - can be retrieved from\n [OpenID Discovery](https://openid.net/specs/op enid-connect-discovery-1_0.html\n of the issuer.\n - can be inferred from the email domain of the issuer (e.g. a Google service account).\n\nExample: https:// www.googleapis.com/oauth2/v1/certs",
1423 "type": "string" 1628 "type": "string"
1424 }, 1629 },
1425 "jwksUri": { 1630 "audiences": {
1426 "description": "URL of the provider's public key set to vali date signature of the JWT. See\n[OpenID Discovery](https://openid.net/specs/open id-connect-discovery-1_0.html#ProviderMetadata).\nOptional if the key set docume nt:\n - can be retrieved from\n [OpenID Discovery](https://openid.net/specs/op enid-connect-discovery-1_0.html\n of the issuer.\n - can be inferred from the email domain of the issuer (e.g. a Google service account).\n\nExample: https:// www.googleapis.com/oauth2/v1/certs", 1631 "description": "The list of JWT\n[audiences](https://tools.i etf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3).\nthat are allowe d to access. A JWT containing any of these audiences will\nbe accepted. When thi s setting is absent, only JWTs with audience\n\"https://Service_name/API_name\"\ nwill be accepted. For example, if no audiences are in the setting,\nLibraryServ ice API will only accept JWTs with the following audience\n\"https://library-exa mple.googleapis.com/google.example.library.v1.LibraryService\".\n\nExample:\n\n audiences: bookstore_android.apps.googleusercontent.com,\n book store_web.apps.googleusercontent.com",
1427 "type": "string" 1632 "type": "string"
1428 } 1633 }
1429 }, 1634 },
1430 "type": "object" 1635 "type": "object"
1431 }, 1636 },
1432 "Service": { 1637 "Service": {
1433 "description": "`Service` is the root object of Google service confi guration schema. It\ndescribes basic information about a service, such as the na me and the\ntitle, and delegates other aspects to sub-sections. Each sub-section is\neither a proto message or a repeated proto message that configures a\nspeci fic aspect, such as auth. See each proto message definition for details.\n\nExam ple:\n\n type: google.api.Service\n config_version: 3\n name: calendar. googleapis.com\n title: Google Calendar API\n apis:\n - name: google.ca lendar.v3.Calendar\n authentication:\n providers:\n - id: google_ca lendar_auth\n jwks_uri: https://www.googleapis.com/oauth2/v1/certs\n issuer: https://securetoken.google.com\n rules:\n - selector: \"*\" \n requirements:\n provider_id: google_calendar_auth", 1638 "description": "`Service` is the root object of Google service confi guration schema. It\ndescribes basic information about a service, such as the na me and the\ntitle, and delegates other aspects to sub-sections. Each sub-section is\neither a proto message or a repeated proto message that configures a\nspeci fic aspect, such as auth. See each proto message definition for details.\n\nExam ple:\n\n type: google.api.Service\n config_version: 3\n name: calendar. googleapis.com\n title: Google Calendar API\n apis:\n - name: google.ca lendar.v3.Calendar\n authentication:\n providers:\n - id: google_ca lendar_auth\n jwks_uri: https://www.googleapis.com/oauth2/v1/certs\n issuer: https://securetoken.google.com\n rules:\n - selector: \"*\" \n requirements:\n provider_id: google_calendar_auth",
1434 "id": "Service", 1639 "id": "Service",
1435 "properties": { 1640 "properties": {
1641 "control": {
1642 "$ref": "Control",
1643 "description": "Configuration for the service control plane. "
1644 },
1645 "configVersion": {
1646 "description": "The version of the service configuration. Th e config version may\ninfluence interpretation of the configuration, for example , to\ndetermine defaults. This is documented together with applicable\noptions. The current default for the config version itself is `3`.",
1647 "format": "uint32",
1648 "type": "integer"
1649 },
1436 "monitoring": { 1650 "monitoring": {
1437 "$ref": "Monitoring", 1651 "$ref": "Monitoring",
1438 "description": "Monitoring configuration." 1652 "description": "Monitoring configuration."
1439 }, 1653 },
1440 "producerProjectId": { 1654 "producerProjectId": {
1441 "description": "The Google project that owns this service.", 1655 "description": "The Google project that owns this service.",
1442 "type": "string" 1656 "type": "string"
1443 }, 1657 },
1444 "systemTypes": { 1658 "systemTypes": {
1445 "description": "A list of all proto message types included i n this API service.\nIt serves similar purpose as [google.api.Service.types], ex cept that\nthese types are not needed by user-defined APIs. Therefore, they will not\nshow up in the generated discovery doc. This field should only be used\nto define system APIs in ESF.", 1659 "description": "A list of all proto message types included i n this API service.\nIt serves similar purpose as [google.api.Service.types], ex cept that\nthese types are not needed by user-defined APIs. Therefore, they will not\nshow up in the generated discovery doc. This field should only be used\nto define system APIs in ESF.",
(...skipping 22 matching lines...) Expand all
1468 "description": "The product title for this service.", 1682 "description": "The product title for this service.",
1469 "type": "string" 1683 "type": "string"
1470 }, 1684 },
1471 "endpoints": { 1685 "endpoints": {
1472 "description": "Configuration for network endpoints. If thi s is empty, then an endpoint\nwith the same name as the service is automatically generated to service all\ndefined APIs.", 1686 "description": "Configuration for network endpoints. If thi s is empty, then an endpoint\nwith the same name as the service is automatically generated to service all\ndefined APIs.",
1473 "items": { 1687 "items": {
1474 "$ref": "Endpoint" 1688 "$ref": "Endpoint"
1475 }, 1689 },
1476 "type": "array" 1690 "type": "array"
1477 }, 1691 },
1692 "apis": {
1693 "description": "A list of API interfaces exported by this se rvice. Only the `name` field\nof the google.protobuf.Api needs to be provided by the configuration\nauthor, as the remaining fields will be derived from the IDL during the\nnormalization process. It is an error to specify an API interface h ere\nwhich cannot be resolved against the associated IDL files.",
1694 "items": {
1695 "$ref": "Api"
1696 },
1697 "type": "array"
1698 },
1478 "logs": { 1699 "logs": {
1479 "description": "Defines the logs used by this service.", 1700 "description": "Defines the logs used by this service.",
1480 "items": { 1701 "items": {
1481 "$ref": "LogDescriptor" 1702 "$ref": "LogDescriptor"
1482 }, 1703 },
1483 "type": "array" 1704 "type": "array"
1484 }, 1705 },
1485 "apis": {
1486 "description": "A list of API interfaces exported by this se rvice. Only the `name` field\nof the google.protobuf.Api needs to be provided by the configuration\nauthor, as the remaining fields will be derived from the IDL during the\nnormalization process. It is an error to specify an API interface h ere\nwhich cannot be resolved against the associated IDL files.",
1487 "items": {
1488 "$ref": "Api"
1489 },
1490 "type": "array"
1491 },
1492 "types": { 1706 "types": {
1493 "description": "A list of all proto message types included i n this API service.\nTypes referenced directly or indirectly by the `apis` are\n automatically included. Messages which are not referenced but\nshall be include d, such as types used by the `google.protobuf.Any` type,\nshould be listed here by name. Example:\n\n types:\n - name: google.protobuf.Int32", 1707 "description": "A list of all proto message types included i n this API service.\nTypes referenced directly or indirectly by the `apis` are\n automatically included. Messages which are not referenced but\nshall be include d, such as types used by the `google.protobuf.Any` type,\nshould be listed here by name. Example:\n\n types:\n - name: google.protobuf.Int32",
1494 "items": { 1708 "items": {
1495 "$ref": "Type" 1709 "$ref": "Type"
1496 }, 1710 },
1497 "type": "array" 1711 "type": "array"
1498 }, 1712 },
1499 "sourceInfo": { 1713 "sourceInfo": {
1500 "$ref": "SourceInfo", 1714 "$ref": "SourceInfo",
1501 "description": "Output only. The source information for this configuration if available." 1715 "description": "Output only. The source information for this configuration if available."
1502 }, 1716 },
1503 "http": { 1717 "http": {
1504 "$ref": "Http", 1718 "$ref": "Http",
1505 "description": "HTTP configuration." 1719 "description": "HTTP configuration."
1506 }, 1720 },
1721 "systemParameters": {
1722 "$ref": "SystemParameters",
1723 "description": "System parameter configuration."
1724 },
1507 "backend": { 1725 "backend": {
1508 "$ref": "Backend", 1726 "$ref": "Backend",
1509 "description": "API backend configuration." 1727 "description": "API backend configuration."
1510 }, 1728 },
1511 "systemParameters": {
1512 "$ref": "SystemParameters",
1513 "description": "System parameter configuration."
1514 },
1515 "documentation": { 1729 "documentation": {
1516 "$ref": "Documentation", 1730 "$ref": "Documentation",
1517 "description": "Additional API documentation." 1731 "description": "Additional API documentation."
1518 }, 1732 },
1519 "logging": { 1733 "logging": {
1520 "$ref": "Logging", 1734 "$ref": "Logging",
1521 "description": "Logging configuration." 1735 "description": "Logging configuration."
1522 }, 1736 },
1523 "monitoredResources": { 1737 "monitoredResources": {
1524 "description": "Defines the monitored resources used by this service. This is required\nby the Service.monitoring and Service.logging config urations.", 1738 "description": "Defines the monitored resources used by this service. This is required\nby the Service.monitoring and Service.logging config urations.",
1525 "items": { 1739 "items": {
1526 "$ref": "MonitoredResourceDescriptor" 1740 "$ref": "MonitoredResourceDescriptor"
1527 }, 1741 },
1528 "type": "array" 1742 "type": "array"
1529 }, 1743 },
1744 "context": {
1745 "$ref": "Context",
1746 "description": "Context configuration."
1747 },
1530 "enums": { 1748 "enums": {
1531 "description": "A list of all enum types included in this AP I service. Enums\nreferenced directly or indirectly by the `apis` are automatic ally\nincluded. Enums which are not referenced but shall be included\nshould be listed here by name. Example:\n\n enums:\n - name: google.someapi.v1.Some Enum", 1749 "description": "A list of all enum types included in this AP I service. Enums\nreferenced directly or indirectly by the `apis` are automatic ally\nincluded. Enums which are not referenced but shall be included\nshould be listed here by name. Example:\n\n enums:\n - name: google.someapi.v1.Some Enum",
1532 "items": { 1750 "items": {
1533 "$ref": "Enum" 1751 "$ref": "Enum"
1534 }, 1752 },
1535 "type": "array" 1753 "type": "array"
1536 }, 1754 },
1537 "context": {
1538 "$ref": "Context",
1539 "description": "Context configuration."
1540 },
1541 "id": { 1755 "id": {
1542 "description": "A unique ID for a specific instance of this message, typically assigned\nby the client for tracking purpose. If empty, the s erver may choose to\ngenerate one instead.", 1756 "description": "A unique ID for a specific instance of this message, typically assigned\nby the client for tracking purpose. If empty, the s erver may choose to\ngenerate one instead.",
1543 "type": "string" 1757 "type": "string"
1544 }, 1758 },
1545 "usage": { 1759 "usage": {
1546 "$ref": "Usage", 1760 "$ref": "Usage",
1547 "description": "Configuration controlling usage of this serv ice." 1761 "description": "Configuration controlling usage of this serv ice."
1548 }, 1762 },
1549 "metrics": { 1763 "metrics": {
1550 "description": "Defines the metrics used by this service.", 1764 "description": "Defines the metrics used by this service.",
1551 "items": { 1765 "items": {
1552 "$ref": "MetricDescriptor" 1766 "$ref": "MetricDescriptor"
1553 }, 1767 },
1554 "type": "array" 1768 "type": "array"
1555 }, 1769 },
1556 "authentication": { 1770 "authentication": {
1557 "$ref": "Authentication", 1771 "$ref": "Authentication",
1558 "description": "Auth configuration." 1772 "description": "Auth configuration."
1559 }, 1773 },
1560 "experimental": { 1774 "experimental": {
1561 "$ref": "Experimental", 1775 "$ref": "Experimental",
1562 "description": "Experimental configuration." 1776 "description": "Experimental configuration."
1563 },
1564 "control": {
1565 "$ref": "Control",
1566 "description": "Configuration for the service control plane. "
1567 },
1568 "configVersion": {
1569 "description": "The version of the service configuration. Th e config version may\ninfluence interpretation of the configuration, for example , to\ndetermine defaults. This is documented together with applicable\noptions. The current default for the config version itself is `3`.",
1570 "format": "uint32",
1571 "type": "integer"
1572 } 1777 }
1573 }, 1778 },
1574 "type": "object" 1779 "type": "object"
1575 }, 1780 },
1576 "EnumValue": { 1781 "EnumValue": {
1577 "description": "Enum value definition.", 1782 "description": "Enum value definition.",
1578 "id": "EnumValue", 1783 "id": "EnumValue",
1579 "properties": { 1784 "properties": {
1785 "number": {
1786 "description": "Enum value number.",
1787 "format": "int32",
1788 "type": "integer"
1789 },
1580 "name": { 1790 "name": {
1581 "description": "Enum value name.", 1791 "description": "Enum value name.",
1582 "type": "string" 1792 "type": "string"
1583 }, 1793 },
1584 "options": { 1794 "options": {
1585 "description": "Protocol buffer options.", 1795 "description": "Protocol buffer options.",
1586 "items": { 1796 "items": {
1587 "$ref": "Option" 1797 "$ref": "Option"
1588 }, 1798 },
1589 "type": "array" 1799 "type": "array"
1590 },
1591 "number": {
1592 "description": "Enum value number.",
1593 "format": "int32",
1594 "type": "integer"
1595 } 1800 }
1596 }, 1801 },
1597 "type": "object" 1802 "type": "object"
1598 }, 1803 },
1599 "ListOperationsResponse": { 1804 "ListOperationsResponse": {
1600 "description": "The response message for Operations.ListOperations." , 1805 "description": "The response message for Operations.ListOperations." ,
1601 "id": "ListOperationsResponse", 1806 "id": "ListOperationsResponse",
1602 "properties": { 1807 "properties": {
1808 "nextPageToken": {
1809 "description": "The standard List next-page token.",
1810 "type": "string"
1811 },
1603 "operations": { 1812 "operations": {
1604 "description": "A list of operations that matches the specif ied filter in the request.", 1813 "description": "A list of operations that matches the specif ied filter in the request.",
1605 "items": { 1814 "items": {
1606 "$ref": "Operation" 1815 "$ref": "Operation"
1607 }, 1816 },
1608 "type": "array" 1817 "type": "array"
1609 },
1610 "nextPageToken": {
1611 "description": "The standard List next-page token.",
1612 "type": "string"
1613 } 1818 }
1614 }, 1819 },
1615 "type": "object" 1820 "type": "object"
1821 },
1822 "OperationMetadata": {
1823 "description": "The metadata associated with a long running operatio n resource.",
1824 "id": "OperationMetadata",
1825 "properties": {
1826 "startTime": {
1827 "description": "The start time of the operation.",
1828 "format": "google-datetime",
1829 "type": "string"
1830 },
1831 "steps": {
1832 "description": "Detailed status information for each step. T he order is undetermined.",
1833 "items": {
1834 "$ref": "Step"
1835 },
1836 "type": "array"
1837 },
1838 "resourceNames": {
1839 "description": "The full name of the resources that this ope ration is directly\nassociated with.",
1840 "items": {
1841 "type": "string"
1842 },
1843 "type": "array"
1844 },
1845 "progressPercentage": {
1846 "description": "Percentage of completion of this operation, ranging from 0 to 100.",
1847 "format": "int32",
1848 "type": "integer"
1849 }
1850 },
1851 "type": "object"
1616 }, 1852 },
1617 "CustomHttpPattern": { 1853 "CustomHttpPattern": {
1618 "description": "A custom pattern is used for defining custom HTTP ve rb.", 1854 "description": "A custom pattern is used for defining custom HTTP ve rb.",
1619 "id": "CustomHttpPattern", 1855 "id": "CustomHttpPattern",
1620 "properties": { 1856 "properties": {
1621 "kind": { 1857 "kind": {
1622 "description": "The name of this custom HTTP verb.", 1858 "description": "The name of this custom HTTP verb.",
1623 "type": "string" 1859 "type": "string"
1624 }, 1860 },
1625 "path": { 1861 "path": {
1626 "description": "The path matched by this custom verb.", 1862 "description": "The path matched by this custom verb.",
1627 "type": "string" 1863 "type": "string"
1628 } 1864 }
1629 }, 1865 },
1630 "type": "object" 1866 "type": "object"
1631 }, 1867 },
1632 "OperationMetadata": {
1633 "description": "The metadata associated with a long running operatio n resource.",
1634 "id": "OperationMetadata",
1635 "properties": {
1636 "progressPercentage": {
1637 "description": "Percentage of completion of this operation, ranging from 0 to 100.",
1638 "format": "int32",
1639 "type": "integer"
1640 },
1641 "startTime": {
1642 "description": "The start time of the operation.",
1643 "format": "google-datetime",
1644 "type": "string"
1645 },
1646 "resourceNames": {
1647 "description": "The full name of the resources that this ope ration is directly\nassociated with.",
1648 "items": {
1649 "type": "string"
1650 },
1651 "type": "array"
1652 },
1653 "steps": {
1654 "description": "Detailed status information for each step. T he order is undetermined.",
1655 "items": {
1656 "$ref": "Step"
1657 },
1658 "type": "array"
1659 }
1660 },
1661 "type": "object"
1662 },
1663 "SystemParameterRule": { 1868 "SystemParameterRule": {
1664 "description": "Define a system parameter rule mapping system parame ter definitions to\nmethods.", 1869 "description": "Define a system parameter rule mapping system parame ter definitions to\nmethods.",
1665 "id": "SystemParameterRule", 1870 "id": "SystemParameterRule",
1666 "properties": { 1871 "properties": {
1872 "selector": {
1873 "description": "Selects the methods to which this rule appli es. Use '*' to indicate all\nmethods in all APIs.\n\nRefer to selector for synta x details.",
1874 "type": "string"
1875 },
1667 "parameters": { 1876 "parameters": {
1668 "description": "Define parameters. Multiple names may be def ined for a parameter.\nFor a given method call, only one of them should be used. If multiple\nnames are used the behavior is implementation-dependent.\nIf none of the specified names are present the behavior is\nparameter-dependent.", 1877 "description": "Define parameters. Multiple names may be def ined for a parameter.\nFor a given method call, only one of them should be used. If multiple\nnames are used the behavior is implementation-dependent.\nIf none of the specified names are present the behavior is\nparameter-dependent.",
1669 "items": { 1878 "items": {
1670 "$ref": "SystemParameter" 1879 "$ref": "SystemParameter"
1671 }, 1880 },
1672 "type": "array" 1881 "type": "array"
1882 }
1883 },
1884 "type": "object"
1885 },
1886 "VisibilityRule": {
1887 "description": "A visibility rule provides visibility configuration for an individual API\nelement.",
1888 "id": "VisibilityRule",
1889 "properties": {
1890 "restriction": {
1891 "description": "A comma-separated list of visibility labels that apply to the `selector`.\nAny of the listed labels can be used to grant the visibility.\n\nIf a rule has multiple labels, removing one of the labels but no t all of\nthem can break clients.\n\nExample:\n\n visibility:\n rules:\n - selector: google.calendar.Calendar.EnhancedSearch\n restriction: GOOGLE_INTERNAL, TRUSTED_TESTER\n\nRemoving GOOGLE_INTERNAL from this restrictio n will break clients that\nrely on this method and only had access to it through GOOGLE_INTERNAL.",
1892 "type": "string"
1673 }, 1893 },
1674 "selector": { 1894 "selector": {
1675 "description": "Selects the methods to which this rule appli es. Use '*' to indicate all\nmethods in all APIs.\n\nRefer to selector for synta x details.", 1895 "description": "Selects methods, messages, fields, enums, et c. to which this rule applies.\n\nRefer to selector for syntax details.",
1676 "type": "string" 1896 "type": "string"
1677 } 1897 }
1678 }, 1898 },
1679 "type": "object" 1899 "type": "object"
1680 }, 1900 },
1681 "HttpRule": { 1901 "HttpRule": {
1682 "description": "`HttpRule` defines the mapping of an RPC method to o ne or more HTTP\nREST API methods. The mapping specifies how different portions of the RPC\nrequest message are mapped to URL path, URL query parameters, and\nH TTP request body. The mapping is typically specified as an\n`google.api.http` an notation on the RPC method,\nsee \"google/api/annotations.proto\" for details.\n \nThe mapping consists of a field specifying the path template and\nmethod kind. The path template can refer to fields in the request\nmessage, as in the examp le below which describes a REST GET\noperation on a resource collection of messa ges:\n\n\n service Messaging {\n rpc GetMessage(GetMessageRequest) retur ns (Message) {\n option (google.api.http).get = \"/v1/messages/{message_i d}/{sub.subfield}\";\n }\n }\n message GetMessageRequest {\n mes sage SubMessage {\n string subfield = 1;\n }\n string message_i d = 1; // mapped to the URL\n SubMessage sub = 2; // `sub.subfield` is u rl-mapped\n }\n message Message {\n string text = 1; // content of th e resource\n }\n\nThe same http annotation can alternatively be expressed ins ide the\n`GRPC API Configuration` YAML file.\n\n http:\n rules:\n - selector: <proto_package_name>.Messaging.GetMessage\n get: /v1/messa ges/{message_id}/{sub.subfield}\n\nThis definition enables an automatic, bidrect ional mapping of HTTP\nJSON to RPC. Example:\n\nHTTP | RPC\n-----|-----\n`GET /v 1/messages/123456/foo` | `GetMessage(message_id: \"123456\" sub: SubMessage(sub field: \"foo\"))`\n\nIn general, not only fields but also field paths can be ref erenced\nfrom a path pattern. Fields mapped to the path pattern cannot be\nrepea ted and must have a primitive (non-message) type.\n\nAny fields in the request m essage which are not bound by the path\npattern automatically become (optional) HTTP query\nparameters. Assume the following definition of the request message:\ n\n\n service Messaging {\n rpc GetMessage(GetMessageRequest) returns (M essage) {\n option (google.api.http).get = \"/v1/messages/{message_id}\"; \n }\n }\n message GetMessageRequest {\n message SubMessage {\n string subfield = 1;\n }\n string message_id = 1; // mapped to the URL\n int64 revision = 2; // becomes a parameter\n SubMessage s ub = 3; // `sub.subfield` becomes a parameter\n }\n\n\nThis enables a HTTP JSON to RPC mapping as below:\n\nHTTP | RPC\n-----|-----\n`GET /v1/messages/123 456?revision=2&sub.subfield=foo` | `GetMessage(message_id: \"123456\" revision: 2 sub: SubMessage(subfield: \"foo\"))`\n\nNote that fields which are mapped to H TTP parameters must have a\nprimitive type or a repeated primitive type. Message types are not\nallowed. In the case of a repeated type, the parameter can be\nr epeated in the URL, as in `...?param=A&param=B`.\n\nFor HTTP method kinds which allow a request body, the `body` field\nspecifies the mapping. Consider a REST u pdate method on the\nmessage resource collection:\n\n\n service Messaging {\n rpc UpdateMessage(UpdateMessageRequest) returns (Message) {\n optio n (google.api.http) = {\n put: \"/v1/messages/{message_id}\"\n body: \"message\"\n };\n }\n }\n message UpdateMessageRequest {\n string message_id = 1; // mapped to the URL\n Message message = 2 ; // mapped to the body\n }\n\n\nThe following HTTP JSON to RPC mapping is enabled, where the\nrepresentation of the JSON in the request body is determined by\nprotos JSON encoding:\n\nHTTP | RPC\n-----|-----\n`PUT /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id: \"123456\" message { text: \ "Hi!\" })`\n\nThe special name `*` can be used in the body mapping to define tha t\nevery field not bound by the path template should be mapped to the\nrequest b ody. This enables the following alternative definition of\nthe update method:\n \n service Messaging {\n rpc UpdateMessage(Message) returns (Message) {\ n option (google.api.http) = {\n put: \"/v1/messages/{message_id }\"\n body: \"*\"\n };\n }\n }\n message Message {\n string message_id = 1;\n string text = 2;\n }\n\n\nThe following HT TP JSON to RPC mapping is enabled:\n\nHTTP | RPC\n-----|-----\n`PUT /v1/messages /123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id: \"123456\" text: \"H i!\")`\n\nNote that when using `*` in the body mapping, it is not possible to\nh ave HTTP parameters, as all fields not bound by the path end in\nthe body. This makes this option more rarely used in practice of\ndefining REST APIs. The commo n usage of `*` is in custom methods\nwhich don't use the URL at all for transfer ring data.\n\nIt is possible to define multiple HTTP methods for one RPC by usin g\nthe `additional_bindings` option. Example:\n\n service Messaging {\n rpc GetMessage(GetMessageRequest) returns (Message) {\n option (google.ap i.http) = {\n get: \"/v1/messages/{message_id}\"\n additional_ bindings {\n get: \"/v1/users/{user_id}/messages/{message_id}\"\n }\n };\n }\n }\n message GetMessageRequest {\n stri ng message_id = 1;\n string user_id = 2;\n }\n\n\nThis enables the follo wing two alternative HTTP JSON to RPC\nmappings:\n\nHTTP | RPC\n-----|-----\n`GE T /v1/messages/123456` | `GetMessage(message_id: \"123456\")`\n`GET /v1/users/me /messages/123456` | `GetMessage(user_id: \"me\" message_id: \"123456\")`\n\n# Ru les for HTTP mapping\n\nThe rules for mapping HTTP path, query parameters, and b ody fields\nto the request message are as follows:\n\n1. The `body` field specif ies either `*` or a field path, or is\n omitted. If omitted, it indicates ther e is no HTTP request body.\n2. Leaf fields (recursive expansion of nested messag es in the\n request) can be classified into three types:\n (a) Matched in t he URL template.\n (b) Covered by body (if body is `*`, everything except (a) fields;\n else everything under the body field)\n (c) All other field s.\n3. URL query parameters found in the HTTP request are mapped to (c) fields.\ n4. Any body sent with an HTTP request can contain only (b) fields.\n\nThe synta x of the path template is as follows:\n\n Template = \"/\" Segments [ Verb ] ;\n Segments = Segment { \"/\" Segment } ;\n Segment = \"*\" | \"**\" | L ITERAL | Variable ;\n Variable = \"{\" FieldPath [ \"=\" Segments ] \"}\" ;\n FieldPath = IDENT { \".\" IDENT } ;\n Verb = \":\" LITERAL ;\n\nThe s yntax `*` matches a single path segment. The syntax `**` matches zero\nor more p ath segments, which must be the last part of the path except the\n`Verb`. The sy ntax `LITERAL` matches literal text in the path.\n\nThe syntax `Variable` matche s part of the URL path as specified by its\ntemplate. A variable template must n ot contain other variables. If a variable\nmatches a single path segment, its te mplate may be omitted, e.g. `{var}`\nis equivalent to `{var=*}`.\n\nIf a variabl e contains exactly one path segment, such as `\"{var}\"` or\n`\"{var=*}\"`, when such a variable is expanded into a URL path, all characters\nexcept `[-_.~0-9a- zA-Z]` are percent-encoded. Such variables show up in the\nDiscovery Document as `{var}`.\n\nIf a variable contains one or more path segments, such as `\"{var=f oo/*}\"`\nor `\"{var=**}\"`, when such a variable is expanded into a URL path, a ll\ncharacters except `[-_.~/0-9a-zA-Z]` are percent-encoded. Such variables\nsh ow up in the Discovery Document as `{+var}`.\n\nNOTE: While the single segment v ariable matches the semantics of\n[RFC 6570](https://tools.ietf.org/html/rfc6570 ) Section 3.2.2\nSimple String Expansion, the multi segment variable **does not* * match\nRFC 6570 Reserved Expansion. The reason is that the Reserved Expansion\ ndoes not expand special characters like `?` and `#`, which would lead\nto inval id URLs.\n\nNOTE: the field paths in variables and in the `body` must not refer to\nrepeated fields or map fields.", 1902 "description": "`HttpRule` defines the mapping of an RPC method to o ne or more HTTP\nREST API methods. The mapping specifies how different portions of the RPC\nrequest message are mapped to URL path, URL query parameters, and\nH TTP request body. The mapping is typically specified as an\n`google.api.http` an notation on the RPC method,\nsee \"google/api/annotations.proto\" for details.\n \nThe mapping consists of a field specifying the path template and\nmethod kind. The path template can refer to fields in the request\nmessage, as in the examp le below which describes a REST GET\noperation on a resource collection of messa ges:\n\n\n service Messaging {\n rpc GetMessage(GetMessageRequest) retur ns (Message) {\n option (google.api.http).get = \"/v1/messages/{message_i d}/{sub.subfield}\";\n }\n }\n message GetMessageRequest {\n mes sage SubMessage {\n string subfield = 1;\n }\n string message_i d = 1; // mapped to the URL\n SubMessage sub = 2; // `sub.subfield` is u rl-mapped\n }\n message Message {\n string text = 1; // content of th e resource\n }\n\nThe same http annotation can alternatively be expressed ins ide the\n`GRPC API Configuration` YAML file.\n\n http:\n rules:\n - selector: <proto_package_name>.Messaging.GetMessage\n get: /v1/messa ges/{message_id}/{sub.subfield}\n\nThis definition enables an automatic, bidrect ional mapping of HTTP\nJSON to RPC. Example:\n\nHTTP | RPC\n-----|-----\n`GET /v 1/messages/123456/foo` | `GetMessage(message_id: \"123456\" sub: SubMessage(sub field: \"foo\"))`\n\nIn general, not only fields but also field paths can be ref erenced\nfrom a path pattern. Fields mapped to the path pattern cannot be\nrepea ted and must have a primitive (non-message) type.\n\nAny fields in the request m essage which are not bound by the path\npattern automatically become (optional) HTTP query\nparameters. Assume the following definition of the request message:\ n\n\n service Messaging {\n rpc GetMessage(GetMessageRequest) returns (M essage) {\n option (google.api.http).get = \"/v1/messages/{message_id}\"; \n }\n }\n message GetMessageRequest {\n message SubMessage {\n string subfield = 1;\n }\n string message_id = 1; // mapped to the URL\n int64 revision = 2; // becomes a parameter\n SubMessage s ub = 3; // `sub.subfield` becomes a parameter\n }\n\n\nThis enables a HTTP JSON to RPC mapping as below:\n\nHTTP | RPC\n-----|-----\n`GET /v1/messages/123 456?revision=2&sub.subfield=foo` | `GetMessage(message_id: \"123456\" revision: 2 sub: SubMessage(subfield: \"foo\"))`\n\nNote that fields which are mapped to H TTP parameters must have a\nprimitive type or a repeated primitive type. Message types are not\nallowed. In the case of a repeated type, the parameter can be\nr epeated in the URL, as in `...?param=A&param=B`.\n\nFor HTTP method kinds which allow a request body, the `body` field\nspecifies the mapping. Consider a REST u pdate method on the\nmessage resource collection:\n\n\n service Messaging {\n rpc UpdateMessage(UpdateMessageRequest) returns (Message) {\n optio n (google.api.http) = {\n put: \"/v1/messages/{message_id}\"\n body: \"message\"\n };\n }\n }\n message UpdateMessageRequest {\n string message_id = 1; // mapped to the URL\n Message message = 2 ; // mapped to the body\n }\n\n\nThe following HTTP JSON to RPC mapping is enabled, where the\nrepresentation of the JSON in the request body is determined by\nprotos JSON encoding:\n\nHTTP | RPC\n-----|-----\n`PUT /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id: \"123456\" message { text: \ "Hi!\" })`\n\nThe special name `*` can be used in the body mapping to define tha t\nevery field not bound by the path template should be mapped to the\nrequest b ody. This enables the following alternative definition of\nthe update method:\n \n service Messaging {\n rpc UpdateMessage(Message) returns (Message) {\ n option (google.api.http) = {\n put: \"/v1/messages/{message_id }\"\n body: \"*\"\n };\n }\n }\n message Message {\n string message_id = 1;\n string text = 2;\n }\n\n\nThe following HT TP JSON to RPC mapping is enabled:\n\nHTTP | RPC\n-----|-----\n`PUT /v1/messages /123456 { \"text\": \"Hi!\" }` | `UpdateMessage(message_id: \"123456\" text: \"H i!\")`\n\nNote that when using `*` in the body mapping, it is not possible to\nh ave HTTP parameters, as all fields not bound by the path end in\nthe body. This makes this option more rarely used in practice of\ndefining REST APIs. The commo n usage of `*` is in custom methods\nwhich don't use the URL at all for transfer ring data.\n\nIt is possible to define multiple HTTP methods for one RPC by usin g\nthe `additional_bindings` option. Example:\n\n service Messaging {\n rpc GetMessage(GetMessageRequest) returns (Message) {\n option (google.ap i.http) = {\n get: \"/v1/messages/{message_id}\"\n additional_ bindings {\n get: \"/v1/users/{user_id}/messages/{message_id}\"\n }\n };\n }\n }\n message GetMessageRequest {\n stri ng message_id = 1;\n string user_id = 2;\n }\n\n\nThis enables the follo wing two alternative HTTP JSON to RPC\nmappings:\n\nHTTP | RPC\n-----|-----\n`GE T /v1/messages/123456` | `GetMessage(message_id: \"123456\")`\n`GET /v1/users/me /messages/123456` | `GetMessage(user_id: \"me\" message_id: \"123456\")`\n\n# Ru les for HTTP mapping\n\nThe rules for mapping HTTP path, query parameters, and b ody fields\nto the request message are as follows:\n\n1. The `body` field specif ies either `*` or a field path, or is\n omitted. If omitted, it indicates ther e is no HTTP request body.\n2. Leaf fields (recursive expansion of nested messag es in the\n request) can be classified into three types:\n (a) Matched in t he URL template.\n (b) Covered by body (if body is `*`, everything except (a) fields;\n else everything under the body field)\n (c) All other field s.\n3. URL query parameters found in the HTTP request are mapped to (c) fields.\ n4. Any body sent with an HTTP request can contain only (b) fields.\n\nThe synta x of the path template is as follows:\n\n Template = \"/\" Segments [ Verb ] ;\n Segments = Segment { \"/\" Segment } ;\n Segment = \"*\" | \"**\" | L ITERAL | Variable ;\n Variable = \"{\" FieldPath [ \"=\" Segments ] \"}\" ;\n FieldPath = IDENT { \".\" IDENT } ;\n Verb = \":\" LITERAL ;\n\nThe s yntax `*` matches a single path segment. The syntax `**` matches zero\nor more p ath segments, which must be the last part of the path except the\n`Verb`. The sy ntax `LITERAL` matches literal text in the path.\n\nThe syntax `Variable` matche s part of the URL path as specified by its\ntemplate. A variable template must n ot contain other variables. If a variable\nmatches a single path segment, its te mplate may be omitted, e.g. `{var}`\nis equivalent to `{var=*}`.\n\nIf a variabl e contains exactly one path segment, such as `\"{var}\"` or\n`\"{var=*}\"`, when such a variable is expanded into a URL path, all characters\nexcept `[-_.~0-9a- zA-Z]` are percent-encoded. Such variables show up in the\nDiscovery Document as `{var}`.\n\nIf a variable contains one or more path segments, such as `\"{var=f oo/*}\"`\nor `\"{var=**}\"`, when such a variable is expanded into a URL path, a ll\ncharacters except `[-_.~/0-9a-zA-Z]` are percent-encoded. Such variables\nsh ow up in the Discovery Document as `{+var}`.\n\nNOTE: While the single segment v ariable matches the semantics of\n[RFC 6570](https://tools.ietf.org/html/rfc6570 ) Section 3.2.2\nSimple String Expansion, the multi segment variable **does not* * match\nRFC 6570 Reserved Expansion. The reason is that the Reserved Expansion\ ndoes not expand special characters like `?` and `#`, which would lead\nto inval id URLs.\n\nNOTE: the field paths in variables and in the `body` must not refer to\nrepeated fields or map fields.",
1683 "id": "HttpRule", 1903 "id": "HttpRule",
1684 "properties": { 1904 "properties": {
1685 "get": {
1686 "description": "Used for listing and getting information abo ut resources.",
1687 "type": "string"
1688 },
1689 "patch": {
1690 "description": "Used for updating a resource.",
1691 "type": "string"
1692 },
1693 "put": {
1694 "description": "Used for updating a resource.",
1695 "type": "string"
1696 },
1697 "delete": { 1905 "delete": {
1698 "description": "Used for deleting a resource.", 1906 "description": "Used for deleting a resource.",
1699 "type": "string" 1907 "type": "string"
1700 }, 1908 },
1701 "body": { 1909 "body": {
1702 "description": "The name of the request field whose value is mapped to the HTTP body, or\n`*` for mapping all fields not captured by the pat h pattern to the HTTP\nbody. NOTE: the referred field must not be a repeated fie ld and must be\npresent at the top-level of request message type.", 1910 "description": "The name of the request field whose value is mapped to the HTTP body, or\n`*` for mapping all fields not captured by the pat h pattern to the HTTP\nbody. NOTE: the referred field must not be a repeated fie ld and must be\npresent at the top-level of request message type.",
1703 "type": "string" 1911 "type": "string"
1704 }, 1912 },
1705 "post": {
1706 "description": "Used for creating a resource.",
1707 "type": "string"
1708 },
1709 "mediaDownload": { 1913 "mediaDownload": {
1710 "$ref": "MediaDownload", 1914 "$ref": "MediaDownload",
1711 "description": "Use this only for Scotty Requests. Do not us e this for bytestream methods.\nFor media support, add instead [][google.bytestr eam.RestByteStream] as an\nAPI to your configuration." 1915 "description": "Use this only for Scotty Requests. Do not us e this for bytestream methods.\nFor media support, add instead [][google.bytestr eam.RestByteStream] as an\nAPI to your configuration."
1712 }, 1916 },
1917 "post": {
1918 "description": "Used for creating a resource.",
1919 "type": "string"
1920 },
1713 "restMethodName": { 1921 "restMethodName": {
1714 "description": "Optional. The rest method name is by default derived from the URL\npattern. If specified, this field overrides the default m ethod name.\nExample:\n\n rpc CreateResource(CreateResourceRequest)\n returns (CreateResourceResponse) {\n option (google.api.http) = {\n post: \"/v1/resources\",\n body: \"resource\",\n rest_method_name: \"insert\"\n };\n }\n\nThis method has the automatically derived rest m ethod name \"create\", but\n for backwards compatability with apiary, it is spec ified as insert.", 1922 "description": "Optional. The rest method name is by default derived from the URL\npattern. If specified, this field overrides the default m ethod name.\nExample:\n\n rpc CreateResource(CreateResourceRequest)\n returns (CreateResourceResponse) {\n option (google.api.http) = {\n post: \"/v1/resources\",\n body: \"resource\",\n rest_method_name: \"insert\"\n };\n }\n\nThis method has the automatically derived rest m ethod name \"create\", but\n for backwards compatability with apiary, it is spec ified as insert.",
1715 "type": "string" 1923 "type": "string"
1716 }, 1924 },
1717 "additionalBindings": { 1925 "additionalBindings": {
1718 "description": "Additional HTTP bindings for the selector. N ested bindings must\nnot contain an `additional_bindings` field themselves (that is,\nthe nesting may only be one level deep).", 1926 "description": "Additional HTTP bindings for the selector. N ested bindings must\nnot contain an `additional_bindings` field themselves (that is,\nthe nesting may only be one level deep).",
1719 "items": { 1927 "items": {
1720 "$ref": "HttpRule" 1928 "$ref": "HttpRule"
1721 }, 1929 },
1722 "type": "array" 1930 "type": "array"
(...skipping 10 matching lines...) Expand all
1733 "$ref": "MediaUpload", 1941 "$ref": "MediaUpload",
1734 "description": "Use this only for Scotty Requests. Do not us e this for media support using\nBytestream, add instead\n[][google.bytestream.Re stByteStream] as an API to your\nconfiguration for Bytestream methods." 1942 "description": "Use this only for Scotty Requests. Do not us e this for media support using\nBytestream, add instead\n[][google.bytestream.Re stByteStream] as an API to your\nconfiguration for Bytestream methods."
1735 }, 1943 },
1736 "selector": { 1944 "selector": {
1737 "description": "Selects methods to which this rule applies.\ n\nRefer to selector for syntax details.", 1945 "description": "Selects methods to which this rule applies.\ n\nRefer to selector for syntax details.",
1738 "type": "string" 1946 "type": "string"
1739 }, 1947 },
1740 "custom": { 1948 "custom": {
1741 "$ref": "CustomHttpPattern", 1949 "$ref": "CustomHttpPattern",
1742 "description": "The custom pattern is used for specifying an HTTP method that is not\nincluded in the `pattern` field, such as HEAD, or \"*\ " to leave the\nHTTP method unspecified for this rule. The wild-card rule is use ful\nfor services that provide content to Web (HTML) clients." 1950 "description": "The custom pattern is used for specifying an HTTP method that is not\nincluded in the `pattern` field, such as HEAD, or \"*\ " to leave the\nHTTP method unspecified for this rule. The wild-card rule is use ful\nfor services that provide content to Web (HTML) clients."
1743 } 1951 },
1744 }, 1952 "patch": {
1745 "type": "object" 1953 "description": "Used for updating a resource.",
1746 },
1747 "VisibilityRule": {
1748 "description": "A visibility rule provides visibility configuration for an individual API\nelement.",
1749 "id": "VisibilityRule",
1750 "properties": {
1751 "restriction": {
1752 "description": "A comma-separated list of visibility labels that apply to the `selector`.\nAny of the listed labels can be used to grant the visibility.\n\nIf a rule has multiple labels, removing one of the labels but no t all of\nthem can break clients.\n\nExample:\n\n visibility:\n rules:\n - selector: google.calendar.Calendar.EnhancedSearch\n restriction: GOOGLE_INTERNAL, TRUSTED_TESTER\n\nRemoving GOOGLE_INTERNAL from this restrictio n will break clients that\nrely on this method and only had access to it through GOOGLE_INTERNAL.",
1753 "type": "string" 1954 "type": "string"
1754 }, 1955 },
1755 "selector": { 1956 "get": {
1756 "description": "Selects methods, messages, fields, enums, et c. to which this rule applies.\n\nRefer to selector for syntax details.", 1957 "description": "Used for listing and getting information abo ut resources.",
1958 "type": "string"
1959 },
1960 "put": {
1961 "description": "Used for updating a resource.",
1757 "type": "string" 1962 "type": "string"
1758 } 1963 }
1759 }, 1964 },
1760 "type": "object" 1965 "type": "object"
1761 }, 1966 },
1762 "MonitoringDestination": { 1967 "MonitoringDestination": {
1763 "description": "Configuration of a specific monitoring destination ( the producer project\nor the consumer project).", 1968 "description": "Configuration of a specific monitoring destination ( the producer project\nor the consumer project).",
1764 "id": "MonitoringDestination", 1969 "id": "MonitoringDestination",
1765 "properties": { 1970 "properties": {
1766 "monitoredResource": { 1971 "monitoredResource": {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
1802 }, 2007 },
1803 "type": "array" 2008 "type": "array"
1804 } 2009 }
1805 }, 2010 },
1806 "type": "object" 2011 "type": "object"
1807 }, 2012 },
1808 "ConfigChange": { 2013 "ConfigChange": {
1809 "description": "Output generated from semantically comparing two ver sions of a service\nconfiguration.\n\nIncludes detailed information about a fiel d that have changed with\napplicable advice about potential consequences for the change, such as\nbackwards-incompatibility.", 2014 "description": "Output generated from semantically comparing two ver sions of a service\nconfiguration.\n\nIncludes detailed information about a fiel d that have changed with\napplicable advice about potential consequences for the change, such as\nbackwards-incompatibility.",
1810 "id": "ConfigChange", 2015 "id": "ConfigChange",
1811 "properties": { 2016 "properties": {
2017 "element": {
2018 "description": "Object hierarchy path to the change, with le vels separated by a '.'\ncharacter. For repeated fields, an applicable unique id entifier field is\nused for the index (usually selector, name, or id). For maps, the term\n'key' is used. If the field has no unique identifier, the numeric ind ex\nis used.\nExamples:\n- visibility.rules[selector==\"google.LibraryService.Cr eateBook\"].restriction\n- quota.metric_rules[selector==\"google\"].metric_costs [key==\"reads\"].value\n- logging.producer_destinations[0]",
2019 "type": "string"
2020 },
2021 "advices": {
2022 "description": "Collection of advice provided for this chang e, useful for determining the\npossible impact of this change.",
2023 "items": {
2024 "$ref": "Advice"
2025 },
2026 "type": "array"
2027 },
2028 "oldValue": {
2029 "description": "Value of the changed object in the old Servi ce configuration,\nin JSON format. This field will not be populated if ChangeTyp e == ADDED.",
2030 "type": "string"
2031 },
1812 "newValue": { 2032 "newValue": {
1813 "description": "Value of the changed object in the new Servi ce configuration,\nin JSON format. This field will not be populated if ChangeTyp e == REMOVED.", 2033 "description": "Value of the changed object in the new Servi ce configuration,\nin JSON format. This field will not be populated if ChangeTyp e == REMOVED.",
1814 "type": "string" 2034 "type": "string"
1815 }, 2035 },
1816 "changeType": { 2036 "changeType": {
1817 "description": "The type for this change, either ADDED, REMO VED, or MODIFIED.", 2037 "description": "The type for this change, either ADDED, REMO VED, or MODIFIED.",
1818 "enum": [ 2038 "enum": [
1819 "CHANGE_TYPE_UNSPECIFIED", 2039 "CHANGE_TYPE_UNSPECIFIED",
1820 "ADDED", 2040 "ADDED",
1821 "REMOVED", 2041 "REMOVED",
1822 "MODIFIED" 2042 "MODIFIED"
1823 ], 2043 ],
1824 "enumDescriptions": [ 2044 "enumDescriptions": [
1825 "No value was provided.", 2045 "No value was provided.",
1826 "The changed object exists in the 'new' service configur ation, but not\nin the 'old' service configuration.", 2046 "The changed object exists in the 'new' service configur ation, but not\nin the 'old' service configuration.",
1827 "The changed object exists in the 'old' service configur ation, but not\nin the 'new' service configuration.", 2047 "The changed object exists in the 'old' service configur ation, but not\nin the 'new' service configuration.",
1828 "The changed object exists in both service configuration s, but its value\nis different." 2048 "The changed object exists in both service configuration s, but its value\nis different."
1829 ], 2049 ],
1830 "type": "string" 2050 "type": "string"
1831 },
1832 "element": {
1833 "description": "Object hierarchy path to the change, with le vels separated by a '.'\ncharacter. For repeated fields, an applicable unique id entifier field is\nused for the index (usually selector, name, or id). For maps, the term\n'key' is used. If the field has no unique identifier, the numeric ind ex\nis used.\nExamples:\n- visibility.rules[selector==\"google.LibraryService.Cr eateBook\"].restriction\n- quota.metric_rules[selector==\"google\"].metric_costs [key==\"reads\"].value\n- logging.producer_destinations[0]",
1834 "type": "string"
1835 },
1836 "oldValue": {
1837 "description": "Value of the changed object in the old Servi ce configuration,\nin JSON format. This field will not be populated if ChangeTyp e == ADDED.",
1838 "type": "string"
1839 },
1840 "advices": {
1841 "description": "Collection of advice provided for this chang e, useful for determining the\npossible impact of this change.",
1842 "items": {
1843 "$ref": "Advice"
1844 },
1845 "type": "array"
1846 } 2051 }
1847 }, 2052 },
1848 "type": "object" 2053 "type": "object"
1849 }, 2054 },
1850 "Quota": { 2055 "Quota": {
1851 "description": "Quota configuration helps to achieve fairness and bu dgeting in service\nusage.\n\nThe quota configuration works this way:\n- The ser vice configuration defines a set of metrics.\n- For API calls, the quota.metric_ rules maps methods to metrics with\n corresponding costs.\n- The quota.limits d efines limits on the metrics, which will be used for\n quota checks at runtime. \n\nAn example quota configuration in yaml format:\n\n quota:\n\n - name: apiWriteQpsPerProject\n metric: library.googleapis.com/write_calls\n unit: \"1/min/{project}\" # rate limit for consumer projects\n values:\n STANDARD: 10000\n\n\n # The metric rules bind all methods to the re ad_calls metric,\n # except for the UpdateBook and DeleteBook methods. These two methods\n # are mapped to the write_calls metric, with the UpdateBook m ethod\n # consuming at twice rate as the DeleteBook method.\n metric_rul es:\n - selector: \"*\"\n metric_costs:\n library.googleapis.c om/read_calls: 1\n - selector: google.example.library.v1.LibraryService.Upda teBook\n metric_costs:\n library.googleapis.com/write_calls: 2\n - selector: google.example.library.v1.LibraryService.DeleteBook\n metri c_costs:\n library.googleapis.com/write_calls: 1\n\n Corresponding Metri c definition:\n\n metrics:\n - name: library.googleapis.com/read_calls\n display_name: Read requests\n metric_kind: DELTA\n value_type : INT64\n\n - name: library.googleapis.com/write_calls\n display_name: Write requests\n metric_kind: DELTA\n value_type: INT64", 2056 "description": "Quota configuration helps to achieve fairness and bu dgeting in service\nusage.\n\nThe quota configuration works this way:\n- The ser vice configuration defines a set of metrics.\n- For API calls, the quota.metric_ rules maps methods to metrics with\n corresponding costs.\n- The quota.limits d efines limits on the metrics, which will be used for\n quota checks at runtime. \n\nAn example quota configuration in yaml format:\n\n quota:\n\n - name: apiWriteQpsPerProject\n metric: library.googleapis.com/write_calls\n unit: \"1/min/{project}\" # rate limit for consumer projects\n values:\n STANDARD: 10000\n\n\n # The metric rules bind all methods to the re ad_calls metric,\n # except for the UpdateBook and DeleteBook methods. These two methods\n # are mapped to the write_calls metric, with the UpdateBook m ethod\n # consuming at twice rate as the DeleteBook method.\n metric_rul es:\n - selector: \"*\"\n metric_costs:\n library.googleapis.c om/read_calls: 1\n - selector: google.example.library.v1.LibraryService.Upda teBook\n metric_costs:\n library.googleapis.com/write_calls: 2\n - selector: google.example.library.v1.LibraryService.DeleteBook\n metri c_costs:\n library.googleapis.com/write_calls: 1\n\n Corresponding Metri c definition:\n\n metrics:\n - name: library.googleapis.com/read_calls\n display_name: Read requests\n metric_kind: DELTA\n value_type : INT64\n\n - name: library.googleapis.com/write_calls\n display_name: Write requests\n metric_kind: DELTA\n value_type: INT64",
1852 "id": "Quota", 2057 "id": "Quota",
1853 "properties": { 2058 "properties": {
1854 "limits": { 2059 "limits": {
1855 "description": "List of `QuotaLimit` definitions for the ser vice.", 2060 "description": "List of `QuotaLimit` definitions for the ser vice.",
1856 "items": { 2061 "items": {
1857 "$ref": "QuotaLimit" 2062 "$ref": "QuotaLimit"
1858 }, 2063 },
1859 "type": "array" 2064 "type": "array"
1860 }, 2065 },
1861 "metricRules": { 2066 "metricRules": {
1862 "description": "List of `MetricRule` definitions, each one m apping a selected method to one\nor more metrics.", 2067 "description": "List of `MetricRule` definitions, each one m apping a selected method to one\nor more metrics.",
1863 "items": { 2068 "items": {
1864 "$ref": "MetricRule" 2069 "$ref": "MetricRule"
1865 }, 2070 },
1866 "type": "array" 2071 "type": "array"
1867 } 2072 }
1868 }, 2073 },
1869 "type": "object" 2074 "type": "object"
1870 }, 2075 },
1871 "Rollout": { 2076 "Rollout": {
1872 "description": "A rollout resource that defines how service configur ation versions are pushed\nto control plane systems. Typically, you create a new version of the\nservice config, and then create a Rollout to push the service c onfig.", 2077 "description": "A rollout resource that defines how service configur ation versions are pushed\nto control plane systems. Typically, you create a new version of the\nservice config, and then create a Rollout to push the service c onfig.",
1873 "id": "Rollout", 2078 "id": "Rollout",
1874 "properties": { 2079 "properties": {
1875 "serviceName": {
1876 "description": "The name of the service associated with this Rollout.",
1877 "type": "string"
1878 },
1879 "trafficPercentStrategy": {
1880 "$ref": "TrafficPercentStrategy",
1881 "description": "Google Service Control selects service confi gurations based on\ntraffic percentage."
1882 },
1883 "createdBy": {
1884 "description": "The user who created the Rollout. Readonly." ,
1885 "type": "string"
1886 },
1887 "rolloutId": {
1888 "description": "Optional unique identifier of this Rollout. Only lower case letters, digits\n and '-' are allowed.\n\nIf not specified by cl ient, the server will generate one. The generated id\nwill have the form of <dat e><revision number>, where \"date\" is the create\ndate in ISO 8601 format. \"r evision number\" is a monotonically increasing\npositive number that is reset ev ery day for each service.\nAn example of the generated rollout_id is '2016-02-16 r1'",
1889 "type": "string"
1890 },
1891 "deleteServiceStrategy": {
1892 "$ref": "DeleteServiceStrategy",
1893 "description": "The strategy associated with a rollout to de lete a `ManagedService`.\nReadonly."
1894 },
1895 "createTime": { 2080 "createTime": {
1896 "description": "Creation time of the rollout. Readonly.", 2081 "description": "Creation time of the rollout. Readonly.",
1897 "format": "google-datetime", 2082 "format": "google-datetime",
1898 "type": "string" 2083 "type": "string"
1899 }, 2084 },
1900 "status": { 2085 "status": {
1901 "description": "The status of this rollout. Readonly. In cas e of a failed rollout,\nthe system will automatically rollback to the current Ro llout\nversion. Readonly.", 2086 "description": "The status of this rollout. Readonly. In cas e of a failed rollout,\nthe system will automatically rollback to the current Ro llout\nversion. Readonly.",
1902 "enum": [ 2087 "enum": [
1903 "ROLLOUT_STATUS_UNSPECIFIED", 2088 "ROLLOUT_STATUS_UNSPECIFIED",
1904 "IN_PROGRESS", 2089 "IN_PROGRESS",
1905 "SUCCESS", 2090 "SUCCESS",
1906 "CANCELLED", 2091 "CANCELLED",
1907 "FAILED", 2092 "FAILED",
1908 "PENDING", 2093 "PENDING",
1909 "FAILED_ROLLED_BACK" 2094 "FAILED_ROLLED_BACK"
1910 ], 2095 ],
1911 "enumDescriptions": [ 2096 "enumDescriptions": [
1912 "No status specified.", 2097 "No status specified.",
1913 "The Rollout is in progress.", 2098 "The Rollout is in progress.",
1914 "The Rollout has completed successfully.", 2099 "The Rollout has completed successfully.",
1915 "The Rollout has been cancelled. This can happen if you have overlapping\nRollout pushes, and the previous ones will be cancelled.", 2100 "The Rollout has been cancelled. This can happen if you have overlapping\nRollout pushes, and the previous ones will be cancelled.",
1916 "The Rollout has failed and the rollback attempt has fai led too.", 2101 "The Rollout has failed and the rollback attempt has fai led too.",
1917 "The Rollout has not started yet and is pending for exec ution.", 2102 "The Rollout has not started yet and is pending for exec ution.",
1918 "The Rollout has failed and rolled back to the previous successful\nRollout." 2103 "The Rollout has failed and rolled back to the previous successful\nRollout."
1919 ], 2104 ],
1920 "type": "string" 2105 "type": "string"
2106 },
2107 "serviceName": {
2108 "description": "The name of the service associated with this Rollout.",
2109 "type": "string"
2110 },
2111 "trafficPercentStrategy": {
2112 "$ref": "TrafficPercentStrategy",
2113 "description": "Google Service Control selects service confi gurations based on\ntraffic percentage."
2114 },
2115 "createdBy": {
2116 "description": "The user who created the Rollout. Readonly." ,
2117 "type": "string"
2118 },
2119 "rolloutId": {
2120 "description": "Optional unique identifier of this Rollout. Only lower case letters, digits\n and '-' are allowed.\n\nIf not specified by cl ient, the server will generate one. The generated id\nwill have the form of <dat e><revision number>, where \"date\" is the create\ndate in ISO 8601 format. \"r evision number\" is a monotonically increasing\npositive number that is reset ev ery day for each service.\nAn example of the generated rollout_id is '2016-02-16 r1'",
2121 "type": "string"
2122 },
2123 "deleteServiceStrategy": {
2124 "$ref": "DeleteServiceStrategy",
2125 "description": "The strategy associated with a rollout to de lete a `ManagedService`.\nReadonly."
1921 } 2126 }
1922 }, 2127 },
1923 "type": "object" 2128 "type": "object"
1924 }, 2129 },
1925 "GenerateConfigReportRequest": { 2130 "GenerateConfigReportRequest": {
1926 "description": "Request message for GenerateConfigReport method.", 2131 "description": "Request message for GenerateConfigReport method.",
1927 "id": "GenerateConfigReportRequest", 2132 "id": "GenerateConfigReportRequest",
1928 "properties": { 2133 "properties": {
1929 "oldConfig": { 2134 "oldConfig": {
1930 "additionalProperties": { 2135 "additionalProperties": {
(...skipping 11 matching lines...) Expand all
1942 "description": "Service configuration for which we want to g enerate the report.\nFor this version of API, the supported types are\ngoogle.ap i.servicemanagement.v1.ConfigRef,\ngoogle.api.servicemanagement.v1.ConfigSource, \nand google.api.Service", 2147 "description": "Service configuration for which we want to g enerate the report.\nFor this version of API, the supported types are\ngoogle.ap i.servicemanagement.v1.ConfigRef,\ngoogle.api.servicemanagement.v1.ConfigSource, \nand google.api.Service",
1943 "type": "object" 2148 "type": "object"
1944 } 2149 }
1945 }, 2150 },
1946 "type": "object" 2151 "type": "object"
1947 }, 2152 },
1948 "SetIamPolicyRequest": { 2153 "SetIamPolicyRequest": {
1949 "description": "Request message for `SetIamPolicy` method.", 2154 "description": "Request message for `SetIamPolicy` method.",
1950 "id": "SetIamPolicyRequest", 2155 "id": "SetIamPolicyRequest",
1951 "properties": { 2156 "properties": {
2157 "policy": {
2158 "$ref": "Policy",
2159 "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An emp ty policy is a\nvalid policy but certain Cloud Platform services (such as Projec ts)\nmight reject them."
2160 },
1952 "updateMask": { 2161 "updateMask": {
1953 "description": "OPTIONAL: A FieldMask specifying which field s of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\npaths: \"bindings, etag\ "\nThis field is only used by Cloud IAM.", 2162 "description": "OPTIONAL: A FieldMask specifying which field s of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\npaths: \"bindings, etag\ "\nThis field is only used by Cloud IAM.",
1954 "format": "google-fieldmask", 2163 "format": "google-fieldmask",
1955 "type": "string" 2164 "type": "string"
1956 },
1957 "policy": {
1958 "$ref": "Policy",
1959 "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An emp ty policy is a\nvalid policy but certain Cloud Platform services (such as Projec ts)\nmight reject them."
1960 } 2165 }
1961 }, 2166 },
1962 "type": "object" 2167 "type": "object"
1963 }, 2168 },
1964 "DeleteServiceStrategy": { 2169 "DeleteServiceStrategy": {
1965 "description": "Strategy used to delete a service. This strategy is a placeholder only\nused by the system generated rollout to delete a service.", 2170 "description": "Strategy used to delete a service. This strategy is a placeholder only\nused by the system generated rollout to delete a service.",
1966 "id": "DeleteServiceStrategy", 2171 "id": "DeleteServiceStrategy",
1967 "properties": {}, 2172 "properties": {},
1968 "type": "object" 2173 "type": "object"
1969 }, 2174 },
1970 "Step": { 2175 "Step": {
1971 "description": "Represents the status of one operation step.", 2176 "description": "Represents the status of one operation step.",
1972 "id": "Step", 2177 "id": "Step",
1973 "properties": { 2178 "properties": {
2179 "description": {
2180 "description": "The short description of the step.",
2181 "type": "string"
2182 },
1974 "status": { 2183 "status": {
1975 "description": "The status code.", 2184 "description": "The status code.",
1976 "enum": [ 2185 "enum": [
1977 "STATUS_UNSPECIFIED", 2186 "STATUS_UNSPECIFIED",
1978 "DONE", 2187 "DONE",
1979 "NOT_STARTED", 2188 "NOT_STARTED",
1980 "IN_PROGRESS", 2189 "IN_PROGRESS",
1981 "FAILED", 2190 "FAILED",
1982 "CANCELLED" 2191 "CANCELLED"
1983 ], 2192 ],
1984 "enumDescriptions": [ 2193 "enumDescriptions": [
1985 "Unspecifed code.", 2194 "Unspecifed code.",
1986 "The operation or step has completed without errors.", 2195 "The operation or step has completed without errors.",
1987 "The operation or step has not started yet.", 2196 "The operation or step has not started yet.",
1988 "The operation or step is in progress.", 2197 "The operation or step is in progress.",
1989 "The operation or step has completed with errors. If the operation is\nrollbackable, the rollback completed with errors too.", 2198 "The operation or step has completed with errors. If the operation is\nrollbackable, the rollback completed with errors too.",
1990 "The operation or step has completed with cancellation." 2199 "The operation or step has completed with cancellation."
1991 ], 2200 ],
1992 "type": "string" 2201 "type": "string"
1993 },
1994 "description": {
1995 "description": "The short description of the step.",
1996 "type": "string"
1997 } 2202 }
1998 }, 2203 },
1999 "type": "object" 2204 "type": "object"
2000 }, 2205 },
2001 "LoggingDestination": { 2206 "LoggingDestination": {
2002 "description": "Configuration of a specific logging destination (the producer project\nor the consumer project).", 2207 "description": "Configuration of a specific logging destination (the producer project\nor the consumer project).",
2003 "id": "LoggingDestination", 2208 "id": "LoggingDestination",
2004 "properties": { 2209 "properties": {
2005 "logs": { 2210 "logs": {
2006 "description": "Names of the logs to be sent to this destina tion. Each name must\nbe defined in the Service.logs section. If the log name is \nnot a domain scoped name, it will be automatically prefixed with\nthe service name followed by \"/\".", 2211 "description": "Names of the logs to be sent to this destina tion. Each name must\nbe defined in the Service.logs section. If the log name is \nnot a domain scoped name, it will be automatically prefixed with\nthe service name followed by \"/\".",
2007 "items": { 2212 "items": {
2008 "type": "string" 2213 "type": "string"
2009 }, 2214 },
2010 "type": "array" 2215 "type": "array"
2011 }, 2216 },
2012 "monitoredResource": { 2217 "monitoredResource": {
2013 "description": "The monitored resource type. The type must b e defined in the\nService.monitored_resources section.", 2218 "description": "The monitored resource type. The type must b e defined in the\nService.monitored_resources section.",
2014 "type": "string" 2219 "type": "string"
2015 } 2220 }
2016 }, 2221 },
2017 "type": "object" 2222 "type": "object"
2018 }, 2223 },
2019 "Option": { 2224 "Option": {
2020 "description": "A protocol buffer option, which can be attached to a message, field,\nenumeration, etc.", 2225 "description": "A protocol buffer option, which can be attached to a message, field,\nenumeration, etc.",
2021 "id": "Option", 2226 "id": "Option",
2022 "properties": { 2227 "properties": {
2228 "name": {
2229 "description": "The option's name. For protobuf built-in opt ions (options defined in\ndescriptor.proto), this is the short name. For example , `\"map_entry\"`.\nFor custom options, it should be the fully-qualified name. F or example,\n`\"google.api.http\"`.",
2230 "type": "string"
2231 },
2023 "value": { 2232 "value": {
2024 "additionalProperties": { 2233 "additionalProperties": {
2025 "description": "Properties of the object. Contains field @type with type URL.", 2234 "description": "Properties of the object. Contains field @type with type URL.",
2026 "type": "any" 2235 "type": "any"
2027 }, 2236 },
2028 "description": "The option's value packed in an Any message. If the value is a primitive,\nthe corresponding wrapper type defined in google/ protobuf/wrappers.proto\nshould be used. If the value is an enum, it should be s tored as an int32\nvalue using the google.protobuf.Int32Value type.", 2237 "description": "The option's value packed in an Any message. If the value is a primitive,\nthe corresponding wrapper type defined in google/ protobuf/wrappers.proto\nshould be used. If the value is an enum, it should be s tored as an int32\nvalue using the google.protobuf.Int32Value type.",
2029 "type": "object" 2238 "type": "object"
2030 },
2031 "name": {
2032 "description": "The option's name. For protobuf built-in opt ions (options defined in\ndescriptor.proto), this is the short name. For example , `\"map_entry\"`.\nFor custom options, it should be the fully-qualified name. F or example,\n`\"google.api.http\"`.",
2033 "type": "string"
2034 } 2239 }
2035 }, 2240 },
2036 "type": "object" 2241 "type": "object"
2037 }, 2242 },
2038 "Logging": { 2243 "Logging": {
2039 "description": "Logging configuration of the service.\n\nThe followi ng example shows how to configure logs to be sent to the\nproducer and consumer projects. In the example, the `activity_history`\nlog is sent to both the produc er and consumer projects, whereas the\n`purchase_history` log is only sent to th e producer project.\n\n monitored_resources:\n - type: library.googleapis. com/branch\n labels:\n - key: /city\n description: The city whe re the library branch is located in.\n - key: /name\n description: T he name of the branch.\n logs:\n - name: activity_history\n labels:\n - key: /customer_id\n - name: purchase_history\n logging:\n pro ducer_destinations:\n - monitored_resource: library.googleapis.com/branch\n logs:\n - activity_history\n - purchase_history\n con sumer_destinations:\n - monitored_resource: library.googleapis.com/branch\n logs:\n - activity_history", 2244 "description": "Logging configuration of the service.\n\nThe followi ng example shows how to configure logs to be sent to the\nproducer and consumer projects. In the example, the `activity_history`\nlog is sent to both the produc er and consumer projects, whereas the\n`purchase_history` log is only sent to th e producer project.\n\n monitored_resources:\n - type: library.googleapis. com/branch\n labels:\n - key: /city\n description: The city whe re the library branch is located in.\n - key: /name\n description: T he name of the branch.\n logs:\n - name: activity_history\n labels:\n - key: /customer_id\n - name: purchase_history\n logging:\n pro ducer_destinations:\n - monitored_resource: library.googleapis.com/branch\n logs:\n - activity_history\n - purchase_history\n con sumer_destinations:\n - monitored_resource: library.googleapis.com/branch\n logs:\n - activity_history",
2040 "id": "Logging", 2245 "id": "Logging",
2041 "properties": { 2246 "properties": {
2042 "consumerDestinations": { 2247 "consumerDestinations": {
2043 "description": "Logging configurations for sending logs to t he consumer project.\nThere can be multiple consumer destinations, each one must have a\ndifferent monitored resource type. A log can be used in at most\none co nsumer destination.", 2248 "description": "Logging configurations for sending logs to t he consumer project.\nThere can be multiple consumer destinations, each one must have a\ndifferent monitored resource type. A log can be used in at most\none co nsumer destination.",
2044 "items": { 2249 "items": {
2045 "$ref": "LoggingDestination" 2250 "$ref": "LoggingDestination"
2046 }, 2251 },
2047 "type": "array" 2252 "type": "array"
2048 }, 2253 },
2049 "producerDestinations": { 2254 "producerDestinations": {
2050 "description": "Logging configurations for sending logs to t he producer project.\nThere can be multiple producer destinations, each one must have a\ndifferent monitored resource type. A log can be used in at most\none pr oducer destination.", 2255 "description": "Logging configurations for sending logs to t he producer project.\nThere can be multiple producer destinations, each one must have a\ndifferent monitored resource type. A log can be used in at most\none pr oducer destination.",
2051 "items": { 2256 "items": {
2052 "$ref": "LoggingDestination" 2257 "$ref": "LoggingDestination"
2053 }, 2258 },
2054 "type": "array" 2259 "type": "array"
2055 } 2260 }
2056 }, 2261 },
2057 "type": "object" 2262 "type": "object"
2058 }, 2263 },
2059 "QuotaLimit": {
2060 "description": "`QuotaLimit` defines a specific limit that applies o ver a specified duration\nfor a limit type. There can be at most one limit for a duration and limit\ntype combination defined within a `QuotaGroup`.",
2061 "id": "QuotaLimit",
2062 "properties": {
2063 "unit": {
2064 "description": "Specify the unit of the quota limit. It uses the same syntax as\nMetric.unit. The supported unit kinds are determined by the quota\nbackend system.\n\nThe [Google Service Control](https://cloud.google.com /service-control)\nsupports the following unit components:\n* One of the time in tevals:\n * \"/min\" for quota every minute.\n * \"/d\" for quota every 24 h ours, starting 00:00 US Pacific Time.\n * Otherwise the quota won't be reset by time, such as storage limit.\n* One and only one of the granted containers:\n * \"/{project}\" quota for a project\n\nHere are some examples:\n* \"1/min/{proj ect}\" for quota per minute per project.\n\nNote: the order of unit components i s insignificant.\nThe \"1\" at the beginning is required to follow the metric un it syntax.\n\nUsed by metric-based quotas only.",
2065 "type": "string"
2066 },
2067 "maxLimit": {
2068 "description": "Maximum number of tokens that can be consume d during the specified\nduration. Client application developers can override the default limit up\nto this maximum. If specified, this value cannot be set to a value less\nthan the default limit. If not specified, it is set to the default l imit.\n\nTo allow clients to apply overrides with no upper bound, set this to -1 ,\nindicating unlimited maximum quota.\n\nUsed by group-based quotas only.",
2069 "format": "int64",
2070 "type": "string"
2071 },
2072 "name": {
2073 "description": "Name of the quota limit. The name is used to refer to the limit when\noverriding the default limit on per-consumer basis.\n\ nFor metric-based quota limits, the name must be provided, and it must be\nuniqu e within the service. The name can only include alphanumeric\ncharacters as well as '-'.\n\nThe maximum length of the limit name is 64 characters.\n\nThe name o f a limit is used as a unique identifier for this limit.\nTherefore, once a limi t has been put into use, its name should be\nimmutable. You can use the display_ name field to provide a user-friendly\nname for the limit. The display name can be evolved over time without\naffecting the identity of the limit.",
2074 "type": "string"
2075 },
2076 "duration": {
2077 "description": "Duration of this limit in textual notation. Example: \"100s\", \"24h\", \"1d\".\nFor duration longer than a day, only multip le of days is supported. We\nsupport only \"100s\" and \"1d\" for now. Additiona l support will be added in\nthe future. \"0\" indicates indefinite duration.\n\n Used by group-based quotas only.",
2078 "type": "string"
2079 },
2080 "freeTier": {
2081 "description": "Free tier value displayed in the Developers Console for this limit.\nThe free tier is the number of tokens that will be subt racted from the\nbilled amount when billing is enabled.\nThis field can only be set on a limit with duration \"1d\", in a billable\ngroup; it is invalid on any other limit. If this field is not set, it\ndefaults to 0, indicating that there is no free tier for this service.\n\nUsed by group-based quotas only.",
2082 "format": "int64",
2083 "type": "string"
2084 },
2085 "defaultLimit": {
2086 "description": "Default number of tokens that can be consume d during the specified\nduration. This is the number of tokens assigned when a c lient\napplication developer activates the service for his/her project.\n\nSpeci fying a value of 0 will block all requests. This can be used if you\nare provisi oning quota to selected consumers and blocking others.\nSimilarly, a value of -1 will indicate an unlimited quota. No other\nnegative values are allowed.\n\nUse d by group-based quotas only.",
2087 "format": "int64",
2088 "type": "string"
2089 },
2090 "description": {
2091 "description": "Optional. User-visible, extended description for this quota limit.\nShould be used only when more context is needed to under stand this limit\nthan provided by the limit's display name (see: `display_name` ).",
2092 "type": "string"
2093 },
2094 "metric": {
2095 "description": "The name of the metric this quota limit appl ies to. The quota limits with\nthe same metric will be checked together during r untime. The metric must be\ndefined within the service config.\n\nUsed by metric -based quotas only.",
2096 "type": "string"
2097 },
2098 "displayName": {
2099 "description": "User-visible display name for this limit.\nO ptional. If not set, the UI will provide a default display name based on\nthe qu ota configuration. This field can be used to override the default\ndisplay name generated from the configuration.",
2100 "type": "string"
2101 },
2102 "values": {
2103 "additionalProperties": {
2104 "format": "int64",
2105 "type": "string"
2106 },
2107 "description": "Tiered limit values, currently only STANDARD is supported.",
2108 "type": "object"
2109 }
2110 },
2111 "type": "object"
2112 },
2113 "Method": { 2264 "Method": {
2114 "description": "Method represents a method of an api.", 2265 "description": "Method represents a method of an api.",
2115 "id": "Method", 2266 "id": "Method",
2116 "properties": { 2267 "properties": {
2117 "responseTypeUrl": { 2268 "responseTypeUrl": {
2118 "description": "The URL of the output message type.", 2269 "description": "The URL of the output message type.",
2119 "type": "string" 2270 "type": "string"
2120 }, 2271 },
2121 "options": { 2272 "options": {
2122 "description": "Any metadata attached to the method.", 2273 "description": "Any metadata attached to the method.",
(...skipping 26 matching lines...) Expand all
2149 ], 2300 ],
2150 "enumDescriptions": [ 2301 "enumDescriptions": [
2151 "Syntax `proto2`.", 2302 "Syntax `proto2`.",
2152 "Syntax `proto3`." 2303 "Syntax `proto3`."
2153 ], 2304 ],
2154 "type": "string" 2305 "type": "string"
2155 } 2306 }
2156 }, 2307 },
2157 "type": "object" 2308 "type": "object"
2158 }, 2309 },
2159 "ListServiceRolloutsResponse": { 2310 "QuotaLimit": {
2160 "description": "Response message for ListServiceRollouts method.", 2311 "description": "`QuotaLimit` defines a specific limit that applies o ver a specified duration\nfor a limit type. There can be at most one limit for a duration and limit\ntype combination defined within a `QuotaGroup`.",
2161 "id": "ListServiceRolloutsResponse", 2312 "id": "QuotaLimit",
2162 "properties": { 2313 "properties": {
2163 "rollouts": { 2314 "duration": {
2164 "description": "The list of rollout resources.", 2315 "description": "Duration of this limit in textual notation. Example: \"100s\", \"24h\", \"1d\".\nFor duration longer than a day, only multip le of days is supported. We\nsupport only \"100s\" and \"1d\" for now. Additiona l support will be added in\nthe future. \"0\" indicates indefinite duration.\n\n Used by group-based quotas only.",
2165 "items": { 2316 "type": "string"
2166 "$ref": "Rollout" 2317 },
2318 "freeTier": {
2319 "description": "Free tier value displayed in the Developers Console for this limit.\nThe free tier is the number of tokens that will be subt racted from the\nbilled amount when billing is enabled.\nThis field can only be set on a limit with duration \"1d\", in a billable\ngroup; it is invalid on any other limit. If this field is not set, it\ndefaults to 0, indicating that there is no free tier for this service.\n\nUsed by group-based quotas only.",
2320 "format": "int64",
2321 "type": "string"
2322 },
2323 "defaultLimit": {
2324 "description": "Default number of tokens that can be consume d during the specified\nduration. This is the number of tokens assigned when a c lient\napplication developer activates the service for his/her project.\n\nSpeci fying a value of 0 will block all requests. This can be used if you\nare provisi oning quota to selected consumers and blocking others.\nSimilarly, a value of -1 will indicate an unlimited quota. No other\nnegative values are allowed.\n\nUse d by group-based quotas only.",
2325 "format": "int64",
2326 "type": "string"
2327 },
2328 "displayName": {
2329 "description": "User-visible display name for this limit.\nO ptional. If not set, the UI will provide a default display name based on\nthe qu ota configuration. This field can be used to override the default\ndisplay name generated from the configuration.",
2330 "type": "string"
2331 },
2332 "description": {
2333 "description": "Optional. User-visible, extended description for this quota limit.\nShould be used only when more context is needed to under stand this limit\nthan provided by the limit's display name (see: `display_name` ).",
2334 "type": "string"
2335 },
2336 "metric": {
2337 "description": "The name of the metric this quota limit appl ies to. The quota limits with\nthe same metric will be checked together during r untime. The metric must be\ndefined within the service config.\n\nUsed by metric -based quotas only.",
2338 "type": "string"
2339 },
2340 "values": {
2341 "additionalProperties": {
2342 "format": "int64",
2343 "type": "string"
2167 }, 2344 },
2168 "type": "array" 2345 "description": "Tiered limit values, currently only STANDARD is supported.",
2346 "type": "object"
2169 }, 2347 },
2170 "nextPageToken": { 2348 "unit": {
2171 "description": "The token of the next page of results.", 2349 "description": "Specify the unit of the quota limit. It uses the same syntax as\nMetric.unit. The supported unit kinds are determined by the quota\nbackend system.\n\nThe [Google Service Control](https://cloud.google.com /service-control)\nsupports the following unit components:\n* One of the time in tevals:\n * \"/min\" for quota every minute.\n * \"/d\" for quota every 24 h ours, starting 00:00 US Pacific Time.\n * Otherwise the quota won't be reset by time, such as storage limit.\n* One and only one of the granted containers:\n * \"/{project}\" quota for a project\n\nHere are some examples:\n* \"1/min/{proj ect}\" for quota per minute per project.\n\nNote: the order of unit components i s insignificant.\nThe \"1\" at the beginning is required to follow the metric un it syntax.\n\nUsed by metric-based quotas only.",
2350 "type": "string"
2351 },
2352 "maxLimit": {
2353 "description": "Maximum number of tokens that can be consume d during the specified\nduration. Client application developers can override the default limit up\nto this maximum. If specified, this value cannot be set to a value less\nthan the default limit. If not specified, it is set to the default l imit.\n\nTo allow clients to apply overrides with no upper bound, set this to -1 ,\nindicating unlimited maximum quota.\n\nUsed by group-based quotas only.",
2354 "format": "int64",
2355 "type": "string"
2356 },
2357 "name": {
2358 "description": "Name of the quota limit. The name is used to refer to the limit when\noverriding the default limit on per-consumer basis.\n\ nFor metric-based quota limits, the name must be provided, and it must be\nuniqu e within the service. The name can only include alphanumeric\ncharacters as well as '-'.\n\nThe maximum length of the limit name is 64 characters.\n\nThe name o f a limit is used as a unique identifier for this limit.\nTherefore, once a limi t has been put into use, its name should be\nimmutable. You can use the display_ name field to provide a user-friendly\nname for the limit. The display name can be evolved over time without\naffecting the identity of the limit.",
2172 "type": "string" 2359 "type": "string"
2173 } 2360 }
2174 }, 2361 },
2175 "type": "object" 2362 "type": "object"
2176 }, 2363 },
2177 "ConfigRef": { 2364 "ConfigRef": {
2178 "description": "Represents a service configuration with its name and id.", 2365 "description": "Represents a service configuration with its name and id.",
2179 "id": "ConfigRef", 2366 "id": "ConfigRef",
2180 "properties": { 2367 "properties": {
2181 "name": { 2368 "name": {
2182 "description": "Resource name of a service config. It must h ave the following\nformat: \"services/{service name}/configs/{config id}\".", 2369 "description": "Resource name of a service config. It must h ave the following\nformat: \"services/{service name}/configs/{config id}\".",
2183 "type": "string" 2370 "type": "string"
2184 } 2371 }
2185 }, 2372 },
2186 "type": "object" 2373 "type": "object"
2187 }, 2374 },
2375 "ListServiceRolloutsResponse": {
2376 "description": "Response message for ListServiceRollouts method.",
2377 "id": "ListServiceRolloutsResponse",
2378 "properties": {
2379 "nextPageToken": {
2380 "description": "The token of the next page of results.",
2381 "type": "string"
2382 },
2383 "rollouts": {
2384 "description": "The list of rollout resources.",
2385 "items": {
2386 "$ref": "Rollout"
2387 },
2388 "type": "array"
2389 }
2390 },
2391 "type": "object"
2392 },
2188 "Mixin": { 2393 "Mixin": {
2189 "description": "Declares an API to be included in this API. The incl uding API must\nredeclare all the methods from the included API, but documentati on\nand options are inherited as follows:\n\n- If after comment and whitespace s tripping, the documentation\n string of the redeclared method is empty, it will be inherited\n from the original method.\n\n- Each annotation belonging to the service config (http,\n visibility) which is not set in the redeclared method will be\n inherited.\n\n- If an http annotation is inherited, the path pattern will be\n modified as follows. Any version prefix will be replaced by the\n ve rsion of the including API plus the root path if specified.\n\nExample of a simp le mixin:\n\n package google.acl.v1;\n service AccessControl {\n // G et the underlying ACL object.\n rpc GetAcl(GetAclRequest) returns (Acl) {\n option (google.api.http).get = \"/v1/{resource=**}:getAcl\";\n }\n }\n\n package google.storage.v2;\n service Storage {\n // rp c GetAcl(GetAclRequest) returns (Acl);\n\n // Get a data record.\n rpc GetData(GetDataRequest) returns (Data) {\n option (google.api.http).get = \"/v2/{resource=**}\";\n }\n }\n\nExample of a mixin configuration:\n\ n apis:\n - name: google.storage.v2.Storage\n mixins:\n - name: google.acl.v1.AccessControl\n\nThe mixin construct implies that all methods in ` AccessControl` are\nalso declared with same name and request/response types in\n `Storage`. A documentation generator or annotation processor will\nsee the effec tive `Storage.GetAcl` method after inherting\ndocumentation and annotations as f ollows:\n\n service Storage {\n // Get the underlying ACL object.\n rpc GetAcl(GetAclRequest) returns (Acl) {\n option (google.api.http).get = \"/v2/{resource=**}:getAcl\";\n }\n ...\n }\n\nNote how the vers ion in the path pattern changed from `v1` to `v2`.\n\nIf the `root` field in the mixin is specified, it should be a\nrelative path under which inherited HTTP pa ths are placed. Example:\n\n apis:\n - name: google.storage.v2.Storage\n mixins:\n - name: google.acl.v1.AccessControl\n root: acls\n\nTh is implies the following inherited HTTP annotation:\n\n service Storage {\n // Get the underlying ACL object.\n rpc GetAcl(GetAclRequest) returns ( Acl) {\n option (google.api.http).get = \"/v2/acls/{resource=**}:getAcl\" ;\n }\n ...\n }", 2394 "description": "Declares an API to be included in this API. The incl uding API must\nredeclare all the methods from the included API, but documentati on\nand options are inherited as follows:\n\n- If after comment and whitespace s tripping, the documentation\n string of the redeclared method is empty, it will be inherited\n from the original method.\n\n- Each annotation belonging to the service config (http,\n visibility) which is not set in the redeclared method will be\n inherited.\n\n- If an http annotation is inherited, the path pattern will be\n modified as follows. Any version prefix will be replaced by the\n ve rsion of the including API plus the root path if specified.\n\nExample of a simp le mixin:\n\n package google.acl.v1;\n service AccessControl {\n // G et the underlying ACL object.\n rpc GetAcl(GetAclRequest) returns (Acl) {\n option (google.api.http).get = \"/v1/{resource=**}:getAcl\";\n }\n }\n\n package google.storage.v2;\n service Storage {\n // rp c GetAcl(GetAclRequest) returns (Acl);\n\n // Get a data record.\n rpc GetData(GetDataRequest) returns (Data) {\n option (google.api.http).get = \"/v2/{resource=**}\";\n }\n }\n\nExample of a mixin configuration:\n\ n apis:\n - name: google.storage.v2.Storage\n mixins:\n - name: google.acl.v1.AccessControl\n\nThe mixin construct implies that all methods in ` AccessControl` are\nalso declared with same name and request/response types in\n `Storage`. A documentation generator or annotation processor will\nsee the effec tive `Storage.GetAcl` method after inherting\ndocumentation and annotations as f ollows:\n\n service Storage {\n // Get the underlying ACL object.\n rpc GetAcl(GetAclRequest) returns (Acl) {\n option (google.api.http).get = \"/v2/{resource=**}:getAcl\";\n }\n ...\n }\n\nNote how the vers ion in the path pattern changed from `v1` to `v2`.\n\nIf the `root` field in the mixin is specified, it should be a\nrelative path under which inherited HTTP pa ths are placed. Example:\n\n apis:\n - name: google.storage.v2.Storage\n mixins:\n - name: google.acl.v1.AccessControl\n root: acls\n\nTh is implies the following inherited HTTP annotation:\n\n service Storage {\n // Get the underlying ACL object.\n rpc GetAcl(GetAclRequest) returns ( Acl) {\n option (google.api.http).get = \"/v2/acls/{resource=**}:getAcl\" ;\n }\n ...\n }",
2190 "id": "Mixin", 2395 "id": "Mixin",
2191 "properties": { 2396 "properties": {
2192 "name": { 2397 "name": {
2193 "description": "The fully qualified name of the API which is included.", 2398 "description": "The fully qualified name of the API which is included.",
2194 "type": "string" 2399 "type": "string"
2195 }, 2400 },
2196 "root": { 2401 "root": {
2197 "description": "If non-empty specifies a path under which in herited HTTP paths\nare rooted.", 2402 "description": "If non-empty specifies a path under which in herited HTTP paths\nare rooted.",
2198 "type": "string" 2403 "type": "string"
2199 } 2404 }
2200 }, 2405 },
2201 "type": "object" 2406 "type": "object"
2202 }, 2407 },
2203 "FlowOperationMetadata": { 2408 "FlowOperationMetadata": {
2204 "description": "The metadata associated with a long running operatio n resource.", 2409 "description": "The metadata associated with a long running operatio n resource.",
2205 "id": "FlowOperationMetadata", 2410 "id": "FlowOperationMetadata",
2206 "properties": { 2411 "properties": {
2412 "resourceNames": {
2413 "description": "The full name of the resources that this flo w is directly associated with.",
2414 "items": {
2415 "type": "string"
2416 },
2417 "type": "array"
2418 },
2419 "flowName": {
2420 "description": "The name of the top-level flow corresponding to this operation.\nMust be equal to the \"name\" field for a FlowName enum.",
2421 "type": "string"
2422 },
2423 "deadline": {
2424 "description": "Deadline for the flow to complete, to preven t orphaned Operations.\n\nIf the flow has not completed by this time, it may be terminated by\nthe engine, or force-failed by Operation lookup.\n\nNote that thi s is not a hard deadline after which the Flow will\ndefinitely be failed, rather it is a deadline after which it is reasonable\nto suspect a problem and other p arts of the system may kill operation\nto ensure we don't have orphans.\nsee als o: go/prevent-orphaned-operations",
2425 "format": "google-datetime",
2426 "type": "string"
2427 },
2207 "cancelState": { 2428 "cancelState": {
2208 "description": "The state of the operation with respect to c ancellation.", 2429 "description": "The state of the operation with respect to c ancellation.",
2209 "enum": [ 2430 "enum": [
2210 "RUNNING", 2431 "RUNNING",
2211 "UNCANCELLABLE", 2432 "UNCANCELLABLE",
2212 "CANCELLED" 2433 "CANCELLED"
2213 ], 2434 ],
2214 "enumDescriptions": [ 2435 "enumDescriptions": [
2215 "Default state, cancellable but not cancelled.", 2436 "Default state, cancellable but not cancelled.",
2216 "The operation has proceeded past the point of no return and cannot\nbe cancelled.", 2437 "The operation has proceeded past the point of no return and cannot\nbe cancelled.",
2217 "The operation has been cancelled, work should cease\nan d any needed rollback steps executed." 2438 "The operation has been cancelled, work should cease\nan d any needed rollback steps executed."
2218 ], 2439 ],
2219 "type": "string" 2440 "type": "string"
2220 }, 2441 },
2221 "deadline": {
2222 "description": "Deadline for the flow to complete, to preven t orphaned Operations.\n\nIf the flow has not completed by this time, it may be terminated by\nthe engine, or force-failed by Operation lookup.\n\nNote that thi s is not a hard deadline after which the Flow will\ndefinitely be failed, rather it is a deadline after which it is reasonable\nto suspect a problem and other p arts of the system may kill operation\nto ensure we don't have orphans.\nsee als o: go/prevent-orphaned-operations",
2223 "format": "google-datetime",
2224 "type": "string"
2225 },
2226 "startTime": { 2442 "startTime": {
2227 "description": "The start time of the operation.", 2443 "description": "The start time of the operation.",
2228 "format": "google-datetime", 2444 "format": "google-datetime",
2229 "type": "string" 2445 "type": "string"
2230 },
2231 "flowName": {
2232 "description": "The name of the top-level flow corresponding to this operation.\nMust be equal to the \"name\" field for a FlowName enum.",
2233 "type": "string"
2234 },
2235 "resourceNames": {
2236 "description": "The full name of the resources that this flo w is directly associated with.",
2237 "items": {
2238 "type": "string"
2239 },
2240 "type": "array"
2241 } 2446 }
2242 }, 2447 },
2243 "type": "object" 2448 "type": "object"
2244 }, 2449 },
2245 "CustomError": { 2450 "CustomError": {
2246 "description": "Customize service error responses. For example, lis t any service\nspecific protobuf types that can appear in error detail lists of\ nerror responses.\n\nExample:\n\n custom_error:\n types:\n - google .foo.v1.CustomError\n - google.foo.v1.AnotherError", 2451 "description": "Customize service error responses. For example, lis t any service\nspecific protobuf types that can appear in error detail lists of\ nerror responses.\n\nExample:\n\n custom_error:\n types:\n - google .foo.v1.CustomError\n - google.foo.v1.AnotherError",
2247 "id": "CustomError", 2452 "id": "CustomError",
2248 "properties": { 2453 "properties": {
2249 "types": { 2454 "types": {
2250 "description": "The list of custom error detail types, e.g. 'google.foo.v1.CustomError'.", 2455 "description": "The list of custom error detail types, e.g. 'google.foo.v1.CustomError'.",
2251 "items": { 2456 "items": {
2252 "type": "string" 2457 "type": "string"
2253 }, 2458 },
2254 "type": "array" 2459 "type": "array"
2255 }, 2460 },
2256 "rules": { 2461 "rules": {
2257 "description": "The list of custom error rules that apply to individual API messages.\n\n**NOTE:** All service configuration rules follow \" last one wins\" order.", 2462 "description": "The list of custom error rules that apply to individual API messages.\n\n**NOTE:** All service configuration rules follow \" last one wins\" order.",
2258 "items": { 2463 "items": {
2259 "$ref": "CustomErrorRule" 2464 "$ref": "CustomErrorRule"
2260 }, 2465 },
2261 "type": "array" 2466 "type": "array"
2262 } 2467 }
2263 }, 2468 },
2264 "type": "object" 2469 "type": "object"
2265 }, 2470 },
2266 "CounterOptions": { 2471 "CounterOptions": {
2267 "description": "Options for counters", 2472 "description": "Options for counters",
2268 "id": "CounterOptions", 2473 "id": "CounterOptions",
2269 "properties": { 2474 "properties": {
2475 "field": {
2476 "description": "The field value to attribute.",
2477 "type": "string"
2478 },
2270 "metric": { 2479 "metric": {
2271 "description": "The metric to update.", 2480 "description": "The metric to update.",
2272 "type": "string" 2481 "type": "string"
2273 },
2274 "field": {
2275 "description": "The field value to attribute.",
2276 "type": "string"
2277 } 2482 }
2278 }, 2483 },
2279 "type": "object" 2484 "type": "object"
2280 }, 2485 },
2281 "Http": { 2486 "Http": {
2282 "description": "Defines the HTTP configuration for an API service. I t contains a list of\nHttpRule, each specifying the mapping of an RPC method\nto one or more HTTP REST API methods.", 2487 "description": "Defines the HTTP configuration for an API service. I t contains a list of\nHttpRule, each specifying the mapping of an RPC method\nto one or more HTTP REST API methods.",
2283 "id": "Http", 2488 "id": "Http",
2284 "properties": { 2489 "properties": {
2490 "fullyDecodeReservedExpansion": {
2491 "description": "When set to true, URL path parmeters will be fully URI-decoded except in\ncases of single segment matches in reserved expans ion, where \"%2F\" will be\nleft encoded.\n\nThe default behavior is to not deco de RFC 6570 reserved characters in multi\nsegment matches.",
2492 "type": "boolean"
2493 },
2285 "rules": { 2494 "rules": {
2286 "description": "A list of HTTP configuration rules that appl y to individual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.", 2495 "description": "A list of HTTP configuration rules that appl y to individual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.",
2287 "items": { 2496 "items": {
2288 "$ref": "HttpRule" 2497 "$ref": "HttpRule"
2289 }, 2498 },
2290 "type": "array" 2499 "type": "array"
2291 },
2292 "fullyDecodeReservedExpansion": {
2293 "description": "When set to true, URL path parmeters will be fully URI-decoded except in\ncases of single segment matches in reserved expans ion, where \"%2F\" will be\nleft encoded.\n\nThe default behavior is to not deco de RFC 6570 reserved characters in multi\nsegment matches.",
2294 "type": "boolean"
2295 } 2500 }
2296 }, 2501 },
2297 "type": "object" 2502 "type": "object"
2298 }, 2503 },
2299 "SourceInfo": { 2504 "SourceInfo": {
2300 "description": "Source information used to create a Service Config", 2505 "description": "Source information used to create a Service Config",
2301 "id": "SourceInfo", 2506 "id": "SourceInfo",
2302 "properties": { 2507 "properties": {
2303 "sourceFiles": { 2508 "sourceFiles": {
2304 "description": "All files used during config generation.", 2509 "description": "All files used during config generation.",
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
2337 "description": "Define the URL query parameter name to use f or the parameter. It is case\nsensitive.", 2542 "description": "Define the URL query parameter name to use f or the parameter. It is case\nsensitive.",
2338 "type": "string" 2543 "type": "string"
2339 }, 2544 },
2340 "httpHeader": { 2545 "httpHeader": {
2341 "description": "Define the HTTP header name to use for the p arameter. It is case\ninsensitive.", 2546 "description": "Define the HTTP header name to use for the p arameter. It is case\ninsensitive.",
2342 "type": "string" 2547 "type": "string"
2343 } 2548 }
2344 }, 2549 },
2345 "type": "object" 2550 "type": "object"
2346 }, 2551 },
2347 "Monitoring": {
2348 "description": "Monitoring configuration of the service.\n\nThe exam ple below shows how to configure monitored resources and metrics\nfor monitoring . In the example, a monitored resource and two metrics are\ndefined. The `librar y.googleapis.com/book/returned_count` metric is sent\nto both producer and consu mer projects, whereas the\n`library.googleapis.com/book/overdue_count` metric is only sent to the\nconsumer project.\n\n monitored_resources:\n - type: li brary.googleapis.com/branch\n labels:\n - key: /city\n descript ion: The city where the library branch is located in.\n - key: /name\n description: The name of the branch.\n metrics:\n - name: library.googl eapis.com/book/returned_count\n metric_kind: DELTA\n value_type: INT64 \n labels:\n - key: /customer_id\n - name: library.googleapis.com/b ook/overdue_count\n metric_kind: GAUGE\n value_type: INT64\n labe ls:\n - key: /customer_id\n monitoring:\n producer_destinations:\n - monitored_resource: library.googleapis.com/branch\n metrics:\n - library.googleapis.com/book/returned_count\n consumer_destinations:\n - monitored_resource: library.googleapis.com/branch\n metrics:\n - library.googleapis.com/book/returned_count\n - library.googleapis. com/book/overdue_count",
2349 "id": "Monitoring",
2350 "properties": {
2351 "consumerDestinations": {
2352 "description": "Monitoring configurations for sending metric s to the consumer project.\nThere can be multiple consumer destinations, each on e must have a\ndifferent monitored resource type. A metric can be used in at mos t\none consumer destination.",
2353 "items": {
2354 "$ref": "MonitoringDestination"
2355 },
2356 "type": "array"
2357 },
2358 "producerDestinations": {
2359 "description": "Monitoring configurations for sending metric s to the producer project.\nThere can be multiple producer destinations, each on e must have a\ndifferent monitored resource type. A metric can be used in at mos t\none producer destination.",
2360 "items": {
2361 "$ref": "MonitoringDestination"
2362 },
2363 "type": "array"
2364 }
2365 },
2366 "type": "object"
2367 },
2368 "Field": { 2552 "Field": {
2369 "description": "A single field of a message type.", 2553 "description": "A single field of a message type.",
2370 "id": "Field", 2554 "id": "Field",
2371 "properties": { 2555 "properties": {
2372 "typeUrl": { 2556 "jsonName": {
2373 "description": "The field type URL, without the scheme, for message or enumeration\ntypes. Example: `\"type.googleapis.com/google.protobuf.T imestamp\"`.", 2557 "description": "The field JSON name.",
2374 "type": "string" 2558 "type": "string"
2375 }, 2559 },
2376 "number": {
2377 "description": "The field number.",
2378 "format": "int32",
2379 "type": "integer"
2380 },
2381 "kind": { 2560 "kind": {
2382 "description": "The field type.", 2561 "description": "The field type.",
2383 "enum": [ 2562 "enum": [
2384 "TYPE_UNKNOWN", 2563 "TYPE_UNKNOWN",
2385 "TYPE_DOUBLE", 2564 "TYPE_DOUBLE",
2386 "TYPE_FLOAT", 2565 "TYPE_FLOAT",
2387 "TYPE_INT64", 2566 "TYPE_INT64",
2388 "TYPE_UINT64", 2567 "TYPE_UINT64",
2389 "TYPE_INT32", 2568 "TYPE_INT32",
2390 "TYPE_FIXED64", 2569 "TYPE_FIXED64",
(...skipping 26 matching lines...) Expand all
2417 "Field type bytes.", 2596 "Field type bytes.",
2418 "Field type uint32.", 2597 "Field type uint32.",
2419 "Field type enum.", 2598 "Field type enum.",
2420 "Field type sfixed32.", 2599 "Field type sfixed32.",
2421 "Field type sfixed64.", 2600 "Field type sfixed64.",
2422 "Field type sint32.", 2601 "Field type sint32.",
2423 "Field type sint64." 2602 "Field type sint64."
2424 ], 2603 ],
2425 "type": "string" 2604 "type": "string"
2426 }, 2605 },
2427 "jsonName": {
2428 "description": "The field JSON name.",
2429 "type": "string"
2430 },
2431 "options": { 2606 "options": {
2432 "description": "The protocol buffer options.", 2607 "description": "The protocol buffer options.",
2433 "items": { 2608 "items": {
2434 "$ref": "Option" 2609 "$ref": "Option"
2435 }, 2610 },
2436 "type": "array" 2611 "type": "array"
2437 }, 2612 },
2438 "oneofIndex": { 2613 "oneofIndex": {
2439 "description": "The index of the field type in `Type.oneofs` , for message or enumeration\ntypes. The first type has index 1; zero means the type is not in the list.", 2614 "description": "The index of the field type in `Type.oneofs` , for message or enumeration\ntypes. The first type has index 1; zero means the type is not in the list.",
2440 "format": "int32", 2615 "format": "int32",
2441 "type": "integer" 2616 "type": "integer"
2442 }, 2617 },
2618 "packed": {
2619 "description": "Whether to use alternative packed wire repre sentation.",
2620 "type": "boolean"
2621 },
2443 "cardinality": { 2622 "cardinality": {
2444 "description": "The field cardinality.", 2623 "description": "The field cardinality.",
2445 "enum": [ 2624 "enum": [
2446 "CARDINALITY_UNKNOWN", 2625 "CARDINALITY_UNKNOWN",
2447 "CARDINALITY_OPTIONAL", 2626 "CARDINALITY_OPTIONAL",
2448 "CARDINALITY_REQUIRED", 2627 "CARDINALITY_REQUIRED",
2449 "CARDINALITY_REPEATED" 2628 "CARDINALITY_REPEATED"
2450 ], 2629 ],
2451 "enumDescriptions": [ 2630 "enumDescriptions": [
2452 "For fields with unknown cardinality.", 2631 "For fields with unknown cardinality.",
2453 "For optional fields.", 2632 "For optional fields.",
2454 "For required fields. Proto2 syntax only.", 2633 "For required fields. Proto2 syntax only.",
2455 "For repeated fields." 2634 "For repeated fields."
2456 ], 2635 ],
2457 "type": "string" 2636 "type": "string"
2458 }, 2637 },
2459 "packed": {
2460 "description": "Whether to use alternative packed wire repre sentation.",
2461 "type": "boolean"
2462 },
2463 "defaultValue": { 2638 "defaultValue": {
2464 "description": "The string value of the default value of thi s field. Proto2 syntax only.", 2639 "description": "The string value of the default value of thi s field. Proto2 syntax only.",
2465 "type": "string" 2640 "type": "string"
2466 }, 2641 },
2467 "name": { 2642 "name": {
2468 "description": "The field name.", 2643 "description": "The field name.",
2469 "type": "string" 2644 "type": "string"
2645 },
2646 "typeUrl": {
2647 "description": "The field type URL, without the scheme, for message or enumeration\ntypes. Example: `\"type.googleapis.com/google.protobuf.T imestamp\"`.",
2648 "type": "string"
2649 },
2650 "number": {
2651 "description": "The field number.",
2652 "format": "int32",
2653 "type": "integer"
2470 } 2654 }
2471 }, 2655 },
2472 "type": "object" 2656 "type": "object"
2657 },
2658 "Monitoring": {
2659 "description": "Monitoring configuration of the service.\n\nThe exam ple below shows how to configure monitored resources and metrics\nfor monitoring . In the example, a monitored resource and two metrics are\ndefined. The `librar y.googleapis.com/book/returned_count` metric is sent\nto both producer and consu mer projects, whereas the\n`library.googleapis.com/book/overdue_count` metric is only sent to the\nconsumer project.\n\n monitored_resources:\n - type: li brary.googleapis.com/branch\n labels:\n - key: /city\n descript ion: The city where the library branch is located in.\n - key: /name\n description: The name of the branch.\n metrics:\n - name: library.googl eapis.com/book/returned_count\n metric_kind: DELTA\n value_type: INT64 \n labels:\n - key: /customer_id\n - name: library.googleapis.com/b ook/overdue_count\n metric_kind: GAUGE\n value_type: INT64\n labe ls:\n - key: /customer_id\n monitoring:\n producer_destinations:\n - monitored_resource: library.googleapis.com/branch\n metrics:\n - library.googleapis.com/book/returned_count\n consumer_destinations:\n - monitored_resource: library.googleapis.com/branch\n metrics:\n - library.googleapis.com/book/returned_count\n - library.googleapis. com/book/overdue_count",
2660 "id": "Monitoring",
2661 "properties": {
2662 "consumerDestinations": {
2663 "description": "Monitoring configurations for sending metric s to the consumer project.\nThere can be multiple consumer destinations, each on e must have a\ndifferent monitored resource type. A metric can be used in at mos t\none consumer destination.",
2664 "items": {
2665 "$ref": "MonitoringDestination"
2666 },
2667 "type": "array"
2668 },
2669 "producerDestinations": {
2670 "description": "Monitoring configurations for sending metric s to the producer project.\nThere can be multiple producer destinations, each on e must have a\ndifferent monitored resource type. A metric can be used in at mos t\none producer destination.",
2671 "items": {
2672 "$ref": "MonitoringDestination"
2673 },
2674 "type": "array"
2675 }
2676 },
2677 "type": "object"
2473 }, 2678 },
2474 "TestIamPermissionsRequest": { 2679 "TestIamPermissionsRequest": {
2475 "description": "Request message for `TestIamPermissions` method.", 2680 "description": "Request message for `TestIamPermissions` method.",
2476 "id": "TestIamPermissionsRequest", 2681 "id": "TestIamPermissionsRequest",
2477 "properties": { 2682 "properties": {
2478 "permissions": { 2683 "permissions": {
2479 "description": "The set of permissions to check for the `res ource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed . For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/ov erview#permissions).", 2684 "description": "The set of permissions to check for the `res ource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed . For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/ov erview#permissions).",
2480 "items": { 2685 "items": {
2481 "type": "string" 2686 "type": "string"
2482 }, 2687 },
2483 "type": "array" 2688 "type": "array"
2484 } 2689 }
2485 }, 2690 },
2486 "type": "object" 2691 "type": "object"
2487 }, 2692 },
2488 "Enum": { 2693 "Enum": {
2489 "description": "Enum type definition.", 2694 "description": "Enum type definition.",
2490 "id": "Enum", 2695 "id": "Enum",
2491 "properties": { 2696 "properties": {
2492 "name": {
2493 "description": "Enum type name.",
2494 "type": "string"
2495 },
2496 "enumvalue": { 2697 "enumvalue": {
2497 "description": "Enum value definitions.", 2698 "description": "Enum value definitions.",
2498 "items": { 2699 "items": {
2499 "$ref": "EnumValue" 2700 "$ref": "EnumValue"
2500 }, 2701 },
2501 "type": "array" 2702 "type": "array"
2502 }, 2703 },
2704 "name": {
2705 "description": "Enum type name.",
2706 "type": "string"
2707 },
2503 "options": { 2708 "options": {
2504 "description": "Protocol buffer options.", 2709 "description": "Protocol buffer options.",
2505 "items": { 2710 "items": {
2506 "$ref": "Option" 2711 "$ref": "Option"
2507 }, 2712 },
2508 "type": "array" 2713 "type": "array"
2509 }, 2714 },
2510 "sourceContext": {
2511 "$ref": "SourceContext",
2512 "description": "The source context."
2513 },
2514 "syntax": { 2715 "syntax": {
2515 "description": "The source syntax.", 2716 "description": "The source syntax.",
2516 "enum": [ 2717 "enum": [
2517 "SYNTAX_PROTO2", 2718 "SYNTAX_PROTO2",
2518 "SYNTAX_PROTO3" 2719 "SYNTAX_PROTO3"
2519 ], 2720 ],
2520 "enumDescriptions": [ 2721 "enumDescriptions": [
2521 "Syntax `proto2`.", 2722 "Syntax `proto2`.",
2522 "Syntax `proto3`." 2723 "Syntax `proto3`."
2523 ], 2724 ],
2524 "type": "string" 2725 "type": "string"
2726 },
2727 "sourceContext": {
2728 "$ref": "SourceContext",
2729 "description": "The source context."
2525 } 2730 }
2526 }, 2731 },
2527 "type": "object" 2732 "type": "object"
2528 }, 2733 },
2529 "EnableServiceRequest": { 2734 "LabelDescriptor": {
2530 "description": "Request message for EnableService method.", 2735 "description": "A description of a label.",
2531 "id": "EnableServiceRequest", 2736 "id": "LabelDescriptor",
2532 "properties": { 2737 "properties": {
2533 "consumerId": { 2738 "description": {
2534 "description": "The identity of consumer resource which serv ice enablement will be\napplied to.\n\nThe Google Service Management implementat ion accepts the following\nforms:\n- \"project:<project_id>\"\n\nNote: this is m ade compatible with\ngoogle.api.servicecontrol.v1.Operation.consumer_id.", 2739 "description": "A human-readable description for the label." ,
2740 "type": "string"
2741 },
2742 "valueType": {
2743 "description": "The type of data that can be assigned to the label.",
2744 "enum": [
2745 "STRING",
2746 "BOOL",
2747 "INT64"
2748 ],
2749 "enumDescriptions": [
2750 "A variable-length string. This is the default.",
2751 "Boolean; true or false.",
2752 "A 64-bit signed integer."
2753 ],
2754 "type": "string"
2755 },
2756 "key": {
2757 "description": "The label key.",
2535 "type": "string" 2758 "type": "string"
2536 } 2759 }
2537 }, 2760 },
2538 "type": "object" 2761 "type": "object"
2539 }, 2762 },
2540 "Diagnostic": { 2763 "Diagnostic": {
2541 "description": "Represents a diagnostic message (error or warning)", 2764 "description": "Represents a diagnostic message (error or warning)",
2542 "id": "Diagnostic", 2765 "id": "Diagnostic",
2543 "properties": { 2766 "properties": {
2544 "location": {
2545 "description": "File name and line number of the error or wa rning.",
2546 "type": "string"
2547 },
2548 "kind": { 2767 "kind": {
2549 "description": "The kind of diagnostic information provided. ", 2768 "description": "The kind of diagnostic information provided. ",
2550 "enum": [ 2769 "enum": [
2551 "WARNING", 2770 "WARNING",
2552 "ERROR" 2771 "ERROR"
2553 ], 2772 ],
2554 "enumDescriptions": [ 2773 "enumDescriptions": [
2555 "Warnings and errors", 2774 "Warnings and errors",
2556 "Only errors" 2775 "Only errors"
2557 ], 2776 ],
2558 "type": "string" 2777 "type": "string"
2559 }, 2778 },
2560 "message": { 2779 "message": {
2561 "description": "Message describing the error or warning.", 2780 "description": "Message describing the error or warning.",
2562 "type": "string" 2781 "type": "string"
2782 },
2783 "location": {
2784 "description": "File name and line number of the error or wa rning.",
2785 "type": "string"
2563 } 2786 }
2564 }, 2787 },
2565 "type": "object" 2788 "type": "object"
2566 }, 2789 },
2567 "LabelDescriptor": { 2790 "EnableServiceRequest": {
2568 "description": "A description of a label.", 2791 "description": "Request message for EnableService method.",
2569 "id": "LabelDescriptor", 2792 "id": "EnableServiceRequest",
2570 "properties": { 2793 "properties": {
2571 "key": { 2794 "consumerId": {
2572 "description": "The label key.", 2795 "description": "The identity of consumer resource which serv ice enablement will be\napplied to.\n\nThe Google Service Management implementat ion accepts the following\nforms:\n- \"project:<project_id>\"\n\nNote: this is m ade compatible with\ngoogle.api.servicecontrol.v1.Operation.consumer_id.",
2573 "type": "string"
2574 },
2575 "description": {
2576 "description": "A human-readable description for the label." ,
2577 "type": "string"
2578 },
2579 "valueType": {
2580 "description": "The type of data that can be assigned to the label.",
2581 "enum": [
2582 "STRING",
2583 "BOOL",
2584 "INT64"
2585 ],
2586 "enumDescriptions": [
2587 "A variable-length string. This is the default.",
2588 "Boolean; true or false.",
2589 "A 64-bit signed integer."
2590 ],
2591 "type": "string" 2796 "type": "string"
2592 } 2797 }
2593 }, 2798 },
2594 "type": "object" 2799 "type": "object"
2595 }, 2800 },
2596 "Type": { 2801 "Type": {
2597 "description": "A protocol buffer message type.", 2802 "description": "A protocol buffer message type.",
2598 "id": "Type", 2803 "id": "Type",
2599 "properties": { 2804 "properties": {
2600 "options": { 2805 "options": {
(...skipping 14 matching lines...) Expand all
2615 "description": "The fully qualified message name.", 2820 "description": "The fully qualified message name.",
2616 "type": "string" 2821 "type": "string"
2617 }, 2822 },
2618 "oneofs": { 2823 "oneofs": {
2619 "description": "The list of types appearing in `oneof` defin itions in this type.", 2824 "description": "The list of types appearing in `oneof` defin itions in this type.",
2620 "items": { 2825 "items": {
2621 "type": "string" 2826 "type": "string"
2622 }, 2827 },
2623 "type": "array" 2828 "type": "array"
2624 }, 2829 },
2830 "sourceContext": {
2831 "$ref": "SourceContext",
2832 "description": "The source context."
2833 },
2625 "syntax": { 2834 "syntax": {
2626 "description": "The source syntax.", 2835 "description": "The source syntax.",
2627 "enum": [ 2836 "enum": [
2628 "SYNTAX_PROTO2", 2837 "SYNTAX_PROTO2",
2629 "SYNTAX_PROTO3" 2838 "SYNTAX_PROTO3"
2630 ], 2839 ],
2631 "enumDescriptions": [ 2840 "enumDescriptions": [
2632 "Syntax `proto2`.", 2841 "Syntax `proto2`.",
2633 "Syntax `proto3`." 2842 "Syntax `proto3`."
2634 ], 2843 ],
2635 "type": "string" 2844 "type": "string"
2636 },
2637 "sourceContext": {
2638 "$ref": "SourceContext",
2639 "description": "The source context."
2640 } 2845 }
2641 }, 2846 },
2642 "type": "object" 2847 "type": "object"
2643 }, 2848 },
2644 "GenerateConfigReportResponse": { 2849 "GenerateConfigReportResponse": {
2645 "description": "Response message for GenerateConfigReport method.", 2850 "description": "Response message for GenerateConfigReport method.",
2646 "id": "GenerateConfigReportResponse", 2851 "id": "GenerateConfigReportResponse",
2647 "properties": { 2852 "properties": {
2648 "diagnostics": {
2649 "description": "Errors / Linter warnings associated with the service definition this\nreport\nbelongs to.",
2650 "items": {
2651 "$ref": "Diagnostic"
2652 },
2653 "type": "array"
2654 },
2655 "serviceName": { 2853 "serviceName": {
2656 "description": "Name of the service this report belongs to." , 2854 "description": "Name of the service this report belongs to." ,
2657 "type": "string" 2855 "type": "string"
2658 }, 2856 },
2659 "changeReports": { 2857 "changeReports": {
2660 "description": "list of ChangeReport, each corresponding to comparison between two\nservice configurations.", 2858 "description": "list of ChangeReport, each corresponding to comparison between two\nservice configurations.",
2661 "items": { 2859 "items": {
2662 "$ref": "ChangeReport" 2860 "$ref": "ChangeReport"
2663 }, 2861 },
2664 "type": "array" 2862 "type": "array"
2665 }, 2863 },
2666 "id": { 2864 "id": {
2667 "description": "ID of the service configuration this report belongs to.", 2865 "description": "ID of the service configuration this report belongs to.",
2668 "type": "string" 2866 "type": "string"
2867 },
2868 "diagnostics": {
2869 "description": "Errors / Linter warnings associated with the service definition this\nreport\nbelongs to.",
2870 "items": {
2871 "$ref": "Diagnostic"
2872 },
2873 "type": "array"
2669 } 2874 }
2670 }, 2875 },
2671 "type": "object" 2876 "type": "object"
2672 }, 2877 },
2673 "ListServiceConfigsResponse": { 2878 "ListServiceConfigsResponse": {
2674 "description": "Response message for ListServiceConfigs method.", 2879 "description": "Response message for ListServiceConfigs method.",
2675 "id": "ListServiceConfigsResponse", 2880 "id": "ListServiceConfigsResponse",
2676 "properties": { 2881 "properties": {
2677 "serviceConfigs": { 2882 "serviceConfigs": {
2678 "description": "The list of service configuration resources. ", 2883 "description": "The list of service configuration resources. ",
(...skipping 13 matching lines...) Expand all
2692 "description": "Experimental service configuration. These configurat ion options can\nonly be used by whitelisted users.", 2897 "description": "Experimental service configuration. These configurat ion options can\nonly be used by whitelisted users.",
2693 "id": "Experimental", 2898 "id": "Experimental",
2694 "properties": { 2899 "properties": {
2695 "authorization": { 2900 "authorization": {
2696 "$ref": "AuthorizationConfig", 2901 "$ref": "AuthorizationConfig",
2697 "description": "Authorization configuration." 2902 "description": "Authorization configuration."
2698 } 2903 }
2699 }, 2904 },
2700 "type": "object" 2905 "type": "object"
2701 }, 2906 },
2702 "Backend": {
2703 "description": "`Backend` defines the backend configuration for a se rvice.",
2704 "id": "Backend",
2705 "properties": {
2706 "rules": {
2707 "description": "A list of API backend rules that apply to in dividual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.",
2708 "items": {
2709 "$ref": "BackendRule"
2710 },
2711 "type": "array"
2712 }
2713 },
2714 "type": "object"
2715 },
2716 "AuditConfig": { 2907 "AuditConfig": {
2717 "description": "Specifies the audit configuration for a service.\nTh e configuration determines which permission types are logged, and what\nidentiti es, if any, are exempted from logging.\nAn AuditConfig must have one or more Aud itLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_t ypes\nspecified in each AuditConfig are enabled, and the exempted_members in eac h\nAuditConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices \"\n \"audit_log_configs\": [\n {\n \"log_type\ ": \"DATA_READ\",\n \"exempted_members\": [\n \"user :foo@gmail.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"lo g_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"fooservice.googleapis.com\"\n \"audit_log_config s\": [\n {\n \"log_type\": \"DATA_READ\",\n } ,\n {\n \"log_type\": \"DATA_WRITE\",\n \"e xempted_members\": [\n \"user:bar@gmail.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor fooservice, this pol icy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts foo@g mail.com from DATA_READ logging, and\nbar@gmail.com from DATA_WRITE logging.", 2908 "description": "Specifies the audit configuration for a service.\nTh e configuration determines which permission types are logged, and what\nidentiti es, if any, are exempted from logging.\nAn AuditConfig must have one or more Aud itLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_t ypes\nspecified in each AuditConfig are enabled, and the exempted_members in eac h\nAuditConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices \"\n \"audit_log_configs\": [\n {\n \"log_type\ ": \"DATA_READ\",\n \"exempted_members\": [\n \"user :foo@gmail.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"lo g_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"fooservice.googleapis.com\"\n \"audit_log_config s\": [\n {\n \"log_type\": \"DATA_READ\",\n } ,\n {\n \"log_type\": \"DATA_WRITE\",\n \"e xempted_members\": [\n \"user:bar@gmail.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor fooservice, this pol icy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts foo@g mail.com from DATA_READ logging, and\nbar@gmail.com from DATA_WRITE logging.",
2718 "id": "AuditConfig", 2909 "id": "AuditConfig",
2719 "properties": { 2910 "properties": {
2911 "exemptedMembers": {
2912 "items": {
2913 "type": "string"
2914 },
2915 "type": "array"
2916 },
2720 "service": { 2917 "service": {
2721 "description": "Specifies a service that will be enabled for audit logging.\nFor example, `storage.googleapis.com`, `cloudsql.googleapis.com `.\n`allServices` is a special value that covers all services.", 2918 "description": "Specifies a service that will be enabled for audit logging.\nFor example, `storage.googleapis.com`, `cloudsql.googleapis.com `.\n`allServices` is a special value that covers all services.",
2722 "type": "string" 2919 "type": "string"
2723 }, 2920 },
2724 "auditLogConfigs": { 2921 "auditLogConfigs": {
2725 "description": "The configuration for logging of each type o f permission.\nNext ID: 4", 2922 "description": "The configuration for logging of each type o f permission.\nNext ID: 4",
2726 "items": { 2923 "items": {
2727 "$ref": "AuditLogConfig" 2924 "$ref": "AuditLogConfig"
2728 }, 2925 },
2729 "type": "array" 2926 "type": "array"
2730 }, 2927 }
2731 "exemptedMembers": { 2928 },
2929 "type": "object"
2930 },
2931 "Backend": {
2932 "description": "`Backend` defines the backend configuration for a se rvice.",
2933 "id": "Backend",
2934 "properties": {
2935 "rules": {
2936 "description": "A list of API backend rules that apply to in dividual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.",
2732 "items": { 2937 "items": {
2733 "type": "string" 2938 "$ref": "BackendRule"
2734 }, 2939 },
2735 "type": "array" 2940 "type": "array"
2736 } 2941 }
2737 }, 2942 },
2738 "type": "object" 2943 "type": "object"
2739 }, 2944 },
2740 "SubmitConfigSourceRequest": { 2945 "SubmitConfigSourceRequest": {
2741 "description": "Request message for SubmitConfigSource method.", 2946 "description": "Request message for SubmitConfigSource method.",
2742 "id": "SubmitConfigSourceRequest", 2947 "id": "SubmitConfigSourceRequest",
2743 "properties": { 2948 "properties": {
2949 "configSource": {
2950 "$ref": "ConfigSource",
2951 "description": "The source configuration for the service."
2952 },
2744 "validateOnly": { 2953 "validateOnly": {
2745 "description": "Optional. If set, this will result in the ge neration of a\n`google.api.Service` configuration based on the `ConfigSource` pr ovided,\nbut the generated config and the sources will NOT be persisted.", 2954 "description": "Optional. If set, this will result in the ge neration of a\n`google.api.Service` configuration based on the `ConfigSource` pr ovided,\nbut the generated config and the sources will NOT be persisted.",
2746 "type": "boolean" 2955 "type": "boolean"
2747 },
2748 "configSource": {
2749 "$ref": "ConfigSource",
2750 "description": "The source configuration for the service."
2751 } 2956 }
2752 }, 2957 },
2753 "type": "object" 2958 "type": "object"
2754 },
2755 "DocumentationRule": {
2756 "description": "A documentation rule provides information about indi vidual API elements.",
2757 "id": "DocumentationRule",
2758 "properties": {
2759 "deprecationDescription": {
2760 "description": "Deprecation description of the selected elem ent(s). It can be provided if an\nelement is marked as `deprecated`.",
2761 "type": "string"
2762 },
2763 "selector": {
2764 "description": "The selector is a comma-separated list of pa tterns. Each pattern is a\nqualified name of the element which may end in \"*\", indicating a wildcard.\nWildcards are only allowed at the end and for a whole c omponent of the\nqualified name, i.e. \"foo.*\" is ok, but not \"foo.b*\" or \"f oo.*.bar\". To\nspecify a default for all applicable elements, the whole pattern \"*\"\nis used.",
2765 "type": "string"
2766 },
2767 "description": {
2768 "description": "Description of the selected API(s).",
2769 "type": "string"
2770 }
2771 },
2772 "type": "object"
2773 }, 2959 },
2774 "AuthorizationConfig": { 2960 "AuthorizationConfig": {
2775 "description": "Configuration of authorization.\n\nThis section dete rmines the authorization provider, if unspecified, then no\nauthorization check will be done.\n\nExample:\n\n experimental:\n authorization:\n pr ovider: firebaserules.googleapis.com", 2961 "description": "Configuration of authorization.\n\nThis section dete rmines the authorization provider, if unspecified, then no\nauthorization check will be done.\n\nExample:\n\n experimental:\n authorization:\n pr ovider: firebaserules.googleapis.com",
2776 "id": "AuthorizationConfig", 2962 "id": "AuthorizationConfig",
2777 "properties": { 2963 "properties": {
2778 "provider": { 2964 "provider": {
2779 "description": "The name of the authorization provider, such as\nfirebaserules.googleapis.com.", 2965 "description": "The name of the authorization provider, such as\nfirebaserules.googleapis.com.",
2780 "type": "string" 2966 "type": "string"
2781 } 2967 }
2782 }, 2968 },
2783 "type": "object" 2969 "type": "object"
2784 }, 2970 },
2785 "ContextRule": { 2971 "DocumentationRule": {
2786 "description": "A context rule provides information about the contex t for an individual API\nelement.", 2972 "description": "A documentation rule provides information about indi vidual API elements.",
2787 "id": "ContextRule", 2973 "id": "DocumentationRule",
2788 "properties": { 2974 "properties": {
2789 "provided": { 2975 "description": {
2790 "description": "A list of full type names of provided contex ts.", 2976 "description": "Description of the selected API(s).",
2791 "items": { 2977 "type": "string"
2792 "type": "string"
2793 },
2794 "type": "array"
2795 }, 2978 },
2796 "requested": { 2979 "deprecationDescription": {
2797 "description": "A list of full type names of requested conte xts.", 2980 "description": "Deprecation description of the selected elem ent(s). It can be provided if an\nelement is marked as `deprecated`.",
2798 "items": { 2981 "type": "string"
2799 "type": "string"
2800 },
2801 "type": "array"
2802 }, 2982 },
2803 "selector": { 2983 "selector": {
2804 "description": "Selects the methods to which this rule appli es.\n\nRefer to selector for syntax details.", 2984 "description": "The selector is a comma-separated list of pa tterns. Each pattern is a\nqualified name of the element which may end in \"*\", indicating a wildcard.\nWildcards are only allowed at the end and for a whole c omponent of the\nqualified name, i.e. \"foo.*\" is ok, but not \"foo.b*\" or \"f oo.*.bar\". To\nspecify a default for all applicable elements, the whole pattern \"*\"\nis used.",
2805 "type": "string" 2985 "type": "string"
2806 } 2986 }
2807 }, 2987 },
2808 "type": "object" 2988 "type": "object"
2809 }, 2989 },
2810 "CloudAuditOptions": { 2990 "CloudAuditOptions": {
2811 "description": "Write a Cloud Audit log", 2991 "description": "Write a Cloud Audit log",
2812 "id": "CloudAuditOptions", 2992 "id": "CloudAuditOptions",
2813 "properties": { 2993 "properties": {
2814 "logName": { 2994 "logName": {
2815 "description": "The log_name to populate in the Cloud Audit Record.", 2995 "description": "The log_name to populate in the Cloud Audit Record.",
2816 "enum": [ 2996 "enum": [
2817 "UNSPECIFIED_LOG_NAME", 2997 "UNSPECIFIED_LOG_NAME",
2818 "ADMIN_ACTIVITY", 2998 "ADMIN_ACTIVITY",
2819 "DATA_ACCESS" 2999 "DATA_ACCESS"
2820 ], 3000 ],
2821 "enumDescriptions": [ 3001 "enumDescriptions": [
2822 "Default. Should not be used.", 3002 "Default. Should not be used.",
2823 "Corresponds to \"cloudaudit.googleapis.com/activity\"", 3003 "Corresponds to \"cloudaudit.googleapis.com/activity\"",
2824 "Corresponds to \"cloudaudit.googleapis.com/data_access\ "" 3004 "Corresponds to \"cloudaudit.googleapis.com/data_access\ ""
2825 ], 3005 ],
2826 "type": "string" 3006 "type": "string"
2827 } 3007 }
2828 }, 3008 },
2829 "type": "object" 3009 "type": "object"
2830 }, 3010 },
3011 "ContextRule": {
3012 "description": "A context rule provides information about the contex t for an individual API\nelement.",
3013 "id": "ContextRule",
3014 "properties": {
3015 "requested": {
3016 "description": "A list of full type names of requested conte xts.",
3017 "items": {
3018 "type": "string"
3019 },
3020 "type": "array"
3021 },
3022 "selector": {
3023 "description": "Selects the methods to which this rule appli es.\n\nRefer to selector for syntax details.",
3024 "type": "string"
3025 },
3026 "provided": {
3027 "description": "A list of full type names of provided contex ts.",
3028 "items": {
3029 "type": "string"
3030 },
3031 "type": "array"
3032 }
3033 },
3034 "type": "object"
3035 },
2831 "MetricDescriptor": { 3036 "MetricDescriptor": {
2832 "description": "Defines a metric type and its schema. Once a metric descriptor is created,\ndeleting or altering it stops data collection and makes the metric type's\nexisting data unusable.", 3037 "description": "Defines a metric type and its schema. Once a metric descriptor is created,\ndeleting or altering it stops data collection and makes the metric type's\nexisting data unusable.",
2833 "id": "MetricDescriptor", 3038 "id": "MetricDescriptor",
2834 "properties": { 3039 "properties": {
3040 "name": {
3041 "description": "The resource name of the metric descriptor. Depending on the\nimplementation, the name typically includes: (1) the parent re source name\nthat defines the scope of the metric type or of its data; and (2) t he\nmetric's URL-encoded type, which also appears in the `type` field of this\nd escriptor. For example, following is the resource name of a custom\nmetric withi n the GCP project `my-project-id`:\n\n \"projects/my-project-id/metricDescrip tors/custom.googleapis.com%2Finvoice%2Fpaid%2Famount\"",
3042 "type": "string"
3043 },
3044 "type": {
3045 "description": "The metric type, including its DNS name pref ix. The type is not\nURL-encoded. All user-defined custom metric types have the DNS name\n`custom.googleapis.com`. Metric types should use a natural hierarchi cal\ngrouping. For example:\n\n \"custom.googleapis.com/invoice/paid/amount\" \n \"appengine.googleapis.com/http/server/response_latencies\"",
3046 "type": "string"
3047 },
3048 "valueType": {
3049 "description": "Whether the measurement is an integer, a flo ating-point number, etc.\nSome combinations of `metric_kind` and `value_type` mi ght not be supported.",
3050 "enum": [
3051 "VALUE_TYPE_UNSPECIFIED",
3052 "BOOL",
3053 "INT64",
3054 "DOUBLE",
3055 "STRING",
3056 "DISTRIBUTION",
3057 "MONEY"
3058 ],
3059 "enumDescriptions": [
3060 "Do not use this default value.",
3061 "The value is a boolean.\nThis value type can be used on ly if the metric kind is `GAUGE`.",
3062 "The value is a signed 64-bit integer.",
3063 "The value is a double precision floating point number." ,
3064 "The value is a text string.\nThis value type can be use d only if the metric kind is `GAUGE`.",
3065 "The value is a `Distribution`.",
3066 "The value is money."
3067 ],
3068 "type": "string"
3069 },
2835 "metricKind": { 3070 "metricKind": {
2836 "description": "Whether the metric records instantaneous val ues, changes to a value, etc.\nSome combinations of `metric_kind` and `value_typ e` might not be supported.", 3071 "description": "Whether the metric records instantaneous val ues, changes to a value, etc.\nSome combinations of `metric_kind` and `value_typ e` might not be supported.",
2837 "enum": [ 3072 "enum": [
2838 "METRIC_KIND_UNSPECIFIED", 3073 "METRIC_KIND_UNSPECIFIED",
2839 "GAUGE", 3074 "GAUGE",
2840 "DELTA", 3075 "DELTA",
2841 "CUMULATIVE" 3076 "CUMULATIVE"
2842 ], 3077 ],
2843 "enumDescriptions": [ 3078 "enumDescriptions": [
2844 "Do not use this default value.", 3079 "Do not use this default value.",
(...skipping 14 matching lines...) Expand all
2859 "unit": { 3094 "unit": {
2860 "description": "The unit in which the metric value is report ed. It is only applicable\nif the `value_type` is `INT64`, `DOUBLE`, or `DISTRIB UTION`. The\nsupported units are a subset of [The Unified Code for Units of\nMea sure](http://unitsofmeasure.org/ucum.html) standard:\n\n**Basic units (UNIT)**\n \n* `bit` bit\n* `By` byte\n* `s` second\n* `min` minute\n* `h` h our\n* `d` day\n\n**Prefixes (PREFIX)**\n\n* `k` kilo (10**3)\n* `M` mega (10**6)\n* `G` giga (10**9)\n* `T` tera (10**12)\n* `P ` peta (10**15)\n* `E` exa (10**18)\n* `Z` zetta (10**21)\n * `Y` yotta (10**24)\n* `m` milli (10**-3)\n* `u` micro (10**- 6)\n* `n` nano (10**-9)\n* `p` pico (10**-12)\n* `f` femto ( 10**-15)\n* `a` atto (10**-18)\n* `z` zepto (10**-21)\n* `y` yo cto (10**-24)\n* `Ki` kibi (2**10)\n* `Mi` mebi (2**20)\n* `Gi` gibi (2**30)\n* `Ti` tebi (2**40)\n\n**Grammar**\n\nThe grammar includ es the dimensionless unit `1`, such as `1/s`.\n\nThe grammar also includes these connectors:\n\n* `/` division (as an infix operator, e.g. `1/s`).\n* `.` multiplication (as an infix operator, e.g. `GBy.d`)\n\nThe grammar for a unit is as follows:\n\n Expression = Component { \".\" Component } { \"/\" Component } ;\n\n Component = [ PREFIX ] UNIT [ Annotation ]\n | Annotati on\n | \"1\"\n ;\n\n Annotation = \"{\" NAME \"}\" ;\n\nNotes:\n\n* `Annotation` is just a comment if it follows a `UNIT` and is\n equivalent to `1` if it is used alone. For examples,\n `{requests}/s == 1/s` , `By{transmitted}/s == By/s`.\n* `NAME` is a sequence of non-blank printable AS CII characters not\n containing '{' or '}'.", 3095 "description": "The unit in which the metric value is report ed. It is only applicable\nif the `value_type` is `INT64`, `DOUBLE`, or `DISTRIB UTION`. The\nsupported units are a subset of [The Unified Code for Units of\nMea sure](http://unitsofmeasure.org/ucum.html) standard:\n\n**Basic units (UNIT)**\n \n* `bit` bit\n* `By` byte\n* `s` second\n* `min` minute\n* `h` h our\n* `d` day\n\n**Prefixes (PREFIX)**\n\n* `k` kilo (10**3)\n* `M` mega (10**6)\n* `G` giga (10**9)\n* `T` tera (10**12)\n* `P ` peta (10**15)\n* `E` exa (10**18)\n* `Z` zetta (10**21)\n * `Y` yotta (10**24)\n* `m` milli (10**-3)\n* `u` micro (10**- 6)\n* `n` nano (10**-9)\n* `p` pico (10**-12)\n* `f` femto ( 10**-15)\n* `a` atto (10**-18)\n* `z` zepto (10**-21)\n* `y` yo cto (10**-24)\n* `Ki` kibi (2**10)\n* `Mi` mebi (2**20)\n* `Gi` gibi (2**30)\n* `Ti` tebi (2**40)\n\n**Grammar**\n\nThe grammar includ es the dimensionless unit `1`, such as `1/s`.\n\nThe grammar also includes these connectors:\n\n* `/` division (as an infix operator, e.g. `1/s`).\n* `.` multiplication (as an infix operator, e.g. `GBy.d`)\n\nThe grammar for a unit is as follows:\n\n Expression = Component { \".\" Component } { \"/\" Component } ;\n\n Component = [ PREFIX ] UNIT [ Annotation ]\n | Annotati on\n | \"1\"\n ;\n\n Annotation = \"{\" NAME \"}\" ;\n\nNotes:\n\n* `Annotation` is just a comment if it follows a `UNIT` and is\n equivalent to `1` if it is used alone. For examples,\n `{requests}/s == 1/s` , `By{transmitted}/s == By/s`.\n* `NAME` is a sequence of non-blank printable AS CII characters not\n containing '{' or '}'.",
2861 "type": "string" 3096 "type": "string"
2862 }, 3097 },
2863 "labels": { 3098 "labels": {
2864 "description": "The set of labels that can be used to descri be a specific\ninstance of this metric type. For example, the\n`appengine.google apis.com/http/server/response_latencies` metric\ntype has a label for the HTTP r esponse code, `response_code`, so\nyou can look at latencies for successful resp onses or just\nfor responses that failed.", 3099 "description": "The set of labels that can be used to descri be a specific\ninstance of this metric type. For example, the\n`appengine.google apis.com/http/server/response_latencies` metric\ntype has a label for the HTTP r esponse code, `response_code`, so\nyou can look at latencies for successful resp onses or just\nfor responses that failed.",
2865 "items": { 3100 "items": {
2866 "$ref": "LabelDescriptor" 3101 "$ref": "LabelDescriptor"
2867 }, 3102 },
2868 "type": "array" 3103 "type": "array"
2869 },
2870 "name": {
2871 "description": "The resource name of the metric descriptor. Depending on the\nimplementation, the name typically includes: (1) the parent re source name\nthat defines the scope of the metric type or of its data; and (2) t he\nmetric's URL-encoded type, which also appears in the `type` field of this\nd escriptor. For example, following is the resource name of a custom\nmetric withi n the GCP project `my-project-id`:\n\n \"projects/my-project-id/metricDescrip tors/custom.googleapis.com%2Finvoice%2Fpaid%2Famount\"",
2872 "type": "string"
2873 },
2874 "type": {
2875 "description": "The metric type, including its DNS name pref ix. The type is not\nURL-encoded. All user-defined custom metric types have the DNS name\n`custom.googleapis.com`. Metric types should use a natural hierarchi cal\ngrouping. For example:\n\n \"custom.googleapis.com/invoice/paid/amount\" \n \"appengine.googleapis.com/http/server/response_latencies\"",
2876 "type": "string"
2877 },
2878 "valueType": {
2879 "description": "Whether the measurement is an integer, a flo ating-point number, etc.\nSome combinations of `metric_kind` and `value_type` mi ght not be supported.",
2880 "enum": [
2881 "VALUE_TYPE_UNSPECIFIED",
2882 "BOOL",
2883 "INT64",
2884 "DOUBLE",
2885 "STRING",
2886 "DISTRIBUTION",
2887 "MONEY"
2888 ],
2889 "enumDescriptions": [
2890 "Do not use this default value.",
2891 "The value is a boolean.\nThis value type can be used on ly if the metric kind is `GAUGE`.",
2892 "The value is a signed 64-bit integer.",
2893 "The value is a double precision floating point number." ,
2894 "The value is a text string.\nThis value type can be use d only if the metric kind is `GAUGE`.",
2895 "The value is a `Distribution`.",
2896 "The value is money."
2897 ],
2898 "type": "string"
2899 } 3104 }
2900 }, 3105 },
2901 "type": "object" 3106 "type": "object"
2902 }, 3107 },
2903 "SourceContext": { 3108 "SourceContext": {
2904 "description": "`SourceContext` represents information about the sou rce of a\nprotobuf element, like the file in which it is defined.", 3109 "description": "`SourceContext` represents information about the sou rce of a\nprotobuf element, like the file in which it is defined.",
2905 "id": "SourceContext", 3110 "id": "SourceContext",
2906 "properties": { 3111 "properties": {
2907 "fileName": { 3112 "fileName": {
2908 "description": "The path-qualified name of the .proto file t hat contained the associated\nprotobuf element. For example: `\"google/protobuf /source_context.proto\"`.", 3113 "description": "The path-qualified name of the .proto file t hat contained the associated\nprotobuf element. For example: `\"google/protobuf /source_context.proto\"`.",
2909 "type": "string" 3114 "type": "string"
2910 } 3115 }
2911 }, 3116 },
2912 "type": "object" 3117 "type": "object"
2913 }, 3118 },
2914 "Expr": { 3119 "Expr": {
2915 "description": "Represents an expression text. Example:\n\n title : \"User account presence\"\n description: \"Determines whether the request h as a user account\"\n expression: \"size(request.user) > 0\"", 3120 "description": "Represents an expression text. Example:\n\n title : \"User account presence\"\n description: \"Determines whether the request h as a user account\"\n expression: \"size(request.user) > 0\"",
2916 "id": "Expr", 3121 "id": "Expr",
2917 "properties": { 3122 "properties": {
2918 "description": { 3123 "description": {
2919 "description": "An optional description of the expression. T his is a longer text which\ndescribes the expression, e.g. when hovered over it in a UI.", 3124 "description": "An optional description of the expression. T his is a longer text which\ndescribes the expression, e.g. when hovered over it in a UI.",
2920 "type": "string" 3125 "type": "string"
2921 }, 3126 },
2922 "expression": { 3127 "expression": {
2923 "description": "Textual representation of an expression in\n [Common Expression Language](http://go/api-expr) syntax.\n\nThe application cont ext of the containing message determines which\nwell-known feature set of CEL is supported.", 3128 "description": "Textual representation of an expression in\n Common Expression Language syntax.\n\nThe application context of the containing message determines which\nwell-known feature set of CEL is supported.",
3129 "type": "string"
3130 },
3131 "location": {
3132 "description": "An optional string indicating the location o f the expression for error\nreporting, e.g. a file name and a position in the fi le.",
2924 "type": "string" 3133 "type": "string"
2925 }, 3134 },
2926 "title": { 3135 "title": {
2927 "description": "An optional title for the expression, i.e. a short string describing\nits purpose. This can be used e.g. in UIs which allow to enter the\nexpression.", 3136 "description": "An optional title for the expression, i.e. a short string describing\nits purpose. This can be used e.g. in UIs which allow to enter the\nexpression.",
2928 "type": "string" 3137 "type": "string"
2929 },
2930 "location": {
2931 "description": "An optional string indicating the location o f the expression for error\nreporting, e.g. a file name and a position in the fi le.",
2932 "type": "string"
2933 } 3138 }
2934 }, 3139 },
2935 "type": "object" 3140 "type": "object"
2936 }, 3141 },
2937 "ListServicesResponse": { 3142 "ListServicesResponse": {
2938 "description": "Response message for `ListServices` method.", 3143 "description": "Response message for `ListServices` method.",
2939 "id": "ListServicesResponse", 3144 "id": "ListServicesResponse",
2940 "properties": { 3145 "properties": {
3146 "nextPageToken": {
3147 "description": "Token that can be passed to `ListServices` t o resume a paginated query.",
3148 "type": "string"
3149 },
2941 "services": { 3150 "services": {
2942 "description": "The returned services will only have the nam e field set.", 3151 "description": "The returned services will only have the nam e field set.",
2943 "items": { 3152 "items": {
2944 "$ref": "ManagedService" 3153 "$ref": "ManagedService"
2945 }, 3154 },
2946 "type": "array" 3155 "type": "array"
2947 },
2948 "nextPageToken": {
2949 "description": "Token that can be passed to `ListServices` t o resume a paginated query.",
2950 "type": "string"
2951 } 3156 }
2952 }, 3157 },
2953 "type": "object" 3158 "type": "object"
2954 }, 3159 },
2955 "Endpoint": { 3160 "Endpoint": {
2956 "description": "`Endpoint` describes a network endpoint that serves a set of APIs.\nA service may expose any number of endpoints, and all endpoints share the\nsame service configuration, such as quota configuration and monitorin g\nconfiguration.\n\nExample service configuration:\n\n name: library-example .googleapis.com\n endpoints:\n # Below entry makes 'google.example.libra ry.v1.Library'\n # API be served from endpoint address library-example.goog leapis.com.\n # It also allows HTTP OPTIONS calls to be passed to the backe nd, for\n # it to decide whether the subsequent cross-origin request is\n # allowed to proceed.\n - name: library-example.googleapis.com\n all ow_cors: true", 3161 "description": "`Endpoint` describes a network endpoint that serves a set of APIs.\nA service may expose any number of endpoints, and all endpoints share the\nsame service configuration, such as quota configuration and monitorin g\nconfiguration.\n\nExample service configuration:\n\n name: library-example .googleapis.com\n endpoints:\n # Below entry makes 'google.example.libra ry.v1.Library'\n # API be served from endpoint address library-example.goog leapis.com.\n # It also allows HTTP OPTIONS calls to be passed to the backe nd, for\n # it to decide whether the subsequent cross-origin request is\n # allowed to proceed.\n - name: library-example.googleapis.com\n all ow_cors: true",
2957 "id": "Endpoint", 3162 "id": "Endpoint",
2958 "properties": { 3163 "properties": {
2959 "features": {
2960 "description": "The list of features enabled on this endpoin t.",
2961 "items": {
2962 "type": "string"
2963 },
2964 "type": "array"
2965 },
2966 "apis": { 3164 "apis": {
2967 "description": "The list of APIs served by this endpoint.\n\ nIf no APIs are specified this translates to \"all APIs\" exported by the\nservi ce, as defined in the top-level service configuration.", 3165 "description": "The list of APIs served by this endpoint.\n\ nIf no APIs are specified this translates to \"all APIs\" exported by the\nservi ce, as defined in the top-level service configuration.",
2968 "items": { 3166 "items": {
2969 "type": "string" 3167 "type": "string"
2970 }, 3168 },
2971 "type": "array" 3169 "type": "array"
2972 }, 3170 },
2973 "allowCors": { 3171 "allowCors": {
2974 "description": "Allowing\n[CORS](https://en.wikipedia.org/wi ki/Cross-origin_resource_sharing), aka\ncross-domain traffic, would allow the ba ckends served from this endpoint to\nreceive and respond to HTTP OPTIONS request s. The response will be used by\nthe browser to determine whether the subsequent cross-origin request is\nallowed to proceed.", 3172 "description": "Allowing\n[CORS](https://en.wikipedia.org/wi ki/Cross-origin_resource_sharing), aka\ncross-domain traffic, would allow the ba ckends served from this endpoint to\nreceive and respond to HTTP OPTIONS request s. The response will be used by\nthe browser to determine whether the subsequent cross-origin request is\nallowed to proceed.",
2975 "type": "boolean" 3173 "type": "boolean"
2976 }, 3174 },
2977 "aliases": { 3175 "aliases": {
2978 "description": "DEPRECATED: This field is no longer supporte d. Instead of using aliases,\nplease specify multiple google.api.Endpoint for ea ch of the intented\nalias.\n\nAdditional names that this endpoint will be hosted on.", 3176 "description": "DEPRECATED: This field is no longer supporte d. Instead of using aliases,\nplease specify multiple google.api.Endpoint for ea ch of the intented\nalias.\n\nAdditional names that this endpoint will be hosted on.",
2979 "items": { 3177 "items": {
2980 "type": "string" 3178 "type": "string"
2981 }, 3179 },
2982 "type": "array" 3180 "type": "array"
2983 }, 3181 },
3182 "name": {
3183 "description": "The canonical name of this endpoint.",
3184 "type": "string"
3185 },
2984 "target": { 3186 "target": {
2985 "description": "The specification of an Internet routable ad dress of API frontend that will\nhandle requests to this [API Endpoint](https:// cloud.google.com/apis/design/glossary).\nIt should be either a valid IPv4 addres s or a fully-qualified domain name.\nFor example, \"8.8.8.8\" or \"myservice.app spot.com\".", 3187 "description": "The specification of an Internet routable ad dress of API frontend that will\nhandle requests to this [API Endpoint](https:// cloud.google.com/apis/design/glossary).\nIt should be either a valid IPv4 addres s or a fully-qualified domain name.\nFor example, \"8.8.8.8\" or \"myservice.app spot.com\".",
2986 "type": "string" 3188 "type": "string"
2987 }, 3189 },
2988 "name": { 3190 "features": {
2989 "description": "The canonical name of this endpoint.", 3191 "description": "The list of features enabled on this endpoin t.",
2990 "type": "string" 3192 "items": {
3193 "type": "string"
3194 },
3195 "type": "array"
2991 } 3196 }
2992 }, 3197 },
2993 "type": "object" 3198 "type": "object"
2994 }, 3199 },
2995 "OAuthRequirements": { 3200 "OAuthRequirements": {
2996 "description": "OAuth scopes are a way to define data and permission s on data. For example,\nthere are scopes defined for \"Read-only access to Goog le Calendar\" and\n\"Access to Cloud Platform\". Users can consent to a scope fo r an application,\ngiving it permission to access that data on their behalf.\n\n OAuth scope specifications should be fairly coarse grained; a user will need\nto see and understand the text description of what your scope means.\n\nIn most ca ses: use one or at most two OAuth scopes for an entire family of\nproducts. If y our product has multiple APIs, you should probably be sharing\nthe OAuth scope a cross all of those APIs.\n\nWhen you need finer grained OAuth consent screens: t alk with your product\nmanagement about how developers will use them in practice .\n\nPlease note that even though each of the canonical scopes is enough for a\n request to be accepted and passed to the backend, a request can still fail\ndue to the backend requiring additional scopes or permissions.", 3201 "description": "OAuth scopes are a way to define data and permission s on data. For example,\nthere are scopes defined for \"Read-only access to Goog le Calendar\" and\n\"Access to Cloud Platform\". Users can consent to a scope fo r an application,\ngiving it permission to access that data on their behalf.\n\n OAuth scope specifications should be fairly coarse grained; a user will need\nto see and understand the text description of what your scope means.\n\nIn most ca ses: use one or at most two OAuth scopes for an entire family of\nproducts. If y our product has multiple APIs, you should probably be sharing\nthe OAuth scope a cross all of those APIs.\n\nWhen you need finer grained OAuth consent screens: t alk with your product\nmanagement about how developers will use them in practice .\n\nPlease note that even though each of the canonical scopes is enough for a\n request to be accepted and passed to the backend, a request can still fail\ndue to the backend requiring additional scopes or permissions.",
2997 "id": "OAuthRequirements", 3202 "id": "OAuthRequirements",
2998 "properties": { 3203 "properties": {
2999 "canonicalScopes": { 3204 "canonicalScopes": {
3000 "description": "The list of publicly documented OAuth scopes that are allowed access. An\nOAuth token containing any of these scopes will be accepted.\n\nExample:\n\n canonical_scopes: https://www.googleapis.com/auth /calendar,\n https://www.googleapis.com/auth/calendar.read ", 3205 "description": "The list of publicly documented OAuth scopes that are allowed access. An\nOAuth token containing any of these scopes will be accepted.\n\nExample:\n\n canonical_scopes: https://www.googleapis.com/auth /calendar,\n https://www.googleapis.com/auth/calendar.read ",
(...skipping 19 matching lines...) Expand all
3020 "GetIamPolicyRequest": { 3225 "GetIamPolicyRequest": {
3021 "description": "Request message for `GetIamPolicy` method.", 3226 "description": "Request message for `GetIamPolicy` method.",
3022 "id": "GetIamPolicyRequest", 3227 "id": "GetIamPolicyRequest",
3023 "properties": {}, 3228 "properties": {},
3024 "type": "object" 3229 "type": "object"
3025 }, 3230 },
3026 "Usage": { 3231 "Usage": {
3027 "description": "Configuration controlling usage of a service.", 3232 "description": "Configuration controlling usage of a service.",
3028 "id": "Usage", 3233 "id": "Usage",
3029 "properties": { 3234 "properties": {
3030 "requirements": {
3031 "description": "Requirements that must be satisfied before a consumer project can use the\nservice. Each requirement is of the form <service .name>/<requirement-id>;\nfor example 'serviceusage.googleapis.com/billing-enabl ed'.",
3032 "items": {
3033 "type": "string"
3034 },
3035 "type": "array"
3036 },
3037 "producerNotificationChannel": { 3235 "producerNotificationChannel": {
3038 "description": "The full resource name of a channel used for sending notifications to the\nservice producer.\n\nGoogle Service Management cu rrently only supports\n[Google Cloud Pub/Sub](https://cloud.google.com/pubsub) a s a notification\nchannel. To use Google Cloud Pub/Sub as the channel, this must be the name\nof a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name fo rmat\ndocumented in https://cloud.google.com/pubsub/docs/overview.", 3236 "description": "The full resource name of a channel used for sending notifications to the\nservice producer.\n\nGoogle Service Management cu rrently only supports\n[Google Cloud Pub/Sub](https://cloud.google.com/pubsub) a s a notification\nchannel. To use Google Cloud Pub/Sub as the channel, this must be the name\nof a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name fo rmat\ndocumented in https://cloud.google.com/pubsub/docs/overview.",
3039 "type": "string" 3237 "type": "string"
3040 }, 3238 },
3041 "rules": { 3239 "rules": {
3042 "description": "A list of usage rules that apply to individu al API methods.\n\n**NOTE:** All service configuration rules follow \"last one w ins\" order.", 3240 "description": "A list of usage rules that apply to individu al API methods.\n\n**NOTE:** All service configuration rules follow \"last one w ins\" order.",
3043 "items": { 3241 "items": {
3044 "$ref": "UsageRule" 3242 "$ref": "UsageRule"
3045 }, 3243 },
3046 "type": "array" 3244 "type": "array"
3245 },
3246 "requirements": {
3247 "description": "Requirements that must be satisfied before a consumer project can use the\nservice. Each requirement is of the form <service .name>/<requirement-id>;\nfor example 'serviceusage.googleapis.com/billing-enabl ed'.",
3248 "items": {
3249 "type": "string"
3250 },
3251 "type": "array"
3047 } 3252 }
3048 }, 3253 },
3049 "type": "object" 3254 "type": "object"
3050 }, 3255 },
3051 "Context": { 3256 "Context": {
3052 "description": "`Context` defines which contexts an API requests.\n\ nExample:\n\n context:\n rules:\n - selector: \"*\"\n reques ted:\n - google.rpc.context.ProjectContext\n - google.rpc.context. OriginContext\n\nThe above specifies that all methods in the API request\n`googl e.rpc.context.ProjectContext` and\n`google.rpc.context.OriginContext`.\n\nAvaila ble context types are defined in package\n`google.rpc.context`.", 3257 "description": "`Context` defines which contexts an API requests.\n\ nExample:\n\n context:\n rules:\n - selector: \"*\"\n reques ted:\n - google.rpc.context.ProjectContext\n - google.rpc.context. OriginContext\n\nThe above specifies that all methods in the API request\n`googl e.rpc.context.ProjectContext` and\n`google.rpc.context.OriginContext`.\n\nAvaila ble context types are defined in package\n`google.rpc.context`.",
3053 "id": "Context", 3258 "id": "Context",
3054 "properties": { 3259 "properties": {
3055 "rules": { 3260 "rules": {
3056 "description": "A list of RPC context rules that apply to in dividual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.", 3261 "description": "A list of RPC context rules that apply to in dividual API methods.\n\n**NOTE:** All service configuration rules follow \"last one wins\" order.",
3057 "items": { 3262 "items": {
3058 "$ref": "ContextRule" 3263 "$ref": "ContextRule"
3059 }, 3264 },
3060 "type": "array" 3265 "type": "array"
3061 } 3266 }
3062 }, 3267 },
3063 "type": "object" 3268 "type": "object"
3064 }, 3269 },
3065 "Rule": { 3270 "Rule": {
3066 "description": "A rule to be applied in a Policy.", 3271 "description": "A rule to be applied in a Policy.",
3067 "id": "Rule", 3272 "id": "Rule",
3068 "properties": { 3273 "properties": {
3069 "permissions": {
3070 "description": "A permission is a string of form '<service>. <resource type>.<verb>'\n(e.g., 'storage.buckets.list'). A value of '*' matches all permissions,\nand a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.",
3071 "items": {
3072 "type": "string"
3073 },
3074 "type": "array"
3075 },
3076 "action": { 3274 "action": {
3077 "description": "Required", 3275 "description": "Required",
3078 "enum": [ 3276 "enum": [
3079 "NO_ACTION", 3277 "NO_ACTION",
3080 "ALLOW", 3278 "ALLOW",
3081 "ALLOW_WITH_LOG", 3279 "ALLOW_WITH_LOG",
3082 "DENY", 3280 "DENY",
3083 "DENY_WITH_LOG", 3281 "DENY_WITH_LOG",
3084 "LOG" 3282 "LOG"
3085 ], 3283 ],
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
3117 "$ref": "LogConfig" 3315 "$ref": "LogConfig"
3118 }, 3316 },
3119 "type": "array" 3317 "type": "array"
3120 }, 3318 },
3121 "in": { 3319 "in": {
3122 "description": "If one or more 'in' clauses are specified, t he rule matches if\nthe PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.", 3320 "description": "If one or more 'in' clauses are specified, t he rule matches if\nthe PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.",
3123 "items": { 3321 "items": {
3124 "type": "string" 3322 "type": "string"
3125 }, 3323 },
3126 "type": "array" 3324 "type": "array"
3325 },
3326 "permissions": {
3327 "description": "A permission is a string of form '<service>. <resource type>.<verb>'\n(e.g., 'storage.buckets.list'). A value of '*' matches all permissions,\nand a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.",
3328 "items": {
3329 "type": "string"
3330 },
3331 "type": "array"
3127 } 3332 }
3128 }, 3333 },
3129 "type": "object" 3334 "type": "object"
3130 }, 3335 },
3131 "LogConfig": { 3336 "LogConfig": {
3132 "description": "Specifies what kind of log the caller must write", 3337 "description": "Specifies what kind of log the caller must write\nIn crement a streamz counter with the specified metric and field names.\n\nMetric n ames should start with a '/', generally be lowercase-only,\nand end in \"_count\ ". Field names should not contain an initial slash.\nThe actual exported metric names will have \"/iam/policy\" prepended.\n\nField names correspond to IAM requ est parameters and field values are\ntheir respective values.\n\nAt present the only supported field names are\n - \"iam_principal\", corresponding to IAMCont ext.principal;\n - \"\" (empty string), resulting in one aggretated counter wi th no field.\n\nExamples:\n counter { metric: \"/debug_access_count\" field: \ "iam_principal\" }\n ==> increment counter /iam/policy/backend_debug_access_cou nt\n {iam_principal=[value of IAMContext.principal]}\n\nA t this time we do not support:\n* multiple field names (though this may be suppo rted in the future)\n* decrementing the counter\n* incrementing it by anything o ther than 1",
3133 "id": "LogConfig", 3338 "id": "LogConfig",
3134 "properties": { 3339 "properties": {
3135 "cloudAudit": { 3340 "cloudAudit": {
3136 "$ref": "CloudAuditOptions", 3341 "$ref": "CloudAuditOptions",
3137 "description": "Cloud audit options." 3342 "description": "Cloud audit options."
3138 }, 3343 },
3139 "counter": { 3344 "counter": {
3140 "$ref": "CounterOptions", 3345 "$ref": "CounterOptions",
3141 "description": "Counter options." 3346 "description": "Counter options."
3142 }, 3347 },
3143 "dataAccess": { 3348 "dataAccess": {
3144 "$ref": "DataAccessOptions", 3349 "$ref": "DataAccessOptions",
3145 "description": "Data access options." 3350 "description": "Data access options."
3146 } 3351 }
3147 }, 3352 },
3148 "type": "object" 3353 "type": "object"
3149 }, 3354 },
3150 "LogDescriptor": { 3355 "LogDescriptor": {
3151 "description": "A description of a log type. Example in YAML format: \n\n - name: library.googleapis.com/activity_history\n description: The history of borrowing and returning library items.\n display_name: Activity\ n labels:\n - key: /customer_id\n description: Identifier of a library customer", 3356 "description": "A description of a log type. Example in YAML format: \n\n - name: library.googleapis.com/activity_history\n description: The history of borrowing and returning library items.\n display_name: Activity\ n labels:\n - key: /customer_id\n description: Identifier of a library customer",
3152 "id": "LogDescriptor", 3357 "id": "LogDescriptor",
3153 "properties": { 3358 "properties": {
3359 "name": {
3360 "description": "The name of the log. It must be less than 51 2 characters long and can\ninclude the following characters: upper- and lower-ca se alphanumeric\ncharacters [A-Za-z0-9], and punctuation characters including\ns lash, underscore, hyphen, period [/_-.].",
3361 "type": "string"
3362 },
3363 "displayName": {
3364 "description": "The human-readable name for this log. This i nformation appears on\nthe user interface and should be concise.",
3365 "type": "string"
3366 },
3367 "description": {
3368 "description": "A human-readable description of this log. Th is information appears in\nthe documentation and can contain details.",
3369 "type": "string"
3370 },
3154 "labels": { 3371 "labels": {
3155 "description": "The set of labels that are available to desc ribe a specific log entry.\nRuntime requests that contain labels not specified h ere are\nconsidered invalid.", 3372 "description": "The set of labels that are available to desc ribe a specific log entry.\nRuntime requests that contain labels not specified h ere are\nconsidered invalid.",
3156 "items": { 3373 "items": {
3157 "$ref": "LabelDescriptor" 3374 "$ref": "LabelDescriptor"
3158 }, 3375 },
3159 "type": "array" 3376 "type": "array"
3160 },
3161 "name": {
3162 "description": "The name of the log. It must be less than 51 2 characters long and can\ninclude the following characters: upper- and lower-ca se alphanumeric\ncharacters [A-Za-z0-9], and punctuation characters including\ns lash, underscore, hyphen, period [/_-.].",
3163 "type": "string"
3164 },
3165 "description": {
3166 "description": "A human-readable description of this log. Th is information appears in\nthe documentation and can contain details.",
3167 "type": "string"
3168 },
3169 "displayName": {
3170 "description": "The human-readable name for this log. This i nformation appears on\nthe user interface and should be concise.",
3171 "type": "string"
3172 } 3377 }
3173 }, 3378 },
3174 "type": "object" 3379 "type": "object"
3175 },
3176 "ConfigFile": {
3177 "description": "Generic specification of a source configuration file ",
3178 "id": "ConfigFile",
3179 "properties": {
3180 "filePath": {
3181 "description": "The file name of the configuration file (ful l or relative path).",
3182 "type": "string"
3183 },
3184 "fileType": {
3185 "description": "The type of configuration file this represen ts.",
3186 "enum": [
3187 "FILE_TYPE_UNSPECIFIED",
3188 "SERVICE_CONFIG_YAML",
3189 "OPEN_API_JSON",
3190 "OPEN_API_YAML",
3191 "FILE_DESCRIPTOR_SET_PROTO"
3192 ],
3193 "enumDescriptions": [
3194 "Unknown file type.",
3195 "YAML-specification of service.",
3196 "OpenAPI specification, serialized in JSON.",
3197 "OpenAPI specification, serialized in YAML.",
3198 "FileDescriptorSet, generated by protoc.\n\nTo generate, use protoc with imports and source info included.\nFor an example test.proto fi le, the following command would put the value\nin a new file named out.pb.\n\n$p rotoc --include_imports --include_source_info test.proto -o out.pb"
3199 ],
3200 "type": "string"
3201 },
3202 "fileContents": {
3203 "description": "The bytes that constitute the file.",
3204 "format": "byte",
3205 "type": "string"
3206 }
3207 },
3208 "type": "object"
3209 },
3210 "MonitoredResourceDescriptor": {
3211 "description": "An object that describes the schema of a MonitoredRe source object using a\ntype name and a set of labels. For example, the monitore d resource\ndescriptor for Google Compute Engine VM instances has a type of\n`\" gce_instance\"` and specifies the use of the labels `\"instance_id\"` and\n`\"zo ne\"` to identify particular VM instances.\n\nDifferent APIs can support differe nt monitored resource types. APIs generally\nprovide a `list` method that return s the monitored resource descriptors used\nby the API.",
3212 "id": "MonitoredResourceDescriptor",
3213 "properties": {
3214 "displayName": {
3215 "description": "Optional. A concise name for the monitored r esource type that might be\ndisplayed in user interfaces. It should be a Title C ased Noun Phrase,\nwithout any article or other determiners. For example,\n`\"Go ogle Cloud SQL Database\"`.",
3216 "type": "string"
3217 },
3218 "description": {
3219 "description": "Optional. A detailed description of the moni tored resource type that might\nbe used in documentation.",
3220 "type": "string"
3221 },
3222 "type": {
3223 "description": "Required. The monitored resource type. For e xample, the type\n`\"cloudsql_database\"` represents databases in Google Cloud S QL.\nThe maximum length of this value is 256 characters.",
3224 "type": "string"
3225 },
3226 "labels": {
3227 "description": "Required. A set of labels used to describe i nstances of this monitored\nresource type. For example, an individual Google Clo ud SQL database is\nidentified by values for the labels `\"database_id\"` and `\ "zone\"`.",
3228 "items": {
3229 "$ref": "LabelDescriptor"
3230 },
3231 "type": "array"
3232 },
3233 "name": {
3234 "description": "Optional. The resource name of the monitored resource descriptor:\n`\"projects/{project_id}/monitoredResourceDescriptors/{ty pe}\"` where\n{type} is the value of the `type` field in this object and\n{proje ct_id} is a project ID that provides API-specific context for\naccessing the typ e. APIs that do not use project information can use the\nresource name format ` \"monitoredResourceDescriptors/{type}\"`.",
3235 "type": "string"
3236 }
3237 },
3238 "type": "object"
3239 },
3240 "CustomErrorRule": {
3241 "description": "A custom error rule.",
3242 "id": "CustomErrorRule",
3243 "properties": {
3244 "isErrorType": {
3245 "description": "Mark this message as possible payload in err or response. Otherwise,\nobjects of this type will be filtered when they appear in error payload.",
3246 "type": "boolean"
3247 },
3248 "selector": {
3249 "description": "Selects messages to which this rule applies. \n\nRefer to selector for syntax details.",
3250 "type": "string"
3251 }
3252 },
3253 "type": "object"
3254 },
3255 "MediaDownload": {
3256 "description": "Defines the Media configuration for a service in cas e of a download.\nUse this only for Scotty Requests. Do not use this for media s upport using\nBytestream, add instead [][google.bytestream.RestByteStream] as an API to\nyour configuration for Bytestream methods.",
3257 "id": "MediaDownload",
3258 "properties": {
3259 "enabled": {
3260 "description": "Whether download is enabled.",
3261 "type": "boolean"
3262 },
3263 "downloadService": {
3264 "description": "DO NOT USE FIELDS BELOW THIS LINE UNTIL THIS WARNING IS REMOVED.\n\nSpecify name of the download service if one is used for download.",
3265 "type": "string"
3266 },
3267 "completeNotification": {
3268 "description": "A boolean that determines whether a notifica tion for the completion of a\ndownload should be sent to the backend.",
3269 "type": "boolean"
3270 },
3271 "dropzone": {
3272 "description": "Name of the Scotty dropzone to use for the c urrent API.",
3273 "type": "string"
3274 },
3275 "maxDirectDownloadSize": {
3276 "description": "Optional maximum acceptable size for direct download.\nThe size is specified in bytes.",
3277 "format": "int64",
3278 "type": "string"
3279 },
3280 "useDirectDownload": {
3281 "description": "A boolean that determines if direct download from ESF should be used for\ndownload of this media.",
3282 "type": "boolean"
3283 }
3284 },
3285 "type": "object"
3286 },
3287 "CustomAuthRequirements": {
3288 "description": "Configuration for a custom authentication provider." ,
3289 "id": "CustomAuthRequirements",
3290 "properties": {
3291 "provider": {
3292 "description": "A configuration string containing connection information for the\nauthentication provider, typically formatted as a SmartSer vice string\n(go/smartservice).",
3293 "type": "string"
3294 }
3295 },
3296 "type": "object"
3297 },
3298 "ChangeReport": {
3299 "description": "Change report associated with a particular service c onfiguration.\n\nIt contains a list of ConfigChanges based on the comparison bet ween\ntwo service configurations.",
3300 "id": "ChangeReport",
3301 "properties": {
3302 "configChanges": {
3303 "description": "List of changes between two service configur ations.\nThe changes will be alphabetically sorted based on the identifier\nof e ach change.\nA ConfigChange identifier is a dot separated path to the configurat ion.\nExample: visibility.rules[selector='LibraryService.CreateBook'].restrictio n",
3304 "items": {
3305 "$ref": "ConfigChange"
3306 },
3307 "type": "array"
3308 }
3309 },
3310 "type": "object"
3311 },
3312 "DisableServiceRequest": {
3313 "description": "Request message for DisableService method.",
3314 "id": "DisableServiceRequest",
3315 "properties": {
3316 "consumerId": {
3317 "description": "The identity of consumer resource which serv ice disablement will be\napplied to.\n\nThe Google Service Management implementa tion accepts the following\nforms:\n- \"project:<project_id>\"\n\nNote: this is made compatible with\ngoogle.api.servicecontrol.v1.Operation.consumer_id.",
3318 "type": "string"
3319 }
3320 },
3321 "type": "object"
3322 },
3323 "SubmitConfigSourceResponse": {
3324 "description": "Response message for SubmitConfigSource method.",
3325 "id": "SubmitConfigSourceResponse",
3326 "properties": {
3327 "serviceConfig": {
3328 "$ref": "Service",
3329 "description": "The generated service configuration."
3330 }
3331 },
3332 "type": "object"
3333 },
3334 "MediaUpload": {
3335 "description": "Defines the Media configuration for a service in cas e of an upload.\nUse this only for Scotty Requests. Do not use this for media su pport using\nBytestream, add instead [][google.bytestream.RestByteStream] as an API to\nyour configuration for Bytestream methods.",
3336 "id": "MediaUpload",
3337 "properties": {
3338 "dropzone": {
3339 "description": "Name of the Scotty dropzone to use for the c urrent API.",
3340 "type": "string"
3341 },
3342 "startNotification": {
3343 "description": "Whether to receive a notification on the sta rt of media upload.",
3344 "type": "boolean"
3345 },
3346 "uploadService": {
3347 "description": "DO NOT USE FIELDS BELOW THIS LINE UNTIL THIS WARNING IS REMOVED.\n\nSpecify name of the upload service if one is used for up load.",
3348 "type": "string"
3349 },
3350 "maxSize": {
3351 "description": "Optional maximum acceptable size for an uplo ad.\nThe size is specified in bytes.",
3352 "format": "int64",
3353 "type": "string"
3354 },
3355 "mimeTypes": {
3356 "description": "An array of mimetype patterns. Esf will only accept uploads that match one\nof the given patterns.",
3357 "items": {
3358 "type": "string"
3359 },
3360 "type": "array"
3361 },
3362 "enabled": {
3363 "description": "Whether upload is enabled.",
3364 "type": "boolean"
3365 },
3366 "progressNotification": {
3367 "description": "Whether to receive a notification for progre ss changes of media upload.",
3368 "type": "boolean"
3369 },
3370 "completeNotification": {
3371 "description": "A boolean that determines whether a notifica tion for the completion of an\nupload should be sent to the backend. These notif ications will not be seen\nby the client and will not consume quota.",
3372 "type": "boolean"
3373 }
3374 },
3375 "type": "object"
3376 } 3380 }
3377 }, 3381 },
3378 "servicePath": "", 3382 "servicePath": "",
3379 "title": "Google Service Management API", 3383 "title": "Google Service Management API",
3380 "version": "v1" 3384 "version": "v1"
3381 } 3385 }
OLDNEW
« no previous file with comments | « discovery/googleapis/servicecontrol__v1.json ('k') | discovery/googleapis/serviceuser__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698