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

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

Issue 2485703002: Api-roll 42: 2016-11-08 (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « discovery/googleapis/plus__v1.json ('k') | discovery/googleapis/runtimeconfig__v1.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/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 }
11 } 11 }
12 } 12 }
13 }, 13 },
14 "basePath": "", 14 "basePath": "",
15 "baseUrl": "https://pubsub.googleapis.com/", 15 "baseUrl": "https://pubsub.googleapis.com/",
16 "batchPath": "batch", 16 "batchPath": "batch",
17 "description": "Provides reliable, many-to-many, asynchronous messaging betw een applications.", 17 "description": "Provides reliable, many-to-many, asynchronous messaging betw een applications.",
18 "discoveryVersion": "v1", 18 "discoveryVersion": "v1",
19 "documentationLink": "https://cloud.google.com/pubsub/docs", 19 "documentationLink": "https://cloud.google.com/pubsub/docs",
20 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/liyzgLngirW3xU7Tt2Pd1AnSK1c\"", 20 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/HIsdIvCDXEirzqtPtZbE0wV3MKA\"",
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:v1", 25 "id": "pubsub:v1",
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": {
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 "methods": { 114 "methods": {
115 "setIamPolicy": { 115 "setIamPolicy": {
116 "description": "Sets the access control policy on th e specified resource. Replaces any existing policy.", 116 "description": "Sets the access control policy on th e specified resource. Replaces any existing policy.",
117 "httpMethod": "POST", 117 "httpMethod": "POST",
118 "id": "pubsub.projects.topics.setIamPolicy", 118 "id": "pubsub.projects.topics.setIamPolicy",
119 "parameterOrder": [ 119 "parameterOrder": [
120 "resource" 120 "resource"
121 ], 121 ],
122 "parameters": { 122 "parameters": {
123 "resource": { 123 "resource": {
124 "description": "REQUIRED: The resource for w hich the policy is being specified. `resource` is usually specified as a path, s uch as `projects/*project*/zones/*zone*/disks/*disk*`. The format for the path s pecified in this value is resource specific and is specified in the `setIamPolic y` documentation.", 124 "description": "REQUIRED: The resource for w hich the policy is being specified. `resource` is usually specified as a path. F or example, a Project resource is specified as `projects/{project}`.",
125 "location": "path", 125 "location": "path",
126 "pattern": "^projects/[^/]*/topics/[^/]*$", 126 "pattern": "^projects/[^/]*/topics/[^/]*$",
127 "required": true, 127 "required": true,
128 "type": "string" 128 "type": "string"
129 } 129 }
130 }, 130 },
131 "path": "v1/{+resource}:setIamPolicy", 131 "path": "v1/{+resource}:setIamPolicy",
132 "request": { 132 "request": {
133 "$ref": "SetIamPolicyRequest" 133 "$ref": "SetIamPolicyRequest"
134 }, 134 },
135 "response": { 135 "response": {
136 "$ref": "Policy" 136 "$ref": "Policy"
137 }, 137 },
138 "scopes": [ 138 "scopes": [
139 "https://www.googleapis.com/auth/cloud-platform" , 139 "https://www.googleapis.com/auth/cloud-platform" ,
140 "https://www.googleapis.com/auth/pubsub" 140 "https://www.googleapis.com/auth/pubsub"
141 ] 141 ]
142 }, 142 },
143 "getIamPolicy": { 143 "getIamPolicy": {
144 "description": "Gets the access control policy for a `resource`. Returns an empty policy if the resource exists and does not have a policy set.", 144 "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a po licy set.",
145 "httpMethod": "GET", 145 "httpMethod": "GET",
146 "id": "pubsub.projects.topics.getIamPolicy", 146 "id": "pubsub.projects.topics.getIamPolicy",
147 "parameterOrder": [ 147 "parameterOrder": [
148 "resource" 148 "resource"
149 ], 149 ],
150 "parameters": { 150 "parameters": {
151 "resource": { 151 "resource": {
152 "description": "REQUIRED: The resource for w hich the policy is being requested. `resource` is usually specified as a path, s uch as `projects/*project*/zones/*zone*/disks/*disk*`. The format for the path s pecified in this value is resource specific and is specified in the `getIamPolic y` documentation.", 152 "description": "REQUIRED: The resource for w hich the policy is being requested. `resource` is usually specified as a path. F or example, a Project resource is specified as `projects/{project}`.",
153 "location": "path", 153 "location": "path",
154 "pattern": "^projects/[^/]*/topics/[^/]*$", 154 "pattern": "^projects/[^/]*/topics/[^/]*$",
155 "required": true, 155 "required": true,
156 "type": "string" 156 "type": "string"
157 } 157 }
158 }, 158 },
159 "path": "v1/{+resource}:getIamPolicy", 159 "path": "v1/{+resource}:getIamPolicy",
160 "response": { 160 "response": {
161 "$ref": "Policy" 161 "$ref": "Policy"
162 }, 162 },
163 "scopes": [ 163 "scopes": [
164 "https://www.googleapis.com/auth/cloud-platform" , 164 "https://www.googleapis.com/auth/cloud-platform" ,
165 "https://www.googleapis.com/auth/pubsub" 165 "https://www.googleapis.com/auth/pubsub"
166 ] 166 ]
167 }, 167 },
168 "testIamPermissions": { 168 "testIamPermissions": {
169 "description": "Returns permissions that a caller ha s on the specified resource.", 169 "description": "Returns permissions that a caller ha s on the specified resource.",
170 "httpMethod": "POST", 170 "httpMethod": "POST",
171 "id": "pubsub.projects.topics.testIamPermissions", 171 "id": "pubsub.projects.topics.testIamPermissions",
172 "parameterOrder": [ 172 "parameterOrder": [
173 "resource" 173 "resource"
174 ], 174 ],
175 "parameters": { 175 "parameters": {
176 "resource": { 176 "resource": {
177 "description": "REQUIRED: The resource for w hich the policy detail is being requested. `resource` is usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*disk*`. The format for the path specified in this value is resource specific and is specified in the `test IamPermissions` documentation.", 177 "description": "REQUIRED: The resource for w hich the policy detail is being requested. `resource` is usually specified as a path. For example, a Project resource is specified as `projects/{project}`.",
178 "location": "path", 178 "location": "path",
179 "pattern": "^projects/[^/]*/topics/[^/]*$", 179 "pattern": "^projects/[^/]*/topics/[^/]*$",
180 "required": true, 180 "required": true,
181 "type": "string" 181 "type": "string"
182 } 182 }
183 }, 183 },
184 "path": "v1/{+resource}:testIamPermissions", 184 "path": "v1/{+resource}:testIamPermissions",
185 "request": { 185 "request": {
186 "$ref": "TestIamPermissionsRequest" 186 "$ref": "TestIamPermissionsRequest"
187 }, 187 },
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 "methods": { 383 "methods": {
384 "setIamPolicy": { 384 "setIamPolicy": {
385 "description": "Sets the access control policy on th e specified resource. Replaces any existing policy.", 385 "description": "Sets the access control policy on th e specified resource. Replaces any existing policy.",
386 "httpMethod": "POST", 386 "httpMethod": "POST",
387 "id": "pubsub.projects.subscriptions.setIamPolicy", 387 "id": "pubsub.projects.subscriptions.setIamPolicy",
388 "parameterOrder": [ 388 "parameterOrder": [
389 "resource" 389 "resource"
390 ], 390 ],
391 "parameters": { 391 "parameters": {
392 "resource": { 392 "resource": {
393 "description": "REQUIRED: The resource for w hich the policy is being specified. `resource` is usually specified as a path, s uch as `projects/*project*/zones/*zone*/disks/*disk*`. The format for the path s pecified in this value is resource specific and is specified in the `setIamPolic y` documentation.", 393 "description": "REQUIRED: The resource for w hich the policy is being specified. `resource` is usually specified as a path. F or example, a Project resource is specified as `projects/{project}`.",
394 "location": "path", 394 "location": "path",
395 "pattern": "^projects/[^/]*/subscriptions/[^ /]*$", 395 "pattern": "^projects/[^/]*/subscriptions/[^ /]*$",
396 "required": true, 396 "required": true,
397 "type": "string" 397 "type": "string"
398 } 398 }
399 }, 399 },
400 "path": "v1/{+resource}:setIamPolicy", 400 "path": "v1/{+resource}:setIamPolicy",
401 "request": { 401 "request": {
402 "$ref": "SetIamPolicyRequest" 402 "$ref": "SetIamPolicyRequest"
403 }, 403 },
404 "response": { 404 "response": {
405 "$ref": "Policy" 405 "$ref": "Policy"
406 }, 406 },
407 "scopes": [ 407 "scopes": [
408 "https://www.googleapis.com/auth/cloud-platform" , 408 "https://www.googleapis.com/auth/cloud-platform" ,
409 "https://www.googleapis.com/auth/pubsub" 409 "https://www.googleapis.com/auth/pubsub"
410 ] 410 ]
411 }, 411 },
412 "getIamPolicy": { 412 "getIamPolicy": {
413 "description": "Gets the access control policy for a `resource`. Returns an empty policy if the resource exists and does not have a policy set.", 413 "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a po licy set.",
414 "httpMethod": "GET", 414 "httpMethod": "GET",
415 "id": "pubsub.projects.subscriptions.getIamPolicy", 415 "id": "pubsub.projects.subscriptions.getIamPolicy",
416 "parameterOrder": [ 416 "parameterOrder": [
417 "resource" 417 "resource"
418 ], 418 ],
419 "parameters": { 419 "parameters": {
420 "resource": { 420 "resource": {
421 "description": "REQUIRED: The resource for w hich the policy is being requested. `resource` is usually specified as a path, s uch as `projects/*project*/zones/*zone*/disks/*disk*`. The format for the path s pecified in this value is resource specific and is specified in the `getIamPolic y` documentation.", 421 "description": "REQUIRED: The resource for w hich the policy is being requested. `resource` is usually specified as a path. F or example, a Project resource is specified as `projects/{project}`.",
422 "location": "path", 422 "location": "path",
423 "pattern": "^projects/[^/]*/subscriptions/[^ /]*$", 423 "pattern": "^projects/[^/]*/subscriptions/[^ /]*$",
424 "required": true, 424 "required": true,
425 "type": "string" 425 "type": "string"
426 } 426 }
427 }, 427 },
428 "path": "v1/{+resource}:getIamPolicy", 428 "path": "v1/{+resource}:getIamPolicy",
429 "response": { 429 "response": {
430 "$ref": "Policy" 430 "$ref": "Policy"
431 }, 431 },
432 "scopes": [ 432 "scopes": [
433 "https://www.googleapis.com/auth/cloud-platform" , 433 "https://www.googleapis.com/auth/cloud-platform" ,
434 "https://www.googleapis.com/auth/pubsub" 434 "https://www.googleapis.com/auth/pubsub"
435 ] 435 ]
436 }, 436 },
437 "testIamPermissions": { 437 "testIamPermissions": {
438 "description": "Returns permissions that a caller ha s on the specified resource.", 438 "description": "Returns permissions that a caller ha s on the specified resource.",
439 "httpMethod": "POST", 439 "httpMethod": "POST",
440 "id": "pubsub.projects.subscriptions.testIamPermissi ons", 440 "id": "pubsub.projects.subscriptions.testIamPermissi ons",
441 "parameterOrder": [ 441 "parameterOrder": [
442 "resource" 442 "resource"
443 ], 443 ],
444 "parameters": { 444 "parameters": {
445 "resource": { 445 "resource": {
446 "description": "REQUIRED: The resource for w hich the policy detail is being requested. `resource` is usually specified as a path, such as `projects/*project*/zones/*zone*/disks/*disk*`. The format for the path specified in this value is resource specific and is specified in the `test IamPermissions` documentation.", 446 "description": "REQUIRED: The resource for w hich the policy detail is being requested. `resource` is usually specified as a path. For example, a Project resource is specified as `projects/{project}`.",
447 "location": "path", 447 "location": "path",
448 "pattern": "^projects/[^/]*/subscriptions/[^ /]*$", 448 "pattern": "^projects/[^/]*/subscriptions/[^ /]*$",
449 "required": true, 449 "required": true,
450 "type": "string" 450 "type": "string"
451 } 451 }
452 }, 452 },
453 "path": "v1/{+resource}:testIamPermissions", 453 "path": "v1/{+resource}:testIamPermissions",
454 "request": { 454 "request": {
455 "$ref": "TestIamPermissionsRequest" 455 "$ref": "TestIamPermissionsRequest"
456 }, 456 },
457 "response": { 457 "response": {
458 "$ref": "TestIamPermissionsResponse" 458 "$ref": "TestIamPermissionsResponse"
459 }, 459 },
460 "scopes": [ 460 "scopes": [
461 "https://www.googleapis.com/auth/cloud-platform" , 461 "https://www.googleapis.com/auth/cloud-platform" ,
462 "https://www.googleapis.com/auth/pubsub" 462 "https://www.googleapis.com/auth/pubsub"
463 ] 463 ]
464 }, 464 },
465 "create": { 465 "create": {
466 "description": "Creates a subscription to a given to pic. If the subscription already exists, returns `ALREADY_EXISTS`. If the corres ponding topic doesn't exist, returns `NOT_FOUND`. If the name is not provided in the request, the server will assign a random name for this subscription on the same project as the topic.", 466 "description": "Creates a subscription to a given to pic. If the subscription already exists, returns `ALREADY_EXISTS`. If the corres ponding topic doesn't exist, returns `NOT_FOUND`. If the name is not provided in the request, the server will assign a random name for this subscription on the same project as the topic. Note that for REST API requests, you must specify a n ame.",
467 "httpMethod": "PUT", 467 "httpMethod": "PUT",
468 "id": "pubsub.projects.subscriptions.create", 468 "id": "pubsub.projects.subscriptions.create",
469 "parameterOrder": [ 469 "parameterOrder": [
470 "name" 470 "name"
471 ], 471 ],
472 "parameters": { 472 "parameters": {
473 "name": { 473 "name": {
474 "description": "The name of the subscription . It must have the format `\"projects/{project}/subscriptions/{subscription}\"`. `{subscription}` must start with a letter, and contain only letters (`[A-Za-z]` ), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~ `), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters i n length, and it must not start with `\"goog\"`.", 474 "description": "The name of the subscription . It must have the format `\"projects/{project}/subscriptions/{subscription}\"`. `{subscription}` must start with a letter, and contain only letters (`[A-Za-z]` ), numbers (`[0-9]`), dashes (`-`), underscores (`_`), periods (`.`), tildes (`~ `), plus (`+`) or percent signs (`%`). It must be between 3 and 255 characters i n length, and it must not start with `\"goog\"`.",
475 "location": "path", 475 "location": "path",
476 "pattern": "^projects/[^/]*/subscriptions/[^ /]*$", 476 "pattern": "^projects/[^/]*/subscriptions/[^ /]*$",
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 "path": "v1/{+project}/subscriptions", 545 "path": "v1/{+project}/subscriptions",
546 "response": { 546 "response": {
547 "$ref": "ListSubscriptionsResponse" 547 "$ref": "ListSubscriptionsResponse"
548 }, 548 },
549 "scopes": [ 549 "scopes": [
550 "https://www.googleapis.com/auth/cloud-platform" , 550 "https://www.googleapis.com/auth/cloud-platform" ,
551 "https://www.googleapis.com/auth/pubsub" 551 "https://www.googleapis.com/auth/pubsub"
552 ] 552 ]
553 }, 553 },
554 "delete": { 554 "delete": {
555 "description": "Deletes an existing subscription. Al l pending messages in the subscription are immediately dropped. Calls to `Pull` after deletion will return `NOT_FOUND`. After a subscription is deleted, a new o ne may be created with the same name, but the new one has no association with th e old subscription, or its topic unless the same topic is specified.", 555 "description": "Deletes an existing subscription. Al l messages retained in the subscription are immediately dropped. Calls to `Pull` after deletion will return `NOT_FOUND`. After a subscription is deleted, a new one may be created with the same name, but the new one has no association with t he old subscription or its topic unless the same topic is specified.",
556 "httpMethod": "DELETE", 556 "httpMethod": "DELETE",
557 "id": "pubsub.projects.subscriptions.delete", 557 "id": "pubsub.projects.subscriptions.delete",
558 "parameterOrder": [ 558 "parameterOrder": [
559 "subscription" 559 "subscription"
560 ], 560 ],
561 "parameters": { 561 "parameters": {
562 "subscription": { 562 "subscription": {
563 "description": "The subscription to delete." , 563 "description": "The subscription to delete." ,
564 "location": "path", 564 "location": "path",
565 "pattern": "^projects/[^/]*/subscriptions/[^ /]*$", 565 "pattern": "^projects/[^/]*/subscriptions/[^ /]*$",
566 "required": true, 566 "required": true,
567 "type": "string" 567 "type": "string"
568 } 568 }
569 }, 569 },
570 "path": "v1/{+subscription}", 570 "path": "v1/{+subscription}",
571 "response": { 571 "response": {
572 "$ref": "Empty" 572 "$ref": "Empty"
573 }, 573 },
574 "scopes": [ 574 "scopes": [
575 "https://www.googleapis.com/auth/cloud-platform" , 575 "https://www.googleapis.com/auth/cloud-platform" ,
576 "https://www.googleapis.com/auth/pubsub" 576 "https://www.googleapis.com/auth/pubsub"
577 ] 577 ]
578 }, 578 },
579 "modifyAckDeadline": { 579 "modifyAckDeadline": {
580 "description": "Modifies the ack deadline for a spec ific message. This method is useful to indicate that more time is needed to proc ess a message by the subscriber, or to make the message available for redelivery if the processing was interrupted.", 580 "description": "Modifies the ack deadline for a spec ific message. This method is useful to indicate that more time is needed to proc ess a message by the subscriber, or to make the message available for redelivery if the processing was interrupted. Note that this does not modify the subscript ion-level `ackDeadlineSeconds` used for subsequent messages.",
581 "httpMethod": "POST", 581 "httpMethod": "POST",
582 "id": "pubsub.projects.subscriptions.modifyAckDeadli ne", 582 "id": "pubsub.projects.subscriptions.modifyAckDeadli ne",
583 "parameterOrder": [ 583 "parameterOrder": [
584 "subscription" 584 "subscription"
585 ], 585 ],
586 "parameters": { 586 "parameters": {
587 "subscription": { 587 "subscription": {
588 "description": "The name of the subscription .", 588 "description": "The name of the subscription .",
589 "location": "path", 589 "location": "path",
590 "pattern": "^projects/[^/]*/subscriptions/[^ /]*$", 590 "pattern": "^projects/[^/]*/subscriptions/[^ /]*$",
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
682 }, 682 },
683 "response": { 683 "response": {
684 "$ref": "Empty" 684 "$ref": "Empty"
685 }, 685 },
686 "scopes": [ 686 "scopes": [
687 "https://www.googleapis.com/auth/cloud-platform" , 687 "https://www.googleapis.com/auth/cloud-platform" ,
688 "https://www.googleapis.com/auth/pubsub" 688 "https://www.googleapis.com/auth/pubsub"
689 ] 689 ]
690 } 690 }
691 } 691 }
692 },
693 "snapshots": {
694 "methods": {
695 "setIamPolicy": {
696 "description": "Sets the access control policy on th e specified resource. Replaces any existing policy.",
697 "httpMethod": "POST",
698 "id": "pubsub.projects.snapshots.setIamPolicy",
699 "parameterOrder": [
700 "resource"
701 ],
702 "parameters": {
703 "resource": {
704 "description": "REQUIRED: The resource for w hich the policy is being specified. `resource` is usually specified as a path. F or example, a Project resource is specified as `projects/{project}`.",
705 "location": "path",
706 "pattern": "^projects/[^/]*/snapshots/[^/]*$ ",
707 "required": true,
708 "type": "string"
709 }
710 },
711 "path": "v1/{+resource}:setIamPolicy",
712 "request": {
713 "$ref": "SetIamPolicyRequest"
714 },
715 "response": {
716 "$ref": "Policy"
717 },
718 "scopes": [
719 "https://www.googleapis.com/auth/cloud-platform" ,
720 "https://www.googleapis.com/auth/pubsub"
721 ]
722 },
723 "getIamPolicy": {
724 "description": "Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a po licy set.",
725 "httpMethod": "GET",
726 "id": "pubsub.projects.snapshots.getIamPolicy",
727 "parameterOrder": [
728 "resource"
729 ],
730 "parameters": {
731 "resource": {
732 "description": "REQUIRED: The resource for w hich the policy is being requested. `resource` is usually specified as a path. F or example, a Project resource is specified as `projects/{project}`.",
733 "location": "path",
734 "pattern": "^projects/[^/]*/snapshots/[^/]*$ ",
735 "required": true,
736 "type": "string"
737 }
738 },
739 "path": "v1/{+resource}:getIamPolicy",
740 "response": {
741 "$ref": "Policy"
742 },
743 "scopes": [
744 "https://www.googleapis.com/auth/cloud-platform" ,
745 "https://www.googleapis.com/auth/pubsub"
746 ]
747 },
748 "testIamPermissions": {
749 "description": "Returns permissions that a caller ha s on the specified resource.",
750 "httpMethod": "POST",
751 "id": "pubsub.projects.snapshots.testIamPermissions" ,
752 "parameterOrder": [
753 "resource"
754 ],
755 "parameters": {
756 "resource": {
757 "description": "REQUIRED: The resource for w hich the policy detail is being requested. `resource` is usually specified as a path. For example, a Project resource is specified as `projects/{project}`.",
758 "location": "path",
759 "pattern": "^projects/[^/]*/snapshots/[^/]*$ ",
760 "required": true,
761 "type": "string"
762 }
763 },
764 "path": "v1/{+resource}:testIamPermissions",
765 "request": {
766 "$ref": "TestIamPermissionsRequest"
767 },
768 "response": {
769 "$ref": "TestIamPermissionsResponse"
770 },
771 "scopes": [
772 "https://www.googleapis.com/auth/cloud-platform" ,
773 "https://www.googleapis.com/auth/pubsub"
774 ]
775 }
776 }
692 } 777 }
693 } 778 }
694 } 779 }
695 }, 780 },
696 "revision": "20160317", 781 "revision": "20161003",
697 "rootUrl": "https://pubsub.googleapis.com/", 782 "rootUrl": "https://pubsub.googleapis.com/",
698 "schemas": { 783 "schemas": {
699 "SetIamPolicyRequest": { 784 "SetIamPolicyRequest": {
700 "description": "Request message for `SetIamPolicy` method.", 785 "description": "Request message for `SetIamPolicy` method.",
701 "id": "SetIamPolicyRequest", 786 "id": "SetIamPolicyRequest",
702 "properties": { 787 "properties": {
703 "policy": { 788 "policy": {
704 "$ref": "Policy", 789 "$ref": "Policy",
705 "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empt y policy is a valid policy but certain Cloud Platform services (such as Projects ) might reject them." 790 "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empt y policy is a valid policy but certain Cloud Platform services (such as Projects ) might reject them."
706 } 791 }
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
747 "type": "array" 832 "type": "array"
748 } 833 }
749 }, 834 },
750 "type": "object" 835 "type": "object"
751 }, 836 },
752 "TestIamPermissionsRequest": { 837 "TestIamPermissionsRequest": {
753 "description": "Request message for `TestIamPermissions` method.", 838 "description": "Request message for `TestIamPermissions` method.",
754 "id": "TestIamPermissionsRequest", 839 "id": "TestIamPermissionsRequest",
755 "properties": { 840 "properties": {
756 "permissions": { 841 "permissions": {
757 "description": "The set of permissions to check for the `res ource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see IAM Overview.", 842 "description": "The set of permissions to check for the `res ource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overv iew#permissions).",
758 "items": { 843 "items": {
759 "type": "string" 844 "type": "string"
760 }, 845 },
761 "type": "array" 846 "type": "array"
762 } 847 }
763 }, 848 },
764 "type": "object" 849 "type": "object"
765 }, 850 },
766 "TestIamPermissionsResponse": { 851 "TestIamPermissionsResponse": {
767 "description": "Response message for `TestIamPermissions` method.", 852 "description": "Response message for `TestIamPermissions` method.",
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
800 "type": "array" 885 "type": "array"
801 } 886 }
802 }, 887 },
803 "type": "object" 888 "type": "object"
804 }, 889 },
805 "PubsubMessage": { 890 "PubsubMessage": {
806 "description": "A message data and its attributes. The message paylo ad must not be empty; it must contain either a non-empty data field, or at least one attribute.", 891 "description": "A message data and its attributes. The message paylo ad must not be empty; it must contain either a non-empty data field, or at least one attribute.",
807 "id": "PubsubMessage", 892 "id": "PubsubMessage",
808 "properties": { 893 "properties": {
809 "data": { 894 "data": {
810 "description": "The message payload. For JSON requests, the value of this field must be base64-encoded.", 895 "description": "The message payload. For JSON requests, the value of this field must be [base64-encoded](https://tools.ietf.org/html/rfc4648 ).",
811 "format": "byte", 896 "format": "byte",
812 "type": "string" 897 "type": "string"
813 }, 898 },
814 "attributes": { 899 "attributes": {
815 "additionalProperties": { 900 "additionalProperties": {
816 "type": "string" 901 "type": "string"
817 }, 902 },
818 "description": "Optional attributes for this message.", 903 "description": "Optional attributes for this message.",
819 "type": "object" 904 "type": "object"
820 }, 905 },
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
894 }, 979 },
895 "topic": { 980 "topic": {
896 "description": "The name of the topic from which this subscr iption is receiving messages. The value of this field will be `_deleted-topic_` if the topic has been deleted.", 981 "description": "The name of the topic from which this subscr iption is receiving messages. The value of this field will be `_deleted-topic_` if the topic has been deleted.",
897 "type": "string" 982 "type": "string"
898 }, 983 },
899 "pushConfig": { 984 "pushConfig": {
900 "$ref": "PushConfig", 985 "$ref": "PushConfig",
901 "description": "If push delivery is used with this subscript ion, this field is used to configure it. An empty `pushConfig` signifies that th e subscriber will pull and ack messages using API methods." 986 "description": "If push delivery is used with this subscript ion, this field is used to configure it. An empty `pushConfig` signifies that th e subscriber will pull and ack messages using API methods."
902 }, 987 },
903 "ackDeadlineSeconds": { 988 "ackDeadlineSeconds": {
904 "description": "This value is the maximum time after a subsc riber receives a message before the subscriber should acknowledge the message. A fter message delivery but before the ack deadline expires and before the message is acknowledged, it is an outstanding message and will not be delivered again d uring that time (on a best-effort basis). For pull subscriptions, this value is used as the initial value for the ack deadline. To override this value for a giv en message, call `ModifyAckDeadline` with the corresponding `ack_id` if using pu ll. For push delivery, this value is also used to set the request timeout for th e call to the push endpoint. If the subscriber never acknowledges the message, t he Pub/Sub system will eventually redeliver the message. If this parameter is no t set, the default value of 10 seconds is used.", 989 "description": "This value is the maximum time after a subsc riber receives a message before the subscriber should acknowledge the message. A fter message delivery but before the ack deadline expires and before the message is acknowledged, it is an outstanding message and will not be delivered again d uring that time (on a best-effort basis). For pull subscriptions, this value is used as the initial value for the ack deadline. To override this value for a giv en message, call `ModifyAckDeadline` with the corresponding `ack_id` if using pu ll. The maximum custom deadline you can specify is 600 seconds (10 minutes). For push delivery, this value is also used to set the request timeout for the call to the push endpoint. If the subscriber never acknowledges the message, the Pub/ Sub system will eventually redeliver the message. If this parameter is 0, a defa ult value of 10 seconds is used.",
905 "format": "int32", 990 "format": "int32",
906 "type": "integer" 991 "type": "integer"
907 } 992 }
908 }, 993 },
909 "type": "object" 994 "type": "object"
910 }, 995 },
911 "PushConfig": { 996 "PushConfig": {
912 "description": "Configuration for a push delivery endpoint.", 997 "description": "Configuration for a push delivery endpoint.",
913 "id": "PushConfig", 998 "id": "PushConfig",
914 "properties": { 999 "properties": {
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
1031 "description": "The push configuration for future deliveries . An empty `pushConfig` indicates that the Pub/Sub system should stop pushing me ssages from the given subscription and allow messages to be pulled and acknowled ged - effectively pausing the subscription if `Pull` is not called." 1116 "description": "The push configuration for future deliveries . An empty `pushConfig` indicates that the Pub/Sub system should stop pushing me ssages from the given subscription and allow messages to be pulled and acknowled ged - effectively pausing the subscription if `Pull` is not called."
1032 } 1117 }
1033 }, 1118 },
1034 "type": "object" 1119 "type": "object"
1035 } 1120 }
1036 }, 1121 },
1037 "servicePath": "", 1122 "servicePath": "",
1038 "title": "Google Cloud Pub/Sub API", 1123 "title": "Google Cloud Pub/Sub API",
1039 "version": "v1" 1124 "version": "v1"
1040 } 1125 }
OLDNEW
« no previous file with comments | « discovery/googleapis/plus__v1.json ('k') | discovery/googleapis/runtimeconfig__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698