OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
| 5 "https://www.googleapis.com/auth/cloud-platform.read-only": { |
| 6 "description": "View your data across Google Cloud Platform
services" |
| 7 }, |
| 8 "https://www.googleapis.com/auth/service.management.readonly": { |
| 9 "description": "View your Google API service configuration" |
| 10 }, |
5 "https://www.googleapis.com/auth/cloud-platform": { | 11 "https://www.googleapis.com/auth/cloud-platform": { |
6 "description": "View and manage your data across Google Clou
d Platform services" | 12 "description": "View and manage your data across Google Clou
d Platform services" |
7 }, | 13 }, |
8 "https://www.googleapis.com/auth/service.management": { | 14 "https://www.googleapis.com/auth/service.management": { |
9 "description": "Manage your Google API service configuration
" | 15 "description": "Manage your Google API service configuration
" |
10 }, | |
11 "https://www.googleapis.com/auth/cloud-platform.read-only": { | |
12 "description": "View your data across Google Cloud Platform
services" | |
13 }, | |
14 "https://www.googleapis.com/auth/service.management.readonly": { | |
15 "description": "View 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", |
(...skipping 12 matching lines...) Expand all Loading... |
38 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | 38 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
39 "location": "query", | 39 "location": "query", |
40 "type": "string" | 40 "type": "string" |
41 }, | 41 }, |
42 "prettyPrint": { | 42 "prettyPrint": { |
43 "default": "true", | 43 "default": "true", |
44 "description": "Returns response with indentations and line breaks."
, | 44 "description": "Returns response with indentations and line breaks."
, |
45 "location": "query", | 45 "location": "query", |
46 "type": "boolean" | 46 "type": "boolean" |
47 }, | 47 }, |
| 48 "fields": { |
| 49 "description": "Selector specifying which fields to include in a par
tial response.", |
| 50 "location": "query", |
| 51 "type": "string" |
| 52 }, |
48 "uploadType": { | 53 "uploadType": { |
49 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | 54 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
50 "location": "query", | 55 "location": "query", |
51 "type": "string" | 56 "type": "string" |
52 }, | 57 }, |
53 "fields": { | |
54 "description": "Selector specifying which fields to include in a par
tial response.", | |
55 "location": "query", | |
56 "type": "string" | |
57 }, | |
58 "callback": { | |
59 "description": "JSONP", | |
60 "location": "query", | |
61 "type": "string" | |
62 }, | |
63 "$.xgafv": { | 58 "$.xgafv": { |
64 "description": "V1 error format.", | 59 "description": "V1 error format.", |
65 "enum": [ | 60 "enum": [ |
66 "1", | 61 "1", |
67 "2" | 62 "2" |
68 ], | 63 ], |
69 "enumDescriptions": [ | 64 "enumDescriptions": [ |
70 "v1 error format", | 65 "v1 error format", |
71 "v2 error format" | 66 "v2 error format" |
72 ], | 67 ], |
73 "location": "query", | 68 "location": "query", |
74 "type": "string" | 69 "type": "string" |
75 }, | 70 }, |
| 71 "callback": { |
| 72 "description": "JSONP", |
| 73 "location": "query", |
| 74 "type": "string" |
| 75 }, |
76 "alt": { | 76 "alt": { |
77 "default": "json", | 77 "default": "json", |
78 "description": "Data format for response.", | 78 "description": "Data format for response.", |
79 "enum": [ | 79 "enum": [ |
80 "json", | 80 "json", |
81 "media", | 81 "media", |
82 "proto" | 82 "proto" |
83 ], | 83 ], |
84 "enumDescriptions": [ | 84 "enumDescriptions": [ |
85 "Responses with Content-Type of application/json", | 85 "Responses with Content-Type of application/json", |
86 "Media download with context-dependent Content-Type", | 86 "Media download with context-dependent Content-Type", |
87 "Responses with Content-Type of application/x-protobuf" | 87 "Responses with Content-Type of application/x-protobuf" |
88 ], | 88 ], |
89 "location": "query", | 89 "location": "query", |
90 "type": "string" | 90 "type": "string" |
91 }, | 91 }, |
| 92 "access_token": { |
| 93 "description": "OAuth access token.", |
| 94 "location": "query", |
| 95 "type": "string" |
| 96 }, |
92 "key": { | 97 "key": { |
93 "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.", | 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.", |
94 "location": "query", | 99 "location": "query", |
95 "type": "string" | 100 "type": "string" |
96 }, | 101 }, |
97 "access_token": { | |
98 "description": "OAuth access token.", | |
99 "location": "query", | |
100 "type": "string" | |
101 }, | |
102 "quotaUser": { | 102 "quotaUser": { |
103 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", | 103 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", |
104 "location": "query", | 104 "location": "query", |
105 "type": "string" | 105 "type": "string" |
106 }, | 106 }, |
107 "pp": { | 107 "pp": { |
108 "default": "true", | 108 "default": "true", |
109 "description": "Pretty-print response.", | 109 "description": "Pretty-print response.", |
110 "location": "query", | 110 "location": "query", |
111 "type": "boolean" | 111 "type": "boolean" |
112 }, | 112 }, |
| 113 "oauth_token": { |
| 114 "description": "OAuth 2.0 token for the current user.", |
| 115 "location": "query", |
| 116 "type": "string" |
| 117 }, |
113 "bearer_token": { | 118 "bearer_token": { |
114 "description": "OAuth bearer token.", | 119 "description": "OAuth bearer token.", |
115 "location": "query", | 120 "location": "query", |
116 "type": "string" | 121 "type": "string" |
117 }, | |
118 "oauth_token": { | |
119 "description": "OAuth 2.0 token for the current user.", | |
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": "Disable a managed service for a project.\n\n
Operation<response: DisableServiceResponse>", | |
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.\n`resource` is usually specified as a path. For exam
ple, a Project\nresource is specified as `projects/{project}`.", | |
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": { | 128 "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>", | 129 "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", | 130 "httpMethod": "POST", |
186 "id": "servicemanagement.services.undelete", | 131 "id": "servicemanagement.services.undelete", |
187 "parameterOrder": [ | 132 "parameterOrder": [ |
188 "serviceName" | 133 "serviceName" |
189 ], | 134 ], |
190 "parameters": { | 135 "parameters": { |
191 "serviceName": { | 136 "serviceName": { |
192 "description": "The name of the service. See the [ov
erview](/service-management/overview)\nfor naming requirements. For example: `ex
ample.googleapis.com`.", | 137 "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", | 138 "location": "path", |
194 "required": true, | 139 "required": true, |
195 "type": "string" | 140 "type": "string" |
196 } | 141 } |
197 }, | 142 }, |
198 "path": "v1/services/{serviceName}:undelete", | 143 "path": "v1/services/{serviceName}:undelete", |
199 "response": { | 144 "response": { |
200 "$ref": "Operation" | 145 "$ref": "Operation" |
201 }, | 146 }, |
202 "scopes": [ | 147 "scopes": [ |
203 "https://www.googleapis.com/auth/cloud-platform", | 148 "https://www.googleapis.com/auth/cloud-platform", |
204 "https://www.googleapis.com/auth/service.management" | 149 "https://www.googleapis.com/auth/service.management" |
205 ] | 150 ] |
206 }, | 151 }, |
207 "list": { | 152 "list": { |
208 "description": "Lists managed services.\n\nIf called without
any authentication, it returns only the public services.\nIf called with authen
tication, it returns all services that the caller has\n\"servicemanagement.servi
ces.get\" permission for.\n\n**BETA:** If the caller specifies the `consumer_id`
, it returns only the\nservices enabled on the consumer. The `consumer_id` must
have the format\nof \"project:{PROJECT-ID}\".", | 153 "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}\".", |
209 "httpMethod": "GET", | 154 "httpMethod": "GET", |
210 "id": "servicemanagement.services.list", | 155 "id": "servicemanagement.services.list", |
211 "parameterOrder": [], | 156 "parameterOrder": [], |
212 "parameters": { | 157 "parameters": { |
213 "consumerId": { | 158 "consumerId": { |
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>", | 159 "description": "Include services consumed by the spe
cified consumer.\n\nThe Google Service Management implementation accepts the fol
lowing\nforms:\n- project:<project_id>", |
215 "location": "query", | 160 "location": "query", |
216 "type": "string" | 161 "type": "string" |
217 }, | 162 }, |
218 "pageToken": { | 163 "pageToken": { |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 "$ref": "ManagedService" | 244 "$ref": "ManagedService" |
300 }, | 245 }, |
301 "scopes": [ | 246 "scopes": [ |
302 "https://www.googleapis.com/auth/cloud-platform", | 247 "https://www.googleapis.com/auth/cloud-platform", |
303 "https://www.googleapis.com/auth/cloud-platform.read-onl
y", | 248 "https://www.googleapis.com/auth/cloud-platform.read-onl
y", |
304 "https://www.googleapis.com/auth/service.management", | 249 "https://www.googleapis.com/auth/service.management", |
305 "https://www.googleapis.com/auth/service.management.read
only" | 250 "https://www.googleapis.com/auth/service.management.read
only" |
306 ] | 251 ] |
307 }, | 252 }, |
308 "testIamPermissions": { | 253 "testIamPermissions": { |
309 "description": "Returns permissions that a caller has on the
specified resource.\nIf the resource does not exist, this will return an empty
set of\npermissions, not a NOT_FOUND error.", | 254 "description": "Returns permissions that a caller has on the
specified resource.\nIf the resource does not exist, this will return an empty
set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is designed
to be used for building permission-aware\nUIs and command-line tools, not for au
thorization checking. This operation\nmay \"fail open\" without warning.", |
310 "httpMethod": "POST", | 255 "httpMethod": "POST", |
311 "id": "servicemanagement.services.testIamPermissions", | 256 "id": "servicemanagement.services.testIamPermissions", |
312 "parameterOrder": [ | 257 "parameterOrder": [ |
313 "resource" | 258 "resource" |
314 ], | 259 ], |
315 "parameters": { | 260 "parameters": { |
316 "resource": { | 261 "resource": { |
317 "description": "REQUIRED: The resource for which the
policy detail is being requested.\n`resource` is usually specified as a path. F
or example, a Project\nresource is specified as `projects/{project}`.", | 262 "description": "REQUIRED: The resource for which the
policy detail is being requested.\nSee the operation documentation for the appr
opriate value for this field.", |
318 "location": "path", | 263 "location": "path", |
319 "pattern": "^services/[^/]+$", | 264 "pattern": "^services/[^/]+$", |
320 "required": true, | 265 "required": true, |
321 "type": "string" | 266 "type": "string" |
322 } | 267 } |
323 }, | 268 }, |
324 "path": "v1/{+resource}:testIamPermissions", | 269 "path": "v1/{+resource}:testIamPermissions", |
325 "request": { | 270 "request": { |
326 "$ref": "TestIamPermissionsRequest" | 271 "$ref": "TestIamPermissionsRequest" |
327 }, | 272 }, |
328 "response": { | 273 "response": { |
329 "$ref": "TestIamPermissionsResponse" | 274 "$ref": "TestIamPermissionsResponse" |
330 }, | 275 }, |
331 "scopes": [ | 276 "scopes": [ |
332 "https://www.googleapis.com/auth/cloud-platform", | 277 "https://www.googleapis.com/auth/cloud-platform", |
333 "https://www.googleapis.com/auth/service.management" | 278 "https://www.googleapis.com/auth/service.management" |
334 ] | 279 ] |
335 }, | 280 }, |
336 "getConfig": { | 281 "getConfig": { |
337 "description": "Gets a service configuration (version) for a
managed service.", | 282 "description": "Gets a service configuration (version) for a
managed service.", |
338 "httpMethod": "GET", | 283 "httpMethod": "GET", |
339 "id": "servicemanagement.services.getConfig", | 284 "id": "servicemanagement.services.getConfig", |
340 "parameterOrder": [ | 285 "parameterOrder": [ |
341 "serviceName" | 286 "serviceName" |
342 ], | 287 ], |
343 "parameters": { | 288 "parameters": { |
| 289 "view": { |
| 290 "description": "Specifies which parts of the Service
Config should be returned in the\nresponse.", |
| 291 "enum": [ |
| 292 "BASIC", |
| 293 "FULL" |
| 294 ], |
| 295 "location": "query", |
| 296 "type": "string" |
| 297 }, |
344 "serviceName": { | 298 "serviceName": { |
345 "description": "The name of the service. See the [o
verview](/service-management/overview)\nfor naming requirements. For example: `
example.googleapis.com`.", | 299 "description": "The name of the service. See the [o
verview](/service-management/overview)\nfor naming requirements. For example: `
example.googleapis.com`.", |
346 "location": "path", | 300 "location": "path", |
347 "required": true, | 301 "required": true, |
348 "type": "string" | 302 "type": "string" |
349 }, | 303 }, |
350 "configId": { | 304 "configId": { |
351 "description": "The id of the service configuration
resource.", | 305 "description": "The id of the service configuration
resource.", |
352 "location": "query", | 306 "location": "query", |
353 "type": "string" | 307 "type": "string" |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
417 }, | 371 }, |
418 "setIamPolicy": { | 372 "setIamPolicy": { |
419 "description": "Sets the access control policy on the specif
ied resource. Replaces any\nexisting policy.", | 373 "description": "Sets the access control policy on the specif
ied resource. Replaces any\nexisting policy.", |
420 "httpMethod": "POST", | 374 "httpMethod": "POST", |
421 "id": "servicemanagement.services.setIamPolicy", | 375 "id": "servicemanagement.services.setIamPolicy", |
422 "parameterOrder": [ | 376 "parameterOrder": [ |
423 "resource" | 377 "resource" |
424 ], | 378 ], |
425 "parameters": { | 379 "parameters": { |
426 "resource": { | 380 "resource": { |
427 "description": "REQUIRED: The resource for which the
policy is being specified.\n`resource` is usually specified as a path. For exam
ple, a Project\nresource is specified as `projects/{project}`.", | 381 "description": "REQUIRED: The resource for which the
policy is being specified.\nSee the operation documentation for the appropriate
value for this field.", |
428 "location": "path", | 382 "location": "path", |
429 "pattern": "^services/[^/]+$", | 383 "pattern": "^services/[^/]+$", |
430 "required": true, | 384 "required": true, |
431 "type": "string" | 385 "type": "string" |
432 } | 386 } |
433 }, | 387 }, |
434 "path": "v1/{+resource}:setIamPolicy", | 388 "path": "v1/{+resource}:setIamPolicy", |
435 "request": { | 389 "request": { |
436 "$ref": "SetIamPolicyRequest" | 390 "$ref": "SetIamPolicyRequest" |
437 }, | 391 }, |
438 "response": { | 392 "response": { |
439 "$ref": "Policy" | 393 "$ref": "Policy" |
440 }, | 394 }, |
441 "scopes": [ | 395 "scopes": [ |
442 "https://www.googleapis.com/auth/cloud-platform", | 396 "https://www.googleapis.com/auth/cloud-platform", |
443 "https://www.googleapis.com/auth/service.management" | 397 "https://www.googleapis.com/auth/service.management" |
444 ] | 398 ] |
| 399 }, |
| 400 "disable": { |
| 401 "description": "Disable a managed service for a project.\n\n
Operation<response: DisableServiceResponse>", |
| 402 "httpMethod": "POST", |
| 403 "id": "servicemanagement.services.disable", |
| 404 "parameterOrder": [ |
| 405 "serviceName" |
| 406 ], |
| 407 "parameters": { |
| 408 "serviceName": { |
| 409 "description": "Name of the service to disable. Spec
ifying an unknown service name\nwill cause the request to fail.", |
| 410 "location": "path", |
| 411 "required": true, |
| 412 "type": "string" |
| 413 } |
| 414 }, |
| 415 "path": "v1/services/{serviceName}:disable", |
| 416 "request": { |
| 417 "$ref": "DisableServiceRequest" |
| 418 }, |
| 419 "response": { |
| 420 "$ref": "Operation" |
| 421 }, |
| 422 "scopes": [ |
| 423 "https://www.googleapis.com/auth/cloud-platform", |
| 424 "https://www.googleapis.com/auth/service.management" |
| 425 ] |
| 426 }, |
| 427 "getIamPolicy": { |
| 428 "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.", |
| 429 "httpMethod": "POST", |
| 430 "id": "servicemanagement.services.getIamPolicy", |
| 431 "parameterOrder": [ |
| 432 "resource" |
| 433 ], |
| 434 "parameters": { |
| 435 "resource": { |
| 436 "description": "REQUIRED: The resource for which the
policy is being requested.\nSee the operation documentation for the appropriate
value for this field.", |
| 437 "location": "path", |
| 438 "pattern": "^services/[^/]+$", |
| 439 "required": true, |
| 440 "type": "string" |
| 441 } |
| 442 }, |
| 443 "path": "v1/{+resource}:getIamPolicy", |
| 444 "request": { |
| 445 "$ref": "GetIamPolicyRequest" |
| 446 }, |
| 447 "response": { |
| 448 "$ref": "Policy" |
| 449 }, |
| 450 "scopes": [ |
| 451 "https://www.googleapis.com/auth/cloud-platform", |
| 452 "https://www.googleapis.com/auth/service.management" |
| 453 ] |
445 } | 454 } |
446 }, | 455 }, |
447 "resources": { | 456 "resources": { |
448 "configs": { | 457 "rollouts": { |
449 "methods": { | 458 "methods": { |
450 "list": { | 459 "list": { |
451 "description": "Lists the history of the service con
figuration for a managed service,\nfrom the newest to the oldest.", | 460 "description": "Lists the history of the service con
figuration rollouts for a managed\nservice, from the newest to the oldest.", |
452 "httpMethod": "GET", | 461 "httpMethod": "GET", |
453 "id": "servicemanagement.services.configs.list", | 462 "id": "servicemanagement.services.rollouts.list", |
454 "parameterOrder": [ | 463 "parameterOrder": [ |
455 "serviceName" | 464 "serviceName" |
456 ], | 465 ], |
457 "parameters": { | 466 "parameters": { |
| 467 "pageSize": { |
| 468 "description": "The max number of items to i
nclude in the response list.", |
| 469 "format": "int32", |
| 470 "location": "query", |
| 471 "type": "integer" |
| 472 }, |
458 "serviceName": { | 473 "serviceName": { |
459 "description": "The name of the service. Se
e the [overview](/service-management/overview)\nfor naming requirements. For ex
ample: `example.googleapis.com`.", | 474 "description": "The name of the service. Se
e the [overview](/service-management/overview)\nfor naming requirements. For ex
ample: `example.googleapis.com`.", |
460 "location": "path", | 475 "location": "path", |
461 "required": true, | 476 "required": true, |
462 "type": "string" | 477 "type": "string" |
463 }, | 478 }, |
464 "pageToken": { | 479 "pageToken": { |
465 "description": "The token of the page to ret
rieve.", | 480 "description": "The token of the page to ret
rieve.", |
466 "location": "query", | 481 "location": "query", |
467 "type": "string" | 482 "type": "string" |
468 }, | |
469 "pageSize": { | |
470 "description": "The max number of items to i
nclude in the response list.", | |
471 "format": "int32", | |
472 "location": "query", | |
473 "type": "integer" | |
474 } | 483 } |
475 }, | 484 }, |
476 "path": "v1/services/{serviceName}/configs", | 485 "path": "v1/services/{serviceName}/rollouts", |
477 "response": { | 486 "response": { |
478 "$ref": "ListServiceConfigsResponse" | 487 "$ref": "ListServiceRolloutsResponse" |
479 }, | 488 }, |
480 "scopes": [ | 489 "scopes": [ |
481 "https://www.googleapis.com/auth/cloud-platform"
, | 490 "https://www.googleapis.com/auth/cloud-platform"
, |
482 "https://www.googleapis.com/auth/cloud-platform.
read-only", | 491 "https://www.googleapis.com/auth/cloud-platform.
read-only", |
483 "https://www.googleapis.com/auth/service.managem
ent", | 492 "https://www.googleapis.com/auth/service.managem
ent", |
484 "https://www.googleapis.com/auth/service.managem
ent.readonly" | 493 "https://www.googleapis.com/auth/service.managem
ent.readonly" |
485 ] | 494 ] |
486 }, | 495 }, |
487 "get": { | 496 "get": { |
488 "description": "Gets a service configuration (versio
n) for a managed service.", | 497 "description": "Gets a service configuration rollout
.", |
489 "httpMethod": "GET", | 498 "httpMethod": "GET", |
490 "id": "servicemanagement.services.configs.get", | 499 "id": "servicemanagement.services.rollouts.get", |
491 "parameterOrder": [ | 500 "parameterOrder": [ |
492 "serviceName", | 501 "serviceName", |
493 "configId" | 502 "rolloutId" |
494 ], | 503 ], |
495 "parameters": { | 504 "parameters": { |
496 "serviceName": { | 505 "serviceName": { |
497 "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`.", |
498 "location": "path", | 507 "location": "path", |
499 "required": true, | 508 "required": true, |
500 "type": "string" | 509 "type": "string" |
501 }, | 510 }, |
502 "configId": { | 511 "rolloutId": { |
503 "description": "The id of the service config
uration resource.", | 512 "description": "The id of the rollout resour
ce.", |
504 "location": "path", | 513 "location": "path", |
505 "required": true, | 514 "required": true, |
506 "type": "string" | 515 "type": "string" |
507 } | 516 } |
508 }, | 517 }, |
509 "path": "v1/services/{serviceName}/configs/{configId
}", | 518 "path": "v1/services/{serviceName}/rollouts/{rollout
Id}", |
510 "response": { | 519 "response": { |
511 "$ref": "Service" | 520 "$ref": "Rollout" |
512 }, | 521 }, |
513 "scopes": [ | 522 "scopes": [ |
514 "https://www.googleapis.com/auth/cloud-platform"
, | 523 "https://www.googleapis.com/auth/cloud-platform"
, |
515 "https://www.googleapis.com/auth/cloud-platform.
read-only", | 524 "https://www.googleapis.com/auth/cloud-platform.
read-only", |
516 "https://www.googleapis.com/auth/service.managem
ent", | 525 "https://www.googleapis.com/auth/service.managem
ent", |
517 "https://www.googleapis.com/auth/service.managem
ent.readonly" | 526 "https://www.googleapis.com/auth/service.managem
ent.readonly" |
518 ] | 527 ] |
519 }, | 528 }, |
520 "create": { | 529 "create": { |
521 "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>", |
522 "httpMethod": "POST", | 531 "httpMethod": "POST", |
523 "id": "servicemanagement.services.configs.create", | 532 "id": "servicemanagement.services.rollouts.create", |
524 "parameterOrder": [ | 533 "parameterOrder": [ |
525 "serviceName" | 534 "serviceName" |
526 ], | 535 ], |
527 "parameters": { | 536 "parameters": { |
528 "serviceName": { | 537 "serviceName": { |
529 "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`.", |
530 "location": "path", | 539 "location": "path", |
531 "required": true, | 540 "required": true, |
532 "type": "string" | 541 "type": "string" |
533 } | 542 } |
534 }, | 543 }, |
535 "path": "v1/services/{serviceName}/configs", | 544 "path": "v1/services/{serviceName}/rollouts", |
536 "request": { | 545 "request": { |
537 "$ref": "Service" | 546 "$ref": "Rollout" |
538 }, | 547 }, |
539 "response": { | 548 "response": { |
540 "$ref": "Service" | 549 "$ref": "Operation" |
541 }, | 550 }, |
542 "scopes": [ | 551 "scopes": [ |
543 "https://www.googleapis.com/auth/cloud-platform"
, | 552 "https://www.googleapis.com/auth/cloud-platform"
, |
544 "https://www.googleapis.com/auth/service.managem
ent" | 553 "https://www.googleapis.com/auth/service.managem
ent" |
545 ] | 554 ] |
546 }, | 555 } |
| 556 } |
| 557 }, |
| 558 "configs": { |
| 559 "methods": { |
547 "submit": { | 560 "submit": { |
548 "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>", | 561 "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>", |
549 "httpMethod": "POST", | 562 "httpMethod": "POST", |
550 "id": "servicemanagement.services.configs.submit", | 563 "id": "servicemanagement.services.configs.submit", |
551 "parameterOrder": [ | 564 "parameterOrder": [ |
552 "serviceName" | 565 "serviceName" |
553 ], | 566 ], |
554 "parameters": { | 567 "parameters": { |
555 "serviceName": { | 568 "serviceName": { |
556 "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`.", |
557 "location": "path", | 570 "location": "path", |
558 "required": true, | 571 "required": true, |
559 "type": "string" | 572 "type": "string" |
560 } | 573 } |
561 }, | 574 }, |
562 "path": "v1/services/{serviceName}/configs:submit", | 575 "path": "v1/services/{serviceName}/configs:submit", |
563 "request": { | 576 "request": { |
564 "$ref": "SubmitConfigSourceRequest" | 577 "$ref": "SubmitConfigSourceRequest" |
565 }, | 578 }, |
566 "response": { | 579 "response": { |
567 "$ref": "Operation" | 580 "$ref": "Operation" |
568 }, | 581 }, |
569 "scopes": [ | 582 "scopes": [ |
570 "https://www.googleapis.com/auth/cloud-platform"
, | 583 "https://www.googleapis.com/auth/cloud-platform"
, |
571 "https://www.googleapis.com/auth/service.managem
ent" | 584 "https://www.googleapis.com/auth/service.managem
ent" |
572 ] | 585 ] |
573 } | 586 }, |
574 } | |
575 }, | |
576 "rollouts": { | |
577 "methods": { | |
578 "list": { | 587 "list": { |
579 "description": "Lists the history of the service con
figuration rollouts for a managed\nservice, from the newest to the oldest.", | 588 "description": "Lists the history of the service con
figuration for a managed service,\nfrom the newest to the oldest.", |
580 "httpMethod": "GET", | 589 "httpMethod": "GET", |
581 "id": "servicemanagement.services.rollouts.list", | 590 "id": "servicemanagement.services.configs.list", |
582 "parameterOrder": [ | 591 "parameterOrder": [ |
583 "serviceName" | 592 "serviceName" |
584 ], | 593 ], |
585 "parameters": { | 594 "parameters": { |
| 595 "serviceName": { |
| 596 "description": "The name of the service. Se
e the [overview](/service-management/overview)\nfor naming requirements. For ex
ample: `example.googleapis.com`.", |
| 597 "location": "path", |
| 598 "required": true, |
| 599 "type": "string" |
| 600 }, |
586 "pageToken": { | 601 "pageToken": { |
587 "description": "The token of the page to ret
rieve.", | 602 "description": "The token of the page to ret
rieve.", |
588 "location": "query", | 603 "location": "query", |
589 "type": "string" | 604 "type": "string" |
590 }, | 605 }, |
591 "pageSize": { | 606 "pageSize": { |
592 "description": "The max number of items to i
nclude in the response list.", | 607 "description": "The max number of items to i
nclude in the response list.", |
593 "format": "int32", | 608 "format": "int32", |
594 "location": "query", | 609 "location": "query", |
595 "type": "integer" | 610 "type": "integer" |
596 }, | |
597 "serviceName": { | |
598 "description": "The name of the service. Se
e the [overview](/service-management/overview)\nfor naming requirements. For ex
ample: `example.googleapis.com`.", | |
599 "location": "path", | |
600 "required": true, | |
601 "type": "string" | |
602 } | 611 } |
603 }, | 612 }, |
604 "path": "v1/services/{serviceName}/rollouts", | 613 "path": "v1/services/{serviceName}/configs", |
605 "response": { | 614 "response": { |
606 "$ref": "ListServiceRolloutsResponse" | 615 "$ref": "ListServiceConfigsResponse" |
607 }, | 616 }, |
608 "scopes": [ | 617 "scopes": [ |
609 "https://www.googleapis.com/auth/cloud-platform"
, | 618 "https://www.googleapis.com/auth/cloud-platform"
, |
610 "https://www.googleapis.com/auth/cloud-platform.
read-only", | 619 "https://www.googleapis.com/auth/cloud-platform.
read-only", |
611 "https://www.googleapis.com/auth/service.managem
ent", | 620 "https://www.googleapis.com/auth/service.managem
ent", |
612 "https://www.googleapis.com/auth/service.managem
ent.readonly" | 621 "https://www.googleapis.com/auth/service.managem
ent.readonly" |
613 ] | 622 ] |
614 }, | 623 }, |
615 "get": { | 624 "get": { |
616 "description": "Gets a service configuration rollout
.", | 625 "description": "Gets a service configuration (versio
n) for a managed service.", |
617 "httpMethod": "GET", | 626 "httpMethod": "GET", |
618 "id": "servicemanagement.services.rollouts.get", | 627 "id": "servicemanagement.services.configs.get", |
619 "parameterOrder": [ | 628 "parameterOrder": [ |
620 "serviceName", | 629 "serviceName", |
621 "rolloutId" | 630 "configId" |
622 ], | 631 ], |
623 "parameters": { | 632 "parameters": { |
624 "rolloutId": { | |
625 "description": "The id of the rollout resour
ce.", | |
626 "location": "path", | |
627 "required": true, | |
628 "type": "string" | |
629 }, | |
630 "serviceName": { | 633 "serviceName": { |
631 "description": "The name of the service. Se
e the [overview](/service-management/overview)\nfor naming requirements. For ex
ample: `example.googleapis.com`.", | 634 "description": "The name of the service. Se
e the [overview](/service-management/overview)\nfor naming requirements. For ex
ample: `example.googleapis.com`.", |
632 "location": "path", | 635 "location": "path", |
633 "required": true, | 636 "required": true, |
634 "type": "string" | 637 "type": "string" |
| 638 }, |
| 639 "configId": { |
| 640 "description": "The id of the service config
uration resource.", |
| 641 "location": "path", |
| 642 "required": true, |
| 643 "type": "string" |
| 644 }, |
| 645 "view": { |
| 646 "description": "Specifies which parts of the
Service Config should be returned in the\nresponse.", |
| 647 "enum": [ |
| 648 "BASIC", |
| 649 "FULL" |
| 650 ], |
| 651 "location": "query", |
| 652 "type": "string" |
635 } | 653 } |
636 }, | 654 }, |
637 "path": "v1/services/{serviceName}/rollouts/{rollout
Id}", | 655 "path": "v1/services/{serviceName}/configs/{configId
}", |
638 "response": { | 656 "response": { |
639 "$ref": "Rollout" | 657 "$ref": "Service" |
640 }, | 658 }, |
641 "scopes": [ | 659 "scopes": [ |
642 "https://www.googleapis.com/auth/cloud-platform"
, | 660 "https://www.googleapis.com/auth/cloud-platform"
, |
643 "https://www.googleapis.com/auth/cloud-platform.
read-only", | 661 "https://www.googleapis.com/auth/cloud-platform.
read-only", |
644 "https://www.googleapis.com/auth/service.managem
ent", | 662 "https://www.googleapis.com/auth/service.managem
ent", |
645 "https://www.googleapis.com/auth/service.managem
ent.readonly" | 663 "https://www.googleapis.com/auth/service.managem
ent.readonly" |
646 ] | 664 ] |
647 }, | 665 }, |
648 "create": { | 666 "create": { |
649 "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>", | 667 "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.", |
650 "httpMethod": "POST", | 668 "httpMethod": "POST", |
651 "id": "servicemanagement.services.rollouts.create", | 669 "id": "servicemanagement.services.configs.create", |
652 "parameterOrder": [ | 670 "parameterOrder": [ |
653 "serviceName" | 671 "serviceName" |
654 ], | 672 ], |
655 "parameters": { | 673 "parameters": { |
656 "serviceName": { | 674 "serviceName": { |
657 "description": "The name of the service. Se
e the [overview](/service-management/overview)\nfor naming requirements. For ex
ample: `example.googleapis.com`.", | 675 "description": "The name of the service. Se
e the [overview](/service-management/overview)\nfor naming requirements. For ex
ample: `example.googleapis.com`.", |
658 "location": "path", | 676 "location": "path", |
659 "required": true, | 677 "required": true, |
660 "type": "string" | 678 "type": "string" |
661 } | 679 } |
662 }, | 680 }, |
663 "path": "v1/services/{serviceName}/rollouts", | 681 "path": "v1/services/{serviceName}/configs", |
664 "request": { | 682 "request": { |
665 "$ref": "Rollout" | 683 "$ref": "Service" |
666 }, | 684 }, |
667 "response": { | 685 "response": { |
668 "$ref": "Operation" | 686 "$ref": "Service" |
669 }, | 687 }, |
670 "scopes": [ | 688 "scopes": [ |
671 "https://www.googleapis.com/auth/cloud-platform"
, | 689 "https://www.googleapis.com/auth/cloud-platform"
, |
672 "https://www.googleapis.com/auth/service.managem
ent" | 690 "https://www.googleapis.com/auth/service.managem
ent" |
673 ] | 691 ] |
674 } | 692 } |
675 } | 693 } |
676 } | 694 } |
677 } | 695 } |
678 }, | 696 }, |
(...skipping 20 matching lines...) Expand all Loading... |
699 "$ref": "Operation" | 717 "$ref": "Operation" |
700 }, | 718 }, |
701 "scopes": [ | 719 "scopes": [ |
702 "https://www.googleapis.com/auth/cloud-platform", | 720 "https://www.googleapis.com/auth/cloud-platform", |
703 "https://www.googleapis.com/auth/service.management" | 721 "https://www.googleapis.com/auth/service.management" |
704 ] | 722 ] |
705 } | 723 } |
706 } | 724 } |
707 } | 725 } |
708 }, | 726 }, |
709 "revision": "20170209", | 727 "revision": "20170227", |
710 "rootUrl": "https://servicemanagement.googleapis.com/", | 728 "rootUrl": "https://servicemanagement.googleapis.com/", |
711 "schemas": { | 729 "schemas": { |
| 730 "LogConfig": { |
| 731 "description": "Specifies what kind of log the caller must write\nIn
crement a streamz counter with the specified metric and field names.\n\nMetric n
ames should start with a '/', generally be lowercase-only,\nand end in \"_count\
". Field names should not contain an initial slash.\nThe actual exported metric
names will have \"/iam/policy\" prepended.\n\nField names correspond to IAM requ
est parameters and field values are\ntheir respective values.\n\nAt present the
only supported field names are\n - \"iam_principal\", corresponding to IAMCont
ext.principal;\n - \"\" (empty string), resulting in one aggretated counter wi
th no field.\n\nExamples:\n counter { metric: \"/debug_access_count\" field: \
"iam_principal\" }\n ==> increment counter /iam/policy/backend_debug_access_cou
nt\n {iam_principal=[value of IAMContext.principal]}\n\nA
t this time we do not support:\n* multiple field names (though this may be suppo
rted in the future)\n* decrementing the counter\n* incrementing it by anything o
ther than 1", |
| 732 "id": "LogConfig", |
| 733 "properties": { |
| 734 "counter": { |
| 735 "$ref": "CounterOptions", |
| 736 "description": "Counter options." |
| 737 }, |
| 738 "dataAccess": { |
| 739 "$ref": "DataAccessOptions", |
| 740 "description": "Data access options." |
| 741 }, |
| 742 "cloudAudit": { |
| 743 "$ref": "CloudAuditOptions", |
| 744 "description": "Cloud audit options." |
| 745 } |
| 746 }, |
| 747 "type": "object" |
| 748 }, |
| 749 "LogDescriptor": { |
| 750 "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", |
| 751 "id": "LogDescriptor", |
| 752 "properties": { |
| 753 "description": { |
| 754 "description": "A human-readable description of this log. Th
is information appears in\nthe documentation and can contain details.", |
| 755 "type": "string" |
| 756 }, |
| 757 "displayName": { |
| 758 "description": "The human-readable name for this log. This i
nformation appears on\nthe user interface and should be concise.", |
| 759 "type": "string" |
| 760 }, |
| 761 "labels": { |
| 762 "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.", |
| 763 "items": { |
| 764 "$ref": "LabelDescriptor" |
| 765 }, |
| 766 "type": "array" |
| 767 }, |
| 768 "name": { |
| 769 "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 [/_-.].", |
| 770 "type": "string" |
| 771 } |
| 772 }, |
| 773 "type": "object" |
| 774 }, |
| 775 "ConfigFile": { |
| 776 "description": "Generic specification of a source configuration file
", |
| 777 "id": "ConfigFile", |
| 778 "properties": { |
| 779 "fileContents": { |
| 780 "description": "The bytes that constitute the file.", |
| 781 "format": "byte", |
| 782 "type": "string" |
| 783 }, |
| 784 "filePath": { |
| 785 "description": "The file name of the configuration file (ful
l or relative path).", |
| 786 "type": "string" |
| 787 }, |
| 788 "fileType": { |
| 789 "description": "The type of configuration file this represen
ts.", |
| 790 "enum": [ |
| 791 "FILE_TYPE_UNSPECIFIED", |
| 792 "SERVICE_CONFIG_YAML", |
| 793 "OPEN_API_JSON", |
| 794 "OPEN_API_YAML", |
| 795 "FILE_DESCRIPTOR_SET_PROTO" |
| 796 ], |
| 797 "enumDescriptions": [ |
| 798 "Unknown file type.", |
| 799 "YAML-specification of service.", |
| 800 "OpenAPI specification, serialized in JSON.", |
| 801 "OpenAPI specification, serialized in YAML.", |
| 802 "FileDescriptorSet, generated by protoc.\n\nTo generate,
use protoc with imports and source info included.\nFor an example test.proto fi
le, the following command would put the value\nin a new file named out.pb.\n\n$p
rotoc --include_imports --include_source_info test.proto -o out.pb" |
| 803 ], |
| 804 "type": "string" |
| 805 } |
| 806 }, |
| 807 "type": "object" |
| 808 }, |
| 809 "MonitoredResourceDescriptor": { |
| 810 "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.", |
| 811 "id": "MonitoredResourceDescriptor", |
| 812 "properties": { |
| 813 "displayName": { |
| 814 "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\"`.", |
| 815 "type": "string" |
| 816 }, |
| 817 "description": { |
| 818 "description": "Optional. A detailed description of the moni
tored resource type that might\nbe used in documentation.", |
| 819 "type": "string" |
| 820 }, |
| 821 "type": { |
| 822 "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.", |
| 823 "type": "string" |
| 824 }, |
| 825 "labels": { |
| 826 "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\"`.", |
| 827 "items": { |
| 828 "$ref": "LabelDescriptor" |
| 829 }, |
| 830 "type": "array" |
| 831 }, |
| 832 "name": { |
| 833 "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}\"`.", |
| 834 "type": "string" |
| 835 } |
| 836 }, |
| 837 "type": "object" |
| 838 }, |
| 839 "CustomErrorRule": { |
| 840 "description": "A custom error rule.", |
| 841 "id": "CustomErrorRule", |
| 842 "properties": { |
| 843 "isErrorType": { |
| 844 "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.", |
| 845 "type": "boolean" |
| 846 }, |
| 847 "selector": { |
| 848 "description": "Selects messages to which this rule applies.
\n\nRefer to selector for syntax details.", |
| 849 "type": "string" |
| 850 } |
| 851 }, |
| 852 "type": "object" |
| 853 }, |
| 854 "MediaDownload": { |
| 855 "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.", |
| 856 "id": "MediaDownload", |
| 857 "properties": { |
| 858 "enabled": { |
| 859 "description": "Whether download is enabled.", |
| 860 "type": "boolean" |
| 861 }, |
| 862 "downloadService": { |
| 863 "description": "DO NOT USE THIS FIELD UNTIL THIS WARNING IS
REMOVED.\n\nSpecify name of the download service if one is used for download.", |
| 864 "type": "string" |
| 865 } |
| 866 }, |
| 867 "type": "object" |
| 868 }, |
| 869 "ChangeReport": { |
| 870 "description": "Change report associated with a particular service c
onfiguration.\n\nIt contains a list of ConfigChanges based on the comparison bet
ween\ntwo service configurations.", |
| 871 "id": "ChangeReport", |
| 872 "properties": { |
| 873 "configChanges": { |
| 874 "description": "List of changes between two service configur
ations.\nThe changes will be alphabetically sorted based on the identifier\nof e
ach change.\nA ConfigChange identifier is a dot separated path to the configurat
ion.\nExample: visibility.rules[selector='LibraryService.CreateBook'].restrictio
n", |
| 875 "items": { |
| 876 "$ref": "ConfigChange" |
| 877 }, |
| 878 "type": "array" |
| 879 } |
| 880 }, |
| 881 "type": "object" |
| 882 }, |
| 883 "DisableServiceRequest": { |
| 884 "description": "Request message for DisableService method.", |
| 885 "id": "DisableServiceRequest", |
| 886 "properties": { |
| 887 "consumerId": { |
| 888 "description": "The identity of consumer resource which serv
ice disablement will be\napplied to.\n\nThe Google Service Management implementa
tion accepts the following\nforms:\n- \"project:<project_id>\"\n\nNote: this is
made compatible with\ngoogle.api.servicecontrol.v1.Operation.consumer_id.", |
| 889 "type": "string" |
| 890 } |
| 891 }, |
| 892 "type": "object" |
| 893 }, |
| 894 "SubmitConfigSourceResponse": { |
| 895 "description": "Response message for SubmitConfigSource method.", |
| 896 "id": "SubmitConfigSourceResponse", |
| 897 "properties": { |
| 898 "serviceConfig": { |
| 899 "$ref": "Service", |
| 900 "description": "The generated service configuration." |
| 901 } |
| 902 }, |
| 903 "type": "object" |
| 904 }, |
712 "MediaUpload": { | 905 "MediaUpload": { |
713 "description": "Do not use this. For media support, add instead\n[][
google.bytestream.RestByteStream] as an API to your\nconfiguration.", | 906 "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.", |
714 "id": "MediaUpload", | 907 "id": "MediaUpload", |
715 "properties": { | 908 "properties": { |
716 "enabled": { | 909 "enabled": { |
717 "description": "Whether upload is enabled.", | 910 "description": "Whether upload is enabled.", |
718 "type": "boolean" | 911 "type": "boolean" |
| 912 }, |
| 913 "uploadService": { |
| 914 "description": "DO NOT USE THIS FIELD UNTIL THIS WARNING IS
REMOVED.\n\nSpecify name of the upload service if one is used for upload.", |
| 915 "type": "string" |
719 } | 916 } |
720 }, | 917 }, |
721 "type": "object" | 918 "type": "object" |
722 }, | 919 }, |
723 "Advice": { | 920 "Advice": { |
724 "description": "Generated advice about this change, used for providi
ng more\ninformation about how a change will affect the existing service.", | 921 "description": "Generated advice about this change, used for providi
ng more\ninformation about how a change will affect the existing service.", |
725 "id": "Advice", | 922 "id": "Advice", |
726 "properties": { | 923 "properties": { |
727 "description": { | 924 "description": { |
728 "description": "Useful description for why this advice was a
pplied and what actions should\nbe taken to mitigate any implied risks.", | 925 "description": "Useful description for why this advice was a
pplied and what actions should\nbe taken to mitigate any implied risks.", |
729 "type": "string" | 926 "type": "string" |
730 } | 927 } |
731 }, | 928 }, |
732 "type": "object" | 929 "type": "object" |
733 }, | 930 }, |
734 "ManagedService": { | 931 "ManagedService": { |
735 "description": "The full representation of a Service that is managed
by\nGoogle Service Management.", | 932 "description": "The full representation of a Service that is managed
by\nGoogle Service Management.", |
736 "id": "ManagedService", | 933 "id": "ManagedService", |
737 "properties": { | 934 "properties": { |
| 935 "producerProjectId": { |
| 936 "description": "ID of the project that produces and owns thi
s service.", |
| 937 "type": "string" |
| 938 }, |
738 "serviceName": { | 939 "serviceName": { |
739 "description": "The name of the service. See the [overview](
/service-management/overview)\nfor naming requirements.", | 940 "description": "The name of the service. See the [overview](
/service-management/overview)\nfor naming requirements.", |
740 "type": "string" | 941 "type": "string" |
741 }, | |
742 "producerProjectId": { | |
743 "description": "ID of the project that produces and owns thi
s service.", | |
744 "type": "string" | |
745 } | 942 } |
746 }, | 943 }, |
747 "type": "object" | 944 "type": "object" |
748 }, | 945 }, |
749 "UsageRule": { | 946 "UsageRule": { |
750 "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", | 947 "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", |
751 "id": "UsageRule", | 948 "id": "UsageRule", |
752 "properties": { | 949 "properties": { |
| 950 "allowUnregisteredCalls": { |
| 951 "description": "True, if the method allows unregistered call
s; false otherwise.", |
| 952 "type": "boolean" |
| 953 }, |
753 "selector": { | 954 "selector": { |
754 "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.", | 955 "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.", |
755 "type": "string" | 956 "type": "string" |
756 }, | |
757 "allowUnregisteredCalls": { | |
758 "description": "True, if the method allows unregistered call
s; false otherwise.", | |
759 "type": "boolean" | |
760 } | 957 } |
761 }, | 958 }, |
762 "type": "object" | |
763 }, | |
764 "AuthRequirement": { | |
765 "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).", | |
766 "id": "AuthRequirement", | |
767 "properties": { | |
768 "audiences": { | |
769 "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", | |
770 "type": "string" | |
771 }, | |
772 "providerId": { | |
773 "description": "id from authentication provider.\n\nExample:
\n\n provider_id: bookstore_auth", | |
774 "type": "string" | |
775 } | |
776 }, | |
777 "type": "object" | 959 "type": "object" |
778 }, | 960 }, |
779 "TrafficPercentStrategy": { | 961 "TrafficPercentStrategy": { |
780 "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 }", | 962 "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 }", |
781 "id": "TrafficPercentStrategy", | 963 "id": "TrafficPercentStrategy", |
782 "properties": { | 964 "properties": { |
783 "percentages": { | 965 "percentages": { |
784 "additionalProperties": { | 966 "additionalProperties": { |
785 "format": "double", | 967 "format": "double", |
786 "type": "number" | 968 "type": "number" |
787 }, | 969 }, |
788 "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.", | 970 "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.", |
789 "type": "object" | 971 "type": "object" |
790 } | 972 } |
791 }, | 973 }, |
792 "type": "object" | 974 "type": "object" |
793 }, | 975 }, |
| 976 "AuthRequirement": { |
| 977 "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).", |
| 978 "id": "AuthRequirement", |
| 979 "properties": { |
| 980 "audiences": { |
| 981 "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", |
| 982 "type": "string" |
| 983 }, |
| 984 "providerId": { |
| 985 "description": "id from authentication provider.\n\nExample:
\n\n provider_id: bookstore_auth", |
| 986 "type": "string" |
| 987 } |
| 988 }, |
| 989 "type": "object" |
| 990 }, |
794 "Condition": { | 991 "Condition": { |
795 "description": "A condition to be met.", | 992 "description": "A condition to be met.", |
796 "id": "Condition", | 993 "id": "Condition", |
797 "properties": { | 994 "properties": { |
798 "sys": { | |
799 "description": "Trusted attributes supplied by any service t
hat owns resources and uses\nthe IAM system for access control.", | |
800 "enum": [ | |
801 "NO_ATTR", | |
802 "REGION", | |
803 "SERVICE", | |
804 "NAME", | |
805 "IP" | |
806 ], | |
807 "enumDescriptions": [ | |
808 "Default non-attribute type", | |
809 "Region of the resource", | |
810 "Service name", | |
811 "Resource name", | |
812 "IP address of the caller" | |
813 ], | |
814 "type": "string" | |
815 }, | |
816 "value": { | |
817 "description": "DEPRECATED. Use 'values' instead.", | |
818 "type": "string" | |
819 }, | |
820 "values": { | 995 "values": { |
821 "description": "The objects of the condition. This is mutual
ly exclusive with 'value'.", | 996 "description": "The objects of the condition. This is mutual
ly exclusive with 'value'.", |
822 "items": { | 997 "items": { |
823 "type": "string" | 998 "type": "string" |
824 }, | 999 }, |
825 "type": "array" | 1000 "type": "array" |
826 }, | 1001 }, |
827 "iam": { | 1002 "iam": { |
828 "description": "Trusted attributes supplied by the IAM syste
m.", | 1003 "description": "Trusted attributes supplied by the IAM syste
m.", |
829 "enum": [ | 1004 "enum": [ |
830 "NO_ATTR", | 1005 "NO_ATTR", |
831 "AUTHORITY", | 1006 "AUTHORITY", |
832 "ATTRIBUTION" | 1007 "ATTRIBUTION", |
| 1008 "APPROVER", |
| 1009 "JUSTIFICATION_TYPE" |
833 ], | 1010 ], |
834 "enumDescriptions": [ | 1011 "enumDescriptions": [ |
835 "Default non-attribute.", | 1012 "Default non-attribute.", |
836 "Either principal or (if present) authority selector.", | 1013 "Either principal or (if present) authority selector.", |
837 "The principal (even if an authority selector is present
), which\nmust only be used for attribution, not authorization." | 1014 "The principal (even if an authority selector is present
), which\nmust only be used for attribution, not authorization.", |
| 1015 "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.", |
| 1016 "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.
" |
838 ], | 1017 ], |
839 "type": "string" | 1018 "type": "string" |
840 }, | 1019 }, |
841 "op": { | 1020 "op": { |
842 "description": "An operator to apply the subject with.", | 1021 "description": "An operator to apply the subject with.", |
843 "enum": [ | 1022 "enum": [ |
844 "NO_OP", | 1023 "NO_OP", |
845 "EQUALS", | 1024 "EQUALS", |
846 "NOT_EQUALS", | 1025 "NOT_EQUALS", |
847 "IN", | 1026 "IN", |
848 "NOT_IN", | 1027 "NOT_IN", |
849 "DISCHARGED" | 1028 "DISCHARGED" |
850 ], | 1029 ], |
851 "enumDescriptions": [ | 1030 "enumDescriptions": [ |
852 "Default no-op.", | 1031 "Default no-op.", |
853 "DEPRECATED. Use IN instead.", | 1032 "DEPRECATED. Use IN instead.", |
854 "DEPRECATED. Use NOT_IN instead.", | 1033 "DEPRECATED. Use NOT_IN instead.", |
855 "Set-inclusion check.", | 1034 "The condition is true if the subject (or any element of
it if it is\na set) matches any of the supplied values.", |
856 "Set-exclusion check.", | 1035 "The condition is true if the subject (or every element
of it if it is\na set) matches none of the supplied values.", |
857 "Subject is discharged" | 1036 "Subject is discharged" |
858 ], | 1037 ], |
859 "type": "string" | 1038 "type": "string" |
860 }, | 1039 }, |
861 "svc": { | 1040 "svc": { |
862 "description": "Trusted attributes discharged by the service
.", | 1041 "description": "Trusted attributes discharged by the service
.", |
863 "type": "string" | 1042 "type": "string" |
| 1043 }, |
| 1044 "value": { |
| 1045 "description": "DEPRECATED. Use 'values' instead.", |
| 1046 "type": "string" |
| 1047 }, |
| 1048 "sys": { |
| 1049 "description": "Trusted attributes supplied by any service t
hat owns resources and uses\nthe IAM system for access control.", |
| 1050 "enum": [ |
| 1051 "NO_ATTR", |
| 1052 "REGION", |
| 1053 "SERVICE", |
| 1054 "NAME", |
| 1055 "IP" |
| 1056 ], |
| 1057 "enumDescriptions": [ |
| 1058 "Default non-attribute type", |
| 1059 "Region of the resource", |
| 1060 "Service name", |
| 1061 "Resource name", |
| 1062 "IP address of the caller" |
| 1063 ], |
| 1064 "type": "string" |
864 } | 1065 } |
865 }, | 1066 }, |
866 "type": "object" | 1067 "type": "object" |
867 }, | 1068 }, |
868 "Documentation": { | 1069 "Documentation": { |
869 "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.", | 1070 "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.", |
870 "id": "Documentation", | 1071 "id": "Documentation", |
871 "properties": { | 1072 "properties": { |
| 1073 "pages": { |
| 1074 "description": "The top level pages for the documentation se
t.", |
| 1075 "items": { |
| 1076 "$ref": "Page" |
| 1077 }, |
| 1078 "type": "array" |
| 1079 }, |
872 "summary": { | 1080 "summary": { |
873 "description": "A short summary of what the service does. Ca
n only be provided by\nplain text.", | 1081 "description": "A short summary of what the service does. Ca
n only be provided by\nplain text.", |
874 "type": "string" | 1082 "type": "string" |
875 }, | 1083 }, |
876 "documentationRootUrl": { | 1084 "documentationRootUrl": { |
877 "description": "The URL to the root of documentation.", | 1085 "description": "The URL to the root of documentation.", |
878 "type": "string" | 1086 "type": "string" |
879 }, | 1087 }, |
880 "rules": { | 1088 "rules": { |
881 "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.", | 1089 "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.", |
882 "items": { | 1090 "items": { |
883 "$ref": "DocumentationRule" | 1091 "$ref": "DocumentationRule" |
884 }, | 1092 }, |
885 "type": "array" | 1093 "type": "array" |
886 }, | 1094 }, |
887 "overview": { | 1095 "overview": { |
888 "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.", | 1096 "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.", |
889 "type": "string" | 1097 "type": "string" |
890 }, | |
891 "pages": { | |
892 "description": "The top level pages for the documentation se
t.", | |
893 "items": { | |
894 "$ref": "Page" | |
895 }, | |
896 "type": "array" | |
897 } | 1098 } |
898 }, | 1099 }, |
899 "type": "object" | 1100 "type": "object" |
900 }, | 1101 }, |
901 "AuditLogConfig": { | 1102 "AuditLogConfig": { |
902 "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.", | 1103 "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.", |
903 "id": "AuditLogConfig", | 1104 "id": "AuditLogConfig", |
904 "properties": { | 1105 "properties": { |
905 "exemptedMembers": { | 1106 "exemptedMembers": { |
906 "description": "Specifies the identities that do not cause l
ogging for this type of\npermission.\nFollows the same format of Binding.members
.", | 1107 "description": "Specifies the identities that do not cause l
ogging for this type of\npermission.\nFollows the same format of Binding.members
.", |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
943 }, | 1144 }, |
944 "type": "array" | 1145 "type": "array" |
945 } | 1146 } |
946 }, | 1147 }, |
947 "type": "object" | 1148 "type": "object" |
948 }, | 1149 }, |
949 "BackendRule": { | 1150 "BackendRule": { |
950 "description": "A backend rule provides configuration for an individ
ual API element.", | 1151 "description": "A backend rule provides configuration for an individ
ual API element.", |
951 "id": "BackendRule", | 1152 "id": "BackendRule", |
952 "properties": { | 1153 "properties": { |
| 1154 "deadline": { |
| 1155 "description": "The number of seconds to wait for a response
from a request. The\ndefault depends on the deployment context.", |
| 1156 "format": "double", |
| 1157 "type": "number" |
| 1158 }, |
953 "address": { | 1159 "address": { |
954 "description": "The address of the API backend.", | 1160 "description": "The address of the API backend.", |
955 "type": "string" | 1161 "type": "string" |
956 }, | 1162 }, |
957 "selector": { | 1163 "selector": { |
958 "description": "Selects the methods to which this rule appli
es.\n\nRefer to selector for syntax details.", | 1164 "description": "Selects the methods to which this rule appli
es.\n\nRefer to selector for syntax details.", |
959 "type": "string" | 1165 "type": "string" |
960 }, | |
961 "deadline": { | |
962 "description": "The number of seconds to wait for a response
from a request. The\ndefault depends on the deployment context.", | |
963 "format": "double", | |
964 "type": "number" | |
965 } | 1166 } |
966 }, | 1167 }, |
967 "type": "object" | 1168 "type": "object" |
968 }, | 1169 }, |
969 "AuthenticationRule": { | 1170 "AuthenticationRule": { |
970 "description": "Authentication rules for the service.\n\nBy default,
if a method has any authentication requirements, every request\nmust include a
valid credential matching one of the requirements.\nIt's an error to include mor
e than one kind of credential in a single\nrequest.\n\nIf a method doesn't have
any auth requirements, request credentials will be\nignored.", | 1171 "description": "Authentication rules for the service.\n\nBy default,
if a method has any authentication requirements, every request\nmust include a
valid credential matching one of the requirements.\nIt's an error to include mor
e than one kind of credential in a single\nrequest.\n\nIf a method doesn't have
any auth requirements, request credentials will be\nignored.", |
971 "id": "AuthenticationRule", | 1172 "id": "AuthenticationRule", |
972 "properties": { | 1173 "properties": { |
973 "oauth": { | |
974 "$ref": "OAuthRequirements", | |
975 "description": "The requirements for OAuth credentials." | |
976 }, | |
977 "requirements": { | 1174 "requirements": { |
978 "description": "Requirements for additional authentication p
roviders.", | 1175 "description": "Requirements for additional authentication p
roviders.", |
979 "items": { | 1176 "items": { |
980 "$ref": "AuthRequirement" | 1177 "$ref": "AuthRequirement" |
981 }, | 1178 }, |
982 "type": "array" | 1179 "type": "array" |
983 }, | 1180 }, |
984 "selector": { | 1181 "selector": { |
985 "description": "Selects the methods to which this rule appli
es.\n\nRefer to selector for syntax details.", | 1182 "description": "Selects the methods to which this rule appli
es.\n\nRefer to selector for syntax details.", |
986 "type": "string" | 1183 "type": "string" |
987 }, | 1184 }, |
988 "allowWithoutCredential": { | 1185 "allowWithoutCredential": { |
989 "description": "Whether to allow requests without a credenti
al. The credential can be\nan OAuth token, Google cookies (first-party auth) or
EndUserCreds.\n\nFor requests without credentials, if the service control enviro
nment is\nspecified, each incoming request **must** be associated with a service
\nconsumer. This can be done by passing an API key that belongs to a consumer\np
roject.", | 1186 "description": "Whether to allow requests without a credenti
al. The credential can be\nan OAuth token, Google cookies (first-party auth) or
EndUserCreds.\n\nFor requests without credentials, if the service control enviro
nment is\nspecified, each incoming request **must** be associated with a service
\nconsumer. This can be done by passing an API key that belongs to a consumer\np
roject.", |
990 "type": "boolean" | 1187 "type": "boolean" |
| 1188 }, |
| 1189 "oauth": { |
| 1190 "$ref": "OAuthRequirements", |
| 1191 "description": "The requirements for OAuth credentials." |
991 } | 1192 } |
992 }, | 1193 }, |
993 "type": "object" | 1194 "type": "object" |
| 1195 }, |
| 1196 "UndeleteServiceResponse": { |
| 1197 "description": "Response message for UndeleteService method.", |
| 1198 "id": "UndeleteServiceResponse", |
| 1199 "properties": { |
| 1200 "service": { |
| 1201 "$ref": "ManagedService", |
| 1202 "description": "Revived service resource." |
| 1203 } |
| 1204 }, |
| 1205 "type": "object" |
994 }, | 1206 }, |
995 "Policy": { | 1207 "Policy": { |
996 "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).", | 1208 "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).", |
997 "id": "Policy", | 1209 "id": "Policy", |
998 "properties": { | 1210 "properties": { |
999 "auditConfigs": { | 1211 "auditConfigs": { |
1000 "description": "Specifies cloud audit logging configuration
for this policy.", | 1212 "description": "Specifies cloud audit logging configuration
for this policy.", |
1001 "items": { | 1213 "items": { |
1002 "$ref": "AuditConfig" | 1214 "$ref": "AuditConfig" |
1003 }, | 1215 }, |
(...skipping 22 matching lines...) Expand all Loading... |
1026 "type": "array" | 1238 "type": "array" |
1027 }, | 1239 }, |
1028 "version": { | 1240 "version": { |
1029 "description": "Version of the `Policy`. The default version
is 0.", | 1241 "description": "Version of the `Policy`. The default version
is 0.", |
1030 "format": "int32", | 1242 "format": "int32", |
1031 "type": "integer" | 1243 "type": "integer" |
1032 } | 1244 } |
1033 }, | 1245 }, |
1034 "type": "object" | 1246 "type": "object" |
1035 }, | 1247 }, |
1036 "UndeleteServiceResponse": { | |
1037 "description": "Response message for UndeleteService method.", | |
1038 "id": "UndeleteServiceResponse", | |
1039 "properties": { | |
1040 "service": { | |
1041 "$ref": "ManagedService", | |
1042 "description": "Revived service resource." | |
1043 } | |
1044 }, | |
1045 "type": "object" | |
1046 }, | |
1047 "Api": { | 1248 "Api": { |
1048 "description": "Api is a light-weight descriptor for a protocol buff
er service.", | 1249 "description": "Api is a light-weight descriptor for a protocol buff
er service.", |
1049 "id": "Api", | 1250 "id": "Api", |
1050 "properties": { | 1251 "properties": { |
| 1252 "mixins": { |
| 1253 "description": "Included APIs. See Mixin.", |
| 1254 "items": { |
| 1255 "$ref": "Mixin" |
| 1256 }, |
| 1257 "type": "array" |
| 1258 }, |
| 1259 "options": { |
| 1260 "description": "Any metadata attached to the API.", |
| 1261 "items": { |
| 1262 "$ref": "Option" |
| 1263 }, |
| 1264 "type": "array" |
| 1265 }, |
1051 "methods": { | 1266 "methods": { |
1052 "description": "The methods of this api, in unspecified orde
r.", | 1267 "description": "The methods of this api, in unspecified orde
r.", |
1053 "items": { | 1268 "items": { |
1054 "$ref": "Method" | 1269 "$ref": "Method" |
1055 }, | 1270 }, |
1056 "type": "array" | 1271 "type": "array" |
1057 }, | 1272 }, |
1058 "name": { | 1273 "name": { |
1059 "description": "The fully qualified name of this api, includ
ing package name\nfollowed by the api's simple name.", | 1274 "description": "The fully qualified name of this api, includ
ing package name\nfollowed by the api's simple name.", |
1060 "type": "string" | 1275 "type": "string" |
(...skipping 10 matching lines...) Expand all Loading... |
1071 ], | 1286 ], |
1072 "type": "string" | 1287 "type": "string" |
1073 }, | 1288 }, |
1074 "sourceContext": { | 1289 "sourceContext": { |
1075 "$ref": "SourceContext", | 1290 "$ref": "SourceContext", |
1076 "description": "Source context for the protocol buffer servi
ce represented by this\nmessage." | 1291 "description": "Source context for the protocol buffer servi
ce represented by this\nmessage." |
1077 }, | 1292 }, |
1078 "version": { | 1293 "version": { |
1079 "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", | 1294 "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", |
1080 "type": "string" | 1295 "type": "string" |
1081 }, | |
1082 "mixins": { | |
1083 "description": "Included APIs. See Mixin.", | |
1084 "items": { | |
1085 "$ref": "Mixin" | |
1086 }, | |
1087 "type": "array" | |
1088 }, | |
1089 "options": { | |
1090 "description": "Any metadata attached to the API.", | |
1091 "items": { | |
1092 "$ref": "Option" | |
1093 }, | |
1094 "type": "array" | |
1095 } | 1296 } |
1096 }, | 1297 }, |
1097 "type": "object" | 1298 "type": "object" |
1098 }, | 1299 }, |
1099 "DataAccessOptions": { | 1300 "DataAccessOptions": { |
1100 "description": "Write a Data Access (Gin) log", | 1301 "description": "Write a Data Access (Gin) log", |
1101 "id": "DataAccessOptions", | 1302 "id": "DataAccessOptions", |
1102 "properties": {}, | 1303 "properties": {}, |
1103 "type": "object" | 1304 "type": "object" |
1104 }, | 1305 }, |
1105 "Authentication": { | 1306 "Authentication": { |
1106 "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", | 1307 "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", |
1107 "id": "Authentication", | 1308 "id": "Authentication", |
1108 "properties": { | 1309 "properties": { |
| 1310 "providers": { |
| 1311 "description": "Defines a set of authentication providers th
at a service supports.", |
| 1312 "items": { |
| 1313 "$ref": "AuthProvider" |
| 1314 }, |
| 1315 "type": "array" |
| 1316 }, |
1109 "rules": { | 1317 "rules": { |
1110 "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.", | 1318 "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.", |
1111 "items": { | 1319 "items": { |
1112 "$ref": "AuthenticationRule" | 1320 "$ref": "AuthenticationRule" |
1113 }, | 1321 }, |
1114 "type": "array" | 1322 "type": "array" |
1115 }, | |
1116 "providers": { | |
1117 "description": "Defines a set of authentication providers th
at a service supports.", | |
1118 "items": { | |
1119 "$ref": "AuthProvider" | |
1120 }, | |
1121 "type": "array" | |
1122 } | 1323 } |
1123 }, | 1324 }, |
1124 "type": "object" | 1325 "type": "object" |
1125 }, | 1326 }, |
1126 "Operation": { | 1327 "Operation": { |
1127 "description": "This resource represents a long-running operation th
at is the result of a\nnetwork API call.", | 1328 "description": "This resource represents a long-running operation th
at is the result of a\nnetwork API call.", |
1128 "id": "Operation", | 1329 "id": "Operation", |
1129 "properties": { | 1330 "properties": { |
| 1331 "error": { |
| 1332 "$ref": "Status", |
| 1333 "description": "The error result of the operation in case of
failure or cancellation." |
| 1334 }, |
1130 "metadata": { | 1335 "metadata": { |
1131 "additionalProperties": { | 1336 "additionalProperties": { |
1132 "description": "Properties of the object. Contains field
@type with type URL.", | 1337 "description": "Properties of the object. Contains field
@type with type URL.", |
1133 "type": "any" | 1338 "type": "any" |
1134 }, | 1339 }, |
1135 "description": "Service-specific metadata associated with th
e operation. It typically\ncontains progress information and common metadata su
ch as create time.\nSome services might not provide such metadata. Any method t
hat returns a\nlong-running operation should document the metadata type, if any.
", | 1340 "description": "Service-specific metadata associated with th
e operation. It typically\ncontains progress information and common metadata su
ch as create time.\nSome services might not provide such metadata. Any method t
hat returns a\nlong-running operation should document the metadata type, if any.
", |
1136 "type": "object" | 1341 "type": "object" |
1137 }, | 1342 }, |
1138 "done": { | 1343 "done": { |
1139 "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.", | 1344 "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.", |
1140 "type": "boolean" | 1345 "type": "boolean" |
1141 }, | 1346 }, |
1142 "response": { | 1347 "response": { |
1143 "additionalProperties": { | 1348 "additionalProperties": { |
1144 "description": "Properties of the object. Contains field
@type with type URL.", | 1349 "description": "Properties of the object. Contains field
@type with type URL.", |
1145 "type": "any" | 1350 "type": "any" |
1146 }, | 1351 }, |
1147 "description": "The normal response of the operation in case
of success. If the original\nmethod returns no data on success, such as `Delet
e`, the response is\n`google.protobuf.Empty`. If the original method is standar
d\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmet
hods, the response should have the type `XxxResponse`, where `Xxx`\nis the origi
nal method name. For example, if the original method name\nis `TakeSnapshot()`,
the inferred response type is\n`TakeSnapshotResponse`.", | 1352 "description": "The normal response of the operation in case
of success. If the original\nmethod returns no data on success, such as `Delet
e`, the response is\n`google.protobuf.Empty`. If the original method is standar
d\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmet
hods, the response should have the type `XxxResponse`, where `Xxx`\nis the origi
nal method name. For example, if the original method name\nis `TakeSnapshot()`,
the inferred response type is\n`TakeSnapshotResponse`.", |
1148 "type": "object" | 1353 "type": "object" |
1149 }, | 1354 }, |
1150 "name": { | 1355 "name": { |
1151 "description": "The server-assigned name, which is only uniq
ue within the same service that\noriginally returns it. If you use the default H
TTP mapping, the\n`name` should have the format of `operations/some/unique/name`
.", | 1356 "description": "The server-assigned name, which is only uniq
ue within the same service that\noriginally returns it. If you use the default H
TTP mapping, the\n`name` should have the format of `operations/some/unique/name`
.", |
1152 "type": "string" | 1357 "type": "string" |
1153 }, | |
1154 "error": { | |
1155 "$ref": "Status", | |
1156 "description": "The error result of the operation in case of
failure or cancellation." | |
1157 } | 1358 } |
1158 }, | 1359 }, |
1159 "type": "object" | 1360 "type": "object" |
1160 }, | 1361 }, |
1161 "Page": { | 1362 "Page": { |
1162 "description": "Represents a documentation page. A page can contain
subpages to represent\nnested documentation set structure.", | 1363 "description": "Represents a documentation page. A page can contain
subpages to represent\nnested documentation set structure.", |
1163 "id": "Page", | 1364 "id": "Page", |
1164 "properties": { | 1365 "properties": { |
| 1366 "subpages": { |
| 1367 "description": "Subpages of this page. The order of subpages
specified here will be\nhonored in the generated docset.", |
| 1368 "items": { |
| 1369 "$ref": "Page" |
| 1370 }, |
| 1371 "type": "array" |
| 1372 }, |
1165 "name": { | 1373 "name": { |
1166 "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`.", | 1374 "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`.", |
1167 "type": "string" | 1375 "type": "string" |
1168 }, | 1376 }, |
1169 "content": { | 1377 "content": { |
1170 "description": "The Markdown content of the page. You can us
e <code>(== include {path} ==)</code>\nto include content from a Markdow
n file.", | 1378 "description": "The Markdown content of the page. You can us
e <code>(== include {path} ==)</code>\nto include content from a Markdow
n file.", |
1171 "type": "string" | 1379 "type": "string" |
1172 }, | |
1173 "subpages": { | |
1174 "description": "Subpages of this page. The order of subpages
specified here will be\nhonored in the generated docset.", | |
1175 "items": { | |
1176 "$ref": "Page" | |
1177 }, | |
1178 "type": "array" | |
1179 } | 1380 } |
1180 }, | 1381 }, |
1181 "type": "object" | 1382 "type": "object" |
1182 }, | 1383 }, |
1183 "Status": { | 1384 "Status": { |
1184 "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.", | 1385 "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.", |
1185 "id": "Status", | 1386 "id": "Status", |
1186 "properties": { | 1387 "properties": { |
1187 "code": { | 1388 "code": { |
1188 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", | 1389 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1222 "description": "Role that is assigned to `members`.\nFor exa
mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", | 1423 "description": "Role that is assigned to `members`.\nFor exa
mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", |
1223 "type": "string" | 1424 "type": "string" |
1224 } | 1425 } |
1225 }, | 1426 }, |
1226 "type": "object" | 1427 "type": "object" |
1227 }, | 1428 }, |
1228 "AuthProvider": { | 1429 "AuthProvider": { |
1229 "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).", | 1430 "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).", |
1230 "id": "AuthProvider", | 1431 "id": "AuthProvider", |
1231 "properties": { | 1432 "properties": { |
| 1433 "audiences": { |
| 1434 "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", |
| 1435 "type": "string" |
| 1436 }, |
1232 "id": { | 1437 "id": { |
1233 "description": "The unique identifier of the auth provider.
It will be referred to by\n`AuthRequirement.provider_id`.\n\nExample: \"bookstor
e_auth\".", | 1438 "description": "The unique identifier of the auth provider.
It will be referred to by\n`AuthRequirement.provider_id`.\n\nExample: \"bookstor
e_auth\".", |
1234 "type": "string" | 1439 "type": "string" |
1235 }, | 1440 }, |
1236 "issuer": { | 1441 "issuer": { |
1237 "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", | 1442 "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", |
1238 "type": "string" | 1443 "type": "string" |
1239 }, | 1444 }, |
1240 "jwksUri": { | 1445 "jwksUri": { |
1241 "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", | 1446 "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", |
1242 "type": "string" | 1447 "type": "string" |
1243 }, | |
1244 "audiences": { | |
1245 "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", | |
1246 "type": "string" | |
1247 } | 1448 } |
1248 }, | 1449 }, |
1249 "type": "object" | 1450 "type": "object" |
| 1451 }, |
| 1452 "EnumValue": { |
| 1453 "description": "Enum value definition.", |
| 1454 "id": "EnumValue", |
| 1455 "properties": { |
| 1456 "name": { |
| 1457 "description": "Enum value name.", |
| 1458 "type": "string" |
| 1459 }, |
| 1460 "options": { |
| 1461 "description": "Protocol buffer options.", |
| 1462 "items": { |
| 1463 "$ref": "Option" |
| 1464 }, |
| 1465 "type": "array" |
| 1466 }, |
| 1467 "number": { |
| 1468 "description": "Enum value number.", |
| 1469 "format": "int32", |
| 1470 "type": "integer" |
| 1471 } |
| 1472 }, |
| 1473 "type": "object" |
1250 }, | 1474 }, |
1251 "Service": { | 1475 "Service": { |
1252 "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", | 1476 "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", |
1253 "id": "Service", | 1477 "id": "Service", |
1254 "properties": { | 1478 "properties": { |
| 1479 "types": { |
| 1480 "description": "A list of all proto message types included i
n this API service.\nTypes referenced directly or indirectly by the `apis` are\n
automatically included. Messages which are not referenced but\nshall be include
d, such as types used by the `google.protobuf.Any` type,\nshould be listed here
by name. Example:\n\n types:\n - name: google.protobuf.Int32", |
| 1481 "items": { |
| 1482 "$ref": "Type" |
| 1483 }, |
| 1484 "type": "array" |
| 1485 }, |
| 1486 "http": { |
| 1487 "$ref": "Http", |
| 1488 "description": "HTTP configuration." |
| 1489 }, |
| 1490 "systemParameters": { |
| 1491 "$ref": "SystemParameters", |
| 1492 "description": "System parameter configuration." |
| 1493 }, |
| 1494 "backend": { |
| 1495 "$ref": "Backend", |
| 1496 "description": "API backend configuration." |
| 1497 }, |
| 1498 "documentation": { |
| 1499 "$ref": "Documentation", |
| 1500 "description": "Additional API documentation." |
| 1501 }, |
| 1502 "logging": { |
| 1503 "$ref": "Logging", |
| 1504 "description": "Logging configuration." |
| 1505 }, |
| 1506 "monitoredResources": { |
| 1507 "description": "Defines the monitored resources used by this
service. This is required\nby the Service.monitoring and Service.logging config
urations.", |
| 1508 "items": { |
| 1509 "$ref": "MonitoredResourceDescriptor" |
| 1510 }, |
| 1511 "type": "array" |
| 1512 }, |
| 1513 "context": { |
| 1514 "$ref": "Context", |
| 1515 "description": "Context configuration." |
| 1516 }, |
| 1517 "enums": { |
| 1518 "description": "A list of all enum types included in this AP
I service. Enums\nreferenced directly or indirectly by the `apis` are automatic
ally\nincluded. Enums which are not referenced but shall be included\nshould be
listed here by name. Example:\n\n enums:\n - name: google.someapi.v1.Some
Enum", |
| 1519 "items": { |
| 1520 "$ref": "Enum" |
| 1521 }, |
| 1522 "type": "array" |
| 1523 }, |
| 1524 "id": { |
| 1525 "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.", |
| 1526 "type": "string" |
| 1527 }, |
1255 "usage": { | 1528 "usage": { |
1256 "$ref": "Usage", | 1529 "$ref": "Usage", |
1257 "description": "Configuration controlling usage of this serv
ice." | 1530 "description": "Configuration controlling usage of this serv
ice." |
1258 }, | 1531 }, |
1259 "metrics": { | 1532 "metrics": { |
1260 "description": "Defines the metrics used by this service.", | 1533 "description": "Defines the metrics used by this service.", |
1261 "items": { | 1534 "items": { |
1262 "$ref": "MetricDescriptor" | 1535 "$ref": "MetricDescriptor" |
1263 }, | 1536 }, |
1264 "type": "array" | 1537 "type": "array" |
1265 }, | 1538 }, |
1266 "authentication": { | 1539 "authentication": { |
1267 "$ref": "Authentication", | 1540 "$ref": "Authentication", |
1268 "description": "Auth configuration." | 1541 "description": "Auth configuration." |
1269 }, | 1542 }, |
| 1543 "experimental": { |
| 1544 "$ref": "Experimental", |
| 1545 "description": "Experimental configuration." |
| 1546 }, |
1270 "control": { | 1547 "control": { |
1271 "$ref": "Control", | 1548 "$ref": "Control", |
1272 "description": "Configuration for the service control plane.
" | 1549 "description": "Configuration for the service control plane.
" |
1273 }, | 1550 }, |
1274 "configVersion": { | 1551 "configVersion": { |
1275 "description": "The version of the service configuration. Th
e config version may\ninfluence interpretation of the configuration, for example
, to\ndetermine defaults. This is documented together with applicable\noptions.
The current default for the config version itself is `3`.", | 1552 "description": "The version of the service configuration. Th
e config version may\ninfluence interpretation of the configuration, for example
, to\ndetermine defaults. This is documented together with applicable\noptions.
The current default for the config version itself is `3`.", |
1276 "format": "uint32", | 1553 "format": "uint32", |
1277 "type": "integer" | 1554 "type": "integer" |
1278 }, | 1555 }, |
1279 "monitoring": { | 1556 "monitoring": { |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1320 "$ref": "Api" | 1597 "$ref": "Api" |
1321 }, | 1598 }, |
1322 "type": "array" | 1599 "type": "array" |
1323 }, | 1600 }, |
1324 "logs": { | 1601 "logs": { |
1325 "description": "Defines the logs used by this service.", | 1602 "description": "Defines the logs used by this service.", |
1326 "items": { | 1603 "items": { |
1327 "$ref": "LogDescriptor" | 1604 "$ref": "LogDescriptor" |
1328 }, | 1605 }, |
1329 "type": "array" | 1606 "type": "array" |
| 1607 } |
| 1608 }, |
| 1609 "type": "object" |
| 1610 }, |
| 1611 "CustomHttpPattern": { |
| 1612 "description": "A custom pattern is used for defining custom HTTP ve
rb.", |
| 1613 "id": "CustomHttpPattern", |
| 1614 "properties": { |
| 1615 "kind": { |
| 1616 "description": "The name of this custom HTTP verb.", |
| 1617 "type": "string" |
1330 }, | 1618 }, |
1331 "types": { | 1619 "path": { |
1332 "description": "A list of all proto message types included i
n this API service.\nTypes referenced directly or indirectly by the `apis` are\n
automatically included. Messages which are not referenced but\nshall be include
d, such as types used by the `google.protobuf.Any` type,\nshould be listed here
by name. Example:\n\n types:\n - name: google.protobuf.Int32", | 1620 "description": "The path matched by this custom verb.", |
1333 "items": { | |
1334 "$ref": "Type" | |
1335 }, | |
1336 "type": "array" | |
1337 }, | |
1338 "http": { | |
1339 "$ref": "Http", | |
1340 "description": "HTTP configuration." | |
1341 }, | |
1342 "systemParameters": { | |
1343 "$ref": "SystemParameters", | |
1344 "description": "System parameter configuration." | |
1345 }, | |
1346 "backend": { | |
1347 "$ref": "Backend", | |
1348 "description": "API backend configuration." | |
1349 }, | |
1350 "documentation": { | |
1351 "$ref": "Documentation", | |
1352 "description": "Additional API documentation." | |
1353 }, | |
1354 "logging": { | |
1355 "$ref": "Logging", | |
1356 "description": "Logging configuration." | |
1357 }, | |
1358 "monitoredResources": { | |
1359 "description": "Defines the monitored resources used by this
service. This is required\nby the Service.monitoring and Service.logging config
urations.", | |
1360 "items": { | |
1361 "$ref": "MonitoredResourceDescriptor" | |
1362 }, | |
1363 "type": "array" | |
1364 }, | |
1365 "enums": { | |
1366 "description": "A list of all enum types included in this AP
I service. Enums\nreferenced directly or indirectly by the `apis` are automatic
ally\nincluded. Enums which are not referenced but shall be included\nshould be
listed here by name. Example:\n\n enums:\n - name: google.someapi.v1.Some
Enum", | |
1367 "items": { | |
1368 "$ref": "Enum" | |
1369 }, | |
1370 "type": "array" | |
1371 }, | |
1372 "context": { | |
1373 "$ref": "Context", | |
1374 "description": "Context configuration." | |
1375 }, | |
1376 "id": { | |
1377 "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.", | |
1378 "type": "string" | 1621 "type": "string" |
1379 } | 1622 } |
1380 }, | 1623 }, |
1381 "type": "object" | 1624 "type": "object" |
1382 }, | |
1383 "EnumValue": { | |
1384 "description": "Enum value definition.", | |
1385 "id": "EnumValue", | |
1386 "properties": { | |
1387 "name": { | |
1388 "description": "Enum value name.", | |
1389 "type": "string" | |
1390 }, | |
1391 "options": { | |
1392 "description": "Protocol buffer options.", | |
1393 "items": { | |
1394 "$ref": "Option" | |
1395 }, | |
1396 "type": "array" | |
1397 }, | |
1398 "number": { | |
1399 "description": "Enum value number.", | |
1400 "format": "int32", | |
1401 "type": "integer" | |
1402 } | |
1403 }, | |
1404 "type": "object" | |
1405 }, | 1625 }, |
1406 "OperationMetadata": { | 1626 "OperationMetadata": { |
1407 "description": "The metadata associated with a long running operatio
n resource.", | 1627 "description": "The metadata associated with a long running operatio
n resource.", |
1408 "id": "OperationMetadata", | 1628 "id": "OperationMetadata", |
1409 "properties": { | 1629 "properties": { |
1410 "startTime": { | 1630 "startTime": { |
1411 "description": "The start time of the operation.", | 1631 "description": "The start time of the operation.", |
1412 "format": "google-datetime", | 1632 "format": "google-datetime", |
1413 "type": "string" | 1633 "type": "string" |
1414 }, | 1634 }, |
(...skipping 12 matching lines...) Expand all Loading... |
1427 "type": "array" | 1647 "type": "array" |
1428 }, | 1648 }, |
1429 "progressPercentage": { | 1649 "progressPercentage": { |
1430 "description": "Percentage of completion of this operation,
ranging from 0 to 100.", | 1650 "description": "Percentage of completion of this operation,
ranging from 0 to 100.", |
1431 "format": "int32", | 1651 "format": "int32", |
1432 "type": "integer" | 1652 "type": "integer" |
1433 } | 1653 } |
1434 }, | 1654 }, |
1435 "type": "object" | 1655 "type": "object" |
1436 }, | 1656 }, |
1437 "CustomHttpPattern": { | |
1438 "description": "A custom pattern is used for defining custom HTTP ve
rb.", | |
1439 "id": "CustomHttpPattern", | |
1440 "properties": { | |
1441 "path": { | |
1442 "description": "The path matched by this custom verb.", | |
1443 "type": "string" | |
1444 }, | |
1445 "kind": { | |
1446 "description": "The name of this custom HTTP verb.", | |
1447 "type": "string" | |
1448 } | |
1449 }, | |
1450 "type": "object" | |
1451 }, | |
1452 "SystemParameterRule": { | 1657 "SystemParameterRule": { |
1453 "description": "Define a system parameter rule mapping system parame
ter definitions to\nmethods.", | 1658 "description": "Define a system parameter rule mapping system parame
ter definitions to\nmethods.", |
1454 "id": "SystemParameterRule", | 1659 "id": "SystemParameterRule", |
1455 "properties": { | 1660 "properties": { |
1456 "parameters": { | 1661 "parameters": { |
1457 "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.", | 1662 "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.", |
1458 "items": { | 1663 "items": { |
1459 "$ref": "SystemParameter" | 1664 "$ref": "SystemParameter" |
1460 }, | 1665 }, |
1461 "type": "array" | 1666 "type": "array" |
1462 }, | 1667 }, |
1463 "selector": { | 1668 "selector": { |
1464 "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.", | 1669 "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.", |
1465 "type": "string" | 1670 "type": "string" |
1466 } | 1671 } |
1467 }, | 1672 }, |
1468 "type": "object" | 1673 "type": "object" |
1469 }, | 1674 }, |
1470 "VisibilityRule": { | |
1471 "description": "A visibility rule provides visibility configuration
for an individual API\nelement.", | |
1472 "id": "VisibilityRule", | |
1473 "properties": { | |
1474 "restriction": { | |
1475 "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.", | |
1476 "type": "string" | |
1477 }, | |
1478 "selector": { | |
1479 "description": "Selects methods, messages, fields, enums, et
c. to which this rule applies.\n\nRefer to selector for syntax details.", | |
1480 "type": "string" | |
1481 } | |
1482 }, | |
1483 "type": "object" | |
1484 }, | |
1485 "HttpRule": { | 1675 "HttpRule": { |
1486 "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.", | 1676 "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.", |
1487 "id": "HttpRule", | 1677 "id": "HttpRule", |
1488 "properties": { | 1678 "properties": { |
1489 "body": { | |
1490 "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.", | |
1491 "type": "string" | |
1492 }, | |
1493 "mediaDownload": { | |
1494 "$ref": "MediaDownload", | |
1495 "description": "Do not use this. For media support, add inst
ead\n[][google.bytestream.RestByteStream] as an API to your\nconfiguration." | |
1496 }, | |
1497 "post": { | |
1498 "description": "Used for creating a resource.", | |
1499 "type": "string" | |
1500 }, | |
1501 "additionalBindings": { | |
1502 "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).", | |
1503 "items": { | |
1504 "$ref": "HttpRule" | |
1505 }, | |
1506 "type": "array" | |
1507 }, | |
1508 "responseBody": { | |
1509 "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.", | |
1510 "type": "string" | |
1511 }, | |
1512 "mediaUpload": { | 1679 "mediaUpload": { |
1513 "$ref": "MediaUpload", | 1680 "$ref": "MediaUpload", |
1514 "description": "Do not use this. For media support, add inst
ead\n[][google.bytestream.RestByteStream] as an API to your\nconfiguration." | 1681 "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." |
1515 }, | 1682 }, |
1516 "selector": { | 1683 "selector": { |
1517 "description": "Selects methods to which this rule applies.\
n\nRefer to selector for syntax details.", | 1684 "description": "Selects methods to which this rule applies.\
n\nRefer to selector for syntax details.", |
1518 "type": "string" | 1685 "type": "string" |
1519 }, | 1686 }, |
1520 "custom": { | 1687 "custom": { |
1521 "$ref": "CustomHttpPattern", | 1688 "$ref": "CustomHttpPattern", |
1522 "description": "Custom pattern is used for defining custom v
erbs." | 1689 "description": "Custom pattern is used for defining custom v
erbs." |
1523 }, | 1690 }, |
| 1691 "patch": { |
| 1692 "description": "Used for updating a resource.", |
| 1693 "type": "string" |
| 1694 }, |
1524 "get": { | 1695 "get": { |
1525 "description": "Used for listing and getting information abo
ut resources.", | 1696 "description": "Used for listing and getting information abo
ut resources.", |
1526 "type": "string" | 1697 "type": "string" |
1527 }, | 1698 }, |
1528 "patch": { | |
1529 "description": "Used for updating a resource.", | |
1530 "type": "string" | |
1531 }, | |
1532 "put": { | 1699 "put": { |
1533 "description": "Used for updating a resource.", | 1700 "description": "Used for updating a resource.", |
1534 "type": "string" | 1701 "type": "string" |
1535 }, | 1702 }, |
1536 "delete": { | 1703 "delete": { |
1537 "description": "Used for deleting a resource.", | 1704 "description": "Used for deleting a resource.", |
1538 "type": "string" | 1705 "type": "string" |
| 1706 }, |
| 1707 "body": { |
| 1708 "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.", |
| 1709 "type": "string" |
| 1710 }, |
| 1711 "post": { |
| 1712 "description": "Used for creating a resource.", |
| 1713 "type": "string" |
| 1714 }, |
| 1715 "mediaDownload": { |
| 1716 "$ref": "MediaDownload", |
| 1717 "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." |
| 1718 }, |
| 1719 "additionalBindings": { |
| 1720 "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).", |
| 1721 "items": { |
| 1722 "$ref": "HttpRule" |
| 1723 }, |
| 1724 "type": "array" |
| 1725 }, |
| 1726 "responseBody": { |
| 1727 "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.", |
| 1728 "type": "string" |
1539 } | 1729 } |
1540 }, | 1730 }, |
| 1731 "type": "object" |
| 1732 }, |
| 1733 "VisibilityRule": { |
| 1734 "description": "A visibility rule provides visibility configuration
for an individual API\nelement.", |
| 1735 "id": "VisibilityRule", |
| 1736 "properties": { |
| 1737 "restriction": { |
| 1738 "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.", |
| 1739 "type": "string" |
| 1740 }, |
| 1741 "selector": { |
| 1742 "description": "Selects methods, messages, fields, enums, et
c. to which this rule applies.\n\nRefer to selector for syntax details.", |
| 1743 "type": "string" |
| 1744 } |
| 1745 }, |
1541 "type": "object" | 1746 "type": "object" |
1542 }, | 1747 }, |
1543 "MonitoringDestination": { | 1748 "MonitoringDestination": { |
1544 "description": "Configuration of a specific monitoring destination (
the producer project\nor the consumer project).", | 1749 "description": "Configuration of a specific monitoring destination (
the producer project\nor the consumer project).", |
1545 "id": "MonitoringDestination", | 1750 "id": "MonitoringDestination", |
1546 "properties": { | 1751 "properties": { |
1547 "monitoredResource": { | 1752 "monitoredResource": { |
1548 "description": "The monitored resource type. The type must b
e defined in\nService.monitored_resources section.", | 1753 "description": "The monitored resource type. The type must b
e defined in\nService.monitored_resources section.", |
1549 "type": "string" | 1754 "type": "string" |
1550 }, | 1755 }, |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1583 }, | 1788 }, |
1584 "type": "array" | 1789 "type": "array" |
1585 } | 1790 } |
1586 }, | 1791 }, |
1587 "type": "object" | 1792 "type": "object" |
1588 }, | 1793 }, |
1589 "ConfigChange": { | 1794 "ConfigChange": { |
1590 "description": "Output generated from semantically comparing two ver
sions of a service\nconfiguration.\n\nIncludes detailed information about a fiel
d that have changed with\napplicable advice about potential consequences for the
change, such as\nbackwards-incompatibility.", | 1795 "description": "Output generated from semantically comparing two ver
sions of a service\nconfiguration.\n\nIncludes detailed information about a fiel
d that have changed with\napplicable advice about potential consequences for the
change, such as\nbackwards-incompatibility.", |
1591 "id": "ConfigChange", | 1796 "id": "ConfigChange", |
1592 "properties": { | 1797 "properties": { |
1593 "newValue": { | |
1594 "description": "Value of the changed object in the new Servi
ce configuration,\nin JSON format. This field will not be populated if ChangeTyp
e == REMOVED.", | |
1595 "type": "string" | |
1596 }, | |
1597 "changeType": { | 1798 "changeType": { |
1598 "description": "The type for this change, either ADDED, REMO
VED, or MODIFIED.", | 1799 "description": "The type for this change, either ADDED, REMO
VED, or MODIFIED.", |
1599 "enum": [ | 1800 "enum": [ |
1600 "CHANGE_TYPE_UNSPECIFIED", | 1801 "CHANGE_TYPE_UNSPECIFIED", |
1601 "ADDED", | 1802 "ADDED", |
1602 "REMOVED", | 1803 "REMOVED", |
1603 "MODIFIED" | 1804 "MODIFIED" |
1604 ], | 1805 ], |
1605 "enumDescriptions": [ | 1806 "enumDescriptions": [ |
1606 "No value was provided.", | 1807 "No value was provided.", |
(...skipping 10 matching lines...) Expand all Loading... |
1617 "oldValue": { | 1818 "oldValue": { |
1618 "description": "Value of the changed object in the old Servi
ce configuration,\nin JSON format. This field will not be populated if ChangeTyp
e == ADDED.", | 1819 "description": "Value of the changed object in the old Servi
ce configuration,\nin JSON format. This field will not be populated if ChangeTyp
e == ADDED.", |
1619 "type": "string" | 1820 "type": "string" |
1620 }, | 1821 }, |
1621 "advices": { | 1822 "advices": { |
1622 "description": "Collection of advice provided for this chang
e, useful for determining the\npossible impact of this change.", | 1823 "description": "Collection of advice provided for this chang
e, useful for determining the\npossible impact of this change.", |
1623 "items": { | 1824 "items": { |
1624 "$ref": "Advice" | 1825 "$ref": "Advice" |
1625 }, | 1826 }, |
1626 "type": "array" | 1827 "type": "array" |
| 1828 }, |
| 1829 "newValue": { |
| 1830 "description": "Value of the changed object in the new Servi
ce configuration,\nin JSON format. This field will not be populated if ChangeTyp
e == REMOVED.", |
| 1831 "type": "string" |
1627 } | 1832 } |
1628 }, | 1833 }, |
1629 "type": "object" | 1834 "type": "object" |
1630 }, | 1835 }, |
1631 "Rollout": { | 1836 "Rollout": { |
1632 "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.", | 1837 "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.", |
1633 "id": "Rollout", | 1838 "id": "Rollout", |
1634 "properties": { | 1839 "properties": { |
1635 "trafficPercentStrategy": { | |
1636 "$ref": "TrafficPercentStrategy", | |
1637 "description": "Google Service Control selects service confi
gurations based on\ntraffic percentage." | |
1638 }, | |
1639 "createdBy": { | |
1640 "description": "The user who created the Rollout. Readonly."
, | |
1641 "type": "string" | |
1642 }, | |
1643 "rolloutId": { | |
1644 "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'", | |
1645 "type": "string" | |
1646 }, | |
1647 "deleteServiceStrategy": { | 1840 "deleteServiceStrategy": { |
1648 "$ref": "DeleteServiceStrategy", | 1841 "$ref": "DeleteServiceStrategy", |
1649 "description": "The strategy associated with a rollout to de
lete a `ManagedService`.\nReadonly." | 1842 "description": "The strategy associated with a rollout to de
lete a `ManagedService`.\nReadonly." |
1650 }, | 1843 }, |
1651 "createTime": { | 1844 "createTime": { |
1652 "description": "Creation time of the rollout. Readonly.", | 1845 "description": "Creation time of the rollout. Readonly.", |
1653 "format": "google-datetime", | 1846 "format": "google-datetime", |
1654 "type": "string" | 1847 "type": "string" |
1655 }, | 1848 }, |
1656 "status": { | 1849 "status": { |
(...skipping 12 matching lines...) Expand all Loading... |
1669 "The Rollout has completed successfully.", | 1862 "The Rollout has completed successfully.", |
1670 "The Rollout has been cancelled. This can happen if you
have overlapping\nRollout pushes, and the previous ones will be cancelled.", | 1863 "The Rollout has been cancelled. This can happen if you
have overlapping\nRollout pushes, and the previous ones will be cancelled.", |
1671 "The Rollout has failed. It is typically caused by confi
guration errors.", | 1864 "The Rollout has failed. It is typically caused by confi
guration errors.", |
1672 "The Rollout has not started yet and is pending for exec
ution." | 1865 "The Rollout has not started yet and is pending for exec
ution." |
1673 ], | 1866 ], |
1674 "type": "string" | 1867 "type": "string" |
1675 }, | 1868 }, |
1676 "serviceName": { | 1869 "serviceName": { |
1677 "description": "The name of the service associated with this
Rollout.", | 1870 "description": "The name of the service associated with this
Rollout.", |
1678 "type": "string" | 1871 "type": "string" |
| 1872 }, |
| 1873 "createdBy": { |
| 1874 "description": "The user who created the Rollout. Readonly."
, |
| 1875 "type": "string" |
| 1876 }, |
| 1877 "trafficPercentStrategy": { |
| 1878 "$ref": "TrafficPercentStrategy", |
| 1879 "description": "Google Service Control selects service confi
gurations based on\ntraffic percentage." |
| 1880 }, |
| 1881 "rolloutId": { |
| 1882 "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'", |
| 1883 "type": "string" |
1679 } | 1884 } |
1680 }, | 1885 }, |
1681 "type": "object" | 1886 "type": "object" |
1682 }, | 1887 }, |
1683 "GenerateConfigReportRequest": { | 1888 "GenerateConfigReportRequest": { |
1684 "description": "Request message for GenerateConfigReport method.", | 1889 "description": "Request message for GenerateConfigReport method.", |
1685 "id": "GenerateConfigReportRequest", | 1890 "id": "GenerateConfigReportRequest", |
1686 "properties": { | 1891 "properties": { |
1687 "oldConfig": { | 1892 "oldConfig": { |
1688 "additionalProperties": { | 1893 "additionalProperties": { |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1853 "description": "If true, the response is streamed.", | 2058 "description": "If true, the response is streamed.", |
1854 "type": "boolean" | 2059 "type": "boolean" |
1855 }, | 2060 }, |
1856 "name": { | 2061 "name": { |
1857 "description": "The simple name of this method.", | 2062 "description": "The simple name of this method.", |
1858 "type": "string" | 2063 "type": "string" |
1859 } | 2064 } |
1860 }, | 2065 }, |
1861 "type": "object" | 2066 "type": "object" |
1862 }, | 2067 }, |
| 2068 "ConfigRef": { |
| 2069 "description": "Represents a service configuration with its name and
id.", |
| 2070 "id": "ConfigRef", |
| 2071 "properties": { |
| 2072 "name": { |
| 2073 "description": "Resource name of a service config. It must h
ave the following\nformat: \"services/{service name}/configs/{config id}\".", |
| 2074 "type": "string" |
| 2075 } |
| 2076 }, |
| 2077 "type": "object" |
| 2078 }, |
1863 "ListServiceRolloutsResponse": { | 2079 "ListServiceRolloutsResponse": { |
1864 "description": "Response message for ListServiceRollouts method.", | 2080 "description": "Response message for ListServiceRollouts method.", |
1865 "id": "ListServiceRolloutsResponse", | 2081 "id": "ListServiceRolloutsResponse", |
1866 "properties": { | 2082 "properties": { |
1867 "nextPageToken": { | 2083 "nextPageToken": { |
1868 "description": "The token of the next page of results.", | 2084 "description": "The token of the next page of results.", |
1869 "type": "string" | 2085 "type": "string" |
1870 }, | 2086 }, |
1871 "rollouts": { | 2087 "rollouts": { |
1872 "description": "The list of rollout resources.", | 2088 "description": "The list of rollout resources.", |
1873 "items": { | 2089 "items": { |
1874 "$ref": "Rollout" | 2090 "$ref": "Rollout" |
1875 }, | 2091 }, |
1876 "type": "array" | 2092 "type": "array" |
1877 } | 2093 } |
1878 }, | 2094 }, |
1879 "type": "object" | 2095 "type": "object" |
1880 }, | 2096 }, |
1881 "ConfigRef": { | |
1882 "description": "Represents a service configuration with its name and
id.", | |
1883 "id": "ConfigRef", | |
1884 "properties": { | |
1885 "name": { | |
1886 "description": "Resource name of a service config. It must h
ave the following\nformat: \"services/{service name}/configs/{config id}\".", | |
1887 "type": "string" | |
1888 } | |
1889 }, | |
1890 "type": "object" | |
1891 }, | |
1892 "Mixin": { | 2097 "Mixin": { |
1893 "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 }", | 2098 "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 }", |
1894 "id": "Mixin", | 2099 "id": "Mixin", |
1895 "properties": { | 2100 "properties": { |
1896 "name": { | 2101 "name": { |
1897 "description": "The fully qualified name of the API which is
included.", | 2102 "description": "The fully qualified name of the API which is
included.", |
1898 "type": "string" | 2103 "type": "string" |
1899 }, | 2104 }, |
1900 "root": { | 2105 "root": { |
1901 "description": "If non-empty specifies a path under which in
herited HTTP paths\nare rooted.", | 2106 "description": "If non-empty specifies a path under which in
herited HTTP paths\nare rooted.", |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1962 "description": "The service control environment to use. If e
mpty, no control plane\nfeature (like quota and billing) will be enabled.", | 2167 "description": "The service control environment to use. If e
mpty, no control plane\nfeature (like quota and billing) will be enabled.", |
1963 "type": "string" | 2168 "type": "string" |
1964 } | 2169 } |
1965 }, | 2170 }, |
1966 "type": "object" | 2171 "type": "object" |
1967 }, | 2172 }, |
1968 "SystemParameter": { | 2173 "SystemParameter": { |
1969 "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.", | 2174 "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.", |
1970 "id": "SystemParameter", | 2175 "id": "SystemParameter", |
1971 "properties": { | 2176 "properties": { |
1972 "urlQueryParameter": { | |
1973 "description": "Define the URL query parameter name to use f
or the parameter. It is case\nsensitive.", | |
1974 "type": "string" | |
1975 }, | |
1976 "httpHeader": { | 2177 "httpHeader": { |
1977 "description": "Define the HTTP header name to use for the p
arameter. It is case\ninsensitive.", | 2178 "description": "Define the HTTP header name to use for the p
arameter. It is case\ninsensitive.", |
1978 "type": "string" | 2179 "type": "string" |
1979 }, | 2180 }, |
1980 "name": { | 2181 "name": { |
1981 "description": "Define the name of the parameter, such as \"
api_key\" . It is case sensitive.", | 2182 "description": "Define the name of the parameter, such as \"
api_key\" . It is case sensitive.", |
1982 "type": "string" | 2183 "type": "string" |
| 2184 }, |
| 2185 "urlQueryParameter": { |
| 2186 "description": "Define the URL query parameter name to use f
or the parameter. It is case\nsensitive.", |
| 2187 "type": "string" |
1983 } | 2188 } |
1984 }, | 2189 }, |
1985 "type": "object" | 2190 "type": "object" |
| 2191 }, |
| 2192 "Monitoring": { |
| 2193 "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", |
| 2194 "id": "Monitoring", |
| 2195 "properties": { |
| 2196 "consumerDestinations": { |
| 2197 "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.", |
| 2198 "items": { |
| 2199 "$ref": "MonitoringDestination" |
| 2200 }, |
| 2201 "type": "array" |
| 2202 }, |
| 2203 "producerDestinations": { |
| 2204 "description": "Monitoring configurations for sending metric
s to the producer project.\nThere can be multiple producer destinations, each on
e must have a\ndifferent monitored resource type. A metric can be used in at mos
t\none producer destination.", |
| 2205 "items": { |
| 2206 "$ref": "MonitoringDestination" |
| 2207 }, |
| 2208 "type": "array" |
| 2209 } |
| 2210 }, |
| 2211 "type": "object" |
1986 }, | 2212 }, |
1987 "Field": { | 2213 "Field": { |
1988 "description": "A single field of a message type.", | 2214 "description": "A single field of a message type.", |
1989 "id": "Field", | 2215 "id": "Field", |
1990 "properties": { | 2216 "properties": { |
| 2217 "jsonName": { |
| 2218 "description": "The field JSON name.", |
| 2219 "type": "string" |
| 2220 }, |
1991 "kind": { | 2221 "kind": { |
1992 "description": "The field type.", | 2222 "description": "The field type.", |
1993 "enum": [ | 2223 "enum": [ |
1994 "TYPE_UNKNOWN", | 2224 "TYPE_UNKNOWN", |
1995 "TYPE_DOUBLE", | 2225 "TYPE_DOUBLE", |
1996 "TYPE_FLOAT", | 2226 "TYPE_FLOAT", |
1997 "TYPE_INT64", | 2227 "TYPE_INT64", |
1998 "TYPE_UINT64", | 2228 "TYPE_UINT64", |
1999 "TYPE_INT32", | 2229 "TYPE_INT32", |
2000 "TYPE_FIXED64", | 2230 "TYPE_FIXED64", |
(...skipping 26 matching lines...) Expand all Loading... |
2027 "Field type bytes.", | 2257 "Field type bytes.", |
2028 "Field type uint32.", | 2258 "Field type uint32.", |
2029 "Field type enum.", | 2259 "Field type enum.", |
2030 "Field type sfixed32.", | 2260 "Field type sfixed32.", |
2031 "Field type sfixed64.", | 2261 "Field type sfixed64.", |
2032 "Field type sint32.", | 2262 "Field type sint32.", |
2033 "Field type sint64." | 2263 "Field type sint64." |
2034 ], | 2264 ], |
2035 "type": "string" | 2265 "type": "string" |
2036 }, | 2266 }, |
2037 "jsonName": { | |
2038 "description": "The field JSON name.", | |
2039 "type": "string" | |
2040 }, | |
2041 "options": { | 2267 "options": { |
2042 "description": "The protocol buffer options.", | 2268 "description": "The protocol buffer options.", |
2043 "items": { | 2269 "items": { |
2044 "$ref": "Option" | 2270 "$ref": "Option" |
2045 }, | 2271 }, |
2046 "type": "array" | 2272 "type": "array" |
2047 }, | 2273 }, |
2048 "oneofIndex": { | 2274 "oneofIndex": { |
2049 "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.", | 2275 "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.", |
2050 "format": "int32", | 2276 "format": "int32", |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2083 "type": "string" | 2309 "type": "string" |
2084 }, | 2310 }, |
2085 "number": { | 2311 "number": { |
2086 "description": "The field number.", | 2312 "description": "The field number.", |
2087 "format": "int32", | 2313 "format": "int32", |
2088 "type": "integer" | 2314 "type": "integer" |
2089 } | 2315 } |
2090 }, | 2316 }, |
2091 "type": "object" | 2317 "type": "object" |
2092 }, | 2318 }, |
2093 "Monitoring": { | |
2094 "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", | |
2095 "id": "Monitoring", | |
2096 "properties": { | |
2097 "consumerDestinations": { | |
2098 "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.", | |
2099 "items": { | |
2100 "$ref": "MonitoringDestination" | |
2101 }, | |
2102 "type": "array" | |
2103 }, | |
2104 "producerDestinations": { | |
2105 "description": "Monitoring configurations for sending metric
s to the producer project.\nThere can be multiple producer destinations, each on
e must have a\ndifferent monitored resource type. A metric can be used in at mos
t\none producer destination.", | |
2106 "items": { | |
2107 "$ref": "MonitoringDestination" | |
2108 }, | |
2109 "type": "array" | |
2110 } | |
2111 }, | |
2112 "type": "object" | |
2113 }, | |
2114 "TestIamPermissionsRequest": { | 2319 "TestIamPermissionsRequest": { |
2115 "description": "Request message for `TestIamPermissions` method.", | 2320 "description": "Request message for `TestIamPermissions` method.", |
2116 "id": "TestIamPermissionsRequest", | 2321 "id": "TestIamPermissionsRequest", |
2117 "properties": { | 2322 "properties": { |
2118 "permissions": { | 2323 "permissions": { |
2119 "description": "The set of permissions to check for the `res
ource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed
. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/ov
erview#permissions).", | 2324 "description": "The set of permissions to check for the `res
ource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed
. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/ov
erview#permissions).", |
2120 "items": { | 2325 "items": { |
2121 "type": "string" | 2326 "type": "string" |
2122 }, | 2327 }, |
2123 "type": "array" | 2328 "type": "array" |
2124 } | 2329 } |
2125 }, | 2330 }, |
2126 "type": "object" | 2331 "type": "object" |
2127 }, | 2332 }, |
2128 "Enum": { | 2333 "Enum": { |
2129 "description": "Enum type definition.", | 2334 "description": "Enum type definition.", |
2130 "id": "Enum", | 2335 "id": "Enum", |
2131 "properties": { | 2336 "properties": { |
| 2337 "name": { |
| 2338 "description": "Enum type name.", |
| 2339 "type": "string" |
| 2340 }, |
| 2341 "enumvalue": { |
| 2342 "description": "Enum value definitions.", |
| 2343 "items": { |
| 2344 "$ref": "EnumValue" |
| 2345 }, |
| 2346 "type": "array" |
| 2347 }, |
2132 "options": { | 2348 "options": { |
2133 "description": "Protocol buffer options.", | 2349 "description": "Protocol buffer options.", |
2134 "items": { | 2350 "items": { |
2135 "$ref": "Option" | 2351 "$ref": "Option" |
2136 }, | 2352 }, |
2137 "type": "array" | 2353 "type": "array" |
2138 }, | 2354 }, |
2139 "sourceContext": { | 2355 "sourceContext": { |
2140 "$ref": "SourceContext", | 2356 "$ref": "SourceContext", |
2141 "description": "The source context." | 2357 "description": "The source context." |
2142 }, | 2358 }, |
2143 "syntax": { | 2359 "syntax": { |
2144 "description": "The source syntax.", | 2360 "description": "The source syntax.", |
2145 "enum": [ | 2361 "enum": [ |
2146 "SYNTAX_PROTO2", | 2362 "SYNTAX_PROTO2", |
2147 "SYNTAX_PROTO3" | 2363 "SYNTAX_PROTO3" |
2148 ], | 2364 ], |
2149 "enumDescriptions": [ | 2365 "enumDescriptions": [ |
2150 "Syntax `proto2`.", | 2366 "Syntax `proto2`.", |
2151 "Syntax `proto3`." | 2367 "Syntax `proto3`." |
2152 ], | 2368 ], |
2153 "type": "string" | 2369 "type": "string" |
2154 }, | |
2155 "name": { | |
2156 "description": "Enum type name.", | |
2157 "type": "string" | |
2158 }, | |
2159 "enumvalue": { | |
2160 "description": "Enum value definitions.", | |
2161 "items": { | |
2162 "$ref": "EnumValue" | |
2163 }, | |
2164 "type": "array" | |
2165 } | 2370 } |
2166 }, | 2371 }, |
2167 "type": "object" | 2372 "type": "object" |
2168 }, | 2373 }, |
2169 "Diagnostic": { | 2374 "Diagnostic": { |
2170 "description": "Represents a diagnostic message (error or warning)", | 2375 "description": "Represents a diagnostic message (error or warning)", |
2171 "id": "Diagnostic", | 2376 "id": "Diagnostic", |
2172 "properties": { | 2377 "properties": { |
2173 "kind": { | 2378 "kind": { |
2174 "description": "The kind of diagnostic information provided.
", | 2379 "description": "The kind of diagnostic information provided.
", |
(...skipping 26 matching lines...) Expand all Loading... |
2201 "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.", | 2406 "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.", |
2202 "type": "string" | 2407 "type": "string" |
2203 } | 2408 } |
2204 }, | 2409 }, |
2205 "type": "object" | 2410 "type": "object" |
2206 }, | 2411 }, |
2207 "LabelDescriptor": { | 2412 "LabelDescriptor": { |
2208 "description": "A description of a label.", | 2413 "description": "A description of a label.", |
2209 "id": "LabelDescriptor", | 2414 "id": "LabelDescriptor", |
2210 "properties": { | 2415 "properties": { |
2211 "key": { | |
2212 "description": "The label key.", | |
2213 "type": "string" | |
2214 }, | |
2215 "description": { | 2416 "description": { |
2216 "description": "A human-readable description for the label."
, | 2417 "description": "A human-readable description for the label."
, |
2217 "type": "string" | 2418 "type": "string" |
2218 }, | 2419 }, |
2219 "valueType": { | 2420 "valueType": { |
2220 "description": "The type of data that can be assigned to the
label.", | 2421 "description": "The type of data that can be assigned to the
label.", |
2221 "enum": [ | 2422 "enum": [ |
2222 "STRING", | 2423 "STRING", |
2223 "BOOL", | 2424 "BOOL", |
2224 "INT64" | 2425 "INT64" |
2225 ], | 2426 ], |
2226 "enumDescriptions": [ | 2427 "enumDescriptions": [ |
2227 "A variable-length string. This is the default.", | 2428 "A variable-length string. This is the default.", |
2228 "Boolean; true or false.", | 2429 "Boolean; true or false.", |
2229 "A 64-bit signed integer." | 2430 "A 64-bit signed integer." |
2230 ], | 2431 ], |
2231 "type": "string" | 2432 "type": "string" |
| 2433 }, |
| 2434 "key": { |
| 2435 "description": "The label key.", |
| 2436 "type": "string" |
2232 } | 2437 } |
2233 }, | 2438 }, |
2234 "type": "object" | 2439 "type": "object" |
2235 }, | 2440 }, |
2236 "GenerateConfigReportResponse": { | 2441 "GenerateConfigReportResponse": { |
2237 "description": "Response message for GenerateConfigReport method.", | 2442 "description": "Response message for GenerateConfigReport method.", |
2238 "id": "GenerateConfigReportResponse", | 2443 "id": "GenerateConfigReportResponse", |
2239 "properties": { | 2444 "properties": { |
| 2445 "diagnostics": { |
| 2446 "description": "Errors / Linter warnings associated with the
service definition this\nreport\nbelongs to.", |
| 2447 "items": { |
| 2448 "$ref": "Diagnostic" |
| 2449 }, |
| 2450 "type": "array" |
| 2451 }, |
2240 "serviceName": { | 2452 "serviceName": { |
2241 "description": "Name of the service this report belongs to."
, | 2453 "description": "Name of the service this report belongs to."
, |
2242 "type": "string" | 2454 "type": "string" |
2243 }, | 2455 }, |
2244 "changeReports": { | 2456 "changeReports": { |
2245 "description": "list of ChangeReport, each corresponding to
comparison between two\nservice configurations.", | 2457 "description": "list of ChangeReport, each corresponding to
comparison between two\nservice configurations.", |
2246 "items": { | 2458 "items": { |
2247 "$ref": "ChangeReport" | 2459 "$ref": "ChangeReport" |
2248 }, | 2460 }, |
2249 "type": "array" | 2461 "type": "array" |
2250 }, | 2462 }, |
2251 "id": { | 2463 "id": { |
2252 "description": "ID of the service configuration this report
belongs to.", | 2464 "description": "ID of the service configuration this report
belongs to.", |
2253 "type": "string" | 2465 "type": "string" |
2254 }, | |
2255 "diagnostics": { | |
2256 "description": "Errors / Linter warnings associated with the
service definition this\nreport\nbelongs to.", | |
2257 "items": { | |
2258 "$ref": "Diagnostic" | |
2259 }, | |
2260 "type": "array" | |
2261 } | 2466 } |
2262 }, | 2467 }, |
2263 "type": "object" | 2468 "type": "object" |
2264 }, | 2469 }, |
2265 "Type": { | 2470 "Type": { |
2266 "description": "A protocol buffer message type.", | 2471 "description": "A protocol buffer message type.", |
2267 "id": "Type", | 2472 "id": "Type", |
2268 "properties": { | 2473 "properties": { |
| 2474 "options": { |
| 2475 "description": "The protocol buffer options.", |
| 2476 "items": { |
| 2477 "$ref": "Option" |
| 2478 }, |
| 2479 "type": "array" |
| 2480 }, |
2269 "fields": { | 2481 "fields": { |
2270 "description": "The list of fields.", | 2482 "description": "The list of fields.", |
2271 "items": { | 2483 "items": { |
2272 "$ref": "Field" | 2484 "$ref": "Field" |
2273 }, | 2485 }, |
2274 "type": "array" | 2486 "type": "array" |
2275 }, | 2487 }, |
2276 "name": { | 2488 "name": { |
2277 "description": "The fully qualified message name.", | 2489 "description": "The fully qualified message name.", |
2278 "type": "string" | 2490 "type": "string" |
(...skipping 13 matching lines...) Expand all Loading... |
2292 ], | 2504 ], |
2293 "enumDescriptions": [ | 2505 "enumDescriptions": [ |
2294 "Syntax `proto2`.", | 2506 "Syntax `proto2`.", |
2295 "Syntax `proto3`." | 2507 "Syntax `proto3`." |
2296 ], | 2508 ], |
2297 "type": "string" | 2509 "type": "string" |
2298 }, | 2510 }, |
2299 "sourceContext": { | 2511 "sourceContext": { |
2300 "$ref": "SourceContext", | 2512 "$ref": "SourceContext", |
2301 "description": "The source context." | 2513 "description": "The source context." |
2302 }, | |
2303 "options": { | |
2304 "description": "The protocol buffer options.", | |
2305 "items": { | |
2306 "$ref": "Option" | |
2307 }, | |
2308 "type": "array" | |
2309 } | 2514 } |
2310 }, | 2515 }, |
2311 "type": "object" | 2516 "type": "object" |
| 2517 }, |
| 2518 "Experimental": { |
| 2519 "description": "Experimental service configuration. These configurat
ion options can\nonly be used by whitelisted users.", |
| 2520 "id": "Experimental", |
| 2521 "properties": { |
| 2522 "authorization": { |
| 2523 "$ref": "AuthorizationConfig", |
| 2524 "description": "Authorization configuration." |
| 2525 } |
| 2526 }, |
| 2527 "type": "object" |
2312 }, | 2528 }, |
2313 "ListServiceConfigsResponse": { | 2529 "ListServiceConfigsResponse": { |
2314 "description": "Response message for ListServiceConfigs method.", | 2530 "description": "Response message for ListServiceConfigs method.", |
2315 "id": "ListServiceConfigsResponse", | 2531 "id": "ListServiceConfigsResponse", |
2316 "properties": { | 2532 "properties": { |
2317 "serviceConfigs": { | 2533 "serviceConfigs": { |
2318 "description": "The list of service configuration resources.
", | 2534 "description": "The list of service configuration resources.
", |
2319 "items": { | 2535 "items": { |
2320 "$ref": "Service" | 2536 "$ref": "Service" |
2321 }, | 2537 }, |
2322 "type": "array" | 2538 "type": "array" |
2323 }, | 2539 }, |
2324 "nextPageToken": { | 2540 "nextPageToken": { |
2325 "description": "The token of the next page of results.", | 2541 "description": "The token of the next page of results.", |
2326 "type": "string" | 2542 "type": "string" |
2327 } | 2543 } |
2328 }, | 2544 }, |
2329 "type": "object" | 2545 "type": "object" |
2330 }, | 2546 }, |
2331 "AuditConfig": { | 2547 "AuditConfig": { |
2332 "description": "Specifies the audit configuration for a service.\nIt
consists of which permission types are logged, and what identities, if\nany, ar
e exempted from logging.\nAn AuditConifg must have one or more AuditLogConfigs."
, | 2548 "description": "Specifies the audit configuration for a service.\nIt
consists of which permission types are logged, and what identities, if\nany, ar
e exempted from logging.\nAn AuditConifg must have one or more AuditLogConfigs.\
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_types\nspecifie
d in each AuditConfig are enabled, and the exempted_members in each\nAuditConfig
are exempted.\nExample Policy with multiple AuditConfigs:\n{\n \"audit_configs
\": [\n {\n \"service\": \"allServices\"\n \"audit_log_configs\": [
\n {\n \"log_type\": \"DATA_READ\",\n \"exempted_member
s\": [\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 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.", |
2333 "id": "AuditConfig", | 2549 "id": "AuditConfig", |
2334 "properties": { | 2550 "properties": { |
| 2551 "service": { |
| 2552 "description": "Specifies a service that will be enabled for
audit logging.\nFor example, `resourcemanager`, `storage`, `compute`.\n`allServ
ices` is a special value that covers all services.", |
| 2553 "type": "string" |
| 2554 }, |
2335 "auditLogConfigs": { | 2555 "auditLogConfigs": { |
2336 "description": "The configuration for logging of each type o
f permission.\nNext ID: 4", | 2556 "description": "The configuration for logging of each type o
f permission.\nNext ID: 4", |
2337 "items": { | 2557 "items": { |
2338 "$ref": "AuditLogConfig" | 2558 "$ref": "AuditLogConfig" |
2339 }, | 2559 }, |
2340 "type": "array" | 2560 "type": "array" |
2341 }, | 2561 }, |
2342 "exemptedMembers": { | 2562 "exemptedMembers": { |
2343 "description": "Specifies the identities that are exempted f
rom \"data access\" audit\nlogging for the `service` specified above.\nFollows t
he same format of Binding.members.\nThis field is deprecated in favor of per-per
mission-type exemptions.", | |
2344 "items": { | 2563 "items": { |
2345 "type": "string" | 2564 "type": "string" |
2346 }, | 2565 }, |
2347 "type": "array" | 2566 "type": "array" |
2348 }, | |
2349 "service": { | |
2350 "description": "Specifies a service that will be enabled for
audit logging.\nFor example, `resourcemanager`, `storage`, `compute`.\n`allServ
ices` is a special value that covers all services.", | |
2351 "type": "string" | |
2352 } | 2567 } |
2353 }, | 2568 }, |
2354 "type": "object" | 2569 "type": "object" |
2355 }, | 2570 }, |
2356 "Backend": { | 2571 "Backend": { |
2357 "description": "`Backend` defines the backend configuration for a se
rvice.", | 2572 "description": "`Backend` defines the backend configuration for a se
rvice.", |
2358 "id": "Backend", | 2573 "id": "Backend", |
2359 "properties": { | 2574 "properties": { |
2360 "rules": { | 2575 "rules": { |
2361 "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.", | 2576 "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 13 matching lines...) Expand all Loading... |
2375 "$ref": "ConfigSource", | 2590 "$ref": "ConfigSource", |
2376 "description": "The source configuration for the service." | 2591 "description": "The source configuration for the service." |
2377 }, | 2592 }, |
2378 "validateOnly": { | 2593 "validateOnly": { |
2379 "description": "Optional. If set, this will result in the ge
neration of a\n`google.api.Service` configuration based on the `ConfigSource` pr
ovided,\nbut the generated config and the sources will NOT be persisted.", | 2594 "description": "Optional. If set, this will result in the ge
neration of a\n`google.api.Service` configuration based on the `ConfigSource` pr
ovided,\nbut the generated config and the sources will NOT be persisted.", |
2380 "type": "boolean" | 2595 "type": "boolean" |
2381 } | 2596 } |
2382 }, | 2597 }, |
2383 "type": "object" | 2598 "type": "object" |
2384 }, | 2599 }, |
| 2600 "AuthorizationConfig": { |
| 2601 "description": "Configuration of authorization.\n\nThis section dete
rmines the authorization provider, if unspecified, then no\nauthorization check
will be done.\n\nExample:\n\n experimental:\n authorization:\n pr
ovider: firebaserules.googleapis.com", |
| 2602 "id": "AuthorizationConfig", |
| 2603 "properties": { |
| 2604 "provider": { |
| 2605 "description": "The name of the authorization provider, such
as\nfirebaserules.googleapis.com.", |
| 2606 "type": "string" |
| 2607 } |
| 2608 }, |
| 2609 "type": "object" |
| 2610 }, |
2385 "DocumentationRule": { | 2611 "DocumentationRule": { |
2386 "description": "A documentation rule provides information about indi
vidual API elements.", | 2612 "description": "A documentation rule provides information about indi
vidual API elements.", |
2387 "id": "DocumentationRule", | 2613 "id": "DocumentationRule", |
2388 "properties": { | 2614 "properties": { |
2389 "description": { | 2615 "description": { |
2390 "description": "Description of the selected API(s).", | 2616 "description": "Description of the selected API(s).", |
2391 "type": "string" | 2617 "type": "string" |
2392 }, | 2618 }, |
2393 "deprecationDescription": { | 2619 "deprecationDescription": { |
2394 "description": "Deprecation description of the selected elem
ent(s). It can be provided if an\nelement is marked as `deprecated`.", | 2620 "description": "Deprecation description of the selected elem
ent(s). It can be provided if an\nelement is marked as `deprecated`.", |
2395 "type": "string" | 2621 "type": "string" |
2396 }, | 2622 }, |
2397 "selector": { | 2623 "selector": { |
2398 "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.", | 2624 "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.", |
2399 "type": "string" | 2625 "type": "string" |
2400 } | 2626 } |
2401 }, | 2627 }, |
2402 "type": "object" | 2628 "type": "object" |
2403 }, | 2629 }, |
2404 "CloudAuditOptions": { | 2630 "CloudAuditOptions": { |
2405 "description": "Write a Cloud Audit log", | 2631 "description": "Write a Cloud Audit log", |
2406 "id": "CloudAuditOptions", | 2632 "id": "CloudAuditOptions", |
2407 "properties": {}, | 2633 "properties": {}, |
2408 "type": "object" | 2634 "type": "object" |
2409 }, | 2635 }, |
2410 "ContextRule": { | 2636 "ContextRule": { |
2411 "description": "A context rule provides information about the contex
t for an individual API\nelement.", | 2637 "description": "A context rule provides information about the contex
t for an individual API\nelement.", |
2412 "id": "ContextRule", | 2638 "id": "ContextRule", |
2413 "properties": { | 2639 "properties": { |
| 2640 "selector": { |
| 2641 "description": "Selects the methods to which this rule appli
es.\n\nRefer to selector for syntax details.", |
| 2642 "type": "string" |
| 2643 }, |
2414 "provided": { | 2644 "provided": { |
2415 "description": "A list of full type names of provided contex
ts.", | 2645 "description": "A list of full type names of provided contex
ts.", |
2416 "items": { | 2646 "items": { |
2417 "type": "string" | 2647 "type": "string" |
2418 }, | 2648 }, |
2419 "type": "array" | 2649 "type": "array" |
2420 }, | 2650 }, |
2421 "requested": { | 2651 "requested": { |
2422 "description": "A list of full type names of requested conte
xts.", | 2652 "description": "A list of full type names of requested conte
xts.", |
2423 "items": { | 2653 "items": { |
2424 "type": "string" | 2654 "type": "string" |
2425 }, | 2655 }, |
2426 "type": "array" | 2656 "type": "array" |
2427 }, | |
2428 "selector": { | |
2429 "description": "Selects the methods to which this rule appli
es.\n\nRefer to selector for syntax details.", | |
2430 "type": "string" | |
2431 } | |
2432 }, | |
2433 "type": "object" | |
2434 }, | |
2435 "SourceContext": { | |
2436 "description": "`SourceContext` represents information about the sou
rce of a\nprotobuf element, like the file in which it is defined.", | |
2437 "id": "SourceContext", | |
2438 "properties": { | |
2439 "fileName": { | |
2440 "description": "The path-qualified name of the .proto file t
hat contained the associated\nprotobuf element. For example: `\"google/protobuf
/source_context.proto\"`.", | |
2441 "type": "string" | |
2442 } | 2657 } |
2443 }, | 2658 }, |
2444 "type": "object" | 2659 "type": "object" |
2445 }, | 2660 }, |
2446 "MetricDescriptor": { | 2661 "MetricDescriptor": { |
2447 "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.", | 2662 "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.", |
2448 "id": "MetricDescriptor", | 2663 "id": "MetricDescriptor", |
2449 "properties": { | 2664 "properties": { |
2450 "description": { | |
2451 "description": "A detailed description of the metric, which
can be used in documentation.", | |
2452 "type": "string" | |
2453 }, | |
2454 "displayName": { | |
2455 "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\".", | |
2456 "type": "string" | |
2457 }, | |
2458 "unit": { | |
2459 "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 '}'.", | |
2460 "type": "string" | |
2461 }, | |
2462 "labels": { | 2665 "labels": { |
2463 "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.", | 2666 "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.", |
2464 "items": { | 2667 "items": { |
2465 "$ref": "LabelDescriptor" | 2668 "$ref": "LabelDescriptor" |
2466 }, | 2669 }, |
2467 "type": "array" | 2670 "type": "array" |
2468 }, | 2671 }, |
2469 "name": { | 2672 "name": { |
2470 "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\"", | 2673 "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\"", |
2471 "type": "string" | 2674 "type": "string" |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2504 "DELTA", | 2707 "DELTA", |
2505 "CUMULATIVE" | 2708 "CUMULATIVE" |
2506 ], | 2709 ], |
2507 "enumDescriptions": [ | 2710 "enumDescriptions": [ |
2508 "Do not use this default value.", | 2711 "Do not use this default value.", |
2509 "An instantaneous measurement of a value.", | 2712 "An instantaneous measurement of a value.", |
2510 "The change in a value during a time interval.", | 2713 "The change in a value during a time interval.", |
2511 "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." | 2714 "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." |
2512 ], | 2715 ], |
2513 "type": "string" | 2716 "type": "string" |
| 2717 }, |
| 2718 "displayName": { |
| 2719 "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\".", |
| 2720 "type": "string" |
| 2721 }, |
| 2722 "description": { |
| 2723 "description": "A detailed description of the metric, which
can be used in documentation.", |
| 2724 "type": "string" |
| 2725 }, |
| 2726 "unit": { |
| 2727 "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 '}'.", |
| 2728 "type": "string" |
2514 } | 2729 } |
2515 }, | 2730 }, |
2516 "type": "object" | 2731 "type": "object" |
| 2732 }, |
| 2733 "SourceContext": { |
| 2734 "description": "`SourceContext` represents information about the sou
rce of a\nprotobuf element, like the file in which it is defined.", |
| 2735 "id": "SourceContext", |
| 2736 "properties": { |
| 2737 "fileName": { |
| 2738 "description": "The path-qualified name of the .proto file t
hat contained the associated\nprotobuf element. For example: `\"google/protobuf
/source_context.proto\"`.", |
| 2739 "type": "string" |
| 2740 } |
| 2741 }, |
| 2742 "type": "object" |
2517 }, | 2743 }, |
2518 "ListServicesResponse": { | 2744 "ListServicesResponse": { |
2519 "description": "Response message for `ListServices` method.", | 2745 "description": "Response message for `ListServices` method.", |
2520 "id": "ListServicesResponse", | 2746 "id": "ListServicesResponse", |
2521 "properties": { | 2747 "properties": { |
2522 "services": { | 2748 "services": { |
2523 "description": "The returned services will only have the nam
e field set.", | 2749 "description": "The returned services will only have the nam
e field set.", |
2524 "items": { | 2750 "items": { |
2525 "$ref": "ManagedService" | 2751 "$ref": "ManagedService" |
2526 }, | 2752 }, |
2527 "type": "array" | 2753 "type": "array" |
2528 }, | 2754 }, |
2529 "nextPageToken": { | 2755 "nextPageToken": { |
2530 "description": "Token that can be passed to `ListServices` t
o resume a paginated query.", | 2756 "description": "Token that can be passed to `ListServices` t
o resume a paginated query.", |
2531 "type": "string" | 2757 "type": "string" |
2532 } | 2758 } |
2533 }, | 2759 }, |
2534 "type": "object" | 2760 "type": "object" |
2535 }, | 2761 }, |
2536 "Endpoint": { | 2762 "Endpoint": { |
2537 "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", | 2763 "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", |
2538 "id": "Endpoint", | 2764 "id": "Endpoint", |
2539 "properties": { | 2765 "properties": { |
| 2766 "apis": { |
| 2767 "description": "The list of APIs served by this endpoint.", |
| 2768 "items": { |
| 2769 "type": "string" |
| 2770 }, |
| 2771 "type": "array" |
| 2772 }, |
2540 "aliases": { | 2773 "aliases": { |
2541 "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.", | 2774 "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.", |
2542 "items": { | 2775 "items": { |
2543 "type": "string" | 2776 "type": "string" |
2544 }, | 2777 }, |
2545 "type": "array" | 2778 "type": "array" |
2546 }, | 2779 }, |
2547 "features": { | 2780 "features": { |
2548 "description": "The list of features enabled on this endpoin
t.", | 2781 "description": "The list of features enabled on this endpoin
t.", |
2549 "items": { | 2782 "items": { |
2550 "type": "string" | 2783 "type": "string" |
2551 }, | 2784 }, |
2552 "type": "array" | 2785 "type": "array" |
2553 }, | 2786 }, |
2554 "allowCors": { | 2787 "allowCors": { |
2555 "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.", | 2788 "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.", |
2556 "type": "boolean" | 2789 "type": "boolean" |
2557 }, | 2790 }, |
2558 "name": { | 2791 "name": { |
2559 "description": "The canonical name of this endpoint.", | 2792 "description": "The canonical name of this endpoint.", |
2560 "type": "string" | 2793 "type": "string" |
2561 }, | |
2562 "apis": { | |
2563 "description": "The list of APIs served by this endpoint.", | |
2564 "items": { | |
2565 "type": "string" | |
2566 }, | |
2567 "type": "array" | |
2568 } | 2794 } |
2569 }, | 2795 }, |
2570 "type": "object" | 2796 "type": "object" |
2571 }, | 2797 }, |
2572 "OAuthRequirements": { | 2798 "OAuthRequirements": { |
2573 "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.", | 2799 "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.", |
2574 "id": "OAuthRequirements", | 2800 "id": "OAuthRequirements", |
2575 "properties": { | 2801 "properties": { |
2576 "canonicalScopes": { | 2802 "canonicalScopes": { |
2577 "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
", | 2803 "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
", |
2578 "type": "string" | 2804 "type": "string" |
2579 } | 2805 } |
2580 }, | 2806 }, |
2581 "type": "object" | 2807 "type": "object" |
2582 }, | 2808 }, |
2583 "TestIamPermissionsResponse": { | |
2584 "description": "Response message for `TestIamPermissions` method.", | |
2585 "id": "TestIamPermissionsResponse", | |
2586 "properties": { | |
2587 "permissions": { | |
2588 "description": "A subset of `TestPermissionsRequest.permissi
ons` that the caller is\nallowed.", | |
2589 "items": { | |
2590 "type": "string" | |
2591 }, | |
2592 "type": "array" | |
2593 } | |
2594 }, | |
2595 "type": "object" | |
2596 }, | |
2597 "GetIamPolicyRequest": { | |
2598 "description": "Request message for `GetIamPolicy` method.", | |
2599 "id": "GetIamPolicyRequest", | |
2600 "properties": {}, | |
2601 "type": "object" | |
2602 }, | |
2603 "Usage": { | 2809 "Usage": { |
2604 "description": "Configuration controlling usage of a service.", | 2810 "description": "Configuration controlling usage of a service.", |
2605 "id": "Usage", | 2811 "id": "Usage", |
2606 "properties": { | 2812 "properties": { |
2607 "producerNotificationChannel": { | 2813 "producerNotificationChannel": { |
2608 "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.", | 2814 "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.", |
2609 "type": "string" | 2815 "type": "string" |
2610 }, | 2816 }, |
2611 "rules": { | 2817 "rules": { |
2612 "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.", | 2818 "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.", |
2613 "items": { | 2819 "items": { |
2614 "$ref": "UsageRule" | 2820 "$ref": "UsageRule" |
2615 }, | 2821 }, |
2616 "type": "array" | 2822 "type": "array" |
2617 }, | 2823 }, |
2618 "requirements": { | 2824 "requirements": { |
2619 "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'.", | 2825 "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'.", |
2620 "items": { | 2826 "items": { |
2621 "type": "string" | 2827 "type": "string" |
2622 }, | 2828 }, |
2623 "type": "array" | 2829 "type": "array" |
2624 } | 2830 } |
2625 }, | 2831 }, |
2626 "type": "object" | 2832 "type": "object" |
2627 }, | 2833 }, |
| 2834 "TestIamPermissionsResponse": { |
| 2835 "description": "Response message for `TestIamPermissions` method.", |
| 2836 "id": "TestIamPermissionsResponse", |
| 2837 "properties": { |
| 2838 "permissions": { |
| 2839 "description": "A subset of `TestPermissionsRequest.permissi
ons` that the caller is\nallowed.", |
| 2840 "items": { |
| 2841 "type": "string" |
| 2842 }, |
| 2843 "type": "array" |
| 2844 } |
| 2845 }, |
| 2846 "type": "object" |
| 2847 }, |
| 2848 "GetIamPolicyRequest": { |
| 2849 "description": "Request message for `GetIamPolicy` method.", |
| 2850 "id": "GetIamPolicyRequest", |
| 2851 "properties": {}, |
| 2852 "type": "object" |
| 2853 }, |
2628 "Context": { | 2854 "Context": { |
2629 "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`.", | 2855 "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`.", |
2630 "id": "Context", | 2856 "id": "Context", |
2631 "properties": { | 2857 "properties": { |
2632 "rules": { | 2858 "rules": { |
2633 "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.", | 2859 "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.", |
2634 "items": { | 2860 "items": { |
2635 "$ref": "ContextRule" | 2861 "$ref": "ContextRule" |
2636 }, | 2862 }, |
2637 "type": "array" | 2863 "type": "array" |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2697 }, | 2923 }, |
2698 "notIn": { | 2924 "notIn": { |
2699 "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).", | 2925 "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).", |
2700 "items": { | 2926 "items": { |
2701 "type": "string" | 2927 "type": "string" |
2702 }, | 2928 }, |
2703 "type": "array" | 2929 "type": "array" |
2704 } | 2930 } |
2705 }, | 2931 }, |
2706 "type": "object" | 2932 "type": "object" |
2707 }, | |
2708 "LogConfig": { | |
2709 "description": "Specifies what kind of log the caller must write\nIn
crement a streamz counter with the specified metric and field names.\n\nMetric n
ames should start with a '/', generally be lowercase-only,\nand end in \"_count\
". Field names should not contain an initial slash.\nThe actual exported metric
names will have \"/iam/policy\" prepended.\n\nField names correspond to IAM requ
est parameters and field values are\ntheir respective values.\n\nAt present the
only supported field names are\n - \"iam_principal\", corresponding to IAMCont
ext.principal;\n - \"\" (empty string), resulting in one aggretated counter wi
th no field.\n\nExamples:\n counter { metric: \"/debug_access_count\" field: \
"iam_principal\" }\n ==> increment counter /iam/policy/backend_debug_access_cou
nt\n {iam_principal=[value of IAMContext.principal]}\n\nA
t this time we do not support:\n* multiple field names (though this may be suppo
rted in the future)\n* decrementing the counter\n* incrementing it by anything o
ther than 1", | |
2710 "id": "LogConfig", | |
2711 "properties": { | |
2712 "cloudAudit": { | |
2713 "$ref": "CloudAuditOptions", | |
2714 "description": "Cloud audit options." | |
2715 }, | |
2716 "counter": { | |
2717 "$ref": "CounterOptions", | |
2718 "description": "Counter options." | |
2719 }, | |
2720 "dataAccess": { | |
2721 "$ref": "DataAccessOptions", | |
2722 "description": "Data access options." | |
2723 } | |
2724 }, | |
2725 "type": "object" | |
2726 }, | |
2727 "LogDescriptor": { | |
2728 "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", | |
2729 "id": "LogDescriptor", | |
2730 "properties": { | |
2731 "labels": { | |
2732 "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.", | |
2733 "items": { | |
2734 "$ref": "LabelDescriptor" | |
2735 }, | |
2736 "type": "array" | |
2737 }, | |
2738 "name": { | |
2739 "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 [/_-.].", | |
2740 "type": "string" | |
2741 }, | |
2742 "description": { | |
2743 "description": "A human-readable description of this log. Th
is information appears in\nthe documentation and can contain details.", | |
2744 "type": "string" | |
2745 }, | |
2746 "displayName": { | |
2747 "description": "The human-readable name for this log. This i
nformation appears on\nthe user interface and should be concise.", | |
2748 "type": "string" | |
2749 } | |
2750 }, | |
2751 "type": "object" | |
2752 }, | |
2753 "ConfigFile": { | |
2754 "description": "Generic specification of a source configuration file
", | |
2755 "id": "ConfigFile", | |
2756 "properties": { | |
2757 "filePath": { | |
2758 "description": "The file name of the configuration file (ful
l or relative path).", | |
2759 "type": "string" | |
2760 }, | |
2761 "fileType": { | |
2762 "description": "The type of configuration file this represen
ts.", | |
2763 "enum": [ | |
2764 "FILE_TYPE_UNSPECIFIED", | |
2765 "SERVICE_CONFIG_YAML", | |
2766 "OPEN_API_JSON", | |
2767 "OPEN_API_YAML", | |
2768 "FILE_DESCRIPTOR_SET_PROTO" | |
2769 ], | |
2770 "enumDescriptions": [ | |
2771 "Unknown file type.", | |
2772 "YAML-specification of service.", | |
2773 "OpenAPI specification, serialized in JSON.", | |
2774 "OpenAPI specification, serialized in YAML.", | |
2775 "FileDescriptorSet, generated by protoc.\n\nTo generate,
use protoc with imports and source info included.\nFor an example test.proto fi
le, the following command would put the value\nin a new file named out.pb.\n\n$p
rotoc --include_imports --include_source_info test.proto -o out.pb" | |
2776 ], | |
2777 "type": "string" | |
2778 }, | |
2779 "fileContents": { | |
2780 "description": "The bytes that constitute the file.", | |
2781 "format": "byte", | |
2782 "type": "string" | |
2783 } | |
2784 }, | |
2785 "type": "object" | |
2786 }, | |
2787 "MonitoredResourceDescriptor": { | |
2788 "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.", | |
2789 "id": "MonitoredResourceDescriptor", | |
2790 "properties": { | |
2791 "name": { | |
2792 "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}\"`.", | |
2793 "type": "string" | |
2794 }, | |
2795 "displayName": { | |
2796 "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\"`.", | |
2797 "type": "string" | |
2798 }, | |
2799 "description": { | |
2800 "description": "Optional. A detailed description of the moni
tored resource type that might\nbe used in documentation.", | |
2801 "type": "string" | |
2802 }, | |
2803 "type": { | |
2804 "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.", | |
2805 "type": "string" | |
2806 }, | |
2807 "labels": { | |
2808 "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\"`.", | |
2809 "items": { | |
2810 "$ref": "LabelDescriptor" | |
2811 }, | |
2812 "type": "array" | |
2813 } | |
2814 }, | |
2815 "type": "object" | |
2816 }, | |
2817 "CustomErrorRule": { | |
2818 "description": "A custom error rule.", | |
2819 "id": "CustomErrorRule", | |
2820 "properties": { | |
2821 "isErrorType": { | |
2822 "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.", | |
2823 "type": "boolean" | |
2824 }, | |
2825 "selector": { | |
2826 "description": "Selects messages to which this rule applies.
\n\nRefer to selector for syntax details.", | |
2827 "type": "string" | |
2828 } | |
2829 }, | |
2830 "type": "object" | |
2831 }, | |
2832 "MediaDownload": { | |
2833 "description": "Do not use this. For media support, add instead\n[][
google.bytestream.RestByteStream] as an API to your\nconfiguration.", | |
2834 "id": "MediaDownload", | |
2835 "properties": { | |
2836 "enabled": { | |
2837 "description": "Whether download is enabled.", | |
2838 "type": "boolean" | |
2839 } | |
2840 }, | |
2841 "type": "object" | |
2842 }, | |
2843 "ChangeReport": { | |
2844 "description": "Change report associated with a particular service c
onfiguration.\n\nIt contains a list of ConfigChanges based on the comparison bet
ween\ntwo service configurations.", | |
2845 "id": "ChangeReport", | |
2846 "properties": { | |
2847 "configChanges": { | |
2848 "description": "List of changes between two service configur
ations.\nThe changes will be alphabetically sorted based on the identifier\nof e
ach change.\nA ConfigChange identifier is a dot separated path to the configurat
ion.\nExample: visibility.rules[selector='LibraryService.CreateBook'].restrictio
n", | |
2849 "items": { | |
2850 "$ref": "ConfigChange" | |
2851 }, | |
2852 "type": "array" | |
2853 } | |
2854 }, | |
2855 "type": "object" | |
2856 }, | |
2857 "DisableServiceRequest": { | |
2858 "description": "Request message for DisableService method.", | |
2859 "id": "DisableServiceRequest", | |
2860 "properties": { | |
2861 "consumerId": { | |
2862 "description": "The identity of consumer resource which serv
ice disablement will be\napplied to.\n\nThe Google Service Management implementa
tion accepts the following\nforms:\n- \"project:<project_id>\"\n\nNote: this is
made compatible with\ngoogle.api.servicecontrol.v1.Operation.consumer_id.", | |
2863 "type": "string" | |
2864 } | |
2865 }, | |
2866 "type": "object" | |
2867 }, | |
2868 "SubmitConfigSourceResponse": { | |
2869 "description": "Response message for SubmitConfigSource method.", | |
2870 "id": "SubmitConfigSourceResponse", | |
2871 "properties": { | |
2872 "serviceConfig": { | |
2873 "$ref": "Service", | |
2874 "description": "The generated service configuration." | |
2875 } | |
2876 }, | |
2877 "type": "object" | |
2878 } | 2933 } |
2879 }, | 2934 }, |
2880 "servicePath": "", | 2935 "servicePath": "", |
2881 "title": "Google Service Management API", | 2936 "title": "Google Service Management API", |
2882 "version": "v1" | 2937 "version": "v1" |
2883 } | 2938 } |
OLD | NEW |