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

Side by Side Diff: discovery/googleapis_beta/pubsub__v1beta2.json

Issue 2987103002: Api-Roll 52: 2017-07-31 (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform": { 5 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "View and manage your data across Google Clou d Platform services" 6 "description": "View and manage your data across Google Clou d Platform services"
7 }, 7 },
8 "https://www.googleapis.com/auth/pubsub": { 8 "https://www.googleapis.com/auth/pubsub": {
9 "description": "View and manage Pub/Sub topics and subscript ions" 9 "description": "View and manage Pub/Sub topics and subscript ions"
10 } 10 }
(...skipping 10 matching lines...) Expand all
21 "icons": { 21 "icons": {
22 "x16": "http://www.google.com/images/icons/product/search-16.gif", 22 "x16": "http://www.google.com/images/icons/product/search-16.gif",
23 "x32": "http://www.google.com/images/icons/product/search-32.gif" 23 "x32": "http://www.google.com/images/icons/product/search-32.gif"
24 }, 24 },
25 "id": "pubsub:v1beta2", 25 "id": "pubsub:v1beta2",
26 "kind": "discovery#restDescription", 26 "kind": "discovery#restDescription",
27 "name": "pubsub", 27 "name": "pubsub",
28 "ownerDomain": "google.com", 28 "ownerDomain": "google.com",
29 "ownerName": "Google", 29 "ownerName": "Google",
30 "parameters": { 30 "parameters": {
31 "oauth_token": {
32 "description": "OAuth 2.0 token for the current user.",
33 "location": "query",
34 "type": "string"
35 },
31 "bearer_token": { 36 "bearer_token": {
32 "description": "OAuth bearer token.", 37 "description": "OAuth bearer token.",
33 "location": "query", 38 "location": "query",
34 "type": "string" 39 "type": "string"
35 }, 40 },
36 "oauth_token": {
37 "description": "OAuth 2.0 token for the current user.",
38 "location": "query",
39 "type": "string"
40 },
41 "upload_protocol": { 41 "upload_protocol": {
42 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 42 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
43 "location": "query", 43 "location": "query",
44 "type": "string" 44 "type": "string"
45 }, 45 },
46 "prettyPrint": { 46 "prettyPrint": {
47 "default": "true", 47 "default": "true",
48 "description": "Returns response with indentations and line breaks." , 48 "description": "Returns response with indentations and line breaks." ,
49 "location": "query", 49 "location": "query",
50 "type": "boolean" 50 "type": "boolean"
51 }, 51 },
52 "fields": {
53 "description": "Selector specifying which fields to include in a par tial response.",
54 "location": "query",
55 "type": "string"
56 },
52 "uploadType": { 57 "uploadType": {
53 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").", 58 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
54 "location": "query", 59 "location": "query",
55 "type": "string" 60 "type": "string"
56 }, 61 },
57 "fields": { 62 "callback": {
58 "description": "Selector specifying which fields to include in a par tial response.", 63 "description": "JSONP",
59 "location": "query", 64 "location": "query",
60 "type": "string" 65 "type": "string"
61 }, 66 },
62 "$.xgafv": { 67 "$.xgafv": {
63 "description": "V1 error format.", 68 "description": "V1 error format.",
64 "enum": [ 69 "enum": [
65 "1", 70 "1",
66 "2" 71 "2"
67 ], 72 ],
68 "enumDescriptions": [ 73 "enumDescriptions": [
69 "v1 error format", 74 "v1 error format",
70 "v2 error format" 75 "v2 error format"
71 ], 76 ],
72 "location": "query", 77 "location": "query",
73 "type": "string" 78 "type": "string"
74 }, 79 },
75 "callback": {
76 "description": "JSONP",
77 "location": "query",
78 "type": "string"
79 },
80 "alt": { 80 "alt": {
81 "default": "json", 81 "default": "json",
82 "description": "Data format for response.", 82 "description": "Data format for response.",
83 "enum": [ 83 "enum": [
84 "json", 84 "json",
85 "media", 85 "media",
86 "proto" 86 "proto"
87 ], 87 ],
88 "enumDescriptions": [ 88 "enumDescriptions": [
89 "Responses with Content-Type of application/json", 89 "Responses with Content-Type of application/json",
(...skipping 24 matching lines...) Expand all
114 "location": "query", 114 "location": "query",
115 "type": "boolean" 115 "type": "boolean"
116 } 116 }
117 }, 117 },
118 "protocol": "rest", 118 "protocol": "rest",
119 "resources": { 119 "resources": {
120 "projects": { 120 "projects": {
121 "resources": { 121 "resources": {
122 "subscriptions": { 122 "subscriptions": {
123 "methods": { 123 "methods": {
124 "testIamPermissions": {
125 "description": "Returns permissions that a caller ha s on the specified resource.\nIf the resource does not exist, this will return a n empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is d esigned to be used for building permission-aware\nUIs and command-line tools, no t for authorization checking. This operation\nmay \"fail open\" without warning. ",
126 "httpMethod": "POST",
127 "id": "pubsub.projects.subscriptions.testIamPermissi ons",
128 "parameterOrder": [
129 "resource"
130 ],
131 "parameters": {
132 "resource": {
133 "description": "REQUIRED: The resource for w hich the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.",
134 "location": "path",
135 "pattern": "^projects/[^/]+/subscriptions/[^ /]+$",
136 "required": true,
137 "type": "string"
138 }
139 },
140 "path": "v1beta2/{+resource}:testIamPermissions",
141 "request": {
142 "$ref": "TestIamPermissionsRequest"
143 },
144 "response": {
145 "$ref": "TestIamPermissionsResponse"
146 },
147 "scopes": [
148 "https://www.googleapis.com/auth/cloud-platform" ,
149 "https://www.googleapis.com/auth/pubsub"
150 ]
151 },
124 "modifyPushConfig": { 152 "modifyPushConfig": {
125 "description": "Modifies the `PushConfig` for a spec ified subscription.\n\nThis may be used to change a push subscription to a pull one (signified by\nan empty `PushConfig`) or vice versa, or change the endpoint URL and other\nattributes of a push subscription. Messages will accumulate for d elivery\ncontinuously through the call regardless of changes to the `PushConfig` .", 153 "description": "Modifies the `PushConfig` for a spec ified subscription.\n\nThis may be used to change a push subscription to a pull one (signified by\nan empty `PushConfig`) or vice versa, or change the endpoint URL and other\nattributes of a push subscription. Messages will accumulate for d elivery\ncontinuously through the call regardless of changes to the `PushConfig` .",
126 "httpMethod": "POST", 154 "httpMethod": "POST",
127 "id": "pubsub.projects.subscriptions.modifyPushConfi g", 155 "id": "pubsub.projects.subscriptions.modifyPushConfi g",
128 "parameterOrder": [ 156 "parameterOrder": [
129 "subscription" 157 "subscription"
130 ], 158 ],
131 "parameters": { 159 "parameters": {
132 "subscription": { 160 "subscription": {
133 "description": "The name of the subscription .", 161 "description": "The name of the subscription .",
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 ] 231 ]
204 }, 232 },
205 "list": { 233 "list": {
206 "description": "Lists matching subscriptions.", 234 "description": "Lists matching subscriptions.",
207 "httpMethod": "GET", 235 "httpMethod": "GET",
208 "id": "pubsub.projects.subscriptions.list", 236 "id": "pubsub.projects.subscriptions.list",
209 "parameterOrder": [ 237 "parameterOrder": [
210 "project" 238 "project"
211 ], 239 ],
212 "parameters": { 240 "parameters": {
213 "pageToken": {
214 "description": "The value returned by the la st `ListSubscriptionsResponse`; indicates that\nthis is a continuation of a prio r `ListSubscriptions` call, and that the\nsystem should return the next page of data.",
215 "location": "query",
216 "type": "string"
217 },
218 "pageSize": { 241 "pageSize": {
219 "description": "Maximum number of subscripti ons to return.", 242 "description": "Maximum number of subscripti ons to return.",
220 "format": "int32", 243 "format": "int32",
221 "location": "query", 244 "location": "query",
222 "type": "integer" 245 "type": "integer"
223 }, 246 },
224 "project": { 247 "project": {
225 "description": "The name of the cloud projec t that subscriptions belong to.", 248 "description": "The name of the cloud projec t that subscriptions belong to.",
226 "location": "path", 249 "location": "path",
227 "pattern": "^projects/[^/]+$", 250 "pattern": "^projects/[^/]+$",
228 "required": true, 251 "required": true,
229 "type": "string" 252 "type": "string"
253 },
254 "pageToken": {
255 "description": "The value returned by the la st `ListSubscriptionsResponse`; indicates that\nthis is a continuation of a prio r `ListSubscriptions` call, and that the\nsystem should return the next page of data.",
256 "location": "query",
257 "type": "string"
230 } 258 }
231 }, 259 },
232 "path": "v1beta2/{+project}/subscriptions", 260 "path": "v1beta2/{+project}/subscriptions",
233 "response": { 261 "response": {
234 "$ref": "ListSubscriptionsResponse" 262 "$ref": "ListSubscriptionsResponse"
235 }, 263 },
236 "scopes": [ 264 "scopes": [
237 "https://www.googleapis.com/auth/cloud-platform" , 265 "https://www.googleapis.com/auth/cloud-platform" ,
238 "https://www.googleapis.com/auth/pubsub" 266 "https://www.googleapis.com/auth/pubsub"
239 ] 267 ]
240 }, 268 },
269 "create": {
270 "description": "Creates a subscription to a given to pic.\nIf the subscription already exists, returns `ALREADY_EXISTS`.\nIf the corr esponding topic doesn't exist, returns `NOT_FOUND`.\n\nIf the name is not provid ed in the request, the server will assign a random\nname for this subscription o n the same project as the topic. Note that\nfor REST API requests, you must spec ify a name.",
271 "httpMethod": "PUT",
272 "id": "pubsub.projects.subscriptions.create",
273 "parameterOrder": [
274 "name"
275 ],
276 "parameters": {
277 "name": {
278 "description": "The name of the subscription . It must have the format\n`\"projects/{project}/subscriptions/{subscription}\"` . `{subscription}` must\nstart with a letter, and contain only letters (`[A-Za-z ]`), numbers\n(`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),\nplus (`+`) or percent signs (`%`). It must be between 3 and 255 characte rs\nin length, and it must not start with `\"goog\"`.",
279 "location": "path",
280 "pattern": "^projects/[^/]+/subscriptions/[^ /]+$",
281 "required": true,
282 "type": "string"
283 }
284 },
285 "path": "v1beta2/{+name}",
286 "request": {
287 "$ref": "Subscription"
288 },
289 "response": {
290 "$ref": "Subscription"
291 },
292 "scopes": [
293 "https://www.googleapis.com/auth/cloud-platform" ,
294 "https://www.googleapis.com/auth/pubsub"
295 ]
296 },
241 "setIamPolicy": { 297 "setIamPolicy": {
242 "description": "Sets the access control policy on th e specified resource. Replaces any\nexisting policy.", 298 "description": "Sets the access control policy on th e specified resource. Replaces any\nexisting policy.",
243 "httpMethod": "POST", 299 "httpMethod": "POST",
244 "id": "pubsub.projects.subscriptions.setIamPolicy", 300 "id": "pubsub.projects.subscriptions.setIamPolicy",
245 "parameterOrder": [ 301 "parameterOrder": [
246 "resource" 302 "resource"
247 ], 303 ],
248 "parameters": { 304 "parameters": {
249 "resource": { 305 "resource": {
250 "description": "REQUIRED: The resource for w hich the policy is being specified.\nSee the operation documentation for the app ropriate value for this field.", 306 "description": "REQUIRED: The resource for w hich the policy is being specified.\nSee the operation documentation for the app ropriate value for this field.",
251 "location": "path", 307 "location": "path",
252 "pattern": "^projects/[^/]+/subscriptions/[^ /]+$", 308 "pattern": "^projects/[^/]+/subscriptions/[^ /]+$",
253 "required": true, 309 "required": true,
254 "type": "string" 310 "type": "string"
255 } 311 }
256 }, 312 },
257 "path": "v1beta2/{+resource}:setIamPolicy", 313 "path": "v1beta2/{+resource}:setIamPolicy",
258 "request": { 314 "request": {
259 "$ref": "SetIamPolicyRequest" 315 "$ref": "SetIamPolicyRequest"
260 }, 316 },
261 "response": { 317 "response": {
262 "$ref": "Policy" 318 "$ref": "Policy"
263 }, 319 },
264 "scopes": [ 320 "scopes": [
265 "https://www.googleapis.com/auth/cloud-platform" , 321 "https://www.googleapis.com/auth/cloud-platform" ,
266 "https://www.googleapis.com/auth/pubsub" 322 "https://www.googleapis.com/auth/pubsub"
267 ] 323 ]
268 }, 324 },
269 "create": { 325 "getIamPolicy": {
270 "description": "Creates a subscription to a given to pic.\nIf the subscription already exists, returns `ALREADY_EXISTS`.\nIf the corr esponding topic doesn't exist, returns `NOT_FOUND`.\n\nIf the name is not provid ed in the request, the server will assign a random\nname for this subscription o n the same project as the topic. Note that\nfor REST API requests, you must spec ify a name.", 326 "description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a p olicy\nset.",
271 "httpMethod": "PUT", 327 "httpMethod": "GET",
272 "id": "pubsub.projects.subscriptions.create", 328 "id": "pubsub.projects.subscriptions.getIamPolicy",
273 "parameterOrder": [ 329 "parameterOrder": [
274 "name" 330 "resource"
275 ], 331 ],
276 "parameters": { 332 "parameters": {
277 "name": { 333 "resource": {
278 "description": "The name of the subscription . It must have the format\n`\"projects/{project}/subscriptions/{subscription}\"` . `{subscription}` must\nstart with a letter, and contain only letters (`[A-Za-z ]`), numbers\n(`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),\nplus (`+`) or percent signs (`%`). It must be between 3 and 255 characte rs\nin length, and it must not start with `\"goog\"`.", 334 "description": "REQUIRED: The resource for w hich the policy is being requested.\nSee the operation documentation for the app ropriate value for this field.",
279 "location": "path", 335 "location": "path",
280 "pattern": "^projects/[^/]+/subscriptions/[^ /]+$", 336 "pattern": "^projects/[^/]+/subscriptions/[^ /]+$",
281 "required": true, 337 "required": true,
282 "type": "string" 338 "type": "string"
283 } 339 }
284 }, 340 },
285 "path": "v1beta2/{+name}", 341 "path": "v1beta2/{+resource}:getIamPolicy",
286 "request": {
287 "$ref": "Subscription"
288 },
289 "response": { 342 "response": {
290 "$ref": "Subscription" 343 "$ref": "Policy"
291 }, 344 },
292 "scopes": [ 345 "scopes": [
293 "https://www.googleapis.com/auth/cloud-platform" , 346 "https://www.googleapis.com/auth/cloud-platform" ,
294 "https://www.googleapis.com/auth/pubsub" 347 "https://www.googleapis.com/auth/pubsub"
295 ] 348 ]
296 }, 349 },
297 "acknowledge": { 350 "acknowledge": {
298 "description": "Acknowledges the messages associated with the `ack_ids` in the\n`AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages\nfrom the subscription.\n\nAcknowledging a message whose a ck deadline has expired may succeed,\nbut such a message may be redelivered late r. Acknowledging a message more\nthan once will not result in an error.", 351 "description": "Acknowledges the messages associated with the `ack_ids` in the\n`AcknowledgeRequest`. The Pub/Sub system can remove the relevant messages\nfrom the subscription.\n\nAcknowledging a message whose a ck deadline has expired may succeed,\nbut such a message may be redelivered late r. Acknowledging a message more\nthan once will not result in an error.",
299 "httpMethod": "POST", 352 "httpMethod": "POST",
300 "id": "pubsub.projects.subscriptions.acknowledge", 353 "id": "pubsub.projects.subscriptions.acknowledge",
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 "$ref": "ModifyAckDeadlineRequest" 396 "$ref": "ModifyAckDeadlineRequest"
344 }, 397 },
345 "response": { 398 "response": {
346 "$ref": "Empty" 399 "$ref": "Empty"
347 }, 400 },
348 "scopes": [ 401 "scopes": [
349 "https://www.googleapis.com/auth/cloud-platform" , 402 "https://www.googleapis.com/auth/cloud-platform" ,
350 "https://www.googleapis.com/auth/pubsub" 403 "https://www.googleapis.com/auth/pubsub"
351 ] 404 ]
352 }, 405 },
353 "getIamPolicy": {
354 "description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a p olicy\nset.",
355 "httpMethod": "GET",
356 "id": "pubsub.projects.subscriptions.getIamPolicy",
357 "parameterOrder": [
358 "resource"
359 ],
360 "parameters": {
361 "resource": {
362 "description": "REQUIRED: The resource for w hich the policy is being requested.\nSee the operation documentation for the app ropriate value for this field.",
363 "location": "path",
364 "pattern": "^projects/[^/]+/subscriptions/[^ /]+$",
365 "required": true,
366 "type": "string"
367 }
368 },
369 "path": "v1beta2/{+resource}:getIamPolicy",
370 "response": {
371 "$ref": "Policy"
372 },
373 "scopes": [
374 "https://www.googleapis.com/auth/cloud-platform" ,
375 "https://www.googleapis.com/auth/pubsub"
376 ]
377 },
378 "get": { 406 "get": {
379 "description": "Gets the configuration details of a subscription.", 407 "description": "Gets the configuration details of a subscription.",
380 "httpMethod": "GET", 408 "httpMethod": "GET",
381 "id": "pubsub.projects.subscriptions.get", 409 "id": "pubsub.projects.subscriptions.get",
382 "parameterOrder": [ 410 "parameterOrder": [
383 "subscription" 411 "subscription"
384 ], 412 ],
385 "parameters": { 413 "parameters": {
386 "subscription": { 414 "subscription": {
387 "description": "The name of the subscription to get.", 415 "description": "The name of the subscription to get.",
388 "location": "path", 416 "location": "path",
389 "pattern": "^projects/[^/]+/subscriptions/[^ /]+$", 417 "pattern": "^projects/[^/]+/subscriptions/[^ /]+$",
390 "required": true, 418 "required": true,
391 "type": "string" 419 "type": "string"
392 } 420 }
393 }, 421 },
394 "path": "v1beta2/{+subscription}", 422 "path": "v1beta2/{+subscription}",
395 "response": { 423 "response": {
396 "$ref": "Subscription" 424 "$ref": "Subscription"
397 }, 425 },
398 "scopes": [ 426 "scopes": [
399 "https://www.googleapis.com/auth/cloud-platform" , 427 "https://www.googleapis.com/auth/cloud-platform" ,
400 "https://www.googleapis.com/auth/pubsub" 428 "https://www.googleapis.com/auth/pubsub"
401 ] 429 ]
402 }, 430 }
403 "testIamPermissions": { 431 }
404 "description": "Returns permissions that a caller ha s on the specified resource.\nIf the resource does not exist, this will return a n empty set of\npermissions, not a NOT_FOUND error.\n\nNote: This operation is d esigned to be used for building permission-aware\nUIs and command-line tools, no t for authorization checking. This operation\nmay \"fail open\" without warning. ", 432 },
405 "httpMethod": "POST", 433 "topics": {
406 "id": "pubsub.projects.subscriptions.testIamPermissi ons", 434 "methods": {
435 "list": {
436 "description": "Lists matching topics.",
437 "httpMethod": "GET",
438 "id": "pubsub.projects.topics.list",
407 "parameterOrder": [ 439 "parameterOrder": [
408 "resource" 440 "project"
409 ], 441 ],
410 "parameters": { 442 "parameters": {
411 "resource": { 443 "pageSize": {
412 "description": "REQUIRED: The resource for w hich the policy detail is being requested.\nSee the operation documentation for the appropriate value for this field.", 444 "description": "Maximum number of topics to return.",
445 "format": "int32",
446 "location": "query",
447 "type": "integer"
448 },
449 "project": {
450 "description": "The name of the cloud projec t that topics belong to.",
413 "location": "path", 451 "location": "path",
414 "pattern": "^projects/[^/]+/subscriptions/[^ /]+$", 452 "pattern": "^projects/[^/]+$",
415 "required": true, 453 "required": true,
416 "type": "string" 454 "type": "string"
455 },
456 "pageToken": {
457 "description": "The value returned by the la st `ListTopicsResponse`; indicates that this is\na continuation of a prior `List Topics` call, and that the system should\nreturn the next page of data.",
458 "location": "query",
459 "type": "string"
417 } 460 }
418 }, 461 },
419 "path": "v1beta2/{+resource}:testIamPermissions", 462 "path": "v1beta2/{+project}/topics",
420 "request": {
421 "$ref": "TestIamPermissionsRequest"
422 },
423 "response": { 463 "response": {
424 "$ref": "TestIamPermissionsResponse" 464 "$ref": "ListTopicsResponse"
425 }, 465 },
426 "scopes": [ 466 "scopes": [
427 "https://www.googleapis.com/auth/cloud-platform" , 467 "https://www.googleapis.com/auth/cloud-platform" ,
428 "https://www.googleapis.com/auth/pubsub" 468 "https://www.googleapis.com/auth/pubsub"
429 ] 469 ]
430 } 470 },
431 } 471 "create": {
432 }, 472 "description": "Creates the given topic with the giv en name.",
433 "topics": { 473 "httpMethod": "PUT",
434 "methods": { 474 "id": "pubsub.projects.topics.create",
475 "parameterOrder": [
476 "name"
477 ],
478 "parameters": {
479 "name": {
480 "description": "The name of the topic. It mu st have the format\n`\"projects/{project}/topics/{topic}\"`. `{topic}` must star t with a letter,\nand contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dash es (`-`),\nunderscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent \nsigns (`%`). It must be between 3 and 255 characters in length, and it\nmust n ot start with `\"goog\"`.",
481 "location": "path",
482 "pattern": "^projects/[^/]+/topics/[^/]+$",
483 "required": true,
484 "type": "string"
485 }
486 },
487 "path": "v1beta2/{+name}",
488 "request": {
489 "$ref": "Topic"
490 },
491 "response": {
492 "$ref": "Topic"
493 },
494 "scopes": [
495 "https://www.googleapis.com/auth/cloud-platform" ,
496 "https://www.googleapis.com/auth/pubsub"
497 ]
498 },
435 "setIamPolicy": { 499 "setIamPolicy": {
436 "description": "Sets the access control policy on th e specified resource. Replaces any\nexisting policy.", 500 "description": "Sets the access control policy on th e specified resource. Replaces any\nexisting policy.",
437 "httpMethod": "POST", 501 "httpMethod": "POST",
438 "id": "pubsub.projects.topics.setIamPolicy", 502 "id": "pubsub.projects.topics.setIamPolicy",
439 "parameterOrder": [ 503 "parameterOrder": [
440 "resource" 504 "resource"
441 ], 505 ],
442 "parameters": { 506 "parameters": {
443 "resource": { 507 "resource": {
444 "description": "REQUIRED: The resource for w hich the policy is being specified.\nSee the operation documentation for the app ropriate value for this field.", 508 "description": "REQUIRED: The resource for w hich the policy is being specified.\nSee the operation documentation for the app ropriate value for this field.",
445 "location": "path", 509 "location": "path",
446 "pattern": "^projects/[^/]+/topics/[^/]+$", 510 "pattern": "^projects/[^/]+/topics/[^/]+$",
447 "required": true, 511 "required": true,
448 "type": "string" 512 "type": "string"
449 } 513 }
450 }, 514 },
451 "path": "v1beta2/{+resource}:setIamPolicy", 515 "path": "v1beta2/{+resource}:setIamPolicy",
452 "request": { 516 "request": {
453 "$ref": "SetIamPolicyRequest" 517 "$ref": "SetIamPolicyRequest"
454 }, 518 },
455 "response": { 519 "response": {
456 "$ref": "Policy" 520 "$ref": "Policy"
457 }, 521 },
458 "scopes": [ 522 "scopes": [
459 "https://www.googleapis.com/auth/cloud-platform" , 523 "https://www.googleapis.com/auth/cloud-platform" ,
460 "https://www.googleapis.com/auth/pubsub" 524 "https://www.googleapis.com/auth/pubsub"
461 ] 525 ]
462 }, 526 },
463 "create": {
464 "description": "Creates the given topic with the giv en name.",
465 "httpMethod": "PUT",
466 "id": "pubsub.projects.topics.create",
467 "parameterOrder": [
468 "name"
469 ],
470 "parameters": {
471 "name": {
472 "description": "The name of the topic. It mu st have the format\n`\"projects/{project}/topics/{topic}\"`. `{topic}` must star t with a letter,\nand contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dash es (`-`),\nunderscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent \nsigns (`%`). It must be between 3 and 255 characters in length, and it\nmust n ot start with `\"goog\"`.",
473 "location": "path",
474 "pattern": "^projects/[^/]+/topics/[^/]+$",
475 "required": true,
476 "type": "string"
477 }
478 },
479 "path": "v1beta2/{+name}",
480 "request": {
481 "$ref": "Topic"
482 },
483 "response": {
484 "$ref": "Topic"
485 },
486 "scopes": [
487 "https://www.googleapis.com/auth/cloud-platform" ,
488 "https://www.googleapis.com/auth/pubsub"
489 ]
490 },
491 "getIamPolicy": { 527 "getIamPolicy": {
492 "description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a p olicy\nset.", 528 "description": "Gets the access control policy for a resource.\nReturns an empty policy if the resource exists and does not have a p olicy\nset.",
493 "httpMethod": "GET", 529 "httpMethod": "GET",
494 "id": "pubsub.projects.topics.getIamPolicy", 530 "id": "pubsub.projects.topics.getIamPolicy",
495 "parameterOrder": [ 531 "parameterOrder": [
496 "resource" 532 "resource"
497 ], 533 ],
498 "parameters": { 534 "parameters": {
499 "resource": { 535 "resource": {
500 "description": "REQUIRED: The resource for w hich the policy is being requested.\nSee the operation documentation for the app ropriate value for this field.", 536 "description": "REQUIRED: The resource for w hich the policy is being requested.\nSee the operation documentation for the app ropriate value for this field.",
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 } 647 }
612 }, 648 },
613 "path": "v1beta2/{+topic}", 649 "path": "v1beta2/{+topic}",
614 "response": { 650 "response": {
615 "$ref": "Empty" 651 "$ref": "Empty"
616 }, 652 },
617 "scopes": [ 653 "scopes": [
618 "https://www.googleapis.com/auth/cloud-platform" , 654 "https://www.googleapis.com/auth/cloud-platform" ,
619 "https://www.googleapis.com/auth/pubsub" 655 "https://www.googleapis.com/auth/pubsub"
620 ] 656 ]
621 },
622 "list": {
623 "description": "Lists matching topics.",
624 "httpMethod": "GET",
625 "id": "pubsub.projects.topics.list",
626 "parameterOrder": [
627 "project"
628 ],
629 "parameters": {
630 "pageToken": {
631 "description": "The value returned by the la st `ListTopicsResponse`; indicates that this is\na continuation of a prior `List Topics` call, and that the system should\nreturn the next page of data.",
632 "location": "query",
633 "type": "string"
634 },
635 "pageSize": {
636 "description": "Maximum number of topics to return.",
637 "format": "int32",
638 "location": "query",
639 "type": "integer"
640 },
641 "project": {
642 "description": "The name of the cloud projec t that topics belong to.",
643 "location": "path",
644 "pattern": "^projects/[^/]+$",
645 "required": true,
646 "type": "string"
647 }
648 },
649 "path": "v1beta2/{+project}/topics",
650 "response": {
651 "$ref": "ListTopicsResponse"
652 },
653 "scopes": [
654 "https://www.googleapis.com/auth/cloud-platform" ,
655 "https://www.googleapis.com/auth/pubsub"
656 ]
657 } 657 }
658 }, 658 },
659 "resources": { 659 "resources": {
660 "subscriptions": { 660 "subscriptions": {
661 "methods": { 661 "methods": {
662 "list": { 662 "list": {
663 "description": "Lists the name of the subscr iptions for this topic.", 663 "description": "Lists the name of the subscr iptions for this topic.",
664 "httpMethod": "GET", 664 "httpMethod": "GET",
665 "id": "pubsub.projects.topics.subscriptions. list", 665 "id": "pubsub.projects.topics.subscriptions. list",
666 "parameterOrder": [ 666 "parameterOrder": [
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 } 698 }
699 } 699 }
700 } 700 }
701 } 701 }
702 } 702 }
703 } 703 }
704 }, 704 },
705 "revision": "20170630", 705 "revision": "20170630",
706 "rootUrl": "https://pubsub.googleapis.com/", 706 "rootUrl": "https://pubsub.googleapis.com/",
707 "schemas": { 707 "schemas": {
708 "PubsubMessage": {
709 "description": "A message data and its attributes. The message paylo ad must not be empty;\nit must contain either a non-empty data field, or at leas t one attribute.",
710 "id": "PubsubMessage",
711 "properties": {
712 "messageId": {
713 "description": "ID of this message, assigned by the server w hen the message is published.\nGuaranteed to be unique within the topic. This va lue may be read by a\nsubscriber that receives a `PubsubMessage` via a `Pull` ca ll or a push\ndelivery. It must not be populated by the publisher in a `Publish` call.",
714 "type": "string"
715 },
716 "attributes": {
717 "additionalProperties": {
718 "type": "string"
719 },
720 "description": "Optional attributes for this message.",
721 "type": "object"
722 },
723 "publishTime": {
724 "description": "The time at which the message was published, populated by the server when\nit receives the `Publish` call. It must not be po pulated by the\npublisher in a `Publish` call.",
725 "format": "google-datetime",
726 "type": "string"
727 },
728 "data": {
729 "description": "The message payload. For JSON requests, the value of this field must be\n[base64-encoded](https://tools.ietf.org/html/rfc464 8).",
730 "format": "byte",
731 "type": "string"
732 }
733 },
734 "type": "object"
735 },
736 "ModifyPushConfigRequest": {
737 "description": "Request for the ModifyPushConfig method.",
738 "id": "ModifyPushConfigRequest",
739 "properties": {
740 "pushConfig": {
741 "$ref": "PushConfig",
742 "description": "The push configuration for future deliveries .\n\nAn empty `pushConfig` indicates that the Pub/Sub system should\nstop pushin g messages from the given subscription and allow\nmessages to be pulled and ackn owledged - effectively pausing\nthe subscription if `Pull` is not called."
743 }
744 },
745 "type": "object"
746 },
747 "Binding": {
748 "description": "Associates `members` with a `role`.",
749 "id": "Binding",
750 "properties": {
751 "members": {
752 "description": "Specifies the identities requesting access f or a Cloud Platform resource.\n`members` can have the following values:\n\n* `al lUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special ident ifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a spec ific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\ n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{e mailid}`: An email address that represents a Google group.\n For example, `adm ins@example.com`.\n\n\n* `domain:{domain}`: A Google Apps domain name that repre sents all the\n users of that domain. For example, `google.com` or `example.co m`.\n\n",
753 "items": {
754 "type": "string"
755 },
756 "type": "array"
757 },
758 "role": {
759 "description": "Role that is assigned to `members`.\nFor exa mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
760 "type": "string"
761 }
762 },
763 "type": "object"
764 },
765 "AcknowledgeRequest": {
766 "description": "Request for the Acknowledge method.",
767 "id": "AcknowledgeRequest",
768 "properties": {
769 "ackIds": {
770 "description": "The acknowledgment ID for the messages being acknowledged that was returned\nby the Pub/Sub system in the `Pull` response. M ust not be empty.",
771 "items": {
772 "type": "string"
773 },
774 "type": "array"
775 }
776 },
777 "type": "object"
778 },
779 "Empty": {
780 "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use i t as the request\nor the response type of an API method. For instance:\n\n se rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty );\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
781 "id": "Empty",
782 "properties": {},
783 "type": "object"
784 },
785 "ListTopicsResponse": {
786 "description": "Response for the `ListTopics` method.",
787 "id": "ListTopicsResponse",
788 "properties": {
789 "nextPageToken": {
790 "description": "If not empty, indicates that there may be mo re topics that match the\nrequest; this value should be passed in a new `ListTop icsRequest`.",
791 "type": "string"
792 },
793 "topics": {
794 "description": "The resulting topics.",
795 "items": {
796 "$ref": "Topic"
797 },
798 "type": "array"
799 }
800 },
801 "type": "object"
802 },
803 "ListTopicSubscriptionsResponse": {
804 "description": "Response for the `ListTopicSubscriptions` method.",
805 "id": "ListTopicSubscriptionsResponse",
806 "properties": {
807 "nextPageToken": {
808 "description": "If not empty, indicates that there may be mo re subscriptions that match\nthe request; this value should be passed in a new\n `ListTopicSubscriptionsRequest` to get more subscriptions.",
809 "type": "string"
810 },
811 "subscriptions": {
812 "description": "The names of the subscriptions that match th e request.",
813 "items": {
814 "type": "string"
815 },
816 "type": "array"
817 }
818 },
819 "type": "object"
820 },
821 "PullResponse": {
822 "description": "Response for the `Pull` method.",
823 "id": "PullResponse",
824 "properties": {
825 "receivedMessages": {
826 "description": "Received Pub/Sub messages. The Pub/Sub syste m will return zero messages if\nthere are no more available in the backlog. The Pub/Sub system may return\nfewer than the `maxMessages` requested even if there are more messages\navailable in the backlog.",
827 "items": {
828 "$ref": "ReceivedMessage"
829 },
830 "type": "array"
831 }
832 },
833 "type": "object"
834 },
835 "ReceivedMessage": { 708 "ReceivedMessage": {
836 "description": "A message and its corresponding acknowledgment ID.", 709 "description": "A message and its corresponding acknowledgment ID.",
837 "id": "ReceivedMessage", 710 "id": "ReceivedMessage",
838 "properties": { 711 "properties": {
839 "message": { 712 "message": {
840 "$ref": "PubsubMessage", 713 "$ref": "PubsubMessage",
841 "description": "The message." 714 "description": "The message."
842 }, 715 },
843 "ackId": { 716 "ackId": {
844 "description": "This ID can be used to acknowledge the recei ved message.", 717 "description": "This ID can be used to acknowledge the recei ved message.",
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
938 }, 811 },
939 "type": "array" 812 "type": "array"
940 } 813 }
941 }, 814 },
942 "type": "object" 815 "type": "object"
943 }, 816 },
944 "Subscription": { 817 "Subscription": {
945 "description": "A subscription resource.", 818 "description": "A subscription resource.",
946 "id": "Subscription", 819 "id": "Subscription",
947 "properties": { 820 "properties": {
821 "topic": {
822 "description": "The name of the topic from which this subscr iption is receiving messages.\nThe value of this field will be `_deleted-topic_` if the topic has been\ndeleted.",
823 "type": "string"
824 },
948 "pushConfig": { 825 "pushConfig": {
949 "$ref": "PushConfig", 826 "$ref": "PushConfig",
950 "description": "If push delivery is used with this subscript ion, this field is\nused to configure it. An empty `pushConfig` signifies that t he subscriber\nwill pull and ack messages using API methods." 827 "description": "If push delivery is used with this subscript ion, this field is\nused to configure it. An empty `pushConfig` signifies that t he subscriber\nwill pull and ack messages using API methods."
951 }, 828 },
952 "ackDeadlineSeconds": { 829 "ackDeadlineSeconds": {
953 "description": "This value is the maximum time after a subsc riber receives a message\nbefore the subscriber should acknowledge the message. After message\ndelivery but before the ack deadline expires and before the messa ge is\nacknowledged, it is an outstanding message and will not be delivered\naga in during that time (on a best-effort basis).\n\nFor pull subscriptions, this va lue is used as the initial value for the ack\ndeadline. To override this value f or a given message, call\n`ModifyAckDeadline` with the corresponding `ack_id` if using pull.\nThe maximum custom deadline you can specify is 600 seconds (10 min utes).\n\nFor push delivery, this value is also used to set the request timeout for\nthe call to the push endpoint.\n\nIf the subscriber never acknowledges the message, the Pub/Sub\nsystem will eventually redeliver the message.\n\nIf this p arameter is 0, a default value of 10 seconds is used.", 830 "description": "This value is the maximum time after a subsc riber receives a message\nbefore the subscriber should acknowledge the message. After message\ndelivery but before the ack deadline expires and before the messa ge is\nacknowledged, it is an outstanding message and will not be delivered\naga in during that time (on a best-effort basis).\n\nFor pull subscriptions, this va lue is used as the initial value for the ack\ndeadline. To override this value f or a given message, call\n`ModifyAckDeadline` with the corresponding `ack_id` if using pull.\nThe maximum custom deadline you can specify is 600 seconds (10 min utes).\n\nFor push delivery, this value is also used to set the request timeout for\nthe call to the push endpoint.\n\nIf the subscriber never acknowledges the message, the Pub/Sub\nsystem will eventually redeliver the message.\n\nIf this p arameter is 0, a default value of 10 seconds is used.",
954 "format": "int32", 831 "format": "int32",
955 "type": "integer" 832 "type": "integer"
956 }, 833 },
957 "name": { 834 "name": {
958 "description": "The name of the subscription. It must have t he format\n`\"projects/{project}/subscriptions/{subscription}\"`. `{subscription }` must\nstart with a letter, and contain only letters (`[A-Za-z]`), numbers\n(` [0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),\nplus (`+ `) or percent signs (`%`). It must be between 3 and 255 characters\nin length, a nd it must not start with `\"goog\"`.", 835 "description": "The name of the subscription. It must have t he format\n`\"projects/{project}/subscriptions/{subscription}\"`. `{subscription }` must\nstart with a letter, and contain only letters (`[A-Za-z]`), numbers\n(` [0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~`),\nplus (`+ `) or percent signs (`%`). It must be between 3 and 255 characters\nin length, a nd it must not start with `\"goog\"`.",
959 "type": "string" 836 "type": "string"
960 },
961 "topic": {
962 "description": "The name of the topic from which this subscr iption is receiving messages.\nThe value of this field will be `_deleted-topic_` if the topic has been\ndeleted.",
963 "type": "string"
964 } 837 }
965 }, 838 },
966 "type": "object" 839 "type": "object"
967 }, 840 },
968 "TestIamPermissionsRequest": { 841 "TestIamPermissionsRequest": {
969 "description": "Request message for `TestIamPermissions` method.", 842 "description": "Request message for `TestIamPermissions` method.",
970 "id": "TestIamPermissionsRequest", 843 "id": "TestIamPermissionsRequest",
971 "properties": { 844 "properties": {
972 "permissions": { 845 "permissions": {
973 "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).", 846 "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).",
974 "items": { 847 "items": {
975 "type": "string" 848 "type": "string"
976 }, 849 },
977 "type": "array" 850 "type": "array"
978 } 851 }
979 }, 852 },
980 "type": "object" 853 "type": "object"
981 }, 854 },
982 "Topic": {
983 "description": "A topic resource.",
984 "id": "Topic",
985 "properties": {
986 "name": {
987 "description": "The name of the topic. It must have the form at\n`\"projects/{project}/topics/{topic}\"`. `{topic}` must start with a letter, \nand contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),\nunder scores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent\nsigns (`%`). I t must be between 3 and 255 characters in length, and it\nmust not start with `\ "goog\"`.",
988 "type": "string"
989 }
990 },
991 "type": "object"
992 },
993 "Policy": { 855 "Policy": {
994 "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).", 856 "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).",
995 "id": "Policy", 857 "id": "Policy",
996 "properties": { 858 "properties": {
997 "etag": { 859 "etag": {
998 "description": "`etag` is used for optimistic concurrency co ntrol as a way to help\nprevent simultaneous updates of a policy from overwritin g each other.\nIt is strongly suggested that systems make use of the `etag` in t he\nread-modify-write cycle to perform policy updates in order to avoid race\nco nditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that t heir change will be applied to the same version of the policy.\n\nIf no `etag` i s provided in the call to `setIamPolicy`, then the existing\npolicy is overwritt en blindly.", 860 "description": "`etag` is used for optimistic concurrency co ntrol as a way to help\nprevent simultaneous updates of a policy from overwritin g each other.\nIt is strongly suggested that systems make use of the `etag` in t he\nread-modify-write cycle to perform policy updates in order to avoid race\nco nditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems are expected to put that etag in the request to `setIamPolicy` to\nensure that t heir change will be applied to the same version of the policy.\n\nIf no `etag` i s provided in the call to `setIamPolicy`, then the existing\npolicy is overwritt en blindly.",
999 "format": "byte", 861 "format": "byte",
1000 "type": "string" 862 "type": "string"
1001 }, 863 },
1002 "version": { 864 "version": {
1003 "description": "Version of the `Policy`. The default version is 0.", 865 "description": "Version of the `Policy`. The default version is 0.",
1004 "format": "int32", 866 "format": "int32",
1005 "type": "integer" 867 "type": "integer"
1006 }, 868 },
1007 "bindings": { 869 "bindings": {
1008 "description": "Associates a list of `members` to a `role`.\ n`bindings` with no members will result in an error.", 870 "description": "Associates a list of `members` to a `role`.\ n`bindings` with no members will result in an error.",
1009 "items": { 871 "items": {
1010 "$ref": "Binding" 872 "$ref": "Binding"
1011 }, 873 },
1012 "type": "array" 874 "type": "array"
1013 } 875 }
1014 }, 876 },
1015 "type": "object" 877 "type": "object"
1016 }, 878 },
879 "Topic": {
880 "description": "A topic resource.",
881 "id": "Topic",
882 "properties": {
883 "name": {
884 "description": "The name of the topic. It must have the form at\n`\"projects/{project}/topics/{topic}\"`. `{topic}` must start with a letter, \nand contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`),\nunder scores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent\nsigns (`%`). I t must be between 3 and 255 characters in length, and it\nmust not start with `\ "goog\"`.",
885 "type": "string"
886 }
887 },
888 "type": "object"
889 },
1017 "ModifyAckDeadlineRequest": { 890 "ModifyAckDeadlineRequest": {
1018 "description": "Request for the ModifyAckDeadline method.", 891 "description": "Request for the ModifyAckDeadline method.",
1019 "id": "ModifyAckDeadlineRequest", 892 "id": "ModifyAckDeadlineRequest",
1020 "properties": { 893 "properties": {
894 "ackIds": {
895 "description": "List of acknowledgment IDs.",
896 "items": {
897 "type": "string"
898 },
899 "type": "array"
900 },
1021 "ackId": { 901 "ackId": {
1022 "description": "The acknowledgment ID. Either this or ack_id s must be populated, but not\nboth.", 902 "description": "The acknowledgment ID. Either this or ack_id s must be populated, but not\nboth.",
1023 "type": "string" 903 "type": "string"
1024 }, 904 },
1025 "ackDeadlineSeconds": { 905 "ackDeadlineSeconds": {
1026 "description": "The new ack deadline with respect to the tim e this request was sent to\nthe Pub/Sub system. Must be >= 0. For example, if th e value is 10, the new\nack deadline will expire 10 seconds after the `ModifyAck Deadline` call\nwas made. Specifying zero may immediately make the message avail able for\nanother pull request.", 906 "description": "The new ack deadline with respect to the tim e this request was sent to\nthe Pub/Sub system. Must be >= 0. For example, if th e value is 10, the new\nack deadline will expire 10 seconds after the `ModifyAck Deadline` call\nwas made. Specifying zero may immediately make the message avail able for\nanother pull request.",
1027 "format": "int32", 907 "format": "int32",
1028 "type": "integer" 908 "type": "integer"
1029 },
1030 "ackIds": {
1031 "description": "List of acknowledgment IDs.",
1032 "items": {
1033 "type": "string"
1034 },
1035 "type": "array"
1036 } 909 }
1037 }, 910 },
1038 "type": "object" 911 "type": "object"
1039 }, 912 },
1040 "SetIamPolicyRequest": { 913 "SetIamPolicyRequest": {
1041 "description": "Request message for `SetIamPolicy` method.", 914 "description": "Request message for `SetIamPolicy` method.",
1042 "id": "SetIamPolicyRequest", 915 "id": "SetIamPolicyRequest",
1043 "properties": { 916 "properties": {
1044 "policy": { 917 "policy": {
1045 "$ref": "Policy", 918 "$ref": "Policy",
1046 "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An emp ty policy is a\nvalid policy but certain Cloud Platform services (such as Projec ts)\nmight reject them." 919 "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An emp ty policy is a\nvalid policy but certain Cloud Platform services (such as Projec ts)\nmight reject them."
1047 } 920 }
1048 }, 921 },
1049 "type": "object" 922 "type": "object"
923 },
924 "ModifyPushConfigRequest": {
925 "description": "Request for the ModifyPushConfig method.",
926 "id": "ModifyPushConfigRequest",
927 "properties": {
928 "pushConfig": {
929 "$ref": "PushConfig",
930 "description": "The push configuration for future deliveries .\n\nAn empty `pushConfig` indicates that the Pub/Sub system should\nstop pushin g messages from the given subscription and allow\nmessages to be pulled and ackn owledged - effectively pausing\nthe subscription if `Pull` is not called."
931 }
932 },
933 "type": "object"
934 },
935 "PubsubMessage": {
936 "description": "A message data and its attributes. The message paylo ad must not be empty;\nit must contain either a non-empty data field, or at leas t one attribute.",
937 "id": "PubsubMessage",
938 "properties": {
939 "messageId": {
940 "description": "ID of this message, assigned by the server w hen the message is published.\nGuaranteed to be unique within the topic. This va lue may be read by a\nsubscriber that receives a `PubsubMessage` via a `Pull` ca ll or a push\ndelivery. It must not be populated by the publisher in a `Publish` call.",
941 "type": "string"
942 },
943 "attributes": {
944 "additionalProperties": {
945 "type": "string"
946 },
947 "description": "Optional attributes for this message.",
948 "type": "object"
949 },
950 "publishTime": {
951 "description": "The time at which the message was published, populated by the server when\nit receives the `Publish` call. It must not be po pulated by the\npublisher in a `Publish` call.",
952 "format": "google-datetime",
953 "type": "string"
954 },
955 "data": {
956 "description": "The message payload. For JSON requests, the value of this field must be\n[base64-encoded](https://tools.ietf.org/html/rfc464 8).",
957 "format": "byte",
958 "type": "string"
959 }
960 },
961 "type": "object"
962 },
963 "Binding": {
964 "description": "Associates `members` with a `role`.",
965 "id": "Binding",
966 "properties": {
967 "members": {
968 "description": "Specifies the identities requesting access f or a Cloud Platform resource.\n`members` can have the following values:\n\n* `al lUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special ident ifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a spec ific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\ n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{e mailid}`: An email address that represents a Google group.\n For example, `adm ins@example.com`.\n\n\n* `domain:{domain}`: A Google Apps domain name that repre sents all the\n users of that domain. For example, `google.com` or `example.co m`.\n\n",
969 "items": {
970 "type": "string"
971 },
972 "type": "array"
973 },
974 "role": {
975 "description": "Role that is assigned to `members`.\nFor exa mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
976 "type": "string"
977 }
978 },
979 "type": "object"
980 },
981 "Empty": {
982 "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use i t as the request\nor the response type of an API method. For instance:\n\n se rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty );\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.",
983 "id": "Empty",
984 "properties": {},
985 "type": "object"
986 },
987 "AcknowledgeRequest": {
988 "description": "Request for the Acknowledge method.",
989 "id": "AcknowledgeRequest",
990 "properties": {
991 "ackIds": {
992 "description": "The acknowledgment ID for the messages being acknowledged that was returned\nby the Pub/Sub system in the `Pull` response. M ust not be empty.",
993 "items": {
994 "type": "string"
995 },
996 "type": "array"
997 }
998 },
999 "type": "object"
1000 },
1001 "ListTopicsResponse": {
1002 "description": "Response for the `ListTopics` method.",
1003 "id": "ListTopicsResponse",
1004 "properties": {
1005 "topics": {
1006 "description": "The resulting topics.",
1007 "items": {
1008 "$ref": "Topic"
1009 },
1010 "type": "array"
1011 },
1012 "nextPageToken": {
1013 "description": "If not empty, indicates that there may be mo re topics that match the\nrequest; this value should be passed in a new `ListTop icsRequest`.",
1014 "type": "string"
1015 }
1016 },
1017 "type": "object"
1018 },
1019 "ListTopicSubscriptionsResponse": {
1020 "description": "Response for the `ListTopicSubscriptions` method.",
1021 "id": "ListTopicSubscriptionsResponse",
1022 "properties": {
1023 "nextPageToken": {
1024 "description": "If not empty, indicates that there may be mo re subscriptions that match\nthe request; this value should be passed in a new\n `ListTopicSubscriptionsRequest` to get more subscriptions.",
1025 "type": "string"
1026 },
1027 "subscriptions": {
1028 "description": "The names of the subscriptions that match th e request.",
1029 "items": {
1030 "type": "string"
1031 },
1032 "type": "array"
1033 }
1034 },
1035 "type": "object"
1036 },
1037 "PullResponse": {
1038 "description": "Response for the `Pull` method.",
1039 "id": "PullResponse",
1040 "properties": {
1041 "receivedMessages": {
1042 "description": "Received Pub/Sub messages. The Pub/Sub syste m will return zero messages if\nthere are no more available in the backlog. The Pub/Sub system may return\nfewer than the `maxMessages` requested even if there are more messages\navailable in the backlog.",
1043 "items": {
1044 "$ref": "ReceivedMessage"
1045 },
1046 "type": "array"
1047 }
1048 },
1049 "type": "object"
1050 } 1050 }
1051 }, 1051 },
1052 "servicePath": "", 1052 "servicePath": "",
1053 "title": "Google Cloud Pub/Sub API", 1053 "title": "Google Cloud Pub/Sub API",
1054 "version": "v1beta2" 1054 "version": "v1beta2"
1055 } 1055 }
OLDNEW
« no previous file with comments | « discovery/googleapis_beta/proximitybeacon__v1beta1.json ('k') | discovery/googleapis_beta/runtimeconfig__v1beta1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698