OLD | NEW |
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": "/pubsub/v1beta1/", | 14 "basePath": "/pubsub/v1beta1/", |
15 "baseUrl": "https://www.googleapis.com/pubsub/v1beta1/", | 15 "baseUrl": "https://www.googleapis.com/pubsub/v1beta1/", |
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://developers.google.com/pubsub/v1beta1", | 19 "documentationLink": "https://developers.google.com/pubsub/v1beta1", |
20 "etag": "\"l66ggWbucbkBw9Lpos72oziyefE/ywePitQXGabB9vHcCh_sNtCXjDU\"", | 20 "etag": "\"l66ggWbucbkBw9Lpos72oziyefE/ZNCHPHCSd3g-pKxhKxXU20RmqpY\"", |
21 "icons": { | 21 "icons": { |
22 "x16": "https://www.google.com/images/icons/product/search-16.gif", | 22 "x16": "https://www.google.com/images/icons/product/search-16.gif", |
23 "x32": "https://www.google.com/images/icons/product/search-32.gif" | 23 "x32": "https://www.google.com/images/icons/product/search-32.gif" |
24 }, | 24 }, |
25 "id": "pubsub:v1beta1", | 25 "id": "pubsub:v1beta1", |
26 "kind": "discovery#restDescription", | 26 "kind": "discovery#restDescription", |
27 "labels": [ | 27 "labels": [ |
28 "limited_availability" | 28 "limited_availability" |
29 ], | 29 ], |
30 "name": "pubsub", | 30 "name": "pubsub", |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 "path": "subscriptions/acknowledge", | 86 "path": "subscriptions/acknowledge", |
87 "request": { | 87 "request": { |
88 "$ref": "AcknowledgeRequest" | 88 "$ref": "AcknowledgeRequest" |
89 }, | 89 }, |
90 "scopes": [ | 90 "scopes": [ |
91 "https://www.googleapis.com/auth/cloud-platform", | 91 "https://www.googleapis.com/auth/cloud-platform", |
92 "https://www.googleapis.com/auth/pubsub" | 92 "https://www.googleapis.com/auth/pubsub" |
93 ] | 93 ] |
94 }, | 94 }, |
95 "create": { | 95 "create": { |
96 "description": "Creates a subscription on a given topic for
a given subscriber. If the subscription already exists, returns ALREADY_EXISTS.
If the corresponding topic doesn't exist, returns NOT_FOUND.", | 96 "description": "Creates a subscription on a given topic for
a given subscriber. If the subscription already exists, returns ALREADY_EXISTS.
If the corresponding topic doesn't exist, returns NOT_FOUND.\n\nIf the name is n
ot provided in the request, the server will assign a random name for this subscr
iption on the same project as the topic.", |
97 "httpMethod": "POST", | 97 "httpMethod": "POST", |
98 "id": "pubsub.subscriptions.create", | 98 "id": "pubsub.subscriptions.create", |
99 "path": "subscriptions", | 99 "path": "subscriptions", |
100 "request": { | 100 "request": { |
101 "$ref": "Subscription" | 101 "$ref": "Subscription" |
102 }, | 102 }, |
103 "response": { | 103 "response": { |
104 "$ref": "Subscription" | 104 "$ref": "Subscription" |
105 }, | 105 }, |
106 "scopes": [ | 106 "scopes": [ |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 "$ref": "PublishRequest" | 331 "$ref": "PublishRequest" |
332 }, | 332 }, |
333 "scopes": [ | 333 "scopes": [ |
334 "https://www.googleapis.com/auth/cloud-platform", | 334 "https://www.googleapis.com/auth/cloud-platform", |
335 "https://www.googleapis.com/auth/pubsub" | 335 "https://www.googleapis.com/auth/pubsub" |
336 ] | 336 ] |
337 } | 337 } |
338 } | 338 } |
339 } | 339 } |
340 }, | 340 }, |
341 "revision": "20140919", | 341 "revision": "20141028", |
342 "rootUrl": "https://www.googleapis.com/", | 342 "rootUrl": "https://www.googleapis.com/", |
343 "schemas": { | 343 "schemas": { |
344 "AcknowledgeRequest": { | 344 "AcknowledgeRequest": { |
345 "id": "AcknowledgeRequest", | 345 "id": "AcknowledgeRequest", |
346 "properties": { | 346 "properties": { |
347 "ackId": { | 347 "ackId": { |
348 "description": "The Ack ID for the message being acknowledge
d. This was returned by the Pub/Sub system in the Pull response.", | 348 "description": "The Ack ID for the message being acknowledge
d. This was returned by the Pub/Sub system in the Pull response.", |
349 "items": { | 349 "items": { |
350 "type": "string" | 350 "type": "string" |
351 }, | 351 }, |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
446 "type": "object" | 446 "type": "object" |
447 }, | 447 }, |
448 "PublishRequest": { | 448 "PublishRequest": { |
449 "id": "PublishRequest", | 449 "id": "PublishRequest", |
450 "properties": { | 450 "properties": { |
451 "message": { | 451 "message": { |
452 "$ref": "PubsubMessage", | 452 "$ref": "PubsubMessage", |
453 "description": "The message to publish." | 453 "description": "The message to publish." |
454 }, | 454 }, |
455 "topic": { | 455 "topic": { |
456 "description": "The name of the topic for which the message
is being added.", | 456 "description": "The message in the request will be published
on this topic.", |
457 "type": "string" | 457 "type": "string" |
458 } | 458 } |
459 }, | 459 }, |
460 "type": "object" | 460 "type": "object" |
461 }, | 461 }, |
462 "PubsubEvent": { | 462 "PubsubEvent": { |
463 "description": "An event indicating a received message or truncation
event.", | 463 "description": "An event indicating a received message or truncation
event.", |
464 "id": "PubsubEvent", | 464 "id": "PubsubEvent", |
465 "properties": { | 465 "properties": { |
466 "deleted": { | 466 "deleted": { |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
574 "type": "string" | 574 "type": "string" |
575 } | 575 } |
576 }, | 576 }, |
577 "type": "object" | 577 "type": "object" |
578 } | 578 } |
579 }, | 579 }, |
580 "servicePath": "pubsub/v1beta1/", | 580 "servicePath": "pubsub/v1beta1/", |
581 "title": "Cloud Pub/Sub API", | 581 "title": "Cloud Pub/Sub API", |
582 "version": "v1beta1" | 582 "version": "v1beta1" |
583 } | 583 } |
OLD | NEW |