Google Cloud Storage C++ Client  1.25.0
A C++ Client Library for Google Cloud Storage
well_known_parameters.h
Go to the documentation of this file.
1 // Copyright 2018 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 
15 #ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_STORAGE_WELL_KNOWN_PARAMETERS_H
16 #define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_STORAGE_WELL_KNOWN_PARAMETERS_H
17 
19 #include "google/cloud/internal/ios_flags_saver.h"
20 #include "google/cloud/optional.h"
21 #include "absl/types/optional.h"
22 #include <cstdint>
23 #include <iomanip>
24 #include <string>
25 
26 namespace google {
27 namespace cloud {
28 namespace storage {
29 inline namespace STORAGE_CLIENT_NS {
30 namespace internal {
37 template <typename P, typename T>
38 class WellKnownParameter {
39  public:
40  WellKnownParameter() = default;
41  explicit WellKnownParameter(T&& value) : value_(std::forward<T>(value)) {}
42  explicit WellKnownParameter(T const& value) : value_(value) {}
43 
44  char const* parameter_name() const { return P::well_known_parameter_name(); }
45  bool has_value() const { return value_.has_value(); }
46  T const& value() const { return value_.value(); }
47  template <typename U>
48  T value_or(U&& default_val) {
49  return value_.value_or(std::forward<U>(default_val));
50  }
51 
52  private:
53  absl::optional<T> value_;
54 };
55 
56 template <typename P, typename T>
57 std::ostream& operator<<(std::ostream& os,
58  WellKnownParameter<P, T> const& rhs) {
59  if (rhs.has_value()) {
60  return os << rhs.parameter_name() << "=" << rhs.value();
61  }
62  return os << rhs.parameter_name() << "=<not set>";
63 }
64 
65 template <typename P>
66 std::ostream& operator<<(std::ostream& os,
67  WellKnownParameter<P, bool> const& rhs) {
68  if (rhs.has_value()) {
69  google::cloud::internal::IosFlagsSaver saver(os);
70  return os << rhs.parameter_name() << "=" << std::boolalpha << rhs.value();
71  }
72  return os << rhs.parameter_name() << "=<not set>";
73 }
74 } // namespace internal
75 
83  : public internal::WellKnownParameter<ContentEncoding, std::string> {
84  using WellKnownParameter<ContentEncoding, std::string>::WellKnownParameter;
85  static char const* well_known_parameter_name() { return "contentEncoding"; }
86 };
87 
91 struct Deleted : public internal::WellKnownParameter<Deleted, bool> {
92  using WellKnownParameter<Deleted, bool>::WellKnownParameter;
93  static char const* well_known_parameter_name() { return "deleted"; }
94 };
95 
110  : public internal::WellKnownParameter<DestinationKmsKeyName, std::string> {
111  using WellKnownParameter<DestinationKmsKeyName,
112  std::string>::WellKnownParameter;
113  static char const* well_known_parameter_name() {
114  return "destinationKmsKeyName";
115  }
116 };
117 
129 struct Fields : public internal::WellKnownParameter<Fields, std::string> {
130  using WellKnownParameter<Fields, std::string>::WellKnownParameter;
131  static char const* well_known_parameter_name() { return "fields"; }
132 };
133 
145  : public internal::WellKnownParameter<Generation, std::int64_t> {
146  using WellKnownParameter<Generation, std::int64_t>::WellKnownParameter;
147  static char const* well_known_parameter_name() { return "generation"; }
148 };
149 
157  : public internal::WellKnownParameter<IfGenerationMatch, std::int64_t> {
158  using WellKnownParameter<IfGenerationMatch, std::int64_t>::WellKnownParameter;
159  static char const* well_known_parameter_name() { return "ifGenerationMatch"; }
160 };
161 
169  : public internal::WellKnownParameter<IfGenerationNotMatch, std::int64_t> {
170  using WellKnownParameter<IfGenerationNotMatch,
171  std::int64_t>::WellKnownParameter;
172  static char const* well_known_parameter_name() {
173  return "ifGenerationNotMatch";
174  }
175 };
176 
181  : public internal::WellKnownParameter<IfMetagenerationMatch, std::int64_t> {
182  using WellKnownParameter<IfMetagenerationMatch,
183  std::int64_t>::WellKnownParameter;
184  static char const* well_known_parameter_name() {
185  return "ifMetagenerationMatch";
186  }
187 };
188 
193  : public internal::WellKnownParameter<IfMetagenerationNotMatch,
194  std::int64_t> {
195  using WellKnownParameter<IfMetagenerationNotMatch,
196  std::int64_t>::WellKnownParameter;
197  static char const* well_known_parameter_name() {
198  return "ifMetagenerationNotMatch";
199  }
200 };
201 
209  : public internal::WellKnownParameter<IfSourceGenerationMatch,
210  std::int64_t> {
211  using WellKnownParameter<IfSourceGenerationMatch,
212  std::int64_t>::WellKnownParameter;
213  static char const* well_known_parameter_name() {
214  return "ifSourceGenerationMatch";
215  }
216 };
217 
223  : public internal::WellKnownParameter<IfSourceGenerationNotMatch,
224  std::int64_t> {
225  using WellKnownParameter<IfSourceGenerationNotMatch,
226  std::int64_t>::WellKnownParameter;
227  static char const* well_known_parameter_name() {
228  return "ifSourceGenerationNotMatch";
229  }
230 };
231 
237  : public internal::WellKnownParameter<IfSourceMetagenerationMatch,
238  std::int64_t> {
239  using WellKnownParameter<IfSourceMetagenerationMatch,
240  std::int64_t>::WellKnownParameter;
241  static char const* well_known_parameter_name() {
242  return "ifSourceMetagenerationMatch";
243  }
244 };
245 
251  : public internal::WellKnownParameter<IfSourceMetagenerationNotMatch,
252  std::int64_t> {
253  using WellKnownParameter<IfSourceMetagenerationNotMatch,
254  std::int64_t>::WellKnownParameter;
255  static char const* well_known_parameter_name() {
256  return "ifSourceMetagenerationNotMatch";
257  }
258 };
259 
274  : public internal::WellKnownParameter<KmsKeyName, std::string> {
275  using WellKnownParameter<KmsKeyName, std::string>::WellKnownParameter;
276  static char const* well_known_parameter_name() { return "kmsKeyName"; }
277 };
278 
287  : public internal::WellKnownParameter<MaxResults, std::int64_t> {
288  using WellKnownParameter<MaxResults, std::int64_t>::WellKnownParameter;
289  static char const* well_known_parameter_name() { return "maxResults"; }
290 };
291 
300  : public internal::WellKnownParameter<MaxBytesRewrittenPerCall,
301  std::int64_t> {
302  using WellKnownParameter<MaxBytesRewrittenPerCall,
303  std::int64_t>::WellKnownParameter;
304  static char const* well_known_parameter_name() {
305  return "maxBytesRewrittenPerCall";
306  }
307 };
308 
320  : public internal::WellKnownParameter<PredefinedAcl, std::string> {
321  using WellKnownParameter<PredefinedAcl, std::string>::WellKnownParameter;
322  static char const* well_known_parameter_name() { return "predefinedAcl"; }
323 
325  return PredefinedAcl("authenticatedRead");
326  }
328  return PredefinedAcl("bucketOwnerFullControl");
329  }
331  return PredefinedAcl("bucketOwnerRead");
332  }
333  static PredefinedAcl Private() { return PredefinedAcl("private"); }
335  return PredefinedAcl("projectPrivate");
336  }
337  static PredefinedAcl PublicRead() { return PredefinedAcl("publicRead"); }
339  return PredefinedAcl("publicReadWrite");
340  }
341 
342  std::string HeaderName() const;
343 };
344 
356  : public internal::WellKnownParameter<DestinationPredefinedAcl,
357  std::string> {
358  using WellKnownParameter<DestinationPredefinedAcl,
359  std::string>::WellKnownParameter;
360  static char const* well_known_parameter_name() {
361  return "destinationPredefinedAcl";
362  }
363 
365  return DestinationPredefinedAcl("authenticatedRead");
366  }
368  return DestinationPredefinedAcl("bucketOwnerFullControl");
369  }
371  return DestinationPredefinedAcl("bucketOwnerRead");
372  }
374  return DestinationPredefinedAcl("private");
375  }
377  return DestinationPredefinedAcl("projectPrivate");
378  }
380  return DestinationPredefinedAcl("publicRead");
381  }
382 };
383 
401  : public internal::WellKnownParameter<PredefinedDefaultObjectAcl,
402  std::string> {
403  using WellKnownParameter<PredefinedDefaultObjectAcl,
404  std::string>::WellKnownParameter;
405  static char const* well_known_parameter_name() {
406  return "predefinedDefaultObjectAcl";
407  }
408 
410  return PredefinedDefaultObjectAcl("authenticatedRead");
411  }
413  return PredefinedDefaultObjectAcl("bucketOwnerFullControl");
414  }
416  return PredefinedDefaultObjectAcl("bucketOwnerRead");
417  }
419  return PredefinedDefaultObjectAcl("private");
420  }
422  return PredefinedDefaultObjectAcl("projectPrivate");
423  }
425  return PredefinedDefaultObjectAcl("publicRead");
426  }
427 };
428 
436 struct Prefix : public internal::WellKnownParameter<Prefix, std::string> {
437  using WellKnownParameter<Prefix, std::string>::WellKnownParameter;
438  static char const* well_known_parameter_name() { return "prefix"; }
439 };
440 
451 struct Delimiter : public internal::WellKnownParameter<Delimiter, std::string> {
452  using WellKnownParameter<Delimiter, std::string>::WellKnownParameter;
453  static char const* well_known_parameter_name() { return "delimiter"; }
454 };
455 
465  : public internal::WellKnownParameter<IncludeTrailingDelimiter, bool> {
466  using WellKnownParameter<IncludeTrailingDelimiter, bool>::WellKnownParameter;
467  static char const* well_known_parameter_name() {
468  return "includeTrailingDelimiter";
469  }
470 };
471 
480  : public internal::WellKnownParameter<StartOffset, std::string> {
481  using WellKnownParameter<StartOffset, std::string>::WellKnownParameter;
482  static char const* well_known_parameter_name() { return "startOffset"; }
483 };
484 
491 struct EndOffset : public internal::WellKnownParameter<EndOffset, std::string> {
492  using WellKnownParameter<EndOffset, std::string>::WellKnownParameter;
493  static char const* well_known_parameter_name() { return "endOffset"; }
494 };
495 
507  : public internal::WellKnownParameter<Projection, std::string> {
508  using WellKnownParameter<Projection, std::string>::WellKnownParameter;
509  static char const* well_known_parameter_name() { return "projection"; }
510 
511  static Projection NoAcl() { return Projection("noAcl"); }
512  static Projection Full() { return Projection("full"); }
513 };
514 
524 struct QuotaUser : public internal::WellKnownParameter<QuotaUser, std::string> {
525  using WellKnownParameter<QuotaUser, std::string>::WellKnownParameter;
526  static char const* well_known_parameter_name() { return "quotaUser"; }
527 };
528 
533  : public internal::WellKnownParameter<ServiceAccountFilter, std::string> {
534  using WellKnownParameter<ServiceAccountFilter,
535  std::string>::WellKnownParameter;
536  static char const* well_known_parameter_name() {
537  return "serviceAccountEmail";
538  }
539 };
540 
553  : public internal::WellKnownParameter<SourceGeneration, std::int64_t> {
554  using WellKnownParameter<SourceGeneration, std::int64_t>::WellKnownParameter;
555  static char const* well_known_parameter_name() { return "sourceGeneration"; }
556 };
557 
573  : public internal::WellKnownParameter<UserProject, std::string> {
574  using WellKnownParameter<UserProject, std::string>::WellKnownParameter;
575  static char const* well_known_parameter_name() { return "userProject"; }
576 };
577 
587 struct Versions : public internal::WellKnownParameter<Versions, bool> {
588  using WellKnownParameter<Versions, bool>::WellKnownParameter;
589  static char const* well_known_parameter_name() { return "versions"; }
590 };
591 
602  : public internal::WellKnownParameter<RequestedPolicyVersion,
603  std::int64_t> {
604  using WellKnownParameter<RequestedPolicyVersion,
605  std::int64_t>::WellKnownParameter;
606  static char const* well_known_parameter_name() {
607  return "optionsRequestedPolicyVersion";
608  }
609 };
610 
611 } // namespace STORAGE_CLIENT_NS
612 } // namespace storage
613 } // namespace cloud
614 } // namespace google
615 
616 #endif // GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_STORAGE_WELL_KNOWN_PARAMETERS_H
google::cloud::storage::v1::KmsKeyName::well_known_parameter_name
static char const * well_known_parameter_name()
Definition: well_known_parameters.h:276
google::cloud::storage::v1::IfGenerationMatch
A pre-condition: the request succeeds only if the object generation matches.
Definition: well_known_parameters.h:157
google::cloud::storage::v1::PredefinedAcl::PublicReadWrite
static PredefinedAcl PublicReadWrite()
Definition: well_known_parameters.h:338
google::cloud::storage::v1::MaxResults
Limit the number of results per page when listing Buckets and Objects.
Definition: well_known_parameters.h:287
google::cloud::storage::v1::UserProject
Set the project used for billing in "requester pays" Buckets.
Definition: well_known_parameters.h:573
google::cloud::storage::v1::RequestedPolicyVersion::well_known_parameter_name
static char const * well_known_parameter_name()
Definition: well_known_parameters.h:606
google::cloud::storage::v1::PredefinedDefaultObjectAcl::well_known_parameter_name
static char const * well_known_parameter_name()
Definition: well_known_parameters.h:405
google::cloud::storage::v1::IfMetagenerationNotMatch::well_known_parameter_name
static char const * well_known_parameter_name()
Definition: well_known_parameters.h:197
google::cloud::storage::v1::IfSourceGenerationMatch
A pre-condition: the request succeeds if the source object generation matches.
Definition: well_known_parameters.h:210
google::cloud::storage::v1::IfSourceMetagenerationMatch::well_known_parameter_name
static char const * well_known_parameter_name()
Definition: well_known_parameters.h:241
google::cloud::storage::v1::IncludeTrailingDelimiter::well_known_parameter_name
static char const * well_known_parameter_name()
Definition: well_known_parameters.h:467
google::cloud::storage::v1::IfMetagenerationMatch::well_known_parameter_name
static char const * well_known_parameter_name()
Definition: well_known_parameters.h:184
google::cloud::storage::v1::operator<<
std::ostream & operator<<(std::ostream &os, BucketAccessControl const &rhs)
Definition: bucket_access_control.cc:27
optional.h
google::cloud::storage::v1::ContentEncoding::well_known_parameter_name
static char const * well_known_parameter_name()
Definition: well_known_parameters.h:85
google::cloud::storage::v1::StartOffset
Filter results to objects whose names are lexicographically equal to or after StartOffset.
Definition: well_known_parameters.h:480
google::cloud::storage::v1::PredefinedDefaultObjectAcl
Set the default object ACL to a predefined value in a Bucket.
Definition: well_known_parameters.h:402
google::cloud::storage::v1::Fields::well_known_parameter_name
static char const * well_known_parameter_name()
Definition: well_known_parameters.h:131
google::cloud::storage::v1::Projection::Full
static Projection Full()
Definition: well_known_parameters.h:512
google::cloud::storage::v1::StartOffset::well_known_parameter_name
static char const * well_known_parameter_name()
Definition: well_known_parameters.h:482
google::cloud::storage::v1::PredefinedDefaultObjectAcl::PublicRead
static PredefinedDefaultObjectAcl PublicRead()
Definition: well_known_parameters.h:424
google::cloud::storage::v1::DestinationPredefinedAcl::well_known_parameter_name
static char const * well_known_parameter_name()
Definition: well_known_parameters.h:360
version.h
google::cloud::storage::v1::Projection
Controls what metadata fields are included in the response.
Definition: well_known_parameters.h:507
google::cloud::storage::v1::IfSourceMetagenerationNotMatch::well_known_parameter_name
static char const * well_known_parameter_name()
Definition: well_known_parameters.h:255
google::cloud::storage::v1::SourceGeneration
Set the generation for the source object in copy operations.
Definition: well_known_parameters.h:553
google::cloud::storage::v1::Projection::well_known_parameter_name
static char const * well_known_parameter_name()
Definition: well_known_parameters.h:509
google::cloud::storage::v1::DestinationKmsKeyName::well_known_parameter_name
static char const * well_known_parameter_name()
Definition: well_known_parameters.h:113
google::cloud::storage::v1::QuotaUser::well_known_parameter_name
static char const * well_known_parameter_name()
Definition: well_known_parameters.h:526
google::cloud::storage::v1::IncludeTrailingDelimiter
If true, objects that end in exactly one instance of delimiter have their metadata included in items[...
Definition: well_known_parameters.h:465
google::cloud::storage::v1::PredefinedAcl::BucketOwnerRead
static PredefinedAcl BucketOwnerRead()
Definition: well_known_parameters.h:330
google::cloud::storage::v1::IfSourceMetagenerationNotMatch
A pre-condition: the request succeeds unless the source object metadata generation matches.
Definition: well_known_parameters.h:252
google::cloud::storage::v1::DestinationPredefinedAcl::Private
static DestinationPredefinedAcl Private()
Definition: well_known_parameters.h:373
google::cloud::storage::v1::PredefinedDefaultObjectAcl::ProjectPrivate
static PredefinedDefaultObjectAcl ProjectPrivate()
Definition: well_known_parameters.h:421
google::cloud::storage::v1::IfSourceMetagenerationMatch
A pre-condition: the request succeeds if the source object metadata generation matches.
Definition: well_known_parameters.h:238
google::cloud::storage::v1::Prefix::well_known_parameter_name
static char const * well_known_parameter_name()
Definition: well_known_parameters.h:438
google::cloud::storage::v1::DestinationPredefinedAcl
Set the ACL to a predefined value when copying Objects.
Definition: well_known_parameters.h:357
google::cloud::storage::v1::ServiceAccountFilter
Only list HMAC keys belonging to a specific Service Account.
Definition: well_known_parameters.h:533
google::cloud::storage::v1::Prefix
Restrict list operations to entries starting with this value.
Definition: well_known_parameters.h:436
google::cloud::storage::v1::Deleted::well_known_parameter_name
static char const * well_known_parameter_name()
Definition: well_known_parameters.h:93
google::cloud::storage::v1::PredefinedAcl::PublicRead
static PredefinedAcl PublicRead()
Definition: well_known_parameters.h:337
google::cloud::storage::v1::MaxResults::well_known_parameter_name
static char const * well_known_parameter_name()
Definition: well_known_parameters.h:289
google::cloud::storage::v1::IfGenerationNotMatch::well_known_parameter_name
static char const * well_known_parameter_name()
Definition: well_known_parameters.h:172
google::cloud::storage::v1::Generation::well_known_parameter_name
static char const * well_known_parameter_name()
Definition: well_known_parameters.h:147
google::cloud::storage::v1::PredefinedAcl::AuthenticatedRead
static PredefinedAcl AuthenticatedRead()
Definition: well_known_parameters.h:324
google::cloud::storage::v1::EndOffset::well_known_parameter_name
static char const * well_known_parameter_name()
Definition: well_known_parameters.h:493
google::cloud::storage::v1::PredefinedDefaultObjectAcl::BucketOwnerFullControl
static PredefinedDefaultObjectAcl BucketOwnerFullControl()
Definition: well_known_parameters.h:412
google::cloud::storage::v1::IfSourceGenerationNotMatch
A pre-condition: the request succeeds unless the source object generation matches.
Definition: well_known_parameters.h:224
google::cloud::storage::v1::Generation
Set the version of an object to operate on.
Definition: well_known_parameters.h:145
google::cloud::storage::v1::ContentEncoding
Sets the contentEncoding option for object uploads.
Definition: well_known_parameters.h:83
google::cloud::storage::v1::PredefinedDefaultObjectAcl::Private
static PredefinedDefaultObjectAcl Private()
Definition: well_known_parameters.h:418
google::cloud::storage::v1::MaxBytesRewrittenPerCall
Limit the number of bytes rewritten in a Objects: rewrite step.
Definition: well_known_parameters.h:301
google::cloud::storage::v1::IfGenerationNotMatch
A pre-condition: the request succeeds unless the object generation matches.
Definition: well_known_parameters.h:169
google::cloud::storage::v1::PredefinedAcl
Set the ACL to predefined values when creating Buckets or Objects.
Definition: well_known_parameters.h:320
google::cloud::storage::v1::IfMetagenerationMatch
A pre-condition: the request succeeds if the metadata generation matches.
Definition: well_known_parameters.h:181
google::cloud::storage::v1::DestinationPredefinedAcl::AuthenticatedRead
static DestinationPredefinedAcl AuthenticatedRead()
Definition: well_known_parameters.h:364
google::cloud::storage::v1::Deleted
Included deleted HMAC keys in list requests.
Definition: well_known_parameters.h:91
google::cloud::storage::v1::IfSourceGenerationMatch::well_known_parameter_name
static char const * well_known_parameter_name()
Definition: well_known_parameters.h:213
google::cloud::storage::v1::PredefinedDefaultObjectAcl::AuthenticatedRead
static PredefinedDefaultObjectAcl AuthenticatedRead()
Definition: well_known_parameters.h:409
google::cloud::storage::v1::MaxBytesRewrittenPerCall::well_known_parameter_name
static char const * well_known_parameter_name()
Definition: well_known_parameters.h:304
google::cloud::storage::v1::DestinationPredefinedAcl::BucketOwnerFullControl
static DestinationPredefinedAcl BucketOwnerFullControl()
Definition: well_known_parameters.h:367
google::cloud::storage::v1::ServiceAccountFilter::well_known_parameter_name
static char const * well_known_parameter_name()
Definition: well_known_parameters.h:536
google::cloud::storage::v1::IfGenerationMatch::well_known_parameter_name
static char const * well_known_parameter_name()
Definition: well_known_parameters.h:159
STORAGE_CLIENT_NS
#define STORAGE_CLIENT_NS
Definition: version.h:30
google::cloud::storage::v1::QuotaUser
Sets the user for this operation for quota enforcement purposes.
Definition: well_known_parameters.h:524
google::cloud::storage::v1::PredefinedAcl::Private
static PredefinedAcl Private()
Definition: well_known_parameters.h:333
google::cloud::storage::v1::PredefinedAcl::ProjectPrivate
static PredefinedAcl ProjectPrivate()
Definition: well_known_parameters.h:334
google::cloud::storage::v1::KmsKeyName
Configure the Customer-Managed Encryption Key (CMEK) for an upload.
Definition: well_known_parameters.h:274
google::cloud::storage::v1::DestinationPredefinedAcl::BucketOwnerRead
static DestinationPredefinedAcl BucketOwnerRead()
Definition: well_known_parameters.h:370
google::cloud::storage::v1::PredefinedAcl::well_known_parameter_name
static char const * well_known_parameter_name()
Definition: well_known_parameters.h:322
google::cloud::storage::v1::DestinationKmsKeyName
Configure the Customer-Managed Encryption Key (CMEK) for an rewrite.
Definition: well_known_parameters.h:110
google::cloud::storage::v1::DestinationPredefinedAcl::ProjectPrivate
static DestinationPredefinedAcl ProjectPrivate()
Definition: well_known_parameters.h:376
google::cloud::storage::v1::PredefinedAcl::BucketOwnerFullControl
static PredefinedAcl BucketOwnerFullControl()
Definition: well_known_parameters.h:327
google::cloud::storage::v1::SourceGeneration::well_known_parameter_name
static char const * well_known_parameter_name()
Definition: well_known_parameters.h:555
google::cloud::storage::v1::Versions
Control if all versions of an object should be included when listing objects.
Definition: well_known_parameters.h:587
google::cloud::storage::v1::Delimiter
Returns results in a directory-like mode.
Definition: well_known_parameters.h:451
google::cloud::storage::v1::Versions::well_known_parameter_name
static char const * well_known_parameter_name()
Definition: well_known_parameters.h:589
google::cloud::storage::v1::DestinationPredefinedAcl::PublicRead
static DestinationPredefinedAcl PublicRead()
Definition: well_known_parameters.h:379
google::cloud::storage::v1::Fields
Defines the fields query parameter.
Definition: well_known_parameters.h:129
google::cloud::storage::v1::EndOffset
Filter results to objects whose names are lexicographically before EndOffset.
Definition: well_known_parameters.h:491
google::cloud::storage::v1::IfMetagenerationNotMatch
A pre-condition: the request succeeds unless the metadata generation matches.
Definition: well_known_parameters.h:194
google::cloud::storage::v1::PredefinedDefaultObjectAcl::BucketOwnerRead
static PredefinedDefaultObjectAcl BucketOwnerRead()
Definition: well_known_parameters.h:415
google::cloud::storage::v1::Projection::NoAcl
static Projection NoAcl()
Definition: well_known_parameters.h:511
google::cloud::storage::v1::Delimiter::well_known_parameter_name
static char const * well_known_parameter_name()
Definition: well_known_parameters.h:453
google
google::cloud::storage::v1::IfSourceGenerationNotMatch::well_known_parameter_name
static char const * well_known_parameter_name()
Definition: well_known_parameters.h:227
google::cloud::storage::v1::UserProject::well_known_parameter_name
static char const * well_known_parameter_name()
Definition: well_known_parameters.h:575
google::cloud::storage::v1::RequestedPolicyVersion
Controls the IAM policy version returned by IAM queries.
Definition: well_known_parameters.h:603