30 #ifndef GOOGLE_STORAGE_API_BUCKET_H_ 31 #define GOOGLE_STORAGE_API_BUCKET_H_ 34 #include "googleapis/base/integral_types.h" 35 #include "googleapis/base/macros.h" 36 #include "googleapis/client/data/jsoncpp_data.h" 37 #include "googleapis/client/util/date_time.h" 38 #include "googleapis/strings/stringpiece.h" 40 #include "google/storage_api/bucket_access_control.h" 41 #include "google/storage_api/object_access_control.h" 55 class Bucket :
public client::JsonCppData {
96 return StringPiece(
"google_storage_api::BucketBilling");
105 return Storage().isMember(
"requesterPays");
112 MutableStorage()->removeMember(
"requesterPays");
120 const Json::Value& storage = Storage(
"requesterPays");
121 return client::JsonValueToCppValueHelper<bool >(storage);
132 client::SetJsonValueFromCppValueHelper<bool >(
133 value, MutableStorage(
"requesterPays"));
158 explicit BucketCors(
const Json::Value& storage);
178 return StringPiece(
"google_storage_api::BucketCors");
187 return Storage().isMember(
"maxAgeSeconds");
194 MutableStorage()->removeMember(
"maxAgeSeconds");
202 const Json::Value& storage = Storage(
"maxAgeSeconds");
203 return client::JsonValueToCppValueHelper<int32 >(storage);
215 client::SetJsonValueFromCppValueHelper<int32 >(
216 value, MutableStorage(
"maxAgeSeconds"));
225 return Storage().isMember(
"method");
232 MutableStorage()->removeMember(
"method");
240 const Json::Value& storage = Storage(
"method");
241 return client::JsonValueToCppValueHelper<client::JsonCppArray<string > >(storage);
255 Json::Value* storage = MutableStorage(
"method");
256 return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<string > >(storage);
265 return Storage().isMember(
"origin");
272 MutableStorage()->removeMember(
"origin");
280 const Json::Value& storage = Storage(
"origin");
281 return client::JsonValueToCppValueHelper<client::JsonCppArray<string > >(storage);
294 Json::Value* storage = MutableStorage(
"origin");
295 return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<string > >(storage);
304 return Storage().isMember(
"responseHeader");
311 MutableStorage()->removeMember(
"responseHeader");
320 const Json::Value& storage = Storage(
"responseHeader");
321 return client::JsonValueToCppValueHelper<client::JsonCppArray<string > >(storage);
334 Json::Value* storage = MutableStorage(
"responseHeader");
335 return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<string > >(storage);
380 return StringPiece(
"google_storage_api::BucketEncryption");
389 return Storage().isMember(
"defaultKmsKeyName");
396 MutableStorage()->removeMember(
"defaultKmsKeyName");
404 const Json::Value& v = Storage(
"defaultKmsKeyName");
405 if (v == Json::Value::null)
return StringPiece(
"");
406 return StringPiece(v.asCString());
418 *MutableStorage(
"defaultKmsKeyName") = value.data();
475 return StringPiece(
"google_storage_api::BucketIamConfigurationBucketPolicyOnly");
484 return Storage().isMember(
"enabled");
491 MutableStorage()->removeMember(
"enabled");
499 const Json::Value& storage = Storage(
"enabled");
500 return client::JsonValueToCppValueHelper<bool >(storage);
512 client::SetJsonValueFromCppValueHelper<bool >(
513 value, MutableStorage(
"enabled"));
522 return Storage().isMember(
"lockedTime");
529 MutableStorage()->removeMember(
"lockedTime");
537 const Json::Value& storage = Storage(
"lockedTime");
538 return client::JsonValueToCppValueHelper<client::DateTime >(storage);
552 client::SetJsonValueFromCppValueHelper<client::DateTime >(
553 value, MutableStorage(
"lockedTime"));
599 return StringPiece(
"google_storage_api::BucketIamConfigurationUniformBucketLevelAccess");
608 return Storage().isMember(
"enabled");
615 MutableStorage()->removeMember(
"enabled");
623 const Json::Value& storage = Storage(
"enabled");
624 return client::JsonValueToCppValueHelper<bool >(storage);
636 client::SetJsonValueFromCppValueHelper<bool >(
637 value, MutableStorage(
"enabled"));
646 return Storage().isMember(
"lockedTime");
653 MutableStorage()->removeMember(
"lockedTime");
661 const Json::Value& storage = Storage(
"lockedTime");
662 return client::JsonValueToCppValueHelper<client::DateTime >(storage);
677 client::SetJsonValueFromCppValueHelper<client::DateTime >(
678 value, MutableStorage(
"lockedTime"));
716 return StringPiece(
"google_storage_api::BucketIamConfiguration");
725 return Storage().isMember(
"bucketPolicyOnly");
732 MutableStorage()->removeMember(
"bucketPolicyOnly");
741 const Json::Value& storage = Storage(
"bucketPolicyOnly");
742 return client::JsonValueToCppValueHelper<BucketIamConfigurationBucketPolicyOnly >(storage);
758 Json::Value* storage = MutableStorage(
"bucketPolicyOnly");
759 return client::JsonValueToMutableCppValueHelper<BucketIamConfigurationBucketPolicyOnly >(storage);
770 return Storage().isMember(
"uniformBucketLevelAccess");
777 MutableStorage()->removeMember(
"uniformBucketLevelAccess");
786 const Json::Value& storage = Storage(
"uniformBucketLevelAccess");
787 return client::JsonValueToCppValueHelper<BucketIamConfigurationUniformBucketLevelAccess >(storage);
799 Json::Value* storage = MutableStorage(
"uniformBucketLevelAccess");
800 return client::JsonValueToMutableCppValueHelper<BucketIamConfigurationUniformBucketLevelAccess >(storage);
860 return StringPiece(
"google_storage_api::BucketLifecycleRuleAction");
869 return Storage().isMember(
"storageClass");
876 MutableStorage()->removeMember(
"storageClass");
884 const Json::Value& v = Storage(
"storageClass");
885 if (v == Json::Value::null)
return StringPiece(
"");
886 return StringPiece(v.asCString());
898 *MutableStorage(
"storageClass") = value.data();
907 return Storage().isMember(
"type");
914 MutableStorage()->removeMember(
"type");
922 const Json::Value& v = Storage(
"type");
923 if (v == Json::Value::null)
return StringPiece(
"");
924 return StringPiece(v.asCString());
936 *MutableStorage(
"type") = value.data();
981 return StringPiece(
"google_storage_api::BucketLifecycleRuleCondition");
990 return Storage().isMember(
"age");
997 MutableStorage()->removeMember(
"age");
1005 const Json::Value& storage = Storage(
"age");
1006 return client::JsonValueToCppValueHelper<int32 >(storage);
1018 client::SetJsonValueFromCppValueHelper<int32 >(
1019 value, MutableStorage(
"age"));
1028 return Storage().isMember(
"createdBefore");
1035 MutableStorage()->removeMember(
"createdBefore");
1043 const Json::Value& storage = Storage(
"createdBefore");
1044 return client::JsonValueToCppValueHelper<client::Date >(storage);
1057 client::SetJsonValueFromCppValueHelper<client::Date >(
1058 value, MutableStorage(
"createdBefore"));
1067 return Storage().isMember(
"isLive");
1074 MutableStorage()->removeMember(
"isLive");
1082 const Json::Value& storage = Storage(
"isLive");
1083 return client::JsonValueToCppValueHelper<bool >(storage);
1096 client::SetJsonValueFromCppValueHelper<bool >(
1097 value, MutableStorage(
"isLive"));
1106 return Storage().isMember(
"matchesPattern");
1113 MutableStorage()->removeMember(
"matchesPattern");
1121 const Json::Value& v = Storage(
"matchesPattern");
1122 if (v == Json::Value::null)
return StringPiece(
"");
1123 return StringPiece(v.asCString());
1139 *MutableStorage(
"matchesPattern") = value.data();
1150 return Storage().isMember(
"matchesStorageClass");
1157 MutableStorage()->removeMember(
"matchesStorageClass");
1166 const Json::Value& storage = Storage(
"matchesStorageClass");
1167 return client::JsonValueToCppValueHelper<client::JsonCppArray<string > >(storage);
1181 Json::Value* storage = MutableStorage(
"matchesStorageClass");
1182 return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<string > >(storage);
1192 return Storage().isMember(
"numNewerVersions");
1199 MutableStorage()->removeMember(
"numNewerVersions");
1207 const Json::Value& storage = Storage(
"numNewerVersions");
1208 return client::JsonValueToCppValueHelper<int32 >(storage);
1221 client::SetJsonValueFromCppValueHelper<int32 >(
1222 value, MutableStorage(
"numNewerVersions"));
1260 return StringPiece(
"google_storage_api::BucketLifecycleRule");
1269 return Storage().isMember(
"action");
1276 MutableStorage()->removeMember(
"action");
1284 const Json::Value& storage = Storage(
"action");
1285 return client::JsonValueToCppValueHelper<BucketLifecycleRuleAction >(storage);
1297 Json::Value* storage = MutableStorage(
"action");
1298 return client::JsonValueToMutableCppValueHelper<BucketLifecycleRuleAction >(storage);
1307 return Storage().isMember(
"condition");
1314 MutableStorage()->removeMember(
"condition");
1322 const Json::Value& storage = Storage(
"condition");
1323 return client::JsonValueToCppValueHelper<BucketLifecycleRuleCondition >(storage);
1335 Json::Value* storage = MutableStorage(
"condition");
1336 return client::JsonValueToMutableCppValueHelper<BucketLifecycleRuleCondition >(storage);
1374 return StringPiece(
"google_storage_api::BucketLifecycle");
1383 return Storage().isMember(
"rule");
1390 MutableStorage()->removeMember(
"rule");
1397 const client::JsonCppArray<BucketLifecycleRule >
get_rule()
const {
1398 const Json::Value& storage = Storage(
"rule");
1399 return client::JsonValueToCppValueHelper<client::JsonCppArray<BucketLifecycleRule > >(storage);
1411 Json::Value* storage = MutableStorage(
"rule");
1412 return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<BucketLifecycleRule > >(storage);
1458 return StringPiece(
"google_storage_api::BucketLogging");
1467 return Storage().isMember(
"logBucket");
1474 MutableStorage()->removeMember(
"logBucket");
1482 const Json::Value& v = Storage(
"logBucket");
1483 if (v == Json::Value::null)
return StringPiece(
"");
1484 return StringPiece(v.asCString());
1495 *MutableStorage(
"logBucket") = value.data();
1504 return Storage().isMember(
"logObjectPrefix");
1511 MutableStorage()->removeMember(
"logObjectPrefix");
1519 const Json::Value& v = Storage(
"logObjectPrefix");
1520 if (v == Json::Value::null)
return StringPiece(
"");
1521 return StringPiece(v.asCString());
1532 *MutableStorage(
"logObjectPrefix") = value.data();
1577 return StringPiece(
"google_storage_api::BucketOwner");
1586 return Storage().isMember(
"entity");
1593 MutableStorage()->removeMember(
"entity");
1601 const Json::Value& v = Storage(
"entity");
1602 if (v == Json::Value::null)
return StringPiece(
"");
1603 return StringPiece(v.asCString());
1614 *MutableStorage(
"entity") = value.data();
1623 return Storage().isMember(
"entityId");
1630 MutableStorage()->removeMember(
"entityId");
1638 const Json::Value& v = Storage(
"entityId");
1639 if (v == Json::Value::null)
return StringPiece(
"");
1640 return StringPiece(v.asCString());
1651 *MutableStorage(
"entityId") = value.data();
1704 return StringPiece(
"google_storage_api::BucketRetentionPolicy");
1713 return Storage().isMember(
"effectiveTime");
1720 MutableStorage()->removeMember(
"effectiveTime");
1728 const Json::Value& storage = Storage(
"effectiveTime");
1729 return client::JsonValueToCppValueHelper<client::DateTime >(storage);
1741 client::SetJsonValueFromCppValueHelper<client::DateTime >(
1742 value, MutableStorage(
"effectiveTime"));
1751 return Storage().isMember(
"isLocked");
1758 MutableStorage()->removeMember(
"isLocked");
1766 const Json::Value& storage = Storage(
"isLocked");
1767 return client::JsonValueToCppValueHelper<bool >(storage);
1778 client::SetJsonValueFromCppValueHelper<bool >(
1779 value, MutableStorage(
"isLocked"));
1788 return Storage().isMember(
"retentionPeriod");
1795 MutableStorage()->removeMember(
"retentionPeriod");
1803 const Json::Value& storage = Storage(
"retentionPeriod");
1804 return client::JsonValueToCppValueHelper<int64 >(storage);
1818 client::SetJsonValueFromCppValueHelper<int64 >(
1819 value, MutableStorage(
"retentionPeriod"));
1864 return StringPiece(
"google_storage_api::BucketVersioning");
1873 return Storage().isMember(
"enabled");
1880 MutableStorage()->removeMember(
"enabled");
1888 const Json::Value& storage = Storage(
"enabled");
1889 return client::JsonValueToCppValueHelper<bool >(storage);
1900 client::SetJsonValueFromCppValueHelper<bool >(
1901 value, MutableStorage(
"enabled"));
1948 return StringPiece(
"google_storage_api::BucketWebsite");
1957 return Storage().isMember(
"mainPageSuffix");
1964 MutableStorage()->removeMember(
"mainPageSuffix");
1972 const Json::Value& v = Storage(
"mainPageSuffix");
1973 if (v == Json::Value::null)
return StringPiece(
"");
1974 return StringPiece(v.asCString());
1988 *MutableStorage(
"mainPageSuffix") = value.data();
1997 return Storage().isMember(
"notFoundPage");
2004 MutableStorage()->removeMember(
"notFoundPage");
2012 const Json::Value& v = Storage(
"notFoundPage");
2013 if (v == Json::Value::null)
return StringPiece(
"");
2014 return StringPiece(v.asCString());
2027 *MutableStorage(
"notFoundPage") = value.data();
2045 explicit Bucket(
const Json::Value& storage);
2052 explicit Bucket(Json::Value* storage);
2065 return StringPiece(
"google_storage_api::Bucket");
2074 return Storage().isMember(
"acl");
2081 MutableStorage()->removeMember(
"acl");
2088 const client::JsonCppArray<BucketAccessControl > get_acl()
const;
2097 client::JsonCppArray<BucketAccessControl > mutable_acl();
2105 return Storage().isMember(
"billing");
2112 MutableStorage()->removeMember(
"billing");
2120 const Json::Value& storage = Storage(
"billing");
2121 return client::JsonValueToCppValueHelper<BucketBilling >(storage);
2132 Json::Value* storage = MutableStorage(
"billing");
2133 return client::JsonValueToMutableCppValueHelper<BucketBilling >(storage);
2142 return Storage().isMember(
"cors");
2149 MutableStorage()->removeMember(
"cors");
2156 const client::JsonCppArray<BucketCors >
get_cors()
const {
2157 const Json::Value& storage = Storage(
"cors");
2158 return client::JsonValueToCppValueHelper<client::JsonCppArray<BucketCors > >(storage);
2169 Json::Value* storage = MutableStorage(
"cors");
2170 return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<BucketCors > >(storage);
2179 return Storage().isMember(
"defaultEventBasedHold");
2186 MutableStorage()->removeMember(
"defaultEventBasedHold");
2194 const Json::Value& storage = Storage(
"defaultEventBasedHold");
2195 return client::JsonValueToCppValueHelper<bool >(storage);
2217 client::SetJsonValueFromCppValueHelper<bool >(
2218 value, MutableStorage(
"defaultEventBasedHold"));
2227 return Storage().isMember(
"defaultObjectAcl");
2234 MutableStorage()->removeMember(
"defaultObjectAcl");
2242 const client::JsonCppArray<ObjectAccessControl > get_default_object_acl()
const;
2252 client::JsonCppArray<ObjectAccessControl > mutable_defaultObjectAcl();
2260 return Storage().isMember(
"encryption");
2267 MutableStorage()->removeMember(
"encryption");
2275 const Json::Value& storage = Storage(
"encryption");
2276 return client::JsonValueToCppValueHelper<BucketEncryption >(storage);
2288 Json::Value* storage = MutableStorage(
"encryption");
2289 return client::JsonValueToMutableCppValueHelper<BucketEncryption >(storage);
2298 return Storage().isMember(
"etag");
2305 MutableStorage()->removeMember(
"etag");
2313 const Json::Value& v = Storage(
"etag");
2314 if (v == Json::Value::null)
return StringPiece(
"");
2315 return StringPiece(v.asCString());
2326 *MutableStorage(
"etag") = value.data();
2335 return Storage().isMember(
"iamConfiguration");
2342 MutableStorage()->removeMember(
"iamConfiguration");
2351 const Json::Value& storage = Storage(
"iamConfiguration");
2352 return client::JsonValueToCppValueHelper<BucketIamConfiguration >(storage);
2364 Json::Value* storage = MutableStorage(
"iamConfiguration");
2365 return client::JsonValueToMutableCppValueHelper<BucketIamConfiguration >(storage);
2374 return Storage().isMember(
"id");
2381 MutableStorage()->removeMember(
"id");
2389 const Json::Value& v = Storage(
"id");
2390 if (v == Json::Value::null)
return StringPiece(
"");
2391 return StringPiece(v.asCString());
2402 *MutableStorage(
"id") = value.data();
2411 return Storage().isMember(
"kind");
2418 MutableStorage()->removeMember(
"kind");
2426 const Json::Value& v = Storage(
"kind");
2427 if (v == Json::Value::null)
return StringPiece(
"");
2428 return StringPiece(v.asCString());
2439 *MutableStorage(
"kind") = value.data();
2448 return Storage().isMember(
"labels");
2455 MutableStorage()->removeMember(
"labels");
2462 const client::JsonCppAssociativeArray<string >
get_labels()
const {
2463 const Json::Value& storage = Storage(
"labels");
2464 return client::JsonValueToCppValueHelper<client::JsonCppAssociativeArray<string > >(storage);
2475 Json::Value* storage = MutableStorage(
"labels");
2476 return client::JsonValueToMutableCppValueHelper<client::JsonCppAssociativeArray<string > >(storage);
2485 return Storage().isMember(
"lifecycle");
2492 MutableStorage()->removeMember(
"lifecycle");
2500 const Json::Value& storage = Storage(
"lifecycle");
2501 return client::JsonValueToCppValueHelper<BucketLifecycle >(storage);
2514 Json::Value* storage = MutableStorage(
"lifecycle");
2515 return client::JsonValueToMutableCppValueHelper<BucketLifecycle >(storage);
2524 return Storage().isMember(
"location");
2531 MutableStorage()->removeMember(
"location");
2539 const Json::Value& v = Storage(
"location");
2540 if (v == Json::Value::null)
return StringPiece(
"");
2541 return StringPiece(v.asCString());
2554 *MutableStorage(
"location") = value.data();
2563 return Storage().isMember(
"locationType");
2570 MutableStorage()->removeMember(
"locationType");
2578 const Json::Value& v = Storage(
"locationType");
2579 if (v == Json::Value::null)
return StringPiece(
"");
2580 return StringPiece(v.asCString());
2591 *MutableStorage(
"locationType") = value.data();
2600 return Storage().isMember(
"logging");
2607 MutableStorage()->removeMember(
"logging");
2615 const Json::Value& storage = Storage(
"logging");
2616 return client::JsonValueToCppValueHelper<BucketLogging >(storage);
2628 Json::Value* storage = MutableStorage(
"logging");
2629 return client::JsonValueToMutableCppValueHelper<BucketLogging >(storage);
2638 return Storage().isMember(
"metageneration");
2645 MutableStorage()->removeMember(
"metageneration");
2653 const Json::Value& storage = Storage(
"metageneration");
2654 return client::JsonValueToCppValueHelper<int64 >(storage);
2665 client::SetJsonValueFromCppValueHelper<int64 >(
2666 value, MutableStorage(
"metageneration"));
2675 return Storage().isMember(
"name");
2682 MutableStorage()->removeMember(
"name");
2690 const Json::Value& v = Storage(
"name");
2691 if (v == Json::Value::null)
return StringPiece(
"");
2692 return StringPiece(v.asCString());
2703 *MutableStorage(
"name") = value.data();
2712 return Storage().isMember(
"owner");
2719 MutableStorage()->removeMember(
"owner");
2727 const Json::Value& storage = Storage(
"owner");
2728 return client::JsonValueToCppValueHelper<BucketOwner >(storage);
2739 Json::Value* storage = MutableStorage(
"owner");
2740 return client::JsonValueToMutableCppValueHelper<BucketOwner >(storage);
2749 return Storage().isMember(
"projectNumber");
2756 MutableStorage()->removeMember(
"projectNumber");
2764 const Json::Value& storage = Storage(
"projectNumber");
2765 return client::JsonValueToCppValueHelper<uint64 >(storage);
2776 client::SetJsonValueFromCppValueHelper<uint64 >(
2777 value, MutableStorage(
"projectNumber"));
2786 return Storage().isMember(
"retentionPolicy");
2793 MutableStorage()->removeMember(
"retentionPolicy");
2802 const Json::Value& storage = Storage(
"retentionPolicy");
2803 return client::JsonValueToCppValueHelper<BucketRetentionPolicy >(storage);
2823 Json::Value* storage = MutableStorage(
"retentionPolicy");
2824 return client::JsonValueToMutableCppValueHelper<BucketRetentionPolicy >(storage);
2833 return Storage().isMember(
"selfLink");
2840 MutableStorage()->removeMember(
"selfLink");
2848 const Json::Value& v = Storage(
"selfLink");
2849 if (v == Json::Value::null)
return StringPiece(
"");
2850 return StringPiece(v.asCString());
2861 *MutableStorage(
"selfLink") = value.data();
2870 return Storage().isMember(
"storageClass");
2877 MutableStorage()->removeMember(
"storageClass");
2885 const Json::Value& v = Storage(
"storageClass");
2886 if (v == Json::Value::null)
return StringPiece(
"");
2887 return StringPiece(v.asCString());
2904 *MutableStorage(
"storageClass") = value.data();
2913 return Storage().isMember(
"timeCreated");
2920 MutableStorage()->removeMember(
"timeCreated");
2928 const Json::Value& storage = Storage(
"timeCreated");
2929 return client::JsonValueToCppValueHelper<client::DateTime >(storage);
2940 client::SetJsonValueFromCppValueHelper<client::DateTime >(
2941 value, MutableStorage(
"timeCreated"));
2950 return Storage().isMember(
"updated");
2957 MutableStorage()->removeMember(
"updated");
2965 const Json::Value& storage = Storage(
"updated");
2966 return client::JsonValueToCppValueHelper<client::DateTime >(storage);
2977 client::SetJsonValueFromCppValueHelper<client::DateTime >(
2978 value, MutableStorage(
"updated"));
2987 return Storage().isMember(
"versioning");
2994 MutableStorage()->removeMember(
"versioning");
3002 const Json::Value& storage = Storage(
"versioning");
3003 return client::JsonValueToCppValueHelper<BucketVersioning >(storage);
3015 Json::Value* storage = MutableStorage(
"versioning");
3016 return client::JsonValueToMutableCppValueHelper<BucketVersioning >(storage);
3025 return Storage().isMember(
"website");
3032 MutableStorage()->removeMember(
"website");
3040 const Json::Value& storage = Storage(
"website");
3041 return client::JsonValueToCppValueHelper<BucketWebsite >(storage);
3054 Json::Value* storage = MutableStorage(
"website");
3055 return client::JsonValueToMutableCppValueHelper<BucketWebsite >(storage);
3064 return Storage().isMember(
"zone_affinity");
3071 MutableStorage()->removeMember(
"zone_affinity");
3079 const Json::Value& storage = Storage(
"zone_affinity");
3080 return client::JsonValueToCppValueHelper<client::JsonCppArray<string > >(storage);
3096 Json::Value* storage = MutableStorage(
"zone_affinity");
3097 return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<string > >(storage);
3101 void operator=(
const Bucket&);
3104 #endif // GOOGLE_STORAGE_API_BUCKET_H_ int32 get_age() const
Definition: bucket.h:1004
void set_requester_pays(bool value)
Definition: bucket.h:131
void set_default_event_based_hold(bool value)
Definition: bucket.h:2216
void clear_response_header()
Definition: bucket.h:310
void clear_retention_period()
Definition: bucket.h:1794
void set_location_type(const StringPiece &value)
Definition: bucket.h:2590
const StringPiece get_entity() const
Definition: bucket.h:1600
void clear_log_object_prefix()
Definition: bucket.h:1510
void set_metageneration(int64 value)
Definition: bucket.h:2664
void clear_name()
Definition: bucket.h:2681
bool has_default_event_based_hold() const
Definition: bucket.h:2178
bool has_origin() const
Definition: bucket.h:264
const StringPiece get_entity_id() const
Definition: bucket.h:1637
BucketVersioning mutable_versioning()
Definition: bucket.h:3014
void clear_method()
Definition: bucket.h:231
bool has_log_object_prefix() const
Definition: bucket.h:1503
bool has_location_type() const
Definition: bucket.h:2562
BucketIamConfiguration mutable_iamConfiguration()
Definition: bucket.h:2363
bool has_method() const
Definition: bucket.h:224
void clear_enabled()
Definition: bucket.h:490
const BucketIamConfigurationBucketPolicyOnly get_bucket_policy_only() const
Definition: bucket.h:740
const client::JsonCppArray< string > get_response_header() const
Definition: bucket.h:319
bool has_metageneration() const
Definition: bucket.h:2637
Definition: bucket.h:1424
BucketEncryption mutable_encryption()
Definition: bucket.h:2287
const StringPiece get_etag() const
Definition: bucket.h:2312
bool has_is_locked() const
Definition: bucket.h:1750
client::JsonCppAssociativeArray< string > mutable_labels()
Definition: bucket.h:2474
const client::JsonCppArray< string > get_zone_affinity() const
Definition: bucket.h:3078
bool has_name() const
Definition: bucket.h:2674
bool has_encryption() const
Definition: bucket.h:2259
void set_created_before(client::Date value)
Definition: bucket.h:1056
client::JsonCppArray< string > mutable_method()
Definition: bucket.h:254
void set_storage_class(const StringPiece &value)
Definition: bucket.h:897
bool has_labels() const
Definition: bucket.h:2447
void set_self_link(const StringPiece &value)
Definition: bucket.h:2860
void clear_lifecycle()
Definition: bucket.h:2491
void set_kind(const StringPiece &value)
Definition: bucket.h:2438
const StringPiece get_location() const
Definition: bucket.h:2538
const BucketLifecycleRuleAction get_action() const
Definition: bucket.h:1283
void clear_default_object_acl()
Definition: bucket.h:2233
bool get_is_locked() const
Definition: bucket.h:1765
void clear_time_created()
Definition: bucket.h:2919
bool has_bucket_policy_only() const
Definition: bucket.h:724
const StringPiece GetTypeName() const
Definition: bucket.h:177
bool has_logging() const
Definition: bucket.h:2599
bool has_enabled() const
Definition: bucket.h:1872
bool has_billing() const
Definition: bucket.h:2104
bool has_locked_time() const
Definition: bucket.h:521
bool has_owner() const
Definition: bucket.h:2711
const BucketBilling get_billing() const
Definition: bucket.h:2119
void clear_is_locked()
Definition: bucket.h:1757
void clear_iam_configuration()
Definition: bucket.h:2341
bool has_etag() const
Definition: bucket.h:2297
bool get_is_live() const
Definition: bucket.h:1081
void clear_metageneration()
Definition: bucket.h:2644
const StringPiece get_name() const
Definition: bucket.h:2689
BucketBilling mutable_billing()
Definition: bucket.h:2131
client::JsonCppArray< BucketLifecycleRule > mutable_rule()
Definition: bucket.h:1410
bool has_requester_pays() const
Definition: bucket.h:104
void clear_log_bucket()
Definition: bucket.h:1473
bool has_action() const
Definition: bucket.h:1268
void clear_effective_time()
Definition: bucket.h:1719
void set_enabled(bool value)
Definition: bucket.h:511
int32 get_num_newer_versions() const
Definition: bucket.h:1206
Definition: bucket.h:1543
void clear_self_link()
Definition: bucket.h:2839
const BucketWebsite get_website() const
Definition: bucket.h:3039
BucketLifecycleRuleCondition mutable_condition()
Definition: bucket.h:1334
void clear_cors()
Definition: bucket.h:2148
void set_name(const StringPiece &value)
Definition: bucket.h:2702
const StringPiece GetTypeName() const
Definition: bucket.h:1457
bool has_time_created() const
Definition: bucket.h:2912
bool has_website() const
Definition: bucket.h:3024
void clear_locked_time()
Definition: bucket.h:528
bool has_main_page_suffix() const
Definition: bucket.h:1956
bool has_condition() const
Definition: bucket.h:1306
int64 get_retention_period() const
Definition: bucket.h:1802
void clear_matches_pattern()
Definition: bucket.h:1112
int64 get_metageneration() const
Definition: bucket.h:2652
const BucketIamConfiguration get_iam_configuration() const
Definition: bucket.h:2350
bool has_type() const
Definition: bucket.h:906
bool has_id() const
Definition: bucket.h:2373
bool has_acl() const
Definition: bucket.h:2073
const StringPiece GetTypeName() const
Definition: bucket.h:859
void clear_billing()
Definition: bucket.h:2111
bool get_requester_pays() const
Definition: bucket.h:119
void set_effective_time(client::DateTime value)
Definition: bucket.h:1740
const StringPiece get_matches_pattern() const
Definition: bucket.h:1120
void clear_updated()
Definition: bucket.h:2956
bool has_storage_class() const
Definition: bucket.h:868
bool has_versioning() const
Definition: bucket.h:2986
void set_is_locked(bool value)
Definition: bucket.h:1777
BucketWebsite mutable_website()
Definition: bucket.h:3053
void set_default_kms_key_name(const StringPiece &value)
Definition: bucket.h:417
void set_entity(const StringPiece &value)
Definition: bucket.h:1613
void clear_versioning()
Definition: bucket.h:2993
BucketOwner mutable_owner()
Definition: bucket.h:2738
void set_is_live(bool value)
Definition: bucket.h:1095
void set_age(int32 value)
Definition: bucket.h:1017
client::DateTime get_locked_time() const
Definition: bucket.h:536
bool get_enabled() const
Definition: bucket.h:498
bool has_lifecycle() const
Definition: bucket.h:2484
const BucketEncryption get_encryption() const
Definition: bucket.h:2274
void set_id(const StringPiece &value)
Definition: bucket.h:2401
BucketLogging mutable_logging()
Definition: bucket.h:2627
bool has_entity_id() const
Definition: bucket.h:1622
void set_log_bucket(const StringPiece &value)
Definition: bucket.h:1494
bool has_project_number() const
Definition: bucket.h:2748
void clear_main_page_suffix()
Definition: bucket.h:1963
bool has_response_header() const
Definition: bucket.h:303
bool has_default_object_acl() const
Definition: bucket.h:2226
BucketLifecycleRuleAction mutable_action()
Definition: bucket.h:1296
bool has_rule() const
Definition: bucket.h:1382
int32 get_max_age_seconds() const
Definition: bucket.h:201
const StringPiece GetTypeName() const
Definition: bucket.h:95
void set_project_number(uint64 value)
Definition: bucket.h:2775
void clear_storage_class()
Definition: bucket.h:875
bool get_default_event_based_hold() const
Definition: bucket.h:2193
const StringPiece get_log_object_prefix() const
Definition: bucket.h:1518
void clear_condition()
Definition: bucket.h:1313
const StringPiece GetTypeName() const
Definition: bucket.h:1373
const client::JsonCppArray< string > get_matches_storage_class() const
Definition: bucket.h:1165
void set_max_age_seconds(int32 value)
Definition: bucket.h:214
const BucketLifecycleRuleCondition get_condition() const
Definition: bucket.h:1321
void clear_website()
Definition: bucket.h:3031
void clear_location_type()
Definition: bucket.h:2569
bool has_log_bucket() const
Definition: bucket.h:1466
const StringPiece get_kind() const
Definition: bucket.h:2425
BucketIamConfigurationUniformBucketLevelAccess mutable_uniformBucketLevelAccess()
Definition: bucket.h:798
void clear_default_event_based_hold()
Definition: bucket.h:2185
bool has_iam_configuration() const
Definition: bucket.h:2334
const BucketRetentionPolicy get_retention_policy() const
Definition: bucket.h:2801
bool has_effective_time() const
Definition: bucket.h:1712
client::JsonCppArray< string > mutable_matchesStorageClass()
Definition: bucket.h:1180
void clear_encryption()
Definition: bucket.h:2266
bool has_default_kms_key_name() const
Definition: bucket.h:388
bool has_age() const
Definition: bucket.h:989
void clear_rule()
Definition: bucket.h:1389
void clear_not_found_page()
Definition: bucket.h:2003
bool has_kind() const
Definition: bucket.h:2410
client::DateTime get_effective_time() const
Definition: bucket.h:1727
void clear_age()
Definition: bucket.h:996
void clear_labels()
Definition: bucket.h:2454
const StringPiece GetTypeName() const
Definition: bucket.h:1576
bool has_max_age_seconds() const
Definition: bucket.h:186
bool has_created_before() const
Definition: bucket.h:1027
void clear_owner()
Definition: bucket.h:2718
bool has_uniform_bucket_level_access() const
Definition: bucket.h:769
void clear_location()
Definition: bucket.h:2530
client::JsonCppArray< BucketCors > mutable_cors()
Definition: bucket.h:2168
Definition: bucket.h:1830
const StringPiece GetTypeName() const
Definition: bucket.h:2064
void set_matches_pattern(const StringPiece &value)
Definition: bucket.h:1138
const StringPiece GetTypeName() const
Definition: bucket.h:1259
const StringPiece get_log_bucket() const
Definition: bucket.h:1481
void set_locked_time(client::DateTime value)
Definition: bucket.h:551
void set_location(const StringPiece &value)
Definition: bucket.h:2553
void clear_id()
Definition: bucket.h:2380
void set_not_found_page(const StringPiece &value)
Definition: bucket.h:2026
void clear_max_age_seconds()
Definition: bucket.h:193
BucketRetentionPolicy mutable_retentionPolicy()
Definition: bucket.h:2822
client::JsonCppArray< string > mutable_origin()
Definition: bucket.h:293
void set_retention_period(int64 value)
Definition: bucket.h:1817
const StringPiece get_not_found_page() const
Definition: bucket.h:2011
client::JsonCppArray< string > mutable_responseHeader()
Definition: bucket.h:333
const BucketVersioning get_versioning() const
Definition: bucket.h:3001
bool has_matches_pattern() const
Definition: bucket.h:1105
void set_storage_class(const StringPiece &value)
Definition: bucket.h:2903
bool has_is_live() const
Definition: bucket.h:1066
const client::JsonCppAssociativeArray< string > get_labels() const
Definition: bucket.h:2462
bool has_location() const
Definition: bucket.h:2523
void set_type(const StringPiece &value)
Definition: bucket.h:935
const StringPiece GetTypeName() const
Definition: bucket.h:474
void clear_kind()
Definition: bucket.h:2417
client::DateTime get_time_created() const
Definition: bucket.h:2927
void clear_entity_id()
Definition: bucket.h:1629
void clear_requester_pays()
Definition: bucket.h:111
void clear_default_kms_key_name()
Definition: bucket.h:395
void clear_zone_affinity()
Definition: bucket.h:3070
const client::JsonCppArray< string > get_method() const
Definition: bucket.h:239
void clear_logging()
Definition: bucket.h:2606
BucketLifecycle mutable_lifecycle()
Definition: bucket.h:2513
const StringPiece GetTypeName() const
Definition: bucket.h:715
void set_entity_id(const StringPiece &value)
Definition: bucket.h:1650
void clear_etag()
Definition: bucket.h:2304
const StringPiece get_self_link() const
Definition: bucket.h:2847
void set_log_object_prefix(const StringPiece &value)
Definition: bucket.h:1531
const StringPiece GetTypeName() const
Definition: bucket.h:1947
void set_num_newer_versions(int32 value)
Definition: bucket.h:1220
void clear_enabled()
Definition: bucket.h:1879
const BucketOwner get_owner() const
Definition: bucket.h:2726
const StringPiece get_storage_class() const
Definition: bucket.h:2884
const StringPiece get_id() const
Definition: bucket.h:2388
bool has_matches_storage_class() const
Definition: bucket.h:1149
BucketIamConfigurationBucketPolicyOnly mutable_bucketPolicyOnly()
Definition: bucket.h:757
void clear_origin()
Definition: bucket.h:271
const client::JsonCppArray< string > get_origin() const
Definition: bucket.h:279
bool has_num_newer_versions() const
Definition: bucket.h:1191
const StringPiece GetTypeName() const
Definition: bucket.h:1863
bool has_not_found_page() const
Definition: bucket.h:1996
const StringPiece get_main_page_suffix() const
Definition: bucket.h:1971
void clear_type()
Definition: bucket.h:913
const BucketIamConfigurationUniformBucketLevelAccess get_uniform_bucket_level_access() const
Definition: bucket.h:785
const BucketLogging get_logging() const
Definition: bucket.h:2614
bool has_retention_period() const
Definition: bucket.h:1787
const StringPiece get_storage_class() const
Definition: bucket.h:883
const StringPiece GetTypeName() const
Definition: bucket.h:1703
Definition: bucket.h:1914
Definition: bucket.h:1670
client::JsonCppArray< string > mutable_zone_affinity()
Definition: bucket.h:3095
const StringPiece GetTypeName() const
Definition: bucket.h:980
void clear_acl()
Definition: bucket.h:2080
void set_updated(client::DateTime value)
Definition: bucket.h:2976
const StringPiece GetTypeName() const
Definition: bucket.h:379
client::DateTime get_updated() const
Definition: bucket.h:2964
void clear_matches_storage_class()
Definition: bucket.h:1156
uint64 get_project_number() const
Definition: bucket.h:2763
const client::JsonCppArray< BucketLifecycleRule > get_rule() const
Definition: bucket.h:1397
void clear_project_number()
Definition: bucket.h:2755
const StringPiece get_type() const
Definition: bucket.h:921
void clear_num_newer_versions()
Definition: bucket.h:1198
void clear_retention_policy()
Definition: bucket.h:2792
const StringPiece get_default_kms_key_name() const
Definition: bucket.h:403
bool has_self_link() const
Definition: bucket.h:2832
const BucketLifecycle get_lifecycle() const
Definition: bucket.h:2499
bool has_cors() const
Definition: bucket.h:2141
const StringPiece get_location_type() const
Definition: bucket.h:2577
bool has_retention_policy() const
Definition: bucket.h:2785
bool has_zone_affinity() const
Definition: bucket.h:3063
void clear_uniform_bucket_level_access()
Definition: bucket.h:776
void set_enabled(bool value)
Definition: bucket.h:1899
void set_main_page_suffix(const StringPiece &value)
Definition: bucket.h:1987
void clear_bucket_policy_only()
Definition: bucket.h:731
bool has_updated() const
Definition: bucket.h:2949
void clear_storage_class()
Definition: bucket.h:2876
client::Date get_created_before() const
Definition: bucket.h:1042
bool has_enabled() const
Definition: bucket.h:483
bool get_enabled() const
Definition: bucket.h:1887
void set_etag(const StringPiece &value)
Definition: bucket.h:2325
void clear_is_live()
Definition: bucket.h:1073
bool has_entity() const
Definition: bucket.h:1585
bool has_storage_class() const
Definition: bucket.h:2869
void set_time_created(client::DateTime value)
Definition: bucket.h:2939
void clear_entity()
Definition: bucket.h:1592
void clear_created_before()
Definition: bucket.h:1034
const client::JsonCppArray< BucketCors > get_cors() const
Definition: bucket.h:2156
void clear_action()
Definition: bucket.h:1275