drive  v2
team_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_TEAM_DRIVE_H_
31 #define GOOGLE_DRIVE_API_TEAM_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 TeamDrive : public client::JsonCppData {
52  public:
61  class TeamDriveBackgroundImageFile : public client::JsonCppData {
62  public:
68  static TeamDriveBackgroundImageFile* New();
69 
75  explicit TeamDriveBackgroundImageFile(const Json::Value& storage);
76 
82  explicit TeamDriveBackgroundImageFile(Json::Value* storage);
83 
88 
94  const StringPiece GetTypeName() const {
95  return StringPiece("google_drive_api::TeamDriveBackgroundImageFile");
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 TeamDriveBackgroundImageFile&);
260  }; // TeamDriveBackgroundImageFile
266  class TeamDriveCapabilities : public client::JsonCppData {
267  public:
273  static TeamDriveCapabilities* New();
274 
280  explicit TeamDriveCapabilities(const Json::Value& storage);
281 
287  explicit TeamDriveCapabilities(Json::Value* storage);
288 
292  virtual ~TeamDriveCapabilities();
293 
299  const StringPiece GetTypeName() const {
300  return StringPiece("google_drive_api::TeamDriveCapabilities");
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 
335  void set_can_add_children(bool value) {
336  client::SetJsonValueFromCppValueHelper<bool >(
337  value, MutableStorage("canAddChildren"));
338  }
339 
350  return Storage().isMember("canChangeCopyRequiresWriterPermissionRestriction");
351  }
352 
359  MutableStorage()->removeMember("canChangeCopyRequiresWriterPermissionRestriction");
360  }
361 
362 
369  const Json::Value& storage = Storage("canChangeCopyRequiresWriterPermissionRestriction");
370  return client::JsonValueToCppValueHelper<bool >(storage);
371  }
372 
384  client::SetJsonValueFromCppValueHelper<bool >(
385  value, MutableStorage("canChangeCopyRequiresWriterPermissionRestriction"));
386  }
387 
396  return Storage().isMember("canChangeDomainUsersOnlyRestriction");
397  }
398 
403  MutableStorage()->removeMember("canChangeDomainUsersOnlyRestriction");
404  }
405 
406 
412  const Json::Value& storage = Storage("canChangeDomainUsersOnlyRestriction");
413  return client::JsonValueToCppValueHelper<bool >(storage);
414  }
415 
425  client::SetJsonValueFromCppValueHelper<bool >(
426  value, MutableStorage("canChangeDomainUsersOnlyRestriction"));
427  }
428 
437  return Storage().isMember("canChangeTeamDriveBackground");
438  }
439 
444  MutableStorage()->removeMember("canChangeTeamDriveBackground");
445  }
446 
447 
453  const Json::Value& storage = Storage("canChangeTeamDriveBackground");
454  return client::JsonValueToCppValueHelper<bool >(storage);
455  }
456 
465  client::SetJsonValueFromCppValueHelper<bool >(
466  value, MutableStorage("canChangeTeamDriveBackground"));
467  }
468 
477  return Storage().isMember("canChangeTeamMembersOnlyRestriction");
478  }
479 
484  MutableStorage()->removeMember("canChangeTeamMembersOnlyRestriction");
485  }
486 
487 
493  const Json::Value& storage = Storage("canChangeTeamMembersOnlyRestriction");
494  return client::JsonValueToCppValueHelper<bool >(storage);
495  }
496 
506  client::SetJsonValueFromCppValueHelper<bool >(
507  value, MutableStorage("canChangeTeamMembersOnlyRestriction"));
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 
628  return Storage().isMember("canDeleteTeamDrive");
629  }
630 
635  MutableStorage()->removeMember("canDeleteTeamDrive");
636  }
637 
638 
643  const Json::Value& storage = Storage("canDeleteTeamDrive");
644  return client::JsonValueToCppValueHelper<bool >(storage);
645  }
646 
656  void set_can_delete_team_drive(bool value) {
657  client::SetJsonValueFromCppValueHelper<bool >(
658  value, MutableStorage("canDeleteTeamDrive"));
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_remove_children() const {
855  return Storage().isMember("canRemoveChildren");
856  }
857 
862  MutableStorage()->removeMember("canRemoveChildren");
863  }
864 
865 
869  bool get_can_remove_children() const {
870  const Json::Value& storage = Storage("canRemoveChildren");
871  return client::JsonValueToCppValueHelper<bool >(storage);
872  }
873 
883  void set_can_remove_children(bool value) {
884  client::SetJsonValueFromCppValueHelper<bool >(
885  value, MutableStorage("canRemoveChildren"));
886  }
887 
893  bool has_can_rename() const {
894  return Storage().isMember("canRename");
895  }
896 
901  MutableStorage()->removeMember("canRename");
902  }
903 
904 
908  bool get_can_rename() const {
909  const Json::Value& storage = Storage("canRename");
910  return client::JsonValueToCppValueHelper<bool >(storage);
911  }
912 
920  void set_can_rename(bool value) {
921  client::SetJsonValueFromCppValueHelper<bool >(
922  value, MutableStorage("canRename"));
923  }
924 
931  return Storage().isMember("canRenameTeamDrive");
932  }
933 
938  MutableStorage()->removeMember("canRenameTeamDrive");
939  }
940 
941 
946  const Json::Value& storage = Storage("canRenameTeamDrive");
947  return client::JsonValueToCppValueHelper<bool >(storage);
948  }
949 
957  void set_can_rename_team_drive(bool value) {
958  client::SetJsonValueFromCppValueHelper<bool >(
959  value, MutableStorage("canRenameTeamDrive"));
960  }
961 
967  bool has_can_share() const {
968  return Storage().isMember("canShare");
969  }
970 
975  MutableStorage()->removeMember("canShare");
976  }
977 
978 
982  bool get_can_share() const {
983  const Json::Value& storage = Storage("canShare");
984  return client::JsonValueToCppValueHelper<bool >(storage);
985  }
986 
994  void set_can_share(bool value) {
995  client::SetJsonValueFromCppValueHelper<bool >(
996  value, MutableStorage("canShare"));
997  }
998 
1004  bool has_can_trash_children() const {
1005  return Storage().isMember("canTrashChildren");
1006  }
1007 
1012  MutableStorage()->removeMember("canTrashChildren");
1013  }
1014 
1015 
1019  bool get_can_trash_children() const {
1020  const Json::Value& storage = Storage("canTrashChildren");
1021  return client::JsonValueToCppValueHelper<bool >(storage);
1022  }
1023 
1032  void set_can_trash_children(bool value) {
1033  client::SetJsonValueFromCppValueHelper<bool >(
1034  value, MutableStorage("canTrashChildren"));
1035  }
1036 
1037  private:
1038  void operator=(const TeamDriveCapabilities&);
1039  }; // TeamDriveCapabilities
1046  class TeamDriveRestrictions : public client::JsonCppData {
1047  public:
1053  static TeamDriveRestrictions* New();
1054 
1060  explicit TeamDriveRestrictions(const Json::Value& storage);
1061 
1067  explicit TeamDriveRestrictions(Json::Value* storage);
1068 
1072  virtual ~TeamDriveRestrictions();
1073 
1079  const StringPiece GetTypeName() const {
1080  return StringPiece("google_drive_api::TeamDriveRestrictions");
1081  }
1082 
1091  return Storage().isMember("adminManagedRestrictions");
1092  }
1093 
1098  MutableStorage()->removeMember("adminManagedRestrictions");
1099  }
1100 
1101 
1106  const Json::Value& storage = Storage("adminManagedRestrictions");
1107  return client::JsonValueToCppValueHelper<bool >(storage);
1108  }
1109 
1119  client::SetJsonValueFromCppValueHelper<bool >(
1120  value, MutableStorage("adminManagedRestrictions"));
1121  }
1122 
1131  return Storage().isMember("copyRequiresWriterPermission");
1132  }
1133 
1138  MutableStorage()->removeMember("copyRequiresWriterPermission");
1139  }
1140 
1141 
1147  const Json::Value& storage = Storage("copyRequiresWriterPermission");
1148  return client::JsonValueToCppValueHelper<bool >(storage);
1149  }
1150 
1162  client::SetJsonValueFromCppValueHelper<bool >(
1163  value, MutableStorage("copyRequiresWriterPermission"));
1164  }
1165 
1171  bool has_domain_users_only() const {
1172  return Storage().isMember("domainUsersOnly");
1173  }
1174 
1179  MutableStorage()->removeMember("domainUsersOnly");
1180  }
1181 
1182 
1186  bool get_domain_users_only() const {
1187  const Json::Value& storage = Storage("domainUsersOnly");
1188  return client::JsonValueToCppValueHelper<bool >(storage);
1189  }
1190 
1201  void set_domain_users_only(bool value) {
1202  client::SetJsonValueFromCppValueHelper<bool >(
1203  value, MutableStorage("domainUsersOnly"));
1204  }
1205 
1211  bool has_team_members_only() const {
1212  return Storage().isMember("teamMembersOnly");
1213  }
1214 
1219  MutableStorage()->removeMember("teamMembersOnly");
1220  }
1221 
1222 
1226  bool get_team_members_only() const {
1227  const Json::Value& storage = Storage("teamMembersOnly");
1228  return client::JsonValueToCppValueHelper<bool >(storage);
1229  }
1230 
1239  void set_team_members_only(bool value) {
1240  client::SetJsonValueFromCppValueHelper<bool >(
1241  value, MutableStorage("teamMembersOnly"));
1242  }
1243 
1244  private:
1245  void operator=(const TeamDriveRestrictions&);
1246  }; // TeamDriveRestrictions
1252  static TeamDrive* New();
1253 
1259  explicit TeamDrive(const Json::Value& storage);
1260 
1266  explicit TeamDrive(Json::Value* storage);
1267 
1271  virtual ~TeamDrive();
1272 
1278  const StringPiece GetTypeName() const {
1279  return StringPiece("google_drive_api::TeamDrive");
1280  }
1281 
1288  return Storage().isMember("backgroundImageFile");
1289  }
1290 
1295  MutableStorage()->removeMember("backgroundImageFile");
1296  }
1297 
1298 
1304  const Json::Value& storage = Storage("backgroundImageFile");
1305  return client::JsonValueToCppValueHelper<TeamDriveBackgroundImageFile >(storage);
1306  }
1307 
1320  Json::Value* storage = MutableStorage("backgroundImageFile");
1321  return client::JsonValueToMutableCppValueHelper<TeamDriveBackgroundImageFile >(storage);
1322  }
1323 
1330  return Storage().isMember("backgroundImageLink");
1331  }
1332 
1337  MutableStorage()->removeMember("backgroundImageLink");
1338  }
1339 
1340 
1344  const StringPiece get_background_image_link() const {
1345  const Json::Value& v = Storage("backgroundImageLink");
1346  if (v == Json::Value::null) return StringPiece("");
1347  return StringPiece(v.asCString());
1348  }
1349 
1357  void set_background_image_link(const StringPiece& value) {
1358  *MutableStorage("backgroundImageLink") = value.data();
1359  }
1360 
1366  bool has_capabilities() const {
1367  return Storage().isMember("capabilities");
1368  }
1369 
1374  MutableStorage()->removeMember("capabilities");
1375  }
1376 
1377 
1382  const Json::Value& storage = Storage("capabilities");
1383  return client::JsonValueToCppValueHelper<TeamDriveCapabilities >(storage);
1384  }
1385 
1395  Json::Value* storage = MutableStorage("capabilities");
1396  return client::JsonValueToMutableCppValueHelper<TeamDriveCapabilities >(storage);
1397  }
1398 
1404  bool has_color_rgb() const {
1405  return Storage().isMember("colorRgb");
1406  }
1407 
1412  MutableStorage()->removeMember("colorRgb");
1413  }
1414 
1415 
1419  const StringPiece get_color_rgb() const {
1420  const Json::Value& v = Storage("colorRgb");
1421  if (v == Json::Value::null) return StringPiece("");
1422  return StringPiece(v.asCString());
1423  }
1424 
1433  void set_color_rgb(const StringPiece& value) {
1434  *MutableStorage("colorRgb") = value.data();
1435  }
1436 
1442  bool has_created_date() const {
1443  return Storage().isMember("createdDate");
1444  }
1445 
1450  MutableStorage()->removeMember("createdDate");
1451  }
1452 
1453 
1457  client::DateTime get_created_date() const {
1458  const Json::Value& storage = Storage("createdDate");
1459  return client::JsonValueToCppValueHelper<client::DateTime >(storage);
1460  }
1461 
1469  void set_created_date(client::DateTime value) {
1470  client::SetJsonValueFromCppValueHelper<client::DateTime >(
1471  value, MutableStorage("createdDate"));
1472  }
1473 
1479  bool has_id() const {
1480  return Storage().isMember("id");
1481  }
1482 
1486  void clear_id() {
1487  MutableStorage()->removeMember("id");
1488  }
1489 
1490 
1494  const StringPiece get_id() const {
1495  const Json::Value& v = Storage("id");
1496  if (v == Json::Value::null) return StringPiece("");
1497  return StringPiece(v.asCString());
1498  }
1499 
1508  void set_id(const StringPiece& value) {
1509  *MutableStorage("id") = value.data();
1510  }
1511 
1517  bool has_kind() const {
1518  return Storage().isMember("kind");
1519  }
1520 
1524  void clear_kind() {
1525  MutableStorage()->removeMember("kind");
1526  }
1527 
1528 
1532  const StringPiece get_kind() const {
1533  const Json::Value& v = Storage("kind");
1534  if (v == Json::Value::null) return StringPiece("");
1535  return StringPiece(v.asCString());
1536  }
1537 
1545  void set_kind(const StringPiece& value) {
1546  *MutableStorage("kind") = value.data();
1547  }
1548 
1554  bool has_name() const {
1555  return Storage().isMember("name");
1556  }
1557 
1561  void clear_name() {
1562  MutableStorage()->removeMember("name");
1563  }
1564 
1565 
1569  const StringPiece get_name() const {
1570  const Json::Value& v = Storage("name");
1571  if (v == Json::Value::null) return StringPiece("");
1572  return StringPiece(v.asCString());
1573  }
1574 
1582  void set_name(const StringPiece& value) {
1583  *MutableStorage("name") = value.data();
1584  }
1585 
1591  bool has_restrictions() const {
1592  return Storage().isMember("restrictions");
1593  }
1594 
1599  MutableStorage()->removeMember("restrictions");
1600  }
1601 
1602 
1607  const Json::Value& storage = Storage("restrictions");
1608  return client::JsonValueToCppValueHelper<TeamDriveRestrictions >(storage);
1609  }
1610 
1621  Json::Value* storage = MutableStorage("restrictions");
1622  return client::JsonValueToMutableCppValueHelper<TeamDriveRestrictions >(storage);
1623  }
1624 
1630  bool has_theme_id() const {
1631  return Storage().isMember("themeId");
1632  }
1633 
1638  MutableStorage()->removeMember("themeId");
1639  }
1640 
1641 
1645  const StringPiece get_theme_id() const {
1646  const Json::Value& v = Storage("themeId");
1647  if (v == Json::Value::null) return StringPiece("");
1648  return StringPiece(v.asCString());
1649  }
1650 
1663  void set_theme_id(const StringPiece& value) {
1664  *MutableStorage("themeId") = value.data();
1665  }
1666 
1667  private:
1668  void operator=(const TeamDrive&);
1669 }; // TeamDrive
1670 } // namespace google_drive_api
1671 #endif // GOOGLE_DRIVE_API_TEAM_DRIVE_H_
bool has_copy_requires_writer_permission() const
Definition: team_drive.h:1130
bool get_can_trash_children() const
Definition: team_drive.h:1019
bool get_can_remove_children() const
Definition: team_drive.h:869
void clear_can_change_copy_requires_writer_permission_restriction()
Definition: team_drive.h:358
void set_theme_id(const StringPiece &value)
Definition: team_drive.h:1663
bool has_id() const
Definition: team_drive.h:103
const StringPiece GetTypeName() const
Definition: team_drive.h:299
bool has_can_list_children() const
Definition: team_drive.h:740
const TeamDriveRestrictions get_restrictions() const
Definition: team_drive.h:1606
bool has_background_image_file() const
Definition: team_drive.h:1287
bool has_can_rename_team_drive() const
Definition: team_drive.h:930
void set_can_remove_children(bool value)
Definition: team_drive.h:883
void set_x_coordinate(float value)
Definition: team_drive.h:212
bool has_color_rgb() const
Definition: team_drive.h:1404
TeamDriveBackgroundImageFile mutable_backgroundImageFile()
Definition: team_drive.h:1319
float get_width() const
Definition: team_drive.h:155
const StringPiece GetTypeName() const
Definition: team_drive.h:1278
bool has_can_change_copy_requires_writer_permission_restriction() const
Definition: team_drive.h:349
bool has_can_copy() const
Definition: team_drive.h:552
bool has_can_delete_children() const
Definition: team_drive.h:589
bool has_can_change_team_drive_background() const
Definition: team_drive.h:436
void clear_theme_id()
Definition: team_drive.h:1637
bool get_can_edit() const
Definition: team_drive.h:718
bool has_created_date() const
Definition: team_drive.h:1442
bool get_can_comment() const
Definition: team_drive.h:530
void clear_can_rename_team_drive()
Definition: team_drive.h:937
bool has_can_read_revisions() const
Definition: team_drive.h:816
bool get_can_list_children() const
Definition: team_drive.h:755
void clear_background_image_link()
Definition: team_drive.h:1336
bool has_theme_id() const
Definition: team_drive.h:1630
bool has_can_rename() const
Definition: team_drive.h:893
void clear_id()
Definition: team_drive.h:1486
void clear_restrictions()
Definition: team_drive.h:1598
void set_admin_managed_restrictions(bool value)
Definition: team_drive.h:1118
Definition: team_drive.h:51
void set_can_trash_children(bool value)
Definition: team_drive.h:1032
bool get_can_manage_members() const
Definition: team_drive.h:793
float get_y_coordinate() const
Definition: team_drive.h:237
const StringPiece get_id() const
Definition: team_drive.h:118
bool has_y_coordinate() const
Definition: team_drive.h:222
void set_can_edit(bool value)
Definition: team_drive.h:730
const TeamDriveBackgroundImageFile get_background_image_file() const
Definition: team_drive.h:1303
void set_copy_requires_writer_permission(bool value)
Definition: team_drive.h:1161
void clear_can_manage_members()
Definition: team_drive.h:785
void set_can_change_team_members_only_restriction(bool value)
Definition: team_drive.h:505
void set_can_change_domain_users_only_restriction(bool value)
Definition: team_drive.h:424
void clear_admin_managed_restrictions()
Definition: team_drive.h:1097
bool has_can_trash_children() const
Definition: team_drive.h:1004
bool has_x_coordinate() const
Definition: team_drive.h:181
void clear_x_coordinate()
Definition: team_drive.h:188
bool get_team_members_only() const
Definition: team_drive.h:1226
void set_can_comment(bool value)
Definition: team_drive.h:542
void set_id(const StringPiece &value)
Definition: team_drive.h:1508
void set_can_change_copy_requires_writer_permission_restriction(bool value)
Definition: team_drive.h:383
bool get_can_add_children() const
Definition: team_drive.h:323
bool has_can_edit() const
Definition: team_drive.h:703
bool get_can_download() const
Definition: team_drive.h:681
void clear_can_trash_children()
Definition: team_drive.h:1011
void clear_can_edit()
Definition: team_drive.h:710
const StringPiece get_background_image_link() const
Definition: team_drive.h:1344
void set_kind(const StringPiece &value)
Definition: team_drive.h:1545
bool has_domain_users_only() const
Definition: team_drive.h:1171
void set_can_download(bool value)
Definition: team_drive.h:693
bool get_can_delete_children() const
Definition: team_drive.h:604
bool get_can_share() const
Definition: team_drive.h:982
void set_background_image_link(const StringPiece &value)
Definition: team_drive.h:1357
bool has_can_add_children() const
Definition: team_drive.h:308
void set_can_share(bool value)
Definition: team_drive.h:994
float get_x_coordinate() const
Definition: team_drive.h:196
TeamDriveRestrictions mutable_restrictions()
Definition: team_drive.h:1620
void set_name(const StringPiece &value)
Definition: team_drive.h:1582
bool get_can_change_team_members_only_restriction() const
Definition: team_drive.h:492
void set_can_delete_team_drive(bool value)
Definition: team_drive.h:656
bool has_can_share() const
Definition: team_drive.h:967
const StringPiece get_theme_id() const
Definition: team_drive.h:1645
Definition: about.h:41
void set_team_members_only(bool value)
Definition: team_drive.h:1239
void clear_can_download()
Definition: team_drive.h:673
bool has_can_download() const
Definition: team_drive.h:666
const StringPiece get_kind() const
Definition: team_drive.h:1532
bool has_id() const
Definition: team_drive.h:1479
client::DateTime get_created_date() const
Definition: team_drive.h:1457
bool has_team_members_only() const
Definition: team_drive.h:1211
bool get_can_rename_team_drive() const
Definition: team_drive.h:945
bool get_can_delete_team_drive() const
Definition: team_drive.h:642
void clear_can_read_revisions()
Definition: team_drive.h:823
void set_created_date(client::DateTime value)
Definition: team_drive.h:1469
bool has_admin_managed_restrictions() const
Definition: team_drive.h:1090
void clear_copy_requires_writer_permission()
Definition: team_drive.h:1137
bool has_can_manage_members() const
Definition: team_drive.h:778
TeamDriveCapabilities mutable_capabilities()
Definition: team_drive.h:1394
void set_can_read_revisions(bool value)
Definition: team_drive.h:844
void set_can_copy(bool value)
Definition: team_drive.h:579
bool has_kind() const
Definition: team_drive.h:1517
void clear_kind()
Definition: team_drive.h:1524
bool has_restrictions() const
Definition: team_drive.h:1591
void set_domain_users_only(bool value)
Definition: team_drive.h:1201
void clear_can_add_children()
Definition: team_drive.h:315
void set_can_manage_members(bool value)
Definition: team_drive.h:806
bool has_can_delete_team_drive() const
Definition: team_drive.h:627
void clear_name()
Definition: team_drive.h:1561
void clear_can_delete_team_drive()
Definition: team_drive.h:634
const StringPiece get_color_rgb() const
Definition: team_drive.h:1419
void clear_can_rename()
Definition: team_drive.h:900
void clear_can_share()
Definition: team_drive.h:974
void set_can_rename_team_drive(bool value)
Definition: team_drive.h:957
bool get_can_rename() const
Definition: team_drive.h:908
void set_id(const StringPiece &value)
Definition: team_drive.h:131
void set_can_list_children(bool value)
Definition: team_drive.h:768
bool get_can_change_team_drive_background() const
Definition: team_drive.h:452
const TeamDriveCapabilities get_capabilities() const
Definition: team_drive.h:1381
bool get_copy_requires_writer_permission() const
Definition: team_drive.h:1146
bool has_can_remove_children() const
Definition: team_drive.h:854
bool has_capabilities() const
Definition: team_drive.h:1366
void clear_color_rgb()
Definition: team_drive.h:1411
void clear_can_change_domain_users_only_restriction()
Definition: team_drive.h:402
void clear_capabilities()
Definition: team_drive.h:1373
void clear_can_change_team_members_only_restriction()
Definition: team_drive.h:483
void clear_background_image_file()
Definition: team_drive.h:1294
void clear_y_coordinate()
Definition: team_drive.h:229
void set_y_coordinate(float value)
Definition: team_drive.h:253
void set_can_delete_children(bool value)
Definition: team_drive.h:617
void set_color_rgb(const StringPiece &value)
Definition: team_drive.h:1433
void clear_can_copy()
Definition: team_drive.h:559
bool get_can_copy() const
Definition: team_drive.h:567
bool get_admin_managed_restrictions() const
Definition: team_drive.h:1105
const StringPiece GetTypeName() const
Definition: team_drive.h:1079
void set_can_rename(bool value)
Definition: team_drive.h:920
bool get_domain_users_only() const
Definition: team_drive.h:1186
void clear_created_date()
Definition: team_drive.h:1449
const StringPiece GetTypeName() const
Definition: team_drive.h:94
bool has_can_change_domain_users_only_restriction() const
Definition: team_drive.h:395
bool has_width() const
Definition: team_drive.h:140
void clear_can_comment()
Definition: team_drive.h:522
const StringPiece get_id() const
Definition: team_drive.h:1494
void clear_domain_users_only()
Definition: team_drive.h:1178
void clear_team_members_only()
Definition: team_drive.h:1218
bool has_can_change_team_members_only_restriction() const
Definition: team_drive.h:476
void clear_can_change_team_drive_background()
Definition: team_drive.h:443
void clear_can_delete_children()
Definition: team_drive.h:596
bool get_can_read_revisions() const
Definition: team_drive.h:831
bool has_name() const
Definition: team_drive.h:1554
void clear_can_remove_children()
Definition: team_drive.h:861
bool has_background_image_link() const
Definition: team_drive.h:1329
bool get_can_change_copy_requires_writer_permission_restriction() const
Definition: team_drive.h:368
Definition: about.cc:43
void set_can_add_children(bool value)
Definition: team_drive.h:335
const StringPiece get_name() const
Definition: team_drive.h:1569
bool get_can_change_domain_users_only_restriction() const
Definition: team_drive.h:411
void clear_can_list_children()
Definition: team_drive.h:747
void set_width(float value)
Definition: team_drive.h:171
void set_can_change_team_drive_background(bool value)
Definition: team_drive.h:464
bool has_can_comment() const
Definition: team_drive.h:515