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

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

Issue 2695743002: Api-roll 45: 2017-02-13 (Closed)
Patch Set: reverted local changes to pubspec file Created 3 years, 10 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/pubsub": {
6 "description": "View and manage Pub/Sub topics and subscript ions"
7 },
5 "https://www.googleapis.com/auth/cloud-platform": { 8 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "View and manage your data across Google Clou d Platform services" 9 "description": "View and manage your data across Google Clou d Platform services"
7 },
8 "https://www.googleapis.com/auth/pubsub": {
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.\n", 17 "description": "Provides reliable, many-to-many, asynchronous messaging betw een applications.\n",
18 "discoveryVersion": "v1", 18 "discoveryVersion": "v1",
19 "documentationLink": "https://cloud.google.com/pubsub/docs", 19 "documentationLink": "https://cloud.google.com/pubsub/docs",
20 "icons": { 20 "icons": {
21 "x16": "http://www.google.com/images/icons/product/search-16.gif", 21 "x16": "http://www.google.com/images/icons/product/search-16.gif",
22 "x32": "http://www.google.com/images/icons/product/search-32.gif" 22 "x32": "http://www.google.com/images/icons/product/search-32.gif"
23 }, 23 },
24 "id": "pubsub:v1beta2", 24 "id": "pubsub:v1beta2",
25 "kind": "discovery#restDescription", 25 "kind": "discovery#restDescription",
26 "name": "pubsub", 26 "name": "pubsub",
27 "ownerDomain": "google.com", 27 "ownerDomain": "google.com",
28 "ownerName": "Google", 28 "ownerName": "Google",
29 "parameters": { 29 "parameters": {
30 "access_token": { 30 "upload_protocol": {
31 "description": "OAuth access token.", 31 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
32 "location": "query", 32 "location": "query",
33 "type": "string" 33 "type": "string"
34 }, 34 },
35 "prettyPrint": { 35 "prettyPrint": {
36 "default": "true", 36 "default": "true",
37 "description": "Returns response with indentations and line breaks." , 37 "description": "Returns response with indentations and line breaks." ,
38 "location": "query", 38 "location": "query",
39 "type": "boolean" 39 "type": "boolean"
40 }, 40 },
41 "key": { 41 "uploadType": {
42 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.", 42 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
43 "location": "query", 43 "location": "query",
44 "type": "string" 44 "type": "string"
45 }, 45 },
46 "quotaUser": {
47 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.",
48 "location": "query",
49 "type": "string"
50 },
51 "pp": {
52 "default": "true",
53 "description": "Pretty-print response.",
54 "location": "query",
55 "type": "boolean"
56 },
57 "fields": { 46 "fields": {
58 "description": "Selector specifying which fields to include in a par tial response.", 47 "description": "Selector specifying which fields to include in a par tial response.",
59 "location": "query", 48 "location": "query",
60 "type": "string" 49 "type": "string"
61 }, 50 },
51 "callback": {
52 "description": "JSONP",
53 "location": "query",
54 "type": "string"
55 },
56 "$.xgafv": {
57 "description": "V1 error format.",
58 "enum": [
59 "1",
60 "2"
61 ],
62 "enumDescriptions": [
63 "v1 error format",
64 "v2 error format"
65 ],
66 "location": "query",
67 "type": "string"
68 },
62 "alt": { 69 "alt": {
63 "default": "json", 70 "default": "json",
64 "description": "Data format for response.", 71 "description": "Data format for response.",
65 "enum": [ 72 "enum": [
66 "json", 73 "json",
67 "media", 74 "media",
68 "proto" 75 "proto"
69 ], 76 ],
70 "enumDescriptions": [ 77 "enumDescriptions": [
71 "Responses with Content-Type of application/json", 78 "Responses with Content-Type of application/json",
72 "Media download with context-dependent Content-Type", 79 "Media download with context-dependent Content-Type",
73 "Responses with Content-Type of application/x-protobuf" 80 "Responses with Content-Type of application/x-protobuf"
74 ], 81 ],
75 "location": "query", 82 "location": "query",
76 "type": "string" 83 "type": "string"
77 }, 84 },
78 "$.xgafv": { 85 "access_token": {
79 "description": "V1 error format.", 86 "description": "OAuth access token.",
80 "enum": [
81 "1",
82 "2"
83 ],
84 "enumDescriptions": [
85 "v1 error format",
86 "v2 error format"
87 ],
88 "location": "query", 87 "location": "query",
89 "type": "string" 88 "type": "string"
90 }, 89 },
91 "callback": { 90 "key": {
92 "description": "JSONP", 91 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
93 "location": "query", 92 "location": "query",
94 "type": "string" 93 "type": "string"
95 }, 94 },
96 "oauth_token": { 95 "quotaUser": {
97 "description": "OAuth 2.0 token for the current user.", 96 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.",
98 "location": "query", 97 "location": "query",
99 "type": "string" 98 "type": "string"
100 }, 99 },
101 "uploadType": { 100 "pp": {
102 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").", 101 "default": "true",
102 "description": "Pretty-print response.",
103 "location": "query",
104 "type": "boolean"
105 },
106 "oauth_token": {
107 "description": "OAuth 2.0 token for the current user.",
103 "location": "query", 108 "location": "query",
104 "type": "string" 109 "type": "string"
105 }, 110 },
106 "bearer_token": { 111 "bearer_token": {
107 "description": "OAuth bearer token.", 112 "description": "OAuth bearer token.",
108 "location": "query", 113 "location": "query",
109 "type": "string" 114 "type": "string"
110 },
111 "upload_protocol": {
112 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
113 "location": "query",
114 "type": "string"
115 } 115 }
116 }, 116 },
117 "protocol": "rest", 117 "protocol": "rest",
118 "resources": { 118 "resources": {
119 "projects": { 119 "projects": {
120 "resources": { 120 "resources": {
121 "subscriptions": { 121 "subscriptions": {
122 "methods": { 122 "methods": {
123 "modifyPushConfig": {
124 "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` .",
125 "httpMethod": "POST",
126 "id": "pubsub.projects.subscriptions.modifyPushConfi g",
127 "parameterOrder": [
128 "subscription"
129 ],
130 "parameters": {
131 "subscription": {
132 "description": "The name of the subscription .",
133 "location": "path",
134 "pattern": "^projects/[^/]+/subscriptions/[^ /]+$",
135 "required": true,
136 "type": "string"
137 }
138 },
139 "path": "v1beta2/{+subscription}:modifyPushConfig",
140 "request": {
141 "$ref": "ModifyPushConfigRequest"
142 },
143 "response": {
144 "$ref": "Empty"
145 },
146 "scopes": [
147 "https://www.googleapis.com/auth/cloud-platform" ,
148 "https://www.googleapis.com/auth/pubsub"
149 ]
150 },
151 "getIamPolicy": { 123 "getIamPolicy": {
152 "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.", 124 "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.",
153 "httpMethod": "GET", 125 "httpMethod": "GET",
154 "id": "pubsub.projects.subscriptions.getIamPolicy", 126 "id": "pubsub.projects.subscriptions.getIamPolicy",
155 "parameterOrder": [ 127 "parameterOrder": [
156 "resource" 128 "resource"
157 ], 129 ],
158 "parameters": { 130 "parameters": {
159 "resource": { 131 "resource": {
160 "description": "REQUIRED: The resource for w hich the policy is being requested.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.", 132 "description": "REQUIRED: The resource for w hich the policy is being requested.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.",
161 "location": "path", 133 "location": "path",
162 "pattern": "^projects/[^/]+/subscriptions/[^ /]+$", 134 "pattern": "^projects/[^/]+/subscriptions/[^ /]+$",
163 "required": true, 135 "required": true,
164 "type": "string" 136 "type": "string"
165 } 137 }
166 }, 138 },
167 "path": "v1beta2/{+resource}:getIamPolicy", 139 "path": "v1beta2/{+resource}:getIamPolicy",
168 "response": { 140 "response": {
169 "$ref": "Policy" 141 "$ref": "Policy"
170 }, 142 },
171 "scopes": [ 143 "scopes": [
172 "https://www.googleapis.com/auth/cloud-platform" , 144 "https://www.googleapis.com/auth/cloud-platform" ,
173 "https://www.googleapis.com/auth/pubsub" 145 "https://www.googleapis.com/auth/pubsub"
174 ] 146 ]
175 }, 147 },
176 "pull": { 148 "acknowledge": {
177 "description": "Pulls messages from the server. Retu rns an empty list if there are no\nmessages available in the backlog. The server may return `UNAVAILABLE` if\nthere are too many concurrent pull requests pendin g for the given\nsubscription.", 149 "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.",
178 "httpMethod": "POST", 150 "httpMethod": "POST",
179 "id": "pubsub.projects.subscriptions.pull", 151 "id": "pubsub.projects.subscriptions.acknowledge",
180 "parameterOrder": [ 152 "parameterOrder": [
181 "subscription" 153 "subscription"
182 ], 154 ],
183 "parameters": { 155 "parameters": {
184 "subscription": { 156 "subscription": {
185 "description": "The subscription from which messages should be pulled.", 157 "description": "The subscription whose messa ge is being acknowledged.",
186 "location": "path", 158 "location": "path",
187 "pattern": "^projects/[^/]+/subscriptions/[^ /]+$", 159 "pattern": "^projects/[^/]+/subscriptions/[^ /]+$",
188 "required": true, 160 "required": true,
189 "type": "string" 161 "type": "string"
190 } 162 }
191 }, 163 },
192 "path": "v1beta2/{+subscription}:pull", 164 "path": "v1beta2/{+subscription}:acknowledge",
193 "request": { 165 "request": {
194 "$ref": "PullRequest" 166 "$ref": "AcknowledgeRequest"
195 }, 167 },
196 "response": { 168 "response": {
197 "$ref": "PullResponse" 169 "$ref": "Empty"
198 }, 170 },
199 "scopes": [ 171 "scopes": [
200 "https://www.googleapis.com/auth/cloud-platform" , 172 "https://www.googleapis.com/auth/cloud-platform" ,
201 "https://www.googleapis.com/auth/pubsub" 173 "https://www.googleapis.com/auth/pubsub"
202 ] 174 ]
203 }, 175 },
204 "list": { 176 "modifyAckDeadline": {
205 "description": "Lists matching subscriptions.", 177 "description": "Modifies the ack deadline for a spec ific message. This method is useful\nto indicate that more time is needed to pro cess a message by the\nsubscriber, or to make the message available for redelive ry if the\nprocessing was interrupted. Note that this does not modify the\nsubsc ription-level `ackDeadlineSeconds` used for subsequent messages.",
206 "httpMethod": "GET", 178 "httpMethod": "POST",
207 "id": "pubsub.projects.subscriptions.list", 179 "id": "pubsub.projects.subscriptions.modifyAckDeadli ne",
208 "parameterOrder": [ 180 "parameterOrder": [
209 "project" 181 "subscription"
210 ], 182 ],
211 "parameters": { 183 "parameters": {
212 "pageSize": { 184 "subscription": {
213 "description": "Maximum number of subscripti ons to return.", 185 "description": "The name of the subscription .",
214 "format": "int32",
215 "location": "query",
216 "type": "integer"
217 },
218 "project": {
219 "description": "The name of the cloud projec t that subscriptions belong to.",
220 "location": "path", 186 "location": "path",
221 "pattern": "^projects/[^/]+$", 187 "pattern": "^projects/[^/]+/subscriptions/[^ /]+$",
222 "required": true, 188 "required": true,
223 "type": "string" 189 "type": "string"
224 },
225 "pageToken": {
226 "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.",
227 "location": "query",
228 "type": "string"
229 } 190 }
230 }, 191 },
231 "path": "v1beta2/{+project}/subscriptions", 192 "path": "v1beta2/{+subscription}:modifyAckDeadline",
193 "request": {
194 "$ref": "ModifyAckDeadlineRequest"
195 },
232 "response": { 196 "response": {
233 "$ref": "ListSubscriptionsResponse" 197 "$ref": "Empty"
234 }, 198 },
235 "scopes": [ 199 "scopes": [
236 "https://www.googleapis.com/auth/cloud-platform" , 200 "https://www.googleapis.com/auth/cloud-platform" ,
237 "https://www.googleapis.com/auth/pubsub" 201 "https://www.googleapis.com/auth/pubsub"
238 ] 202 ]
239 }, 203 },
240 "get": { 204 "get": {
241 "description": "Gets the configuration details of a subscription.", 205 "description": "Gets the configuration details of a subscription.",
242 "httpMethod": "GET", 206 "httpMethod": "GET",
243 "id": "pubsub.projects.subscriptions.get", 207 "id": "pubsub.projects.subscriptions.get",
(...skipping 11 matching lines...) Expand all
255 }, 219 },
256 "path": "v1beta2/{+subscription}", 220 "path": "v1beta2/{+subscription}",
257 "response": { 221 "response": {
258 "$ref": "Subscription" 222 "$ref": "Subscription"
259 }, 223 },
260 "scopes": [ 224 "scopes": [
261 "https://www.googleapis.com/auth/cloud-platform" , 225 "https://www.googleapis.com/auth/cloud-platform" ,
262 "https://www.googleapis.com/auth/pubsub" 226 "https://www.googleapis.com/auth/pubsub"
263 ] 227 ]
264 }, 228 },
265 "create": { 229 "testIamPermissions": {
266 "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.", 230 "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.",
267 "httpMethod": "PUT", 231 "httpMethod": "POST",
268 "id": "pubsub.projects.subscriptions.create", 232 "id": "pubsub.projects.subscriptions.testIamPermissi ons",
269 "parameterOrder": [ 233 "parameterOrder": [
270 "name" 234 "resource"
271 ], 235 ],
272 "parameters": { 236 "parameters": {
273 "name": { 237 "resource": {
274 "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\"`.", 238 "description": "REQUIRED: The resource for w hich the policy detail is being requested.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.",
275 "location": "path", 239 "location": "path",
276 "pattern": "^projects/[^/]+/subscriptions/[^ /]+$", 240 "pattern": "^projects/[^/]+/subscriptions/[^ /]+$",
277 "required": true, 241 "required": true,
278 "type": "string" 242 "type": "string"
279 } 243 }
280 }, 244 },
281 "path": "v1beta2/{+name}", 245 "path": "v1beta2/{+resource}:testIamPermissions",
282 "request": { 246 "request": {
283 "$ref": "Subscription" 247 "$ref": "TestIamPermissionsRequest"
284 }, 248 },
285 "response": { 249 "response": {
286 "$ref": "Subscription" 250 "$ref": "TestIamPermissionsResponse"
287 }, 251 },
288 "scopes": [ 252 "scopes": [
289 "https://www.googleapis.com/auth/cloud-platform" , 253 "https://www.googleapis.com/auth/cloud-platform" ,
290 "https://www.googleapis.com/auth/pubsub" 254 "https://www.googleapis.com/auth/pubsub"
291 ] 255 ]
292 }, 256 },
293 "modifyAckDeadline": { 257 "modifyPushConfig": {
294 "description": "Modifies the ack deadline for a spec ific message. This method is useful\nto indicate that more time is needed to pro cess a message by the\nsubscriber, or to make the message available for redelive ry if the\nprocessing was interrupted. Note that this does not modify the\nsubsc ription-level `ackDeadlineSeconds` used for subsequent messages.", 258 "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` .",
295 "httpMethod": "POST", 259 "httpMethod": "POST",
296 "id": "pubsub.projects.subscriptions.modifyAckDeadli ne", 260 "id": "pubsub.projects.subscriptions.modifyPushConfi g",
297 "parameterOrder": [ 261 "parameterOrder": [
298 "subscription" 262 "subscription"
299 ], 263 ],
300 "parameters": { 264 "parameters": {
301 "subscription": { 265 "subscription": {
302 "description": "The name of the subscription .", 266 "description": "The name of the subscription .",
303 "location": "path", 267 "location": "path",
304 "pattern": "^projects/[^/]+/subscriptions/[^ /]+$", 268 "pattern": "^projects/[^/]+/subscriptions/[^ /]+$",
305 "required": true, 269 "required": true,
306 "type": "string" 270 "type": "string"
307 } 271 }
308 }, 272 },
309 "path": "v1beta2/{+subscription}:modifyAckDeadline", 273 "path": "v1beta2/{+subscription}:modifyPushConfig",
310 "request": { 274 "request": {
311 "$ref": "ModifyAckDeadlineRequest" 275 "$ref": "ModifyPushConfigRequest"
312 }, 276 },
313 "response": { 277 "response": {
314 "$ref": "Empty" 278 "$ref": "Empty"
315 }, 279 },
316 "scopes": [ 280 "scopes": [
317 "https://www.googleapis.com/auth/cloud-platform" , 281 "https://www.googleapis.com/auth/cloud-platform" ,
318 "https://www.googleapis.com/auth/pubsub" 282 "https://www.googleapis.com/auth/pubsub"
319 ] 283 ]
320 }, 284 },
321 "setIamPolicy": {
322 "description": "Sets the access control policy on th e specified resource. Replaces any\nexisting policy.",
323 "httpMethod": "POST",
324 "id": "pubsub.projects.subscriptions.setIamPolicy",
325 "parameterOrder": [
326 "resource"
327 ],
328 "parameters": {
329 "resource": {
330 "description": "REQUIRED: The resource for w hich the policy is being specified.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.",
331 "location": "path",
332 "pattern": "^projects/[^/]+/subscriptions/[^ /]+$",
333 "required": true,
334 "type": "string"
335 }
336 },
337 "path": "v1beta2/{+resource}:setIamPolicy",
338 "request": {
339 "$ref": "SetIamPolicyRequest"
340 },
341 "response": {
342 "$ref": "Policy"
343 },
344 "scopes": [
345 "https://www.googleapis.com/auth/cloud-platform" ,
346 "https://www.googleapis.com/auth/pubsub"
347 ]
348 },
349 "delete": { 285 "delete": {
350 "description": "Deletes an existing subscription. Al l pending messages in the subscription\nare immediately dropped. Calls to `Pull` after deletion will return\n`NOT_FOUND`. After a subscription is deleted, a new one may be created with\nthe same name, but the new one has no association with the old\nsubscription, or its topic unless the same topic is specified.", 286 "description": "Deletes an existing subscription. Al l pending messages in the subscription\nare immediately dropped. Calls to `Pull` after deletion will return\n`NOT_FOUND`. After a subscription is deleted, a new one may be created with\nthe same name, but the new one has no association with the old\nsubscription, or its topic unless the same topic is specified.",
351 "httpMethod": "DELETE", 287 "httpMethod": "DELETE",
352 "id": "pubsub.projects.subscriptions.delete", 288 "id": "pubsub.projects.subscriptions.delete",
353 "parameterOrder": [ 289 "parameterOrder": [
354 "subscription" 290 "subscription"
355 ], 291 ],
356 "parameters": { 292 "parameters": {
357 "subscription": { 293 "subscription": {
358 "description": "The subscription to delete." , 294 "description": "The subscription to delete." ,
359 "location": "path", 295 "location": "path",
360 "pattern": "^projects/[^/]+/subscriptions/[^ /]+$", 296 "pattern": "^projects/[^/]+/subscriptions/[^ /]+$",
361 "required": true, 297 "required": true,
362 "type": "string" 298 "type": "string"
363 } 299 }
364 }, 300 },
365 "path": "v1beta2/{+subscription}", 301 "path": "v1beta2/{+subscription}",
366 "response": { 302 "response": {
367 "$ref": "Empty" 303 "$ref": "Empty"
368 }, 304 },
369 "scopes": [ 305 "scopes": [
370 "https://www.googleapis.com/auth/cloud-platform" , 306 "https://www.googleapis.com/auth/cloud-platform" ,
371 "https://www.googleapis.com/auth/pubsub" 307 "https://www.googleapis.com/auth/pubsub"
372 ] 308 ]
373 }, 309 },
374 "testIamPermissions": { 310 "pull": {
375 "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.", 311 "description": "Pulls messages from the server. Retu rns an empty list if there are no\nmessages available in the backlog. The server may return `UNAVAILABLE` if\nthere are too many concurrent pull requests pendin g for the given\nsubscription.",
376 "httpMethod": "POST", 312 "httpMethod": "POST",
377 "id": "pubsub.projects.subscriptions.testIamPermissi ons", 313 "id": "pubsub.projects.subscriptions.pull",
378 "parameterOrder": [ 314 "parameterOrder": [
379 "resource" 315 "subscription"
380 ], 316 ],
381 "parameters": { 317 "parameters": {
382 "resource": { 318 "subscription": {
383 "description": "REQUIRED: The resource for w hich the policy detail is being requested.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.", 319 "description": "The subscription from which messages should be pulled.",
384 "location": "path", 320 "location": "path",
385 "pattern": "^projects/[^/]+/subscriptions/[^ /]+$", 321 "pattern": "^projects/[^/]+/subscriptions/[^ /]+$",
386 "required": true, 322 "required": true,
387 "type": "string" 323 "type": "string"
388 } 324 }
389 }, 325 },
390 "path": "v1beta2/{+resource}:testIamPermissions", 326 "path": "v1beta2/{+subscription}:pull",
391 "request": { 327 "request": {
392 "$ref": "TestIamPermissionsRequest" 328 "$ref": "PullRequest"
393 }, 329 },
394 "response": { 330 "response": {
395 "$ref": "TestIamPermissionsResponse" 331 "$ref": "PullResponse"
396 }, 332 },
397 "scopes": [ 333 "scopes": [
398 "https://www.googleapis.com/auth/cloud-platform" , 334 "https://www.googleapis.com/auth/cloud-platform" ,
399 "https://www.googleapis.com/auth/pubsub" 335 "https://www.googleapis.com/auth/pubsub"
400 ] 336 ]
401 }, 337 },
402 "acknowledge": { 338 "list": {
403 "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.", 339 "description": "Lists matching subscriptions.",
404 "httpMethod": "POST", 340 "httpMethod": "GET",
405 "id": "pubsub.projects.subscriptions.acknowledge", 341 "id": "pubsub.projects.subscriptions.list",
406 "parameterOrder": [ 342 "parameterOrder": [
407 "subscription" 343 "project"
408 ], 344 ],
409 "parameters": { 345 "parameters": {
410 "subscription": { 346 "pageToken": {
411 "description": "The subscription whose messa ge is being acknowledged.", 347 "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.",
348 "location": "query",
349 "type": "string"
350 },
351 "pageSize": {
352 "description": "Maximum number of subscripti ons to return.",
353 "format": "int32",
354 "location": "query",
355 "type": "integer"
356 },
357 "project": {
358 "description": "The name of the cloud projec t that subscriptions belong to.",
359 "location": "path",
360 "pattern": "^projects/[^/]+$",
361 "required": true,
362 "type": "string"
363 }
364 },
365 "path": "v1beta2/{+project}/subscriptions",
366 "response": {
367 "$ref": "ListSubscriptionsResponse"
368 },
369 "scopes": [
370 "https://www.googleapis.com/auth/cloud-platform" ,
371 "https://www.googleapis.com/auth/pubsub"
372 ]
373 },
374 "create": {
375 "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.",
376 "httpMethod": "PUT",
377 "id": "pubsub.projects.subscriptions.create",
378 "parameterOrder": [
379 "name"
380 ],
381 "parameters": {
382 "name": {
383 "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\"`.",
412 "location": "path", 384 "location": "path",
413 "pattern": "^projects/[^/]+/subscriptions/[^ /]+$", 385 "pattern": "^projects/[^/]+/subscriptions/[^ /]+$",
414 "required": true, 386 "required": true,
415 "type": "string" 387 "type": "string"
416 } 388 }
417 }, 389 },
418 "path": "v1beta2/{+subscription}:acknowledge", 390 "path": "v1beta2/{+name}",
419 "request": { 391 "request": {
420 "$ref": "AcknowledgeRequest" 392 "$ref": "Subscription"
421 }, 393 },
422 "response": { 394 "response": {
423 "$ref": "Empty" 395 "$ref": "Subscription"
424 }, 396 },
425 "scopes": [ 397 "scopes": [
426 "https://www.googleapis.com/auth/cloud-platform" , 398 "https://www.googleapis.com/auth/cloud-platform" ,
427 "https://www.googleapis.com/auth/pubsub" 399 "https://www.googleapis.com/auth/pubsub"
428 ] 400 ]
429 } 401 },
430 } 402 "setIamPolicy": {
431 }, 403 "description": "Sets the access control policy on th e specified resource. Replaces any\nexisting policy.",
432 "topics": { 404 "httpMethod": "POST",
433 "methods": { 405 "id": "pubsub.projects.subscriptions.setIamPolicy",
434 "getIamPolicy": {
435 "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.",
436 "httpMethod": "GET",
437 "id": "pubsub.projects.topics.getIamPolicy",
438 "parameterOrder": [ 406 "parameterOrder": [
439 "resource" 407 "resource"
440 ], 408 ],
441 "parameters": { 409 "parameters": {
442 "resource": { 410 "resource": {
443 "description": "REQUIRED: The resource for w hich the policy is being requested.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.", 411 "description": "REQUIRED: The resource for w hich the policy is being specified.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.",
444 "location": "path", 412 "location": "path",
445 "pattern": "^projects/[^/]+/topics/[^/]+$", 413 "pattern": "^projects/[^/]+/subscriptions/[^ /]+$",
446 "required": true, 414 "required": true,
447 "type": "string" 415 "type": "string"
448 } 416 }
449 }, 417 },
450 "path": "v1beta2/{+resource}:getIamPolicy", 418 "path": "v1beta2/{+resource}:setIamPolicy",
419 "request": {
420 "$ref": "SetIamPolicyRequest"
421 },
451 "response": { 422 "response": {
452 "$ref": "Policy" 423 "$ref": "Policy"
453 }, 424 },
454 "scopes": [ 425 "scopes": [
455 "https://www.googleapis.com/auth/cloud-platform" , 426 "https://www.googleapis.com/auth/cloud-platform" ,
456 "https://www.googleapis.com/auth/pubsub" 427 "https://www.googleapis.com/auth/pubsub"
457 ] 428 ]
458 }, 429 }
430 }
431 },
432 "topics": {
433 "methods": {
459 "publish": { 434 "publish": {
460 "description": "Adds one or more messages to the top ic. Returns `NOT_FOUND` if the topic\ndoes not exist. The message payload must n ot be empty; it must contain\n either a non-empty data field, or at least one at tribute.", 435 "description": "Adds one or more messages to the top ic. Returns `NOT_FOUND` if the topic\ndoes not exist. The message payload must n ot be empty; it must contain\n either a non-empty data field, or at least one at tribute.",
461 "httpMethod": "POST", 436 "httpMethod": "POST",
462 "id": "pubsub.projects.topics.publish", 437 "id": "pubsub.projects.topics.publish",
463 "parameterOrder": [ 438 "parameterOrder": [
464 "topic" 439 "topic"
465 ], 440 ],
466 "parameters": { 441 "parameters": {
467 "topic": { 442 "topic": {
468 "description": "The messages in the request will be published on this topic.", 443 "description": "The messages in the request will be published on this topic.",
469 "location": "path", 444 "location": "path",
470 "pattern": "^projects/[^/]+/topics/[^/]+$", 445 "pattern": "^projects/[^/]+/topics/[^/]+$",
471 "required": true, 446 "required": true,
472 "type": "string" 447 "type": "string"
473 } 448 }
474 }, 449 },
475 "path": "v1beta2/{+topic}:publish", 450 "path": "v1beta2/{+topic}:publish",
476 "request": { 451 "request": {
477 "$ref": "PublishRequest" 452 "$ref": "PublishRequest"
478 }, 453 },
479 "response": { 454 "response": {
480 "$ref": "PublishResponse" 455 "$ref": "PublishResponse"
481 }, 456 },
482 "scopes": [ 457 "scopes": [
483 "https://www.googleapis.com/auth/cloud-platform" , 458 "https://www.googleapis.com/auth/cloud-platform" ,
484 "https://www.googleapis.com/auth/pubsub" 459 "https://www.googleapis.com/auth/pubsub"
485 ] 460 ]
486 }, 461 },
487 "list": { 462 "testIamPermissions": {
488 "description": "Lists matching topics.", 463 "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.",
489 "httpMethod": "GET", 464 "httpMethod": "POST",
490 "id": "pubsub.projects.topics.list", 465 "id": "pubsub.projects.topics.testIamPermissions",
491 "parameterOrder": [ 466 "parameterOrder": [
492 "project" 467 "resource"
493 ], 468 ],
494 "parameters": { 469 "parameters": {
495 "pageSize": { 470 "resource": {
496 "description": "Maximum number of topics to return.", 471 "description": "REQUIRED: The resource for w hich the policy detail is being requested.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.",
497 "format": "int32",
498 "location": "query",
499 "type": "integer"
500 },
501 "project": {
502 "description": "The name of the cloud projec t that topics belong to.",
503 "location": "path", 472 "location": "path",
504 "pattern": "^projects/[^/]+$", 473 "pattern": "^projects/[^/]+/topics/[^/]+$",
505 "required": true, 474 "required": true,
506 "type": "string" 475 "type": "string"
507 },
508 "pageToken": {
509 "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.",
510 "location": "query",
511 "type": "string"
512 } 476 }
513 }, 477 },
514 "path": "v1beta2/{+project}/topics", 478 "path": "v1beta2/{+resource}:testIamPermissions",
479 "request": {
480 "$ref": "TestIamPermissionsRequest"
481 },
515 "response": { 482 "response": {
516 "$ref": "ListTopicsResponse" 483 "$ref": "TestIamPermissionsResponse"
517 }, 484 },
518 "scopes": [ 485 "scopes": [
519 "https://www.googleapis.com/auth/cloud-platform" , 486 "https://www.googleapis.com/auth/cloud-platform" ,
520 "https://www.googleapis.com/auth/pubsub" 487 "https://www.googleapis.com/auth/pubsub"
521 ] 488 ]
522 }, 489 },
523 "get": { 490 "delete": {
524 "description": "Gets the configuration of a topic.", 491 "description": "Deletes the topic with the given nam e. Returns `NOT_FOUND` if the topic\ndoes not exist. After a topic is deleted, a new topic may be created with\nthe same name; this is an entirely new topic wit h none of the old\nconfiguration or subscriptions. Existing subscriptions to thi s topic are\nnot deleted, but their `topic` field is set to `_deleted-topic_`.",
525 "httpMethod": "GET", 492 "httpMethod": "DELETE",
526 "id": "pubsub.projects.topics.get", 493 "id": "pubsub.projects.topics.delete",
527 "parameterOrder": [ 494 "parameterOrder": [
528 "topic" 495 "topic"
529 ], 496 ],
530 "parameters": { 497 "parameters": {
531 "topic": { 498 "topic": {
532 "description": "The name of the topic to get .", 499 "description": "Name of the topic to delete. ",
533 "location": "path", 500 "location": "path",
534 "pattern": "^projects/[^/]+/topics/[^/]+$", 501 "pattern": "^projects/[^/]+/topics/[^/]+$",
535 "required": true, 502 "required": true,
536 "type": "string" 503 "type": "string"
537 } 504 }
538 }, 505 },
539 "path": "v1beta2/{+topic}", 506 "path": "v1beta2/{+topic}",
540 "response": { 507 "response": {
541 "$ref": "Topic" 508 "$ref": "Empty"
542 }, 509 },
543 "scopes": [ 510 "scopes": [
544 "https://www.googleapis.com/auth/cloud-platform" , 511 "https://www.googleapis.com/auth/cloud-platform" ,
512 "https://www.googleapis.com/auth/pubsub"
513 ]
514 },
515 "list": {
516 "description": "Lists matching topics.",
517 "httpMethod": "GET",
518 "id": "pubsub.projects.topics.list",
519 "parameterOrder": [
520 "project"
521 ],
522 "parameters": {
523 "pageToken": {
524 "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.",
525 "location": "query",
526 "type": "string"
527 },
528 "pageSize": {
529 "description": "Maximum number of topics to return.",
530 "format": "int32",
531 "location": "query",
532 "type": "integer"
533 },
534 "project": {
535 "description": "The name of the cloud projec t that topics belong to.",
536 "location": "path",
537 "pattern": "^projects/[^/]+$",
538 "required": true,
539 "type": "string"
540 }
541 },
542 "path": "v1beta2/{+project}/topics",
543 "response": {
544 "$ref": "ListTopicsResponse"
545 },
546 "scopes": [
547 "https://www.googleapis.com/auth/cloud-platform" ,
545 "https://www.googleapis.com/auth/pubsub" 548 "https://www.googleapis.com/auth/pubsub"
546 ] 549 ]
547 }, 550 },
548 "create": { 551 "create": {
549 "description": "Creates the given topic with the giv en name.", 552 "description": "Creates the given topic with the giv en name.",
550 "httpMethod": "PUT", 553 "httpMethod": "PUT",
551 "id": "pubsub.projects.topics.create", 554 "id": "pubsub.projects.topics.create",
552 "parameterOrder": [ 555 "parameterOrder": [
553 "name" 556 "name"
554 ], 557 ],
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 "$ref": "SetIamPolicyRequest" 597 "$ref": "SetIamPolicyRequest"
595 }, 598 },
596 "response": { 599 "response": {
597 "$ref": "Policy" 600 "$ref": "Policy"
598 }, 601 },
599 "scopes": [ 602 "scopes": [
600 "https://www.googleapis.com/auth/cloud-platform" , 603 "https://www.googleapis.com/auth/cloud-platform" ,
601 "https://www.googleapis.com/auth/pubsub" 604 "https://www.googleapis.com/auth/pubsub"
602 ] 605 ]
603 }, 606 },
604 "delete": { 607 "getIamPolicy": {
605 "description": "Deletes the topic with the given nam e. Returns `NOT_FOUND` if the topic\ndoes not exist. After a topic is deleted, a new topic may be created with\nthe same name; this is an entirely new topic wit h none of the old\nconfiguration or subscriptions. Existing subscriptions to thi s topic are\nnot deleted, but their `topic` field is set to `_deleted-topic_`.", 608 "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.",
606 "httpMethod": "DELETE", 609 "httpMethod": "GET",
607 "id": "pubsub.projects.topics.delete", 610 "id": "pubsub.projects.topics.getIamPolicy",
611 "parameterOrder": [
612 "resource"
613 ],
614 "parameters": {
615 "resource": {
616 "description": "REQUIRED: The resource for w hich the policy is being requested.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.",
617 "location": "path",
618 "pattern": "^projects/[^/]+/topics/[^/]+$",
619 "required": true,
620 "type": "string"
621 }
622 },
623 "path": "v1beta2/{+resource}:getIamPolicy",
624 "response": {
625 "$ref": "Policy"
626 },
627 "scopes": [
628 "https://www.googleapis.com/auth/cloud-platform" ,
629 "https://www.googleapis.com/auth/pubsub"
630 ]
631 },
632 "get": {
633 "description": "Gets the configuration of a topic.",
634 "httpMethod": "GET",
635 "id": "pubsub.projects.topics.get",
608 "parameterOrder": [ 636 "parameterOrder": [
609 "topic" 637 "topic"
610 ], 638 ],
611 "parameters": { 639 "parameters": {
612 "topic": { 640 "topic": {
613 "description": "Name of the topic to delete. ", 641 "description": "The name of the topic to get .",
614 "location": "path", 642 "location": "path",
615 "pattern": "^projects/[^/]+/topics/[^/]+$", 643 "pattern": "^projects/[^/]+/topics/[^/]+$",
616 "required": true, 644 "required": true,
617 "type": "string" 645 "type": "string"
618 } 646 }
619 }, 647 },
620 "path": "v1beta2/{+topic}", 648 "path": "v1beta2/{+topic}",
621 "response": { 649 "response": {
622 "$ref": "Empty" 650 "$ref": "Topic"
623 }, 651 },
624 "scopes": [ 652 "scopes": [
625 "https://www.googleapis.com/auth/cloud-platform" , 653 "https://www.googleapis.com/auth/cloud-platform" ,
626 "https://www.googleapis.com/auth/pubsub"
627 ]
628 },
629 "testIamPermissions": {
630 "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.",
631 "httpMethod": "POST",
632 "id": "pubsub.projects.topics.testIamPermissions",
633 "parameterOrder": [
634 "resource"
635 ],
636 "parameters": {
637 "resource": {
638 "description": "REQUIRED: The resource for w hich the policy detail is being requested.\n`resource` is usually specified as a path. For example, a Project\nresource is specified as `projects/{project}`.",
639 "location": "path",
640 "pattern": "^projects/[^/]+/topics/[^/]+$",
641 "required": true,
642 "type": "string"
643 }
644 },
645 "path": "v1beta2/{+resource}:testIamPermissions",
646 "request": {
647 "$ref": "TestIamPermissionsRequest"
648 },
649 "response": {
650 "$ref": "TestIamPermissionsResponse"
651 },
652 "scopes": [
653 "https://www.googleapis.com/auth/cloud-platform" ,
654 "https://www.googleapis.com/auth/pubsub" 654 "https://www.googleapis.com/auth/pubsub"
655 ] 655 ]
656 } 656 }
657 }, 657 },
658 "resources": { 658 "resources": {
659 "subscriptions": { 659 "subscriptions": {
660 "methods": { 660 "methods": {
661 "list": { 661 "list": {
662 "description": "Lists the name of the subscr iptions for this topic.", 662 "description": "Lists the name of the subscr iptions for this topic.",
663 "httpMethod": "GET", 663 "httpMethod": "GET",
664 "id": "pubsub.projects.topics.subscriptions. list", 664 "id": "pubsub.projects.topics.subscriptions. list",
665 "parameterOrder": [ 665 "parameterOrder": [
666 "topic" 666 "topic"
667 ], 667 ],
668 "parameters": { 668 "parameters": {
669 "topic": { 669 "pageToken": {
670 "description": "The name of the topi c that subscriptions are attached to.", 670 "description": "The value returned b y the last `ListTopicSubscriptionsResponse`; indicates\nthat this is a continuat ion of a prior `ListTopicSubscriptions` call, and\nthat the system should return the next page of data.",
671 "location": "path", 671 "location": "query",
672 "pattern": "^projects/[^/]+/topics/[ ^/]+$",
673 "required": true,
674 "type": "string" 672 "type": "string"
675 }, 673 },
676 "pageSize": { 674 "pageSize": {
677 "description": "Maximum number of su bscription names to return.", 675 "description": "Maximum number of su bscription names to return.",
678 "format": "int32", 676 "format": "int32",
679 "location": "query", 677 "location": "query",
680 "type": "integer" 678 "type": "integer"
681 }, 679 },
682 "pageToken": { 680 "topic": {
683 "description": "The value returned b y the last `ListTopicSubscriptionsResponse`; indicates\nthat this is a continuat ion of a prior `ListTopicSubscriptions` call, and\nthat the system should return the next page of data.", 681 "description": "The name of the topi c that subscriptions are attached to.",
684 "location": "query", 682 "location": "path",
683 "pattern": "^projects/[^/]+/topics/[ ^/]+$",
684 "required": true,
685 "type": "string" 685 "type": "string"
686 } 686 }
687 }, 687 },
688 "path": "v1beta2/{+topic}/subscriptions", 688 "path": "v1beta2/{+topic}/subscriptions",
689 "response": { 689 "response": {
690 "$ref": "ListTopicSubscriptionsResponse" 690 "$ref": "ListTopicSubscriptionsResponse"
691 }, 691 },
692 "scopes": [ 692 "scopes": [
693 "https://www.googleapis.com/auth/cloud-p latform", 693 "https://www.googleapis.com/auth/cloud-p latform",
694 "https://www.googleapis.com/auth/pubsub" 694 "https://www.googleapis.com/auth/pubsub"
695 ] 695 ]
696 } 696 }
697 } 697 }
698 } 698 }
699 } 699 }
700 } 700 }
701 } 701 }
702 } 702 }
703 }, 703 },
704 "revision": "20170105", 704 "revision": "20170124",
705 "rootUrl": "https://pubsub.googleapis.com/", 705 "rootUrl": "https://pubsub.googleapis.com/",
706 "schemas": { 706 "schemas": {
707 "Topic": { 707 "PullResponse": {
708 "description": "A topic resource.", 708 "description": "Response for the `Pull` method.",
709 "id": "Topic", 709 "id": "PullResponse",
710 "properties": { 710 "properties": {
711 "name": { 711 "receivedMessages": {
712 "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\"`.", 712 "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.",
713 "type": "string" 713 "items": {
714 "$ref": "ReceivedMessage"
715 },
716 "type": "array"
714 } 717 }
715 }, 718 },
716 "type": "object" 719 "type": "object"
717 },
718 "SetIamPolicyRequest": {
719 "description": "Request message for `SetIamPolicy` method.",
720 "id": "SetIamPolicyRequest",
721 "properties": {
722 "policy": {
723 "$ref": "Policy",
724 "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."
725 }
726 },
727 "type": "object"
728 }, 720 },
729 "ReceivedMessage": { 721 "ReceivedMessage": {
730 "description": "A message and its corresponding acknowledgment ID.", 722 "description": "A message and its corresponding acknowledgment ID.",
731 "id": "ReceivedMessage", 723 "id": "ReceivedMessage",
732 "properties": { 724 "properties": {
725 "message": {
726 "$ref": "PubsubMessage",
727 "description": "The message."
728 },
733 "ackId": { 729 "ackId": {
734 "description": "This ID can be used to acknowledge the recei ved message.", 730 "description": "This ID can be used to acknowledge the recei ved message.",
735 "type": "string" 731 "type": "string"
736 },
737 "message": {
738 "$ref": "PubsubMessage",
739 "description": "The message."
740 } 732 }
741 }, 733 },
742 "type": "object" 734 "type": "object"
743 }, 735 },
744 "PublishRequest": { 736 "PushConfig": {
745 "description": "Request for the Publish method.", 737 "description": "Configuration for a push delivery endpoint.",
746 "id": "PublishRequest", 738 "id": "PushConfig",
747 "properties": { 739 "properties": {
748 "messages": { 740 "pushEndpoint": {
749 "description": "The messages to publish.", 741 "description": "A URL locating the endpoint to which message s should be pushed.\nFor example, a Webhook endpoint might use \"https://example .com/push\".",
750 "items": { 742 "type": "string"
751 "$ref": "PubsubMessage" 743 },
744 "attributes": {
745 "additionalProperties": {
746 "type": "string"
752 }, 747 },
753 "type": "array" 748 "description": "Endpoint configuration attributes.\n\nEvery endpoint has a set of API supported attributes that can be used to\ncontrol diff erent aspects of the message delivery.\n\nThe currently supported attribute is ` x-goog-version`, which you can\nuse to change the format of the push message. Th is attribute\nindicates the version of the data expected by the endpoint. This\n controls the shape of the envelope (i.e. its fields and metadata).\nThe endpoint version is based on the version of the Pub/Sub\nAPI.\n\nIf not present during t he `CreateSubscription` call, it will default to\nthe version of the API used to make such call. If not present during a\n`ModifyPushConfig` call, its value wil l not be changed. `GetSubscription`\ncalls will always return a valid version, e ven if the subscription was\ncreated without this attribute.\n\nThe possible val ues for this attribute are:\n\n* `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API.\n* `v1` or `v1beta2`: uses the push format defined in the v 1 Pub/Sub API.",
749 "type": "object"
754 } 750 }
755 }, 751 },
756 "type": "object" 752 "type": "object"
757 }, 753 },
758 "TestIamPermissionsResponse": { 754 "TestIamPermissionsResponse": {
759 "description": "Response message for `TestIamPermissions` method.", 755 "description": "Response message for `TestIamPermissions` method.",
760 "id": "TestIamPermissionsResponse", 756 "id": "TestIamPermissionsResponse",
761 "properties": { 757 "properties": {
762 "permissions": { 758 "permissions": {
763 "description": "A subset of `TestPermissionsRequest.permissi ons` that the caller is\nallowed.", 759 "description": "A subset of `TestPermissionsRequest.permissi ons` that the caller is\nallowed.",
764 "items": { 760 "items": {
765 "type": "string" 761 "type": "string"
766 }, 762 },
767 "type": "array" 763 "type": "array"
768 } 764 }
769 }, 765 },
770 "type": "object" 766 "type": "object"
771 }, 767 },
772 "PublishResponse": { 768 "PullRequest": {
773 "description": "Response for the `Publish` method.", 769 "description": "Request for the `Pull` method.",
774 "id": "PublishResponse", 770 "id": "PullRequest",
775 "properties": { 771 "properties": {
776 "messageIds": { 772 "maxMessages": {
777 "description": "The server-assigned ID of each published mes sage, in the same order as\nthe messages in the request. IDs are guaranteed to b e unique within\nthe topic.", 773 "description": "The maximum number of messages returned for this request. The Pub/Sub\nsystem may return fewer than the number specified.",
778 "items": { 774 "format": "int32",
779 "type": "string" 775 "type": "integer"
780 }, 776 },
781 "type": "array" 777 "returnImmediately": {
778 "description": "If this is specified as true the system will respond immediately even if\nit is not able to return a message in the `Pull` r esponse. Otherwise the\nsystem is allowed to wait until at least one message is available rather\nthan returning no messages. The client may cancel the request if it does\nnot wish to wait any longer for the response.",
779 "type": "boolean"
782 } 780 }
783 }, 781 },
784 "type": "object" 782 "type": "object"
785 }, 783 },
786 "ListSubscriptionsResponse": { 784 "ListSubscriptionsResponse": {
787 "description": "Response for the `ListSubscriptions` method.", 785 "description": "Response for the `ListSubscriptions` method.",
788 "id": "ListSubscriptionsResponse", 786 "id": "ListSubscriptionsResponse",
789 "properties": { 787 "properties": {
790 "subscriptions": { 788 "subscriptions": {
791 "description": "The subscriptions that match the request.", 789 "description": "The subscriptions that match the request.",
792 "items": { 790 "items": {
793 "$ref": "Subscription" 791 "$ref": "Subscription"
794 }, 792 },
795 "type": "array" 793 "type": "array"
796 }, 794 },
797 "nextPageToken": { 795 "nextPageToken": {
798 "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 `ListSubscriptionsRequest` to get more subscriptions.", 796 "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 `ListSubscriptionsRequest` to get more subscriptions.",
799 "type": "string" 797 "type": "string"
800 } 798 }
801 }, 799 },
802 "type": "object" 800 "type": "object"
803 }, 801 },
804 "Policy": { 802 "PublishRequest": {
805 "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).", 803 "description": "Request for the Publish method.",
806 "id": "Policy", 804 "id": "PublishRequest",
807 "properties": { 805 "properties": {
808 "bindings": { 806 "messages": {
809 "description": "Associates a list of `members` to a `role`.\ nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error.", 807 "description": "The messages to publish.",
810 "items": { 808 "items": {
811 "$ref": "Binding" 809 "$ref": "PubsubMessage"
812 }, 810 },
813 "type": "array" 811 "type": "array"
814 },
815 "etag": {
816 "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.",
817 "format": "byte",
818 "type": "string"
819 },
820 "version": {
821 "description": "Version of the `Policy`. The default version is 0.",
822 "format": "int32",
823 "type": "integer"
824 } 812 }
825 }, 813 },
826 "type": "object" 814 "type": "object"
827 }, 815 },
828 "ListTopicSubscriptionsResponse": { 816 "PublishResponse": {
829 "description": "Response for the `ListTopicSubscriptions` method.", 817 "description": "Response for the `Publish` method.",
830 "id": "ListTopicSubscriptionsResponse", 818 "id": "PublishResponse",
831 "properties": { 819 "properties": {
832 "subscriptions": { 820 "messageIds": {
833 "description": "The names of the subscriptions that match th e request.", 821 "description": "The server-assigned ID of each published mes sage, in the same order as\nthe messages in the request. IDs are guaranteed to b e unique within\nthe topic.",
834 "items": { 822 "items": {
835 "type": "string" 823 "type": "string"
836 }, 824 },
837 "type": "array" 825 "type": "array"
838 },
839 "nextPageToken": {
840 "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.",
841 "type": "string"
842 } 826 }
843 }, 827 },
844 "type": "object" 828 "type": "object"
845 }, 829 },
846 "Subscription": { 830 "Subscription": {
847 "description": "A subscription resource.", 831 "description": "A subscription resource.",
848 "id": "Subscription", 832 "id": "Subscription",
849 "properties": { 833 "properties": {
850 "pushConfig": { 834 "pushConfig": {
851 "$ref": "PushConfig", 835 "$ref": "PushConfig",
852 "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." 836 "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."
853 }, 837 },
854 "topic": {
855 "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.",
856 "type": "string"
857 },
858 "ackDeadlineSeconds": { 838 "ackDeadlineSeconds": {
859 "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.", 839 "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.",
860 "format": "int32", 840 "format": "int32",
861 "type": "integer" 841 "type": "integer"
862 }, 842 },
863 "name": { 843 "name": {
864 "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\"`.", 844 "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\"`.",
865 "type": "string" 845 "type": "string"
846 },
847 "topic": {
848 "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.",
849 "type": "string"
866 } 850 }
867 }, 851 },
868 "type": "object" 852 "type": "object"
869 },
870 "ModifyAckDeadlineRequest": {
871 "description": "Request for the ModifyAckDeadline method.",
872 "id": "ModifyAckDeadlineRequest",
873 "properties": {
874 "ackDeadlineSeconds": {
875 "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.",
876 "format": "int32",
877 "type": "integer"
878 },
879 "ackId": {
880 "description": "The acknowledgment ID. Either this or ack_id s must be populated, but not\nboth.",
881 "type": "string"
882 },
883 "ackIds": {
884 "description": "List of acknowledgment IDs.",
885 "items": {
886 "type": "string"
887 },
888 "type": "array"
889 }
890 },
891 "type": "object"
892 }, 853 },
893 "TestIamPermissionsRequest": { 854 "TestIamPermissionsRequest": {
894 "description": "Request message for `TestIamPermissions` method.", 855 "description": "Request message for `TestIamPermissions` method.",
895 "id": "TestIamPermissionsRequest", 856 "id": "TestIamPermissionsRequest",
896 "properties": { 857 "properties": {
897 "permissions": { 858 "permissions": {
898 "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).", 859 "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).",
899 "items": { 860 "items": {
900 "type": "string" 861 "type": "string"
901 }, 862 },
902 "type": "array" 863 "type": "array"
903 } 864 }
904 }, 865 },
905 "type": "object" 866 "type": "object"
906 }, 867 },
907 "PushConfig": { 868 "Policy": {
908 "description": "Configuration for a push delivery endpoint.", 869 "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).",
909 "id": "PushConfig", 870 "id": "Policy",
910 "properties": { 871 "properties": {
911 "attributes": { 872 "etag": {
912 "additionalProperties": { 873 "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.",
913 "type": "string" 874 "format": "byte",
875 "type": "string"
876 },
877 "version": {
878 "description": "Version of the `Policy`. The default version is 0.",
879 "format": "int32",
880 "type": "integer"
881 },
882 "bindings": {
883 "description": "Associates a list of `members` to a `role`.\ nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with no members will result in an error.",
884 "items": {
885 "$ref": "Binding"
914 }, 886 },
915 "description": "Endpoint configuration attributes.\n\nEvery endpoint has a set of API supported attributes that can be used to\ncontrol diff erent aspects of the message delivery.\n\nThe currently supported attribute is ` x-goog-version`, which you can\nuse to change the format of the push message. Th is attribute\nindicates the version of the data expected by the endpoint. This\n controls the shape of the envelope (i.e. its fields and metadata).\nThe endpoint version is based on the version of the Pub/Sub\nAPI.\n\nIf not present during t he `CreateSubscription` call, it will default to\nthe version of the API used to make such call. If not present during a\n`ModifyPushConfig` call, its value wil l not be changed. `GetSubscription`\ncalls will always return a valid version, e ven if the subscription was\ncreated without this attribute.\n\nThe possible val ues for this attribute are:\n\n* `v1beta1`: uses the push format defined in the v1beta1 Pub/Sub API.\n* `v1` or `v1beta2`: uses the push format defined in the v 1 Pub/Sub API.", 887 "type": "array"
916 "type": "object" 888 }
917 }, 889 },
918 "pushEndpoint": { 890 "type": "object"
919 "description": "A URL locating the endpoint to which message s should be pushed.\nFor example, a Webhook endpoint might use \"https://example .com/push\".", 891 },
892 "Topic": {
893 "description": "A topic resource.",
894 "id": "Topic",
895 "properties": {
896 "name": {
897 "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\"`.",
920 "type": "string" 898 "type": "string"
921 } 899 }
922 }, 900 },
923 "type": "object" 901 "type": "object"
924 }, 902 },
925 "PullRequest": { 903 "ModifyAckDeadlineRequest": {
926 "description": "Request for the `Pull` method.", 904 "description": "Request for the ModifyAckDeadline method.",
927 "id": "PullRequest", 905 "id": "ModifyAckDeadlineRequest",
928 "properties": { 906 "properties": {
929 "returnImmediately": { 907 "ackIds": {
930 "description": "If this is specified as true the system will respond immediately even if\nit is not able to return a message in the `Pull` r esponse. Otherwise the\nsystem is allowed to wait until at least one message is available rather\nthan returning no messages. The client may cancel the request if it does\nnot wish to wait any longer for the response.", 908 "description": "List of acknowledgment IDs.",
931 "type": "boolean" 909 "items": {
910 "type": "string"
911 },
912 "type": "array"
932 }, 913 },
933 "maxMessages": { 914 "ackId": {
934 "description": "The maximum number of messages returned for this request. The Pub/Sub\nsystem may return fewer than the number specified.", 915 "description": "The acknowledgment ID. Either this or ack_id s must be populated, but not\nboth.",
916 "type": "string"
917 },
918 "ackDeadlineSeconds": {
919 "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.",
935 "format": "int32", 920 "format": "int32",
936 "type": "integer" 921 "type": "integer"
937 } 922 }
938 }, 923 },
939 "type": "object" 924 "type": "object"
940 }, 925 },
926 "SetIamPolicyRequest": {
927 "description": "Request message for `SetIamPolicy` method.",
928 "id": "SetIamPolicyRequest",
929 "properties": {
930 "policy": {
931 "$ref": "Policy",
932 "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."
933 }
934 },
935 "type": "object"
936 },
941 "ModifyPushConfigRequest": { 937 "ModifyPushConfigRequest": {
942 "description": "Request for the ModifyPushConfig method.", 938 "description": "Request for the ModifyPushConfig method.",
943 "id": "ModifyPushConfigRequest", 939 "id": "ModifyPushConfigRequest",
944 "properties": { 940 "properties": {
945 "pushConfig": { 941 "pushConfig": {
946 "$ref": "PushConfig", 942 "$ref": "PushConfig",
947 "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." 943 "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."
948 } 944 }
949 }, 945 },
950 "type": "object" 946 "type": "object"
951 }, 947 },
952 "PullResponse": {
953 "description": "Response for the `Pull` method.",
954 "id": "PullResponse",
955 "properties": {
956 "receivedMessages": {
957 "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.",
958 "items": {
959 "$ref": "ReceivedMessage"
960 },
961 "type": "array"
962 }
963 },
964 "type": "object"
965 },
966 "PubsubMessage": { 948 "PubsubMessage": {
967 "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.", 949 "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.",
968 "id": "PubsubMessage", 950 "id": "PubsubMessage",
969 "properties": { 951 "properties": {
970 "data": {
971 "description": "The message payload. For JSON requests, the value of this field must be\n[base64-encoded](https://tools.ietf.org/html/rfc464 8).",
972 "format": "byte",
973 "type": "string"
974 },
975 "attributes": { 952 "attributes": {
976 "additionalProperties": { 953 "additionalProperties": {
977 "type": "string" 954 "type": "string"
978 }, 955 },
979 "description": "Optional attributes for this message.", 956 "description": "Optional attributes for this message.",
980 "type": "object" 957 "type": "object"
981 }, 958 },
982 "messageId": { 959 "messageId": {
983 "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.", 960 "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.",
984 "type": "string" 961 "type": "string"
985 }, 962 },
986 "publishTime": { 963 "publishTime": {
987 "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.", 964 "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.",
988 "format": "google-datetime", 965 "format": "google-datetime",
989 "type": "string" 966 "type": "string"
990 } 967 },
991 }, 968 "data": {
992 "type": "object" 969 "description": "The message payload. For JSON requests, the value of this field must be\n[base64-encoded](https://tools.ietf.org/html/rfc464 8).",
993 }, 970 "format": "byte",
994 "AcknowledgeRequest": {
995 "description": "Request for the Acknowledge method.",
996 "id": "AcknowledgeRequest",
997 "properties": {
998 "ackIds": {
999 "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.",
1000 "items": {
1001 "type": "string"
1002 },
1003 "type": "array"
1004 }
1005 },
1006 "type": "object"
1007 },
1008 "Empty": {
1009 "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 `{}`.",
1010 "id": "Empty",
1011 "properties": {},
1012 "type": "object"
1013 },
1014 "ListTopicsResponse": {
1015 "description": "Response for the `ListTopics` method.",
1016 "id": "ListTopicsResponse",
1017 "properties": {
1018 "nextPageToken": {
1019 "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`.",
1020 "type": "string" 971 "type": "string"
1021 },
1022 "topics": {
1023 "description": "The resulting topics.",
1024 "items": {
1025 "$ref": "Topic"
1026 },
1027 "type": "array"
1028 } 972 }
1029 }, 973 },
1030 "type": "object" 974 "type": "object"
1031 }, 975 },
1032 "Binding": { 976 "Binding": {
1033 "description": "Associates `members` with a `role`.", 977 "description": "Associates `members` with a `role`.",
1034 "id": "Binding", 978 "id": "Binding",
1035 "properties": { 979 "properties": {
1036 "members": { 980 "members": {
1037 "description": "Specifies the identities requesting access f or a Cloud Platform resource.\n`members` can have the following values:\n\n* `al lUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special ident ifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a spec ific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\ n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{e mailid}`: An email address that represents a Google group.\n For example, `adm ins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represe nts all the\n users of that domain. For example, `google.com` or `example.com` .\n\n", 981 "description": "Specifies the identities requesting access f or a Cloud Platform resource.\n`members` can have the following values:\n\n* `al lUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special ident ifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a spec ific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\ n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{e mailid}`: An email address that represents a Google group.\n For example, `adm ins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represe nts all the\n users of that domain. For example, `google.com` or `example.com` .\n\n",
1038 "items": { 982 "items": {
1039 "type": "string" 983 "type": "string"
1040 }, 984 },
1041 "type": "array" 985 "type": "array"
1042 }, 986 },
1043 "role": { 987 "role": {
1044 "description": "Role that is assigned to `members`.\nFor exa mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", 988 "description": "Role that is assigned to `members`.\nFor exa mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
1045 "type": "string" 989 "type": "string"
1046 } 990 }
1047 }, 991 },
992 "type": "object"
993 },
994 "ListTopicsResponse": {
995 "description": "Response for the `ListTopics` method.",
996 "id": "ListTopicsResponse",
997 "properties": {
998 "topics": {
999 "description": "The resulting topics.",
1000 "items": {
1001 "$ref": "Topic"
1002 },
1003 "type": "array"
1004 },
1005 "nextPageToken": {
1006 "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`.",
1007 "type": "string"
1008 }
1009 },
1010 "type": "object"
1011 },
1012 "Empty": {
1013 "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 `{}`.",
1014 "id": "Empty",
1015 "properties": {},
1016 "type": "object"
1017 },
1018 "AcknowledgeRequest": {
1019 "description": "Request for the Acknowledge method.",
1020 "id": "AcknowledgeRequest",
1021 "properties": {
1022 "ackIds": {
1023 "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.",
1024 "items": {
1025 "type": "string"
1026 },
1027 "type": "array"
1028 }
1029 },
1030 "type": "object"
1031 },
1032 "ListTopicSubscriptionsResponse": {
1033 "description": "Response for the `ListTopicSubscriptions` method.",
1034 "id": "ListTopicSubscriptionsResponse",
1035 "properties": {
1036 "subscriptions": {
1037 "description": "The names of the subscriptions that match th e request.",
1038 "items": {
1039 "type": "string"
1040 },
1041 "type": "array"
1042 },
1043 "nextPageToken": {
1044 "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.",
1045 "type": "string"
1046 }
1047 },
1048 "type": "object" 1048 "type": "object"
1049 } 1049 }
1050 }, 1050 },
1051 "servicePath": "", 1051 "servicePath": "",
1052 "title": "Google Cloud Pub/Sub API", 1052 "title": "Google Cloud Pub/Sub API",
1053 "version": "v1beta2" 1053 "version": "v1beta2"
1054 } 1054 }
OLDNEW
« no previous file with comments | « discovery/googleapis_beta/ml__v1beta1.json ('k') | discovery/googleapis_beta/runtimeconfig__v1beta1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698