drive  v2
drive.h
1 // Copyright 2010 Google Inc.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 // use this file except in compliance with the License. You may obtain a copy of
5 // 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, WITHOUT
11 // WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 // License for the specific language governing permissions and limitations under
13 // the License.
14 
15 // This code was generated by google-apis-code-generator 1.5.1
16 // Build date: 2018-10-08 17:45:39 UTC
17 // on: 2020-03-19, 05:24:40 UTC
18 // C++ generator version: 0.1.4
19 
20 // ----------------------------------------------------------------------------
21 // NOTE: This file is generated from Google APIs Discovery Service.
22 // Service:
23 // Drive API (drive/v2)
24 // Generated from:
25 // Version: v2
26 // Revision: 393
27 // Generated by:
28 // Tool: google-apis-code-generator 1.5.1
29 // C++: 0.1.4
30 #ifndef GOOGLE_DRIVE_API_DRIVE_H_
31 #define GOOGLE_DRIVE_API_DRIVE_H_
32 
33 #include <string>
34 #include "googleapis/base/macros.h"
35 #include "googleapis/client/data/jsoncpp_data.h"
36 #include "googleapis/client/util/date_time.h"
37 #include "googleapis/strings/stringpiece.h"
38 
39 namespace Json {
40 class Value;
41 } // namespace Json
42 
43 namespace google_drive_api {
44 using namespace googleapis;
45 
51 class Drive : public client::JsonCppData {
52  public:
61  class DriveBackgroundImageFile : public client::JsonCppData {
62  public:
68  static DriveBackgroundImageFile* New();
69 
75  explicit DriveBackgroundImageFile(const Json::Value& storage);
76 
82  explicit DriveBackgroundImageFile(Json::Value* storage);
83 
87  virtual ~DriveBackgroundImageFile();
88 
94  const StringPiece GetTypeName() const {
95  return StringPiece("google_drive_api::DriveBackgroundImageFile");
96  }
97 
103  bool has_id() const {
104  return Storage().isMember("id");
105  }
106 
110  void clear_id() {
111  MutableStorage()->removeMember("id");
112  }
113 
114 
118  const StringPiece get_id() const {
119  const Json::Value& v = Storage("id");
120  if (v == Json::Value::null) return StringPiece("");
121  return StringPiece(v.asCString());
122  }
123 
131  void set_id(const StringPiece& value) {
132  *MutableStorage("id") = value.data();
133  }
134 
140  bool has_width() const {
141  return Storage().isMember("width");
142  }
143 
147  void clear_width() {
148  MutableStorage()->removeMember("width");
149  }
150 
151 
155  float get_width() const {
156  const Json::Value& storage = Storage("width");
157  return client::JsonValueToCppValueHelper<float >(storage);
158  }
159 
171  void set_width(float value) {
172  client::SetJsonValueFromCppValueHelper<float >(
173  value, MutableStorage("width"));
174  }
175 
181  bool has_x_coordinate() const {
182  return Storage().isMember("xCoordinate");
183  }
184 
189  MutableStorage()->removeMember("xCoordinate");
190  }
191 
192 
196  float get_x_coordinate() const {
197  const Json::Value& storage = Storage("xCoordinate");
198  return client::JsonValueToCppValueHelper<float >(storage);
199  }
200 
212  void set_x_coordinate(float value) {
213  client::SetJsonValueFromCppValueHelper<float >(
214  value, MutableStorage("xCoordinate"));
215  }
216 
222  bool has_y_coordinate() const {
223  return Storage().isMember("yCoordinate");
224  }
225 
230  MutableStorage()->removeMember("yCoordinate");
231  }
232 
233 
237  float get_y_coordinate() const {
238  const Json::Value& storage = Storage("yCoordinate");
239  return client::JsonValueToCppValueHelper<float >(storage);
240  }
241 
253  void set_y_coordinate(float value) {
254  client::SetJsonValueFromCppValueHelper<float >(
255  value, MutableStorage("yCoordinate"));
256  }
257 
258  private:
259  void operator=(const DriveBackgroundImageFile&);
260  }; // DriveBackgroundImageFile
266  class DriveCapabilities : public client::JsonCppData {
267  public:
273  static DriveCapabilities* New();
274 
280  explicit DriveCapabilities(const Json::Value& storage);
281 
287  explicit DriveCapabilities(Json::Value* storage);
288 
292  virtual ~DriveCapabilities();
293 
299  const StringPiece GetTypeName() const {
300  return StringPiece("google_drive_api::DriveCapabilities");
301  }
302 
308  bool has_can_add_children() const {
309  return Storage().isMember("canAddChildren");
310  }
311 
316  MutableStorage()->removeMember("canAddChildren");
317  }
318 
319 
323  bool get_can_add_children() const {
324  const Json::Value& storage = Storage("canAddChildren");
325  return client::JsonValueToCppValueHelper<bool >(storage);
326  }
327 
336  void set_can_add_children(bool value) {
337  client::SetJsonValueFromCppValueHelper<bool >(
338  value, MutableStorage("canAddChildren"));
339  }
340 
351  return Storage().isMember("canChangeCopyRequiresWriterPermissionRestriction");
352  }
353 
360  MutableStorage()->removeMember("canChangeCopyRequiresWriterPermissionRestriction");
361  }
362 
363 
370  const Json::Value& storage = Storage("canChangeCopyRequiresWriterPermissionRestriction");
371  return client::JsonValueToCppValueHelper<bool >(storage);
372  }
373 
385  client::SetJsonValueFromCppValueHelper<bool >(
386  value, MutableStorage("canChangeCopyRequiresWriterPermissionRestriction"));
387  }
388 
397  return Storage().isMember("canChangeDomainUsersOnlyRestriction");
398  }
399 
404  MutableStorage()->removeMember("canChangeDomainUsersOnlyRestriction");
405  }
406 
407 
413  const Json::Value& storage = Storage("canChangeDomainUsersOnlyRestriction");
414  return client::JsonValueToCppValueHelper<bool >(storage);
415  }
416 
426  client::SetJsonValueFromCppValueHelper<bool >(
427  value, MutableStorage("canChangeDomainUsersOnlyRestriction"));
428  }
429 
438  return Storage().isMember("canChangeDriveBackground");
439  }
440 
445  MutableStorage()->removeMember("canChangeDriveBackground");
446  }
447 
448 
453  const Json::Value& storage = Storage("canChangeDriveBackground");
454  return client::JsonValueToCppValueHelper<bool >(storage);
455  }
456 
465  client::SetJsonValueFromCppValueHelper<bool >(
466  value, MutableStorage("canChangeDriveBackground"));
467  }
468 
477  return Storage().isMember("canChangeDriveMembersOnlyRestriction");
478  }
479 
484  MutableStorage()->removeMember("canChangeDriveMembersOnlyRestriction");
485  }
486 
487 
493  const Json::Value& storage = Storage("canChangeDriveMembersOnlyRestriction");
494  return client::JsonValueToCppValueHelper<bool >(storage);
495  }
496 
506  client::SetJsonValueFromCppValueHelper<bool >(
507  value, MutableStorage("canChangeDriveMembersOnlyRestriction"));
508  }
509 
515  bool has_can_comment() const {
516  return Storage().isMember("canComment");
517  }
518 
523  MutableStorage()->removeMember("canComment");
524  }
525 
526 
530  bool get_can_comment() const {
531  const Json::Value& storage = Storage("canComment");
532  return client::JsonValueToCppValueHelper<bool >(storage);
533  }
534 
542  void set_can_comment(bool value) {
543  client::SetJsonValueFromCppValueHelper<bool >(
544  value, MutableStorage("canComment"));
545  }
546 
552  bool has_can_copy() const {
553  return Storage().isMember("canCopy");
554  }
555 
559  void clear_can_copy() {
560  MutableStorage()->removeMember("canCopy");
561  }
562 
563 
567  bool get_can_copy() const {
568  const Json::Value& storage = Storage("canCopy");
569  return client::JsonValueToCppValueHelper<bool >(storage);
570  }
571 
579  void set_can_copy(bool value) {
580  client::SetJsonValueFromCppValueHelper<bool >(
581  value, MutableStorage("canCopy"));
582  }
583 
589  bool has_can_delete_children() const {
590  return Storage().isMember("canDeleteChildren");
591  }
592 
597  MutableStorage()->removeMember("canDeleteChildren");
598  }
599 
600 
604  bool get_can_delete_children() const {
605  const Json::Value& storage = Storage("canDeleteChildren");
606  return client::JsonValueToCppValueHelper<bool >(storage);
607  }
608 
617  void set_can_delete_children(bool value) {
618  client::SetJsonValueFromCppValueHelper<bool >(
619  value, MutableStorage("canDeleteChildren"));
620  }
621 
627  bool has_can_delete_drive() const {
628  return Storage().isMember("canDeleteDrive");
629  }
630 
635  MutableStorage()->removeMember("canDeleteDrive");
636  }
637 
638 
642  bool get_can_delete_drive() const {
643  const Json::Value& storage = Storage("canDeleteDrive");
644  return client::JsonValueToCppValueHelper<bool >(storage);
645  }
646 
656  void set_can_delete_drive(bool value) {
657  client::SetJsonValueFromCppValueHelper<bool >(
658  value, MutableStorage("canDeleteDrive"));
659  }
660 
666  bool has_can_download() const {
667  return Storage().isMember("canDownload");
668  }
669 
674  MutableStorage()->removeMember("canDownload");
675  }
676 
677 
681  bool get_can_download() const {
682  const Json::Value& storage = Storage("canDownload");
683  return client::JsonValueToCppValueHelper<bool >(storage);
684  }
685 
693  void set_can_download(bool value) {
694  client::SetJsonValueFromCppValueHelper<bool >(
695  value, MutableStorage("canDownload"));
696  }
697 
703  bool has_can_edit() const {
704  return Storage().isMember("canEdit");
705  }
706 
710  void clear_can_edit() {
711  MutableStorage()->removeMember("canEdit");
712  }
713 
714 
718  bool get_can_edit() const {
719  const Json::Value& storage = Storage("canEdit");
720  return client::JsonValueToCppValueHelper<bool >(storage);
721  }
722 
730  void set_can_edit(bool value) {
731  client::SetJsonValueFromCppValueHelper<bool >(
732  value, MutableStorage("canEdit"));
733  }
734 
740  bool has_can_list_children() const {
741  return Storage().isMember("canListChildren");
742  }
743 
748  MutableStorage()->removeMember("canListChildren");
749  }
750 
751 
755  bool get_can_list_children() const {
756  const Json::Value& storage = Storage("canListChildren");
757  return client::JsonValueToCppValueHelper<bool >(storage);
758  }
759 
768  void set_can_list_children(bool value) {
769  client::SetJsonValueFromCppValueHelper<bool >(
770  value, MutableStorage("canListChildren"));
771  }
772 
778  bool has_can_manage_members() const {
779  return Storage().isMember("canManageMembers");
780  }
781 
786  MutableStorage()->removeMember("canManageMembers");
787  }
788 
789 
793  bool get_can_manage_members() const {
794  const Json::Value& storage = Storage("canManageMembers");
795  return client::JsonValueToCppValueHelper<bool >(storage);
796  }
797 
806  void set_can_manage_members(bool value) {
807  client::SetJsonValueFromCppValueHelper<bool >(
808  value, MutableStorage("canManageMembers"));
809  }
810 
816  bool has_can_read_revisions() const {
817  return Storage().isMember("canReadRevisions");
818  }
819 
824  MutableStorage()->removeMember("canReadRevisions");
825  }
826 
827 
831  bool get_can_read_revisions() const {
832  const Json::Value& storage = Storage("canReadRevisions");
833  return client::JsonValueToCppValueHelper<bool >(storage);
834  }
835 
844  void set_can_read_revisions(bool value) {
845  client::SetJsonValueFromCppValueHelper<bool >(
846  value, MutableStorage("canReadRevisions"));
847  }
848 
854  bool has_can_rename() const {
855  return Storage().isMember("canRename");
856  }
857 
862  MutableStorage()->removeMember("canRename");
863  }
864 
865 
869  bool get_can_rename() const {
870  const Json::Value& storage = Storage("canRename");
871  return client::JsonValueToCppValueHelper<bool >(storage);
872  }
873 
882  void set_can_rename(bool value) {
883  client::SetJsonValueFromCppValueHelper<bool >(
884  value, MutableStorage("canRename"));
885  }
886 
892  bool has_can_rename_drive() const {
893  return Storage().isMember("canRenameDrive");
894  }
895 
900  MutableStorage()->removeMember("canRenameDrive");
901  }
902 
903 
907  bool get_can_rename_drive() const {
908  const Json::Value& storage = Storage("canRenameDrive");
909  return client::JsonValueToCppValueHelper<bool >(storage);
910  }
911 
919  void set_can_rename_drive(bool value) {
920  client::SetJsonValueFromCppValueHelper<bool >(
921  value, MutableStorage("canRenameDrive"));
922  }
923 
929  bool has_can_share() const {
930  return Storage().isMember("canShare");
931  }
932 
937  MutableStorage()->removeMember("canShare");
938  }
939 
940 
944  bool get_can_share() const {
945  const Json::Value& storage = Storage("canShare");
946  return client::JsonValueToCppValueHelper<bool >(storage);
947  }
948 
956  void set_can_share(bool value) {
957  client::SetJsonValueFromCppValueHelper<bool >(
958  value, MutableStorage("canShare"));
959  }
960 
966  bool has_can_trash_children() const {
967  return Storage().isMember("canTrashChildren");
968  }
969 
974  MutableStorage()->removeMember("canTrashChildren");
975  }
976 
977 
981  bool get_can_trash_children() const {
982  const Json::Value& storage = Storage("canTrashChildren");
983  return client::JsonValueToCppValueHelper<bool >(storage);
984  }
985 
994  void set_can_trash_children(bool value) {
995  client::SetJsonValueFromCppValueHelper<bool >(
996  value, MutableStorage("canTrashChildren"));
997  }
998 
999  private:
1000  void operator=(const DriveCapabilities&);
1001  }; // DriveCapabilities
1008  class DriveRestrictions : public client::JsonCppData {
1009  public:
1015  static DriveRestrictions* New();
1016 
1022  explicit DriveRestrictions(const Json::Value& storage);
1023 
1029  explicit DriveRestrictions(Json::Value* storage);
1030 
1034  virtual ~DriveRestrictions();
1035 
1041  const StringPiece GetTypeName() const {
1042  return StringPiece("google_drive_api::DriveRestrictions");
1043  }
1044 
1053  return Storage().isMember("adminManagedRestrictions");
1054  }
1055 
1060  MutableStorage()->removeMember("adminManagedRestrictions");
1061  }
1062 
1063 
1068  const Json::Value& storage = Storage("adminManagedRestrictions");
1069  return client::JsonValueToCppValueHelper<bool >(storage);
1070  }
1071 
1081  client::SetJsonValueFromCppValueHelper<bool >(
1082  value, MutableStorage("adminManagedRestrictions"));
1083  }
1084 
1093  return Storage().isMember("copyRequiresWriterPermission");
1094  }
1095 
1100  MutableStorage()->removeMember("copyRequiresWriterPermission");
1101  }
1102 
1103 
1109  const Json::Value& storage = Storage("copyRequiresWriterPermission");
1110  return client::JsonValueToCppValueHelper<bool >(storage);
1111  }
1112 
1124  client::SetJsonValueFromCppValueHelper<bool >(
1125  value, MutableStorage("copyRequiresWriterPermission"));
1126  }
1127 
1133  bool has_domain_users_only() const {
1134  return Storage().isMember("domainUsersOnly");
1135  }
1136 
1141  MutableStorage()->removeMember("domainUsersOnly");
1142  }
1143 
1144 
1148  bool get_domain_users_only() const {
1149  const Json::Value& storage = Storage("domainUsersOnly");
1150  return client::JsonValueToCppValueHelper<bool >(storage);
1151  }
1152 
1163  void set_domain_users_only(bool value) {
1164  client::SetJsonValueFromCppValueHelper<bool >(
1165  value, MutableStorage("domainUsersOnly"));
1166  }
1167 
1173  bool has_drive_members_only() const {
1174  return Storage().isMember("driveMembersOnly");
1175  }
1176 
1181  MutableStorage()->removeMember("driveMembersOnly");
1182  }
1183 
1184 
1188  bool get_drive_members_only() const {
1189  const Json::Value& storage = Storage("driveMembersOnly");
1190  return client::JsonValueToCppValueHelper<bool >(storage);
1191  }
1192 
1201  void set_drive_members_only(bool value) {
1202  client::SetJsonValueFromCppValueHelper<bool >(
1203  value, MutableStorage("driveMembersOnly"));
1204  }
1205 
1206  private:
1207  void operator=(const DriveRestrictions&);
1208  }; // DriveRestrictions
1214  static Drive* New();
1215 
1221  explicit Drive(const Json::Value& storage);
1222 
1228  explicit Drive(Json::Value* storage);
1229 
1233  virtual ~Drive();
1234 
1240  const StringPiece GetTypeName() const {
1241  return StringPiece("google_drive_api::Drive");
1242  }
1243 
1250  return Storage().isMember("backgroundImageFile");
1251  }
1252 
1257  MutableStorage()->removeMember("backgroundImageFile");
1258  }
1259 
1260 
1266  const Json::Value& storage = Storage("backgroundImageFile");
1267  return client::JsonValueToCppValueHelper<DriveBackgroundImageFile >(storage);
1268  }
1269 
1282  Json::Value* storage = MutableStorage("backgroundImageFile");
1283  return client::JsonValueToMutableCppValueHelper<DriveBackgroundImageFile >(storage);
1284  }
1285 
1292  return Storage().isMember("backgroundImageLink");
1293  }
1294 
1299  MutableStorage()->removeMember("backgroundImageLink");
1300  }
1301 
1302 
1306  const StringPiece get_background_image_link() const {
1307  const Json::Value& v = Storage("backgroundImageLink");
1308  if (v == Json::Value::null) return StringPiece("");
1309  return StringPiece(v.asCString());
1310  }
1311 
1319  void set_background_image_link(const StringPiece& value) {
1320  *MutableStorage("backgroundImageLink") = value.data();
1321  }
1322 
1328  bool has_capabilities() const {
1329  return Storage().isMember("capabilities");
1330  }
1331 
1336  MutableStorage()->removeMember("capabilities");
1337  }
1338 
1339 
1344  const Json::Value& storage = Storage("capabilities");
1345  return client::JsonValueToCppValueHelper<DriveCapabilities >(storage);
1346  }
1347 
1357  Json::Value* storage = MutableStorage("capabilities");
1358  return client::JsonValueToMutableCppValueHelper<DriveCapabilities >(storage);
1359  }
1360 
1366  bool has_color_rgb() const {
1367  return Storage().isMember("colorRgb");
1368  }
1369 
1374  MutableStorage()->removeMember("colorRgb");
1375  }
1376 
1377 
1381  const StringPiece get_color_rgb() const {
1382  const Json::Value& v = Storage("colorRgb");
1383  if (v == Json::Value::null) return StringPiece("");
1384  return StringPiece(v.asCString());
1385  }
1386 
1395  void set_color_rgb(const StringPiece& value) {
1396  *MutableStorage("colorRgb") = value.data();
1397  }
1398 
1404  bool has_created_date() const {
1405  return Storage().isMember("createdDate");
1406  }
1407 
1412  MutableStorage()->removeMember("createdDate");
1413  }
1414 
1415 
1419  client::DateTime get_created_date() const {
1420  const Json::Value& storage = Storage("createdDate");
1421  return client::JsonValueToCppValueHelper<client::DateTime >(storage);
1422  }
1423 
1431  void set_created_date(client::DateTime value) {
1432  client::SetJsonValueFromCppValueHelper<client::DateTime >(
1433  value, MutableStorage("createdDate"));
1434  }
1435 
1441  bool has_hidden() const {
1442  return Storage().isMember("hidden");
1443  }
1444 
1448  void clear_hidden() {
1449  MutableStorage()->removeMember("hidden");
1450  }
1451 
1452 
1456  bool get_hidden() const {
1457  const Json::Value& storage = Storage("hidden");
1458  return client::JsonValueToCppValueHelper<bool >(storage);
1459  }
1460 
1468  void set_hidden(bool value) {
1469  client::SetJsonValueFromCppValueHelper<bool >(
1470  value, MutableStorage("hidden"));
1471  }
1472 
1478  bool has_id() const {
1479  return Storage().isMember("id");
1480  }
1481 
1485  void clear_id() {
1486  MutableStorage()->removeMember("id");
1487  }
1488 
1489 
1493  const StringPiece get_id() const {
1494  const Json::Value& v = Storage("id");
1495  if (v == Json::Value::null) return StringPiece("");
1496  return StringPiece(v.asCString());
1497  }
1498 
1507  void set_id(const StringPiece& value) {
1508  *MutableStorage("id") = value.data();
1509  }
1510 
1516  bool has_kind() const {
1517  return Storage().isMember("kind");
1518  }
1519 
1523  void clear_kind() {
1524  MutableStorage()->removeMember("kind");
1525  }
1526 
1527 
1531  const StringPiece get_kind() const {
1532  const Json::Value& v = Storage("kind");
1533  if (v == Json::Value::null) return StringPiece("");
1534  return StringPiece(v.asCString());
1535  }
1536 
1544  void set_kind(const StringPiece& value) {
1545  *MutableStorage("kind") = value.data();
1546  }
1547 
1553  bool has_name() const {
1554  return Storage().isMember("name");
1555  }
1556 
1560  void clear_name() {
1561  MutableStorage()->removeMember("name");
1562  }
1563 
1564 
1568  const StringPiece get_name() const {
1569  const Json::Value& v = Storage("name");
1570  if (v == Json::Value::null) return StringPiece("");
1571  return StringPiece(v.asCString());
1572  }
1573 
1581  void set_name(const StringPiece& value) {
1582  *MutableStorage("name") = value.data();
1583  }
1584 
1590  bool has_restrictions() const {
1591  return Storage().isMember("restrictions");
1592  }
1593 
1598  MutableStorage()->removeMember("restrictions");
1599  }
1600 
1601 
1606  const Json::Value& storage = Storage("restrictions");
1607  return client::JsonValueToCppValueHelper<DriveRestrictions >(storage);
1608  }
1609 
1620  Json::Value* storage = MutableStorage("restrictions");
1621  return client::JsonValueToMutableCppValueHelper<DriveRestrictions >(storage);
1622  }
1623 
1629  bool has_theme_id() const {
1630  return Storage().isMember("themeId");
1631  }
1632 
1637  MutableStorage()->removeMember("themeId");
1638  }
1639 
1640 
1644  const StringPiece get_theme_id() const {
1645  const Json::Value& v = Storage("themeId");
1646  if (v == Json::Value::null) return StringPiece("");
1647  return StringPiece(v.asCString());
1648  }
1649 
1662  void set_theme_id(const StringPiece& value) {
1663  *MutableStorage("themeId") = value.data();
1664  }
1665 
1666  private:
1667  void operator=(const Drive&);
1668 }; // Drive
1669 } // namespace google_drive_api
1670 #endif // GOOGLE_DRIVE_API_DRIVE_H_
void set_can_change_domain_users_only_restriction(bool value)
Definition: drive.h:425
bool get_admin_managed_restrictions() const
Definition: drive.h:1067
void set_can_rename(bool value)
Definition: drive.h:882
void clear_can_delete_drive()
Definition: drive.h:634
bool get_can_change_domain_users_only_restriction() const
Definition: drive.h:412
bool get_can_comment() const
Definition: drive.h:530
void clear_can_comment()
Definition: drive.h:522
float get_y_coordinate() const
Definition: drive.h:237
void clear_background_image_file()
Definition: drive.h:1256
void clear_background_image_link()
Definition: drive.h:1298
void clear_can_read_revisions()
Definition: drive.h:823
void clear_hidden()
Definition: drive.h:1448
bool has_can_delete_children() const
Definition: drive.h:589
void clear_can_manage_members()
Definition: drive.h:785
void set_can_delete_children(bool value)
Definition: drive.h:617
DriveBackgroundImageFile mutable_backgroundImageFile()
Definition: drive.h:1281
void set_can_read_revisions(bool value)
Definition: drive.h:844
bool has_width() const
Definition: drive.h:140
void set_can_change_drive_members_only_restriction(bool value)
Definition: drive.h:505
bool has_can_share() const
Definition: drive.h:929
bool get_can_read_revisions() const
Definition: drive.h:831
DriveCapabilities mutable_capabilities()
Definition: drive.h:1356
void set_x_coordinate(float value)
Definition: drive.h:212
bool get_can_list_children() const
Definition: drive.h:755
bool has_y_coordinate() const
Definition: drive.h:222
void clear_theme_id()
Definition: drive.h:1636
void clear_capabilities()
Definition: drive.h:1335
void clear_can_rename()
Definition: drive.h:861
bool has_can_rename_drive() const
Definition: drive.h:892
void set_can_share(bool value)
Definition: drive.h:956
bool get_can_delete_drive() const
Definition: drive.h:642
void clear_can_change_copy_requires_writer_permission_restriction()
Definition: drive.h:359
const StringPiece get_background_image_link() const
Definition: drive.h:1306
bool has_can_trash_children() const
Definition: drive.h:966
const StringPiece get_color_rgb() const
Definition: drive.h:1381
void set_can_download(bool value)
Definition: drive.h:693
bool get_can_add_children() const
Definition: drive.h:323
bool has_admin_managed_restrictions() const
Definition: drive.h:1052
void set_created_date(client::DateTime value)
Definition: drive.h:1431
bool get_can_delete_children() const
Definition: drive.h:604
bool has_capabilities() const
Definition: drive.h:1328
void set_can_comment(bool value)
Definition: drive.h:542
void clear_y_coordinate()
Definition: drive.h:229
void clear_can_change_drive_members_only_restriction()
Definition: drive.h:483
const DriveBackgroundImageFile get_background_image_file() const
Definition: drive.h:1265
Definition: drive.h:51
bool has_id() const
Definition: drive.h:103
void clear_id()
Definition: drive.h:1485
const StringPiece GetTypeName() const
Definition: drive.h:1041
bool has_x_coordinate() const
Definition: drive.h:181
void clear_can_copy()
Definition: drive.h:559
const StringPiece GetTypeName() const
Definition: drive.h:1240
void set_width(float value)
Definition: drive.h:171
void set_can_edit(bool value)
Definition: drive.h:730
bool has_can_list_children() const
Definition: drive.h:740
bool get_can_rename_drive() const
Definition: drive.h:907
bool has_can_manage_members() const
Definition: drive.h:778
bool get_can_rename() const
Definition: drive.h:869
void clear_created_date()
Definition: drive.h:1411
void clear_can_list_children()
Definition: drive.h:747
void set_background_image_link(const StringPiece &value)
Definition: drive.h:1319
bool get_can_edit() const
Definition: drive.h:718
bool has_created_date() const
Definition: drive.h:1404
void clear_can_rename_drive()
Definition: drive.h:899
void set_id(const StringPiece &value)
Definition: drive.h:1507
bool get_can_change_drive_members_only_restriction() const
Definition: drive.h:492
void set_can_trash_children(bool value)
Definition: drive.h:994
void set_domain_users_only(bool value)
Definition: drive.h:1163
bool has_can_copy() const
Definition: drive.h:552
bool has_can_rename() const
Definition: drive.h:854
void set_id(const StringPiece &value)
Definition: drive.h:131
bool get_can_change_copy_requires_writer_permission_restriction() const
Definition: drive.h:369
void clear_can_change_drive_background()
Definition: drive.h:444
const StringPiece get_id() const
Definition: drive.h:1493
bool get_copy_requires_writer_permission() const
Definition: drive.h:1108
const StringPiece GetTypeName() const
Definition: drive.h:94
void set_can_delete_drive(bool value)
Definition: drive.h:656
bool has_can_change_drive_members_only_restriction() const
Definition: drive.h:476
void clear_can_download()
Definition: drive.h:673
bool has_domain_users_only() const
Definition: drive.h:1133
bool has_drive_members_only() const
Definition: drive.h:1173
void clear_can_delete_children()
Definition: drive.h:596
bool has_can_edit() const
Definition: drive.h:703
void clear_drive_members_only()
Definition: drive.h:1180
void set_can_change_drive_background(bool value)
Definition: drive.h:464
void clear_copy_requires_writer_permission()
Definition: drive.h:1099
Definition: about.h:41
bool has_can_change_domain_users_only_restriction() const
Definition: drive.h:396
float get_width() const
Definition: drive.h:155
void clear_kind()
Definition: drive.h:1523
bool has_background_image_link() const
Definition: drive.h:1291
bool has_theme_id() const
Definition: drive.h:1629
void set_color_rgb(const StringPiece &value)
Definition: drive.h:1395
bool has_can_add_children() const
Definition: drive.h:308
bool has_name() const
Definition: drive.h:1553
void set_name(const StringPiece &value)
Definition: drive.h:1581
void clear_restrictions()
Definition: drive.h:1597
const StringPiece get_id() const
Definition: drive.h:118
void set_hidden(bool value)
Definition: drive.h:1468
void clear_admin_managed_restrictions()
Definition: drive.h:1059
void clear_x_coordinate()
Definition: drive.h:188
void set_drive_members_only(bool value)
Definition: drive.h:1201
const StringPiece get_kind() const
Definition: drive.h:1531
void set_kind(const StringPiece &value)
Definition: drive.h:1544
void clear_domain_users_only()
Definition: drive.h:1140
bool has_kind() const
Definition: drive.h:1516
bool has_can_change_drive_background() const
Definition: drive.h:437
void set_can_manage_members(bool value)
Definition: drive.h:806
bool has_can_delete_drive() const
Definition: drive.h:627
bool get_can_copy() const
Definition: drive.h:567
float get_x_coordinate() const
Definition: drive.h:196
const StringPiece get_theme_id() const
Definition: drive.h:1644
void set_can_copy(bool value)
Definition: drive.h:579
void set_can_rename_drive(bool value)
Definition: drive.h:919
const DriveCapabilities get_capabilities() const
Definition: drive.h:1343
void clear_can_trash_children()
Definition: drive.h:973
client::DateTime get_created_date() const
Definition: drive.h:1419
void clear_color_rgb()
Definition: drive.h:1373
void clear_can_change_domain_users_only_restriction()
Definition: drive.h:403
void clear_name()
Definition: drive.h:1560
bool has_can_change_copy_requires_writer_permission_restriction() const
Definition: drive.h:350
void set_can_change_copy_requires_writer_permission_restriction(bool value)
Definition: drive.h:384
bool get_drive_members_only() const
Definition: drive.h:1188
bool get_can_download() const
Definition: drive.h:681
void clear_can_share()
Definition: drive.h:936
bool has_color_rgb() const
Definition: drive.h:1366
bool has_hidden() const
Definition: drive.h:1441
const DriveRestrictions get_restrictions() const
Definition: drive.h:1605
void set_y_coordinate(float value)
Definition: drive.h:253
bool get_domain_users_only() const
Definition: drive.h:1148
void set_admin_managed_restrictions(bool value)
Definition: drive.h:1080
void set_can_add_children(bool value)
Definition: drive.h:336
bool has_copy_requires_writer_permission() const
Definition: drive.h:1092
void clear_can_add_children()
Definition: drive.h:315
bool has_background_image_file() const
Definition: drive.h:1249
void clear_can_edit()
Definition: drive.h:710
bool get_can_share() const
Definition: drive.h:944
bool has_id() const
Definition: drive.h:1478
bool get_hidden() const
Definition: drive.h:1456
bool has_can_read_revisions() const
Definition: drive.h:816
bool get_can_change_drive_background() const
Definition: drive.h:452
void set_theme_id(const StringPiece &value)
Definition: drive.h:1662
bool get_can_trash_children() const
Definition: drive.h:981
const StringPiece get_name() const
Definition: drive.h:1568
Definition: about.cc:43
bool get_can_manage_members() const
Definition: drive.h:793
bool has_can_comment() const
Definition: drive.h:515
void set_can_list_children(bool value)
Definition: drive.h:768
bool has_can_download() const
Definition: drive.h:666
void set_copy_requires_writer_permission(bool value)
Definition: drive.h:1123
const StringPiece GetTypeName() const
Definition: drive.h:299
DriveRestrictions mutable_restrictions()
Definition: drive.h:1619
bool has_restrictions() const
Definition: drive.h:1590