15#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_STORAGE_OPTIONS_H
16#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_STORAGE_OPTIONS_H
18#include "google/cloud/storage/idempotency_policy.h"
19#include "google/cloud/storage/oauth2/credentials.h"
20#include "google/cloud/storage/retry_policy.h"
21#include "google/cloud/storage/version.h"
22#include "google/cloud/backoff_policy.h"
23#include "google/cloud/credentials.h"
24#include "google/cloud/options.h"
33GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
52 using Type = std::string;
55GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
59GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
63struct TargetApiVersionOption {
64 using Type = std::string;
69 using Type = std::string;
73struct UseRestClientOption {
80
81
82
83
85 using Type = std::string;
89
90
91
92
94 using Type = std::string;
98
99
100
101
102
103
104
110
111
112
113
115 using Type = std::string;
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
145 using Type = std::size_t;
149
150
151
152
153
154
155
156
157
158
159
160
162 using Type = std::size_t;
166
167
168
169
170
171
172
173
174
175
176
177
178
180 using Type = std::size_t;
184
185
186
187
188
189
190
191
192
193
195 using Type = std::size_t;
199
200
201
202
203
204
205
206
207
208
209
215
216
217
218
219
220
226
227
228
229
230
231
233 using Type = std::size_t;
237
238
239
240
241
243 using Type = std::size_t;
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
264 using Type = std::chrono::seconds;
268
269
270
271
272
273
274
276 using Type = std::int32_t;
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
296 using Type = std::chrono::seconds;
300
301
302
303
304
305
306
308 using Type = std::int32_t;
312
313
314
315
317 using Type = std::shared_ptr<RetryPolicy>;
321
322
323
324
326 using Type = std::shared_ptr<BackoffPolicy>;
330
331
332
333
339using ClientOptionList = ::
google::
cloud::OptionList<
349GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
Define the interface for the idempotency policy.
Definition: idempotency_policy.h:58
Interface for OAuth 2.0 credentials used to access Google Cloud services.
Definition: credentials.h:47
Authentication components for Google Cloud Storage.
Definition: anonymous_credentials.h:26
Contains experimental features for the GCS C++ Client Library.
Definition: async_client.h:27
Contains all the Google Cloud Storage C++ client APIs.
Definition: auto_finalize.h:24
Set the backoff policy for a GCS client.
Definition: options.h:325
Set the maximum connection pool size.
Definition: options.h:144
Control the formatted I/O download buffer.
Definition: options.h:161
The minimum accepted bytes/second download rate.
Definition: options.h:307
Sets the download stall timeout.
Definition: options.h:295
Disables automatic OpenSSL sigpipe handler.
Definition: options.h:221
Disables automatic OpenSSL locking.
Definition: options.h:210
Configure the IAM endpoint for the GCS client library.
Definition: options.h:93
Set the idempotency policy for a GCS client.
Definition: options.h:334
Control the maximum socket receive buffer.
Definition: options.h:232
Control the maximum socket send buffer.
Definition: options.h:242
Defines the threshold to switch from simple to resumable uploads for files.
Definition: options.h:194
Configure oauth2::Credentials for the GCS client library.
Definition: options.h:105
Set the Google Cloud Platform project id.
Definition: options.h:114
Configure the REST endpoint for the GCS client library.
Definition: options.h:84
Set the retry policy for a GCS client.
Definition: options.h:316
The minimum accepted bytes/second transfer rate.
Definition: options.h:275
Sets the transfer stall timeout.
Definition: options.h:263
Control the formatted I/O upload buffer.
Definition: options.h:179
Set the HTTP version used by the client.
Definition: options.h:51