15#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_PUBSUB_OPTIONS_H
16#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_PUBSUB_OPTIONS_H
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
41#include "google/cloud/pubsub/backoff_policy.h"
42#include "google/cloud/pubsub/retry_policy.h"
43#include "google/cloud/pubsub/subscription.h"
44#include "google/cloud/pubsub/version.h"
45#include "google/cloud/options.h"
51GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
54
55
56
57
59 using Type = std::shared_ptr<
pubsub::RetryPolicy>;
63
64
65
66
68 using Type = std::shared_ptr<
pubsub::BackoffPolicy>;
75
76
77
78
79
80
81
82
83
84
85
86
87
88
90 using Type = std::chrono::microseconds;
94
95
96
97
98
99
100
101
102
103
104
106 using Type = std::size_t;
110
111
112
113
114
115
116
117
118
119
120
122 using Type = std::size_t;
126
127
128
129
130
131
132
133
134
135
136
137
139 using Type = std::size_t;
143
144
145
146
147
148
149
150
151
152
153
154
156 using Type = std::size_t;
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
189
190
191
192
198
199
200
201
202
203
204
206 using Type = std::size_t;
210
211
212
213
214
215
216
217
218
224using PublisherOptionList =
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
248 using Type = std::chrono::seconds;
252
253
254
255
256
257
258
259
260
261
262
263
264
265
267 using Type = std::chrono::seconds;
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
288 using Type = std::chrono::seconds;
292
293
294
295
296
297
298
299
300
301
302
303
304
305
307 using Type = std::int64_t;
311
312
313
314
315
316
317
318
319
320
321
322
323
325 using Type = std::int64_t;
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
350 using Type = std::size_t;
354
355
356
357
358
359
360
361
362
363
365 using Type = std::chrono::milliseconds;
369
370
371
372
373
374
375
376
383using SubscriberOptionList =
390
391
392
393
394
395
396
397
398
399
400
401
402
405GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
Objects of this class identify a Cloud Pub/Sub subscription.
Definition: subscription.h:37
Options IAMPolicyOptions(Options opts={})
Convenience function to initialize a google::cloud::iam::IAMPolicyConnection.
Contains all the Cloud Pub/Sub C++ client types and functions.
Definition: ack_handler.h:25
FullPublisherAction
Actions taken by a full publisher.
Definition: options.h:180
@ kRejects
Configure the publisher to reject new messages when full.
@ kIgnored
Ignore full publishers, continue as usual.
@ kBlocks
Configure the publisher to block the caller when full.
The namespace Google Cloud Platform C++ client libraries.
The backoff policy.
Definition: options.h:67
Compression algorithm.
Definition: options.h:219
Compression threshold.
Definition: options.h:205
The action taken by a full publisher.
Definition: options.h:193
The maximum size for the messages in a batch.
Definition: options.h:121
The maximum number of messages in a batch.
Definition: options.h:105
The maximum callback concurrency.
Definition: options.h:349
The maximum time by which the deadline for each incoming message is extended.
Definition: options.h:266
The maximum deadline for each incoming message.
Definition: options.h:247
The maximum hold time for the messages.
Definition: options.h:89
The maximum number of outstanding bytes per streaming pull.
Definition: options.h:324
The maximum number of outstanding messages per streaming pull.
Definition: options.h:306
The maximum size for pending messages.
Definition: options.h:155
The maximum number of pending messages.
Definition: options.h:138
Publisher message ordering.
Definition: options.h:175
The minimum time by which the deadline for each incoming message is extended.
Definition: options.h:287
The retry policy.
Definition: options.h:58
How often the session polls for automatic shutdowns.
Definition: options.h:364
Override the default subscription for a request.
Definition: options.h:377