OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
| 5 "https://www.googleapis.com/auth/cloud-platform": { |
| 6 "description": "View and manage your data across Google Clou
d Platform services" |
| 7 }, |
| 8 "https://www.googleapis.com/auth/service.management": { |
| 9 "description": "Manage your Google API service configuration
" |
| 10 }, |
5 "https://www.googleapis.com/auth/cloud-platform.read-only": { | 11 "https://www.googleapis.com/auth/cloud-platform.read-only": { |
6 "description": "View your data across Google Cloud Platform
services" | 12 "description": "View your data across Google Cloud Platform
services" |
7 }, | 13 }, |
8 "https://www.googleapis.com/auth/service.management.readonly": { | 14 "https://www.googleapis.com/auth/service.management.readonly": { |
9 "description": "View your Google API service configuration" | 15 "description": "View your Google API service configuration" |
10 }, | |
11 "https://www.googleapis.com/auth/cloud-platform": { | |
12 "description": "View and manage your data across Google Clou
d Platform services" | |
13 }, | |
14 "https://www.googleapis.com/auth/service.management": { | |
15 "description": "Manage your Google API service configuration
" | |
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 "oauth_token": { |
| 38 "description": "OAuth 2.0 token for the current user.", |
| 39 "location": "query", |
| 40 "type": "string" |
| 41 }, |
| 42 "bearer_token": { |
| 43 "description": "OAuth bearer token.", |
| 44 "location": "query", |
| 45 "type": "string" |
| 46 }, |
37 "upload_protocol": { | 47 "upload_protocol": { |
38 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | 48 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
39 "location": "query", | 49 "location": "query", |
40 "type": "string" | 50 "type": "string" |
41 }, | 51 }, |
42 "prettyPrint": { | 52 "prettyPrint": { |
43 "default": "true", | 53 "default": "true", |
44 "description": "Returns response with indentations and line breaks."
, | 54 "description": "Returns response with indentations and line breaks."
, |
45 "location": "query", | 55 "location": "query", |
46 "type": "boolean" | 56 "type": "boolean" |
47 }, | 57 }, |
48 "uploadType": { | 58 "uploadType": { |
49 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | 59 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
50 "location": "query", | 60 "location": "query", |
51 "type": "string" | 61 "type": "string" |
52 }, | 62 }, |
53 "fields": { | 63 "fields": { |
54 "description": "Selector specifying which fields to include in a par
tial response.", | 64 "description": "Selector specifying which fields to include in a par
tial response.", |
55 "location": "query", | 65 "location": "query", |
56 "type": "string" | 66 "type": "string" |
57 }, | 67 }, |
| 68 "callback": { |
| 69 "description": "JSONP", |
| 70 "location": "query", |
| 71 "type": "string" |
| 72 }, |
58 "$.xgafv": { | 73 "$.xgafv": { |
59 "description": "V1 error format.", | 74 "description": "V1 error format.", |
60 "enum": [ | 75 "enum": [ |
61 "1", | 76 "1", |
62 "2" | 77 "2" |
63 ], | 78 ], |
64 "enumDescriptions": [ | 79 "enumDescriptions": [ |
65 "v1 error format", | 80 "v1 error format", |
66 "v2 error format" | 81 "v2 error format" |
67 ], | 82 ], |
68 "location": "query", | 83 "location": "query", |
69 "type": "string" | 84 "type": "string" |
70 }, | 85 }, |
71 "callback": { | |
72 "description": "JSONP", | |
73 "location": "query", | |
74 "type": "string" | |
75 }, | |
76 "alt": { | 86 "alt": { |
77 "default": "json", | 87 "default": "json", |
78 "description": "Data format for response.", | 88 "description": "Data format for response.", |
79 "enum": [ | 89 "enum": [ |
80 "json", | 90 "json", |
81 "media", | 91 "media", |
82 "proto" | 92 "proto" |
83 ], | 93 ], |
84 "enumDescriptions": [ | 94 "enumDescriptions": [ |
85 "Responses with Content-Type of application/json", | 95 "Responses with Content-Type of application/json", |
86 "Media download with context-dependent Content-Type", | 96 "Media download with context-dependent Content-Type", |
87 "Responses with Content-Type of application/x-protobuf" | 97 "Responses with Content-Type of application/x-protobuf" |
88 ], | 98 ], |
89 "location": "query", | 99 "location": "query", |
90 "type": "string" | 100 "type": "string" |
91 }, | 101 }, |
| 102 "key": { |
| 103 "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.", |
| 104 "location": "query", |
| 105 "type": "string" |
| 106 }, |
92 "access_token": { | 107 "access_token": { |
93 "description": "OAuth access token.", | 108 "description": "OAuth access token.", |
94 "location": "query", | 109 "location": "query", |
95 "type": "string" | 110 "type": "string" |
96 }, | 111 }, |
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": { | 112 "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.", | 113 "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", | 114 "location": "query", |
105 "type": "string" | 115 "type": "string" |
106 }, | 116 }, |
107 "pp": { | 117 "pp": { |
108 "default": "true", | 118 "default": "true", |
109 "description": "Pretty-print response.", | 119 "description": "Pretty-print response.", |
110 "location": "query", | 120 "location": "query", |
111 "type": "boolean" | 121 "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 "services": { | 126 "services": { |
127 "methods": { | 127 "methods": { |
| 128 "disable": { |
| 129 "description": "Disables a service for a project, so it can
no longer be\nbe used for the project. It prevents accidental usage that may cau
se\nunexpected billing charges or security leaks.\n\nOperation<response: Disable
ServiceResponse>", |
| 130 "httpMethod": "POST", |
| 131 "id": "servicemanagement.services.disable", |
| 132 "parameterOrder": [ |
| 133 "serviceName" |
| 134 ], |
| 135 "parameters": { |
| 136 "serviceName": { |
| 137 "description": "Name of the service to disable. Spec
ifying an unknown service name\nwill cause the request to fail.", |
| 138 "location": "path", |
| 139 "required": true, |
| 140 "type": "string" |
| 141 } |
| 142 }, |
| 143 "path": "v1/services/{serviceName}:disable", |
| 144 "request": { |
| 145 "$ref": "DisableServiceRequest" |
| 146 }, |
| 147 "response": { |
| 148 "$ref": "Operation" |
| 149 }, |
| 150 "scopes": [ |
| 151 "https://www.googleapis.com/auth/cloud-platform", |
| 152 "https://www.googleapis.com/auth/service.management" |
| 153 ] |
| 154 }, |
| 155 "getIamPolicy": { |
| 156 "description": "Gets the access control policy for a resourc
e.\nReturns an empty policy if the resource exists and does not have a policy\ns
et.", |
| 157 "httpMethod": "POST", |
| 158 "id": "servicemanagement.services.getIamPolicy", |
| 159 "parameterOrder": [ |
| 160 "resource" |
| 161 ], |
| 162 "parameters": { |
| 163 "resource": { |
| 164 "description": "REQUIRED: The resource for which the
policy is being requested.\nSee the operation documentation for the appropriate
value for this field.", |
| 165 "location": "path", |
| 166 "pattern": "^services/[^/]+$", |
| 167 "required": true, |
| 168 "type": "string" |
| 169 } |
| 170 }, |
| 171 "path": "v1/{+resource}:getIamPolicy", |
| 172 "request": { |
| 173 "$ref": "GetIamPolicyRequest" |
| 174 }, |
| 175 "response": { |
| 176 "$ref": "Policy" |
| 177 }, |
| 178 "scopes": [ |
| 179 "https://www.googleapis.com/auth/cloud-platform", |
| 180 "https://www.googleapis.com/auth/service.management" |
| 181 ] |
| 182 }, |
| 183 "undelete": { |
| 184 "description": "Revives a previously deleted managed service
. The method restores the\nservice using the configuration at the time the servi
ce was deleted.\nThe target service must exist and must have been deleted within
the\nlast 30 days.\n\nOperation<response: UndeleteServiceResponse>", |
| 185 "httpMethod": "POST", |
| 186 "id": "servicemanagement.services.undelete", |
| 187 "parameterOrder": [ |
| 188 "serviceName" |
| 189 ], |
| 190 "parameters": { |
| 191 "serviceName": { |
| 192 "description": "The name of the service. See the [ov
erview](/service-management/overview)\nfor naming requirements. For example: `ex
ample.googleapis.com`.", |
| 193 "location": "path", |
| 194 "required": true, |
| 195 "type": "string" |
| 196 } |
| 197 }, |
| 198 "path": "v1/services/{serviceName}:undelete", |
| 199 "response": { |
| 200 "$ref": "Operation" |
| 201 }, |
| 202 "scopes": [ |
| 203 "https://www.googleapis.com/auth/cloud-platform", |
| 204 "https://www.googleapis.com/auth/service.management" |
| 205 ] |
| 206 }, |
128 "list": { | 207 "list": { |
129 "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}\".", | 208 "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}\".", |
130 "httpMethod": "GET", | 209 "httpMethod": "GET", |
131 "id": "servicemanagement.services.list", | 210 "id": "servicemanagement.services.list", |
132 "parameterOrder": [], | 211 "parameterOrder": [], |
133 "parameters": { | 212 "parameters": { |
134 "producerProjectId": { | |
135 "description": "Include services produced by the spe
cified project.", | |
136 "location": "query", | |
137 "type": "string" | |
138 }, | |
139 "consumerId": { | 213 "consumerId": { |
140 "description": "Include services consumed by the spe
cified consumer.\n\nThe Google Service Management implementation accepts the fol
lowing\nforms:\n- project:<project_id>", | 214 "description": "Include services consumed by the spe
cified consumer.\n\nThe Google Service Management implementation accepts the fol
lowing\nforms:\n- project:<project_id>", |
141 "location": "query", | 215 "location": "query", |
142 "type": "string" | 216 "type": "string" |
143 }, | 217 }, |
144 "pageToken": { | 218 "pageToken": { |
145 "description": "Token identifying which result to st
art with; returned by a previous list\ncall.", | 219 "description": "Token identifying which result to st
art with; returned by a previous list\ncall.", |
146 "location": "query", | 220 "location": "query", |
147 "type": "string" | 221 "type": "string" |
148 }, | 222 }, |
149 "pageSize": { | 223 "pageSize": { |
150 "description": "Requested size of the next page of d
ata.", | 224 "description": "Requested size of the next page of d
ata.", |
151 "format": "int32", | 225 "format": "int32", |
152 "location": "query", | 226 "location": "query", |
153 "type": "integer" | 227 "type": "integer" |
| 228 }, |
| 229 "producerProjectId": { |
| 230 "description": "Include services produced by the spe
cified project.", |
| 231 "location": "query", |
| 232 "type": "string" |
154 } | 233 } |
155 }, | 234 }, |
156 "path": "v1/services", | 235 "path": "v1/services", |
157 "response": { | 236 "response": { |
158 "$ref": "ListServicesResponse" | 237 "$ref": "ListServicesResponse" |
159 }, | 238 }, |
160 "scopes": [ | 239 "scopes": [ |
161 "https://www.googleapis.com/auth/cloud-platform", | 240 "https://www.googleapis.com/auth/cloud-platform", |
162 "https://www.googleapis.com/auth/cloud-platform.read-onl
y", | 241 "https://www.googleapis.com/auth/cloud-platform.read-onl
y", |
163 "https://www.googleapis.com/auth/service.management", | 242 "https://www.googleapis.com/auth/service.management", |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 ] | 334 ] |
256 }, | 335 }, |
257 "getConfig": { | 336 "getConfig": { |
258 "description": "Gets a service configuration (version) for a
managed service.", | 337 "description": "Gets a service configuration (version) for a
managed service.", |
259 "httpMethod": "GET", | 338 "httpMethod": "GET", |
260 "id": "servicemanagement.services.getConfig", | 339 "id": "servicemanagement.services.getConfig", |
261 "parameterOrder": [ | 340 "parameterOrder": [ |
262 "serviceName" | 341 "serviceName" |
263 ], | 342 ], |
264 "parameters": { | 343 "parameters": { |
265 "serviceName": { | |
266 "description": "The name of the service. See the [o
verview](/service-management/overview)\nfor naming requirements. For example: `
example.googleapis.com`.", | |
267 "location": "path", | |
268 "required": true, | |
269 "type": "string" | |
270 }, | |
271 "configId": { | 344 "configId": { |
272 "description": "The id of the service configuration
resource.", | 345 "description": "The id of the service configuration
resource.", |
273 "location": "query", | 346 "location": "query", |
274 "type": "string" | 347 "type": "string" |
275 }, | 348 }, |
276 "view": { | 349 "view": { |
277 "description": "Specifies which parts of the Service
Config should be returned in the\nresponse.", | 350 "description": "Specifies which parts of the Service
Config should be returned in the\nresponse.", |
278 "enum": [ | 351 "enum": [ |
279 "BASIC", | 352 "BASIC", |
280 "FULL" | 353 "FULL" |
281 ], | 354 ], |
282 "location": "query", | 355 "location": "query", |
283 "type": "string" | 356 "type": "string" |
| 357 }, |
| 358 "serviceName": { |
| 359 "description": "The name of the service. See the [o
verview](/service-management/overview)\nfor naming requirements. For example: `
example.googleapis.com`.", |
| 360 "location": "path", |
| 361 "required": true, |
| 362 "type": "string" |
284 } | 363 } |
285 }, | 364 }, |
286 "path": "v1/services/{serviceName}/config", | 365 "path": "v1/services/{serviceName}/config", |
287 "response": { | 366 "response": { |
288 "$ref": "Service" | 367 "$ref": "Service" |
289 }, | 368 }, |
290 "scopes": [ | 369 "scopes": [ |
291 "https://www.googleapis.com/auth/cloud-platform", | 370 "https://www.googleapis.com/auth/cloud-platform", |
292 "https://www.googleapis.com/auth/cloud-platform.read-onl
y", | 371 "https://www.googleapis.com/auth/cloud-platform.read-onl
y", |
293 "https://www.googleapis.com/auth/service.management", | 372 "https://www.googleapis.com/auth/service.management", |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 "request": { | 444 "request": { |
366 "$ref": "SetIamPolicyRequest" | 445 "$ref": "SetIamPolicyRequest" |
367 }, | 446 }, |
368 "response": { | 447 "response": { |
369 "$ref": "Policy" | 448 "$ref": "Policy" |
370 }, | 449 }, |
371 "scopes": [ | 450 "scopes": [ |
372 "https://www.googleapis.com/auth/cloud-platform", | 451 "https://www.googleapis.com/auth/cloud-platform", |
373 "https://www.googleapis.com/auth/service.management" | 452 "https://www.googleapis.com/auth/service.management" |
374 ] | 453 ] |
375 }, | |
376 "disable": { | |
377 "description": "Disables a service for a project, so it can
no longer be\nbe used for the project. It prevents accidental usage that may cau
se\nunexpected billing charges or security leaks.\n\nOperation<response: Disable
ServiceResponse>", | |
378 "httpMethod": "POST", | |
379 "id": "servicemanagement.services.disable", | |
380 "parameterOrder": [ | |
381 "serviceName" | |
382 ], | |
383 "parameters": { | |
384 "serviceName": { | |
385 "description": "Name of the service to disable. Spec
ifying an unknown service name\nwill cause the request to fail.", | |
386 "location": "path", | |
387 "required": true, | |
388 "type": "string" | |
389 } | |
390 }, | |
391 "path": "v1/services/{serviceName}:disable", | |
392 "request": { | |
393 "$ref": "DisableServiceRequest" | |
394 }, | |
395 "response": { | |
396 "$ref": "Operation" | |
397 }, | |
398 "scopes": [ | |
399 "https://www.googleapis.com/auth/cloud-platform", | |
400 "https://www.googleapis.com/auth/service.management" | |
401 ] | |
402 }, | |
403 "getIamPolicy": { | |
404 "description": "Gets the access control policy for a resourc
e.\nReturns an empty policy if the resource exists and does not have a policy\ns
et.", | |
405 "httpMethod": "POST", | |
406 "id": "servicemanagement.services.getIamPolicy", | |
407 "parameterOrder": [ | |
408 "resource" | |
409 ], | |
410 "parameters": { | |
411 "resource": { | |
412 "description": "REQUIRED: The resource for which the
policy is being requested.\nSee the operation documentation for the appropriate
value for this field.", | |
413 "location": "path", | |
414 "pattern": "^services/[^/]+$", | |
415 "required": true, | |
416 "type": "string" | |
417 } | |
418 }, | |
419 "path": "v1/{+resource}:getIamPolicy", | |
420 "request": { | |
421 "$ref": "GetIamPolicyRequest" | |
422 }, | |
423 "response": { | |
424 "$ref": "Policy" | |
425 }, | |
426 "scopes": [ | |
427 "https://www.googleapis.com/auth/cloud-platform", | |
428 "https://www.googleapis.com/auth/service.management" | |
429 ] | |
430 }, | |
431 "undelete": { | |
432 "description": "Revives a previously deleted managed service
. The method restores the\nservice using the configuration at the time the servi
ce was deleted.\nThe target service must exist and must have been deleted within
the\nlast 30 days.\n\nOperation<response: UndeleteServiceResponse>", | |
433 "httpMethod": "POST", | |
434 "id": "servicemanagement.services.undelete", | |
435 "parameterOrder": [ | |
436 "serviceName" | |
437 ], | |
438 "parameters": { | |
439 "serviceName": { | |
440 "description": "The name of the service. See the [ov
erview](/service-management/overview)\nfor naming requirements. For example: `ex
ample.googleapis.com`.", | |
441 "location": "path", | |
442 "required": true, | |
443 "type": "string" | |
444 } | |
445 }, | |
446 "path": "v1/services/{serviceName}:undelete", | |
447 "response": { | |
448 "$ref": "Operation" | |
449 }, | |
450 "scopes": [ | |
451 "https://www.googleapis.com/auth/cloud-platform", | |
452 "https://www.googleapis.com/auth/service.management" | |
453 ] | |
454 } | 454 } |
455 }, | 455 }, |
456 "resources": { | 456 "resources": { |
457 "configs": { | 457 "rollouts": { |
458 "methods": { | 458 "methods": { |
459 "submit": { | 459 "list": { |
460 "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>", | 460 "description": "Lists the history of the service con
figuration rollouts for a managed\nservice, from the newest to the oldest.", |
461 "httpMethod": "POST", | 461 "httpMethod": "GET", |
462 "id": "servicemanagement.services.configs.submit", | 462 "id": "servicemanagement.services.rollouts.list", |
463 "parameterOrder": [ | 463 "parameterOrder": [ |
464 "serviceName" | 464 "serviceName" |
465 ], | 465 ], |
466 "parameters": { | |
467 "serviceName": { | |
468 "description": "The name of the service. Se
e the [overview](/service-management/overview)\nfor naming requirements. For ex
ample: `example.googleapis.com`.", | |
469 "location": "path", | |
470 "required": true, | |
471 "type": "string" | |
472 } | |
473 }, | |
474 "path": "v1/services/{serviceName}/configs:submit", | |
475 "request": { | |
476 "$ref": "SubmitConfigSourceRequest" | |
477 }, | |
478 "response": { | |
479 "$ref": "Operation" | |
480 }, | |
481 "scopes": [ | |
482 "https://www.googleapis.com/auth/cloud-platform"
, | |
483 "https://www.googleapis.com/auth/service.managem
ent" | |
484 ] | |
485 }, | |
486 "list": { | |
487 "description": "Lists the history of the service con
figuration for a managed service,\nfrom the newest to the oldest.", | |
488 "httpMethod": "GET", | |
489 "id": "servicemanagement.services.configs.list", | |
490 "parameterOrder": [ | |
491 "serviceName" | |
492 ], | |
493 "parameters": { | 466 "parameters": { |
494 "serviceName": { | 467 "serviceName": { |
495 "description": "The name of the service. Se
e the [overview](/service-management/overview)\nfor naming requirements. For ex
ample: `example.googleapis.com`.", | 468 "description": "The name of the service. Se
e the [overview](/service-management/overview)\nfor naming requirements. For ex
ample: `example.googleapis.com`.", |
496 "location": "path", | 469 "location": "path", |
497 "required": true, | 470 "required": true, |
498 "type": "string" | 471 "type": "string" |
499 }, | 472 }, |
500 "pageToken": { | 473 "pageToken": { |
501 "description": "The token of the page to ret
rieve.", | 474 "description": "The token of the page to ret
rieve.", |
502 "location": "query", | 475 "location": "query", |
503 "type": "string" | 476 "type": "string" |
504 }, | 477 }, |
505 "pageSize": { | 478 "pageSize": { |
506 "description": "The max number of items to i
nclude in the response list.", | 479 "description": "The max number of items to i
nclude in the response list.", |
507 "format": "int32", | 480 "format": "int32", |
508 "location": "query", | 481 "location": "query", |
509 "type": "integer" | 482 "type": "integer" |
510 } | 483 } |
511 }, | 484 }, |
512 "path": "v1/services/{serviceName}/configs", | 485 "path": "v1/services/{serviceName}/rollouts", |
513 "response": { | 486 "response": { |
514 "$ref": "ListServiceConfigsResponse" | 487 "$ref": "ListServiceRolloutsResponse" |
515 }, | 488 }, |
516 "scopes": [ | 489 "scopes": [ |
517 "https://www.googleapis.com/auth/cloud-platform"
, | 490 "https://www.googleapis.com/auth/cloud-platform"
, |
518 "https://www.googleapis.com/auth/cloud-platform.
read-only", | 491 "https://www.googleapis.com/auth/cloud-platform.
read-only", |
519 "https://www.googleapis.com/auth/service.managem
ent", | 492 "https://www.googleapis.com/auth/service.managem
ent", |
520 "https://www.googleapis.com/auth/service.managem
ent.readonly" | 493 "https://www.googleapis.com/auth/service.managem
ent.readonly" |
521 ] | 494 ] |
522 }, | 495 }, |
523 "get": { | 496 "get": { |
524 "description": "Gets a service configuration (versio
n) for a managed service.", | 497 "description": "Gets a service configuration rollout
.", |
525 "httpMethod": "GET", | 498 "httpMethod": "GET", |
526 "id": "servicemanagement.services.configs.get", | 499 "id": "servicemanagement.services.rollouts.get", |
527 "parameterOrder": [ | 500 "parameterOrder": [ |
528 "serviceName", | 501 "serviceName", |
529 "configId" | 502 "rolloutId" |
530 ], | 503 ], |
531 "parameters": { | 504 "parameters": { |
532 "view": { | |
533 "description": "Specifies which parts of the
Service Config should be returned in the\nresponse.", | |
534 "enum": [ | |
535 "BASIC", | |
536 "FULL" | |
537 ], | |
538 "location": "query", | |
539 "type": "string" | |
540 }, | |
541 "serviceName": { | 505 "serviceName": { |
542 "description": "The name of the service. Se
e the [overview](/service-management/overview)\nfor naming requirements. For ex
ample: `example.googleapis.com`.", | 506 "description": "The name of the service. Se
e the [overview](/service-management/overview)\nfor naming requirements. For ex
ample: `example.googleapis.com`.", |
543 "location": "path", | 507 "location": "path", |
544 "required": true, | 508 "required": true, |
545 "type": "string" | 509 "type": "string" |
546 }, | 510 }, |
547 "configId": { | 511 "rolloutId": { |
548 "description": "The id of the service config
uration resource.", | 512 "description": "The id of the rollout resour
ce.", |
549 "location": "path", | 513 "location": "path", |
550 "required": true, | 514 "required": true, |
551 "type": "string" | 515 "type": "string" |
552 } | 516 } |
553 }, | 517 }, |
554 "path": "v1/services/{serviceName}/configs/{configId
}", | 518 "path": "v1/services/{serviceName}/rollouts/{rollout
Id}", |
555 "response": { | 519 "response": { |
556 "$ref": "Service" | 520 "$ref": "Rollout" |
557 }, | 521 }, |
558 "scopes": [ | 522 "scopes": [ |
559 "https://www.googleapis.com/auth/cloud-platform"
, | 523 "https://www.googleapis.com/auth/cloud-platform"
, |
560 "https://www.googleapis.com/auth/cloud-platform.
read-only", | 524 "https://www.googleapis.com/auth/cloud-platform.
read-only", |
561 "https://www.googleapis.com/auth/service.managem
ent", | 525 "https://www.googleapis.com/auth/service.managem
ent", |
562 "https://www.googleapis.com/auth/service.managem
ent.readonly" | 526 "https://www.googleapis.com/auth/service.managem
ent.readonly" |
563 ] | 527 ] |
564 }, | 528 }, |
565 "create": { | 529 "create": { |
566 "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": "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>", |
567 "httpMethod": "POST", | 531 "httpMethod": "POST", |
568 "id": "servicemanagement.services.configs.create", | 532 "id": "servicemanagement.services.rollouts.create", |
569 "parameterOrder": [ | 533 "parameterOrder": [ |
570 "serviceName" | 534 "serviceName" |
571 ], | 535 ], |
572 "parameters": { | 536 "parameters": { |
573 "serviceName": { | 537 "serviceName": { |
574 "description": "The name of the service. Se
e the [overview](/service-management/overview)\nfor naming requirements. For ex
ample: `example.googleapis.com`.", | 538 "description": "The name of the service. Se
e the [overview](/service-management/overview)\nfor naming requirements. For ex
ample: `example.googleapis.com`.", |
575 "location": "path", | 539 "location": "path", |
576 "required": true, | 540 "required": true, |
577 "type": "string" | 541 "type": "string" |
578 } | 542 } |
579 }, | 543 }, |
580 "path": "v1/services/{serviceName}/configs", | 544 "path": "v1/services/{serviceName}/rollouts", |
581 "request": { | 545 "request": { |
582 "$ref": "Service" | 546 "$ref": "Rollout" |
583 }, | 547 }, |
584 "response": { | 548 "response": { |
585 "$ref": "Service" | 549 "$ref": "Operation" |
586 }, | 550 }, |
587 "scopes": [ | 551 "scopes": [ |
588 "https://www.googleapis.com/auth/cloud-platform"
, | 552 "https://www.googleapis.com/auth/cloud-platform"
, |
589 "https://www.googleapis.com/auth/service.managem
ent" | 553 "https://www.googleapis.com/auth/service.managem
ent" |
590 ] | 554 ] |
591 } | 555 } |
592 } | 556 } |
593 }, | 557 }, |
594 "rollouts": { | 558 "configs": { |
595 "methods": { | 559 "methods": { |
596 "list": { | 560 "list": { |
597 "description": "Lists the history of the service con
figuration rollouts for a managed\nservice, from the newest to the oldest.", | 561 "description": "Lists the history of the service con
figuration for a managed service,\nfrom the newest to the oldest.", |
598 "httpMethod": "GET", | 562 "httpMethod": "GET", |
599 "id": "servicemanagement.services.rollouts.list", | 563 "id": "servicemanagement.services.configs.list", |
600 "parameterOrder": [ | 564 "parameterOrder": [ |
601 "serviceName" | 565 "serviceName" |
602 ], | 566 ], |
603 "parameters": { | 567 "parameters": { |
604 "pageSize": { | |
605 "description": "The max number of items to i
nclude in the response list.", | |
606 "format": "int32", | |
607 "location": "query", | |
608 "type": "integer" | |
609 }, | |
610 "serviceName": { | 568 "serviceName": { |
611 "description": "The name of the service. Se
e the [overview](/service-management/overview)\nfor naming requirements. For ex
ample: `example.googleapis.com`.", | 569 "description": "The name of the service. Se
e the [overview](/service-management/overview)\nfor naming requirements. For ex
ample: `example.googleapis.com`.", |
612 "location": "path", | 570 "location": "path", |
613 "required": true, | 571 "required": true, |
614 "type": "string" | 572 "type": "string" |
615 }, | 573 }, |
616 "pageToken": { | 574 "pageToken": { |
617 "description": "The token of the page to ret
rieve.", | 575 "description": "The token of the page to ret
rieve.", |
618 "location": "query", | 576 "location": "query", |
619 "type": "string" | 577 "type": "string" |
| 578 }, |
| 579 "pageSize": { |
| 580 "description": "The max number of items to i
nclude in the response list.", |
| 581 "format": "int32", |
| 582 "location": "query", |
| 583 "type": "integer" |
620 } | 584 } |
621 }, | 585 }, |
622 "path": "v1/services/{serviceName}/rollouts", | 586 "path": "v1/services/{serviceName}/configs", |
623 "response": { | 587 "response": { |
624 "$ref": "ListServiceRolloutsResponse" | 588 "$ref": "ListServiceConfigsResponse" |
625 }, | 589 }, |
626 "scopes": [ | 590 "scopes": [ |
627 "https://www.googleapis.com/auth/cloud-platform"
, | 591 "https://www.googleapis.com/auth/cloud-platform"
, |
628 "https://www.googleapis.com/auth/cloud-platform.
read-only", | 592 "https://www.googleapis.com/auth/cloud-platform.
read-only", |
629 "https://www.googleapis.com/auth/service.managem
ent", | 593 "https://www.googleapis.com/auth/service.managem
ent", |
630 "https://www.googleapis.com/auth/service.managem
ent.readonly" | 594 "https://www.googleapis.com/auth/service.managem
ent.readonly" |
631 ] | 595 ] |
632 }, | 596 }, |
633 "get": { | 597 "get": { |
634 "description": "Gets a service configuration rollout
.", | 598 "description": "Gets a service configuration (versio
n) for a managed service.", |
635 "httpMethod": "GET", | 599 "httpMethod": "GET", |
636 "id": "servicemanagement.services.rollouts.get", | 600 "id": "servicemanagement.services.configs.get", |
637 "parameterOrder": [ | 601 "parameterOrder": [ |
638 "serviceName", | 602 "serviceName", |
639 "rolloutId" | 603 "configId" |
640 ], | 604 ], |
641 "parameters": { | 605 "parameters": { |
642 "rolloutId": { | 606 "configId": { |
643 "description": "The id of the rollout resour
ce.", | 607 "description": "The id of the service config
uration resource.", |
644 "location": "path", | 608 "location": "path", |
645 "required": true, | 609 "required": true, |
646 "type": "string" | 610 "type": "string" |
647 }, | 611 }, |
| 612 "view": { |
| 613 "description": "Specifies which parts of the
Service Config should be returned in the\nresponse.", |
| 614 "enum": [ |
| 615 "BASIC", |
| 616 "FULL" |
| 617 ], |
| 618 "location": "query", |
| 619 "type": "string" |
| 620 }, |
648 "serviceName": { | 621 "serviceName": { |
649 "description": "The name of the service. Se
e the [overview](/service-management/overview)\nfor naming requirements. For ex
ample: `example.googleapis.com`.", | 622 "description": "The name of the service. Se
e the [overview](/service-management/overview)\nfor naming requirements. For ex
ample: `example.googleapis.com`.", |
650 "location": "path", | 623 "location": "path", |
651 "required": true, | 624 "required": true, |
652 "type": "string" | 625 "type": "string" |
653 } | 626 } |
654 }, | 627 }, |
655 "path": "v1/services/{serviceName}/rollouts/{rollout
Id}", | 628 "path": "v1/services/{serviceName}/configs/{configId
}", |
656 "response": { | 629 "response": { |
657 "$ref": "Rollout" | 630 "$ref": "Service" |
658 }, | 631 }, |
659 "scopes": [ | 632 "scopes": [ |
660 "https://www.googleapis.com/auth/cloud-platform"
, | 633 "https://www.googleapis.com/auth/cloud-platform"
, |
661 "https://www.googleapis.com/auth/cloud-platform.
read-only", | 634 "https://www.googleapis.com/auth/cloud-platform.
read-only", |
662 "https://www.googleapis.com/auth/service.managem
ent", | 635 "https://www.googleapis.com/auth/service.managem
ent", |
663 "https://www.googleapis.com/auth/service.managem
ent.readonly" | 636 "https://www.googleapis.com/auth/service.managem
ent.readonly" |
664 ] | 637 ] |
665 }, | 638 }, |
666 "create": { | 639 "create": { |
667 "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>", | 640 "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.", |
668 "httpMethod": "POST", | 641 "httpMethod": "POST", |
669 "id": "servicemanagement.services.rollouts.create", | 642 "id": "servicemanagement.services.configs.create", |
670 "parameterOrder": [ | 643 "parameterOrder": [ |
671 "serviceName" | 644 "serviceName" |
672 ], | 645 ], |
673 "parameters": { | 646 "parameters": { |
674 "serviceName": { | 647 "serviceName": { |
675 "description": "The name of the service. Se
e the [overview](/service-management/overview)\nfor naming requirements. For ex
ample: `example.googleapis.com`.", | 648 "description": "The name of the service. Se
e the [overview](/service-management/overview)\nfor naming requirements. For ex
ample: `example.googleapis.com`.", |
676 "location": "path", | 649 "location": "path", |
677 "required": true, | 650 "required": true, |
678 "type": "string" | 651 "type": "string" |
679 } | 652 } |
680 }, | 653 }, |
681 "path": "v1/services/{serviceName}/rollouts", | 654 "path": "v1/services/{serviceName}/configs", |
682 "request": { | 655 "request": { |
683 "$ref": "Rollout" | 656 "$ref": "Service" |
| 657 }, |
| 658 "response": { |
| 659 "$ref": "Service" |
| 660 }, |
| 661 "scopes": [ |
| 662 "https://www.googleapis.com/auth/cloud-platform"
, |
| 663 "https://www.googleapis.com/auth/service.managem
ent" |
| 664 ] |
| 665 }, |
| 666 "submit": { |
| 667 "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>", |
| 668 "httpMethod": "POST", |
| 669 "id": "servicemanagement.services.configs.submit", |
| 670 "parameterOrder": [ |
| 671 "serviceName" |
| 672 ], |
| 673 "parameters": { |
| 674 "serviceName": { |
| 675 "description": "The name of the service. Se
e the [overview](/service-management/overview)\nfor naming requirements. For ex
ample: `example.googleapis.com`.", |
| 676 "location": "path", |
| 677 "required": true, |
| 678 "type": "string" |
| 679 } |
| 680 }, |
| 681 "path": "v1/services/{serviceName}/configs:submit", |
| 682 "request": { |
| 683 "$ref": "SubmitConfigSourceRequest" |
684 }, | 684 }, |
685 "response": { | 685 "response": { |
686 "$ref": "Operation" | 686 "$ref": "Operation" |
687 }, | 687 }, |
688 "scopes": [ | 688 "scopes": [ |
689 "https://www.googleapis.com/auth/cloud-platform"
, | 689 "https://www.googleapis.com/auth/cloud-platform"
, |
690 "https://www.googleapis.com/auth/service.managem
ent" | 690 "https://www.googleapis.com/auth/service.managem
ent" |
691 ] | 691 ] |
692 } | 692 } |
693 } | 693 } |
694 } | 694 } |
695 } | 695 } |
696 }, | 696 }, |
697 "operations": { | 697 "operations": { |
698 "methods": { | 698 "methods": { |
699 "list": { | 699 "list": { |
700 "description": "Lists service operations that match the spec
ified filter in the request.", | 700 "description": "Lists service operations that match the spec
ified filter in the request.", |
701 "httpMethod": "GET", | 701 "httpMethod": "GET", |
702 "id": "servicemanagement.operations.list", | 702 "id": "servicemanagement.operations.list", |
703 "parameterOrder": [], | 703 "parameterOrder": [], |
704 "parameters": { | 704 "parameters": { |
705 "name": { | |
706 "description": "Not used.", | |
707 "location": "query", | |
708 "type": "string" | |
709 }, | |
710 "pageToken": { | |
711 "description": "The standard list page token.", | |
712 "location": "query", | |
713 "type": "string" | |
714 }, | |
715 "pageSize": { | 705 "pageSize": { |
716 "description": "The maximum number of operations to
return. If unspecified, defaults to\n50. The maximum value is 100.", | 706 "description": "The maximum number of operations to
return. If unspecified, defaults to\n50. The maximum value is 100.", |
717 "format": "int32", | 707 "format": "int32", |
718 "location": "query", | 708 "location": "query", |
719 "type": "integer" | 709 "type": "integer" |
720 }, | 710 }, |
721 "filter": { | 711 "filter": { |
722 "description": "A string for filtering Operations.\n
The following filter fields are supported:\n\n * serviceName: Require
d. Only `=` operator is allowed.\n * startTime: The time this job was start
ed, in ISO 8601 format.\n Allowed operators are `>=`, `>`, `<=`, and `<`.\n
* status: 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:\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\")`", | 712 "description": "A string for filtering Operations.\n
The following filter fields are supported:\n\n * serviceName: Require
d. Only `=` operator is allowed.\n * startTime: The time this job was start
ed, in ISO 8601 format.\n Allowed operators are `>=`, `>`, `<=`, and `<`.\n
* status: 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:\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\")`", |
723 "location": "query", | 713 "location": "query", |
724 "type": "string" | 714 "type": "string" |
| 715 }, |
| 716 "name": { |
| 717 "description": "Not used.", |
| 718 "location": "query", |
| 719 "type": "string" |
| 720 }, |
| 721 "pageToken": { |
| 722 "description": "The standard list page token.", |
| 723 "location": "query", |
| 724 "type": "string" |
725 } | 725 } |
726 }, | 726 }, |
727 "path": "v1/operations", | 727 "path": "v1/operations", |
728 "response": { | 728 "response": { |
729 "$ref": "ListOperationsResponse" | 729 "$ref": "ListOperationsResponse" |
730 }, | 730 }, |
731 "scopes": [ | 731 "scopes": [ |
732 "https://www.googleapis.com/auth/cloud-platform", | 732 "https://www.googleapis.com/auth/cloud-platform", |
733 "https://www.googleapis.com/auth/service.management" | 733 "https://www.googleapis.com/auth/service.management" |
734 ] | 734 ] |
(...skipping 19 matching lines...) Expand all Loading... |
754 "$ref": "Operation" | 754 "$ref": "Operation" |
755 }, | 755 }, |
756 "scopes": [ | 756 "scopes": [ |
757 "https://www.googleapis.com/auth/cloud-platform", | 757 "https://www.googleapis.com/auth/cloud-platform", |
758 "https://www.googleapis.com/auth/service.management" | 758 "https://www.googleapis.com/auth/service.management" |
759 ] | 759 ] |
760 } | 760 } |
761 } | 761 } |
762 } | 762 } |
763 }, | 763 }, |
764 "revision": "20170317", | 764 "revision": "20170410", |
765 "rootUrl": "https://servicemanagement.googleapis.com/", | 765 "rootUrl": "https://servicemanagement.googleapis.com/", |
766 "schemas": { | 766 "schemas": { |
| 767 "Option": { |
| 768 "description": "A protocol buffer option, which can be attached to a
message, field,\nenumeration, etc.", |
| 769 "id": "Option", |
| 770 "properties": { |
| 771 "name": { |
| 772 "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\"`.", |
| 773 "type": "string" |
| 774 }, |
| 775 "value": { |
| 776 "additionalProperties": { |
| 777 "description": "Properties of the object. Contains field
@type with type URL.", |
| 778 "type": "any" |
| 779 }, |
| 780 "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.", |
| 781 "type": "object" |
| 782 } |
| 783 }, |
| 784 "type": "object" |
| 785 }, |
767 "Logging": { | 786 "Logging": { |
768 "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", | 787 "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", |
769 "id": "Logging", | 788 "id": "Logging", |
770 "properties": { | 789 "properties": { |
| 790 "consumerDestinations": { |
| 791 "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.", |
| 792 "items": { |
| 793 "$ref": "LoggingDestination" |
| 794 }, |
| 795 "type": "array" |
| 796 }, |
771 "producerDestinations": { | 797 "producerDestinations": { |
772 "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.", | 798 "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.", |
773 "items": { | 799 "items": { |
774 "$ref": "LoggingDestination" | 800 "$ref": "LoggingDestination" |
775 }, | 801 }, |
776 "type": "array" | |
777 }, | |
778 "consumerDestinations": { | |
779 "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.", | |
780 "items": { | |
781 "$ref": "LoggingDestination" | |
782 }, | |
783 "type": "array" | 802 "type": "array" |
784 } | 803 } |
785 }, | 804 }, |
786 "type": "object" | 805 "type": "object" |
787 }, | 806 }, |
788 "Method": { | 807 "Method": { |
789 "description": "Method represents a method of an api.", | 808 "description": "Method represents a method of an api.", |
790 "id": "Method", | 809 "id": "Method", |
791 "properties": { | 810 "properties": { |
792 "responseStreaming": { | 811 "responseStreaming": { |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
824 "options": { | 843 "options": { |
825 "description": "Any metadata attached to the method.", | 844 "description": "Any metadata attached to the method.", |
826 "items": { | 845 "items": { |
827 "$ref": "Option" | 846 "$ref": "Option" |
828 }, | 847 }, |
829 "type": "array" | 848 "type": "array" |
830 } | 849 } |
831 }, | 850 }, |
832 "type": "object" | 851 "type": "object" |
833 }, | 852 }, |
834 "ListServiceRolloutsResponse": { | 853 "QuotaLimit": { |
835 "description": "Response message for ListServiceRollouts method.", | 854 "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`.", |
836 "id": "ListServiceRolloutsResponse", | 855 "id": "QuotaLimit", |
837 "properties": { | 856 "properties": { |
838 "rollouts": { | 857 "unit": { |
839 "description": "The list of rollout resources.", | 858 "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
* \"/{organization}\" quota for an organization.\n * \"/{project}\" quota for a
project.\n * \"/{folder}\" quota for a folder.\n * \"/{resource}\" quota for
a universal resource.\n* Zero or more quota segmentation dimension. Not all comb
os are valid.\n * \"/{region}\" quota for every region. Not to be used with tim
e intervals.\n * Otherwise the resources granted on the target is not segmented
.\n * \"/{zone}\" quota for every zone. Not to be used with time intervals.\n
* Otherwise the resources granted on the target is not segmented.\n * \"/{resou
rce}\" quota for a resource associated with a project or org.\n\nHere are some e
xamples:\n* \"1/min/{project}\" for quota per minute per project.\n* \"1/min/{us
er}\" for quota per minute per user.\n* \"1/min/{organization}\" for quota per m
inute per organization.\n\nNote: the order of unit components is insignificant.\
nThe \"1\" at the beginning is required to follow the metric unit syntax.\n\nUse
d by metric-based quotas only.", |
840 "items": { | 859 "type": "string" |
841 "$ref": "Rollout" | 860 }, |
| 861 "maxLimit": { |
| 862 "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.", |
| 863 "format": "int64", |
| 864 "type": "string" |
| 865 }, |
| 866 "name": { |
| 867 "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 group-based quota limits, the name must be unique within the quota\ngroup.
If a name is not provided, it will be generated from the limit_by\nand duration
fields.\n\nFor metric-based quota limits, the name must be provided, and it must
be\nunique within the service. The name can only include alphanumeric\ncharacte
rs as well as '-'.\n\nThe maximum length of the limit name is 64 characters.\n\n
The name of a limit is used as a unique identifier for this limit.\nTherefore, o
nce a limit has been put into use, its name should be\nimmutable. You can use th
e 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.", |
| 868 "type": "string" |
| 869 }, |
| 870 "duration": { |
| 871 "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.", |
| 872 "type": "string" |
| 873 }, |
| 874 "freeTier": { |
| 875 "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.", |
| 876 "format": "int64", |
| 877 "type": "string" |
| 878 }, |
| 879 "defaultLimit": { |
| 880 "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.", |
| 881 "format": "int64", |
| 882 "type": "string" |
| 883 }, |
| 884 "displayName": { |
| 885 "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.", |
| 886 "type": "string" |
| 887 }, |
| 888 "description": { |
| 889 "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`
).", |
| 890 "type": "string" |
| 891 }, |
| 892 "metric": { |
| 893 "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.", |
| 894 "type": "string" |
| 895 }, |
| 896 "values": { |
| 897 "additionalProperties": { |
| 898 "format": "int64", |
| 899 "type": "string" |
842 }, | 900 }, |
843 "type": "array" | 901 "description": "Tiered limit values. Also allows for regiona
l or zone overrides for these\nvalues if \"/{region}\" or \"/{zone}\" is specifi
ed in the unit field.\n\nCurrently supported tiers from low to high:\nVERY_LOW,
LOW, STANDARD, HIGH, VERY_HIGH\n\nTo apply different limit values for users acco
rding to their tiers, specify\nthe values for the tiers you want to differentiat
e. For example:\n{LOW:100, STANDARD:500, HIGH:1000, VERY_HIGH:5000}\n\nThe limit
value for each tier is optional except for the tier STANDARD.\nThe limit value
for an unspecified tier falls to the value of its next\ntier towards tier STANDA
RD. For the above example, the limit value for tier\nSTANDARD is 500.\n\nTo appl
y the same limit value for all users, just specify limit value for\ntier STANDAR
D. For example: {STANDARD:500}.\n\nTo apply a regional overide for a tier, add a
map entry with key\n\"<TIER>/<region>\", where <region> is a region name. Simil
arly, for a zone\noverride, add a map entry with key \"<TIER>/{zone}\".\nFurther
, a wildcard can be used at the end of a zone name in order to\nspecify zone lev
el overrides. For example:\nLOW: 10, STANDARD: 50, HIGH: 100,\nLOW/us-central1:
20, STANDARD/us-central1: 60, HIGH/us-central1: 200,\nLOW/us-central1-*: 10, STA
NDARD/us-central1-*: 20, HIGH/us-central1-*: 80\n\nThe regional overrides tier s
et for each region must be the same as\nthe tier set for default limit values. S
ame rule applies for zone overrides\ntier as well.\n\nUsed by metric-based quota
s only.", |
844 }, | 902 "type": "object" |
845 "nextPageToken": { | |
846 "description": "The token of the next page of results.", | |
847 "type": "string" | |
848 } | 903 } |
849 }, | 904 }, |
850 "type": "object" | 905 "type": "object" |
851 }, | 906 }, |
852 "ConfigRef": { | 907 "ConfigRef": { |
853 "description": "Represents a service configuration with its name and
id.", | 908 "description": "Represents a service configuration with its name and
id.", |
854 "id": "ConfigRef", | 909 "id": "ConfigRef", |
855 "properties": { | 910 "properties": { |
856 "name": { | 911 "name": { |
857 "description": "Resource name of a service config. It must h
ave the following\nformat: \"services/{service name}/configs/{config id}\".", | 912 "description": "Resource name of a service config. It must h
ave the following\nformat: \"services/{service name}/configs/{config id}\".", |
858 "type": "string" | 913 "type": "string" |
859 } | 914 } |
860 }, | 915 }, |
861 "type": "object" | 916 "type": "object" |
862 }, | 917 }, |
| 918 "ListServiceRolloutsResponse": { |
| 919 "description": "Response message for ListServiceRollouts method.", |
| 920 "id": "ListServiceRolloutsResponse", |
| 921 "properties": { |
| 922 "nextPageToken": { |
| 923 "description": "The token of the next page of results.", |
| 924 "type": "string" |
| 925 }, |
| 926 "rollouts": { |
| 927 "description": "The list of rollout resources.", |
| 928 "items": { |
| 929 "$ref": "Rollout" |
| 930 }, |
| 931 "type": "array" |
| 932 } |
| 933 }, |
| 934 "type": "object" |
| 935 }, |
863 "Mixin": { | 936 "Mixin": { |
864 "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 }", | 937 "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 }", |
865 "id": "Mixin", | 938 "id": "Mixin", |
866 "properties": { | 939 "properties": { |
| 940 "name": { |
| 941 "description": "The fully qualified name of the API which is
included.", |
| 942 "type": "string" |
| 943 }, |
867 "root": { | 944 "root": { |
868 "description": "If non-empty specifies a path under which in
herited HTTP paths\nare rooted.", | 945 "description": "If non-empty specifies a path under which in
herited HTTP paths\nare rooted.", |
869 "type": "string" | 946 "type": "string" |
870 }, | |
871 "name": { | |
872 "description": "The fully qualified name of the API which is
included.", | |
873 "type": "string" | |
874 } | 947 } |
875 }, | 948 }, |
876 "type": "object" | 949 "type": "object" |
877 }, | 950 }, |
878 "FlowOperationMetadata": { | 951 "FlowOperationMetadata": { |
879 "description": "The metadata associated with a long running operatio
n resource.", | 952 "description": "The metadata associated with a long running operatio
n resource.", |
880 "id": "FlowOperationMetadata", | 953 "id": "FlowOperationMetadata", |
881 "properties": { | 954 "properties": { |
882 "isPersisted": { | |
883 "description": "Is the update for the operation persisted?", | |
884 "type": "boolean" | |
885 }, | |
886 "flowName": { | 955 "flowName": { |
887 "description": "The name of the top-level flow corresponding
to this operation.\nMust be equal to the \"name\" field for a FlowName enum.", | 956 "description": "The name of the top-level flow corresponding
to this operation.\nMust be equal to the \"name\" field for a FlowName enum.", |
888 "type": "string" | 957 "type": "string" |
889 }, | 958 }, |
890 "resourceNames": { | 959 "resourceNames": { |
891 "description": "The full name of the resources that this flo
w is directly associated with.", | 960 "description": "The full name of the resources that this flo
w is directly associated with.", |
892 "items": { | 961 "items": { |
893 "type": "string" | 962 "type": "string" |
894 }, | 963 }, |
895 "type": "array" | 964 "type": "array" |
(...skipping 22 matching lines...) Expand all Loading... |
918 "format": "google-datetime", | 987 "format": "google-datetime", |
919 "type": "string" | 988 "type": "string" |
920 } | 989 } |
921 }, | 990 }, |
922 "type": "object" | 991 "type": "object" |
923 }, | 992 }, |
924 "CustomError": { | 993 "CustomError": { |
925 "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", | 994 "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", |
926 "id": "CustomError", | 995 "id": "CustomError", |
927 "properties": { | 996 "properties": { |
| 997 "rules": { |
| 998 "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.", |
| 999 "items": { |
| 1000 "$ref": "CustomErrorRule" |
| 1001 }, |
| 1002 "type": "array" |
| 1003 }, |
928 "types": { | 1004 "types": { |
929 "description": "The list of custom error detail types, e.g.
'google.foo.v1.CustomError'.", | 1005 "description": "The list of custom error detail types, e.g.
'google.foo.v1.CustomError'.", |
930 "items": { | 1006 "items": { |
931 "type": "string" | 1007 "type": "string" |
932 }, | 1008 }, |
933 "type": "array" | 1009 "type": "array" |
934 }, | |
935 "rules": { | |
936 "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.", | |
937 "items": { | |
938 "$ref": "CustomErrorRule" | |
939 }, | |
940 "type": "array" | |
941 } | 1010 } |
942 }, | 1011 }, |
943 "type": "object" | 1012 "type": "object" |
944 }, | 1013 }, |
945 "CounterOptions": { | 1014 "CounterOptions": { |
946 "description": "Options for counters", | 1015 "description": "Options for counters", |
947 "id": "CounterOptions", | 1016 "id": "CounterOptions", |
948 "properties": { | 1017 "properties": { |
949 "metric": { | 1018 "metric": { |
950 "description": "The metric to update.", | 1019 "description": "The metric to update.", |
951 "type": "string" | 1020 "type": "string" |
952 }, | 1021 }, |
953 "field": { | 1022 "field": { |
954 "description": "The field value to attribute.", | 1023 "description": "The field value to attribute.", |
955 "type": "string" | 1024 "type": "string" |
956 } | 1025 } |
957 }, | 1026 }, |
958 "type": "object" | 1027 "type": "object" |
959 }, | 1028 }, |
960 "Http": { | 1029 "Http": { |
961 "description": "Defines the HTTP configuration for a service. It con
tains a list of\nHttpRule, each specifying the mapping of an RPC method\nto one
or more HTTP REST API methods.", | 1030 "description": "Defines the HTTP configuration for a service. It con
tains a list of\nHttpRule, each specifying the mapping of an RPC method\nto one
or more HTTP REST API methods.", |
962 "id": "Http", | 1031 "id": "Http", |
963 "properties": { | 1032 "properties": { |
| 1033 "fullyDecodeReservedExpansion": { |
| 1034 "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.", |
| 1035 "type": "boolean" |
| 1036 }, |
964 "rules": { | 1037 "rules": { |
965 "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.", | 1038 "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.", |
966 "items": { | 1039 "items": { |
967 "$ref": "HttpRule" | 1040 "$ref": "HttpRule" |
968 }, | 1041 }, |
969 "type": "array" | 1042 "type": "array" |
970 } | 1043 } |
971 }, | 1044 }, |
972 "type": "object" | 1045 "type": "object" |
973 }, | 1046 }, |
(...skipping 23 matching lines...) Expand all Loading... |
997 "description": "The service control environment to use. If e
mpty, no control plane\nfeature (like quota and billing) will be enabled.", | 1070 "description": "The service control environment to use. If e
mpty, no control plane\nfeature (like quota and billing) will be enabled.", |
998 "type": "string" | 1071 "type": "string" |
999 } | 1072 } |
1000 }, | 1073 }, |
1001 "type": "object" | 1074 "type": "object" |
1002 }, | 1075 }, |
1003 "SystemParameter": { | 1076 "SystemParameter": { |
1004 "description": "Define a parameter's name and location. The paramete
r may be passed as either\nan HTTP header or a URL query parameter, and if both
are passed the behavior\nis implementation-dependent.", | 1077 "description": "Define a parameter's name and location. The paramete
r may be passed as either\nan HTTP header or a URL query parameter, and if both
are passed the behavior\nis implementation-dependent.", |
1005 "id": "SystemParameter", | 1078 "id": "SystemParameter", |
1006 "properties": { | 1079 "properties": { |
1007 "httpHeader": { | |
1008 "description": "Define the HTTP header name to use for the p
arameter. It is case\ninsensitive.", | |
1009 "type": "string" | |
1010 }, | |
1011 "name": { | 1080 "name": { |
1012 "description": "Define the name of the parameter, such as \"
api_key\" . It is case sensitive.", | 1081 "description": "Define the name of the parameter, such as \"
api_key\" . It is case sensitive.", |
1013 "type": "string" | 1082 "type": "string" |
1014 }, | 1083 }, |
1015 "urlQueryParameter": { | 1084 "urlQueryParameter": { |
1016 "description": "Define the URL query parameter name to use f
or the parameter. It is case\nsensitive.", | 1085 "description": "Define the URL query parameter name to use f
or the parameter. It is case\nsensitive.", |
1017 "type": "string" | 1086 "type": "string" |
| 1087 }, |
| 1088 "httpHeader": { |
| 1089 "description": "Define the HTTP header name to use for the p
arameter. It is case\ninsensitive.", |
| 1090 "type": "string" |
1018 } | 1091 } |
1019 }, | 1092 }, |
1020 "type": "object" | 1093 "type": "object" |
1021 }, | 1094 }, |
1022 "Field": { | 1095 "Field": { |
1023 "description": "A single field of a message type.", | 1096 "description": "A single field of a message type.", |
1024 "id": "Field", | 1097 "id": "Field", |
1025 "properties": { | 1098 "properties": { |
1026 "oneofIndex": { | 1099 "jsonName": { |
1027 "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.", | 1100 "description": "The field JSON name.", |
1028 "format": "int32", | |
1029 "type": "integer" | |
1030 }, | |
1031 "packed": { | |
1032 "description": "Whether to use alternative packed wire repre
sentation.", | |
1033 "type": "boolean" | |
1034 }, | |
1035 "cardinality": { | |
1036 "description": "The field cardinality.", | |
1037 "enum": [ | |
1038 "CARDINALITY_UNKNOWN", | |
1039 "CARDINALITY_OPTIONAL", | |
1040 "CARDINALITY_REQUIRED", | |
1041 "CARDINALITY_REPEATED" | |
1042 ], | |
1043 "enumDescriptions": [ | |
1044 "For fields with unknown cardinality.", | |
1045 "For optional fields.", | |
1046 "For required fields. Proto2 syntax only.", | |
1047 "For repeated fields." | |
1048 ], | |
1049 "type": "string" | 1101 "type": "string" |
1050 }, | 1102 }, |
1051 "defaultValue": { | |
1052 "description": "The string value of the default value of thi
s field. Proto2 syntax only.", | |
1053 "type": "string" | |
1054 }, | |
1055 "name": { | |
1056 "description": "The field name.", | |
1057 "type": "string" | |
1058 }, | |
1059 "typeUrl": { | |
1060 "description": "The field type URL, without the scheme, for
message or enumeration\ntypes. Example: `\"type.googleapis.com/google.protobuf.T
imestamp\"`.", | |
1061 "type": "string" | |
1062 }, | |
1063 "number": { | |
1064 "description": "The field number.", | |
1065 "format": "int32", | |
1066 "type": "integer" | |
1067 }, | |
1068 "kind": { | 1103 "kind": { |
1069 "description": "The field type.", | 1104 "description": "The field type.", |
1070 "enum": [ | 1105 "enum": [ |
1071 "TYPE_UNKNOWN", | 1106 "TYPE_UNKNOWN", |
1072 "TYPE_DOUBLE", | 1107 "TYPE_DOUBLE", |
1073 "TYPE_FLOAT", | 1108 "TYPE_FLOAT", |
1074 "TYPE_INT64", | 1109 "TYPE_INT64", |
1075 "TYPE_UINT64", | 1110 "TYPE_UINT64", |
1076 "TYPE_INT32", | 1111 "TYPE_INT32", |
1077 "TYPE_FIXED64", | 1112 "TYPE_FIXED64", |
(...skipping 26 matching lines...) Expand all Loading... |
1104 "Field type bytes.", | 1139 "Field type bytes.", |
1105 "Field type uint32.", | 1140 "Field type uint32.", |
1106 "Field type enum.", | 1141 "Field type enum.", |
1107 "Field type sfixed32.", | 1142 "Field type sfixed32.", |
1108 "Field type sfixed64.", | 1143 "Field type sfixed64.", |
1109 "Field type sint32.", | 1144 "Field type sint32.", |
1110 "Field type sint64." | 1145 "Field type sint64." |
1111 ], | 1146 ], |
1112 "type": "string" | 1147 "type": "string" |
1113 }, | 1148 }, |
1114 "jsonName": { | |
1115 "description": "The field JSON name.", | |
1116 "type": "string" | |
1117 }, | |
1118 "options": { | 1149 "options": { |
1119 "description": "The protocol buffer options.", | 1150 "description": "The protocol buffer options.", |
1120 "items": { | 1151 "items": { |
1121 "$ref": "Option" | 1152 "$ref": "Option" |
1122 }, | 1153 }, |
1123 "type": "array" | 1154 "type": "array" |
| 1155 }, |
| 1156 "oneofIndex": { |
| 1157 "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.", |
| 1158 "format": "int32", |
| 1159 "type": "integer" |
| 1160 }, |
| 1161 "cardinality": { |
| 1162 "description": "The field cardinality.", |
| 1163 "enum": [ |
| 1164 "CARDINALITY_UNKNOWN", |
| 1165 "CARDINALITY_OPTIONAL", |
| 1166 "CARDINALITY_REQUIRED", |
| 1167 "CARDINALITY_REPEATED" |
| 1168 ], |
| 1169 "enumDescriptions": [ |
| 1170 "For fields with unknown cardinality.", |
| 1171 "For optional fields.", |
| 1172 "For required fields. Proto2 syntax only.", |
| 1173 "For repeated fields." |
| 1174 ], |
| 1175 "type": "string" |
| 1176 }, |
| 1177 "packed": { |
| 1178 "description": "Whether to use alternative packed wire repre
sentation.", |
| 1179 "type": "boolean" |
| 1180 }, |
| 1181 "defaultValue": { |
| 1182 "description": "The string value of the default value of thi
s field. Proto2 syntax only.", |
| 1183 "type": "string" |
| 1184 }, |
| 1185 "name": { |
| 1186 "description": "The field name.", |
| 1187 "type": "string" |
| 1188 }, |
| 1189 "typeUrl": { |
| 1190 "description": "The field type URL, without the scheme, for
message or enumeration\ntypes. Example: `\"type.googleapis.com/google.protobuf.T
imestamp\"`.", |
| 1191 "type": "string" |
| 1192 }, |
| 1193 "number": { |
| 1194 "description": "The field number.", |
| 1195 "format": "int32", |
| 1196 "type": "integer" |
1124 } | 1197 } |
1125 }, | 1198 }, |
1126 "type": "object" | 1199 "type": "object" |
1127 }, | 1200 }, |
1128 "Monitoring": { | 1201 "Monitoring": { |
1129 "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", | 1202 "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", |
1130 "id": "Monitoring", | 1203 "id": "Monitoring", |
1131 "properties": { | 1204 "properties": { |
1132 "consumerDestinations": { | 1205 "consumerDestinations": { |
1133 "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.", | 1206 "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.", |
(...skipping 23 matching lines...) Expand all Loading... |
1157 }, | 1230 }, |
1158 "type": "array" | 1231 "type": "array" |
1159 } | 1232 } |
1160 }, | 1233 }, |
1161 "type": "object" | 1234 "type": "object" |
1162 }, | 1235 }, |
1163 "Enum": { | 1236 "Enum": { |
1164 "description": "Enum type definition.", | 1237 "description": "Enum type definition.", |
1165 "id": "Enum", | 1238 "id": "Enum", |
1166 "properties": { | 1239 "properties": { |
| 1240 "sourceContext": { |
| 1241 "$ref": "SourceContext", |
| 1242 "description": "The source context." |
| 1243 }, |
| 1244 "syntax": { |
| 1245 "description": "The source syntax.", |
| 1246 "enum": [ |
| 1247 "SYNTAX_PROTO2", |
| 1248 "SYNTAX_PROTO3" |
| 1249 ], |
| 1250 "enumDescriptions": [ |
| 1251 "Syntax `proto2`.", |
| 1252 "Syntax `proto3`." |
| 1253 ], |
| 1254 "type": "string" |
| 1255 }, |
1167 "name": { | 1256 "name": { |
1168 "description": "Enum type name.", | 1257 "description": "Enum type name.", |
1169 "type": "string" | 1258 "type": "string" |
1170 }, | 1259 }, |
1171 "enumvalue": { | 1260 "enumvalue": { |
1172 "description": "Enum value definitions.", | 1261 "description": "Enum value definitions.", |
1173 "items": { | 1262 "items": { |
1174 "$ref": "EnumValue" | 1263 "$ref": "EnumValue" |
1175 }, | 1264 }, |
1176 "type": "array" | 1265 "type": "array" |
1177 }, | 1266 }, |
1178 "options": { | 1267 "options": { |
1179 "description": "Protocol buffer options.", | 1268 "description": "Protocol buffer options.", |
1180 "items": { | 1269 "items": { |
1181 "$ref": "Option" | 1270 "$ref": "Option" |
1182 }, | 1271 }, |
1183 "type": "array" | 1272 "type": "array" |
1184 }, | |
1185 "sourceContext": { | |
1186 "$ref": "SourceContext", | |
1187 "description": "The source context." | |
1188 }, | |
1189 "syntax": { | |
1190 "description": "The source syntax.", | |
1191 "enum": [ | |
1192 "SYNTAX_PROTO2", | |
1193 "SYNTAX_PROTO3" | |
1194 ], | |
1195 "enumDescriptions": [ | |
1196 "Syntax `proto2`.", | |
1197 "Syntax `proto3`." | |
1198 ], | |
1199 "type": "string" | |
1200 } | 1273 } |
1201 }, | 1274 }, |
1202 "type": "object" | 1275 "type": "object" |
1203 }, | |
1204 "EnableServiceRequest": { | |
1205 "description": "Request message for EnableService method.", | |
1206 "id": "EnableServiceRequest", | |
1207 "properties": { | |
1208 "consumerId": { | |
1209 "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.", | |
1210 "type": "string" | |
1211 } | |
1212 }, | |
1213 "type": "object" | |
1214 }, | 1276 }, |
1215 "LabelDescriptor": { | 1277 "LabelDescriptor": { |
1216 "description": "A description of a label.", | 1278 "description": "A description of a label.", |
1217 "id": "LabelDescriptor", | 1279 "id": "LabelDescriptor", |
1218 "properties": { | 1280 "properties": { |
1219 "key": { | 1281 "key": { |
1220 "description": "The label key.", | 1282 "description": "The label key.", |
1221 "type": "string" | 1283 "type": "string" |
1222 }, | 1284 }, |
1223 "description": { | 1285 "description": { |
(...skipping 14 matching lines...) Expand all Loading... |
1238 ], | 1300 ], |
1239 "type": "string" | 1301 "type": "string" |
1240 } | 1302 } |
1241 }, | 1303 }, |
1242 "type": "object" | 1304 "type": "object" |
1243 }, | 1305 }, |
1244 "Diagnostic": { | 1306 "Diagnostic": { |
1245 "description": "Represents a diagnostic message (error or warning)", | 1307 "description": "Represents a diagnostic message (error or warning)", |
1246 "id": "Diagnostic", | 1308 "id": "Diagnostic", |
1247 "properties": { | 1309 "properties": { |
1248 "message": { | |
1249 "description": "Message describing the error or warning.", | |
1250 "type": "string" | |
1251 }, | |
1252 "location": { | |
1253 "description": "File name and line number of the error or wa
rning.", | |
1254 "type": "string" | |
1255 }, | |
1256 "kind": { | 1310 "kind": { |
1257 "description": "The kind of diagnostic information provided.
", | 1311 "description": "The kind of diagnostic information provided.
", |
1258 "enum": [ | 1312 "enum": [ |
1259 "WARNING", | 1313 "WARNING", |
1260 "ERROR" | 1314 "ERROR" |
1261 ], | 1315 ], |
1262 "enumDescriptions": [ | 1316 "enumDescriptions": [ |
1263 "Warnings and errors", | 1317 "Warnings and errors", |
1264 "Only errors" | 1318 "Only errors" |
1265 ], | 1319 ], |
1266 "type": "string" | 1320 "type": "string" |
| 1321 }, |
| 1322 "message": { |
| 1323 "description": "Message describing the error or warning.", |
| 1324 "type": "string" |
| 1325 }, |
| 1326 "location": { |
| 1327 "description": "File name and line number of the error or wa
rning.", |
| 1328 "type": "string" |
1267 } | 1329 } |
1268 }, | 1330 }, |
1269 "type": "object" | 1331 "type": "object" |
1270 }, | 1332 }, |
1271 "GenerateConfigReportResponse": { | 1333 "EnableServiceRequest": { |
1272 "description": "Response message for GenerateConfigReport method.", | 1334 "description": "Request message for EnableService method.", |
1273 "id": "GenerateConfigReportResponse", | 1335 "id": "EnableServiceRequest", |
1274 "properties": { | 1336 "properties": { |
1275 "changeReports": { | 1337 "consumerId": { |
1276 "description": "list of ChangeReport, each corresponding to
comparison between two\nservice configurations.", | 1338 "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.", |
1277 "items": { | |
1278 "$ref": "ChangeReport" | |
1279 }, | |
1280 "type": "array" | |
1281 }, | |
1282 "id": { | |
1283 "description": "ID of the service configuration this report
belongs to.", | |
1284 "type": "string" | |
1285 }, | |
1286 "diagnostics": { | |
1287 "description": "Errors / Linter warnings associated with the
service definition this\nreport\nbelongs to.", | |
1288 "items": { | |
1289 "$ref": "Diagnostic" | |
1290 }, | |
1291 "type": "array" | |
1292 }, | |
1293 "serviceName": { | |
1294 "description": "Name of the service this report belongs to."
, | |
1295 "type": "string" | 1339 "type": "string" |
1296 } | 1340 } |
1297 }, | 1341 }, |
1298 "type": "object" | 1342 "type": "object" |
1299 }, | 1343 }, |
1300 "Type": { | 1344 "Type": { |
1301 "description": "A protocol buffer message type.", | 1345 "description": "A protocol buffer message type.", |
1302 "id": "Type", | 1346 "id": "Type", |
1303 "properties": { | 1347 "properties": { |
1304 "fields": { | 1348 "fields": { |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1338 "options": { | 1382 "options": { |
1339 "description": "The protocol buffer options.", | 1383 "description": "The protocol buffer options.", |
1340 "items": { | 1384 "items": { |
1341 "$ref": "Option" | 1385 "$ref": "Option" |
1342 }, | 1386 }, |
1343 "type": "array" | 1387 "type": "array" |
1344 } | 1388 } |
1345 }, | 1389 }, |
1346 "type": "object" | 1390 "type": "object" |
1347 }, | 1391 }, |
1348 "Experimental": { | 1392 "GenerateConfigReportResponse": { |
1349 "description": "Experimental service configuration. These configurat
ion options can\nonly be used by whitelisted users.", | 1393 "description": "Response message for GenerateConfigReport method.", |
1350 "id": "Experimental", | 1394 "id": "GenerateConfigReportResponse", |
1351 "properties": { | 1395 "properties": { |
1352 "authorization": { | 1396 "diagnostics": { |
1353 "$ref": "AuthorizationConfig", | 1397 "description": "Errors / Linter warnings associated with the
service definition this\nreport\nbelongs to.", |
1354 "description": "Authorization configuration." | 1398 "items": { |
| 1399 "$ref": "Diagnostic" |
| 1400 }, |
| 1401 "type": "array" |
| 1402 }, |
| 1403 "serviceName": { |
| 1404 "description": "Name of the service this report belongs to."
, |
| 1405 "type": "string" |
| 1406 }, |
| 1407 "changeReports": { |
| 1408 "description": "list of ChangeReport, each corresponding to
comparison between two\nservice configurations.", |
| 1409 "items": { |
| 1410 "$ref": "ChangeReport" |
| 1411 }, |
| 1412 "type": "array" |
| 1413 }, |
| 1414 "id": { |
| 1415 "description": "ID of the service configuration this report
belongs to.", |
| 1416 "type": "string" |
1355 } | 1417 } |
1356 }, | 1418 }, |
1357 "type": "object" | 1419 "type": "object" |
1358 }, | 1420 }, |
1359 "ListServiceConfigsResponse": { | 1421 "ListServiceConfigsResponse": { |
1360 "description": "Response message for ListServiceConfigs method.", | 1422 "description": "Response message for ListServiceConfigs method.", |
1361 "id": "ListServiceConfigsResponse", | 1423 "id": "ListServiceConfigsResponse", |
1362 "properties": { | 1424 "properties": { |
1363 "serviceConfigs": { | 1425 "serviceConfigs": { |
1364 "description": "The list of service configuration resources.
", | 1426 "description": "The list of service configuration resources.
", |
1365 "items": { | 1427 "items": { |
1366 "$ref": "Service" | 1428 "$ref": "Service" |
1367 }, | 1429 }, |
1368 "type": "array" | 1430 "type": "array" |
1369 }, | 1431 }, |
1370 "nextPageToken": { | 1432 "nextPageToken": { |
1371 "description": "The token of the next page of results.", | 1433 "description": "The token of the next page of results.", |
1372 "type": "string" | 1434 "type": "string" |
1373 } | 1435 } |
1374 }, | 1436 }, |
1375 "type": "object" | 1437 "type": "object" |
1376 }, | 1438 }, |
| 1439 "Experimental": { |
| 1440 "description": "Experimental service configuration. These configurat
ion options can\nonly be used by whitelisted users.", |
| 1441 "id": "Experimental", |
| 1442 "properties": { |
| 1443 "authorization": { |
| 1444 "$ref": "AuthorizationConfig", |
| 1445 "description": "Authorization configuration." |
| 1446 } |
| 1447 }, |
| 1448 "type": "object" |
| 1449 }, |
1377 "AuditConfig": { | 1450 "AuditConfig": { |
1378 "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 AuditConifg 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.\nExample Policy with multiple AuditConfigs:\n{\n \
"audit_configs\": [\n {\n \"service\": \"allServices\"\n \"audit_lo
g_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"e
xempted_members\": [\n \"user:foo@gmail.com\"\n ]\n }
,\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n
\"log_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n
\"service\": \"fooservice@googleapis.com\"\n \"audit_log_configs\": [\n
{\n \"log_type\": \"DATA_READ\",\n },\n {\n
\"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \"
user:bar@gmail.com\"\n ]\n }\n ]\n }\n ]\n}\nFor fooser
vice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also
exempts foo@gmail.com from DATA_READ logging, and\nbar@gmail.com from DATA_WRIT
E logging.", | 1451 "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 AuditConifg 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.", |
1379 "id": "AuditConfig", | 1452 "id": "AuditConfig", |
1380 "properties": { | 1453 "properties": { |
| 1454 "service": { |
| 1455 "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.", |
| 1456 "type": "string" |
| 1457 }, |
1381 "auditLogConfigs": { | 1458 "auditLogConfigs": { |
1382 "description": "The configuration for logging of each type o
f permission.\nNext ID: 4", | 1459 "description": "The configuration for logging of each type o
f permission.\nNext ID: 4", |
1383 "items": { | 1460 "items": { |
1384 "$ref": "AuditLogConfig" | 1461 "$ref": "AuditLogConfig" |
1385 }, | 1462 }, |
1386 "type": "array" | 1463 "type": "array" |
1387 }, | 1464 }, |
1388 "exemptedMembers": { | 1465 "exemptedMembers": { |
1389 "items": { | 1466 "items": { |
1390 "type": "string" | 1467 "type": "string" |
1391 }, | 1468 }, |
1392 "type": "array" | 1469 "type": "array" |
1393 }, | |
1394 "service": { | |
1395 "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.", | |
1396 "type": "string" | |
1397 } | 1470 } |
1398 }, | 1471 }, |
1399 "type": "object" | 1472 "type": "object" |
1400 }, | 1473 }, |
1401 "Backend": { | 1474 "Backend": { |
1402 "description": "`Backend` defines the backend configuration for a se
rvice.", | 1475 "description": "`Backend` defines the backend configuration for a se
rvice.", |
1403 "id": "Backend", | 1476 "id": "Backend", |
1404 "properties": { | 1477 "properties": { |
1405 "rules": { | 1478 "rules": { |
1406 "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.", | 1479 "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.", |
(...skipping 28 matching lines...) Expand all Loading... |
1435 "description": "The name of the authorization provider, such
as\nfirebaserules.googleapis.com.", | 1508 "description": "The name of the authorization provider, such
as\nfirebaserules.googleapis.com.", |
1436 "type": "string" | 1509 "type": "string" |
1437 } | 1510 } |
1438 }, | 1511 }, |
1439 "type": "object" | 1512 "type": "object" |
1440 }, | 1513 }, |
1441 "DocumentationRule": { | 1514 "DocumentationRule": { |
1442 "description": "A documentation rule provides information about indi
vidual API elements.", | 1515 "description": "A documentation rule provides information about indi
vidual API elements.", |
1443 "id": "DocumentationRule", | 1516 "id": "DocumentationRule", |
1444 "properties": { | 1517 "properties": { |
| 1518 "description": { |
| 1519 "description": "Description of the selected API(s).", |
| 1520 "type": "string" |
| 1521 }, |
1445 "deprecationDescription": { | 1522 "deprecationDescription": { |
1446 "description": "Deprecation description of the selected elem
ent(s). It can be provided if an\nelement is marked as `deprecated`.", | 1523 "description": "Deprecation description of the selected elem
ent(s). It can be provided if an\nelement is marked as `deprecated`.", |
1447 "type": "string" | 1524 "type": "string" |
1448 }, | 1525 }, |
1449 "selector": { | 1526 "selector": { |
1450 "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.", | 1527 "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.", |
1451 "type": "string" | 1528 "type": "string" |
1452 }, | |
1453 "description": { | |
1454 "description": "Description of the selected API(s).", | |
1455 "type": "string" | |
1456 } | 1529 } |
1457 }, | 1530 }, |
1458 "type": "object" | 1531 "type": "object" |
1459 }, | 1532 }, |
1460 "CloudAuditOptions": { | 1533 "CloudAuditOptions": { |
1461 "description": "Write a Cloud Audit log", | 1534 "description": "Write a Cloud Audit log", |
1462 "id": "CloudAuditOptions", | 1535 "id": "CloudAuditOptions", |
1463 "properties": {}, | 1536 "properties": {}, |
1464 "type": "object" | 1537 "type": "object" |
1465 }, | 1538 }, |
(...skipping 15 matching lines...) Expand all Loading... |
1481 "provided": { | 1554 "provided": { |
1482 "description": "A list of full type names of provided contex
ts.", | 1555 "description": "A list of full type names of provided contex
ts.", |
1483 "items": { | 1556 "items": { |
1484 "type": "string" | 1557 "type": "string" |
1485 }, | 1558 }, |
1486 "type": "array" | 1559 "type": "array" |
1487 } | 1560 } |
1488 }, | 1561 }, |
1489 "type": "object" | 1562 "type": "object" |
1490 }, | 1563 }, |
1491 "SourceContext": { | |
1492 "description": "`SourceContext` represents information about the sou
rce of a\nprotobuf element, like the file in which it is defined.", | |
1493 "id": "SourceContext", | |
1494 "properties": { | |
1495 "fileName": { | |
1496 "description": "The path-qualified name of the .proto file t
hat contained the associated\nprotobuf element. For example: `\"google/protobuf
/source_context.proto\"`.", | |
1497 "type": "string" | |
1498 } | |
1499 }, | |
1500 "type": "object" | |
1501 }, | |
1502 "MetricDescriptor": { | 1564 "MetricDescriptor": { |
1503 "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.", | 1565 "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.", |
1504 "id": "MetricDescriptor", | 1566 "id": "MetricDescriptor", |
1505 "properties": { | 1567 "properties": { |
1506 "unit": { | |
1507 "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 '}'.", | |
1508 "type": "string" | |
1509 }, | |
1510 "labels": { | |
1511 "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.", | |
1512 "items": { | |
1513 "$ref": "LabelDescriptor" | |
1514 }, | |
1515 "type": "array" | |
1516 }, | |
1517 "name": { | 1568 "name": { |
1518 "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\"", | 1569 "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\"", |
1519 "type": "string" | 1570 "type": "string" |
1520 }, | 1571 }, |
1521 "type": { | 1572 "type": { |
1522 "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\"", | 1573 "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\"", |
1523 "type": "string" | 1574 "type": "string" |
1524 }, | 1575 }, |
1525 "valueType": { | 1576 "valueType": { |
1526 "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.", | 1577 "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.", |
(...skipping 26 matching lines...) Expand all Loading... |
1553 "CUMULATIVE" | 1604 "CUMULATIVE" |
1554 ], | 1605 ], |
1555 "enumDescriptions": [ | 1606 "enumDescriptions": [ |
1556 "Do not use this default value.", | 1607 "Do not use this default value.", |
1557 "An instantaneous measurement of a value.", | 1608 "An instantaneous measurement of a value.", |
1558 "The change in a value during a time interval.", | 1609 "The change in a value during a time interval.", |
1559 "A value accumulated over a time interval. Cumulative\n
measurements in a time series should have the same start time\nand increasing en
d times, until an event resets the cumulative\nvalue to zero and sets a new star
t time for the following\npoints." | 1610 "A value accumulated over a time interval. Cumulative\n
measurements in a time series should have the same start time\nand increasing en
d times, until an event resets the cumulative\nvalue to zero and sets a new star
t time for the following\npoints." |
1560 ], | 1611 ], |
1561 "type": "string" | 1612 "type": "string" |
1562 }, | 1613 }, |
| 1614 "displayName": { |
| 1615 "description": "A concise name for the metric, which can be
displayed in user interfaces.\nUse sentence case without an ending period, for e
xample \"Request count\".", |
| 1616 "type": "string" |
| 1617 }, |
1563 "description": { | 1618 "description": { |
1564 "description": "A detailed description of the metric, which
can be used in documentation.", | 1619 "description": "A detailed description of the metric, which
can be used in documentation.", |
1565 "type": "string" | 1620 "type": "string" |
1566 }, | 1621 }, |
1567 "displayName": { | 1622 "unit": { |
1568 "description": "A concise name for the metric, which can be
displayed in user interfaces.\nUse sentence case without an ending period, for e
xample \"Request count\".", | 1623 "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 '}'.", |
| 1624 "type": "string" |
| 1625 }, |
| 1626 "labels": { |
| 1627 "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.", |
| 1628 "items": { |
| 1629 "$ref": "LabelDescriptor" |
| 1630 }, |
| 1631 "type": "array" |
| 1632 } |
| 1633 }, |
| 1634 "type": "object" |
| 1635 }, |
| 1636 "SourceContext": { |
| 1637 "description": "`SourceContext` represents information about the sou
rce of a\nprotobuf element, like the file in which it is defined.", |
| 1638 "id": "SourceContext", |
| 1639 "properties": { |
| 1640 "fileName": { |
| 1641 "description": "The path-qualified name of the .proto file t
hat contained the associated\nprotobuf element. For example: `\"google/protobuf
/source_context.proto\"`.", |
1569 "type": "string" | 1642 "type": "string" |
1570 } | 1643 } |
1571 }, | 1644 }, |
1572 "type": "object" | 1645 "type": "object" |
1573 }, | 1646 }, |
1574 "ListServicesResponse": { | 1647 "ListServicesResponse": { |
1575 "description": "Response message for `ListServices` method.", | 1648 "description": "Response message for `ListServices` method.", |
1576 "id": "ListServicesResponse", | 1649 "id": "ListServicesResponse", |
1577 "properties": { | 1650 "properties": { |
1578 "services": { | 1651 "services": { |
1579 "description": "The returned services will only have the nam
e field set.", | 1652 "description": "The returned services will only have the nam
e field set.", |
1580 "items": { | 1653 "items": { |
1581 "$ref": "ManagedService" | 1654 "$ref": "ManagedService" |
1582 }, | 1655 }, |
1583 "type": "array" | 1656 "type": "array" |
1584 }, | 1657 }, |
1585 "nextPageToken": { | 1658 "nextPageToken": { |
1586 "description": "Token that can be passed to `ListServices` t
o resume a paginated query.", | 1659 "description": "Token that can be passed to `ListServices` t
o resume a paginated query.", |
1587 "type": "string" | 1660 "type": "string" |
1588 } | 1661 } |
1589 }, | 1662 }, |
1590 "type": "object" | 1663 "type": "object" |
1591 }, | 1664 }, |
1592 "Endpoint": { | 1665 "Endpoint": { |
1593 "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", | 1666 "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", |
1594 "id": "Endpoint", | 1667 "id": "Endpoint", |
1595 "properties": { | 1668 "properties": { |
| 1669 "apis": { |
| 1670 "description": "The list of APIs served by this endpoint.", |
| 1671 "items": { |
| 1672 "type": "string" |
| 1673 }, |
| 1674 "type": "array" |
| 1675 }, |
1596 "aliases": { | 1676 "aliases": { |
1597 "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.", | 1677 "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.", |
1598 "items": { | 1678 "items": { |
1599 "type": "string" | 1679 "type": "string" |
1600 }, | 1680 }, |
1601 "type": "array" | |
1602 }, | |
1603 "features": { | |
1604 "description": "The list of features enabled on this endpoin
t.", | |
1605 "items": { | |
1606 "type": "string" | |
1607 }, | |
1608 "type": "array" | 1681 "type": "array" |
1609 }, | 1682 }, |
1610 "allowCors": { | 1683 "allowCors": { |
1611 "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.", | 1684 "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.", |
1612 "type": "boolean" | 1685 "type": "boolean" |
1613 }, | 1686 }, |
| 1687 "target": { |
| 1688 "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\".", |
| 1689 "type": "string" |
| 1690 }, |
1614 "name": { | 1691 "name": { |
1615 "description": "The canonical name of this endpoint.", | 1692 "description": "The canonical name of this endpoint.", |
1616 "type": "string" | 1693 "type": "string" |
1617 }, | 1694 }, |
1618 "apis": { | 1695 "features": { |
1619 "description": "The list of APIs served by this endpoint.", | 1696 "description": "The list of features enabled on this endpoin
t.", |
1620 "items": { | 1697 "items": { |
1621 "type": "string" | 1698 "type": "string" |
1622 }, | 1699 }, |
1623 "type": "array" | 1700 "type": "array" |
1624 } | 1701 } |
1625 }, | 1702 }, |
1626 "type": "object" | 1703 "type": "object" |
1627 }, | 1704 }, |
1628 "OAuthRequirements": { | 1705 "OAuthRequirements": { |
1629 "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.", | 1706 "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.", |
1630 "id": "OAuthRequirements", | 1707 "id": "OAuthRequirements", |
1631 "properties": { | 1708 "properties": { |
1632 "canonicalScopes": { | 1709 "canonicalScopes": { |
1633 "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
", | 1710 "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
", |
1634 "type": "string" | 1711 "type": "string" |
1635 } | 1712 } |
1636 }, | 1713 }, |
1637 "type": "object" | 1714 "type": "object" |
1638 }, | 1715 }, |
1639 "TestIamPermissionsResponse": { | |
1640 "description": "Response message for `TestIamPermissions` method.", | |
1641 "id": "TestIamPermissionsResponse", | |
1642 "properties": { | |
1643 "permissions": { | |
1644 "description": "A subset of `TestPermissionsRequest.permissi
ons` that the caller is\nallowed.", | |
1645 "items": { | |
1646 "type": "string" | |
1647 }, | |
1648 "type": "array" | |
1649 } | |
1650 }, | |
1651 "type": "object" | |
1652 }, | |
1653 "GetIamPolicyRequest": { | |
1654 "description": "Request message for `GetIamPolicy` method.", | |
1655 "id": "GetIamPolicyRequest", | |
1656 "properties": {}, | |
1657 "type": "object" | |
1658 }, | |
1659 "Usage": { | 1716 "Usage": { |
1660 "description": "Configuration controlling usage of a service.", | 1717 "description": "Configuration controlling usage of a service.", |
1661 "id": "Usage", | 1718 "id": "Usage", |
1662 "properties": { | 1719 "properties": { |
1663 "producerNotificationChannel": { | 1720 "producerNotificationChannel": { |
1664 "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.", | 1721 "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.", |
1665 "type": "string" | 1722 "type": "string" |
1666 }, | 1723 }, |
1667 "rules": { | 1724 "rules": { |
1668 "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.", | 1725 "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.", |
1669 "items": { | 1726 "items": { |
1670 "$ref": "UsageRule" | 1727 "$ref": "UsageRule" |
1671 }, | 1728 }, |
1672 "type": "array" | 1729 "type": "array" |
1673 }, | 1730 }, |
1674 "requirements": { | 1731 "requirements": { |
1675 "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'.", | 1732 "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'.", |
1676 "items": { | 1733 "items": { |
1677 "type": "string" | 1734 "type": "string" |
1678 }, | 1735 }, |
1679 "type": "array" | 1736 "type": "array" |
1680 } | 1737 } |
1681 }, | 1738 }, |
1682 "type": "object" | 1739 "type": "object" |
1683 }, | 1740 }, |
| 1741 "GetIamPolicyRequest": { |
| 1742 "description": "Request message for `GetIamPolicy` method.", |
| 1743 "id": "GetIamPolicyRequest", |
| 1744 "properties": {}, |
| 1745 "type": "object" |
| 1746 }, |
| 1747 "TestIamPermissionsResponse": { |
| 1748 "description": "Response message for `TestIamPermissions` method.", |
| 1749 "id": "TestIamPermissionsResponse", |
| 1750 "properties": { |
| 1751 "permissions": { |
| 1752 "description": "A subset of `TestPermissionsRequest.permissi
ons` that the caller is\nallowed.", |
| 1753 "items": { |
| 1754 "type": "string" |
| 1755 }, |
| 1756 "type": "array" |
| 1757 } |
| 1758 }, |
| 1759 "type": "object" |
| 1760 }, |
1684 "Context": { | 1761 "Context": { |
1685 "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`.", | 1762 "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`.", |
1686 "id": "Context", | 1763 "id": "Context", |
1687 "properties": { | 1764 "properties": { |
1688 "rules": { | 1765 "rules": { |
1689 "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.", | 1766 "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.", |
1690 "items": { | 1767 "items": { |
1691 "$ref": "ContextRule" | 1768 "$ref": "ContextRule" |
1692 }, | 1769 }, |
1693 "type": "array" | 1770 "type": "array" |
1694 } | 1771 } |
1695 }, | 1772 }, |
1696 "type": "object" | 1773 "type": "object" |
1697 }, | 1774 }, |
1698 "Rule": { | 1775 "Rule": { |
1699 "description": "A rule to be applied in a Policy.", | 1776 "description": "A rule to be applied in a Policy.", |
1700 "id": "Rule", | 1777 "id": "Rule", |
1701 "properties": { | 1778 "properties": { |
| 1779 "notIn": { |
| 1780 "description": "If one or more 'not_in' clauses are specifie
d, the rule matches\nif the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entri
es.\nThe format for in and not_in entries is the same as for members in a\nBindi
ng (see google/iam/v1/policy.proto).", |
| 1781 "items": { |
| 1782 "type": "string" |
| 1783 }, |
| 1784 "type": "array" |
| 1785 }, |
| 1786 "description": { |
| 1787 "description": "Human-readable description of the rule.", |
| 1788 "type": "string" |
| 1789 }, |
| 1790 "conditions": { |
| 1791 "description": "Additional restrictions that must be met", |
| 1792 "items": { |
| 1793 "$ref": "Condition" |
| 1794 }, |
| 1795 "type": "array" |
| 1796 }, |
1702 "logConfig": { | 1797 "logConfig": { |
1703 "description": "The config returned to callers of tech.iam.I
AM.CheckPolicy for any entries\nthat match the LOG action.", | 1798 "description": "The config returned to callers of tech.iam.I
AM.CheckPolicy for any entries\nthat match the LOG action.", |
1704 "items": { | 1799 "items": { |
1705 "$ref": "LogConfig" | 1800 "$ref": "LogConfig" |
1706 }, | 1801 }, |
1707 "type": "array" | 1802 "type": "array" |
1708 }, | 1803 }, |
1709 "in": { | 1804 "in": { |
1710 "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.", | 1805 "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.", |
1711 "items": { | 1806 "items": { |
(...skipping 20 matching lines...) Expand all Loading... |
1732 ], | 1827 ], |
1733 "enumDescriptions": [ | 1828 "enumDescriptions": [ |
1734 "Default no action.", | 1829 "Default no action.", |
1735 "Matching 'Entries' grant access.", | 1830 "Matching 'Entries' grant access.", |
1736 "Matching 'Entries' grant access and the caller promises
to log\nthe request per the returned log_configs.", | 1831 "Matching 'Entries' grant access and the caller promises
to log\nthe request per the returned log_configs.", |
1737 "Matching 'Entries' deny access.", | 1832 "Matching 'Entries' deny access.", |
1738 "Matching 'Entries' deny access and the caller promises
to log\nthe request per the returned log_configs.", | 1833 "Matching 'Entries' deny access and the caller promises
to log\nthe request per the returned log_configs.", |
1739 "Matching 'Entries' tell IAM.Check callers to generate l
ogs." | 1834 "Matching 'Entries' tell IAM.Check callers to generate l
ogs." |
1740 ], | 1835 ], |
1741 "type": "string" | 1836 "type": "string" |
1742 }, | |
1743 "notIn": { | |
1744 "description": "If one or more 'not_in' clauses are specifie
d, the rule matches\nif the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entri
es.\nThe format for in and not_in entries is the same as for members in a\nBindi
ng (see google/iam/v1/policy.proto).", | |
1745 "items": { | |
1746 "type": "string" | |
1747 }, | |
1748 "type": "array" | |
1749 }, | |
1750 "description": { | |
1751 "description": "Human-readable description of the rule.", | |
1752 "type": "string" | |
1753 }, | |
1754 "conditions": { | |
1755 "description": "Additional restrictions that must be met", | |
1756 "items": { | |
1757 "$ref": "Condition" | |
1758 }, | |
1759 "type": "array" | |
1760 } | 1837 } |
1761 }, | 1838 }, |
1762 "type": "object" | 1839 "type": "object" |
1763 }, | 1840 }, |
1764 "LogConfig": { | 1841 "LogConfig": { |
1765 "description": "Specifies what kind of log the caller must write", | 1842 "description": "Specifies what kind of log the caller must write", |
1766 "id": "LogConfig", | 1843 "id": "LogConfig", |
1767 "properties": { | 1844 "properties": { |
1768 "counter": { | |
1769 "$ref": "CounterOptions", | |
1770 "description": "Counter options." | |
1771 }, | |
1772 "dataAccess": { | 1845 "dataAccess": { |
1773 "$ref": "DataAccessOptions", | 1846 "$ref": "DataAccessOptions", |
1774 "description": "Data access options." | 1847 "description": "Data access options." |
1775 }, | 1848 }, |
1776 "cloudAudit": { | 1849 "cloudAudit": { |
1777 "$ref": "CloudAuditOptions", | 1850 "$ref": "CloudAuditOptions", |
1778 "description": "Cloud audit options." | 1851 "description": "Cloud audit options." |
| 1852 }, |
| 1853 "counter": { |
| 1854 "$ref": "CounterOptions", |
| 1855 "description": "Counter options." |
1779 } | 1856 } |
1780 }, | 1857 }, |
1781 "type": "object" | 1858 "type": "object" |
1782 }, | 1859 }, |
1783 "LogDescriptor": { | 1860 "LogDescriptor": { |
1784 "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", | 1861 "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", |
1785 "id": "LogDescriptor", | 1862 "id": "LogDescriptor", |
1786 "properties": { | 1863 "properties": { |
| 1864 "labels": { |
| 1865 "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.", |
| 1866 "items": { |
| 1867 "$ref": "LabelDescriptor" |
| 1868 }, |
| 1869 "type": "array" |
| 1870 }, |
1787 "name": { | 1871 "name": { |
1788 "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 [/_-.].", | 1872 "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 [/_-.].", |
1789 "type": "string" | 1873 "type": "string" |
1790 }, | 1874 }, |
1791 "description": { | 1875 "description": { |
1792 "description": "A human-readable description of this log. Th
is information appears in\nthe documentation and can contain details.", | 1876 "description": "A human-readable description of this log. Th
is information appears in\nthe documentation and can contain details.", |
1793 "type": "string" | 1877 "type": "string" |
1794 }, | 1878 }, |
1795 "displayName": { | 1879 "displayName": { |
1796 "description": "The human-readable name for this log. This i
nformation appears on\nthe user interface and should be concise.", | 1880 "description": "The human-readable name for this log. This i
nformation appears on\nthe user interface and should be concise.", |
1797 "type": "string" | 1881 "type": "string" |
1798 }, | |
1799 "labels": { | |
1800 "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.", | |
1801 "items": { | |
1802 "$ref": "LabelDescriptor" | |
1803 }, | |
1804 "type": "array" | |
1805 } | 1882 } |
1806 }, | 1883 }, |
1807 "type": "object" | 1884 "type": "object" |
1808 }, | 1885 }, |
1809 "ConfigFile": { | 1886 "ConfigFile": { |
1810 "description": "Generic specification of a source configuration file
", | 1887 "description": "Generic specification of a source configuration file
", |
1811 "id": "ConfigFile", | 1888 "id": "ConfigFile", |
1812 "properties": { | 1889 "properties": { |
1813 "filePath": { | 1890 "filePath": { |
1814 "description": "The file name of the configuration file (ful
l or relative path).", | 1891 "description": "The file name of the configuration file (ful
l or relative path).", |
(...skipping 22 matching lines...) Expand all Loading... |
1837 "format": "byte", | 1914 "format": "byte", |
1838 "type": "string" | 1915 "type": "string" |
1839 } | 1916 } |
1840 }, | 1917 }, |
1841 "type": "object" | 1918 "type": "object" |
1842 }, | 1919 }, |
1843 "MonitoredResourceDescriptor": { | 1920 "MonitoredResourceDescriptor": { |
1844 "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.", | 1921 "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.", |
1845 "id": "MonitoredResourceDescriptor", | 1922 "id": "MonitoredResourceDescriptor", |
1846 "properties": { | 1923 "properties": { |
1847 "labels": { | |
1848 "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\"`.", | |
1849 "items": { | |
1850 "$ref": "LabelDescriptor" | |
1851 }, | |
1852 "type": "array" | |
1853 }, | |
1854 "name": { | |
1855 "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}\"`.", | |
1856 "type": "string" | |
1857 }, | |
1858 "displayName": { | 1924 "displayName": { |
1859 "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\"`.", | 1925 "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\"`.", |
1860 "type": "string" | 1926 "type": "string" |
1861 }, | 1927 }, |
1862 "description": { | 1928 "description": { |
1863 "description": "Optional. A detailed description of the moni
tored resource type that might\nbe used in documentation.", | 1929 "description": "Optional. A detailed description of the moni
tored resource type that might\nbe used in documentation.", |
1864 "type": "string" | 1930 "type": "string" |
1865 }, | 1931 }, |
1866 "type": { | 1932 "type": { |
1867 "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.", | 1933 "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.", |
1868 "type": "string" | 1934 "type": "string" |
| 1935 }, |
| 1936 "labels": { |
| 1937 "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\"`.", |
| 1938 "items": { |
| 1939 "$ref": "LabelDescriptor" |
| 1940 }, |
| 1941 "type": "array" |
| 1942 }, |
| 1943 "name": { |
| 1944 "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}\"`.", |
| 1945 "type": "string" |
1869 } | 1946 } |
1870 }, | 1947 }, |
1871 "type": "object" | 1948 "type": "object" |
1872 }, | 1949 }, |
1873 "CustomErrorRule": { | 1950 "CustomErrorRule": { |
1874 "description": "A custom error rule.", | 1951 "description": "A custom error rule.", |
1875 "id": "CustomErrorRule", | 1952 "id": "CustomErrorRule", |
1876 "properties": { | 1953 "properties": { |
| 1954 "selector": { |
| 1955 "description": "Selects messages to which this rule applies.
\n\nRefer to selector for syntax details.", |
| 1956 "type": "string" |
| 1957 }, |
1877 "isErrorType": { | 1958 "isErrorType": { |
1878 "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.", | 1959 "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.", |
1879 "type": "boolean" | 1960 "type": "boolean" |
1880 }, | |
1881 "selector": { | |
1882 "description": "Selects messages to which this rule applies.
\n\nRefer to selector for syntax details.", | |
1883 "type": "string" | |
1884 } | 1961 } |
1885 }, | 1962 }, |
1886 "type": "object" | 1963 "type": "object" |
1887 }, | 1964 }, |
1888 "MediaDownload": { | 1965 "MediaDownload": { |
1889 "description": "Use this only for Scotty Requests. Do not use this f
or media support using\nBytestream, add instead [][google.bytestream.RestByteStr
eam] as an API to\nyour configuration for Bytestream methods.", | 1966 "description": "Use this only for Scotty Requests. Do not use this f
or media support using\nBytestream, add instead [][google.bytestream.RestByteStr
eam] as an API to\nyour configuration for Bytestream methods.", |
1890 "id": "MediaDownload", | 1967 "id": "MediaDownload", |
1891 "properties": { | 1968 "properties": { |
1892 "enabled": { | 1969 "enabled": { |
1893 "description": "Whether download is enabled.", | 1970 "description": "Whether download is enabled.", |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1974 "description": "ID of the project that produces and owns thi
s service.", | 2051 "description": "ID of the project that produces and owns thi
s service.", |
1975 "type": "string" | 2052 "type": "string" |
1976 } | 2053 } |
1977 }, | 2054 }, |
1978 "type": "object" | 2055 "type": "object" |
1979 }, | 2056 }, |
1980 "UsageRule": { | 2057 "UsageRule": { |
1981 "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", | 2058 "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", |
1982 "id": "UsageRule", | 2059 "id": "UsageRule", |
1983 "properties": { | 2060 "properties": { |
| 2061 "selector": { |
| 2062 "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.", |
| 2063 "type": "string" |
| 2064 }, |
1984 "allowUnregisteredCalls": { | 2065 "allowUnregisteredCalls": { |
1985 "description": "True, if the method allows unregistered call
s; false otherwise.", | 2066 "description": "True, if the method allows unregistered call
s; false otherwise.", |
1986 "type": "boolean" | 2067 "type": "boolean" |
1987 }, | |
1988 "selector": { | |
1989 "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.", | |
1990 "type": "string" | |
1991 } | 2068 } |
1992 }, | 2069 }, |
1993 "type": "object" | 2070 "type": "object" |
1994 }, | 2071 }, |
1995 "AuthRequirement": { | 2072 "AuthRequirement": { |
1996 "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).", | 2073 "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).", |
1997 "id": "AuthRequirement", | 2074 "id": "AuthRequirement", |
1998 "properties": { | 2075 "properties": { |
| 2076 "providerId": { |
| 2077 "description": "id from authentication provider.\n\nExample:
\n\n provider_id: bookstore_auth", |
| 2078 "type": "string" |
| 2079 }, |
1999 "audiences": { | 2080 "audiences": { |
2000 "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", | 2081 "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", |
2001 "type": "string" | 2082 "type": "string" |
2002 }, | |
2003 "providerId": { | |
2004 "description": "id from authentication provider.\n\nExample:
\n\n provider_id: bookstore_auth", | |
2005 "type": "string" | |
2006 } | 2083 } |
2007 }, | 2084 }, |
2008 "type": "object" | 2085 "type": "object" |
2009 }, | 2086 }, |
2010 "TrafficPercentStrategy": { | 2087 "TrafficPercentStrategy": { |
2011 "description": "Strategy that specifies how Google Service Control s
hould select\ndifferent\nversions of service configurations based on traffic per
centage.\n\nOne example of how to gradually rollout a new service configuration
using\nthis\nstrategy:\nDay 1\n\n Rollout {\n id: \"example.googleapis.c
om/rollout_20160206\"\n traffic_percent_strategy {\n percentages: {\
n \"example.googleapis.com/20160201\": 70.00\n \"example.googl
eapis.com/20160206\": 30.00\n }\n }\n }\n\nDay 2\n\n Rollout {
\n id: \"example.googleapis.com/rollout_20160207\"\n traffic_percent_s
trategy: {\n percentages: {\n \"example.googleapis.com/20160206\
": 100.00\n }\n }\n }", | 2088 "description": "Strategy that specifies how Google Service Control s
hould select\ndifferent\nversions of service configurations based on traffic per
centage.\n\nOne example of how to gradually rollout a new service configuration
using\nthis\nstrategy:\nDay 1\n\n Rollout {\n id: \"example.googleapis.c
om/rollout_20160206\"\n traffic_percent_strategy {\n percentages: {\
n \"example.googleapis.com/20160201\": 70.00\n \"example.googl
eapis.com/20160206\": 30.00\n }\n }\n }\n\nDay 2\n\n Rollout {
\n id: \"example.googleapis.com/rollout_20160207\"\n traffic_percent_s
trategy: {\n percentages: {\n \"example.googleapis.com/20160206\
": 100.00\n }\n }\n }", |
2012 "id": "TrafficPercentStrategy", | 2089 "id": "TrafficPercentStrategy", |
2013 "properties": { | 2090 "properties": { |
2014 "percentages": { | 2091 "percentages": { |
2015 "additionalProperties": { | 2092 "additionalProperties": { |
2016 "format": "double", | 2093 "format": "double", |
2017 "type": "number" | 2094 "type": "number" |
2018 }, | 2095 }, |
2019 "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.", | 2096 "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.", |
2020 "type": "object" | 2097 "type": "object" |
2021 } | 2098 } |
2022 }, | 2099 }, |
2023 "type": "object" | 2100 "type": "object" |
2024 }, | 2101 }, |
2025 "Documentation": { | 2102 "Documentation": { |
2026 "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: (== include google/foo/overview.md ==)\n - na
me: Tutorial\n content: (== include google/foo/tutorial.md ==)\n s
ubpages;\n - name: Java\n content: (== include google/foo/tutorial_j
ava.md ==)\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>[fully.qualified.proto.nam
e][]</code></pre>\nTo override the display text used for the link, this can
be used:\n<pre><code>[display text][fully.qualified.proto.name]</code></
pre>\nText can be excluded from doc using the following notation:\n<pre><code>&#
40;-- internal comment --)</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>(--BETA: comment for BETA users --)</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>(== include pat
h/to/file ==)</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>
0;== resource_for v1.shelves.books ==)</code></pre>\nThe directive `suppress
_warning` does not directly affect documentation\nand is documented together wit
h service config validation.", | 2103 "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: (== include google/foo/overview.md ==)\n - na
me: Tutorial\n content: (== include google/foo/tutorial.md ==)\n s
ubpages;\n - name: Java\n content: (== include google/foo/tutorial_j
ava.md ==)\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>[fully.qualified.proto.nam
e][]</code></pre>\nTo override the display text used for the link, this can
be used:\n<pre><code>[display text][fully.qualified.proto.name]</code></
pre>\nText can be excluded from doc using the following notation:\n<pre><code>&#
40;-- internal comment --)</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>(--BETA: comment for BETA users --)</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>(== include pat
h/to/file ==)</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>
0;== resource_for v1.shelves.books ==)</code></pre>\nThe directive `suppress
_warning` does not directly affect documentation\nand is documented together wit
h service config validation.", |
2027 "id": "Documentation", | 2104 "id": "Documentation", |
2028 "properties": { | 2105 "properties": { |
2029 "pages": { | |
2030 "description": "The top level pages for the documentation se
t.", | |
2031 "items": { | |
2032 "$ref": "Page" | |
2033 }, | |
2034 "type": "array" | |
2035 }, | |
2036 "summary": { | 2106 "summary": { |
2037 "description": "A short summary of what the service does. Ca
n only be provided by\nplain text.", | 2107 "description": "A short summary of what the service does. Ca
n only be provided by\nplain text.", |
2038 "type": "string" | 2108 "type": "string" |
2039 }, | 2109 }, |
2040 "documentationRootUrl": { | 2110 "documentationRootUrl": { |
2041 "description": "The URL to the root of documentation.", | 2111 "description": "The URL to the root of documentation.", |
2042 "type": "string" | 2112 "type": "string" |
2043 }, | 2113 }, |
2044 "rules": { | 2114 "rules": { |
2045 "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.", | 2115 "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.", |
2046 "items": { | 2116 "items": { |
2047 "$ref": "DocumentationRule" | 2117 "$ref": "DocumentationRule" |
2048 }, | 2118 }, |
2049 "type": "array" | 2119 "type": "array" |
2050 }, | 2120 }, |
2051 "overview": { | 2121 "overview": { |
2052 "description": "Declares a single overview page. For example
:\n<pre><code>documentation:\n summary: ...\n overview: (== include overvi
ew.md ==)\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: (== include overview.md ==)\n</code></pre>\nN
ote: you cannot specify both `overview` field and `pages` field.", | 2122 "description": "Declares a single overview page. For example
:\n<pre><code>documentation:\n summary: ...\n overview: (== include overvi
ew.md ==)\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: (== include overview.md ==)\n</code></pre>\nN
ote: you cannot specify both `overview` field and `pages` field.", |
2053 "type": "string" | 2123 "type": "string" |
| 2124 }, |
| 2125 "pages": { |
| 2126 "description": "The top level pages for the documentation se
t.", |
| 2127 "items": { |
| 2128 "$ref": "Page" |
| 2129 }, |
| 2130 "type": "array" |
2054 } | 2131 } |
2055 }, | 2132 }, |
2056 "type": "object" | 2133 "type": "object" |
2057 }, | 2134 }, |
2058 "Condition": { | 2135 "Condition": { |
2059 "description": "A condition to be met.", | 2136 "description": "A condition to be met.", |
2060 "id": "Condition", | 2137 "id": "Condition", |
2061 "properties": { | 2138 "properties": { |
2062 "op": { | |
2063 "description": "An operator to apply the subject with.", | |
2064 "enum": [ | |
2065 "NO_OP", | |
2066 "EQUALS", | |
2067 "NOT_EQUALS", | |
2068 "IN", | |
2069 "NOT_IN", | |
2070 "DISCHARGED" | |
2071 ], | |
2072 "enumDescriptions": [ | |
2073 "Default no-op.", | |
2074 "DEPRECATED. Use IN instead.", | |
2075 "DEPRECATED. Use NOT_IN instead.", | |
2076 "The condition is true if the subject (or any element of
it if it is\na set) matches any of the supplied values.", | |
2077 "The condition is true if the subject (or every element
of it if it is\na set) matches none of the supplied values.", | |
2078 "Subject is discharged" | |
2079 ], | |
2080 "type": "string" | |
2081 }, | |
2082 "svc": { | |
2083 "description": "Trusted attributes discharged by the service
.", | |
2084 "type": "string" | |
2085 }, | |
2086 "value": { | |
2087 "description": "DEPRECATED. Use 'values' instead.", | |
2088 "type": "string" | |
2089 }, | |
2090 "sys": { | 2139 "sys": { |
2091 "description": "Trusted attributes supplied by any service t
hat owns resources and uses\nthe IAM system for access control.", | 2140 "description": "Trusted attributes supplied by any service t
hat owns resources and uses\nthe IAM system for access control.", |
2092 "enum": [ | 2141 "enum": [ |
2093 "NO_ATTR", | 2142 "NO_ATTR", |
2094 "REGION", | 2143 "REGION", |
2095 "SERVICE", | 2144 "SERVICE", |
2096 "NAME", | 2145 "NAME", |
2097 "IP" | 2146 "IP" |
2098 ], | 2147 ], |
2099 "enumDescriptions": [ | 2148 "enumDescriptions": [ |
2100 "Default non-attribute type", | 2149 "Default non-attribute type", |
2101 "Region of the resource", | 2150 "Region of the resource", |
2102 "Service name", | 2151 "Service name", |
2103 "Resource name", | 2152 "Resource name", |
2104 "IP address of the caller" | 2153 "IP address of the caller" |
2105 ], | 2154 ], |
2106 "type": "string" | 2155 "type": "string" |
2107 }, | 2156 }, |
| 2157 "value": { |
| 2158 "description": "DEPRECATED. Use 'values' instead.", |
| 2159 "type": "string" |
| 2160 }, |
| 2161 "values": { |
| 2162 "description": "The objects of the condition. This is mutual
ly exclusive with 'value'.", |
| 2163 "items": { |
| 2164 "type": "string" |
| 2165 }, |
| 2166 "type": "array" |
| 2167 }, |
2108 "iam": { | 2168 "iam": { |
2109 "description": "Trusted attributes supplied by the IAM syste
m.", | 2169 "description": "Trusted attributes supplied by the IAM syste
m.", |
2110 "enum": [ | 2170 "enum": [ |
2111 "NO_ATTR", | 2171 "NO_ATTR", |
2112 "AUTHORITY", | 2172 "AUTHORITY", |
2113 "ATTRIBUTION", | 2173 "ATTRIBUTION", |
2114 "APPROVER", | 2174 "APPROVER", |
2115 "JUSTIFICATION_TYPE" | 2175 "JUSTIFICATION_TYPE" |
2116 ], | 2176 ], |
2117 "enumDescriptions": [ | 2177 "enumDescriptions": [ |
2118 "Default non-attribute.", | 2178 "Default non-attribute.", |
2119 "Either principal or (if present) authority selector.", | 2179 "Either principal or (if present) authority selector.", |
2120 "The principal (even if an authority selector is present
), which\nmust only be used for attribution, not authorization.", | 2180 "The principal (even if an authority selector is present
), which\nmust only be used for attribution, not authorization.", |
2121 "An approver (distinct from the requester) that has auth
orized this\nrequest.\nWhen used with IN, the condition indicates that one of th
e approvers\nassociated with the request matches the specified principal, or is
a\nmember of the specified group. Approvers can only grant additional\naccess, a
nd are thus only used in a strictly positive context\n(e.g. ALLOW/IN or DENY/NOT
_IN).\nSee: go/rpc-security-policy-dynamicauth.", | 2181 "An approver (distinct from the requester) that has auth
orized this\nrequest.\nWhen used with IN, the condition indicates that one of th
e approvers\nassociated with the request matches the specified principal, or is
a\nmember of the specified group. Approvers can only grant additional\naccess, a
nd are thus only used in a strictly positive context\n(e.g. ALLOW/IN or DENY/NOT
_IN).\nSee: go/rpc-security-policy-dynamicauth.", |
2122 "What types of justifications have been supplied with th
is request.\nString values should match enum names from tech.iam.JustificationTy
pe,\ne.g. \"MANUAL_STRING\". It is not permitted to grant access based on\nthe *
absence* of a justification, so justification conditions can only\nbe used in a
\"positive\" context (e.g., ALLOW/IN or DENY/NOT_IN).\n\nMultiple justifications
, e.g., a Buganizer ID and a manually-entered\nreason, are normal and supported.
" | 2182 "What types of justifications have been supplied with th
is request.\nString values should match enum names from tech.iam.JustificationTy
pe,\ne.g. \"MANUAL_STRING\". It is not permitted to grant access based on\nthe *
absence* of a justification, so justification conditions can only\nbe used in a
\"positive\" context (e.g., ALLOW/IN or DENY/NOT_IN).\n\nMultiple justifications
, e.g., a Buganizer ID and a manually-entered\nreason, are normal and supported.
" |
2123 ], | 2183 ], |
2124 "type": "string" | 2184 "type": "string" |
2125 }, | 2185 }, |
2126 "values": { | 2186 "op": { |
2127 "description": "The objects of the condition. This is mutual
ly exclusive with 'value'.", | 2187 "description": "An operator to apply the subject with.", |
2128 "items": { | 2188 "enum": [ |
2129 "type": "string" | 2189 "NO_OP", |
2130 }, | 2190 "EQUALS", |
2131 "type": "array" | 2191 "NOT_EQUALS", |
| 2192 "IN", |
| 2193 "NOT_IN", |
| 2194 "DISCHARGED" |
| 2195 ], |
| 2196 "enumDescriptions": [ |
| 2197 "Default no-op.", |
| 2198 "DEPRECATED. Use IN instead.", |
| 2199 "DEPRECATED. Use NOT_IN instead.", |
| 2200 "The condition is true if the subject (or any element of
it if it is\na set) matches any of the supplied values.", |
| 2201 "The condition is true if the subject (or every element
of it if it is\na set) matches none of the supplied values.", |
| 2202 "Subject is discharged" |
| 2203 ], |
| 2204 "type": "string" |
| 2205 }, |
| 2206 "svc": { |
| 2207 "description": "Trusted attributes discharged by the service
.", |
| 2208 "type": "string" |
2132 } | 2209 } |
2133 }, | 2210 }, |
2134 "type": "object" | 2211 "type": "object" |
2135 }, | 2212 }, |
2136 "AuditLogConfig": { | 2213 "AuditLogConfig": { |
2137 "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.", | 2214 "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.", |
2138 "id": "AuditLogConfig", | 2215 "id": "AuditLogConfig", |
2139 "properties": { | 2216 "properties": { |
2140 "exemptedMembers": { | 2217 "exemptedMembers": { |
2141 "description": "Specifies the identities that do not cause l
ogging for this type of\npermission.\nFollows the same format of Binding.members
.", | 2218 "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 Loading... |
2160 ], | 2237 ], |
2161 "type": "string" | 2238 "type": "string" |
2162 } | 2239 } |
2163 }, | 2240 }, |
2164 "type": "object" | 2241 "type": "object" |
2165 }, | 2242 }, |
2166 "ConfigSource": { | 2243 "ConfigSource": { |
2167 "description": "Represents a source file which is used to generate t
he service configuration\ndefined by `google.api.Service`.", | 2244 "description": "Represents a source file which is used to generate t
he service configuration\ndefined by `google.api.Service`.", |
2168 "id": "ConfigSource", | 2245 "id": "ConfigSource", |
2169 "properties": { | 2246 "properties": { |
2170 "id": { | |
2171 "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.", | |
2172 "type": "string" | |
2173 }, | |
2174 "files": { | 2247 "files": { |
2175 "description": "Set of source configuration files that are u
sed to generate a service\nconfiguration (`google.api.Service`).", | 2248 "description": "Set of source configuration files that are u
sed to generate a service\nconfiguration (`google.api.Service`).", |
2176 "items": { | 2249 "items": { |
2177 "$ref": "ConfigFile" | 2250 "$ref": "ConfigFile" |
2178 }, | 2251 }, |
2179 "type": "array" | 2252 "type": "array" |
| 2253 }, |
| 2254 "id": { |
| 2255 "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.", |
| 2256 "type": "string" |
2180 } | 2257 } |
2181 }, | 2258 }, |
2182 "type": "object" | 2259 "type": "object" |
2183 }, | 2260 }, |
2184 "BackendRule": { | 2261 "BackendRule": { |
2185 "description": "A backend rule provides configuration for an individ
ual API element.", | 2262 "description": "A backend rule provides configuration for an individ
ual API element.", |
2186 "id": "BackendRule", | 2263 "id": "BackendRule", |
2187 "properties": { | 2264 "properties": { |
2188 "deadline": { | 2265 "deadline": { |
2189 "description": "The number of seconds to wait for a response
from a request. The\ndefault depends on the deployment context.", | 2266 "description": "The number of seconds to wait for a response
from a request. The\ndefault depends on the deployment context.", |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2235 "$ref": "ManagedService", | 2312 "$ref": "ManagedService", |
2236 "description": "Revived service resource." | 2313 "description": "Revived service resource." |
2237 } | 2314 } |
2238 }, | 2315 }, |
2239 "type": "object" | 2316 "type": "object" |
2240 }, | 2317 }, |
2241 "Policy": { | 2318 "Policy": { |
2242 "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).", | 2319 "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).", |
2243 "id": "Policy", | 2320 "id": "Policy", |
2244 "properties": { | 2321 "properties": { |
| 2322 "etag": { |
| 2323 "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.", |
| 2324 "format": "byte", |
| 2325 "type": "string" |
| 2326 }, |
| 2327 "iamOwned": { |
| 2328 "type": "boolean" |
| 2329 }, |
| 2330 "rules": { |
| 2331 "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.", |
| 2332 "items": { |
| 2333 "$ref": "Rule" |
| 2334 }, |
| 2335 "type": "array" |
| 2336 }, |
2245 "version": { | 2337 "version": { |
2246 "description": "Version of the `Policy`. The default version
is 0.", | 2338 "description": "Version of the `Policy`. The default version
is 0.", |
2247 "format": "int32", | 2339 "format": "int32", |
2248 "type": "integer" | 2340 "type": "integer" |
2249 }, | 2341 }, |
2250 "auditConfigs": { | 2342 "auditConfigs": { |
2251 "description": "Specifies cloud audit logging configuration
for this policy.", | 2343 "description": "Specifies cloud audit logging configuration
for this policy.", |
2252 "items": { | 2344 "items": { |
2253 "$ref": "AuditConfig" | 2345 "$ref": "AuditConfig" |
2254 }, | 2346 }, |
2255 "type": "array" | 2347 "type": "array" |
2256 }, | 2348 }, |
2257 "bindings": { | 2349 "bindings": { |
2258 "description": "Associates a list of `members` to a `role`.\
nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with
no members will result in an error.", | 2350 "description": "Associates a list of `members` to a `role`.\
nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with
no members will result in an error.", |
2259 "items": { | 2351 "items": { |
2260 "$ref": "Binding" | 2352 "$ref": "Binding" |
2261 }, | 2353 }, |
2262 "type": "array" | 2354 "type": "array" |
2263 }, | |
2264 "etag": { | |
2265 "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.", | |
2266 "format": "byte", | |
2267 "type": "string" | |
2268 }, | |
2269 "iamOwned": { | |
2270 "type": "boolean" | |
2271 }, | |
2272 "rules": { | |
2273 "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.", | |
2274 "items": { | |
2275 "$ref": "Rule" | |
2276 }, | |
2277 "type": "array" | |
2278 } | 2355 } |
2279 }, | 2356 }, |
2280 "type": "object" | 2357 "type": "object" |
2281 }, | 2358 }, |
2282 "Api": { | 2359 "Api": { |
2283 "description": "Api is a light-weight descriptor for a protocol buff
er service.", | 2360 "description": "Api is a light-weight descriptor for a protocol buff
er service.", |
2284 "id": "Api", | 2361 "id": "Api", |
2285 "properties": { | 2362 "properties": { |
2286 "options": { | 2363 "sourceContext": { |
2287 "description": "Any metadata attached to the API.", | 2364 "$ref": "SourceContext", |
2288 "items": { | 2365 "description": "Source context for the protocol buffer servi
ce represented by this\nmessage." |
2289 "$ref": "Option" | |
2290 }, | |
2291 "type": "array" | |
2292 }, | |
2293 "methods": { | |
2294 "description": "The methods of this api, in unspecified orde
r.", | |
2295 "items": { | |
2296 "$ref": "Method" | |
2297 }, | |
2298 "type": "array" | |
2299 }, | |
2300 "name": { | |
2301 "description": "The fully qualified name of this api, includ
ing package name\nfollowed by the api's simple name.", | |
2302 "type": "string" | |
2303 }, | 2366 }, |
2304 "syntax": { | 2367 "syntax": { |
2305 "description": "The source syntax of the service.", | 2368 "description": "The source syntax of the service.", |
2306 "enum": [ | 2369 "enum": [ |
2307 "SYNTAX_PROTO2", | 2370 "SYNTAX_PROTO2", |
2308 "SYNTAX_PROTO3" | 2371 "SYNTAX_PROTO3" |
2309 ], | 2372 ], |
2310 "enumDescriptions": [ | 2373 "enumDescriptions": [ |
2311 "Syntax `proto2`.", | 2374 "Syntax `proto2`.", |
2312 "Syntax `proto3`." | 2375 "Syntax `proto3`." |
2313 ], | 2376 ], |
2314 "type": "string" | 2377 "type": "string" |
2315 }, | 2378 }, |
2316 "sourceContext": { | |
2317 "$ref": "SourceContext", | |
2318 "description": "Source context for the protocol buffer servi
ce represented by this\nmessage." | |
2319 }, | |
2320 "version": { | 2379 "version": { |
2321 "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", | 2380 "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", |
2322 "type": "string" | 2381 "type": "string" |
2323 }, | 2382 }, |
2324 "mixins": { | 2383 "mixins": { |
2325 "description": "Included APIs. See Mixin.", | 2384 "description": "Included APIs. See Mixin.", |
2326 "items": { | 2385 "items": { |
2327 "$ref": "Mixin" | 2386 "$ref": "Mixin" |
2328 }, | 2387 }, |
2329 "type": "array" | 2388 "type": "array" |
| 2389 }, |
| 2390 "options": { |
| 2391 "description": "Any metadata attached to the API.", |
| 2392 "items": { |
| 2393 "$ref": "Option" |
| 2394 }, |
| 2395 "type": "array" |
| 2396 }, |
| 2397 "methods": { |
| 2398 "description": "The methods of this api, in unspecified orde
r.", |
| 2399 "items": { |
| 2400 "$ref": "Method" |
| 2401 }, |
| 2402 "type": "array" |
| 2403 }, |
| 2404 "name": { |
| 2405 "description": "The fully qualified name of this api, includ
ing package name\nfollowed by the api's simple name.", |
| 2406 "type": "string" |
2330 } | 2407 } |
2331 }, | 2408 }, |
2332 "type": "object" | 2409 "type": "object" |
| 2410 }, |
| 2411 "MetricRule": { |
| 2412 "description": "Bind API methods to metrics. Binding a method to a m
etric causes that\nmetric's configured quota, billing, and monitoring behaviors
to apply to the\nmethod call.\n\nUsed by metric-based quotas only.", |
| 2413 "id": "MetricRule", |
| 2414 "properties": { |
| 2415 "selector": { |
| 2416 "description": "Selects the methods to which this rule appli
es.\n\nRefer to selector for syntax details.", |
| 2417 "type": "string" |
| 2418 }, |
| 2419 "metricCosts": { |
| 2420 "additionalProperties": { |
| 2421 "format": "int64", |
| 2422 "type": "string" |
| 2423 }, |
| 2424 "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.", |
| 2425 "type": "object" |
| 2426 } |
| 2427 }, |
| 2428 "type": "object" |
2333 }, | 2429 }, |
2334 "DataAccessOptions": { | 2430 "DataAccessOptions": { |
2335 "description": "Write a Data Access (Gin) log", | 2431 "description": "Write a Data Access (Gin) log", |
2336 "id": "DataAccessOptions", | 2432 "id": "DataAccessOptions", |
2337 "properties": {}, | 2433 "properties": {}, |
2338 "type": "object" | 2434 "type": "object" |
2339 }, | 2435 }, |
2340 "Authentication": { | 2436 "Authentication": { |
2341 "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", | 2437 "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", |
2342 "id": "Authentication", | 2438 "id": "Authentication", |
2343 "properties": { | 2439 "properties": { |
| 2440 "providers": { |
| 2441 "description": "Defines a set of authentication providers th
at a service supports.", |
| 2442 "items": { |
| 2443 "$ref": "AuthProvider" |
| 2444 }, |
| 2445 "type": "array" |
| 2446 }, |
2344 "rules": { | 2447 "rules": { |
2345 "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.", | 2448 "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.", |
2346 "items": { | 2449 "items": { |
2347 "$ref": "AuthenticationRule" | 2450 "$ref": "AuthenticationRule" |
2348 }, | 2451 }, |
2349 "type": "array" | 2452 "type": "array" |
2350 }, | |
2351 "providers": { | |
2352 "description": "Defines a set of authentication providers th
at a service supports.", | |
2353 "items": { | |
2354 "$ref": "AuthProvider" | |
2355 }, | |
2356 "type": "array" | |
2357 } | 2453 } |
2358 }, | 2454 }, |
2359 "type": "object" | 2455 "type": "object" |
2360 }, | 2456 }, |
2361 "Operation": { | 2457 "Operation": { |
2362 "description": "This resource represents a long-running operation th
at is the result of a\nnetwork API call.", | 2458 "description": "This resource represents a long-running operation th
at is the result of a\nnetwork API call.", |
2363 "id": "Operation", | 2459 "id": "Operation", |
2364 "properties": { | 2460 "properties": { |
2365 "response": { | 2461 "response": { |
2366 "additionalProperties": { | 2462 "additionalProperties": { |
(...skipping 23 matching lines...) Expand all Loading... |
2390 "description": "If the value is `false`, it means the operat
ion is still in progress.\nIf true, the operation is completed, and either `erro
r` or `response` is\navailable.", | 2486 "description": "If the value is `false`, it means the operat
ion is still in progress.\nIf true, the operation is completed, and either `erro
r` or `response` is\navailable.", |
2391 "type": "boolean" | 2487 "type": "boolean" |
2392 } | 2488 } |
2393 }, | 2489 }, |
2394 "type": "object" | 2490 "type": "object" |
2395 }, | 2491 }, |
2396 "Page": { | 2492 "Page": { |
2397 "description": "Represents a documentation page. A page can contain
subpages to represent\nnested documentation set structure.", | 2493 "description": "Represents a documentation page. A page can contain
subpages to represent\nnested documentation set structure.", |
2398 "id": "Page", | 2494 "id": "Page", |
2399 "properties": { | 2495 "properties": { |
| 2496 "name": { |
| 2497 "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: (==
include tutorial.md ==)\n subpages:\n - name: Java\n content: (== i
nclude tutorial_java.md ==)\n</code></pre>\nYou can reference `Java` page us
ing Markdown reference link syntax:\n`Java`.", |
| 2498 "type": "string" |
| 2499 }, |
2400 "content": { | 2500 "content": { |
2401 "description": "The Markdown content of the page. You can us
e <code>(== include {path} ==)</code>\nto include content from a Markdow
n file.", | 2501 "description": "The Markdown content of the page. You can us
e <code>(== include {path} ==)</code>\nto include content from a Markdow
n file.", |
2402 "type": "string" | 2502 "type": "string" |
2403 }, | 2503 }, |
2404 "subpages": { | 2504 "subpages": { |
2405 "description": "Subpages of this page. The order of subpages
specified here will be\nhonored in the generated docset.", | 2505 "description": "Subpages of this page. The order of subpages
specified here will be\nhonored in the generated docset.", |
2406 "items": { | 2506 "items": { |
2407 "$ref": "Page" | 2507 "$ref": "Page" |
2408 }, | 2508 }, |
2409 "type": "array" | 2509 "type": "array" |
2410 }, | |
2411 "name": { | |
2412 "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: (==
include tutorial.md ==)\n subpages:\n - name: Java\n content: (== i
nclude tutorial_java.md ==)\n</code></pre>\nYou can reference `Java` page us
ing Markdown reference link syntax:\n`Java`.", | |
2413 "type": "string" | |
2414 } | 2510 } |
2415 }, | 2511 }, |
2416 "type": "object" | 2512 "type": "object" |
2417 }, | 2513 }, |
2418 "Status": { | 2514 "Status": { |
2419 "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` which can be used for common error conditions.\n\n# Lan
guage 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` mes
sage is\nexposed in different client libraries and different wire protocols, it
can be\nmapped differently. For example, it will likely be mapped to some except
ions\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\nenviron
ments, either with or without APIs, to provide a\nconsistent developer experienc
e 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
may\n have a `Status` message for error reporting purpose.\n\n- Batch operati
ons. If a client uses batch request and batch response, the\n `Status` messag
e should be used directly inside batch response, one for\n each error sub-res
ponse.\n\n- Asynchronous operations. If an API call embeds asynchronous operatio
n\n results in its response, the status of those operations should be\n re
presented directly using the `Status` message.\n\n- Logging. If some API errors
are stored in logs, the message `Status` could\n be used directly after any s
tripping needed for security/privacy reasons.", | 2515 "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` which can be used for common error conditions.\n\n# Lan
guage 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` mes
sage is\nexposed in different client libraries and different wire protocols, it
can be\nmapped differently. For example, it will likely be mapped to some except
ions\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\nenviron
ments, either with or without APIs, to provide a\nconsistent developer experienc
e 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
may\n have a `Status` message for error reporting purpose.\n\n- Batch operati
ons. If a client uses batch request and batch response, the\n `Status` messag
e should be used directly inside batch response, one for\n each error sub-res
ponse.\n\n- Asynchronous operations. If an API call embeds asynchronous operatio
n\n results in its response, the status of those operations should be\n re
presented directly using the `Status` message.\n\n- Logging. If some API errors
are stored in logs, the message `Status` could\n be used directly after any s
tripping needed for security/privacy reasons.", |
2420 "id": "Status", | 2516 "id": "Status", |
2421 "properties": { | 2517 "properties": { |
2422 "code": { | |
2423 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", | |
2424 "format": "int32", | |
2425 "type": "integer" | |
2426 }, | |
2427 "message": { | 2518 "message": { |
2428 "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.", | 2519 "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.", |
2429 "type": "string" | 2520 "type": "string" |
2430 }, | 2521 }, |
2431 "details": { | 2522 "details": { |
2432 "description": "A list of messages that carry the error deta
ils. There will be a\ncommon set of message types for APIs to use.", | 2523 "description": "A list of messages that carry the error deta
ils. There will be a\ncommon set of message types for APIs to use.", |
2433 "items": { | 2524 "items": { |
2434 "additionalProperties": { | 2525 "additionalProperties": { |
2435 "description": "Properties of the object. Contains f
ield @type with type URL.", | 2526 "description": "Properties of the object. Contains f
ield @type with type URL.", |
2436 "type": "any" | 2527 "type": "any" |
2437 }, | 2528 }, |
2438 "type": "object" | 2529 "type": "object" |
2439 }, | 2530 }, |
2440 "type": "array" | 2531 "type": "array" |
| 2532 }, |
| 2533 "code": { |
| 2534 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", |
| 2535 "format": "int32", |
| 2536 "type": "integer" |
2441 } | 2537 } |
2442 }, | 2538 }, |
2443 "type": "object" | 2539 "type": "object" |
2444 }, | 2540 }, |
2445 "Binding": { | 2541 "Binding": { |
2446 "description": "Associates `members` with a `role`.", | 2542 "description": "Associates `members` with a `role`.", |
2447 "id": "Binding", | 2543 "id": "Binding", |
2448 "properties": { | 2544 "properties": { |
2449 "members": { | 2545 "members": { |
2450 "description": "Specifies the identities requesting access f
or a Cloud Platform resource.\n`members` can have the following values:\n\n* `al
lUsers`: A special identifier that represents anyone who is\n on the internet;
with or without a Google account.\n\n* `allAuthenticatedUsers`: A special ident
ifier that represents anyone\n who is authenticated with a Google account or a
service account.\n\n* `user:{emailid}`: An email address that represents a spec
ific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\
n\n* `serviceAccount:{emailid}`: An email address that represents a service\n
account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{e
mailid}`: An email address that represents a Google group.\n For example, `adm
ins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represe
nts all the\n users of that domain. For example, `google.com` or `example.com`
.\n\n", | 2546 "description": "Specifies the identities requesting access f
or a Cloud Platform resource.\n`members` can have the following values:\n\n* `al
lUsers`: A special identifier that represents anyone who is\n on the internet;
with or without a Google account.\n\n* `allAuthenticatedUsers`: A special ident
ifier that represents anyone\n who is authenticated with a Google account or a
service account.\n\n* `user:{emailid}`: An email address that represents a spec
ific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\
n\n* `serviceAccount:{emailid}`: An email address that represents a service\n
account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{e
mailid}`: An email address that represents a Google group.\n For example, `adm
ins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represe
nts all the\n users of that domain. For example, `google.com` or `example.com`
.\n\n", |
2451 "items": { | 2547 "items": { |
2452 "type": "string" | 2548 "type": "string" |
2453 }, | 2549 }, |
2454 "type": "array" | 2550 "type": "array" |
2455 }, | 2551 }, |
2456 "role": { | 2552 "role": { |
2457 "description": "Role that is assigned to `members`.\nFor exa
mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", | 2553 "description": "Role that is assigned to `members`.\nFor exa
mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", |
2458 "type": "string" | 2554 "type": "string" |
2459 } | 2555 } |
2460 }, | 2556 }, |
2461 "type": "object" | 2557 "type": "object" |
2462 }, | 2558 }, |
2463 "AuthProvider": { | 2559 "AuthProvider": { |
2464 "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).", | 2560 "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).", |
2465 "id": "AuthProvider", | 2561 "id": "AuthProvider", |
2466 "properties": { | 2562 "properties": { |
2467 "id": { | |
2468 "description": "The unique identifier of the auth provider.
It will be referred to by\n`AuthRequirement.provider_id`.\n\nExample: \"bookstor
e_auth\".", | |
2469 "type": "string" | |
2470 }, | |
2471 "issuer": { | |
2472 "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", | |
2473 "type": "string" | |
2474 }, | |
2475 "jwksUri": { | 2563 "jwksUri": { |
2476 "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", | 2564 "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", |
2477 "type": "string" | 2565 "type": "string" |
2478 }, | 2566 }, |
2479 "audiences": { | 2567 "audiences": { |
2480 "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", | 2568 "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", |
2481 "type": "string" | 2569 "type": "string" |
| 2570 }, |
| 2571 "id": { |
| 2572 "description": "The unique identifier of the auth provider.
It will be referred to by\n`AuthRequirement.provider_id`.\n\nExample: \"bookstor
e_auth\".", |
| 2573 "type": "string" |
| 2574 }, |
| 2575 "issuer": { |
| 2576 "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", |
| 2577 "type": "string" |
2482 } | 2578 } |
2483 }, | 2579 }, |
2484 "type": "object" | 2580 "type": "object" |
2485 }, | 2581 }, |
2486 "EnumValue": { | 2582 "EnumValue": { |
2487 "description": "Enum value definition.", | 2583 "description": "Enum value definition.", |
2488 "id": "EnumValue", | 2584 "id": "EnumValue", |
2489 "properties": { | 2585 "properties": { |
2490 "name": { | |
2491 "description": "Enum value name.", | |
2492 "type": "string" | |
2493 }, | |
2494 "options": { | 2586 "options": { |
2495 "description": "Protocol buffer options.", | 2587 "description": "Protocol buffer options.", |
2496 "items": { | 2588 "items": { |
2497 "$ref": "Option" | 2589 "$ref": "Option" |
2498 }, | 2590 }, |
2499 "type": "array" | 2591 "type": "array" |
2500 }, | 2592 }, |
2501 "number": { | 2593 "number": { |
2502 "description": "Enum value number.", | 2594 "description": "Enum value number.", |
2503 "format": "int32", | 2595 "format": "int32", |
2504 "type": "integer" | 2596 "type": "integer" |
| 2597 }, |
| 2598 "name": { |
| 2599 "description": "Enum value name.", |
| 2600 "type": "string" |
2505 } | 2601 } |
2506 }, | 2602 }, |
2507 "type": "object" | 2603 "type": "object" |
2508 }, | 2604 }, |
2509 "Service": { | 2605 "Service": { |
2510 "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", | 2606 "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", |
2511 "id": "Service", | 2607 "id": "Service", |
2512 "properties": { | 2608 "properties": { |
| 2609 "usage": { |
| 2610 "$ref": "Usage", |
| 2611 "description": "Configuration controlling usage of this serv
ice." |
| 2612 }, |
2513 "metrics": { | 2613 "metrics": { |
2514 "description": "Defines the metrics used by this service.", | 2614 "description": "Defines the metrics used by this service.", |
2515 "items": { | 2615 "items": { |
2516 "$ref": "MetricDescriptor" | 2616 "$ref": "MetricDescriptor" |
2517 }, | 2617 }, |
2518 "type": "array" | 2618 "type": "array" |
2519 }, | 2619 }, |
2520 "authentication": { | 2620 "authentication": { |
2521 "$ref": "Authentication", | 2621 "$ref": "Authentication", |
2522 "description": "Auth configuration." | 2622 "description": "Auth configuration." |
(...skipping 23 matching lines...) Expand all Loading... |
2546 "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.", | 2646 "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.", |
2547 "items": { | 2647 "items": { |
2548 "$ref": "Type" | 2648 "$ref": "Type" |
2549 }, | 2649 }, |
2550 "type": "array" | 2650 "type": "array" |
2551 }, | 2651 }, |
2552 "visibility": { | 2652 "visibility": { |
2553 "$ref": "Visibility", | 2653 "$ref": "Visibility", |
2554 "description": "API visibility configuration." | 2654 "description": "API visibility configuration." |
2555 }, | 2655 }, |
| 2656 "quota": { |
| 2657 "$ref": "Quota", |
| 2658 "description": "Quota configuration." |
| 2659 }, |
2556 "name": { | 2660 "name": { |
2557 "description": "The DNS address at which this service is ava
ilable,\ne.g. `calendar.googleapis.com`.", | 2661 "description": "The DNS address at which this service is ava
ilable,\ne.g. `calendar.googleapis.com`.", |
2558 "type": "string" | 2662 "type": "string" |
2559 }, | 2663 }, |
2560 "customError": { | 2664 "customError": { |
2561 "$ref": "CustomError", | 2665 "$ref": "CustomError", |
2562 "description": "Custom error configuration." | 2666 "description": "Custom error configuration." |
2563 }, | 2667 }, |
2564 "title": { | 2668 "title": { |
2565 "description": "The product title associated with this servi
ce.", | 2669 "description": "The product title associated with this servi
ce.", |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2631 }, | 2735 }, |
2632 "type": "array" | 2736 "type": "array" |
2633 }, | 2737 }, |
2634 "context": { | 2738 "context": { |
2635 "$ref": "Context", | 2739 "$ref": "Context", |
2636 "description": "Context configuration." | 2740 "description": "Context configuration." |
2637 }, | 2741 }, |
2638 "id": { | 2742 "id": { |
2639 "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.", | 2743 "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.", |
2640 "type": "string" | 2744 "type": "string" |
2641 }, | |
2642 "usage": { | |
2643 "$ref": "Usage", | |
2644 "description": "Configuration controlling usage of this serv
ice." | |
2645 } | 2745 } |
2646 }, | 2746 }, |
2647 "type": "object" | 2747 "type": "object" |
2648 }, | 2748 }, |
2649 "ListOperationsResponse": { | 2749 "ListOperationsResponse": { |
2650 "description": "The response message for Operations.ListOperations."
, | 2750 "description": "The response message for Operations.ListOperations."
, |
2651 "id": "ListOperationsResponse", | 2751 "id": "ListOperationsResponse", |
2652 "properties": { | 2752 "properties": { |
2653 "nextPageToken": { | 2753 "nextPageToken": { |
2654 "description": "The standard List next-page token.", | 2754 "description": "The standard List next-page token.", |
2655 "type": "string" | 2755 "type": "string" |
2656 }, | 2756 }, |
2657 "operations": { | 2757 "operations": { |
2658 "description": "A list of operations that matches the specif
ied filter in the request.", | 2758 "description": "A list of operations that matches the specif
ied filter in the request.", |
2659 "items": { | 2759 "items": { |
2660 "$ref": "Operation" | 2760 "$ref": "Operation" |
2661 }, | 2761 }, |
2662 "type": "array" | 2762 "type": "array" |
2663 } | 2763 } |
2664 }, | 2764 }, |
2665 "type": "object" | 2765 "type": "object" |
2666 }, | 2766 }, |
2667 "OperationMetadata": { | 2767 "OperationMetadata": { |
2668 "description": "The metadata associated with a long running operatio
n resource.", | 2768 "description": "The metadata associated with a long running operatio
n resource.", |
2669 "id": "OperationMetadata", | 2769 "id": "OperationMetadata", |
2670 "properties": { | 2770 "properties": { |
2671 "startTime": { | |
2672 "description": "The start time of the operation.", | |
2673 "format": "google-datetime", | |
2674 "type": "string" | |
2675 }, | |
2676 "resourceNames": { | 2771 "resourceNames": { |
2677 "description": "The full name of the resources that this ope
ration is directly\nassociated with.", | 2772 "description": "The full name of the resources that this ope
ration is directly\nassociated with.", |
2678 "items": { | 2773 "items": { |
2679 "type": "string" | 2774 "type": "string" |
2680 }, | 2775 }, |
2681 "type": "array" | 2776 "type": "array" |
2682 }, | 2777 }, |
2683 "steps": { | 2778 "steps": { |
2684 "description": "Detailed status information for each step. T
he order is undetermined.", | 2779 "description": "Detailed status information for each step. T
he order is undetermined.", |
2685 "items": { | 2780 "items": { |
2686 "$ref": "Step" | 2781 "$ref": "Step" |
2687 }, | 2782 }, |
2688 "type": "array" | 2783 "type": "array" |
2689 }, | 2784 }, |
2690 "progressPercentage": { | 2785 "progressPercentage": { |
2691 "description": "Percentage of completion of this operation,
ranging from 0 to 100.", | 2786 "description": "Percentage of completion of this operation,
ranging from 0 to 100.", |
2692 "format": "int32", | 2787 "format": "int32", |
2693 "type": "integer" | 2788 "type": "integer" |
| 2789 }, |
| 2790 "startTime": { |
| 2791 "description": "The start time of the operation.", |
| 2792 "format": "google-datetime", |
| 2793 "type": "string" |
2694 } | 2794 } |
2695 }, | 2795 }, |
2696 "type": "object" | 2796 "type": "object" |
2697 }, | 2797 }, |
2698 "CustomHttpPattern": { | 2798 "CustomHttpPattern": { |
2699 "description": "A custom pattern is used for defining custom HTTP ve
rb.", | 2799 "description": "A custom pattern is used for defining custom HTTP ve
rb.", |
2700 "id": "CustomHttpPattern", | 2800 "id": "CustomHttpPattern", |
2701 "properties": { | 2801 "properties": { |
2702 "kind": { | 2802 "kind": { |
2703 "description": "The name of this custom HTTP verb.", | 2803 "description": "The name of this custom HTTP verb.", |
(...skipping 17 matching lines...) Expand all Loading... |
2721 "parameters": { | 2821 "parameters": { |
2722 "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.", | 2822 "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.", |
2723 "items": { | 2823 "items": { |
2724 "$ref": "SystemParameter" | 2824 "$ref": "SystemParameter" |
2725 }, | 2825 }, |
2726 "type": "array" | 2826 "type": "array" |
2727 } | 2827 } |
2728 }, | 2828 }, |
2729 "type": "object" | 2829 "type": "object" |
2730 }, | 2830 }, |
| 2831 "VisibilityRule": { |
| 2832 "description": "A visibility rule provides visibility configuration
for an individual API\nelement.", |
| 2833 "id": "VisibilityRule", |
| 2834 "properties": { |
| 2835 "restriction": { |
| 2836 "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.", |
| 2837 "type": "string" |
| 2838 }, |
| 2839 "selector": { |
| 2840 "description": "Selects methods, messages, fields, enums, et
c. to which this rule applies.\n\nRefer to selector for syntax details.", |
| 2841 "type": "string" |
| 2842 } |
| 2843 }, |
| 2844 "type": "object" |
| 2845 }, |
2731 "HttpRule": { | 2846 "HttpRule": { |
2732 "description": "`HttpRule` defines the mapping of an RPC method to o
ne or more HTTP\nREST APIs. The mapping determines what portions of the request
\nmessage are populated from the path, query parameters, or body of\nthe HTTP re
quest. The mapping is typically specified as an\n`google.api.http` annotation,
see \"google/api/annotations.proto\"\nfor details.\n\nThe mapping consists of a
field specifying the path template and\nmethod kind. The path template can refe
r to fields in the request\nmessage, as in the example below which describes a R
EST GET\noperation on a resource collection of messages:\n\n\n service Messag
ing {\n rpc GetMessage(GetMessageRequest) returns (Message) {\n opti
on (google.api.http).get = \"/v1/messages/{message_id}/{sub.subfield}\";\n
}\n }\n message GetMessageRequest {\n message SubMessage {\n s
tring subfield = 1;\n }\n string message_id = 1; // mapped to the URL\
n SubMessage sub = 2; // `sub.subfield` is url-mapped\n }\n messag
e Message {\n string text = 1; // content of the resource\n }\n\nThe sam
e http annotation can alternatively be expressed inside the\n`GRPC API Configura
tion` YAML file.\n\n http:\n rules:\n - selector: <proto_package_
name>.Messaging.GetMessage\n get: /v1/messages/{message_id}/{sub.subfie
ld}\n\nThis definition enables an automatic, bidrectional mapping of HTTP\nJSON
to RPC. Example:\n\nHTTP | RPC\n-----|-----\n`GET /v1/messages/123456/foo` | `G
etMessage(message_id: \"123456\" sub: SubMessage(subfield: \"foo\"))`\n\nIn gene
ral, not only fields but also field paths can be referenced\nfrom a path pattern
. Fields mapped to the path pattern cannot be\nrepeated and must have a primitiv
e (non-message) type.\n\nAny fields in the request message which are not bound b
y the path\npattern automatically become (optional) HTTP query\nparameters. Assu
me the following definition of the request message:\n\n\n message GetMessageR
equest {\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 sub = 3; // `sub.subfield` becomes a pa
rameter\n }\n\n\nThis enables a HTTP JSON to RPC mapping as below:\n\nHTTP |
RPC\n-----|-----\n`GET /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMe
ssage(message_id: \"123456\" revision: 2 sub: SubMessage(subfield: \"foo\"))`\n\
nNote that fields which are mapped to HTTP parameters must have a\nprimitive typ
e or a repeated primitive type. Message types are not\nallowed. In the case of a
repeated type, the parameter can be\nrepeated in the URL, as in `...?param=A&pa
ram=B`.\n\nFor HTTP method kinds which allow a request body, the `body` field\ns
pecifies the mapping. Consider a REST update method on the\nmessage resource col
lection:\n\n\n service Messaging {\n rpc UpdateMessage(UpdateMessageRequ
est) returns (Message) {\n option (google.api.http) = {\n put: \
"/v1/messages/{message_id}\"\n body: \"message\"\n };\n }\n
}\n message UpdateMessageRequest {\n string message_id = 1; // mappe
d 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(m
essage_id: \"123456\" message { text: \"Hi!\" })`\n\nThe special name `*` can be
used in the body mapping to define that\nevery field not bound by the path temp
late should be mapped to the\nrequest body. This enables the following alternat
ive definition of\nthe update method:\n\n service Messaging {\n rpc Upda
teMessage(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 HTTP JSON to RPC mapping is enabled:\n\nHTT
P | RPC\n-----|-----\n`PUT /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateM
essage(message_id: \"123456\" text: \"Hi!\")`\n\nNote that when using `*` in the
body mapping, it is not possible to\nhave HTTP parameters, as all fields not bo
und by the path end in\nthe body. This makes this option more rarely used in pra
ctice of\ndefining REST APIs. The common usage of `*` is in custom methods\nwhic
h don't use the URL at all for transferring data.\n\nIt is possible to define mu
ltiple HTTP methods for one RPC by using\nthe `additional_bindings` option. Exam
ple:\n\n service Messaging {\n rpc GetMessage(GetMessageRequest) returns
(Message) {\n option (google.api.http) = {\n get: \"/v1/message
s/{message_id}\"\n additional_bindings {\n get: \"/v1/users/
{user_id}/messages/{message_id}\"\n }\n };\n }\n }\n
message GetMessageRequest {\n string message_id = 1;\n string user_id
= 2;\n }\n\n\nThis enables the following two alternative HTTP JSON to RPC\nma
ppings:\n\nHTTP | RPC\n-----|-----\n`GET /v1/messages/123456` | `GetMessage(mess
age_id: \"123456\")`\n`GET /v1/users/me/messages/123456` | `GetMessage(user_id:
\"me\" message_id: \"123456\")`\n\n# Rules for HTTP mapping\n\nThe rules for map
ping HTTP path, query parameters, and body fields\nto the request message are as
follows:\n\n1. The `body` field specifies either `*` or a field path, or is\n
omitted. If omitted, it assumes there is no HTTP body.\n2. Leaf fields (recursi
ve expansion of nested messages in the\n request) can be classified into three
types:\n (a) Matched in the URL template.\n (b) Covered by body (if body
is `*`, everything except (a) fields;\n else everything under the body fi
eld)\n (c) All other fields.\n3. URL query parameters found in the HTTP reque
st are mapped to (c) fields.\n4. Any body sent with an HTTP request can contain
only (b) fields.\n\nThe syntax of the path template is as follows:\n\n Templa
te = \"/\" Segments [ Verb ] ;\n Segments = Segment { \"/\" Segment } ;\n
Segment = \"*\" | \"**\" | LITERAL | Variable ;\n Variable = \"{\" FieldPath
[ \"=\" Segments ] \"}\" ;\n FieldPath = IDENT { \".\" IDENT } ;\n Verb
= \":\" LITERAL ;\n\nThe syntax `*` matches a single path segment. It follows
the semantics of\n[RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2
Simple String\nExpansion.\n\nThe syntax `**` matches zero or more path segments
. It follows the semantics\nof [RFC 6570](https://tools.ietf.org/html/rfc6570) S
ection 3.2.3 Reserved\nExpansion. NOTE: it must be the last segment in the path
except the Verb.\n\nThe syntax `LITERAL` matches literal text in the URL path.\n
\nThe syntax `Variable` matches the entire path as specified by its template;\nt
his nested template must not contain further variables. If a variable\nmatches a
single path segment, its template may be omitted, e.g. `{var}`\nis equivalent t
o `{var=*}`.\n\nNOTE: the field paths in variables and in the `body` must not re
fer to\nrepeated fields or map fields.\n\nUse CustomHttpPattern to specify any H
TTP method that is not included in the\n`pattern` field, such as HEAD, or \"*\"
to leave the HTTP method unspecified for\na given URL path rule. The wild-card r
ule is useful for services that provide\ncontent to Web (HTML) clients.", | 2847 "description": "`HttpRule` defines the mapping of an RPC method to o
ne or more HTTP\nREST APIs. The mapping determines what portions of the request
\nmessage are populated from the path, query parameters, or body of\nthe HTTP re
quest. The mapping is typically specified as an\n`google.api.http` annotation,
see \"google/api/annotations.proto\"\nfor details.\n\nThe mapping consists of a
field specifying the path template and\nmethod kind. The path template can refe
r to fields in the request\nmessage, as in the example below which describes a R
EST GET\noperation on a resource collection of messages:\n\n\n service Messag
ing {\n rpc GetMessage(GetMessageRequest) returns (Message) {\n opti
on (google.api.http).get = \"/v1/messages/{message_id}/{sub.subfield}\";\n
}\n }\n message GetMessageRequest {\n message SubMessage {\n s
tring subfield = 1;\n }\n string message_id = 1; // mapped to the URL\
n SubMessage sub = 2; // `sub.subfield` is url-mapped\n }\n messag
e Message {\n string text = 1; // content of the resource\n }\n\nThe sam
e http annotation can alternatively be expressed inside the\n`GRPC API Configura
tion` YAML file.\n\n http:\n rules:\n - selector: <proto_package_
name>.Messaging.GetMessage\n get: /v1/messages/{message_id}/{sub.subfie
ld}\n\nThis definition enables an automatic, bidrectional mapping of HTTP\nJSON
to RPC. Example:\n\nHTTP | RPC\n-----|-----\n`GET /v1/messages/123456/foo` | `G
etMessage(message_id: \"123456\" sub: SubMessage(subfield: \"foo\"))`\n\nIn gene
ral, not only fields but also field paths can be referenced\nfrom a path pattern
. Fields mapped to the path pattern cannot be\nrepeated and must have a primitiv
e (non-message) type.\n\nAny fields in the request message which are not bound b
y the path\npattern automatically become (optional) HTTP query\nparameters. Assu
me the following definition of the request message:\n\n\n message GetMessageR
equest {\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 sub = 3; // `sub.subfield` becomes a pa
rameter\n }\n\n\nThis enables a HTTP JSON to RPC mapping as below:\n\nHTTP |
RPC\n-----|-----\n`GET /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMe
ssage(message_id: \"123456\" revision: 2 sub: SubMessage(subfield: \"foo\"))`\n\
nNote that fields which are mapped to HTTP parameters must have a\nprimitive typ
e or a repeated primitive type. Message types are not\nallowed. In the case of a
repeated type, the parameter can be\nrepeated in the URL, as in `...?param=A&pa
ram=B`.\n\nFor HTTP method kinds which allow a request body, the `body` field\ns
pecifies the mapping. Consider a REST update method on the\nmessage resource col
lection:\n\n\n service Messaging {\n rpc UpdateMessage(UpdateMessageRequ
est) returns (Message) {\n option (google.api.http) = {\n put: \
"/v1/messages/{message_id}\"\n body: \"message\"\n };\n }\n
}\n message UpdateMessageRequest {\n string message_id = 1; // mappe
d 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(m
essage_id: \"123456\" message { text: \"Hi!\" })`\n\nThe special name `*` can be
used in the body mapping to define that\nevery field not bound by the path temp
late should be mapped to the\nrequest body. This enables the following alternat
ive definition of\nthe update method:\n\n service Messaging {\n rpc Upda
teMessage(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 HTTP JSON to RPC mapping is enabled:\n\nHTT
P | RPC\n-----|-----\n`PUT /v1/messages/123456 { \"text\": \"Hi!\" }` | `UpdateM
essage(message_id: \"123456\" text: \"Hi!\")`\n\nNote that when using `*` in the
body mapping, it is not possible to\nhave HTTP parameters, as all fields not bo
und by the path end in\nthe body. This makes this option more rarely used in pra
ctice of\ndefining REST APIs. The common usage of `*` is in custom methods\nwhic
h don't use the URL at all for transferring data.\n\nIt is possible to define mu
ltiple HTTP methods for one RPC by using\nthe `additional_bindings` option. Exam
ple:\n\n service Messaging {\n rpc GetMessage(GetMessageRequest) returns
(Message) {\n option (google.api.http) = {\n get: \"/v1/message
s/{message_id}\"\n additional_bindings {\n get: \"/v1/users/
{user_id}/messages/{message_id}\"\n }\n };\n }\n }\n
message GetMessageRequest {\n string message_id = 1;\n string user_id
= 2;\n }\n\n\nThis enables the following two alternative HTTP JSON to RPC\nma
ppings:\n\nHTTP | RPC\n-----|-----\n`GET /v1/messages/123456` | `GetMessage(mess
age_id: \"123456\")`\n`GET /v1/users/me/messages/123456` | `GetMessage(user_id:
\"me\" message_id: \"123456\")`\n\n# Rules for HTTP mapping\n\nThe rules for map
ping HTTP path, query parameters, and body fields\nto the request message are as
follows:\n\n1. The `body` field specifies either `*` or a field path, or is\n
omitted. If omitted, it assumes there is no HTTP body.\n2. Leaf fields (recursi
ve expansion of nested messages in the\n request) can be classified into three
types:\n (a) Matched in the URL template.\n (b) Covered by body (if body
is `*`, everything except (a) fields;\n else everything under the body fi
eld)\n (c) All other fields.\n3. URL query parameters found in the HTTP reque
st are mapped to (c) fields.\n4. Any body sent with an HTTP request can contain
only (b) fields.\n\nThe syntax of the path template is as follows:\n\n Templa
te = \"/\" Segments [ Verb ] ;\n Segments = Segment { \"/\" Segment } ;\n
Segment = \"*\" | \"**\" | LITERAL | Variable ;\n Variable = \"{\" FieldPath
[ \"=\" Segments ] \"}\" ;\n FieldPath = IDENT { \".\" IDENT } ;\n Verb
= \":\" LITERAL ;\n\nThe syntax `*` matches a single path segment. It follows
the semantics of\n[RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2
Simple String\nExpansion.\n\nThe syntax `**` matches zero or more path segments
. It follows the semantics\nof [RFC 6570](https://tools.ietf.org/html/rfc6570) S
ection 3.2.3 Reserved\nExpansion. NOTE: it must be the last segment in the path
except the Verb.\n\nThe syntax `LITERAL` matches literal text in the URL path.\n
\nThe syntax `Variable` matches the entire path as specified by its template;\nt
his nested template must not contain further variables. If a variable\nmatches a
single path segment, its template may be omitted, e.g. `{var}`\nis equivalent t
o `{var=*}`.\n\nNOTE: the field paths in variables and in the `body` must not re
fer to\nrepeated fields or map fields.\n\nUse CustomHttpPattern to specify any H
TTP method that is not included in the\n`pattern` field, such as HEAD, or \"*\"
to leave the HTTP method unspecified for\na given URL path rule. The wild-card r
ule is useful for services that provide\ncontent to Web (HTML) clients.", |
2733 "id": "HttpRule", | 2848 "id": "HttpRule", |
2734 "properties": { | 2849 "properties": { |
| 2850 "body": { |
| 2851 "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.", |
| 2852 "type": "string" |
| 2853 }, |
| 2854 "post": { |
| 2855 "description": "Used for creating a resource.", |
| 2856 "type": "string" |
| 2857 }, |
| 2858 "mediaDownload": { |
| 2859 "$ref": "MediaDownload", |
| 2860 "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." |
| 2861 }, |
2735 "additionalBindings": { | 2862 "additionalBindings": { |
2736 "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).", | 2863 "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).", |
2737 "items": { | 2864 "items": { |
2738 "$ref": "HttpRule" | 2865 "$ref": "HttpRule" |
2739 }, | 2866 }, |
2740 "type": "array" | 2867 "type": "array" |
2741 }, | 2868 }, |
2742 "responseBody": { | 2869 "responseBody": { |
2743 "description": "The name of the response field whose value i
s mapped to the HTTP body of\nresponse. Other response fields are ignored. This
field is optional. When\nnot set, the response message will be used as HTTP body
of response.\nNOTE: the referred field must be not a repeated field and must be
present\nat the top-level of response message type.", | 2870 "description": "The name of the response field whose value i
s mapped to the HTTP body of\nresponse. Other response fields are ignored. This
field is optional. When\nnot set, the response message will be used as HTTP body
of response.\nNOTE: the referred field must be not a repeated field and must be
present\nat the top-level of response message type.", |
2744 "type": "string" | 2871 "type": "string" |
2745 }, | 2872 }, |
2746 "mediaUpload": { | 2873 "mediaUpload": { |
2747 "$ref": "MediaUpload", | 2874 "$ref": "MediaUpload", |
2748 "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." | 2875 "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." |
2749 }, | 2876 }, |
2750 "selector": { | 2877 "selector": { |
2751 "description": "Selects methods to which this rule applies.\
n\nRefer to selector for syntax details.", | 2878 "description": "Selects methods to which this rule applies.\
n\nRefer to selector for syntax details.", |
2752 "type": "string" | 2879 "type": "string" |
2753 }, | 2880 }, |
2754 "custom": { | 2881 "custom": { |
2755 "$ref": "CustomHttpPattern", | 2882 "$ref": "CustomHttpPattern", |
2756 "description": "Custom pattern is used for defining custom v
erbs." | 2883 "description": "Custom pattern is used for defining custom v
erbs." |
2757 }, | 2884 }, |
| 2885 "patch": { |
| 2886 "description": "Used for updating a resource.", |
| 2887 "type": "string" |
| 2888 }, |
2758 "get": { | 2889 "get": { |
2759 "description": "Used for listing and getting information abo
ut resources.", | 2890 "description": "Used for listing and getting information abo
ut resources.", |
2760 "type": "string" | 2891 "type": "string" |
2761 }, | 2892 }, |
2762 "patch": { | |
2763 "description": "Used for updating a resource.", | |
2764 "type": "string" | |
2765 }, | |
2766 "put": { | 2893 "put": { |
2767 "description": "Used for updating a resource.", | 2894 "description": "Used for updating a resource.", |
2768 "type": "string" | 2895 "type": "string" |
2769 }, | 2896 }, |
2770 "delete": { | 2897 "delete": { |
2771 "description": "Used for deleting a resource.", | 2898 "description": "Used for deleting a resource.", |
2772 "type": "string" | 2899 "type": "string" |
2773 }, | |
2774 "body": { | |
2775 "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.", | |
2776 "type": "string" | |
2777 }, | |
2778 "mediaDownload": { | |
2779 "$ref": "MediaDownload", | |
2780 "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." | |
2781 }, | |
2782 "post": { | |
2783 "description": "Used for creating a resource.", | |
2784 "type": "string" | |
2785 } | 2900 } |
2786 }, | 2901 }, |
2787 "type": "object" | 2902 "type": "object" |
2788 }, | |
2789 "VisibilityRule": { | |
2790 "description": "A visibility rule provides visibility configuration
for an individual API\nelement.", | |
2791 "id": "VisibilityRule", | |
2792 "properties": { | |
2793 "restriction": { | |
2794 "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.", | |
2795 "type": "string" | |
2796 }, | |
2797 "selector": { | |
2798 "description": "Selects methods, messages, fields, enums, et
c. to which this rule applies.\n\nRefer to selector for syntax details.", | |
2799 "type": "string" | |
2800 } | |
2801 }, | |
2802 "type": "object" | |
2803 }, | 2903 }, |
2804 "MonitoringDestination": { | 2904 "MonitoringDestination": { |
2805 "description": "Configuration of a specific monitoring destination (
the producer project\nor the consumer project).", | 2905 "description": "Configuration of a specific monitoring destination (
the producer project\nor the consumer project).", |
2806 "id": "MonitoringDestination", | 2906 "id": "MonitoringDestination", |
2807 "properties": { | 2907 "properties": { |
2808 "monitoredResource": { | 2908 "monitoredResource": { |
2809 "description": "The monitored resource type. The type must b
e defined in\nService.monitored_resources section.", | 2909 "description": "The monitored resource type. The type must b
e defined in\nService.monitored_resources section.", |
2810 "type": "string" | 2910 "type": "string" |
2811 }, | 2911 }, |
2812 "metrics": { | 2912 "metrics": { |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2882 "advices": { | 2982 "advices": { |
2883 "description": "Collection of advice provided for this chang
e, useful for determining the\npossible impact of this change.", | 2983 "description": "Collection of advice provided for this chang
e, useful for determining the\npossible impact of this change.", |
2884 "items": { | 2984 "items": { |
2885 "$ref": "Advice" | 2985 "$ref": "Advice" |
2886 }, | 2986 }, |
2887 "type": "array" | 2987 "type": "array" |
2888 } | 2988 } |
2889 }, | 2989 }, |
2890 "type": "object" | 2990 "type": "object" |
2891 }, | 2991 }, |
| 2992 "Quota": { |
| 2993 "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", |
| 2994 "id": "Quota", |
| 2995 "properties": { |
| 2996 "limits": { |
| 2997 "description": "List of `QuotaLimit` definitions for the ser
vice.\n\nUsed by metric-based quotas only.", |
| 2998 "items": { |
| 2999 "$ref": "QuotaLimit" |
| 3000 }, |
| 3001 "type": "array" |
| 3002 }, |
| 3003 "metricRules": { |
| 3004 "description": "List of `MetricRule` definitions, each one m
apping a selected method to one\nor more metrics.\n\nUsed by metric-based quotas
only.", |
| 3005 "items": { |
| 3006 "$ref": "MetricRule" |
| 3007 }, |
| 3008 "type": "array" |
| 3009 } |
| 3010 }, |
| 3011 "type": "object" |
| 3012 }, |
2892 "Rollout": { | 3013 "Rollout": { |
2893 "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.", | 3014 "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.", |
2894 "id": "Rollout", | 3015 "id": "Rollout", |
2895 "properties": { | 3016 "properties": { |
2896 "createdBy": { | |
2897 "description": "The user who created the Rollout. Readonly."
, | |
2898 "type": "string" | |
2899 }, | |
2900 "trafficPercentStrategy": { | |
2901 "$ref": "TrafficPercentStrategy", | |
2902 "description": "Google Service Control selects service confi
gurations based on\ntraffic percentage." | |
2903 }, | |
2904 "rolloutId": { | 3017 "rolloutId": { |
2905 "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'", | 3018 "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'", |
2906 "type": "string" | 3019 "type": "string" |
2907 }, | 3020 }, |
2908 "deleteServiceStrategy": { | 3021 "deleteServiceStrategy": { |
2909 "$ref": "DeleteServiceStrategy", | 3022 "$ref": "DeleteServiceStrategy", |
2910 "description": "The strategy associated with a rollout to de
lete a `ManagedService`.\nReadonly." | 3023 "description": "The strategy associated with a rollout to de
lete a `ManagedService`.\nReadonly." |
2911 }, | 3024 }, |
2912 "createTime": { | 3025 "createTime": { |
2913 "description": "Creation time of the rollout. Readonly.", | 3026 "description": "Creation time of the rollout. Readonly.", |
(...skipping 16 matching lines...) Expand all Loading... |
2930 "The Rollout has completed successfully.", | 3043 "The Rollout has completed successfully.", |
2931 "The Rollout has been cancelled. This can happen if you
have overlapping\nRollout pushes, and the previous ones will be cancelled.", | 3044 "The Rollout has been cancelled. This can happen if you
have overlapping\nRollout pushes, and the previous ones will be cancelled.", |
2932 "The Rollout has failed. It is typically caused by confi
guration errors.", | 3045 "The Rollout has failed. It is typically caused by confi
guration errors.", |
2933 "The Rollout has not started yet and is pending for exec
ution." | 3046 "The Rollout has not started yet and is pending for exec
ution." |
2934 ], | 3047 ], |
2935 "type": "string" | 3048 "type": "string" |
2936 }, | 3049 }, |
2937 "serviceName": { | 3050 "serviceName": { |
2938 "description": "The name of the service associated with this
Rollout.", | 3051 "description": "The name of the service associated with this
Rollout.", |
2939 "type": "string" | 3052 "type": "string" |
| 3053 }, |
| 3054 "trafficPercentStrategy": { |
| 3055 "$ref": "TrafficPercentStrategy", |
| 3056 "description": "Google Service Control selects service confi
gurations based on\ntraffic percentage." |
| 3057 }, |
| 3058 "createdBy": { |
| 3059 "description": "The user who created the Rollout. Readonly."
, |
| 3060 "type": "string" |
2940 } | 3061 } |
2941 }, | 3062 }, |
2942 "type": "object" | 3063 "type": "object" |
2943 }, | 3064 }, |
2944 "GenerateConfigReportRequest": { | 3065 "GenerateConfigReportRequest": { |
2945 "description": "Request message for GenerateConfigReport method.", | 3066 "description": "Request message for GenerateConfigReport method.", |
2946 "id": "GenerateConfigReportRequest", | 3067 "id": "GenerateConfigReportRequest", |
2947 "properties": { | 3068 "properties": { |
2948 "oldConfig": { | 3069 "oldConfig": { |
2949 "additionalProperties": { | 3070 "additionalProperties": { |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3027 "type": "string" | 3148 "type": "string" |
3028 }, | 3149 }, |
3029 "type": "array" | 3150 "type": "array" |
3030 }, | 3151 }, |
3031 "monitoredResource": { | 3152 "monitoredResource": { |
3032 "description": "The monitored resource type. The type must b
e defined in the\nService.monitored_resources section.", | 3153 "description": "The monitored resource type. The type must b
e defined in the\nService.monitored_resources section.", |
3033 "type": "string" | 3154 "type": "string" |
3034 } | 3155 } |
3035 }, | 3156 }, |
3036 "type": "object" | 3157 "type": "object" |
3037 }, | |
3038 "Option": { | |
3039 "description": "A protocol buffer option, which can be attached to a
message, field,\nenumeration, etc.", | |
3040 "id": "Option", | |
3041 "properties": { | |
3042 "value": { | |
3043 "additionalProperties": { | |
3044 "description": "Properties of the object. Contains field
@type with type URL.", | |
3045 "type": "any" | |
3046 }, | |
3047 "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.", | |
3048 "type": "object" | |
3049 }, | |
3050 "name": { | |
3051 "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\"`.", | |
3052 "type": "string" | |
3053 } | |
3054 }, | |
3055 "type": "object" | |
3056 } | 3158 } |
3057 }, | 3159 }, |
3058 "servicePath": "", | 3160 "servicePath": "", |
3059 "title": "Google Service Management API", | 3161 "title": "Google Service Management API", |
3060 "version": "v1" | 3162 "version": "v1" |
3061 } | 3163 } |
OLD | NEW |