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": "", | 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": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/jJarxdUjZcANpaMjt3kLHFRtpJA\"", | 20 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/2gFziNeeWonAEaa0qgWc2bxo8D8\"", |
21 "icons": { | 21 "icons": { |
22 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 22 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
23 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 23 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
24 }, | 24 }, |
25 "id": "pubsub:v1beta2", | 25 "id": "pubsub: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": { |
31 "access_token": { | 31 "access_token": { |
32 "description": "OAuth access token.", | 32 "description": "OAuth access token.", |
33 "location": "query", | 33 "location": "query", |
34 "type": "string" | 34 "type": "string" |
35 }, | 35 }, |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 ], | 121 ], |
122 "parameters": { | 122 "parameters": { |
123 "resource": { | 123 "resource": { |
124 "description": "REQUIRED: The resource for w
hich policy is being specified. Resource is usually specified as a path, such as
, projects/{project}/zones/{zone}/disks/{disk}.", | 124 "description": "REQUIRED: The resource for w
hich policy is being specified. Resource is usually specified as a path, such as
, projects/{project}/zones/{zone}/disks/{disk}.", |
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": "v1beta2/{+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. Is empty if the policy or the resource does not exist.", | 144 "description": "Gets the access control policy for a
resource. Is empty if the policy or the resource does not exist.", |
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 policy is being requested. Resource is usually specified as a path, such as
, projects/{project}.", | 152 "description": "REQUIRED: The resource for w
hich policy is being requested. Resource is usually specified as a path, such 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": "v1beta2/{+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 policy detail is being requested. Resource is usually specified as a path,
such as, projects/{project}.", | 177 "description": "REQUIRED: The resource for w
hich policy detail is being requested. Resource is usually specified as a path,
such 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": "v1beta2/{+resource}:testIamPermissions", | 184 "path": "v1/{+resource}:testIamPermissions", |
185 "request": { | 185 "request": { |
186 "$ref": "TestIamPermissionsRequest" | 186 "$ref": "TestIamPermissionsRequest" |
187 }, | 187 }, |
188 "response": { | 188 "response": { |
189 "$ref": "TestIamPermissionsResponse" | 189 "$ref": "TestIamPermissionsResponse" |
190 }, | 190 }, |
191 "scopes": [ | 191 "scopes": [ |
192 "https://www.googleapis.com/auth/cloud-platform"
, | 192 "https://www.googleapis.com/auth/cloud-platform"
, |
193 "https://www.googleapis.com/auth/pubsub" | 193 "https://www.googleapis.com/auth/pubsub" |
194 ] | 194 ] |
195 }, | 195 }, |
196 "create": { | 196 "create": { |
197 "description": "Creates the given topic with the giv
en name.", | 197 "description": "Creates the given topic with the giv
en name.", |
198 "httpMethod": "PUT", | 198 "httpMethod": "PUT", |
199 "id": "pubsub.projects.topics.create", | 199 "id": "pubsub.projects.topics.create", |
200 "parameterOrder": [ | 200 "parameterOrder": [ |
201 "name" | 201 "name" |
202 ], | 202 ], |
203 "parameters": { | 203 "parameters": { |
204 "name": { | 204 "name": { |
205 "description": "The name of the topic. It mu
st have the format \"projects/{project}/topics/{topic}\" for Google Cloud Pub/Su
b API v1 and v1beta2. {topic} 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 in len
gth, and it must not start with \"goog\".", | 205 "description": "The name of the topic. It mu
st have the format `\"projects/{project}/topics/{topic}\"`. `{topic}` must start
with a letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes
(`-`), underscores (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent si
gns (`%`). It must be between 3 and 255 characters in length, and it must not st
art with `\"goog\"`.", |
206 "location": "path", | 206 "location": "path", |
207 "pattern": "^projects/[^/]*/topics/[^/]*$", | 207 "pattern": "^projects/[^/]*/topics/[^/]*$", |
208 "required": true, | 208 "required": true, |
209 "type": "string" | 209 "type": "string" |
210 } | 210 } |
211 }, | 211 }, |
212 "path": "v1beta2/{+name}", | 212 "path": "v1/{+name}", |
213 "request": { | 213 "request": { |
214 "$ref": "Topic" | 214 "$ref": "Topic" |
215 }, | 215 }, |
216 "response": { | 216 "response": { |
217 "$ref": "Topic" | 217 "$ref": "Topic" |
218 }, | 218 }, |
219 "scopes": [ | 219 "scopes": [ |
220 "https://www.googleapis.com/auth/cloud-platform"
, | 220 "https://www.googleapis.com/auth/cloud-platform"
, |
221 "https://www.googleapis.com/auth/pubsub" | 221 "https://www.googleapis.com/auth/pubsub" |
222 ] | 222 ] |
223 }, | 223 }, |
224 "publish": { | 224 "publish": { |
225 "description": "Adds one or more messages to the top
ic. Returns NOT_FOUND if the topic does not exist.", | 225 "description": "Adds one or more messages to the top
ic. Returns NOT_FOUND if the topic does not exist. The message payload must not
be empty; it must contain either a non-empty data field, or at least one attribu
te.", |
226 "httpMethod": "POST", | 226 "httpMethod": "POST", |
227 "id": "pubsub.projects.topics.publish", | 227 "id": "pubsub.projects.topics.publish", |
228 "parameterOrder": [ | 228 "parameterOrder": [ |
229 "topic" | 229 "topic" |
230 ], | 230 ], |
231 "parameters": { | 231 "parameters": { |
232 "topic": { | 232 "topic": { |
233 "description": "The messages in the request
will be published on this topic.", | 233 "description": "The messages in the request
will be published on this topic.", |
234 "location": "path", | 234 "location": "path", |
235 "pattern": "^projects/[^/]*/topics/[^/]*$", | 235 "pattern": "^projects/[^/]*/topics/[^/]*$", |
236 "required": true, | 236 "required": true, |
237 "type": "string" | 237 "type": "string" |
238 } | 238 } |
239 }, | 239 }, |
240 "path": "v1beta2/{+topic}:publish", | 240 "path": "v1/{+topic}:publish", |
241 "request": { | 241 "request": { |
242 "$ref": "PublishRequest" | 242 "$ref": "PublishRequest" |
243 }, | 243 }, |
244 "response": { | 244 "response": { |
245 "$ref": "PublishResponse" | 245 "$ref": "PublishResponse" |
246 }, | 246 }, |
247 "scopes": [ | 247 "scopes": [ |
248 "https://www.googleapis.com/auth/cloud-platform"
, | 248 "https://www.googleapis.com/auth/cloud-platform"
, |
249 "https://www.googleapis.com/auth/pubsub" | 249 "https://www.googleapis.com/auth/pubsub" |
250 ] | 250 ] |
251 }, | 251 }, |
252 "get": { | 252 "get": { |
253 "description": "Gets the configuration of a topic.", | 253 "description": "Gets the configuration of a topic.", |
254 "httpMethod": "GET", | 254 "httpMethod": "GET", |
255 "id": "pubsub.projects.topics.get", | 255 "id": "pubsub.projects.topics.get", |
256 "parameterOrder": [ | 256 "parameterOrder": [ |
257 "topic" | 257 "topic" |
258 ], | 258 ], |
259 "parameters": { | 259 "parameters": { |
260 "topic": { | 260 "topic": { |
261 "description": "The name of the topic to get
.", | 261 "description": "The name of the topic to get
.", |
262 "location": "path", | 262 "location": "path", |
263 "pattern": "^projects/[^/]*/topics/[^/]*$", | 263 "pattern": "^projects/[^/]*/topics/[^/]*$", |
264 "required": true, | 264 "required": true, |
265 "type": "string" | 265 "type": "string" |
266 } | 266 } |
267 }, | 267 }, |
268 "path": "v1beta2/{+topic}", | 268 "path": "v1/{+topic}", |
269 "response": { | 269 "response": { |
270 "$ref": "Topic" | 270 "$ref": "Topic" |
271 }, | 271 }, |
272 "scopes": [ | 272 "scopes": [ |
273 "https://www.googleapis.com/auth/cloud-platform"
, | 273 "https://www.googleapis.com/auth/cloud-platform"
, |
274 "https://www.googleapis.com/auth/pubsub" | 274 "https://www.googleapis.com/auth/pubsub" |
275 ] | 275 ] |
276 }, | 276 }, |
277 "list": { | 277 "list": { |
278 "description": "Lists matching topics.", | 278 "description": "Lists matching topics.", |
(...skipping 15 matching lines...) Expand all Loading... |
294 "format": "int32", | 294 "format": "int32", |
295 "location": "query", | 295 "location": "query", |
296 "type": "integer" | 296 "type": "integer" |
297 }, | 297 }, |
298 "pageToken": { | 298 "pageToken": { |
299 "description": "The value returned by the la
st ListTopicsResponse; indicates that this is a continuation of a prior ListTopi
cs call, and that the system should return the next page of data.", | 299 "description": "The value returned by the la
st ListTopicsResponse; indicates that this is a continuation of a prior ListTopi
cs call, and that the system should return the next page of data.", |
300 "location": "query", | 300 "location": "query", |
301 "type": "string" | 301 "type": "string" |
302 } | 302 } |
303 }, | 303 }, |
304 "path": "v1beta2/{+project}/topics", | 304 "path": "v1/{+project}/topics", |
305 "response": { | 305 "response": { |
306 "$ref": "ListTopicsResponse" | 306 "$ref": "ListTopicsResponse" |
307 }, | 307 }, |
308 "scopes": [ | 308 "scopes": [ |
309 "https://www.googleapis.com/auth/cloud-platform"
, | 309 "https://www.googleapis.com/auth/cloud-platform"
, |
310 "https://www.googleapis.com/auth/pubsub" | 310 "https://www.googleapis.com/auth/pubsub" |
311 ] | 311 ] |
312 }, | 312 }, |
313 "delete": { | 313 "delete": { |
314 "description": "Deletes the topic with the given nam
e. Returns NOT_FOUND if the topic does not exist. After a topic is deleted, a ne
w topic may be created with the same name; this is an entirely new topic with no
ne of the old configuration or subscriptions. Existing subscriptions to this top
ic are not deleted, but their `topic` field is set to `_deleted-topic_`.", | 314 "description": "Deletes the topic with the given nam
e. Returns NOT_FOUND if the topic does not exist. After a topic is deleted, a ne
w topic may be created with the same name; this is an entirely new topic with no
ne of the old configuration or subscriptions. Existing subscriptions to this top
ic are not deleted, but their `topic` field is set to `_deleted-topic_`.", |
315 "httpMethod": "DELETE", | 315 "httpMethod": "DELETE", |
316 "id": "pubsub.projects.topics.delete", | 316 "id": "pubsub.projects.topics.delete", |
317 "parameterOrder": [ | 317 "parameterOrder": [ |
318 "topic" | 318 "topic" |
319 ], | 319 ], |
320 "parameters": { | 320 "parameters": { |
321 "topic": { | 321 "topic": { |
322 "description": "Name of the topic to delete.
", | 322 "description": "Name of the topic to delete.
", |
323 "location": "path", | 323 "location": "path", |
324 "pattern": "^projects/[^/]*/topics/[^/]*$", | 324 "pattern": "^projects/[^/]*/topics/[^/]*$", |
325 "required": true, | 325 "required": true, |
326 "type": "string" | 326 "type": "string" |
327 } | 327 } |
328 }, | 328 }, |
329 "path": "v1beta2/{+topic}", | 329 "path": "v1/{+topic}", |
330 "response": { | 330 "response": { |
331 "$ref": "Empty" | 331 "$ref": "Empty" |
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 "resources": { | 339 "resources": { |
(...skipping 19 matching lines...) Expand all Loading... |
359 "format": "int32", | 359 "format": "int32", |
360 "location": "query", | 360 "location": "query", |
361 "type": "integer" | 361 "type": "integer" |
362 }, | 362 }, |
363 "pageToken": { | 363 "pageToken": { |
364 "description": "The value returned b
y the last ListTopicSubscriptionsResponse; indicates that this is a continuation
of a prior ListTopicSubscriptions call, and that the system should return the n
ext page of data.", | 364 "description": "The value returned b
y the last ListTopicSubscriptionsResponse; indicates that this is a continuation
of a prior ListTopicSubscriptions call, and that the system should return the n
ext page of data.", |
365 "location": "query", | 365 "location": "query", |
366 "type": "string" | 366 "type": "string" |
367 } | 367 } |
368 }, | 368 }, |
369 "path": "v1beta2/{+topic}/subscriptions", | 369 "path": "v1/{+topic}/subscriptions", |
370 "response": { | 370 "response": { |
371 "$ref": "ListTopicSubscriptionsResponse" | 371 "$ref": "ListTopicSubscriptionsResponse" |
372 }, | 372 }, |
373 "scopes": [ | 373 "scopes": [ |
374 "https://www.googleapis.com/auth/cloud-p
latform", | 374 "https://www.googleapis.com/auth/cloud-p
latform", |
375 "https://www.googleapis.com/auth/pubsub" | 375 "https://www.googleapis.com/auth/pubsub" |
376 ] | 376 ] |
377 } | 377 } |
378 } | 378 } |
379 } | 379 } |
(...skipping 10 matching lines...) Expand all Loading... |
390 ], | 390 ], |
391 "parameters": { | 391 "parameters": { |
392 "resource": { | 392 "resource": { |
393 "description": "REQUIRED: The resource for w
hich policy is being specified. Resource is usually specified as a path, such as
, projects/{project}/zones/{zone}/disks/{disk}.", | 393 "description": "REQUIRED: The resource for w
hich policy is being specified. Resource is usually specified as a path, such as
, projects/{project}/zones/{zone}/disks/{disk}.", |
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": "v1beta2/{+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. Is empty if the policy or the resource does not exist.", | 413 "description": "Gets the access control policy for a
resource. Is empty if the policy or the resource does not exist.", |
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 policy is being requested. Resource is usually specified as a path, such as
, projects/{project}.", | 421 "description": "REQUIRED: The resource for w
hich policy is being requested. Resource is usually specified as a path, such 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": "v1beta2/{+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 policy detail is being requested. Resource is usually specified as a path,
such as, projects/{project}.", | 446 "description": "REQUIRED: The resource for w
hich policy detail is being requested. Resource is usually specified as a path,
such 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": "v1beta2/{+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 for a given subscriber. If the subscription already exists, returns ALREADY_
EXISTS. If the corresponding 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 s
ubscription on the same project as the topic.", | 466 "description": "Creates a subscription to a given to
pic for a given subscriber. If the subscription already exists, returns ALREADY_
EXISTS. If the corresponding 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 s
ubscription on the same project as the topic.", |
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}\" fo
r Google Cloud Pub/Sub API v1 and v1beta2. {subscription} must start with a lett
er, 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 in 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/[^
/]*$", |
477 "required": true, | 477 "required": true, |
478 "type": "string" | 478 "type": "string" |
479 } | 479 } |
480 }, | 480 }, |
481 "path": "v1beta2/{+name}", | 481 "path": "v1/{+name}", |
482 "request": { | 482 "request": { |
483 "$ref": "Subscription" | 483 "$ref": "Subscription" |
484 }, | 484 }, |
485 "response": { | 485 "response": { |
486 "$ref": "Subscription" | 486 "$ref": "Subscription" |
487 }, | 487 }, |
488 "scopes": [ | 488 "scopes": [ |
489 "https://www.googleapis.com/auth/cloud-platform"
, | 489 "https://www.googleapis.com/auth/cloud-platform"
, |
490 "https://www.googleapis.com/auth/pubsub" | 490 "https://www.googleapis.com/auth/pubsub" |
491 ] | 491 ] |
492 }, | 492 }, |
493 "get": { | 493 "get": { |
494 "description": "Gets the configuration details of a
subscription.", | 494 "description": "Gets the configuration details of a
subscription.", |
495 "httpMethod": "GET", | 495 "httpMethod": "GET", |
496 "id": "pubsub.projects.subscriptions.get", | 496 "id": "pubsub.projects.subscriptions.get", |
497 "parameterOrder": [ | 497 "parameterOrder": [ |
498 "subscription" | 498 "subscription" |
499 ], | 499 ], |
500 "parameters": { | 500 "parameters": { |
501 "subscription": { | 501 "subscription": { |
502 "description": "The name of the subscription
to get.", | 502 "description": "The name of the subscription
to get.", |
503 "location": "path", | 503 "location": "path", |
504 "pattern": "^projects/[^/]*/subscriptions/[^
/]*$", | 504 "pattern": "^projects/[^/]*/subscriptions/[^
/]*$", |
505 "required": true, | 505 "required": true, |
506 "type": "string" | 506 "type": "string" |
507 } | 507 } |
508 }, | 508 }, |
509 "path": "v1beta2/{+subscription}", | 509 "path": "v1/{+subscription}", |
510 "response": { | 510 "response": { |
511 "$ref": "Subscription" | 511 "$ref": "Subscription" |
512 }, | 512 }, |
513 "scopes": [ | 513 "scopes": [ |
514 "https://www.googleapis.com/auth/cloud-platform"
, | 514 "https://www.googleapis.com/auth/cloud-platform"
, |
515 "https://www.googleapis.com/auth/pubsub" | 515 "https://www.googleapis.com/auth/pubsub" |
516 ] | 516 ] |
517 }, | 517 }, |
518 "list": { | 518 "list": { |
519 "description": "Lists matching subscriptions.", | 519 "description": "Lists matching subscriptions.", |
(...skipping 15 matching lines...) Expand all Loading... |
535 "format": "int32", | 535 "format": "int32", |
536 "location": "query", | 536 "location": "query", |
537 "type": "integer" | 537 "type": "integer" |
538 }, | 538 }, |
539 "pageToken": { | 539 "pageToken": { |
540 "description": "The value returned by the la
st ListSubscriptionsResponse; indicates that this is a continuation of a prior L
istSubscriptions call, and that the system should return the next page of data."
, | 540 "description": "The value returned by the la
st ListSubscriptionsResponse; indicates that this is a continuation of a prior L
istSubscriptions call, and that the system should return the next page of data."
, |
541 "location": "query", | 541 "location": "query", |
542 "type": "string" | 542 "type": "string" |
543 } | 543 } |
544 }, | 544 }, |
545 "path": "v1beta2/{+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 af
ter deletion will return NOT_FOUND. After a subscription is deleted, a new one m
ay be created with the same name, but the new one has no association with the ol
d subscription, or its topic unless the same topic is specified.", | 555 "description": "Deletes an existing subscription. Al
l pending messages in the subscription are immediately dropped. Calls to Pull af
ter deletion will return NOT_FOUND. After a subscription is deleted, a new one m
ay be created with the same name, but the new one has no association with the ol
d 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": "v1beta2/{+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.", |
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/[^
/]*$", |
591 "required": true, | 591 "required": true, |
592 "type": "string" | 592 "type": "string" |
593 } | 593 } |
594 }, | 594 }, |
595 "path": "v1beta2/{+subscription}:modifyAckDeadline", | 595 "path": "v1/{+subscription}:modifyAckDeadline", |
596 "request": { | 596 "request": { |
597 "$ref": "ModifyAckDeadlineRequest" | 597 "$ref": "ModifyAckDeadlineRequest" |
598 }, | 598 }, |
599 "response": { | 599 "response": { |
600 "$ref": "Empty" | 600 "$ref": "Empty" |
601 }, | 601 }, |
602 "scopes": [ | 602 "scopes": [ |
603 "https://www.googleapis.com/auth/cloud-platform"
, | 603 "https://www.googleapis.com/auth/cloud-platform"
, |
604 "https://www.googleapis.com/auth/pubsub" | 604 "https://www.googleapis.com/auth/pubsub" |
605 ] | 605 ] |
606 }, | 606 }, |
607 "acknowledge": { | 607 "acknowledge": { |
608 "description": "Acknowledges the messages associated
with the ack tokens in the AcknowledgeRequest. The Pub/Sub system can remove th
e relevant messages from the subscription. Acknowledging a message whose ack dea
dline has expired may succeed, but such a message may be redelivered later. Ackn
owledging a message more than once will not result in an error.", | 608 "description": "Acknowledges the messages associated
with the ack tokens in the AcknowledgeRequest. The Pub/Sub system can remove th
e relevant messages from the subscription. Acknowledging a message whose ack dea
dline has expired may succeed, but such a message may be redelivered later. Ackn
owledging a message more than once will not result in an error.", |
609 "httpMethod": "POST", | 609 "httpMethod": "POST", |
610 "id": "pubsub.projects.subscriptions.acknowledge", | 610 "id": "pubsub.projects.subscriptions.acknowledge", |
611 "parameterOrder": [ | 611 "parameterOrder": [ |
612 "subscription" | 612 "subscription" |
613 ], | 613 ], |
614 "parameters": { | 614 "parameters": { |
615 "subscription": { | 615 "subscription": { |
616 "description": "The subscription whose messa
ge is being acknowledged.", | 616 "description": "The subscription whose messa
ge is being acknowledged.", |
617 "location": "path", | 617 "location": "path", |
618 "pattern": "^projects/[^/]*/subscriptions/[^
/]*$", | 618 "pattern": "^projects/[^/]*/subscriptions/[^
/]*$", |
619 "required": true, | 619 "required": true, |
620 "type": "string" | 620 "type": "string" |
621 } | 621 } |
622 }, | 622 }, |
623 "path": "v1beta2/{+subscription}:acknowledge", | 623 "path": "v1/{+subscription}:acknowledge", |
624 "request": { | 624 "request": { |
625 "$ref": "AcknowledgeRequest" | 625 "$ref": "AcknowledgeRequest" |
626 }, | 626 }, |
627 "response": { | 627 "response": { |
628 "$ref": "Empty" | 628 "$ref": "Empty" |
629 }, | 629 }, |
630 "scopes": [ | 630 "scopes": [ |
631 "https://www.googleapis.com/auth/cloud-platform"
, | 631 "https://www.googleapis.com/auth/cloud-platform"
, |
632 "https://www.googleapis.com/auth/pubsub" | 632 "https://www.googleapis.com/auth/pubsub" |
633 ] | 633 ] |
634 }, | 634 }, |
635 "pull": { | 635 "pull": { |
636 "description": "Pulls messages from the server. Retu
rns an empty list if there are no messages available in the backlog. The server
may return UNAVAILABLE if there are too many concurrent pull requests pending fo
r the given subscription.", | 636 "description": "Pulls messages from the server. Retu
rns an empty list if there are no messages available in the backlog. The server
may return UNAVAILABLE if there are too many concurrent pull requests pending fo
r the given subscription.", |
637 "httpMethod": "POST", | 637 "httpMethod": "POST", |
638 "id": "pubsub.projects.subscriptions.pull", | 638 "id": "pubsub.projects.subscriptions.pull", |
639 "parameterOrder": [ | 639 "parameterOrder": [ |
640 "subscription" | 640 "subscription" |
641 ], | 641 ], |
642 "parameters": { | 642 "parameters": { |
643 "subscription": { | 643 "subscription": { |
644 "description": "The subscription from which
messages should be pulled.", | 644 "description": "The subscription from which
messages should be pulled.", |
645 "location": "path", | 645 "location": "path", |
646 "pattern": "^projects/[^/]*/subscriptions/[^
/]*$", | 646 "pattern": "^projects/[^/]*/subscriptions/[^
/]*$", |
647 "required": true, | 647 "required": true, |
648 "type": "string" | 648 "type": "string" |
649 } | 649 } |
650 }, | 650 }, |
651 "path": "v1beta2/{+subscription}:pull", | 651 "path": "v1/{+subscription}:pull", |
652 "request": { | 652 "request": { |
653 "$ref": "PullRequest" | 653 "$ref": "PullRequest" |
654 }, | 654 }, |
655 "response": { | 655 "response": { |
656 "$ref": "PullResponse" | 656 "$ref": "PullResponse" |
657 }, | 657 }, |
658 "scopes": [ | 658 "scopes": [ |
659 "https://www.googleapis.com/auth/cloud-platform"
, | 659 "https://www.googleapis.com/auth/cloud-platform"
, |
660 "https://www.googleapis.com/auth/pubsub" | 660 "https://www.googleapis.com/auth/pubsub" |
661 ] | 661 ] |
662 }, | 662 }, |
663 "modifyPushConfig": { | 663 "modifyPushConfig": { |
664 "description": "Modifies the PushConfig for a specif
ied subscription. This may be used to change a push subscription to a pull one (
signified by an empty PushConfig) or vice versa, or change the endpoint URL and
other attributes of a push subscription. Messages will accumulate for delivery c
ontinuously through the call regardless of changes to the PushConfig.", | 664 "description": "Modifies the PushConfig for a specif
ied subscription. This may be used to change a push subscription to a pull one (
signified by an empty PushConfig) or vice versa, or change the endpoint URL and
other attributes of a push subscription. Messages will accumulate for delivery c
ontinuously through the call regardless of changes to the PushConfig.", |
665 "httpMethod": "POST", | 665 "httpMethod": "POST", |
666 "id": "pubsub.projects.subscriptions.modifyPushConfi
g", | 666 "id": "pubsub.projects.subscriptions.modifyPushConfi
g", |
667 "parameterOrder": [ | 667 "parameterOrder": [ |
668 "subscription" | 668 "subscription" |
669 ], | 669 ], |
670 "parameters": { | 670 "parameters": { |
671 "subscription": { | 671 "subscription": { |
672 "description": "The name of the subscription
.", | 672 "description": "The name of the subscription
.", |
673 "location": "path", | 673 "location": "path", |
674 "pattern": "^projects/[^/]*/subscriptions/[^
/]*$", | 674 "pattern": "^projects/[^/]*/subscriptions/[^
/]*$", |
675 "required": true, | 675 "required": true, |
676 "type": "string" | 676 "type": "string" |
677 } | 677 } |
678 }, | 678 }, |
679 "path": "v1beta2/{+subscription}:modifyPushConfig", | 679 "path": "v1/{+subscription}:modifyPushConfig", |
680 "request": { | 680 "request": { |
681 "$ref": "ModifyPushConfigRequest" | 681 "$ref": "ModifyPushConfigRequest" |
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 } | 692 } |
693 } | 693 } |
694 } | 694 } |
695 }, | 695 }, |
696 "revision": "20150604", | 696 "revision": "20150427", |
697 "rootUrl": "https://pubsub.googleapis.com/", | 697 "rootUrl": "https://pubsub.googleapis.com/", |
698 "schemas": { | 698 "schemas": { |
699 "SetIamPolicyRequest": { | 699 "SetIamPolicyRequest": { |
700 "description": "Request message for `SetIamPolicy` method.", | 700 "description": "Request message for `SetIamPolicy` method.", |
701 "id": "SetIamPolicyRequest", | 701 "id": "SetIamPolicyRequest", |
702 "properties": { | 702 "properties": { |
703 "policy": { | 703 "policy": { |
704 "$ref": "Policy", | 704 "$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 in general a valid policy but certain services (like Projects) might
reject them." | 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 in general a valid policy but certain services (like Projects) might
reject them." |
706 } | 706 } |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
937 "type": "array" | 937 "type": "array" |
938 } | 938 } |
939 }, | 939 }, |
940 "type": "object" | 940 "type": "object" |
941 }, | 941 }, |
942 "Topic": { | 942 "Topic": { |
943 "description": "A topic resource.", | 943 "description": "A topic resource.", |
944 "id": "Topic", | 944 "id": "Topic", |
945 "properties": { | 945 "properties": { |
946 "name": { | 946 "name": { |
947 "description": "The name of the topic. It must have the form
at \"projects/{project}/topics/{topic}\" for Google Cloud Pub/Sub API v1 and v1b
eta2. {topic} must start with a letter, and contain only letters ([A-Za-z]), num
bers ([0-9], dashes (-), underscores (_), periods (.), tildes (~), plus (+) or p
ercent signs (%). It must be between 3 and 255 characters in length, and it must
not start with \"goog\".", | 947 "description": "The name of the topic. It must have the form
at `\"projects/{project}/topics/{topic}\"`. `{topic}` must start with a letter,
and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), undersco
res (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It mu
st be between 3 and 255 characters in length, and it must not start with `\"goog
\"`.", |
948 "type": "string" | 948 "type": "string" |
949 } | 949 } |
950 }, | 950 }, |
951 "type": "object" | 951 "type": "object" |
952 }, | 952 }, |
953 "PublishRequest": { | 953 "PublishRequest": { |
954 "description": "Request for the Publish method.", | 954 "description": "Request for the Publish method.", |
955 "id": "PublishRequest", | 955 "id": "PublishRequest", |
956 "properties": { | 956 "properties": { |
957 "messages": { | 957 "messages": { |
958 "description": "The messages to publish.", | 958 "description": "The messages to publish.", |
959 "items": { | 959 "items": { |
960 "$ref": "PubsubMessage" | 960 "$ref": "PubsubMessage" |
961 }, | 961 }, |
962 "type": "array" | 962 "type": "array" |
963 } | 963 } |
964 }, | 964 }, |
965 "type": "object" | 965 "type": "object" |
966 }, | 966 }, |
967 "PubsubMessage": { | 967 "PubsubMessage": { |
968 "description": "A message data and its attributes.", | 968 "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.", |
969 "id": "PubsubMessage", | 969 "id": "PubsubMessage", |
970 "properties": { | 970 "properties": { |
971 "data": { | 971 "data": { |
972 "description": "The message payload. For JSON requests, the
value of this field must be base64-encoded.", | 972 "description": "The message payload. For JSON requests, the
value of this field must be base64-encoded.", |
973 "format": "byte", | 973 "format": "byte", |
974 "type": "string" | 974 "type": "string" |
975 }, | 975 }, |
976 "attributes": { | 976 "attributes": { |
977 "additionalProperties": { | 977 "additionalProperties": { |
978 "type": "string" | 978 "type": "string" |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1040 "Empty": { | 1040 "Empty": { |
1041 "description": "A generic empty message that you can re-use to avoid
defining duplicated empty messages in your APIs. A typical example is to use it
as the request or the response type of an API method. For instance: service Foo
{ rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON re
presentation for `Empty` is empty JSON object `{}`.", | 1041 "description": "A generic empty message that you can re-use to avoid
defining duplicated empty messages in your APIs. A typical example is to use it
as the request or the response type of an API method. For instance: service Foo
{ rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON re
presentation for `Empty` is empty JSON object `{}`.", |
1042 "id": "Empty", | 1042 "id": "Empty", |
1043 "type": "object" | 1043 "type": "object" |
1044 }, | 1044 }, |
1045 "Subscription": { | 1045 "Subscription": { |
1046 "description": "A subscription resource.", | 1046 "description": "A subscription resource.", |
1047 "id": "Subscription", | 1047 "id": "Subscription", |
1048 "properties": { | 1048 "properties": { |
1049 "name": { | 1049 "name": { |
1050 "description": "The name of the subscription. It must have t
he format \"projects/{project}/subscriptions/{subscription}\" for Google Cloud P
ub/Sub API v1 and v1beta2. {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 chara
cters in length, and it must not start with \"goog\".", | 1050 "description": "The name of the subscription. It must have t
he 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 (`+`) o
r percent signs (`%`). It must be between 3 and 255 characters in length, and it
must not start with `\"goog\"`.", |
1051 "type": "string" | 1051 "type": "string" |
1052 }, | 1052 }, |
1053 "topic": { | 1053 "topic": { |
1054 "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.", | 1054 "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.", |
1055 "type": "string" | 1055 "type": "string" |
1056 }, | 1056 }, |
1057 "pushConfig": { | 1057 "pushConfig": { |
1058 "$ref": "PushConfig", | 1058 "$ref": "PushConfig", |
1059 "description": "If push delivery is used with this subscript
ion, this field is used to configure it. An empty pushConfig signifies that the
subscriber will pull and ack messages using API methods." | 1059 "description": "If push delivery is used with this subscript
ion, this field is used to configure it. An empty pushConfig signifies that the
subscriber will pull and ack messages using API methods." |
1060 }, | 1060 }, |
1061 "ackDeadlineSeconds": { | 1061 "ackDeadlineSeconds": { |
1062 "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 delivery this value is used a
s the initial value for the ack deadline. It may be overridden for each message
using its corresponding ack_id by calling ModifyAckDeadline. For push delivery,
this value is also used to set the request timeout for the call to the push endp
oint. If the subscriber never acknowledges the message, the Pub/Sub system will
eventually redeliver the message. If this parameter is not set, the default valu
e of 60 seconds is used.", | 1062 "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 delivery this value is used a
s the initial value for the ack deadline. To override this value for a given mes
sage, call ModifyAckDeadline with the corresponding ack_id. For push delivery, t
his value is also used to set the request timeout for the call to the push endpo
int. If the subscriber never acknowledges the message, the Pub/Sub system will e
ventually redeliver the message. If this parameter is not set, the default value
of 10 seconds is used.", |
1063 "format": "int32", | 1063 "format": "int32", |
1064 "type": "integer" | 1064 "type": "integer" |
1065 } | 1065 } |
1066 }, | 1066 }, |
1067 "type": "object" | 1067 "type": "object" |
1068 }, | 1068 }, |
1069 "PushConfig": { | 1069 "PushConfig": { |
1070 "description": "Configuration for a push delivery endpoint.", | 1070 "description": "Configuration for a push delivery endpoint.", |
1071 "id": "PushConfig", | 1071 "id": "PushConfig", |
1072 "properties": { | 1072 "properties": { |
(...skipping 26 matching lines...) Expand all Loading... |
1099 "description": "If not empty, indicates that there may be mo
re subscriptions that match the request; this value should be passed in a new Li
stSubscriptionsRequest to get more subscriptions.", | 1099 "description": "If not empty, indicates that there may be mo
re subscriptions that match the request; this value should be passed in a new Li
stSubscriptionsRequest to get more subscriptions.", |
1100 "type": "string" | 1100 "type": "string" |
1101 } | 1101 } |
1102 }, | 1102 }, |
1103 "type": "object" | 1103 "type": "object" |
1104 }, | 1104 }, |
1105 "ModifyAckDeadlineRequest": { | 1105 "ModifyAckDeadlineRequest": { |
1106 "description": "Request for the ModifyAckDeadline method.", | 1106 "description": "Request for the ModifyAckDeadline method.", |
1107 "id": "ModifyAckDeadlineRequest", | 1107 "id": "ModifyAckDeadlineRequest", |
1108 "properties": { | 1108 "properties": { |
1109 "ackId": { | |
1110 "description": "The acknowledgment ID. Either this or ack_id
s must be populated, but not both.", | |
1111 "type": "string" | |
1112 }, | |
1113 "ackIds": { | 1109 "ackIds": { |
1114 "description": "List of acknowledgment IDs.", | 1110 "description": "List of acknowledgment IDs.", |
1115 "items": { | 1111 "items": { |
1116 "type": "string" | 1112 "type": "string" |
1117 }, | 1113 }, |
1118 "type": "array" | 1114 "type": "array" |
1119 }, | 1115 }, |
1120 "ackDeadlineSeconds": { | 1116 "ackDeadlineSeconds": { |
1121 "description": "The new ack deadline with respect to the tim
e this request was sent to the Pub/Sub system. Must be >= 0. For example, if the
value is 10, the new ack deadline will expire 10 seconds after the ModifyAckDea
dline call was made. Specifying zero may immediately make the message available
for another pull request.", | 1117 "description": "The new ack deadline with respect to the tim
e this request was sent to the Pub/Sub system. Must be >= 0. For example, if the
value is 10, the new ack deadline will expire 10 seconds after the ModifyAckDea
dline call was made. Specifying zero may immediately make the message available
for another pull request.", |
1122 "format": "int32", | 1118 "format": "int32", |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1191 "pushConfig": { | 1187 "pushConfig": { |
1192 "$ref": "PushConfig", | 1188 "$ref": "PushConfig", |
1193 "description": "The push configuration for future deliveries
. An empty pushConfig indicates that the Pub/Sub system should stop pushing mess
ages from the given subscription and allow messages to be pulled and acknowledge
d - effectively pausing the subscription if Pull is not called." | 1189 "description": "The push configuration for future deliveries
. An empty pushConfig indicates that the Pub/Sub system should stop pushing mess
ages from the given subscription and allow messages to be pulled and acknowledge
d - effectively pausing the subscription if Pull is not called." |
1194 } | 1190 } |
1195 }, | 1191 }, |
1196 "type": "object" | 1192 "type": "object" |
1197 } | 1193 } |
1198 }, | 1194 }, |
1199 "servicePath": "", | 1195 "servicePath": "", |
1200 "title": "Google Cloud Pub/Sub API", | 1196 "title": "Google Cloud Pub/Sub API", |
1201 "version": "v1beta2" | 1197 "version": "v1" |
1202 } | 1198 } |
OLD | NEW |