drive  v2
drive_service.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 //------------------------------------------------------------------------------
16 // This code was generated by google-apis-code-generator 1.5.1
17 // Build date: 2018-10-08 17:45:39 UTC
18 // on: 2020-03-19, 05:24:40 UTC
19 // C++ generator version: 0.1.4
20 //
21 // Changes to this file may cause incorrect behavior and will be lost if
22 // the code is regenerated.
23 //------------------------------------------------------------------------------
24 #ifndef GOOGLE_DRIVE_API_DRIVE_SERVICE_H_
25 #define GOOGLE_DRIVE_API_DRIVE_SERVICE_H_
26 
27 #include <string>
28 #include "googleapis/base/integral_types.h"
29 #include "googleapis/base/macros.h"
30 #include "googleapis/client/service/client_service.h"
31 #include "googleapis/client/service/media_uploader.h"
32 #include "googleapis/client/service/service_request_pager.h"
33 #include "googleapis/client/util/status.h"
34 #include "googleapis/client/util/uri_template.h"
35 
36 #include "google/drive_api/about.h"
37 #include "google/drive_api/app.h"
38 #include "google/drive_api/app_list.h"
39 #include "google/drive_api/change.h"
40 #include "google/drive_api/change_list.h"
41 #include "google/drive_api/channel.h"
42 #include "google/drive_api/child_list.h"
43 #include "google/drive_api/child_reference.h"
44 #include "google/drive_api/comment.h"
45 #include "google/drive_api/comment_list.h"
46 #include "google/drive_api/comment_reply.h"
47 #include "google/drive_api/comment_reply_list.h"
48 #include "google/drive_api/drive.h"
49 #include "google/drive_api/drive_list.h"
50 #include "google/drive_api/file.h"
51 #include "google/drive_api/file_list.h"
52 #include "google/drive_api/generated_ids.h"
53 #include "google/drive_api/parent_list.h"
54 #include "google/drive_api/parent_reference.h"
55 #include "google/drive_api/permission.h"
56 #include "google/drive_api/permission_id.h"
57 #include "google/drive_api/permission_list.h"
58 #include "google/drive_api/property.h"
59 #include "google/drive_api/property_list.h"
60 #include "google/drive_api/revision.h"
61 #include "google/drive_api/revision_list.h"
62 #include "google/drive_api/start_page_token.h"
63 #include "google/drive_api/team_drive.h"
64 #include "google/drive_api/team_drive_list.h"
65 
66 
67 namespace google_drive_api {
68 using namespace googleapis;
99 class DriveService;
100 
109  : public client::ClientServiceRequest {
110  public:
133  const client::ClientService* service,
134  client::AuthorizationCredential* credential,
135  client::HttpRequest::HttpMethod method,
136  const StringPiece& uri_template);
137 
141  virtual ~DriveServiceBaseRequest();
142 
143 
147  void clear_alt() {
148  _have_alt_ = false;
149  client::ClearCppValueHelper(&alt_);
150  }
151 
152 
158  const string& get_alt() const { return alt_; }
159 
165  string* mutable_alt() {
166  _have_alt_ = true;
167  return &alt_;
168  }
169 
170 
176  void set_alt(const string& value) {
177  _have_alt_ = true;
178  alt_ = value;
179  }
180 
181 
182 
186  void clear_fields() {
187  _have_fields_ = false;
188  client::ClearCppValueHelper(&fields_);
189  }
190 
191 
197  const string& get_fields() const { return fields_; }
198 
204  string* mutable_fields() {
205  _have_fields_ = true;
206  return &fields_;
207  }
208 
209 
216  void set_fields(const string& value) {
217  _have_fields_ = true;
218  fields_ = value;
219  }
220 
221 
222 
226  void clear_key() {
227  _have_key_ = false;
228  client::ClearCppValueHelper(&key_);
229  }
230 
231 
237  const string& get_key() const { return key_; }
238 
244  string* mutable_key() {
245  _have_key_ = true;
246  return &key_;
247  }
248 
249 
257  void set_key(const string& value) {
258  _have_key_ = true;
259  key_ = value;
260  }
261 
262 
263 
268  _have_oauth_token_ = false;
269  client::ClearCppValueHelper(&oauth_token_);
270  }
271 
272 
278  const string& get_oauth_token() const { return oauth_token_; }
279 
286  string* mutable_oauthToken() {
287  _have_oauth_token_ = true;
288  return &oauth_token_;
289  }
290 
291 
297  void set_oauth_token(const string& value) {
298  _have_oauth_token_ = true;
299  oauth_token_ = value;
300  }
301 
302 
303 
308  _have_pretty_print_ = false;
309  client::ClearCppValueHelper(&pretty_print_);
310  }
311 
312 
318  bool get_pretty_print() const { return pretty_print_; }
319 
325  void set_pretty_print(bool value) {
326  _have_pretty_print_ = true;
327  pretty_print_ = value;
328  }
329 
334  _have_quota_user_ = false;
335  client::ClearCppValueHelper(&quota_user_);
336  }
337 
338 
344  const string& get_quota_user() const { return quota_user_; }
345 
352  string* mutable_quotaUser() {
353  _have_quota_user_ = true;
354  return &quota_user_;
355  }
356 
357 
364  void set_quota_user(const string& value) {
365  _have_quota_user_ = true;
366  quota_user_ = value;
367  }
368 
369 
370 
374  void clear_user_ip() {
375  _have_user_ip_ = false;
376  client::ClearCppValueHelper(&user_ip_);
377  }
378 
379 
385  const string& get_user_ip() const { return user_ip_; }
386 
392  string* mutable_userIp() {
393  _have_user_ip_ = true;
394  return &user_ip_;
395  }
396 
397 
404  void set_user_ip(const string& value) {
405  _have_user_ip_ = true;
406  user_ip_ = value;
407  }
408 
419  virtual util::Status AppendVariable(
420  const StringPiece& variable_name,
421  const client::UriTemplateConfig& config,
422  string* target);
423 
429  virtual util::Status AppendOptionalQueryParameters(string* target);
430 
431 
432  protected:
438  void AddJsonContentToRequest(const client::JsonCppData *content);
439 
440  private:
441  string alt_;
442  string fields_;
443  string key_;
444  string oauth_token_;
445  bool pretty_print_;
446  string quota_user_;
447  string user_ip_;
448  bool _have_alt_ : 1;
449  bool _have_fields_ : 1;
450  bool _have_key_ : 1;
451  bool _have_oauth_token_ : 1;
452  bool _have_pretty_print_ : 1;
453  bool _have_quota_user_ : 1;
454  bool _have_user_ip_ : 1;
455 
456  DISALLOW_COPY_AND_ASSIGN(DriveServiceBaseRequest);
457 };
458 
459 
460 
480  public:
489  const DriveService* _service_,
490  client::AuthorizationCredential* _credential_);
491 
495  virtual ~AboutResource_GetMethod();
496 
497 
503  _have_include_subscribed_ = false;
504  client::ClearCppValueHelper(&include_subscribed_);
505  }
506 
507 
513  bool get_include_subscribed() const { return include_subscribed_; }
514 
523  void set_include_subscribed(bool value) {
524  _have_include_subscribed_ = true;
525  include_subscribed_ = value;
526  }
527 
533  _have_max_change_id_count_ = false;
534  client::ClearCppValueHelper(&max_change_id_count_);
535  }
536 
537 
543  int64 get_max_change_id_count() const { return max_change_id_count_; }
544 
550  void set_max_change_id_count(int64 value) {
551  _have_max_change_id_count_ = true;
552  max_change_id_count_ = value;
553  }
554 
559  _have_start_change_id_ = false;
560  client::ClearCppValueHelper(&start_change_id_);
561  }
562 
563 
569  int64 get_start_change_id() const { return start_change_id_; }
570 
577  void set_start_change_id(int64 value) {
578  _have_start_change_id_ = true;
579  start_change_id_ = value;
580  }
581 
591  virtual util::Status AppendVariable(
592  const StringPiece& variable_name,
593  const client::UriTemplateConfig& config,
594  string* target);
595 
601  virtual util::Status AppendOptionalQueryParameters(string* target);
602 
603 
615  About* data) {
616  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
617  }
618 
619  private:
620  bool include_subscribed_;
621  int64 max_change_id_count_;
622  int64 start_change_id_;
623  bool _have_include_subscribed_ : 1;
624  bool _have_max_change_id_count_ : 1;
625  bool _have_start_change_id_ : 1;
626  DISALLOW_COPY_AND_ASSIGN(AboutResource_GetMethod);
627 };
628 
629 
630 
650  public:
660  const DriveService* _service_,
661  client::AuthorizationCredential* _credential_,
662  const absl::string_view& app_id);
663 
667  virtual ~AppsResource_GetMethod();
668 
669 
679  virtual util::Status AppendVariable(
680  const StringPiece& variable_name,
681  const client::UriTemplateConfig& config,
682  string* target);
683 
684 
696  App* data) {
697  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
698  }
699 
700  private:
701  string app_id_;
702  DISALLOW_COPY_AND_ASSIGN(AppsResource_GetMethod);
703 };
704 
718  public:
727  const DriveService* _service_,
728  client::AuthorizationCredential* _credential_);
729 
733  virtual ~AppsResource_ListMethod();
734 
735 
741  _have_app_filter_extensions_ = false;
742  client::ClearCppValueHelper(&app_filter_extensions_);
743  }
744 
745 
751  const string& get_app_filter_extensions() const { return app_filter_extensions_; }
752 
760  _have_app_filter_extensions_ = true;
761  return &app_filter_extensions_;
762  }
763 
764 
774  void set_app_filter_extensions(const string& value) {
775  _have_app_filter_extensions_ = true;
776  app_filter_extensions_ = value;
777  }
778 
779 
780 
786  _have_app_filter_mime_types_ = false;
787  client::ClearCppValueHelper(&app_filter_mime_types_);
788  }
789 
790 
796  const string& get_app_filter_mime_types() const { return app_filter_mime_types_; }
797 
805  _have_app_filter_mime_types_ = true;
806  return &app_filter_mime_types_;
807  }
808 
809 
819  void set_app_filter_mime_types(const string& value) {
820  _have_app_filter_mime_types_ = true;
821  app_filter_mime_types_ = value;
822  }
823 
824 
825 
830  _have_language_code_ = false;
831  client::ClearCppValueHelper(&language_code_);
832  }
833 
834 
840  const string& get_language_code() const { return language_code_; }
841 
849  _have_language_code_ = true;
850  return &language_code_;
851  }
852 
853 
861  void set_language_code(const string& value) {
862  _have_language_code_ = true;
863  language_code_ = value;
864  }
865 
875  virtual util::Status AppendVariable(
876  const StringPiece& variable_name,
877  const client::UriTemplateConfig& config,
878  string* target);
879 
885  virtual util::Status AppendOptionalQueryParameters(string* target);
886 
887 
899  AppList* data) {
900  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
901  }
902 
903  private:
904  string app_filter_extensions_;
905  string app_filter_mime_types_;
906  string language_code_;
907  bool _have_app_filter_extensions_ : 1;
908  bool _have_app_filter_mime_types_ : 1;
909  bool _have_language_code_ : 1;
910  DISALLOW_COPY_AND_ASSIGN(AppsResource_ListMethod);
911 };
912 
913 
914 
935  public:
945  const DriveService* _service_,
946  client::AuthorizationCredential* _credential_,
947  const absl::string_view& change_id);
948 
952  virtual ~ChangesResource_GetMethod();
953 
954 
958  void clear_drive_id() {
959  _have_drive_id_ = false;
960  client::ClearCppValueHelper(&drive_id_);
961  }
962 
963 
969  const string& get_drive_id() const { return drive_id_; }
970 
977  string* mutable_driveId() {
978  _have_drive_id_ = true;
979  return &drive_id_;
980  }
981 
982 
988  void set_drive_id(const string& value) {
989  _have_drive_id_ = true;
990  drive_id_ = value;
991  }
992 
993 
994 
1000  _have_supports_all_drives_ = false;
1001  client::ClearCppValueHelper(&supports_all_drives_);
1002  }
1003 
1004 
1010  bool get_supports_all_drives() const { return supports_all_drives_; }
1011 
1021  void set_supports_all_drives(bool value) {
1022  _have_supports_all_drives_ = true;
1023  supports_all_drives_ = value;
1024  }
1025 
1031  _have_supports_team_drives_ = false;
1032  client::ClearCppValueHelper(&supports_team_drives_);
1033  }
1034 
1035 
1041  bool get_supports_team_drives() const { return supports_team_drives_; }
1042 
1049  void set_supports_team_drives(bool value) {
1050  _have_supports_team_drives_ = true;
1051  supports_team_drives_ = value;
1052  }
1053 
1058  _have_team_drive_id_ = false;
1059  client::ClearCppValueHelper(&team_drive_id_);
1060  }
1061 
1062 
1068  const string& get_team_drive_id() const { return team_drive_id_; }
1069 
1077  _have_team_drive_id_ = true;
1078  return &team_drive_id_;
1079  }
1080 
1081 
1088  void set_team_drive_id(const string& value) {
1089  _have_team_drive_id_ = true;
1090  team_drive_id_ = value;
1091  }
1092 
1102  virtual util::Status AppendVariable(
1103  const StringPiece& variable_name,
1104  const client::UriTemplateConfig& config,
1105  string* target);
1106 
1112  virtual util::Status AppendOptionalQueryParameters(string* target);
1113 
1114 
1126  Change* data) {
1127  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
1128  }
1129 
1130  private:
1131  string change_id_;
1132  string drive_id_;
1133  bool supports_all_drives_;
1134  bool supports_team_drives_;
1135  string team_drive_id_;
1136  bool _have_drive_id_ : 1;
1137  bool _have_supports_all_drives_ : 1;
1138  bool _have_supports_team_drives_ : 1;
1139  bool _have_team_drive_id_ : 1;
1140  DISALLOW_COPY_AND_ASSIGN(ChangesResource_GetMethod);
1141 };
1142 
1163  public:
1172  const DriveService* _service_,
1173  client::AuthorizationCredential* _credential_);
1174 
1179 
1180 
1185  _have_drive_id_ = false;
1186  client::ClearCppValueHelper(&drive_id_);
1187  }
1188 
1189 
1195  const string& get_drive_id() const { return drive_id_; }
1196 
1203  string* mutable_driveId() {
1204  _have_drive_id_ = true;
1205  return &drive_id_;
1206  }
1207 
1208 
1216  void set_drive_id(const string& value) {
1217  _have_drive_id_ = true;
1218  drive_id_ = value;
1219  }
1220 
1221 
1222 
1228  _have_supports_all_drives_ = false;
1229  client::ClearCppValueHelper(&supports_all_drives_);
1230  }
1231 
1232 
1238  bool get_supports_all_drives() const { return supports_all_drives_; }
1239 
1249  void set_supports_all_drives(bool value) {
1250  _have_supports_all_drives_ = true;
1251  supports_all_drives_ = value;
1252  }
1253 
1259  _have_supports_team_drives_ = false;
1260  client::ClearCppValueHelper(&supports_team_drives_);
1261  }
1262 
1263 
1269  bool get_supports_team_drives() const { return supports_team_drives_; }
1270 
1277  void set_supports_team_drives(bool value) {
1278  _have_supports_team_drives_ = true;
1279  supports_team_drives_ = value;
1280  }
1281 
1286  _have_team_drive_id_ = false;
1287  client::ClearCppValueHelper(&team_drive_id_);
1288  }
1289 
1290 
1296  const string& get_team_drive_id() const { return team_drive_id_; }
1297 
1305  _have_team_drive_id_ = true;
1306  return &team_drive_id_;
1307  }
1308 
1309 
1316  void set_team_drive_id(const string& value) {
1317  _have_team_drive_id_ = true;
1318  team_drive_id_ = value;
1319  }
1320 
1330  virtual util::Status AppendVariable(
1331  const StringPiece& variable_name,
1332  const client::UriTemplateConfig& config,
1333  string* target);
1334 
1340  virtual util::Status AppendOptionalQueryParameters(string* target);
1341 
1342 
1354  StartPageToken* data) {
1355  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
1356  }
1357 
1358  private:
1359  string drive_id_;
1360  bool supports_all_drives_;
1361  bool supports_team_drives_;
1362  string team_drive_id_;
1363  bool _have_drive_id_ : 1;
1364  bool _have_supports_all_drives_ : 1;
1365  bool _have_supports_team_drives_ : 1;
1366  bool _have_team_drive_id_ : 1;
1367  DISALLOW_COPY_AND_ASSIGN(ChangesResource_GetStartPageTokenMethod);
1368 };
1369 
1390  public:
1399  const DriveService* _service_,
1400  client::AuthorizationCredential* _credential_);
1401 
1405  virtual ~ChangesResource_ListMethod();
1406 
1407 
1412  _have_drive_id_ = false;
1413  client::ClearCppValueHelper(&drive_id_);
1414  }
1415 
1416 
1422  const string& get_drive_id() const { return drive_id_; }
1423 
1430  string* mutable_driveId() {
1431  _have_drive_id_ = true;
1432  return &drive_id_;
1433  }
1434 
1435 
1443  void set_drive_id(const string& value) {
1444  _have_drive_id_ = true;
1445  drive_id_ = value;
1446  }
1447 
1448 
1449 
1455  _have_include_corpus_removals_ = false;
1456  client::ClearCppValueHelper(&include_corpus_removals_);
1457  }
1458 
1459 
1465  bool get_include_corpus_removals() const { return include_corpus_removals_; }
1466 
1475  void set_include_corpus_removals(bool value) {
1476  _have_include_corpus_removals_ = true;
1477  include_corpus_removals_ = value;
1478  }
1479 
1485  _have_include_deleted_ = false;
1486  client::ClearCppValueHelper(&include_deleted_);
1487  }
1488 
1489 
1495  bool get_include_deleted() const { return include_deleted_; }
1496 
1504  void set_include_deleted(bool value) {
1505  _have_include_deleted_ = true;
1506  include_deleted_ = value;
1507  }
1508 
1514  _have_include_items_from_all_drives_ = false;
1515  client::ClearCppValueHelper(&include_items_from_all_drives_);
1516  }
1517 
1518 
1524  bool get_include_items_from_all_drives() const { return include_items_from_all_drives_; }
1525 
1536  _have_include_items_from_all_drives_ = true;
1537  include_items_from_all_drives_ = value;
1538  }
1539 
1545  _have_include_subscribed_ = false;
1546  client::ClearCppValueHelper(&include_subscribed_);
1547  }
1548 
1549 
1555  bool get_include_subscribed() const { return include_subscribed_; }
1556 
1565  void set_include_subscribed(bool value) {
1566  _have_include_subscribed_ = true;
1567  include_subscribed_ = value;
1568  }
1569 
1575  _have_include_team_drive_items_ = false;
1576  client::ClearCppValueHelper(&include_team_drive_items_);
1577  }
1578 
1579 
1585  bool get_include_team_drive_items() const { return include_team_drive_items_; }
1586 
1593  void set_include_team_drive_items(bool value) {
1594  _have_include_team_drive_items_ = true;
1595  include_team_drive_items_ = value;
1596  }
1597 
1602  _have_max_results_ = false;
1603  client::ClearCppValueHelper(&max_results_);
1604  }
1605 
1606 
1612  int32 get_max_results() const { return max_results_; }
1613 
1619  void set_max_results(int32 value) {
1620  _have_max_results_ = true;
1621  max_results_ = value;
1622  }
1623 
1628  _have_page_token_ = false;
1629  client::ClearCppValueHelper(&page_token_);
1630  }
1631 
1632 
1638  const string& get_page_token() const { return page_token_; }
1639 
1646  string* mutable_pageToken() {
1647  _have_page_token_ = true;
1648  return &page_token_;
1649  }
1650 
1651 
1659  void set_page_token(const string& value) {
1660  _have_page_token_ = true;
1661  page_token_ = value;
1662  }
1663 
1664 
1665 
1669  void clear_spaces() {
1670  _have_spaces_ = false;
1671  client::ClearCppValueHelper(&spaces_);
1672  }
1673 
1674 
1680  const string& get_spaces() const { return spaces_; }
1681 
1687  string* mutable_spaces() {
1688  _have_spaces_ = true;
1689  return &spaces_;
1690  }
1691 
1692 
1699  void set_spaces(const string& value) {
1700  _have_spaces_ = true;
1701  spaces_ = value;
1702  }
1703 
1704 
1705 
1710  _have_start_change_id_ = false;
1711  client::ClearCppValueHelper(&start_change_id_);
1712  }
1713 
1714 
1720  int64 get_start_change_id() const { return start_change_id_; }
1721 
1728  void set_start_change_id(int64 value) {
1729  _have_start_change_id_ = true;
1730  start_change_id_ = value;
1731  }
1732 
1738  _have_supports_all_drives_ = false;
1739  client::ClearCppValueHelper(&supports_all_drives_);
1740  }
1741 
1742 
1748  bool get_supports_all_drives() const { return supports_all_drives_; }
1749 
1759  void set_supports_all_drives(bool value) {
1760  _have_supports_all_drives_ = true;
1761  supports_all_drives_ = value;
1762  }
1763 
1769  _have_supports_team_drives_ = false;
1770  client::ClearCppValueHelper(&supports_team_drives_);
1771  }
1772 
1773 
1779  bool get_supports_team_drives() const { return supports_team_drives_; }
1780 
1787  void set_supports_team_drives(bool value) {
1788  _have_supports_team_drives_ = true;
1789  supports_team_drives_ = value;
1790  }
1791 
1796  _have_team_drive_id_ = false;
1797  client::ClearCppValueHelper(&team_drive_id_);
1798  }
1799 
1800 
1806  const string& get_team_drive_id() const { return team_drive_id_; }
1807 
1815  _have_team_drive_id_ = true;
1816  return &team_drive_id_;
1817  }
1818 
1819 
1826  void set_team_drive_id(const string& value) {
1827  _have_team_drive_id_ = true;
1828  team_drive_id_ = value;
1829  }
1830 
1840  virtual util::Status AppendVariable(
1841  const StringPiece& variable_name,
1842  const client::UriTemplateConfig& config,
1843  string* target);
1844 
1850  virtual util::Status AppendOptionalQueryParameters(string* target);
1851 
1852 
1864  ChangeList* data) {
1865  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
1866  }
1867 
1868  private:
1869  string drive_id_;
1870  bool include_corpus_removals_;
1871  bool include_deleted_;
1872  bool include_items_from_all_drives_;
1873  bool include_subscribed_;
1874  bool include_team_drive_items_;
1875  int32 max_results_;
1876  string page_token_;
1877  string spaces_;
1878  int64 start_change_id_;
1879  bool supports_all_drives_;
1880  bool supports_team_drives_;
1881  string team_drive_id_;
1882  bool _have_drive_id_ : 1;
1883  bool _have_include_corpus_removals_ : 1;
1884  bool _have_include_deleted_ : 1;
1885  bool _have_include_items_from_all_drives_ : 1;
1886  bool _have_include_subscribed_ : 1;
1887  bool _have_include_team_drive_items_ : 1;
1888  bool _have_max_results_ : 1;
1889  bool _have_page_token_ : 1;
1890  bool _have_spaces_ : 1;
1891  bool _have_start_change_id_ : 1;
1892  bool _have_supports_all_drives_ : 1;
1893  bool _have_supports_team_drives_ : 1;
1894  bool _have_team_drive_id_ : 1;
1895  DISALLOW_COPY_AND_ASSIGN(ChangesResource_ListMethod);
1896 };
1897 
1898 typedef client::ServiceRequestPager<
1900  ChangeList>
1901  ChangesResource_ListMethodPager;
1902 
1923  public:
1933  const DriveService* _service_,
1934  client::AuthorizationCredential* _credential_,
1935  const Channel& _content_);
1936 
1940  virtual ~ChangesResource_WatchMethod();
1941 
1942 
1947  _have_drive_id_ = false;
1948  client::ClearCppValueHelper(&drive_id_);
1949  }
1950 
1951 
1957  const string& get_drive_id() const { return drive_id_; }
1958 
1965  string* mutable_driveId() {
1966  _have_drive_id_ = true;
1967  return &drive_id_;
1968  }
1969 
1970 
1978  void set_drive_id(const string& value) {
1979  _have_drive_id_ = true;
1980  drive_id_ = value;
1981  }
1982 
1983 
1984 
1990  _have_include_corpus_removals_ = false;
1991  client::ClearCppValueHelper(&include_corpus_removals_);
1992  }
1993 
1994 
2000  bool get_include_corpus_removals() const { return include_corpus_removals_; }
2001 
2010  void set_include_corpus_removals(bool value) {
2011  _have_include_corpus_removals_ = true;
2012  include_corpus_removals_ = value;
2013  }
2014 
2020  _have_include_deleted_ = false;
2021  client::ClearCppValueHelper(&include_deleted_);
2022  }
2023 
2024 
2030  bool get_include_deleted() const { return include_deleted_; }
2031 
2039  void set_include_deleted(bool value) {
2040  _have_include_deleted_ = true;
2041  include_deleted_ = value;
2042  }
2043 
2049  _have_include_items_from_all_drives_ = false;
2050  client::ClearCppValueHelper(&include_items_from_all_drives_);
2051  }
2052 
2053 
2059  bool get_include_items_from_all_drives() const { return include_items_from_all_drives_; }
2060 
2071  _have_include_items_from_all_drives_ = true;
2072  include_items_from_all_drives_ = value;
2073  }
2074 
2080  _have_include_subscribed_ = false;
2081  client::ClearCppValueHelper(&include_subscribed_);
2082  }
2083 
2084 
2090  bool get_include_subscribed() const { return include_subscribed_; }
2091 
2100  void set_include_subscribed(bool value) {
2101  _have_include_subscribed_ = true;
2102  include_subscribed_ = value;
2103  }
2104 
2110  _have_include_team_drive_items_ = false;
2111  client::ClearCppValueHelper(&include_team_drive_items_);
2112  }
2113 
2114 
2120  bool get_include_team_drive_items() const { return include_team_drive_items_; }
2121 
2128  void set_include_team_drive_items(bool value) {
2129  _have_include_team_drive_items_ = true;
2130  include_team_drive_items_ = value;
2131  }
2132 
2137  _have_max_results_ = false;
2138  client::ClearCppValueHelper(&max_results_);
2139  }
2140 
2141 
2147  int32 get_max_results() const { return max_results_; }
2148 
2154  void set_max_results(int32 value) {
2155  _have_max_results_ = true;
2156  max_results_ = value;
2157  }
2158 
2163  _have_page_token_ = false;
2164  client::ClearCppValueHelper(&page_token_);
2165  }
2166 
2167 
2173  const string& get_page_token() const { return page_token_; }
2174 
2181  string* mutable_pageToken() {
2182  _have_page_token_ = true;
2183  return &page_token_;
2184  }
2185 
2186 
2194  void set_page_token(const string& value) {
2195  _have_page_token_ = true;
2196  page_token_ = value;
2197  }
2198 
2199 
2200 
2204  void clear_spaces() {
2205  _have_spaces_ = false;
2206  client::ClearCppValueHelper(&spaces_);
2207  }
2208 
2209 
2215  const string& get_spaces() const { return spaces_; }
2216 
2222  string* mutable_spaces() {
2223  _have_spaces_ = true;
2224  return &spaces_;
2225  }
2226 
2227 
2234  void set_spaces(const string& value) {
2235  _have_spaces_ = true;
2236  spaces_ = value;
2237  }
2238 
2239 
2240 
2245  _have_start_change_id_ = false;
2246  client::ClearCppValueHelper(&start_change_id_);
2247  }
2248 
2249 
2255  int64 get_start_change_id() const { return start_change_id_; }
2256 
2263  void set_start_change_id(int64 value) {
2264  _have_start_change_id_ = true;
2265  start_change_id_ = value;
2266  }
2267 
2273  _have_supports_all_drives_ = false;
2274  client::ClearCppValueHelper(&supports_all_drives_);
2275  }
2276 
2277 
2283  bool get_supports_all_drives() const { return supports_all_drives_; }
2284 
2294  void set_supports_all_drives(bool value) {
2295  _have_supports_all_drives_ = true;
2296  supports_all_drives_ = value;
2297  }
2298 
2304  _have_supports_team_drives_ = false;
2305  client::ClearCppValueHelper(&supports_team_drives_);
2306  }
2307 
2308 
2314  bool get_supports_team_drives() const { return supports_team_drives_; }
2315 
2322  void set_supports_team_drives(bool value) {
2323  _have_supports_team_drives_ = true;
2324  supports_team_drives_ = value;
2325  }
2326 
2331  _have_team_drive_id_ = false;
2332  client::ClearCppValueHelper(&team_drive_id_);
2333  }
2334 
2335 
2341  const string& get_team_drive_id() const { return team_drive_id_; }
2342 
2350  _have_team_drive_id_ = true;
2351  return &team_drive_id_;
2352  }
2353 
2354 
2361  void set_team_drive_id(const string& value) {
2362  _have_team_drive_id_ = true;
2363  team_drive_id_ = value;
2364  }
2365 
2375  virtual util::Status AppendVariable(
2376  const StringPiece& variable_name,
2377  const client::UriTemplateConfig& config,
2378  string* target);
2379 
2385  virtual util::Status AppendOptionalQueryParameters(string* target);
2386 
2387 
2399  Channel* data) {
2400  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
2401  }
2402 
2403  private:
2404  string drive_id_;
2405  bool include_corpus_removals_;
2406  bool include_deleted_;
2407  bool include_items_from_all_drives_;
2408  bool include_subscribed_;
2409  bool include_team_drive_items_;
2410  int32 max_results_;
2411  string page_token_;
2412  string spaces_;
2413  int64 start_change_id_;
2414  bool supports_all_drives_;
2415  bool supports_team_drives_;
2416  string team_drive_id_;
2417  bool _have_drive_id_ : 1;
2418  bool _have_include_corpus_removals_ : 1;
2419  bool _have_include_deleted_ : 1;
2420  bool _have_include_items_from_all_drives_ : 1;
2421  bool _have_include_subscribed_ : 1;
2422  bool _have_include_team_drive_items_ : 1;
2423  bool _have_max_results_ : 1;
2424  bool _have_page_token_ : 1;
2425  bool _have_spaces_ : 1;
2426  bool _have_start_change_id_ : 1;
2427  bool _have_supports_all_drives_ : 1;
2428  bool _have_supports_team_drives_ : 1;
2429  bool _have_team_drive_id_ : 1; string _content_;
2430  DISALLOW_COPY_AND_ASSIGN(ChangesResource_WatchMethod);
2431 };
2432 
2433 
2434 
2455  public:
2465  const DriveService* _service_,
2466  client::AuthorizationCredential* _credential_,
2467  const Channel& _content_);
2468 
2472  virtual ~ChannelsResource_StopMethod();
2473 
2474  private:
2475  string _content_;
2476  DISALLOW_COPY_AND_ASSIGN(ChannelsResource_StopMethod);
2477 };
2478 
2479 
2480 
2495  public:
2506  const DriveService* _service_,
2507  client::AuthorizationCredential* _credential_,
2508  const absl::string_view& folder_id,
2509  const absl::string_view& child_id);
2510 
2514  virtual ~ChildrenResource_DeleteMethod();
2515 
2516 
2522  _have_enforce_single_parent_ = false;
2523  client::ClearCppValueHelper(&enforce_single_parent_);
2524  }
2525 
2526 
2532  bool get_enforce_single_parent() const { return enforce_single_parent_; }
2533 
2542  void set_enforce_single_parent(bool value) {
2543  _have_enforce_single_parent_ = true;
2544  enforce_single_parent_ = value;
2545  }
2546 
2556  virtual util::Status AppendVariable(
2557  const StringPiece& variable_name,
2558  const client::UriTemplateConfig& config,
2559  string* target);
2560 
2566  virtual util::Status AppendOptionalQueryParameters(string* target);
2567 
2568 
2569  private:
2570  string folder_id_;
2571  string child_id_;
2572  bool enforce_single_parent_;
2573  bool _have_enforce_single_parent_ : 1;
2574  DISALLOW_COPY_AND_ASSIGN(ChildrenResource_DeleteMethod);
2575 };
2576 
2596  public:
2607  const DriveService* _service_,
2608  client::AuthorizationCredential* _credential_,
2609  const absl::string_view& folder_id,
2610  const absl::string_view& child_id);
2611 
2615  virtual ~ChildrenResource_GetMethod();
2616 
2617 
2627  virtual util::Status AppendVariable(
2628  const StringPiece& variable_name,
2629  const client::UriTemplateConfig& config,
2630  string* target);
2631 
2632 
2644  ChildReference* data) {
2645  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
2646  }
2647 
2648  private:
2649  string folder_id_;
2650  string child_id_;
2651  DISALLOW_COPY_AND_ASSIGN(ChildrenResource_GetMethod);
2652 };
2653 
2669  public:
2680  const DriveService* _service_,
2681  client::AuthorizationCredential* _credential_,
2682  const absl::string_view& folder_id,
2683  const ChildReference& _content_);
2684 
2688  virtual ~ChildrenResource_InsertMethod();
2689 
2690 
2696  _have_enforce_single_parent_ = false;
2697  client::ClearCppValueHelper(&enforce_single_parent_);
2698  }
2699 
2700 
2706  bool get_enforce_single_parent() const { return enforce_single_parent_; }
2707 
2719  void set_enforce_single_parent(bool value) {
2720  _have_enforce_single_parent_ = true;
2721  enforce_single_parent_ = value;
2722  }
2723 
2729  _have_supports_all_drives_ = false;
2730  client::ClearCppValueHelper(&supports_all_drives_);
2731  }
2732 
2733 
2739  bool get_supports_all_drives() const { return supports_all_drives_; }
2740 
2750  void set_supports_all_drives(bool value) {
2751  _have_supports_all_drives_ = true;
2752  supports_all_drives_ = value;
2753  }
2754 
2760  _have_supports_team_drives_ = false;
2761  client::ClearCppValueHelper(&supports_team_drives_);
2762  }
2763 
2764 
2770  bool get_supports_team_drives() const { return supports_team_drives_; }
2771 
2778  void set_supports_team_drives(bool value) {
2779  _have_supports_team_drives_ = true;
2780  supports_team_drives_ = value;
2781  }
2782 
2792  virtual util::Status AppendVariable(
2793  const StringPiece& variable_name,
2794  const client::UriTemplateConfig& config,
2795  string* target);
2796 
2802  virtual util::Status AppendOptionalQueryParameters(string* target);
2803 
2804 
2816  ChildReference* data) {
2817  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
2818  }
2819 
2820  private:
2821  string folder_id_;
2822  bool enforce_single_parent_;
2823  bool supports_all_drives_;
2824  bool supports_team_drives_;
2825  bool _have_enforce_single_parent_ : 1;
2826  bool _have_supports_all_drives_ : 1;
2827  bool _have_supports_team_drives_ : 1; string _content_;
2828  DISALLOW_COPY_AND_ASSIGN(ChildrenResource_InsertMethod);
2829 };
2830 
2850  public:
2860  const DriveService* _service_,
2861  client::AuthorizationCredential* _credential_,
2862  const absl::string_view& folder_id);
2863 
2867  virtual ~ChildrenResource_ListMethod();
2868 
2869 
2874  _have_max_results_ = false;
2875  client::ClearCppValueHelper(&max_results_);
2876  }
2877 
2878 
2884  int32 get_max_results() const { return max_results_; }
2885 
2891  void set_max_results(int32 value) {
2892  _have_max_results_ = true;
2893  max_results_ = value;
2894  }
2895 
2900  _have_order_by_ = false;
2901  client::ClearCppValueHelper(&order_by_);
2902  }
2903 
2904 
2910  const string& get_order_by() const { return order_by_; }
2911 
2918  string* mutable_orderBy() {
2919  _have_order_by_ = true;
2920  return &order_by_;
2921  }
2922 
2923 
2936  void set_order_by(const string& value) {
2937  _have_order_by_ = true;
2938  order_by_ = value;
2939  }
2940 
2941 
2942 
2947  _have_page_token_ = false;
2948  client::ClearCppValueHelper(&page_token_);
2949  }
2950 
2951 
2957  const string& get_page_token() const { return page_token_; }
2958 
2965  string* mutable_pageToken() {
2966  _have_page_token_ = true;
2967  return &page_token_;
2968  }
2969 
2970 
2976  void set_page_token(const string& value) {
2977  _have_page_token_ = true;
2978  page_token_ = value;
2979  }
2980 
2981 
2982 
2986  void clear_q() {
2987  _have_q_ = false;
2988  client::ClearCppValueHelper(&q_);
2989  }
2990 
2991 
2997  const string& get_q() const { return q_; }
2998 
3004  string* mutable_q() {
3005  _have_q_ = true;
3006  return &q_;
3007  }
3008 
3009 
3015  void set_q(const string& value) {
3016  _have_q_ = true;
3017  q_ = value;
3018  }
3019 
3029  virtual util::Status AppendVariable(
3030  const StringPiece& variable_name,
3031  const client::UriTemplateConfig& config,
3032  string* target);
3033 
3039  virtual util::Status AppendOptionalQueryParameters(string* target);
3040 
3041 
3053  ChildList* data) {
3054  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
3055  }
3056 
3057  private:
3058  string folder_id_;
3059  int32 max_results_;
3060  string order_by_;
3061  string page_token_;
3062  string q_;
3063  bool _have_max_results_ : 1;
3064  bool _have_order_by_ : 1;
3065  bool _have_page_token_ : 1;
3066  bool _have_q_ : 1;
3067  DISALLOW_COPY_AND_ASSIGN(ChildrenResource_ListMethod);
3068 };
3069 
3070 typedef client::ServiceRequestPager<
3072  ChildList>
3073  ChildrenResource_ListMethodPager;
3074 
3075 
3076 
3091  public:
3102  const DriveService* _service_,
3103  client::AuthorizationCredential* _credential_,
3104  const absl::string_view& file_id,
3105  const absl::string_view& comment_id);
3106 
3110  virtual ~CommentsResource_DeleteMethod();
3111 
3112 
3122  virtual util::Status AppendVariable(
3123  const StringPiece& variable_name,
3124  const client::UriTemplateConfig& config,
3125  string* target);
3126 
3127 
3128  private:
3129  string file_id_;
3130  string comment_id_;
3131  DISALLOW_COPY_AND_ASSIGN(CommentsResource_DeleteMethod);
3132 };
3133 
3149  public:
3160  const DriveService* _service_,
3161  client::AuthorizationCredential* _credential_,
3162  const absl::string_view& file_id,
3163  const absl::string_view& comment_id);
3164 
3168  virtual ~CommentsResource_GetMethod();
3169 
3170 
3176  _have_include_deleted_ = false;
3177  client::ClearCppValueHelper(&include_deleted_);
3178  }
3179 
3180 
3186  bool get_include_deleted() const { return include_deleted_; }
3187 
3194  void set_include_deleted(bool value) {
3195  _have_include_deleted_ = true;
3196  include_deleted_ = value;
3197  }
3198 
3208  virtual util::Status AppendVariable(
3209  const StringPiece& variable_name,
3210  const client::UriTemplateConfig& config,
3211  string* target);
3212 
3218  virtual util::Status AppendOptionalQueryParameters(string* target);
3219 
3220 
3232  Comment* data) {
3233  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
3234  }
3235 
3236  private:
3237  string file_id_;
3238  string comment_id_;
3239  bool include_deleted_;
3240  bool _have_include_deleted_ : 1;
3241  DISALLOW_COPY_AND_ASSIGN(CommentsResource_GetMethod);
3242 };
3243 
3258  public:
3269  const DriveService* _service_,
3270  client::AuthorizationCredential* _credential_,
3271  const absl::string_view& file_id,
3272  const Comment& _content_);
3273 
3277  virtual ~CommentsResource_InsertMethod();
3278 
3279 
3289  virtual util::Status AppendVariable(
3290  const StringPiece& variable_name,
3291  const client::UriTemplateConfig& config,
3292  string* target);
3293 
3294 
3306  Comment* data) {
3307  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
3308  }
3309 
3310  private:
3311  string file_id_; string _content_;
3312  DISALLOW_COPY_AND_ASSIGN(CommentsResource_InsertMethod);
3313 };
3314 
3330  public:
3340  const DriveService* _service_,
3341  client::AuthorizationCredential* _credential_,
3342  const absl::string_view& file_id);
3343 
3347  virtual ~CommentsResource_ListMethod();
3348 
3349 
3355  _have_include_deleted_ = false;
3356  client::ClearCppValueHelper(&include_deleted_);
3357  }
3358 
3359 
3365  bool get_include_deleted() const { return include_deleted_; }
3366 
3373  void set_include_deleted(bool value) {
3374  _have_include_deleted_ = true;
3375  include_deleted_ = value;
3376  }
3377 
3382  _have_max_results_ = false;
3383  client::ClearCppValueHelper(&max_results_);
3384  }
3385 
3386 
3392  int32 get_max_results() const { return max_results_; }
3393 
3400  void set_max_results(int32 value) {
3401  _have_max_results_ = true;
3402  max_results_ = value;
3403  }
3404 
3409  _have_page_token_ = false;
3410  client::ClearCppValueHelper(&page_token_);
3411  }
3412 
3413 
3419  const string& get_page_token() const { return page_token_; }
3420 
3427  string* mutable_pageToken() {
3428  _have_page_token_ = true;
3429  return &page_token_;
3430  }
3431 
3432 
3440  void set_page_token(const string& value) {
3441  _have_page_token_ = true;
3442  page_token_ = value;
3443  }
3444 
3445 
3446 
3451  _have_updated_min_ = false;
3452  client::ClearCppValueHelper(&updated_min_);
3453  }
3454 
3455 
3461  const string& get_updated_min() const { return updated_min_; }
3462 
3470  _have_updated_min_ = true;
3471  return &updated_min_;
3472  }
3473 
3474 
3481  void set_updated_min(const string& value) {
3482  _have_updated_min_ = true;
3483  updated_min_ = value;
3484  }
3485 
3495  virtual util::Status AppendVariable(
3496  const StringPiece& variable_name,
3497  const client::UriTemplateConfig& config,
3498  string* target);
3499 
3505  virtual util::Status AppendOptionalQueryParameters(string* target);
3506 
3507 
3519  CommentList* data) {
3520  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
3521  }
3522 
3523  private:
3524  string file_id_;
3525  bool include_deleted_;
3526  int32 max_results_;
3527  string page_token_;
3528  string updated_min_;
3529  bool _have_include_deleted_ : 1;
3530  bool _have_max_results_ : 1;
3531  bool _have_page_token_ : 1;
3532  bool _have_updated_min_ : 1;
3533  DISALLOW_COPY_AND_ASSIGN(CommentsResource_ListMethod);
3534 };
3535 
3536 typedef client::ServiceRequestPager<
3538  CommentList>
3539  CommentsResource_ListMethodPager;
3540 
3555  public:
3567  const DriveService* _service_,
3568  client::AuthorizationCredential* _credential_,
3569  const absl::string_view& file_id,
3570  const absl::string_view& comment_id,
3571  const Comment& _content_);
3572 
3576  virtual ~CommentsResource_PatchMethod();
3577 
3578 
3588  virtual util::Status AppendVariable(
3589  const StringPiece& variable_name,
3590  const client::UriTemplateConfig& config,
3591  string* target);
3592 
3593 
3605  Comment* data) {
3606  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
3607  }
3608 
3609  private:
3610  string file_id_;
3611  string comment_id_; string _content_;
3612  DISALLOW_COPY_AND_ASSIGN(CommentsResource_PatchMethod);
3613 };
3614 
3629  public:
3641  const DriveService* _service_,
3642  client::AuthorizationCredential* _credential_,
3643  const absl::string_view& file_id,
3644  const absl::string_view& comment_id,
3645  const Comment& _content_);
3646 
3650  virtual ~CommentsResource_UpdateMethod();
3651 
3652 
3662  virtual util::Status AppendVariable(
3663  const StringPiece& variable_name,
3664  const client::UriTemplateConfig& config,
3665  string* target);
3666 
3667 
3679  Comment* data) {
3680  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
3681  }
3682 
3683  private:
3684  string file_id_;
3685  string comment_id_; string _content_;
3686  DISALLOW_COPY_AND_ASSIGN(CommentsResource_UpdateMethod);
3687 };
3688 
3689 
3690 
3704  public:
3714  const DriveService* _service_,
3715  client::AuthorizationCredential* _credential_,
3716  const absl::string_view& drive_id);
3717 
3721  virtual ~DrivesResource_DeleteMethod();
3722 
3723 
3733  virtual util::Status AppendVariable(
3734  const StringPiece& variable_name,
3735  const client::UriTemplateConfig& config,
3736  string* target);
3737 
3738 
3739  private:
3740  string drive_id_;
3741  DISALLOW_COPY_AND_ASSIGN(DrivesResource_DeleteMethod);
3742 };
3743 
3758  public:
3768  const DriveService* _service_,
3769  client::AuthorizationCredential* _credential_,
3770  const absl::string_view& drive_id);
3771 
3775  virtual ~DrivesResource_GetMethod();
3776 
3777 
3783  _have_use_domain_admin_access_ = false;
3784  client::ClearCppValueHelper(&use_domain_admin_access_);
3785  }
3786 
3787 
3793  bool get_use_domain_admin_access() const { return use_domain_admin_access_; }
3794 
3802  void set_use_domain_admin_access(bool value) {
3803  _have_use_domain_admin_access_ = true;
3804  use_domain_admin_access_ = value;
3805  }
3806 
3816  virtual util::Status AppendVariable(
3817  const StringPiece& variable_name,
3818  const client::UriTemplateConfig& config,
3819  string* target);
3820 
3826  virtual util::Status AppendOptionalQueryParameters(string* target);
3827 
3828 
3840  Drive* data) {
3841  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
3842  }
3843 
3844  private:
3845  string drive_id_;
3846  bool use_domain_admin_access_;
3847  bool _have_use_domain_admin_access_ : 1;
3848  DISALLOW_COPY_AND_ASSIGN(DrivesResource_GetMethod);
3849 };
3850 
3864  public:
3874  const DriveService* _service_,
3875  client::AuthorizationCredential* _credential_,
3876  const absl::string_view& drive_id);
3877 
3881  virtual ~DrivesResource_HideMethod();
3882 
3883 
3893  virtual util::Status AppendVariable(
3894  const StringPiece& variable_name,
3895  const client::UriTemplateConfig& config,
3896  string* target);
3897 
3898 
3910  Drive* data) {
3911  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
3912  }
3913 
3914  private:
3915  string drive_id_;
3916  DISALLOW_COPY_AND_ASSIGN(DrivesResource_HideMethod);
3917 };
3918 
3932  public:
3947  const DriveService* _service_,
3948  client::AuthorizationCredential* _credential_,
3949  const absl::string_view& request_id,
3950  const Drive& _content_);
3951 
3955  virtual ~DrivesResource_InsertMethod();
3956 
3957 
3967  virtual util::Status AppendVariable(
3968  const StringPiece& variable_name,
3969  const client::UriTemplateConfig& config,
3970  string* target);
3971 
3977  virtual util::Status AppendOptionalQueryParameters(string* target);
3978 
3979 
3991  Drive* data) {
3992  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
3993  }
3994 
3995  private:
3996  string request_id_; string _content_;
3997  DISALLOW_COPY_AND_ASSIGN(DrivesResource_InsertMethod);
3998 };
3999 
4014  public:
4023  const DriveService* _service_,
4024  client::AuthorizationCredential* _credential_);
4025 
4029  virtual ~DrivesResource_ListMethod();
4030 
4031 
4036  _have_max_results_ = false;
4037  client::ClearCppValueHelper(&max_results_);
4038  }
4039 
4040 
4046  int32 get_max_results() const { return max_results_; }
4047 
4053  void set_max_results(int32 value) {
4054  _have_max_results_ = true;
4055  max_results_ = value;
4056  }
4057 
4062  _have_page_token_ = false;
4063  client::ClearCppValueHelper(&page_token_);
4064  }
4065 
4066 
4072  const string& get_page_token() const { return page_token_; }
4073 
4080  string* mutable_pageToken() {
4081  _have_page_token_ = true;
4082  return &page_token_;
4083  }
4084 
4085 
4091  void set_page_token(const string& value) {
4092  _have_page_token_ = true;
4093  page_token_ = value;
4094  }
4095 
4096 
4097 
4101  void clear_q() {
4102  _have_q_ = false;
4103  client::ClearCppValueHelper(&q_);
4104  }
4105 
4106 
4112  const string& get_q() const { return q_; }
4113 
4119  string* mutable_q() {
4120  _have_q_ = true;
4121  return &q_;
4122  }
4123 
4124 
4130  void set_q(const string& value) {
4131  _have_q_ = true;
4132  q_ = value;
4133  }
4134 
4135 
4136 
4142  _have_use_domain_admin_access_ = false;
4143  client::ClearCppValueHelper(&use_domain_admin_access_);
4144  }
4145 
4146 
4152  bool get_use_domain_admin_access() const { return use_domain_admin_access_; }
4153 
4161  void set_use_domain_admin_access(bool value) {
4162  _have_use_domain_admin_access_ = true;
4163  use_domain_admin_access_ = value;
4164  }
4165 
4175  virtual util::Status AppendVariable(
4176  const StringPiece& variable_name,
4177  const client::UriTemplateConfig& config,
4178  string* target);
4179 
4185  virtual util::Status AppendOptionalQueryParameters(string* target);
4186 
4187 
4199  DriveList* data) {
4200  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
4201  }
4202 
4203  private:
4204  int32 max_results_;
4205  string page_token_;
4206  string q_;
4207  bool use_domain_admin_access_;
4208  bool _have_max_results_ : 1;
4209  bool _have_page_token_ : 1;
4210  bool _have_q_ : 1;
4211  bool _have_use_domain_admin_access_ : 1;
4212  DISALLOW_COPY_AND_ASSIGN(DrivesResource_ListMethod);
4213 };
4214 
4215 typedef client::ServiceRequestPager<
4217  DriveList>
4218  DrivesResource_ListMethodPager;
4219 
4233  public:
4243  const DriveService* _service_,
4244  client::AuthorizationCredential* _credential_,
4245  const absl::string_view& drive_id);
4246 
4250  virtual ~DrivesResource_UnhideMethod();
4251 
4252 
4262  virtual util::Status AppendVariable(
4263  const StringPiece& variable_name,
4264  const client::UriTemplateConfig& config,
4265  string* target);
4266 
4267 
4279  Drive* data) {
4280  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
4281  }
4282 
4283  private:
4284  string drive_id_;
4285  DISALLOW_COPY_AND_ASSIGN(DrivesResource_UnhideMethod);
4286 };
4287 
4301  public:
4312  const DriveService* _service_,
4313  client::AuthorizationCredential* _credential_,
4314  const absl::string_view& drive_id,
4315  const Drive& _content_);
4316 
4320  virtual ~DrivesResource_UpdateMethod();
4321 
4322 
4328  _have_use_domain_admin_access_ = false;
4329  client::ClearCppValueHelper(&use_domain_admin_access_);
4330  }
4331 
4332 
4338  bool get_use_domain_admin_access() const { return use_domain_admin_access_; }
4339 
4347  void set_use_domain_admin_access(bool value) {
4348  _have_use_domain_admin_access_ = true;
4349  use_domain_admin_access_ = value;
4350  }
4351 
4361  virtual util::Status AppendVariable(
4362  const StringPiece& variable_name,
4363  const client::UriTemplateConfig& config,
4364  string* target);
4365 
4371  virtual util::Status AppendOptionalQueryParameters(string* target);
4372 
4373 
4385  Drive* data) {
4386  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
4387  }
4388 
4389  private:
4390  string drive_id_;
4391  bool use_domain_admin_access_;
4392  bool _have_use_domain_admin_access_ : 1; string _content_;
4393  DISALLOW_COPY_AND_ASSIGN(DrivesResource_UpdateMethod);
4394 };
4395 
4396 
4397 
4415  public:
4426  const DriveService* _service_,
4427  client::AuthorizationCredential* _credential_,
4428  const absl::string_view& file_id,
4429  const File& _content_);
4430 
4434  virtual ~FilesResource_CopyMethod();
4435 
4436 
4440  void clear_convert() {
4441  _have_convert_ = false;
4442  client::ClearCppValueHelper(&convert_);
4443  }
4444 
4445 
4451  bool get_convert() const { return convert_; }
4452 
4459  void set_convert(bool value) {
4460  _have_convert_ = true;
4461  convert_ = value;
4462  }
4463 
4469  _have_enforce_single_parent_ = false;
4470  client::ClearCppValueHelper(&enforce_single_parent_);
4471  }
4472 
4473 
4479  bool get_enforce_single_parent() const { return enforce_single_parent_; }
4480 
4489  void set_enforce_single_parent(bool value) {
4490  _have_enforce_single_parent_ = true;
4491  enforce_single_parent_ = value;
4492  }
4493 
4497  void clear_ocr() {
4498  _have_ocr_ = false;
4499  client::ClearCppValueHelper(&ocr_);
4500  }
4501 
4502 
4508  bool get_ocr() const { return ocr_; }
4509 
4516  void set_ocr(bool value) {
4517  _have_ocr_ = true;
4518  ocr_ = value;
4519  }
4520 
4525  _have_ocr_language_ = false;
4526  client::ClearCppValueHelper(&ocr_language_);
4527  }
4528 
4529 
4535  const string& get_ocr_language() const { return ocr_language_; }
4536 
4544  _have_ocr_language_ = true;
4545  return &ocr_language_;
4546  }
4547 
4548 
4555  void set_ocr_language(const string& value) {
4556  _have_ocr_language_ = true;
4557  ocr_language_ = value;
4558  }
4559 
4560 
4561 
4565  void clear_pinned() {
4566  _have_pinned_ = false;
4567  client::ClearCppValueHelper(&pinned_);
4568  }
4569 
4570 
4576  bool get_pinned() const { return pinned_; }
4577 
4584  void set_pinned(bool value) {
4585  _have_pinned_ = true;
4586  pinned_ = value;
4587  }
4588 
4594  _have_supports_all_drives_ = false;
4595  client::ClearCppValueHelper(&supports_all_drives_);
4596  }
4597 
4598 
4604  bool get_supports_all_drives() const { return supports_all_drives_; }
4605 
4615  void set_supports_all_drives(bool value) {
4616  _have_supports_all_drives_ = true;
4617  supports_all_drives_ = value;
4618  }
4619 
4625  _have_supports_team_drives_ = false;
4626  client::ClearCppValueHelper(&supports_team_drives_);
4627  }
4628 
4629 
4635  bool get_supports_team_drives() const { return supports_team_drives_; }
4636 
4643  void set_supports_team_drives(bool value) {
4644  _have_supports_team_drives_ = true;
4645  supports_team_drives_ = value;
4646  }
4647 
4653  _have_timed_text_language_ = false;
4654  client::ClearCppValueHelper(&timed_text_language_);
4655  }
4656 
4657 
4663  const string& get_timed_text_language() const { return timed_text_language_; }
4664 
4672  _have_timed_text_language_ = true;
4673  return &timed_text_language_;
4674  }
4675 
4676 
4682  void set_timed_text_language(const string& value) {
4683  _have_timed_text_language_ = true;
4684  timed_text_language_ = value;
4685  }
4686 
4687 
4688 
4694  _have_timed_text_track_name_ = false;
4695  client::ClearCppValueHelper(&timed_text_track_name_);
4696  }
4697 
4698 
4704  const string& get_timed_text_track_name() const { return timed_text_track_name_; }
4705 
4713  _have_timed_text_track_name_ = true;
4714  return &timed_text_track_name_;
4715  }
4716 
4717 
4723  void set_timed_text_track_name(const string& value) {
4724  _have_timed_text_track_name_ = true;
4725  timed_text_track_name_ = value;
4726  }
4727 
4728 
4729 
4734  _have_visibility_ = false;
4735  client::ClearCppValueHelper(&visibility_);
4736  }
4737 
4738 
4744  const string& get_visibility() const { return visibility_; }
4745 
4753  _have_visibility_ = true;
4754  return &visibility_;
4755  }
4756 
4757 
4764  void set_visibility(const string& value) {
4765  _have_visibility_ = true;
4766  visibility_ = value;
4767  }
4768 
4778  virtual util::Status AppendVariable(
4779  const StringPiece& variable_name,
4780  const client::UriTemplateConfig& config,
4781  string* target);
4782 
4788  virtual util::Status AppendOptionalQueryParameters(string* target);
4789 
4790 
4802  File* data) {
4803  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
4804  }
4805 
4806  private:
4807  string file_id_;
4808  bool convert_;
4809  bool enforce_single_parent_;
4810  bool ocr_;
4811  string ocr_language_;
4812  bool pinned_;
4813  bool supports_all_drives_;
4814  bool supports_team_drives_;
4815  string timed_text_language_;
4816  string timed_text_track_name_;
4817  string visibility_;
4818  bool _have_convert_ : 1;
4819  bool _have_enforce_single_parent_ : 1;
4820  bool _have_ocr_ : 1;
4821  bool _have_ocr_language_ : 1;
4822  bool _have_pinned_ : 1;
4823  bool _have_supports_all_drives_ : 1;
4824  bool _have_supports_team_drives_ : 1;
4825  bool _have_timed_text_language_ : 1;
4826  bool _have_timed_text_track_name_ : 1;
4827  bool _have_visibility_ : 1; string _content_;
4828  DISALLOW_COPY_AND_ASSIGN(FilesResource_CopyMethod);
4829 };
4830 
4846  public:
4856  const DriveService* _service_,
4857  client::AuthorizationCredential* _credential_,
4858  const absl::string_view& file_id);
4859 
4863  virtual ~FilesResource_DeleteMethod();
4864 
4865 
4871  _have_supports_all_drives_ = false;
4872  client::ClearCppValueHelper(&supports_all_drives_);
4873  }
4874 
4875 
4881  bool get_supports_all_drives() const { return supports_all_drives_; }
4882 
4892  void set_supports_all_drives(bool value) {
4893  _have_supports_all_drives_ = true;
4894  supports_all_drives_ = value;
4895  }
4896 
4902  _have_supports_team_drives_ = false;
4903  client::ClearCppValueHelper(&supports_team_drives_);
4904  }
4905 
4906 
4912  bool get_supports_team_drives() const { return supports_team_drives_; }
4913 
4920  void set_supports_team_drives(bool value) {
4921  _have_supports_team_drives_ = true;
4922  supports_team_drives_ = value;
4923  }
4924 
4934  virtual util::Status AppendVariable(
4935  const StringPiece& variable_name,
4936  const client::UriTemplateConfig& config,
4937  string* target);
4938 
4944  virtual util::Status AppendOptionalQueryParameters(string* target);
4945 
4946 
4947  private:
4948  string file_id_;
4949  bool supports_all_drives_;
4950  bool supports_team_drives_;
4951  bool _have_supports_all_drives_ : 1;
4952  bool _have_supports_team_drives_ : 1;
4953  DISALLOW_COPY_AND_ASSIGN(FilesResource_DeleteMethod);
4954 };
4955 
4969  public:
4978  const DriveService* _service_,
4979  client::AuthorizationCredential* _credential_);
4980 
4984  virtual ~FilesResource_EmptyTrashMethod();
4985 
4986  private:
4987  DISALLOW_COPY_AND_ASSIGN(FilesResource_EmptyTrashMethod);
4988 };
4989 
5005  public:
5016  const DriveService* _service_,
5017  client::AuthorizationCredential* _credential_,
5018  const absl::string_view& file_id,
5019  const absl::string_view& mime_type);
5020 
5024  virtual ~FilesResource_ExportMethod();
5025 
5026 
5036  virtual util::Status AppendVariable(
5037  const StringPiece& variable_name,
5038  const client::UriTemplateConfig& config,
5039  string* target);
5040 
5046  virtual util::Status AppendOptionalQueryParameters(string* target);
5047 
5048 
5054  bool get_use_media_download() const {
5055  return DriveServiceBaseRequest::get_use_media_download();
5056  }
5057 
5063  void set_use_media_download(bool use) {
5064  DriveServiceBaseRequest::set_use_media_download(use);
5065  }
5066 
5067  private:
5068  string file_id_;
5069  string mime_type_;
5070  DISALLOW_COPY_AND_ASSIGN(FilesResource_ExportMethod);
5071 };
5072 
5088  public:
5097  const DriveService* _service_,
5098  client::AuthorizationCredential* _credential_);
5099 
5104 
5105 
5110  _have_max_results_ = false;
5111  client::ClearCppValueHelper(&max_results_);
5112  }
5113 
5114 
5120  int32 get_max_results() const { return max_results_; }
5121 
5127  void set_max_results(int32 value) {
5128  _have_max_results_ = true;
5129  max_results_ = value;
5130  }
5131 
5135  void clear_space() {
5136  _have_space_ = false;
5137  client::ClearCppValueHelper(&space_);
5138  }
5139 
5140 
5146  const string& get_space() const { return space_; }
5147 
5153  string* mutable_space() {
5154  _have_space_ = true;
5155  return &space_;
5156  }
5157 
5158 
5165  void set_space(const string& value) {
5166  _have_space_ = true;
5167  space_ = value;
5168  }
5169 
5179  virtual util::Status AppendVariable(
5180  const StringPiece& variable_name,
5181  const client::UriTemplateConfig& config,
5182  string* target);
5183 
5189  virtual util::Status AppendOptionalQueryParameters(string* target);
5190 
5191 
5203  GeneratedIds* data) {
5204  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
5205  }
5206 
5207  private:
5208  int32 max_results_;
5209  string space_;
5210  bool _have_max_results_ : 1;
5211  bool _have_space_ : 1;
5212  DISALLOW_COPY_AND_ASSIGN(FilesResource_GenerateIdsMethod);
5213 };
5214 
5234  public:
5244  const DriveService* _service_,
5245  client::AuthorizationCredential* _credential_,
5246  const absl::string_view& file_id);
5247 
5251  virtual ~FilesResource_GetMethod();
5252 
5253 
5259  _have_acknowledge_abuse_ = false;
5260  client::ClearCppValueHelper(&acknowledge_abuse_);
5261  }
5262 
5263 
5269  bool get_acknowledge_abuse() const { return acknowledge_abuse_; }
5270 
5277  void set_acknowledge_abuse(bool value) {
5278  _have_acknowledge_abuse_ = true;
5279  acknowledge_abuse_ = value;
5280  }
5281 
5286  _have_projection_ = false;
5287  client::ClearCppValueHelper(&projection_);
5288  }
5289 
5290 
5296  const string& get_projection() const { return projection_; }
5297 
5305  _have_projection_ = true;
5306  return &projection_;
5307  }
5308 
5309 
5315  void set_projection(const string& value) {
5316  _have_projection_ = true;
5317  projection_ = value;
5318  }
5319 
5320 
5321 
5326  _have_revision_id_ = false;
5327  client::ClearCppValueHelper(&revision_id_);
5328  }
5329 
5330 
5336  const string& get_revision_id() const { return revision_id_; }
5337 
5345  _have_revision_id_ = true;
5346  return &revision_id_;
5347  }
5348 
5349 
5356  void set_revision_id(const string& value) {
5357  _have_revision_id_ = true;
5358  revision_id_ = value;
5359  }
5360 
5361 
5362 
5368  _have_supports_all_drives_ = false;
5369  client::ClearCppValueHelper(&supports_all_drives_);
5370  }
5371 
5372 
5378  bool get_supports_all_drives() const { return supports_all_drives_; }
5379 
5389  void set_supports_all_drives(bool value) {
5390  _have_supports_all_drives_ = true;
5391  supports_all_drives_ = value;
5392  }
5393 
5399  _have_supports_team_drives_ = false;
5400  client::ClearCppValueHelper(&supports_team_drives_);
5401  }
5402 
5403 
5409  bool get_supports_team_drives() const { return supports_team_drives_; }
5410 
5417  void set_supports_team_drives(bool value) {
5418  _have_supports_team_drives_ = true;
5419  supports_team_drives_ = value;
5420  }
5421 
5427  _have_update_viewed_date_ = false;
5428  client::ClearCppValueHelper(&update_viewed_date_);
5429  }
5430 
5431 
5437  bool get_update_viewed_date() const { return update_viewed_date_; }
5438 
5447  void set_update_viewed_date(bool value) {
5448  _have_update_viewed_date_ = true;
5449  update_viewed_date_ = value;
5450  }
5451 
5461  virtual util::Status AppendVariable(
5462  const StringPiece& variable_name,
5463  const client::UriTemplateConfig& config,
5464  string* target);
5465 
5471  virtual util::Status AppendOptionalQueryParameters(string* target);
5472 
5473 
5485  File* data) {
5486  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
5487  }
5488 
5494  bool get_use_media_download() const {
5495  return DriveServiceBaseRequest::get_use_media_download();
5496  }
5497 
5503  void set_use_media_download(bool use) {
5504  DriveServiceBaseRequest::set_use_media_download(use);
5505  }
5506 
5507  private:
5508  string file_id_;
5509  bool acknowledge_abuse_;
5510  string projection_;
5511  string revision_id_;
5512  bool supports_all_drives_;
5513  bool supports_team_drives_;
5514  bool update_viewed_date_;
5515  bool _have_acknowledge_abuse_ : 1;
5516  bool _have_projection_ : 1;
5517  bool _have_revision_id_ : 1;
5518  bool _have_supports_all_drives_ : 1;
5519  bool _have_supports_team_drives_ : 1;
5520  bool _have_update_viewed_date_ : 1;
5521  DISALLOW_COPY_AND_ASSIGN(FilesResource_GetMethod);
5522 };
5523 
5540  public:
5553  const DriveService* _service_,
5554  client::AuthorizationCredential* _credential_);
5570  const DriveService* _service_,
5571  client::AuthorizationCredential* _credential_,
5572  const File* _metadata_,
5573  const StringPiece& _media_content_type_,
5574  client::DataReader* _media_content_reader_);
5575 
5579  virtual ~FilesResource_InsertMethod();
5580 
5581 
5585  void clear_convert() {
5586  _have_convert_ = false;
5587  client::ClearCppValueHelper(&convert_);
5588  }
5589 
5590 
5596  bool get_convert() const { return convert_; }
5597 
5604  void set_convert(bool value) {
5605  _have_convert_ = true;
5606  convert_ = value;
5607  }
5608 
5614  _have_enforce_single_parent_ = false;
5615  client::ClearCppValueHelper(&enforce_single_parent_);
5616  }
5617 
5618 
5624  bool get_enforce_single_parent() const { return enforce_single_parent_; }
5625 
5634  void set_enforce_single_parent(bool value) {
5635  _have_enforce_single_parent_ = true;
5636  enforce_single_parent_ = value;
5637  }
5638 
5642  void clear_ocr() {
5643  _have_ocr_ = false;
5644  client::ClearCppValueHelper(&ocr_);
5645  }
5646 
5647 
5653  bool get_ocr() const { return ocr_; }
5654 
5661  void set_ocr(bool value) {
5662  _have_ocr_ = true;
5663  ocr_ = value;
5664  }
5665 
5670  _have_ocr_language_ = false;
5671  client::ClearCppValueHelper(&ocr_language_);
5672  }
5673 
5674 
5680  const string& get_ocr_language() const { return ocr_language_; }
5681 
5689  _have_ocr_language_ = true;
5690  return &ocr_language_;
5691  }
5692 
5693 
5700  void set_ocr_language(const string& value) {
5701  _have_ocr_language_ = true;
5702  ocr_language_ = value;
5703  }
5704 
5705 
5706 
5710  void clear_pinned() {
5711  _have_pinned_ = false;
5712  client::ClearCppValueHelper(&pinned_);
5713  }
5714 
5715 
5721  bool get_pinned() const { return pinned_; }
5722 
5729  void set_pinned(bool value) {
5730  _have_pinned_ = true;
5731  pinned_ = value;
5732  }
5733 
5739  _have_supports_all_drives_ = false;
5740  client::ClearCppValueHelper(&supports_all_drives_);
5741  }
5742 
5743 
5749  bool get_supports_all_drives() const { return supports_all_drives_; }
5750 
5760  void set_supports_all_drives(bool value) {
5761  _have_supports_all_drives_ = true;
5762  supports_all_drives_ = value;
5763  }
5764 
5770  _have_supports_team_drives_ = false;
5771  client::ClearCppValueHelper(&supports_team_drives_);
5772  }
5773 
5774 
5780  bool get_supports_team_drives() const { return supports_team_drives_; }
5781 
5788  void set_supports_team_drives(bool value) {
5789  _have_supports_team_drives_ = true;
5790  supports_team_drives_ = value;
5791  }
5792 
5798  _have_timed_text_language_ = false;
5799  client::ClearCppValueHelper(&timed_text_language_);
5800  }
5801 
5802 
5808  const string& get_timed_text_language() const { return timed_text_language_; }
5809 
5817  _have_timed_text_language_ = true;
5818  return &timed_text_language_;
5819  }
5820 
5821 
5827  void set_timed_text_language(const string& value) {
5828  _have_timed_text_language_ = true;
5829  timed_text_language_ = value;
5830  }
5831 
5832 
5833 
5839  _have_timed_text_track_name_ = false;
5840  client::ClearCppValueHelper(&timed_text_track_name_);
5841  }
5842 
5843 
5849  const string& get_timed_text_track_name() const { return timed_text_track_name_; }
5850 
5858  _have_timed_text_track_name_ = true;
5859  return &timed_text_track_name_;
5860  }
5861 
5862 
5868  void set_timed_text_track_name(const string& value) {
5869  _have_timed_text_track_name_ = true;
5870  timed_text_track_name_ = value;
5871  }
5872 
5873 
5874 
5880  _have_use_content_as_indexable_text_ = false;
5881  client::ClearCppValueHelper(&use_content_as_indexable_text_);
5882  }
5883 
5884 
5890  bool get_use_content_as_indexable_text() const { return use_content_as_indexable_text_; }
5891 
5898  _have_use_content_as_indexable_text_ = true;
5899  use_content_as_indexable_text_ = value;
5900  }
5901 
5906  _have_visibility_ = false;
5907  client::ClearCppValueHelper(&visibility_);
5908  }
5909 
5910 
5916  const string& get_visibility() const { return visibility_; }
5917 
5925  _have_visibility_ = true;
5926  return &visibility_;
5927  }
5928 
5929 
5936  void set_visibility(const string& value) {
5937  _have_visibility_ = true;
5938  visibility_ = value;
5939  }
5940 
5950  virtual util::Status AppendVariable(
5951  const StringPiece& variable_name,
5952  const client::UriTemplateConfig& config,
5953  string* target);
5954 
5960  virtual util::Status AppendOptionalQueryParameters(string* target);
5961 
5962 
5974  File* data) {
5975  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
5976  }
5977 
5978 
5986  static const client::MediaUploadSpec SIMPLE_MEDIA_UPLOAD;
5990  static const client::MediaUploadSpec RESUMABLE_MEDIA_UPLOAD;
5991 
5992  private:
5993  bool convert_;
5994  bool enforce_single_parent_;
5995  bool ocr_;
5996  string ocr_language_;
5997  bool pinned_;
5998  bool supports_all_drives_;
5999  bool supports_team_drives_;
6000  string timed_text_language_;
6001  string timed_text_track_name_;
6002  bool use_content_as_indexable_text_;
6003  string visibility_;
6004  bool _have_convert_ : 1;
6005  bool _have_enforce_single_parent_ : 1;
6006  bool _have_ocr_ : 1;
6007  bool _have_ocr_language_ : 1;
6008  bool _have_pinned_ : 1;
6009  bool _have_supports_all_drives_ : 1;
6010  bool _have_supports_team_drives_ : 1;
6011  bool _have_timed_text_language_ : 1;
6012  bool _have_timed_text_track_name_ : 1;
6013  bool _have_use_content_as_indexable_text_ : 1;
6014  bool _have_visibility_ : 1;
6015  DISALLOW_COPY_AND_ASSIGN(FilesResource_InsertMethod);
6016 };
6017 
6038  public:
6047  const DriveService* _service_,
6048  client::AuthorizationCredential* _credential_);
6049 
6053  virtual ~FilesResource_ListMethod();
6054 
6055 
6059  void clear_corpora() {
6060  _have_corpora_ = false;
6061  client::ClearCppValueHelper(&corpora_);
6062  }
6063 
6064 
6070  const string& get_corpora() const { return corpora_; }
6071 
6078  string* mutable_corpora() {
6079  _have_corpora_ = true;
6080  return &corpora_;
6081  }
6082 
6083 
6091  void set_corpora(const string& value) {
6092  _have_corpora_ = true;
6093  corpora_ = value;
6094  }
6095 
6096 
6097 
6101  void clear_corpus() {
6102  _have_corpus_ = false;
6103  client::ClearCppValueHelper(&corpus_);
6104  }
6105 
6106 
6112  const string& get_corpus() const { return corpus_; }
6113 
6119  string* mutable_corpus() {
6120  _have_corpus_ = true;
6121  return &corpus_;
6122  }
6123 
6124 
6131  void set_corpus(const string& value) {
6132  _have_corpus_ = true;
6133  corpus_ = value;
6134  }
6135 
6136 
6137 
6142  _have_drive_id_ = false;
6143  client::ClearCppValueHelper(&drive_id_);
6144  }
6145 
6146 
6152  const string& get_drive_id() const { return drive_id_; }
6153 
6160  string* mutable_driveId() {
6161  _have_drive_id_ = true;
6162  return &drive_id_;
6163  }
6164 
6165 
6171  void set_drive_id(const string& value) {
6172  _have_drive_id_ = true;
6173  drive_id_ = value;
6174  }
6175 
6176 
6177 
6183  _have_include_items_from_all_drives_ = false;
6184  client::ClearCppValueHelper(&include_items_from_all_drives_);
6185  }
6186 
6187 
6193  bool get_include_items_from_all_drives() const { return include_items_from_all_drives_; }
6194 
6205  _have_include_items_from_all_drives_ = true;
6206  include_items_from_all_drives_ = value;
6207  }
6208 
6214  _have_include_team_drive_items_ = false;
6215  client::ClearCppValueHelper(&include_team_drive_items_);
6216  }
6217 
6218 
6224  bool get_include_team_drive_items() const { return include_team_drive_items_; }
6225 
6232  void set_include_team_drive_items(bool value) {
6233  _have_include_team_drive_items_ = true;
6234  include_team_drive_items_ = value;
6235  }
6236 
6241  _have_max_results_ = false;
6242  client::ClearCppValueHelper(&max_results_);
6243  }
6244 
6245 
6251  int32 get_max_results() const { return max_results_; }
6252 
6260  void set_max_results(int32 value) {
6261  _have_max_results_ = true;
6262  max_results_ = value;
6263  }
6264 
6269  _have_order_by_ = false;
6270  client::ClearCppValueHelper(&order_by_);
6271  }
6272 
6273 
6279  const string& get_order_by() const { return order_by_; }
6280 
6287  string* mutable_orderBy() {
6288  _have_order_by_ = true;
6289  return &order_by_;
6290  }
6291 
6292 
6305  void set_order_by(const string& value) {
6306  _have_order_by_ = true;
6307  order_by_ = value;
6308  }
6309 
6310 
6311 
6316  _have_page_token_ = false;
6317  client::ClearCppValueHelper(&page_token_);
6318  }
6319 
6320 
6326  const string& get_page_token() const { return page_token_; }
6327 
6334  string* mutable_pageToken() {
6335  _have_page_token_ = true;
6336  return &page_token_;
6337  }
6338 
6339 
6345  void set_page_token(const string& value) {
6346  _have_page_token_ = true;
6347  page_token_ = value;
6348  }
6349 
6350 
6351 
6356  _have_projection_ = false;
6357  client::ClearCppValueHelper(&projection_);
6358  }
6359 
6360 
6366  const string& get_projection() const { return projection_; }
6367 
6375  _have_projection_ = true;
6376  return &projection_;
6377  }
6378 
6379 
6385  void set_projection(const string& value) {
6386  _have_projection_ = true;
6387  projection_ = value;
6388  }
6389 
6390 
6391 
6395  void clear_q() {
6396  _have_q_ = false;
6397  client::ClearCppValueHelper(&q_);
6398  }
6399 
6400 
6406  const string& get_q() const { return q_; }
6407 
6413  string* mutable_q() {
6414  _have_q_ = true;
6415  return &q_;
6416  }
6417 
6418 
6424  void set_q(const string& value) {
6425  _have_q_ = true;
6426  q_ = value;
6427  }
6428 
6429 
6430 
6434  void clear_spaces() {
6435  _have_spaces_ = false;
6436  client::ClearCppValueHelper(&spaces_);
6437  }
6438 
6439 
6445  const string& get_spaces() const { return spaces_; }
6446 
6452  string* mutable_spaces() {
6453  _have_spaces_ = true;
6454  return &spaces_;
6455  }
6456 
6457 
6464  void set_spaces(const string& value) {
6465  _have_spaces_ = true;
6466  spaces_ = value;
6467  }
6468 
6469 
6470 
6476  _have_supports_all_drives_ = false;
6477  client::ClearCppValueHelper(&supports_all_drives_);
6478  }
6479 
6480 
6486  bool get_supports_all_drives() const { return supports_all_drives_; }
6487 
6497  void set_supports_all_drives(bool value) {
6498  _have_supports_all_drives_ = true;
6499  supports_all_drives_ = value;
6500  }
6501 
6507  _have_supports_team_drives_ = false;
6508  client::ClearCppValueHelper(&supports_team_drives_);
6509  }
6510 
6511 
6517  bool get_supports_team_drives() const { return supports_team_drives_; }
6518 
6525  void set_supports_team_drives(bool value) {
6526  _have_supports_team_drives_ = true;
6527  supports_team_drives_ = value;
6528  }
6529 
6534  _have_team_drive_id_ = false;
6535  client::ClearCppValueHelper(&team_drive_id_);
6536  }
6537 
6538 
6544  const string& get_team_drive_id() const { return team_drive_id_; }
6545 
6553  _have_team_drive_id_ = true;
6554  return &team_drive_id_;
6555  }
6556 
6557 
6564  void set_team_drive_id(const string& value) {
6565  _have_team_drive_id_ = true;
6566  team_drive_id_ = value;
6567  }
6568 
6578  virtual util::Status AppendVariable(
6579  const StringPiece& variable_name,
6580  const client::UriTemplateConfig& config,
6581  string* target);
6582 
6588  virtual util::Status AppendOptionalQueryParameters(string* target);
6589 
6590 
6602  FileList* data) {
6603  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
6604  }
6605 
6606  private:
6607  string corpora_;
6608  string corpus_;
6609  string drive_id_;
6610  bool include_items_from_all_drives_;
6611  bool include_team_drive_items_;
6612  int32 max_results_;
6613  string order_by_;
6614  string page_token_;
6615  string projection_;
6616  string q_;
6617  string spaces_;
6618  bool supports_all_drives_;
6619  bool supports_team_drives_;
6620  string team_drive_id_;
6621  bool _have_corpora_ : 1;
6622  bool _have_corpus_ : 1;
6623  bool _have_drive_id_ : 1;
6624  bool _have_include_items_from_all_drives_ : 1;
6625  bool _have_include_team_drive_items_ : 1;
6626  bool _have_max_results_ : 1;
6627  bool _have_order_by_ : 1;
6628  bool _have_page_token_ : 1;
6629  bool _have_projection_ : 1;
6630  bool _have_q_ : 1;
6631  bool _have_spaces_ : 1;
6632  bool _have_supports_all_drives_ : 1;
6633  bool _have_supports_team_drives_ : 1;
6634  bool _have_team_drive_id_ : 1;
6635  DISALLOW_COPY_AND_ASSIGN(FilesResource_ListMethod);
6636 };
6637 
6638 typedef client::ServiceRequestPager<
6640  FileList>
6641  FilesResource_ListMethodPager;
6642 
6661  public:
6672  const DriveService* _service_,
6673  client::AuthorizationCredential* _credential_,
6674  const absl::string_view& file_id,
6675  const File& _content_);
6676 
6680  virtual ~FilesResource_PatchMethod();
6681 
6682 
6687  _have_add_parents_ = false;
6688  client::ClearCppValueHelper(&add_parents_);
6689  }
6690 
6691 
6697  const string& get_add_parents() const { return add_parents_; }
6698 
6706  _have_add_parents_ = true;
6707  return &add_parents_;
6708  }
6709 
6710 
6716  void set_add_parents(const string& value) {
6717  _have_add_parents_ = true;
6718  add_parents_ = value;
6719  }
6720 
6721 
6722 
6726  void clear_convert() {
6727  _have_convert_ = false;
6728  client::ClearCppValueHelper(&convert_);
6729  }
6730 
6731 
6737  bool get_convert() const { return convert_; }
6738 
6744  void set_convert(bool value) {
6745  _have_convert_ = true;
6746  convert_ = value;
6747  }
6748 
6754  _have_enforce_single_parent_ = false;
6755  client::ClearCppValueHelper(&enforce_single_parent_);
6756  }
6757 
6758 
6764  bool get_enforce_single_parent() const { return enforce_single_parent_; }
6765 
6777  void set_enforce_single_parent(bool value) {
6778  _have_enforce_single_parent_ = true;
6779  enforce_single_parent_ = value;
6780  }
6781 
6787  _have_modified_date_behavior_ = false;
6788  client::ClearCppValueHelper(&modified_date_behavior_);
6789  }
6790 
6791 
6797  const string& get_modified_date_behavior() const { return modified_date_behavior_; }
6798 
6806  _have_modified_date_behavior_ = true;
6807  return &modified_date_behavior_;
6808  }
6809 
6810 
6817  void set_modified_date_behavior(const string& value) {
6818  _have_modified_date_behavior_ = true;
6819  modified_date_behavior_ = value;
6820  }
6821 
6822 
6823 
6828  _have_new_revision_ = false;
6829  client::ClearCppValueHelper(&new_revision_);
6830  }
6831 
6832 
6838  bool get_new_revision() const { return new_revision_; }
6839 
6851  void set_new_revision(bool value) {
6852  _have_new_revision_ = true;
6853  new_revision_ = value;
6854  }
6855 
6859  void clear_ocr() {
6860  _have_ocr_ = false;
6861  client::ClearCppValueHelper(&ocr_);
6862  }
6863 
6864 
6870  bool get_ocr() const { return ocr_; }
6871 
6878  void set_ocr(bool value) {
6879  _have_ocr_ = true;
6880  ocr_ = value;
6881  }
6882 
6887  _have_ocr_language_ = false;
6888  client::ClearCppValueHelper(&ocr_language_);
6889  }
6890 
6891 
6897  const string& get_ocr_language() const { return ocr_language_; }
6898 
6906  _have_ocr_language_ = true;
6907  return &ocr_language_;
6908  }
6909 
6910 
6917  void set_ocr_language(const string& value) {
6918  _have_ocr_language_ = true;
6919  ocr_language_ = value;
6920  }
6921 
6922 
6923 
6927  void clear_pinned() {
6928  _have_pinned_ = false;
6929  client::ClearCppValueHelper(&pinned_);
6930  }
6931 
6932 
6938  bool get_pinned() const { return pinned_; }
6939 
6946  void set_pinned(bool value) {
6947  _have_pinned_ = true;
6948  pinned_ = value;
6949  }
6950 
6955  _have_remove_parents_ = false;
6956  client::ClearCppValueHelper(&remove_parents_);
6957  }
6958 
6959 
6965  const string& get_remove_parents() const { return remove_parents_; }
6966 
6974  _have_remove_parents_ = true;
6975  return &remove_parents_;
6976  }
6977 
6978 
6984  void set_remove_parents(const string& value) {
6985  _have_remove_parents_ = true;
6986  remove_parents_ = value;
6987  }
6988 
6989 
6990 
6996  _have_set_modified_date_ = false;
6997  client::ClearCppValueHelper(&set_modified_date_);
6998  }
6999 
7000 
7006  bool get_set_modified_date() const { return set_modified_date_; }
7007 
7017  void set_set_modified_date(bool value) {
7018  _have_set_modified_date_ = true;
7019  set_modified_date_ = value;
7020  }
7021 
7027  _have_supports_all_drives_ = false;
7028  client::ClearCppValueHelper(&supports_all_drives_);
7029  }
7030 
7031 
7037  bool get_supports_all_drives() const { return supports_all_drives_; }
7038 
7048  void set_supports_all_drives(bool value) {
7049  _have_supports_all_drives_ = true;
7050  supports_all_drives_ = value;
7051  }
7052 
7058  _have_supports_team_drives_ = false;
7059  client::ClearCppValueHelper(&supports_team_drives_);
7060  }
7061 
7062 
7068  bool get_supports_team_drives() const { return supports_team_drives_; }
7069 
7076  void set_supports_team_drives(bool value) {
7077  _have_supports_team_drives_ = true;
7078  supports_team_drives_ = value;
7079  }
7080 
7086  _have_timed_text_language_ = false;
7087  client::ClearCppValueHelper(&timed_text_language_);
7088  }
7089 
7090 
7096  const string& get_timed_text_language() const { return timed_text_language_; }
7097 
7105  _have_timed_text_language_ = true;
7106  return &timed_text_language_;
7107  }
7108 
7109 
7115  void set_timed_text_language(const string& value) {
7116  _have_timed_text_language_ = true;
7117  timed_text_language_ = value;
7118  }
7119 
7120 
7121 
7127  _have_timed_text_track_name_ = false;
7128  client::ClearCppValueHelper(&timed_text_track_name_);
7129  }
7130 
7131 
7137  const string& get_timed_text_track_name() const { return timed_text_track_name_; }
7138 
7146  _have_timed_text_track_name_ = true;
7147  return &timed_text_track_name_;
7148  }
7149 
7150 
7156  void set_timed_text_track_name(const string& value) {
7157  _have_timed_text_track_name_ = true;
7158  timed_text_track_name_ = value;
7159  }
7160 
7161 
7162 
7168  _have_update_viewed_date_ = false;
7169  client::ClearCppValueHelper(&update_viewed_date_);
7170  }
7171 
7172 
7178  bool get_update_viewed_date() const { return update_viewed_date_; }
7179 
7186  void set_update_viewed_date(bool value) {
7187  _have_update_viewed_date_ = true;
7188  update_viewed_date_ = value;
7189  }
7190 
7196  _have_use_content_as_indexable_text_ = false;
7197  client::ClearCppValueHelper(&use_content_as_indexable_text_);
7198  }
7199 
7200 
7206  bool get_use_content_as_indexable_text() const { return use_content_as_indexable_text_; }
7207 
7214  _have_use_content_as_indexable_text_ = true;
7215  use_content_as_indexable_text_ = value;
7216  }
7217 
7227  virtual util::Status AppendVariable(
7228  const StringPiece& variable_name,
7229  const client::UriTemplateConfig& config,
7230  string* target);
7231 
7237  virtual util::Status AppendOptionalQueryParameters(string* target);
7238 
7239 
7251  File* data) {
7252  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
7253  }
7254 
7255  private:
7256  string file_id_;
7257  string add_parents_;
7258  bool convert_;
7259  bool enforce_single_parent_;
7260  string modified_date_behavior_;
7261  bool new_revision_;
7262  bool ocr_;
7263  string ocr_language_;
7264  bool pinned_;
7265  string remove_parents_;
7266  bool set_modified_date_;
7267  bool supports_all_drives_;
7268  bool supports_team_drives_;
7269  string timed_text_language_;
7270  string timed_text_track_name_;
7271  bool update_viewed_date_;
7272  bool use_content_as_indexable_text_;
7273  bool _have_add_parents_ : 1;
7274  bool _have_convert_ : 1;
7275  bool _have_enforce_single_parent_ : 1;
7276  bool _have_modified_date_behavior_ : 1;
7277  bool _have_new_revision_ : 1;
7278  bool _have_ocr_ : 1;
7279  bool _have_ocr_language_ : 1;
7280  bool _have_pinned_ : 1;
7281  bool _have_remove_parents_ : 1;
7282  bool _have_set_modified_date_ : 1;
7283  bool _have_supports_all_drives_ : 1;
7284  bool _have_supports_team_drives_ : 1;
7285  bool _have_timed_text_language_ : 1;
7286  bool _have_timed_text_track_name_ : 1;
7287  bool _have_update_viewed_date_ : 1;
7288  bool _have_use_content_as_indexable_text_ : 1; string _content_;
7289  DISALLOW_COPY_AND_ASSIGN(FilesResource_PatchMethod);
7290 };
7291 
7309  public:
7319  const DriveService* _service_,
7320  client::AuthorizationCredential* _credential_,
7321  const absl::string_view& file_id);
7322 
7326  virtual ~FilesResource_TouchMethod();
7327 
7328 
7334  _have_supports_all_drives_ = false;
7335  client::ClearCppValueHelper(&supports_all_drives_);
7336  }
7337 
7338 
7344  bool get_supports_all_drives() const { return supports_all_drives_; }
7345 
7355  void set_supports_all_drives(bool value) {
7356  _have_supports_all_drives_ = true;
7357  supports_all_drives_ = value;
7358  }
7359 
7365  _have_supports_team_drives_ = false;
7366  client::ClearCppValueHelper(&supports_team_drives_);
7367  }
7368 
7369 
7375  bool get_supports_team_drives() const { return supports_team_drives_; }
7376 
7383  void set_supports_team_drives(bool value) {
7384  _have_supports_team_drives_ = true;
7385  supports_team_drives_ = value;
7386  }
7387 
7397  virtual util::Status AppendVariable(
7398  const StringPiece& variable_name,
7399  const client::UriTemplateConfig& config,
7400  string* target);
7401 
7407  virtual util::Status AppendOptionalQueryParameters(string* target);
7408 
7409 
7421  File* data) {
7422  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
7423  }
7424 
7425  private:
7426  string file_id_;
7427  bool supports_all_drives_;
7428  bool supports_team_drives_;
7429  bool _have_supports_all_drives_ : 1;
7430  bool _have_supports_team_drives_ : 1;
7431  DISALLOW_COPY_AND_ASSIGN(FilesResource_TouchMethod);
7432 };
7433 
7450  public:
7460  const DriveService* _service_,
7461  client::AuthorizationCredential* _credential_,
7462  const absl::string_view& file_id);
7463 
7467  virtual ~FilesResource_TrashMethod();
7468 
7469 
7475  _have_supports_all_drives_ = false;
7476  client::ClearCppValueHelper(&supports_all_drives_);
7477  }
7478 
7479 
7485  bool get_supports_all_drives() const { return supports_all_drives_; }
7486 
7496  void set_supports_all_drives(bool value) {
7497  _have_supports_all_drives_ = true;
7498  supports_all_drives_ = value;
7499  }
7500 
7506  _have_supports_team_drives_ = false;
7507  client::ClearCppValueHelper(&supports_team_drives_);
7508  }
7509 
7510 
7516  bool get_supports_team_drives() const { return supports_team_drives_; }
7517 
7524  void set_supports_team_drives(bool value) {
7525  _have_supports_team_drives_ = true;
7526  supports_team_drives_ = value;
7527  }
7528 
7538  virtual util::Status AppendVariable(
7539  const StringPiece& variable_name,
7540  const client::UriTemplateConfig& config,
7541  string* target);
7542 
7548  virtual util::Status AppendOptionalQueryParameters(string* target);
7549 
7550 
7562  File* data) {
7563  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
7564  }
7565 
7566  private:
7567  string file_id_;
7568  bool supports_all_drives_;
7569  bool supports_team_drives_;
7570  bool _have_supports_all_drives_ : 1;
7571  bool _have_supports_team_drives_ : 1;
7572  DISALLOW_COPY_AND_ASSIGN(FilesResource_TrashMethod);
7573 };
7574 
7591  public:
7601  const DriveService* _service_,
7602  client::AuthorizationCredential* _credential_,
7603  const absl::string_view& file_id);
7604 
7608  virtual ~FilesResource_UntrashMethod();
7609 
7610 
7616  _have_supports_all_drives_ = false;
7617  client::ClearCppValueHelper(&supports_all_drives_);
7618  }
7619 
7620 
7626  bool get_supports_all_drives() const { return supports_all_drives_; }
7627 
7637  void set_supports_all_drives(bool value) {
7638  _have_supports_all_drives_ = true;
7639  supports_all_drives_ = value;
7640  }
7641 
7647  _have_supports_team_drives_ = false;
7648  client::ClearCppValueHelper(&supports_team_drives_);
7649  }
7650 
7651 
7657  bool get_supports_team_drives() const { return supports_team_drives_; }
7658 
7665  void set_supports_team_drives(bool value) {
7666  _have_supports_team_drives_ = true;
7667  supports_team_drives_ = value;
7668  }
7669 
7679  virtual util::Status AppendVariable(
7680  const StringPiece& variable_name,
7681  const client::UriTemplateConfig& config,
7682  string* target);
7683 
7689  virtual util::Status AppendOptionalQueryParameters(string* target);
7690 
7691 
7703  File* data) {
7704  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
7705  }
7706 
7707  private:
7708  string file_id_;
7709  bool supports_all_drives_;
7710  bool supports_team_drives_;
7711  bool _have_supports_all_drives_ : 1;
7712  bool _have_supports_team_drives_ : 1;
7713  DISALLOW_COPY_AND_ASSIGN(FilesResource_UntrashMethod);
7714 };
7715 
7734  public:
7749  const DriveService* _service_,
7750  client::AuthorizationCredential* _credential_,
7751  const absl::string_view& file_id);
7768  const DriveService* _service_,
7769  client::AuthorizationCredential* _credential_,
7770  const absl::string_view& file_id,
7771  const File* _metadata_,
7772  const StringPiece& _media_content_type_,
7773  client::DataReader* _media_content_reader_);
7774 
7778  virtual ~FilesResource_UpdateMethod();
7779 
7780 
7785  _have_add_parents_ = false;
7786  client::ClearCppValueHelper(&add_parents_);
7787  }
7788 
7789 
7795  const string& get_add_parents() const { return add_parents_; }
7796 
7804  _have_add_parents_ = true;
7805  return &add_parents_;
7806  }
7807 
7808 
7814  void set_add_parents(const string& value) {
7815  _have_add_parents_ = true;
7816  add_parents_ = value;
7817  }
7818 
7819 
7820 
7824  void clear_convert() {
7825  _have_convert_ = false;
7826  client::ClearCppValueHelper(&convert_);
7827  }
7828 
7829 
7835  bool get_convert() const { return convert_; }
7836 
7842  void set_convert(bool value) {
7843  _have_convert_ = true;
7844  convert_ = value;
7845  }
7846 
7852  _have_enforce_single_parent_ = false;
7853  client::ClearCppValueHelper(&enforce_single_parent_);
7854  }
7855 
7856 
7862  bool get_enforce_single_parent() const { return enforce_single_parent_; }
7863 
7875  void set_enforce_single_parent(bool value) {
7876  _have_enforce_single_parent_ = true;
7877  enforce_single_parent_ = value;
7878  }
7879 
7885  _have_modified_date_behavior_ = false;
7886  client::ClearCppValueHelper(&modified_date_behavior_);
7887  }
7888 
7889 
7895  const string& get_modified_date_behavior() const { return modified_date_behavior_; }
7896 
7904  _have_modified_date_behavior_ = true;
7905  return &modified_date_behavior_;
7906  }
7907 
7908 
7915  void set_modified_date_behavior(const string& value) {
7916  _have_modified_date_behavior_ = true;
7917  modified_date_behavior_ = value;
7918  }
7919 
7920 
7921 
7926  _have_new_revision_ = false;
7927  client::ClearCppValueHelper(&new_revision_);
7928  }
7929 
7930 
7936  bool get_new_revision() const { return new_revision_; }
7937 
7949  void set_new_revision(bool value) {
7950  _have_new_revision_ = true;
7951  new_revision_ = value;
7952  }
7953 
7957  void clear_ocr() {
7958  _have_ocr_ = false;
7959  client::ClearCppValueHelper(&ocr_);
7960  }
7961 
7962 
7968  bool get_ocr() const { return ocr_; }
7969 
7976  void set_ocr(bool value) {
7977  _have_ocr_ = true;
7978  ocr_ = value;
7979  }
7980 
7985  _have_ocr_language_ = false;
7986  client::ClearCppValueHelper(&ocr_language_);
7987  }
7988 
7989 
7995  const string& get_ocr_language() const { return ocr_language_; }
7996 
8004  _have_ocr_language_ = true;
8005  return &ocr_language_;
8006  }
8007 
8008 
8015  void set_ocr_language(const string& value) {
8016  _have_ocr_language_ = true;
8017  ocr_language_ = value;
8018  }
8019 
8020 
8021 
8025  void clear_pinned() {
8026  _have_pinned_ = false;
8027  client::ClearCppValueHelper(&pinned_);
8028  }
8029 
8030 
8036  bool get_pinned() const { return pinned_; }
8037 
8044  void set_pinned(bool value) {
8045  _have_pinned_ = true;
8046  pinned_ = value;
8047  }
8048 
8053  _have_remove_parents_ = false;
8054  client::ClearCppValueHelper(&remove_parents_);
8055  }
8056 
8057 
8063  const string& get_remove_parents() const { return remove_parents_; }
8064 
8072  _have_remove_parents_ = true;
8073  return &remove_parents_;
8074  }
8075 
8076 
8082  void set_remove_parents(const string& value) {
8083  _have_remove_parents_ = true;
8084  remove_parents_ = value;
8085  }
8086 
8087 
8088 
8094  _have_set_modified_date_ = false;
8095  client::ClearCppValueHelper(&set_modified_date_);
8096  }
8097 
8098 
8104  bool get_set_modified_date() const { return set_modified_date_; }
8105 
8115  void set_set_modified_date(bool value) {
8116  _have_set_modified_date_ = true;
8117  set_modified_date_ = value;
8118  }
8119 
8125  _have_supports_all_drives_ = false;
8126  client::ClearCppValueHelper(&supports_all_drives_);
8127  }
8128 
8129 
8135  bool get_supports_all_drives() const { return supports_all_drives_; }
8136 
8146  void set_supports_all_drives(bool value) {
8147  _have_supports_all_drives_ = true;
8148  supports_all_drives_ = value;
8149  }
8150 
8156  _have_supports_team_drives_ = false;
8157  client::ClearCppValueHelper(&supports_team_drives_);
8158  }
8159 
8160 
8166  bool get_supports_team_drives() const { return supports_team_drives_; }
8167 
8174  void set_supports_team_drives(bool value) {
8175  _have_supports_team_drives_ = true;
8176  supports_team_drives_ = value;
8177  }
8178 
8184  _have_timed_text_language_ = false;
8185  client::ClearCppValueHelper(&timed_text_language_);
8186  }
8187 
8188 
8194  const string& get_timed_text_language() const { return timed_text_language_; }
8195 
8203  _have_timed_text_language_ = true;
8204  return &timed_text_language_;
8205  }
8206 
8207 
8213  void set_timed_text_language(const string& value) {
8214  _have_timed_text_language_ = true;
8215  timed_text_language_ = value;
8216  }
8217 
8218 
8219 
8225  _have_timed_text_track_name_ = false;
8226  client::ClearCppValueHelper(&timed_text_track_name_);
8227  }
8228 
8229 
8235  const string& get_timed_text_track_name() const { return timed_text_track_name_; }
8236 
8244  _have_timed_text_track_name_ = true;
8245  return &timed_text_track_name_;
8246  }
8247 
8248 
8254  void set_timed_text_track_name(const string& value) {
8255  _have_timed_text_track_name_ = true;
8256  timed_text_track_name_ = value;
8257  }
8258 
8259 
8260 
8266  _have_update_viewed_date_ = false;
8267  client::ClearCppValueHelper(&update_viewed_date_);
8268  }
8269 
8270 
8276  bool get_update_viewed_date() const { return update_viewed_date_; }
8277 
8284  void set_update_viewed_date(bool value) {
8285  _have_update_viewed_date_ = true;
8286  update_viewed_date_ = value;
8287  }
8288 
8294  _have_use_content_as_indexable_text_ = false;
8295  client::ClearCppValueHelper(&use_content_as_indexable_text_);
8296  }
8297 
8298 
8304  bool get_use_content_as_indexable_text() const { return use_content_as_indexable_text_; }
8305 
8312  _have_use_content_as_indexable_text_ = true;
8313  use_content_as_indexable_text_ = value;
8314  }
8315 
8325  virtual util::Status AppendVariable(
8326  const StringPiece& variable_name,
8327  const client::UriTemplateConfig& config,
8328  string* target);
8329 
8335  virtual util::Status AppendOptionalQueryParameters(string* target);
8336 
8337 
8349  File* data) {
8350  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
8351  }
8352 
8353 
8361  static const client::MediaUploadSpec SIMPLE_MEDIA_UPLOAD;
8365  static const client::MediaUploadSpec RESUMABLE_MEDIA_UPLOAD;
8366 
8367  private:
8368  string file_id_;
8369  string add_parents_;
8370  bool convert_;
8371  bool enforce_single_parent_;
8372  string modified_date_behavior_;
8373  bool new_revision_;
8374  bool ocr_;
8375  string ocr_language_;
8376  bool pinned_;
8377  string remove_parents_;
8378  bool set_modified_date_;
8379  bool supports_all_drives_;
8380  bool supports_team_drives_;
8381  string timed_text_language_;
8382  string timed_text_track_name_;
8383  bool update_viewed_date_;
8384  bool use_content_as_indexable_text_;
8385  bool _have_add_parents_ : 1;
8386  bool _have_convert_ : 1;
8387  bool _have_enforce_single_parent_ : 1;
8388  bool _have_modified_date_behavior_ : 1;
8389  bool _have_new_revision_ : 1;
8390  bool _have_ocr_ : 1;
8391  bool _have_ocr_language_ : 1;
8392  bool _have_pinned_ : 1;
8393  bool _have_remove_parents_ : 1;
8394  bool _have_set_modified_date_ : 1;
8395  bool _have_supports_all_drives_ : 1;
8396  bool _have_supports_team_drives_ : 1;
8397  bool _have_timed_text_language_ : 1;
8398  bool _have_timed_text_track_name_ : 1;
8399  bool _have_update_viewed_date_ : 1;
8400  bool _have_use_content_as_indexable_text_ : 1;
8401  DISALLOW_COPY_AND_ASSIGN(FilesResource_UpdateMethod);
8402 };
8403 
8423  public:
8434  const DriveService* _service_,
8435  client::AuthorizationCredential* _credential_,
8436  const absl::string_view& file_id,
8437  const Channel& _content_);
8438 
8442  virtual ~FilesResource_WatchMethod();
8443 
8444 
8450  _have_acknowledge_abuse_ = false;
8451  client::ClearCppValueHelper(&acknowledge_abuse_);
8452  }
8453 
8454 
8460  bool get_acknowledge_abuse() const { return acknowledge_abuse_; }
8461 
8468  void set_acknowledge_abuse(bool value) {
8469  _have_acknowledge_abuse_ = true;
8470  acknowledge_abuse_ = value;
8471  }
8472 
8477  _have_projection_ = false;
8478  client::ClearCppValueHelper(&projection_);
8479  }
8480 
8481 
8487  const string& get_projection() const { return projection_; }
8488 
8496  _have_projection_ = true;
8497  return &projection_;
8498  }
8499 
8500 
8506  void set_projection(const string& value) {
8507  _have_projection_ = true;
8508  projection_ = value;
8509  }
8510 
8511 
8512 
8517  _have_revision_id_ = false;
8518  client::ClearCppValueHelper(&revision_id_);
8519  }
8520 
8521 
8527  const string& get_revision_id() const { return revision_id_; }
8528 
8536  _have_revision_id_ = true;
8537  return &revision_id_;
8538  }
8539 
8540 
8547  void set_revision_id(const string& value) {
8548  _have_revision_id_ = true;
8549  revision_id_ = value;
8550  }
8551 
8552 
8553 
8559  _have_supports_all_drives_ = false;
8560  client::ClearCppValueHelper(&supports_all_drives_);
8561  }
8562 
8563 
8569  bool get_supports_all_drives() const { return supports_all_drives_; }
8570 
8580  void set_supports_all_drives(bool value) {
8581  _have_supports_all_drives_ = true;
8582  supports_all_drives_ = value;
8583  }
8584 
8590  _have_supports_team_drives_ = false;
8591  client::ClearCppValueHelper(&supports_team_drives_);
8592  }
8593 
8594 
8600  bool get_supports_team_drives() const { return supports_team_drives_; }
8601 
8608  void set_supports_team_drives(bool value) {
8609  _have_supports_team_drives_ = true;
8610  supports_team_drives_ = value;
8611  }
8612 
8618  _have_update_viewed_date_ = false;
8619  client::ClearCppValueHelper(&update_viewed_date_);
8620  }
8621 
8622 
8628  bool get_update_viewed_date() const { return update_viewed_date_; }
8629 
8638  void set_update_viewed_date(bool value) {
8639  _have_update_viewed_date_ = true;
8640  update_viewed_date_ = value;
8641  }
8642 
8652  virtual util::Status AppendVariable(
8653  const StringPiece& variable_name,
8654  const client::UriTemplateConfig& config,
8655  string* target);
8656 
8662  virtual util::Status AppendOptionalQueryParameters(string* target);
8663 
8664 
8676  Channel* data) {
8677  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
8678  }
8679 
8685  bool get_use_media_download() const {
8686  return DriveServiceBaseRequest::get_use_media_download();
8687  }
8688 
8694  void set_use_media_download(bool use) {
8695  DriveServiceBaseRequest::set_use_media_download(use);
8696  }
8697 
8698  private:
8699  string file_id_;
8700  bool acknowledge_abuse_;
8701  string projection_;
8702  string revision_id_;
8703  bool supports_all_drives_;
8704  bool supports_team_drives_;
8705  bool update_viewed_date_;
8706  bool _have_acknowledge_abuse_ : 1;
8707  bool _have_projection_ : 1;
8708  bool _have_revision_id_ : 1;
8709  bool _have_supports_all_drives_ : 1;
8710  bool _have_supports_team_drives_ : 1;
8711  bool _have_update_viewed_date_ : 1; string _content_;
8712  DISALLOW_COPY_AND_ASSIGN(FilesResource_WatchMethod);
8713 };
8714 
8715 
8716 
8731  public:
8742  const DriveService* _service_,
8743  client::AuthorizationCredential* _credential_,
8744  const absl::string_view& file_id,
8745  const absl::string_view& parent_id);
8746 
8750  virtual ~ParentsResource_DeleteMethod();
8751 
8752 
8758  _have_enforce_single_parent_ = false;
8759  client::ClearCppValueHelper(&enforce_single_parent_);
8760  }
8761 
8762 
8768  bool get_enforce_single_parent() const { return enforce_single_parent_; }
8769 
8778  void set_enforce_single_parent(bool value) {
8779  _have_enforce_single_parent_ = true;
8780  enforce_single_parent_ = value;
8781  }
8782 
8792  virtual util::Status AppendVariable(
8793  const StringPiece& variable_name,
8794  const client::UriTemplateConfig& config,
8795  string* target);
8796 
8802  virtual util::Status AppendOptionalQueryParameters(string* target);
8803 
8804 
8805  private:
8806  string file_id_;
8807  string parent_id_;
8808  bool enforce_single_parent_;
8809  bool _have_enforce_single_parent_ : 1;
8810  DISALLOW_COPY_AND_ASSIGN(ParentsResource_DeleteMethod);
8811 };
8812 
8832  public:
8843  const DriveService* _service_,
8844  client::AuthorizationCredential* _credential_,
8845  const absl::string_view& file_id,
8846  const absl::string_view& parent_id);
8847 
8851  virtual ~ParentsResource_GetMethod();
8852 
8853 
8863  virtual util::Status AppendVariable(
8864  const StringPiece& variable_name,
8865  const client::UriTemplateConfig& config,
8866  string* target);
8867 
8868 
8880  ParentReference* data) {
8881  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
8882  }
8883 
8884  private:
8885  string file_id_;
8886  string parent_id_;
8887  DISALLOW_COPY_AND_ASSIGN(ParentsResource_GetMethod);
8888 };
8889 
8905  public:
8916  const DriveService* _service_,
8917  client::AuthorizationCredential* _credential_,
8918  const absl::string_view& file_id,
8919  const ParentReference& _content_);
8920 
8924  virtual ~ParentsResource_InsertMethod();
8925 
8926 
8932  _have_enforce_single_parent_ = false;
8933  client::ClearCppValueHelper(&enforce_single_parent_);
8934  }
8935 
8936 
8942  bool get_enforce_single_parent() const { return enforce_single_parent_; }
8943 
8955  void set_enforce_single_parent(bool value) {
8956  _have_enforce_single_parent_ = true;
8957  enforce_single_parent_ = value;
8958  }
8959 
8965  _have_supports_all_drives_ = false;
8966  client::ClearCppValueHelper(&supports_all_drives_);
8967  }
8968 
8969 
8975  bool get_supports_all_drives() const { return supports_all_drives_; }
8976 
8986  void set_supports_all_drives(bool value) {
8987  _have_supports_all_drives_ = true;
8988  supports_all_drives_ = value;
8989  }
8990 
8996  _have_supports_team_drives_ = false;
8997  client::ClearCppValueHelper(&supports_team_drives_);
8998  }
8999 
9000 
9006  bool get_supports_team_drives() const { return supports_team_drives_; }
9007 
9014  void set_supports_team_drives(bool value) {
9015  _have_supports_team_drives_ = true;
9016  supports_team_drives_ = value;
9017  }
9018 
9028  virtual util::Status AppendVariable(
9029  const StringPiece& variable_name,
9030  const client::UriTemplateConfig& config,
9031  string* target);
9032 
9038  virtual util::Status AppendOptionalQueryParameters(string* target);
9039 
9040 
9052  ParentReference* data) {
9053  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
9054  }
9055 
9056  private:
9057  string file_id_;
9058  bool enforce_single_parent_;
9059  bool supports_all_drives_;
9060  bool supports_team_drives_;
9061  bool _have_enforce_single_parent_ : 1;
9062  bool _have_supports_all_drives_ : 1;
9063  bool _have_supports_team_drives_ : 1; string _content_;
9064  DISALLOW_COPY_AND_ASSIGN(ParentsResource_InsertMethod);
9065 };
9066 
9086  public:
9096  const DriveService* _service_,
9097  client::AuthorizationCredential* _credential_,
9098  const absl::string_view& file_id);
9099 
9103  virtual ~ParentsResource_ListMethod();
9104 
9105 
9115  virtual util::Status AppendVariable(
9116  const StringPiece& variable_name,
9117  const client::UriTemplateConfig& config,
9118  string* target);
9119 
9120 
9132  ParentList* data) {
9133  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
9134  }
9135 
9136  private:
9137  string file_id_;
9138  DISALLOW_COPY_AND_ASSIGN(ParentsResource_ListMethod);
9139 };
9140 
9141 
9142 
9157  public:
9168  const DriveService* _service_,
9169  client::AuthorizationCredential* _credential_,
9170  const absl::string_view& file_id,
9171  const absl::string_view& permission_id);
9172 
9177 
9178 
9184  _have_supports_all_drives_ = false;
9185  client::ClearCppValueHelper(&supports_all_drives_);
9186  }
9187 
9188 
9194  bool get_supports_all_drives() const { return supports_all_drives_; }
9195 
9205  void set_supports_all_drives(bool value) {
9206  _have_supports_all_drives_ = true;
9207  supports_all_drives_ = value;
9208  }
9209 
9215  _have_supports_team_drives_ = false;
9216  client::ClearCppValueHelper(&supports_team_drives_);
9217  }
9218 
9219 
9225  bool get_supports_team_drives() const { return supports_team_drives_; }
9226 
9233  void set_supports_team_drives(bool value) {
9234  _have_supports_team_drives_ = true;
9235  supports_team_drives_ = value;
9236  }
9237 
9243  _have_use_domain_admin_access_ = false;
9244  client::ClearCppValueHelper(&use_domain_admin_access_);
9245  }
9246 
9247 
9253  bool get_use_domain_admin_access() const { return use_domain_admin_access_; }
9254 
9263  void set_use_domain_admin_access(bool value) {
9264  _have_use_domain_admin_access_ = true;
9265  use_domain_admin_access_ = value;
9266  }
9267 
9277  virtual util::Status AppendVariable(
9278  const StringPiece& variable_name,
9279  const client::UriTemplateConfig& config,
9280  string* target);
9281 
9287  virtual util::Status AppendOptionalQueryParameters(string* target);
9288 
9289 
9290  private:
9291  string file_id_;
9292  string permission_id_;
9293  bool supports_all_drives_;
9294  bool supports_team_drives_;
9295  bool use_domain_admin_access_;
9296  bool _have_supports_all_drives_ : 1;
9297  bool _have_supports_team_drives_ : 1;
9298  bool _have_use_domain_admin_access_ : 1;
9299  DISALLOW_COPY_AND_ASSIGN(PermissionsResource_DeleteMethod);
9300 };
9301 
9320  public:
9331  const DriveService* _service_,
9332  client::AuthorizationCredential* _credential_,
9333  const absl::string_view& file_id,
9334  const absl::string_view& permission_id);
9335 
9339  virtual ~PermissionsResource_GetMethod();
9340 
9341 
9347  _have_supports_all_drives_ = false;
9348  client::ClearCppValueHelper(&supports_all_drives_);
9349  }
9350 
9351 
9357  bool get_supports_all_drives() const { return supports_all_drives_; }
9358 
9368  void set_supports_all_drives(bool value) {
9369  _have_supports_all_drives_ = true;
9370  supports_all_drives_ = value;
9371  }
9372 
9378  _have_supports_team_drives_ = false;
9379  client::ClearCppValueHelper(&supports_team_drives_);
9380  }
9381 
9382 
9388  bool get_supports_team_drives() const { return supports_team_drives_; }
9389 
9396  void set_supports_team_drives(bool value) {
9397  _have_supports_team_drives_ = true;
9398  supports_team_drives_ = value;
9399  }
9400 
9406  _have_use_domain_admin_access_ = false;
9407  client::ClearCppValueHelper(&use_domain_admin_access_);
9408  }
9409 
9410 
9416  bool get_use_domain_admin_access() const { return use_domain_admin_access_; }
9417 
9426  void set_use_domain_admin_access(bool value) {
9427  _have_use_domain_admin_access_ = true;
9428  use_domain_admin_access_ = value;
9429  }
9430 
9440  virtual util::Status AppendVariable(
9441  const StringPiece& variable_name,
9442  const client::UriTemplateConfig& config,
9443  string* target);
9444 
9450  virtual util::Status AppendOptionalQueryParameters(string* target);
9451 
9452 
9464  Permission* data) {
9465  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
9466  }
9467 
9468  private:
9469  string file_id_;
9470  string permission_id_;
9471  bool supports_all_drives_;
9472  bool supports_team_drives_;
9473  bool use_domain_admin_access_;
9474  bool _have_supports_all_drives_ : 1;
9475  bool _have_supports_team_drives_ : 1;
9476  bool _have_use_domain_admin_access_ : 1;
9477  DISALLOW_COPY_AND_ASSIGN(PermissionsResource_GetMethod);
9478 };
9479 
9500  public:
9510  const DriveService* _service_,
9511  client::AuthorizationCredential* _credential_,
9512  const absl::string_view& email);
9513 
9518 
9519 
9529  virtual util::Status AppendVariable(
9530  const StringPiece& variable_name,
9531  const client::UriTemplateConfig& config,
9532  string* target);
9533 
9534 
9546  PermissionId* data) {
9547  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
9548  }
9549 
9550  private:
9551  string email_;
9552  DISALLOW_COPY_AND_ASSIGN(PermissionsResource_GetIdForEmailMethod);
9553 };
9554 
9569  public:
9580  const DriveService* _service_,
9581  client::AuthorizationCredential* _credential_,
9582  const absl::string_view& file_id,
9583  const Permission& _content_);
9584 
9589 
9590 
9595  _have_email_message_ = false;
9596  client::ClearCppValueHelper(&email_message_);
9597  }
9598 
9599 
9605  const string& get_email_message() const { return email_message_; }
9606 
9614  _have_email_message_ = true;
9615  return &email_message_;
9616  }
9617 
9618 
9625  void set_email_message(const string& value) {
9626  _have_email_message_ = true;
9627  email_message_ = value;
9628  }
9629 
9630 
9631 
9637  _have_enforce_single_parent_ = false;
9638  client::ClearCppValueHelper(&enforce_single_parent_);
9639  }
9640 
9641 
9647  bool get_enforce_single_parent() const { return enforce_single_parent_; }
9648 
9656  void set_enforce_single_parent(bool value) {
9657  _have_enforce_single_parent_ = true;
9658  enforce_single_parent_ = value;
9659  }
9660 
9666  _have_move_to_new_owners_root_ = false;
9667  client::ClearCppValueHelper(&move_to_new_owners_root_);
9668  }
9669 
9670 
9676  bool get_move_to_new_owners_root() const { return move_to_new_owners_root_; }
9677 
9690  void set_move_to_new_owners_root(bool value) {
9691  _have_move_to_new_owners_root_ = true;
9692  move_to_new_owners_root_ = value;
9693  }
9694 
9700  _have_send_notification_emails_ = false;
9701  client::ClearCppValueHelper(&send_notification_emails_);
9702  }
9703 
9704 
9710  bool get_send_notification_emails() const { return send_notification_emails_; }
9711 
9719  void set_send_notification_emails(bool value) {
9720  _have_send_notification_emails_ = true;
9721  send_notification_emails_ = value;
9722  }
9723 
9729  _have_supports_all_drives_ = false;
9730  client::ClearCppValueHelper(&supports_all_drives_);
9731  }
9732 
9733 
9739  bool get_supports_all_drives() const { return supports_all_drives_; }
9740 
9750  void set_supports_all_drives(bool value) {
9751  _have_supports_all_drives_ = true;
9752  supports_all_drives_ = value;
9753  }
9754 
9760  _have_supports_team_drives_ = false;
9761  client::ClearCppValueHelper(&supports_team_drives_);
9762  }
9763 
9764 
9770  bool get_supports_team_drives() const { return supports_team_drives_; }
9771 
9778  void set_supports_team_drives(bool value) {
9779  _have_supports_team_drives_ = true;
9780  supports_team_drives_ = value;
9781  }
9782 
9788  _have_use_domain_admin_access_ = false;
9789  client::ClearCppValueHelper(&use_domain_admin_access_);
9790  }
9791 
9792 
9798  bool get_use_domain_admin_access() const { return use_domain_admin_access_; }
9799 
9808  void set_use_domain_admin_access(bool value) {
9809  _have_use_domain_admin_access_ = true;
9810  use_domain_admin_access_ = value;
9811  }
9812 
9822  virtual util::Status AppendVariable(
9823  const StringPiece& variable_name,
9824  const client::UriTemplateConfig& config,
9825  string* target);
9826 
9832  virtual util::Status AppendOptionalQueryParameters(string* target);
9833 
9834 
9846  Permission* data) {
9847  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
9848  }
9849 
9850  private:
9851  string file_id_;
9852  string email_message_;
9853  bool enforce_single_parent_;
9854  bool move_to_new_owners_root_;
9855  bool send_notification_emails_;
9856  bool supports_all_drives_;
9857  bool supports_team_drives_;
9858  bool use_domain_admin_access_;
9859  bool _have_email_message_ : 1;
9860  bool _have_enforce_single_parent_ : 1;
9861  bool _have_move_to_new_owners_root_ : 1;
9862  bool _have_send_notification_emails_ : 1;
9863  bool _have_supports_all_drives_ : 1;
9864  bool _have_supports_team_drives_ : 1;
9865  bool _have_use_domain_admin_access_ : 1; string _content_;
9866  DISALLOW_COPY_AND_ASSIGN(PermissionsResource_InsertMethod);
9867 };
9868 
9887  public:
9897  const DriveService* _service_,
9898  client::AuthorizationCredential* _credential_,
9899  const absl::string_view& file_id);
9900 
9904  virtual ~PermissionsResource_ListMethod();
9905 
9906 
9911  _have_max_results_ = false;
9912  client::ClearCppValueHelper(&max_results_);
9913  }
9914 
9915 
9921  int32 get_max_results() const { return max_results_; }
9922 
9931  void set_max_results(int32 value) {
9932  _have_max_results_ = true;
9933  max_results_ = value;
9934  }
9935 
9940  _have_page_token_ = false;
9941  client::ClearCppValueHelper(&page_token_);
9942  }
9943 
9944 
9950  const string& get_page_token() const { return page_token_; }
9951 
9958  string* mutable_pageToken() {
9959  _have_page_token_ = true;
9960  return &page_token_;
9961  }
9962 
9963 
9971  void set_page_token(const string& value) {
9972  _have_page_token_ = true;
9973  page_token_ = value;
9974  }
9975 
9976 
9977 
9983  _have_supports_all_drives_ = false;
9984  client::ClearCppValueHelper(&supports_all_drives_);
9985  }
9986 
9987 
9993  bool get_supports_all_drives() const { return supports_all_drives_; }
9994 
10004  void set_supports_all_drives(bool value) {
10005  _have_supports_all_drives_ = true;
10006  supports_all_drives_ = value;
10007  }
10008 
10014  _have_supports_team_drives_ = false;
10015  client::ClearCppValueHelper(&supports_team_drives_);
10016  }
10017 
10018 
10024  bool get_supports_team_drives() const { return supports_team_drives_; }
10025 
10032  void set_supports_team_drives(bool value) {
10033  _have_supports_team_drives_ = true;
10034  supports_team_drives_ = value;
10035  }
10036 
10042  _have_use_domain_admin_access_ = false;
10043  client::ClearCppValueHelper(&use_domain_admin_access_);
10044  }
10045 
10046 
10052  bool get_use_domain_admin_access() const { return use_domain_admin_access_; }
10053 
10062  void set_use_domain_admin_access(bool value) {
10063  _have_use_domain_admin_access_ = true;
10064  use_domain_admin_access_ = value;
10065  }
10066 
10076  virtual util::Status AppendVariable(
10077  const StringPiece& variable_name,
10078  const client::UriTemplateConfig& config,
10079  string* target);
10080 
10086  virtual util::Status AppendOptionalQueryParameters(string* target);
10087 
10088 
10100  PermissionList* data) {
10101  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
10102  }
10103 
10104  private:
10105  string file_id_;
10106  int32 max_results_;
10107  string page_token_;
10108  bool supports_all_drives_;
10109  bool supports_team_drives_;
10110  bool use_domain_admin_access_;
10111  bool _have_max_results_ : 1;
10112  bool _have_page_token_ : 1;
10113  bool _have_supports_all_drives_ : 1;
10114  bool _have_supports_team_drives_ : 1;
10115  bool _have_use_domain_admin_access_ : 1;
10116  DISALLOW_COPY_AND_ASSIGN(PermissionsResource_ListMethod);
10117 };
10118 
10119 typedef client::ServiceRequestPager<
10122  PermissionsResource_ListMethodPager;
10123 
10138  public:
10150  const DriveService* _service_,
10151  client::AuthorizationCredential* _credential_,
10152  const absl::string_view& file_id,
10153  const absl::string_view& permission_id,
10154  const Permission& _content_);
10155 
10160 
10161 
10167  _have_remove_expiration_ = false;
10168  client::ClearCppValueHelper(&remove_expiration_);
10169  }
10170 
10171 
10177  bool get_remove_expiration() const { return remove_expiration_; }
10178 
10184  void set_remove_expiration(bool value) {
10185  _have_remove_expiration_ = true;
10186  remove_expiration_ = value;
10187  }
10188 
10194  _have_supports_all_drives_ = false;
10195  client::ClearCppValueHelper(&supports_all_drives_);
10196  }
10197 
10198 
10204  bool get_supports_all_drives() const { return supports_all_drives_; }
10205 
10215  void set_supports_all_drives(bool value) {
10216  _have_supports_all_drives_ = true;
10217  supports_all_drives_ = value;
10218  }
10219 
10225  _have_supports_team_drives_ = false;
10226  client::ClearCppValueHelper(&supports_team_drives_);
10227  }
10228 
10229 
10235  bool get_supports_team_drives() const { return supports_team_drives_; }
10236 
10243  void set_supports_team_drives(bool value) {
10244  _have_supports_team_drives_ = true;
10245  supports_team_drives_ = value;
10246  }
10247 
10253  _have_transfer_ownership_ = false;
10254  client::ClearCppValueHelper(&transfer_ownership_);
10255  }
10256 
10257 
10263  bool get_transfer_ownership() const { return transfer_ownership_; }
10264 
10272  void set_transfer_ownership(bool value) {
10273  _have_transfer_ownership_ = true;
10274  transfer_ownership_ = value;
10275  }
10276 
10282  _have_use_domain_admin_access_ = false;
10283  client::ClearCppValueHelper(&use_domain_admin_access_);
10284  }
10285 
10286 
10292  bool get_use_domain_admin_access() const { return use_domain_admin_access_; }
10293 
10302  void set_use_domain_admin_access(bool value) {
10303  _have_use_domain_admin_access_ = true;
10304  use_domain_admin_access_ = value;
10305  }
10306 
10316  virtual util::Status AppendVariable(
10317  const StringPiece& variable_name,
10318  const client::UriTemplateConfig& config,
10319  string* target);
10320 
10326  virtual util::Status AppendOptionalQueryParameters(string* target);
10327 
10328 
10340  Permission* data) {
10341  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
10342  }
10343 
10344  private:
10345  string file_id_;
10346  string permission_id_;
10347  bool remove_expiration_;
10348  bool supports_all_drives_;
10349  bool supports_team_drives_;
10350  bool transfer_ownership_;
10351  bool use_domain_admin_access_;
10352  bool _have_remove_expiration_ : 1;
10353  bool _have_supports_all_drives_ : 1;
10354  bool _have_supports_team_drives_ : 1;
10355  bool _have_transfer_ownership_ : 1;
10356  bool _have_use_domain_admin_access_ : 1; string _content_;
10357  DISALLOW_COPY_AND_ASSIGN(PermissionsResource_PatchMethod);
10358 };
10359 
10374  public:
10386  const DriveService* _service_,
10387  client::AuthorizationCredential* _credential_,
10388  const absl::string_view& file_id,
10389  const absl::string_view& permission_id,
10390  const Permission& _content_);
10391 
10396 
10397 
10403  _have_remove_expiration_ = false;
10404  client::ClearCppValueHelper(&remove_expiration_);
10405  }
10406 
10407 
10413  bool get_remove_expiration() const { return remove_expiration_; }
10414 
10420  void set_remove_expiration(bool value) {
10421  _have_remove_expiration_ = true;
10422  remove_expiration_ = value;
10423  }
10424 
10430  _have_supports_all_drives_ = false;
10431  client::ClearCppValueHelper(&supports_all_drives_);
10432  }
10433 
10434 
10440  bool get_supports_all_drives() const { return supports_all_drives_; }
10441 
10451  void set_supports_all_drives(bool value) {
10452  _have_supports_all_drives_ = true;
10453  supports_all_drives_ = value;
10454  }
10455 
10461  _have_supports_team_drives_ = false;
10462  client::ClearCppValueHelper(&supports_team_drives_);
10463  }
10464 
10465 
10471  bool get_supports_team_drives() const { return supports_team_drives_; }
10472 
10479  void set_supports_team_drives(bool value) {
10480  _have_supports_team_drives_ = true;
10481  supports_team_drives_ = value;
10482  }
10483 
10489  _have_transfer_ownership_ = false;
10490  client::ClearCppValueHelper(&transfer_ownership_);
10491  }
10492 
10493 
10499  bool get_transfer_ownership() const { return transfer_ownership_; }
10500 
10508  void set_transfer_ownership(bool value) {
10509  _have_transfer_ownership_ = true;
10510  transfer_ownership_ = value;
10511  }
10512 
10518  _have_use_domain_admin_access_ = false;
10519  client::ClearCppValueHelper(&use_domain_admin_access_);
10520  }
10521 
10522 
10528  bool get_use_domain_admin_access() const { return use_domain_admin_access_; }
10529 
10538  void set_use_domain_admin_access(bool value) {
10539  _have_use_domain_admin_access_ = true;
10540  use_domain_admin_access_ = value;
10541  }
10542 
10552  virtual util::Status AppendVariable(
10553  const StringPiece& variable_name,
10554  const client::UriTemplateConfig& config,
10555  string* target);
10556 
10562  virtual util::Status AppendOptionalQueryParameters(string* target);
10563 
10564 
10576  Permission* data) {
10577  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
10578  }
10579 
10580  private:
10581  string file_id_;
10582  string permission_id_;
10583  bool remove_expiration_;
10584  bool supports_all_drives_;
10585  bool supports_team_drives_;
10586  bool transfer_ownership_;
10587  bool use_domain_admin_access_;
10588  bool _have_remove_expiration_ : 1;
10589  bool _have_supports_all_drives_ : 1;
10590  bool _have_supports_team_drives_ : 1;
10591  bool _have_transfer_ownership_ : 1;
10592  bool _have_use_domain_admin_access_ : 1; string _content_;
10593  DISALLOW_COPY_AND_ASSIGN(PermissionsResource_UpdateMethod);
10594 };
10595 
10596 
10597 
10614  public:
10625  const DriveService* _service_,
10626  client::AuthorizationCredential* _credential_,
10627  const absl::string_view& file_id,
10628  const absl::string_view& property_key);
10629 
10634 
10635 
10640  _have_visibility_ = false;
10641  client::ClearCppValueHelper(&visibility_);
10642  }
10643 
10644 
10650  const string& get_visibility() const { return visibility_; }
10651 
10659  _have_visibility_ = true;
10660  return &visibility_;
10661  }
10662 
10663 
10669  void set_visibility(const string& value) {
10670  _have_visibility_ = true;
10671  visibility_ = value;
10672  }
10673 
10683  virtual util::Status AppendVariable(
10684  const StringPiece& variable_name,
10685  const client::UriTemplateConfig& config,
10686  string* target);
10687 
10693  virtual util::Status AppendOptionalQueryParameters(string* target);
10694 
10695 
10696  private:
10697  string file_id_;
10698  string property_key_;
10699  string visibility_;
10700  bool _have_visibility_ : 1;
10701  DISALLOW_COPY_AND_ASSIGN(PropertiesResource_DeleteMethod);
10702 };
10703 
10723  public:
10734  const DriveService* _service_,
10735  client::AuthorizationCredential* _credential_,
10736  const absl::string_view& file_id,
10737  const absl::string_view& property_key);
10738 
10742  virtual ~PropertiesResource_GetMethod();
10743 
10744 
10749  _have_visibility_ = false;
10750  client::ClearCppValueHelper(&visibility_);
10751  }
10752 
10753 
10759  const string& get_visibility() const { return visibility_; }
10760 
10768  _have_visibility_ = true;
10769  return &visibility_;
10770  }
10771 
10772 
10778  void set_visibility(const string& value) {
10779  _have_visibility_ = true;
10780  visibility_ = value;
10781  }
10782 
10792  virtual util::Status AppendVariable(
10793  const StringPiece& variable_name,
10794  const client::UriTemplateConfig& config,
10795  string* target);
10796 
10802  virtual util::Status AppendOptionalQueryParameters(string* target);
10803 
10804 
10816  Property* data) {
10817  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
10818  }
10819 
10820  private:
10821  string file_id_;
10822  string property_key_;
10823  string visibility_;
10824  bool _have_visibility_ : 1;
10825  DISALLOW_COPY_AND_ASSIGN(PropertiesResource_GetMethod);
10826 };
10827 
10844  public:
10855  const DriveService* _service_,
10856  client::AuthorizationCredential* _credential_,
10857  const absl::string_view& file_id,
10858  const Property& _content_);
10859 
10864 
10865 
10875  virtual util::Status AppendVariable(
10876  const StringPiece& variable_name,
10877  const client::UriTemplateConfig& config,
10878  string* target);
10879 
10880 
10892  Property* data) {
10893  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
10894  }
10895 
10896  private:
10897  string file_id_; string _content_;
10898  DISALLOW_COPY_AND_ASSIGN(PropertiesResource_InsertMethod);
10899 };
10900 
10920  public:
10930  const DriveService* _service_,
10931  client::AuthorizationCredential* _credential_,
10932  const absl::string_view& file_id);
10933 
10937  virtual ~PropertiesResource_ListMethod();
10938 
10939 
10949  virtual util::Status AppendVariable(
10950  const StringPiece& variable_name,
10951  const client::UriTemplateConfig& config,
10952  string* target);
10953 
10954 
10966  PropertyList* data) {
10967  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
10968  }
10969 
10970  private:
10971  string file_id_;
10972  DISALLOW_COPY_AND_ASSIGN(PropertiesResource_ListMethod);
10973 };
10974 
10991  public:
11003  const DriveService* _service_,
11004  client::AuthorizationCredential* _credential_,
11005  const absl::string_view& file_id,
11006  const absl::string_view& property_key,
11007  const Property& _content_);
11008 
11012  virtual ~PropertiesResource_PatchMethod();
11013 
11014 
11019  _have_visibility_ = false;
11020  client::ClearCppValueHelper(&visibility_);
11021  }
11022 
11023 
11029  const string& get_visibility() const { return visibility_; }
11030 
11038  _have_visibility_ = true;
11039  return &visibility_;
11040  }
11041 
11042 
11049  void set_visibility(const string& value) {
11050  _have_visibility_ = true;
11051  visibility_ = value;
11052  }
11053 
11063  virtual util::Status AppendVariable(
11064  const StringPiece& variable_name,
11065  const client::UriTemplateConfig& config,
11066  string* target);
11067 
11073  virtual util::Status AppendOptionalQueryParameters(string* target);
11074 
11075 
11087  Property* data) {
11088  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
11089  }
11090 
11091  private:
11092  string file_id_;
11093  string property_key_;
11094  string visibility_;
11095  bool _have_visibility_ : 1; string _content_;
11096  DISALLOW_COPY_AND_ASSIGN(PropertiesResource_PatchMethod);
11097 };
11098 
11115  public:
11127  const DriveService* _service_,
11128  client::AuthorizationCredential* _credential_,
11129  const absl::string_view& file_id,
11130  const absl::string_view& property_key,
11131  const Property& _content_);
11132 
11137 
11138 
11143  _have_visibility_ = false;
11144  client::ClearCppValueHelper(&visibility_);
11145  }
11146 
11147 
11153  const string& get_visibility() const { return visibility_; }
11154 
11162  _have_visibility_ = true;
11163  return &visibility_;
11164  }
11165 
11166 
11173  void set_visibility(const string& value) {
11174  _have_visibility_ = true;
11175  visibility_ = value;
11176  }
11177 
11187  virtual util::Status AppendVariable(
11188  const StringPiece& variable_name,
11189  const client::UriTemplateConfig& config,
11190  string* target);
11191 
11197  virtual util::Status AppendOptionalQueryParameters(string* target);
11198 
11199 
11211  Property* data) {
11212  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
11213  }
11214 
11215  private:
11216  string file_id_;
11217  string property_key_;
11218  string visibility_;
11219  bool _have_visibility_ : 1; string _content_;
11220  DISALLOW_COPY_AND_ASSIGN(PropertiesResource_UpdateMethod);
11221 };
11222 
11223 
11224 
11239  public:
11251  const DriveService* _service_,
11252  client::AuthorizationCredential* _credential_,
11253  const absl::string_view& file_id,
11254  const absl::string_view& comment_id,
11255  const absl::string_view& reply_id);
11256 
11260  virtual ~RepliesResource_DeleteMethod();
11261 
11262 
11272  virtual util::Status AppendVariable(
11273  const StringPiece& variable_name,
11274  const client::UriTemplateConfig& config,
11275  string* target);
11276 
11277 
11278  private:
11279  string file_id_;
11280  string comment_id_;
11281  string reply_id_;
11282  DISALLOW_COPY_AND_ASSIGN(RepliesResource_DeleteMethod);
11283 };
11284 
11300  public:
11312  const DriveService* _service_,
11313  client::AuthorizationCredential* _credential_,
11314  const absl::string_view& file_id,
11315  const absl::string_view& comment_id,
11316  const absl::string_view& reply_id);
11317 
11321  virtual ~RepliesResource_GetMethod();
11322 
11323 
11329  _have_include_deleted_ = false;
11330  client::ClearCppValueHelper(&include_deleted_);
11331  }
11332 
11333 
11339  bool get_include_deleted() const { return include_deleted_; }
11340 
11347  void set_include_deleted(bool value) {
11348  _have_include_deleted_ = true;
11349  include_deleted_ = value;
11350  }
11351 
11361  virtual util::Status AppendVariable(
11362  const StringPiece& variable_name,
11363  const client::UriTemplateConfig& config,
11364  string* target);
11365 
11371  virtual util::Status AppendOptionalQueryParameters(string* target);
11372 
11373 
11385  CommentReply* data) {
11386  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
11387  }
11388 
11389  private:
11390  string file_id_;
11391  string comment_id_;
11392  string reply_id_;
11393  bool include_deleted_;
11394  bool _have_include_deleted_ : 1;
11395  DISALLOW_COPY_AND_ASSIGN(RepliesResource_GetMethod);
11396 };
11397 
11412  public:
11424  const DriveService* _service_,
11425  client::AuthorizationCredential* _credential_,
11426  const absl::string_view& file_id,
11427  const absl::string_view& comment_id,
11428  const CommentReply& _content_);
11429 
11433  virtual ~RepliesResource_InsertMethod();
11434 
11435 
11445  virtual util::Status AppendVariable(
11446  const StringPiece& variable_name,
11447  const client::UriTemplateConfig& config,
11448  string* target);
11449 
11450 
11462  CommentReply* data) {
11463  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
11464  }
11465 
11466  private:
11467  string file_id_;
11468  string comment_id_; string _content_;
11469  DISALLOW_COPY_AND_ASSIGN(RepliesResource_InsertMethod);
11470 };
11471 
11487  public:
11498  const DriveService* _service_,
11499  client::AuthorizationCredential* _credential_,
11500  const absl::string_view& file_id,
11501  const absl::string_view& comment_id);
11502 
11506  virtual ~RepliesResource_ListMethod();
11507 
11508 
11514  _have_include_deleted_ = false;
11515  client::ClearCppValueHelper(&include_deleted_);
11516  }
11517 
11518 
11524  bool get_include_deleted() const { return include_deleted_; }
11525 
11532  void set_include_deleted(bool value) {
11533  _have_include_deleted_ = true;
11534  include_deleted_ = value;
11535  }
11536 
11541  _have_max_results_ = false;
11542  client::ClearCppValueHelper(&max_results_);
11543  }
11544 
11545 
11551  int32 get_max_results() const { return max_results_; }
11552 
11559  void set_max_results(int32 value) {
11560  _have_max_results_ = true;
11561  max_results_ = value;
11562  }
11563 
11568  _have_page_token_ = false;
11569  client::ClearCppValueHelper(&page_token_);
11570  }
11571 
11572 
11578  const string& get_page_token() const { return page_token_; }
11579 
11586  string* mutable_pageToken() {
11587  _have_page_token_ = true;
11588  return &page_token_;
11589  }
11590 
11591 
11599  void set_page_token(const string& value) {
11600  _have_page_token_ = true;
11601  page_token_ = value;
11602  }
11603 
11613  virtual util::Status AppendVariable(
11614  const StringPiece& variable_name,
11615  const client::UriTemplateConfig& config,
11616  string* target);
11617 
11623  virtual util::Status AppendOptionalQueryParameters(string* target);
11624 
11625 
11637  CommentReplyList* data) {
11638  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
11639  }
11640 
11641  private:
11642  string file_id_;
11643  string comment_id_;
11644  bool include_deleted_;
11645  int32 max_results_;
11646  string page_token_;
11647  bool _have_include_deleted_ : 1;
11648  bool _have_max_results_ : 1;
11649  bool _have_page_token_ : 1;
11650  DISALLOW_COPY_AND_ASSIGN(RepliesResource_ListMethod);
11651 };
11652 
11653 typedef client::ServiceRequestPager<
11656  RepliesResource_ListMethodPager;
11657 
11672  public:
11685  const DriveService* _service_,
11686  client::AuthorizationCredential* _credential_,
11687  const absl::string_view& file_id,
11688  const absl::string_view& comment_id,
11689  const absl::string_view& reply_id,
11690  const CommentReply& _content_);
11691 
11695  virtual ~RepliesResource_PatchMethod();
11696 
11697 
11707  virtual util::Status AppendVariable(
11708  const StringPiece& variable_name,
11709  const client::UriTemplateConfig& config,
11710  string* target);
11711 
11712 
11724  CommentReply* data) {
11725  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
11726  }
11727 
11728  private:
11729  string file_id_;
11730  string comment_id_;
11731  string reply_id_; string _content_;
11732  DISALLOW_COPY_AND_ASSIGN(RepliesResource_PatchMethod);
11733 };
11734 
11749  public:
11762  const DriveService* _service_,
11763  client::AuthorizationCredential* _credential_,
11764  const absl::string_view& file_id,
11765  const absl::string_view& comment_id,
11766  const absl::string_view& reply_id,
11767  const CommentReply& _content_);
11768 
11772  virtual ~RepliesResource_UpdateMethod();
11773 
11774 
11784  virtual util::Status AppendVariable(
11785  const StringPiece& variable_name,
11786  const client::UriTemplateConfig& config,
11787  string* target);
11788 
11789 
11801  CommentReply* data) {
11802  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
11803  }
11804 
11805  private:
11806  string file_id_;
11807  string comment_id_;
11808  string reply_id_; string _content_;
11809  DISALLOW_COPY_AND_ASSIGN(RepliesResource_UpdateMethod);
11810 };
11811 
11812 
11813 
11829  public:
11840  const DriveService* _service_,
11841  client::AuthorizationCredential* _credential_,
11842  const absl::string_view& file_id,
11843  const absl::string_view& revision_id);
11844 
11848  virtual ~RevisionsResource_DeleteMethod();
11849 
11850 
11860  virtual util::Status AppendVariable(
11861  const StringPiece& variable_name,
11862  const client::UriTemplateConfig& config,
11863  string* target);
11864 
11865 
11866  private:
11867  string file_id_;
11868  string revision_id_;
11869  DISALLOW_COPY_AND_ASSIGN(RevisionsResource_DeleteMethod);
11870 };
11871 
11891  public:
11902  const DriveService* _service_,
11903  client::AuthorizationCredential* _credential_,
11904  const absl::string_view& file_id,
11905  const absl::string_view& revision_id);
11906 
11910  virtual ~RevisionsResource_GetMethod();
11911 
11912 
11922  virtual util::Status AppendVariable(
11923  const StringPiece& variable_name,
11924  const client::UriTemplateConfig& config,
11925  string* target);
11926 
11927 
11939  Revision* data) {
11940  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
11941  }
11942 
11943  private:
11944  string file_id_;
11945  string revision_id_;
11946  DISALLOW_COPY_AND_ASSIGN(RevisionsResource_GetMethod);
11947 };
11948 
11968  public:
11978  const DriveService* _service_,
11979  client::AuthorizationCredential* _credential_,
11980  const absl::string_view& file_id);
11981 
11985  virtual ~RevisionsResource_ListMethod();
11986 
11987 
11992  _have_max_results_ = false;
11993  client::ClearCppValueHelper(&max_results_);
11994  }
11995 
11996 
12002  int32 get_max_results() const { return max_results_; }
12003 
12009  void set_max_results(int32 value) {
12010  _have_max_results_ = true;
12011  max_results_ = value;
12012  }
12013 
12018  _have_page_token_ = false;
12019  client::ClearCppValueHelper(&page_token_);
12020  }
12021 
12022 
12028  const string& get_page_token() const { return page_token_; }
12029 
12036  string* mutable_pageToken() {
12037  _have_page_token_ = true;
12038  return &page_token_;
12039  }
12040 
12041 
12049  void set_page_token(const string& value) {
12050  _have_page_token_ = true;
12051  page_token_ = value;
12052  }
12053 
12063  virtual util::Status AppendVariable(
12064  const StringPiece& variable_name,
12065  const client::UriTemplateConfig& config,
12066  string* target);
12067 
12073  virtual util::Status AppendOptionalQueryParameters(string* target);
12074 
12075 
12087  RevisionList* data) {
12088  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
12089  }
12090 
12091  private:
12092  string file_id_;
12093  int32 max_results_;
12094  string page_token_;
12095  bool _have_max_results_ : 1;
12096  bool _have_page_token_ : 1;
12097  DISALLOW_COPY_AND_ASSIGN(RevisionsResource_ListMethod);
12098 };
12099 
12100 typedef client::ServiceRequestPager<
12102  RevisionList>
12103  RevisionsResource_ListMethodPager;
12104 
12120  public:
12132  const DriveService* _service_,
12133  client::AuthorizationCredential* _credential_,
12134  const absl::string_view& file_id,
12135  const absl::string_view& revision_id,
12136  const Revision& _content_);
12137 
12141  virtual ~RevisionsResource_PatchMethod();
12142 
12143 
12153  virtual util::Status AppendVariable(
12154  const StringPiece& variable_name,
12155  const client::UriTemplateConfig& config,
12156  string* target);
12157 
12158 
12170  Revision* data) {
12171  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
12172  }
12173 
12174  private:
12175  string file_id_;
12176  string revision_id_; string _content_;
12177  DISALLOW_COPY_AND_ASSIGN(RevisionsResource_PatchMethod);
12178 };
12179 
12195  public:
12207  const DriveService* _service_,
12208  client::AuthorizationCredential* _credential_,
12209  const absl::string_view& file_id,
12210  const absl::string_view& revision_id,
12211  const Revision& _content_);
12212 
12216  virtual ~RevisionsResource_UpdateMethod();
12217 
12218 
12228  virtual util::Status AppendVariable(
12229  const StringPiece& variable_name,
12230  const client::UriTemplateConfig& config,
12231  string* target);
12232 
12233 
12245  Revision* data) {
12246  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
12247  }
12248 
12249  private:
12250  string file_id_;
12251  string revision_id_; string _content_;
12252  DISALLOW_COPY_AND_ASSIGN(RevisionsResource_UpdateMethod);
12253 };
12254 
12255 
12256 
12270  public:
12280  const DriveService* _service_,
12281  client::AuthorizationCredential* _credential_,
12282  const absl::string_view& team_drive_id);
12283 
12288 
12289 
12299  virtual util::Status AppendVariable(
12300  const StringPiece& variable_name,
12301  const client::UriTemplateConfig& config,
12302  string* target);
12303 
12304 
12305  private:
12306  string team_drive_id_;
12307  DISALLOW_COPY_AND_ASSIGN(TeamdrivesResource_DeleteMethod);
12308 };
12309 
12324  public:
12334  const DriveService* _service_,
12335  client::AuthorizationCredential* _credential_,
12336  const absl::string_view& team_drive_id);
12337 
12341  virtual ~TeamdrivesResource_GetMethod();
12342 
12343 
12349  _have_use_domain_admin_access_ = false;
12350  client::ClearCppValueHelper(&use_domain_admin_access_);
12351  }
12352 
12353 
12359  bool get_use_domain_admin_access() const { return use_domain_admin_access_; }
12360 
12368  void set_use_domain_admin_access(bool value) {
12369  _have_use_domain_admin_access_ = true;
12370  use_domain_admin_access_ = value;
12371  }
12372 
12382  virtual util::Status AppendVariable(
12383  const StringPiece& variable_name,
12384  const client::UriTemplateConfig& config,
12385  string* target);
12386 
12392  virtual util::Status AppendOptionalQueryParameters(string* target);
12393 
12394 
12406  TeamDrive* data) {
12407  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
12408  }
12409 
12410  private:
12411  string team_drive_id_;
12412  bool use_domain_admin_access_;
12413  bool _have_use_domain_admin_access_ : 1;
12414  DISALLOW_COPY_AND_ASSIGN(TeamdrivesResource_GetMethod);
12415 };
12416 
12430  public:
12445  const DriveService* _service_,
12446  client::AuthorizationCredential* _credential_,
12447  const absl::string_view& request_id,
12448  const TeamDrive& _content_);
12449 
12454 
12455 
12465  virtual util::Status AppendVariable(
12466  const StringPiece& variable_name,
12467  const client::UriTemplateConfig& config,
12468  string* target);
12469 
12475  virtual util::Status AppendOptionalQueryParameters(string* target);
12476 
12477 
12489  TeamDrive* data) {
12490  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
12491  }
12492 
12493  private:
12494  string request_id_; string _content_;
12495  DISALLOW_COPY_AND_ASSIGN(TeamdrivesResource_InsertMethod);
12496 };
12497 
12512  public:
12521  const DriveService* _service_,
12522  client::AuthorizationCredential* _credential_);
12523 
12527  virtual ~TeamdrivesResource_ListMethod();
12528 
12529 
12534  _have_max_results_ = false;
12535  client::ClearCppValueHelper(&max_results_);
12536  }
12537 
12538 
12544  int32 get_max_results() const { return max_results_; }
12545 
12551  void set_max_results(int32 value) {
12552  _have_max_results_ = true;
12553  max_results_ = value;
12554  }
12555 
12560  _have_page_token_ = false;
12561  client::ClearCppValueHelper(&page_token_);
12562  }
12563 
12564 
12570  const string& get_page_token() const { return page_token_; }
12571 
12578  string* mutable_pageToken() {
12579  _have_page_token_ = true;
12580  return &page_token_;
12581  }
12582 
12583 
12589  void set_page_token(const string& value) {
12590  _have_page_token_ = true;
12591  page_token_ = value;
12592  }
12593 
12594 
12595 
12599  void clear_q() {
12600  _have_q_ = false;
12601  client::ClearCppValueHelper(&q_);
12602  }
12603 
12604 
12610  const string& get_q() const { return q_; }
12611 
12617  string* mutable_q() {
12618  _have_q_ = true;
12619  return &q_;
12620  }
12621 
12622 
12628  void set_q(const string& value) {
12629  _have_q_ = true;
12630  q_ = value;
12631  }
12632 
12633 
12634 
12640  _have_use_domain_admin_access_ = false;
12641  client::ClearCppValueHelper(&use_domain_admin_access_);
12642  }
12643 
12644 
12650  bool get_use_domain_admin_access() const { return use_domain_admin_access_; }
12651 
12659  void set_use_domain_admin_access(bool value) {
12660  _have_use_domain_admin_access_ = true;
12661  use_domain_admin_access_ = value;
12662  }
12663 
12673  virtual util::Status AppendVariable(
12674  const StringPiece& variable_name,
12675  const client::UriTemplateConfig& config,
12676  string* target);
12677 
12683  virtual util::Status AppendOptionalQueryParameters(string* target);
12684 
12685 
12697  TeamDriveList* data) {
12698  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
12699  }
12700 
12701  private:
12702  int32 max_results_;
12703  string page_token_;
12704  string q_;
12705  bool use_domain_admin_access_;
12706  bool _have_max_results_ : 1;
12707  bool _have_page_token_ : 1;
12708  bool _have_q_ : 1;
12709  bool _have_use_domain_admin_access_ : 1;
12710  DISALLOW_COPY_AND_ASSIGN(TeamdrivesResource_ListMethod);
12711 };
12712 
12713 typedef client::ServiceRequestPager<
12715  TeamDriveList>
12716  TeamdrivesResource_ListMethodPager;
12717 
12731  public:
12742  const DriveService* _service_,
12743  client::AuthorizationCredential* _credential_,
12744  const absl::string_view& team_drive_id,
12745  const TeamDrive& _content_);
12746 
12751 
12752 
12758  _have_use_domain_admin_access_ = false;
12759  client::ClearCppValueHelper(&use_domain_admin_access_);
12760  }
12761 
12762 
12768  bool get_use_domain_admin_access() const { return use_domain_admin_access_; }
12769 
12777  void set_use_domain_admin_access(bool value) {
12778  _have_use_domain_admin_access_ = true;
12779  use_domain_admin_access_ = value;
12780  }
12781 
12791  virtual util::Status AppendVariable(
12792  const StringPiece& variable_name,
12793  const client::UriTemplateConfig& config,
12794  string* target);
12795 
12801  virtual util::Status AppendOptionalQueryParameters(string* target);
12802 
12803 
12815  TeamDrive* data) {
12816  return DriveServiceBaseRequest::ExecuteAndParseResponse(data);
12817  }
12818 
12819  private:
12820  string team_drive_id_;
12821  bool use_domain_admin_access_;
12822  bool _have_use_domain_admin_access_ : 1; string _content_;
12823  DISALLOW_COPY_AND_ASSIGN(TeamdrivesResource_UpdateMethod);
12824 };
12825 
12826 
12827 
12836 class DriveService : public client::ClientService {
12837  public:
12841  static const char googleapis_API_NAME[];
12842 
12846  static const char googleapis_API_VERSION[];
12847 
12851  static const char googleapis_API_GENERATOR[];
12852 
12853 
12860  public:
12868  explicit AboutResource(DriveService* service);
12869 
12874 
12875 
12884  AboutResource_GetMethod* NewGetMethod(
12885  client::AuthorizationCredential* _credential_) const;
12886 
12887  private:
12888  DriveService* service_;
12889 
12890  DISALLOW_COPY_AND_ASSIGN(AboutResource);
12891  };
12892 
12899  public:
12907  explicit AppsResource(DriveService* service);
12908 
12913 
12914 
12924  AppsResource_GetMethod* NewGetMethod(
12925  client::AuthorizationCredential* _credential_,
12926  const absl::string_view& app_id) const;
12927 
12936  AppsResource_ListMethod* NewListMethod(
12937  client::AuthorizationCredential* _credential_) const;
12938 
12939  private:
12940  DriveService* service_;
12941 
12942  DISALLOW_COPY_AND_ASSIGN(AppsResource);
12943  };
12944 
12951  public:
12959  explicit ChangesResource(DriveService* service);
12960 
12965 
12966 
12977  ChangesResource_GetMethod* NewGetMethod(
12978  client::AuthorizationCredential* _credential_,
12979  const absl::string_view& change_id) const;
12980 
12989  ChangesResource_GetStartPageTokenMethod* NewGetStartPageTokenMethod(
12990  client::AuthorizationCredential* _credential_) const;
12991 
13000  ChangesResource_ListMethod* NewListMethod(
13001  client::AuthorizationCredential* _credential_) const;
13002 
13009  ChangesResource_ListMethodPager* NewListMethodPager(
13010  client::AuthorizationCredential* _credential_) const;
13011 
13021  ChangesResource_WatchMethod* NewWatchMethod(
13022  client::AuthorizationCredential* _credential_,
13023  const Channel& _content_) const;
13024 
13025  private:
13026  DriveService* service_;
13027 
13028  DISALLOW_COPY_AND_ASSIGN(ChangesResource);
13029  };
13030 
13037  public:
13045  explicit ChannelsResource(DriveService* service);
13046 
13051 
13052 
13062  ChannelsResource_StopMethod* NewStopMethod(
13063  client::AuthorizationCredential* _credential_,
13064  const Channel& _content_) const;
13065 
13066  private:
13067  DriveService* service_;
13068 
13069  DISALLOW_COPY_AND_ASSIGN(ChannelsResource);
13070  };
13071 
13078  public:
13086  explicit ChildrenResource(DriveService* service);
13087 
13092 
13093 
13104  ChildrenResource_DeleteMethod* NewDeleteMethod(
13105  client::AuthorizationCredential* _credential_,
13106  const absl::string_view& folder_id,
13107  const absl::string_view& child_id) const;
13108 
13119  ChildrenResource_GetMethod* NewGetMethod(
13120  client::AuthorizationCredential* _credential_,
13121  const absl::string_view& folder_id,
13122  const absl::string_view& child_id) const;
13123 
13134  ChildrenResource_InsertMethod* NewInsertMethod(
13135  client::AuthorizationCredential* _credential_,
13136  const absl::string_view& folder_id,
13137  const ChildReference& _content_) const;
13138 
13148  ChildrenResource_ListMethod* NewListMethod(
13149  client::AuthorizationCredential* _credential_,
13150  const absl::string_view& folder_id) const;
13151 
13160  ChildrenResource_ListMethodPager* NewListMethodPager(
13161  client::AuthorizationCredential* _credential_,
13162  const absl::string_view& folder_id) const;
13163 
13164  private:
13165  DriveService* service_;
13166 
13167  DISALLOW_COPY_AND_ASSIGN(ChildrenResource);
13168  };
13169 
13176  public:
13184  explicit CommentsResource(DriveService* service);
13185 
13190 
13191 
13202  CommentsResource_DeleteMethod* NewDeleteMethod(
13203  client::AuthorizationCredential* _credential_,
13204  const absl::string_view& file_id,
13205  const absl::string_view& comment_id) const;
13206 
13217  CommentsResource_GetMethod* NewGetMethod(
13218  client::AuthorizationCredential* _credential_,
13219  const absl::string_view& file_id,
13220  const absl::string_view& comment_id) const;
13221 
13232  CommentsResource_InsertMethod* NewInsertMethod(
13233  client::AuthorizationCredential* _credential_,
13234  const absl::string_view& file_id,
13235  const Comment& _content_) const;
13236 
13246  CommentsResource_ListMethod* NewListMethod(
13247  client::AuthorizationCredential* _credential_,
13248  const absl::string_view& file_id) const;
13249 
13258  CommentsResource_ListMethodPager* NewListMethodPager(
13259  client::AuthorizationCredential* _credential_,
13260  const absl::string_view& file_id) const;
13261 
13273  CommentsResource_PatchMethod* NewPatchMethod(
13274  client::AuthorizationCredential* _credential_,
13275  const absl::string_view& file_id,
13276  const absl::string_view& comment_id,
13277  const Comment& _content_) const;
13278 
13290  CommentsResource_UpdateMethod* NewUpdateMethod(
13291  client::AuthorizationCredential* _credential_,
13292  const absl::string_view& file_id,
13293  const absl::string_view& comment_id,
13294  const Comment& _content_) const;
13295 
13296  private:
13297  DriveService* service_;
13298 
13299  DISALLOW_COPY_AND_ASSIGN(CommentsResource);
13300  };
13301 
13308  public:
13316  explicit DrivesResource(DriveService* service);
13317 
13322 
13323 
13333  DrivesResource_DeleteMethod* NewDeleteMethod(
13334  client::AuthorizationCredential* _credential_,
13335  const absl::string_view& drive_id) const;
13336 
13346  DrivesResource_GetMethod* NewGetMethod(
13347  client::AuthorizationCredential* _credential_,
13348  const absl::string_view& drive_id) const;
13349 
13359  DrivesResource_HideMethod* NewHideMethod(
13360  client::AuthorizationCredential* _credential_,
13361  const absl::string_view& drive_id) const;
13362 
13377  DrivesResource_InsertMethod* NewInsertMethod(
13378  client::AuthorizationCredential* _credential_,
13379  const absl::string_view& request_id,
13380  const Drive& _content_) const;
13381 
13390  DrivesResource_ListMethod* NewListMethod(
13391  client::AuthorizationCredential* _credential_) const;
13392 
13399  DrivesResource_ListMethodPager* NewListMethodPager(
13400  client::AuthorizationCredential* _credential_) const;
13401 
13411  DrivesResource_UnhideMethod* NewUnhideMethod(
13412  client::AuthorizationCredential* _credential_,
13413  const absl::string_view& drive_id) const;
13414 
13425  DrivesResource_UpdateMethod* NewUpdateMethod(
13426  client::AuthorizationCredential* _credential_,
13427  const absl::string_view& drive_id,
13428  const Drive& _content_) const;
13429 
13430  private:
13431  DriveService* service_;
13432 
13433  DISALLOW_COPY_AND_ASSIGN(DrivesResource);
13434  };
13435 
13442  public:
13450  explicit FilesResource(DriveService* service);
13451 
13456 
13457 
13468  FilesResource_CopyMethod* NewCopyMethod(
13469  client::AuthorizationCredential* _credential_,
13470  const absl::string_view& file_id,
13471  const File& _content_) const;
13472 
13482  FilesResource_DeleteMethod* NewDeleteMethod(
13483  client::AuthorizationCredential* _credential_,
13484  const absl::string_view& file_id) const;
13485 
13494  FilesResource_EmptyTrashMethod* NewEmptyTrashMethod(
13495  client::AuthorizationCredential* _credential_) const;
13496 
13508  FilesResource_ExportMethod* NewExportMethod(
13509  client::AuthorizationCredential* _credential_,
13510  const absl::string_view& file_id,
13511  const absl::string_view& mime_type) const;
13512 
13521  FilesResource_GenerateIdsMethod* NewGenerateIdsMethod(
13522  client::AuthorizationCredential* _credential_) const;
13523 
13533  FilesResource_GetMethod* NewGetMethod(
13534  client::AuthorizationCredential* _credential_,
13535  const absl::string_view& file_id) const;
13536 
13537 
13548  FilesResource_InsertMethod* NewInsertMethod(
13549  client::AuthorizationCredential* _credential_) const;
13550 
13566  FilesResource_InsertMethod* NewInsertMethod(
13567  client::AuthorizationCredential* _credential_,
13568  const File* _metadata_,
13569  const StringPiece& _media_content_type_,
13570  client::DataReader* _media_content_reader_) const;
13571 
13580  FilesResource_ListMethod* NewListMethod(
13581  client::AuthorizationCredential* _credential_) const;
13582 
13589  FilesResource_ListMethodPager* NewListMethodPager(
13590  client::AuthorizationCredential* _credential_) const;
13591 
13602  FilesResource_PatchMethod* NewPatchMethod(
13603  client::AuthorizationCredential* _credential_,
13604  const absl::string_view& file_id,
13605  const File& _content_) const;
13606 
13616  FilesResource_TouchMethod* NewTouchMethod(
13617  client::AuthorizationCredential* _credential_,
13618  const absl::string_view& file_id) const;
13619 
13629  FilesResource_TrashMethod* NewTrashMethod(
13630  client::AuthorizationCredential* _credential_,
13631  const absl::string_view& file_id) const;
13632 
13642  FilesResource_UntrashMethod* NewUntrashMethod(
13643  client::AuthorizationCredential* _credential_,
13644  const absl::string_view& file_id) const;
13645 
13646 
13658  FilesResource_UpdateMethod* NewUpdateMethod(
13659  client::AuthorizationCredential* _credential_,
13660  const absl::string_view& file_id) const;
13661 
13678  FilesResource_UpdateMethod* NewUpdateMethod(
13679  client::AuthorizationCredential* _credential_,
13680  const absl::string_view& file_id,
13681  const File* _metadata_,
13682  const StringPiece& _media_content_type_,
13683  client::DataReader* _media_content_reader_) const;
13684 
13695  FilesResource_WatchMethod* NewWatchMethod(
13696  client::AuthorizationCredential* _credential_,
13697  const absl::string_view& file_id,
13698  const Channel& _content_) const;
13699 
13700  private:
13701  DriveService* service_;
13702 
13703  DISALLOW_COPY_AND_ASSIGN(FilesResource);
13704  };
13705 
13712  public:
13720  explicit ParentsResource(DriveService* service);
13721 
13726 
13727 
13738  ParentsResource_DeleteMethod* NewDeleteMethod(
13739  client::AuthorizationCredential* _credential_,
13740  const absl::string_view& file_id,
13741  const absl::string_view& parent_id) const;
13742 
13753  ParentsResource_GetMethod* NewGetMethod(
13754  client::AuthorizationCredential* _credential_,
13755  const absl::string_view& file_id,
13756  const absl::string_view& parent_id) const;
13757 
13768  ParentsResource_InsertMethod* NewInsertMethod(
13769  client::AuthorizationCredential* _credential_,
13770  const absl::string_view& file_id,
13771  const ParentReference& _content_) const;
13772 
13782  ParentsResource_ListMethod* NewListMethod(
13783  client::AuthorizationCredential* _credential_,
13784  const absl::string_view& file_id) const;
13785 
13786  private:
13787  DriveService* service_;
13788 
13789  DISALLOW_COPY_AND_ASSIGN(ParentsResource);
13790  };
13791 
13798  public:
13806  explicit PermissionsResource(DriveService* service);
13807 
13812 
13813 
13824  PermissionsResource_DeleteMethod* NewDeleteMethod(
13825  client::AuthorizationCredential* _credential_,
13826  const absl::string_view& file_id,
13827  const absl::string_view& permission_id) const;
13828 
13839  PermissionsResource_GetMethod* NewGetMethod(
13840  client::AuthorizationCredential* _credential_,
13841  const absl::string_view& file_id,
13842  const absl::string_view& permission_id) const;
13843 
13853  PermissionsResource_GetIdForEmailMethod* NewGetIdForEmailMethod(
13854  client::AuthorizationCredential* _credential_,
13855  const absl::string_view& email) const;
13856 
13867  PermissionsResource_InsertMethod* NewInsertMethod(
13868  client::AuthorizationCredential* _credential_,
13869  const absl::string_view& file_id,
13870  const Permission& _content_) const;
13871 
13881  PermissionsResource_ListMethod* NewListMethod(
13882  client::AuthorizationCredential* _credential_,
13883  const absl::string_view& file_id) const;
13884 
13893  PermissionsResource_ListMethodPager* NewListMethodPager(
13894  client::AuthorizationCredential* _credential_,
13895  const absl::string_view& file_id) const;
13896 
13908  PermissionsResource_PatchMethod* NewPatchMethod(
13909  client::AuthorizationCredential* _credential_,
13910  const absl::string_view& file_id,
13911  const absl::string_view& permission_id,
13912  const Permission& _content_) const;
13913 
13925  PermissionsResource_UpdateMethod* NewUpdateMethod(
13926  client::AuthorizationCredential* _credential_,
13927  const absl::string_view& file_id,
13928  const absl::string_view& permission_id,
13929  const Permission& _content_) const;
13930 
13931  private:
13932  DriveService* service_;
13933 
13934  DISALLOW_COPY_AND_ASSIGN(PermissionsResource);
13935  };
13936 
13943  public:
13951  explicit PropertiesResource(DriveService* service);
13952 
13957 
13958 
13969  PropertiesResource_DeleteMethod* NewDeleteMethod(
13970  client::AuthorizationCredential* _credential_,
13971  const absl::string_view& file_id,
13972  const absl::string_view& property_key) const;
13973 
13984  PropertiesResource_GetMethod* NewGetMethod(
13985  client::AuthorizationCredential* _credential_,
13986  const absl::string_view& file_id,
13987  const absl::string_view& property_key) const;
13988 
13999  PropertiesResource_InsertMethod* NewInsertMethod(
14000  client::AuthorizationCredential* _credential_,
14001  const absl::string_view& file_id,
14002  const Property& _content_) const;
14003 
14013  PropertiesResource_ListMethod* NewListMethod(
14014  client::AuthorizationCredential* _credential_,
14015  const absl::string_view& file_id) const;
14016 
14028  PropertiesResource_PatchMethod* NewPatchMethod(
14029  client::AuthorizationCredential* _credential_,
14030  const absl::string_view& file_id,
14031  const absl::string_view& property_key,
14032  const Property& _content_) const;
14033 
14045  PropertiesResource_UpdateMethod* NewUpdateMethod(
14046  client::AuthorizationCredential* _credential_,
14047  const absl::string_view& file_id,
14048  const absl::string_view& property_key,
14049  const Property& _content_) const;
14050 
14051  private:
14052  DriveService* service_;
14053 
14054  DISALLOW_COPY_AND_ASSIGN(PropertiesResource);
14055  };
14056 
14063  public:
14071  explicit RepliesResource(DriveService* service);
14072 
14077 
14078 
14090  RepliesResource_DeleteMethod* NewDeleteMethod(
14091  client::AuthorizationCredential* _credential_,
14092  const absl::string_view& file_id,
14093  const absl::string_view& comment_id,
14094  const absl::string_view& reply_id) const;
14095 
14107  RepliesResource_GetMethod* NewGetMethod(
14108  client::AuthorizationCredential* _credential_,
14109  const absl::string_view& file_id,
14110  const absl::string_view& comment_id,
14111  const absl::string_view& reply_id) const;
14112 
14124  RepliesResource_InsertMethod* NewInsertMethod(
14125  client::AuthorizationCredential* _credential_,
14126  const absl::string_view& file_id,
14127  const absl::string_view& comment_id,
14128  const CommentReply& _content_) const;
14129 
14140  RepliesResource_ListMethod* NewListMethod(
14141  client::AuthorizationCredential* _credential_,
14142  const absl::string_view& file_id,
14143  const absl::string_view& comment_id) const;
14144 
14155  RepliesResource_ListMethodPager* NewListMethodPager(
14156  client::AuthorizationCredential* _credential_,
14157  const absl::string_view& file_id,
14158  const absl::string_view& comment_id) const;
14159 
14172  RepliesResource_PatchMethod* NewPatchMethod(
14173  client::AuthorizationCredential* _credential_,
14174  const absl::string_view& file_id,
14175  const absl::string_view& comment_id,
14176  const absl::string_view& reply_id,
14177  const CommentReply& _content_) const;
14178 
14191  RepliesResource_UpdateMethod* NewUpdateMethod(
14192  client::AuthorizationCredential* _credential_,
14193  const absl::string_view& file_id,
14194  const absl::string_view& comment_id,
14195  const absl::string_view& reply_id,
14196  const CommentReply& _content_) const;
14197 
14198  private:
14199  DriveService* service_;
14200 
14201  DISALLOW_COPY_AND_ASSIGN(RepliesResource);
14202  };
14203 
14210  public:
14218  explicit RevisionsResource(DriveService* service);
14219 
14224 
14225 
14236  RevisionsResource_DeleteMethod* NewDeleteMethod(
14237  client::AuthorizationCredential* _credential_,
14238  const absl::string_view& file_id,
14239  const absl::string_view& revision_id) const;
14240 
14251  RevisionsResource_GetMethod* NewGetMethod(
14252  client::AuthorizationCredential* _credential_,
14253  const absl::string_view& file_id,
14254  const absl::string_view& revision_id) const;
14255 
14265  RevisionsResource_ListMethod* NewListMethod(
14266  client::AuthorizationCredential* _credential_,
14267  const absl::string_view& file_id) const;
14268 
14277  RevisionsResource_ListMethodPager* NewListMethodPager(
14278  client::AuthorizationCredential* _credential_,
14279  const absl::string_view& file_id) const;
14280 
14292  RevisionsResource_PatchMethod* NewPatchMethod(
14293  client::AuthorizationCredential* _credential_,
14294  const absl::string_view& file_id,
14295  const absl::string_view& revision_id,
14296  const Revision& _content_) const;
14297 
14309  RevisionsResource_UpdateMethod* NewUpdateMethod(
14310  client::AuthorizationCredential* _credential_,
14311  const absl::string_view& file_id,
14312  const absl::string_view& revision_id,
14313  const Revision& _content_) const;
14314 
14315  private:
14316  DriveService* service_;
14317 
14318  DISALLOW_COPY_AND_ASSIGN(RevisionsResource);
14319  };
14320 
14327  public:
14335  explicit TeamdrivesResource(DriveService* service);
14336 
14341 
14342 
14353  TeamdrivesResource_DeleteMethod* NewDeleteMethod(
14354  client::AuthorizationCredential* _credential_,
14355  const absl::string_view& team_drive_id) const;
14356 
14367  TeamdrivesResource_GetMethod* NewGetMethod(
14368  client::AuthorizationCredential* _credential_,
14369  const absl::string_view& team_drive_id) const;
14370 
14386  TeamdrivesResource_InsertMethod* NewInsertMethod(
14387  client::AuthorizationCredential* _credential_,
14388  const absl::string_view& request_id,
14389  const TeamDrive& _content_) const;
14390 
14400  TeamdrivesResource_ListMethod* NewListMethod(
14401  client::AuthorizationCredential* _credential_) const;
14402 
14410  TeamdrivesResource_ListMethodPager* NewListMethodPager(
14411  client::AuthorizationCredential* _credential_) const;
14412 
14424  TeamdrivesResource_UpdateMethod* NewUpdateMethod(
14425  client::AuthorizationCredential* _credential_,
14426  const absl::string_view& team_drive_id,
14427  const TeamDrive& _content_) const;
14428 
14429  private:
14430  DriveService* service_;
14431 
14432  DISALLOW_COPY_AND_ASSIGN(TeamdrivesResource);
14433  };
14434 
14435 
14436 
14443  explicit DriveService(client::HttpTransport* transport);
14444 
14448  virtual ~DriveService();
14449 
14455  const AboutResource& get_about() const {
14456  return about_;
14457  }
14458 
14459 
14465  const AppsResource& get_apps() const {
14466  return apps_;
14467  }
14468 
14469 
14475  const ChangesResource& get_changes() const {
14476  return changes_;
14477  }
14478 
14479 
14486  return channels_;
14487  }
14488 
14489 
14496  return children_;
14497  }
14498 
14499 
14506  return comments_;
14507  }
14508 
14509 
14515  const DrivesResource& get_drives() const {
14516  return drives_;
14517  }
14518 
14519 
14525  const FilesResource& get_files() const {
14526  return files_;
14527  }
14528 
14529 
14535  const ParentsResource& get_parents() const {
14536  return parents_;
14537  }
14538 
14539 
14546  return permissions_;
14547  }
14548 
14549 
14556  return properties_;
14557  }
14558 
14559 
14565  const RepliesResource& get_replies() const {
14566  return replies_;
14567  }
14568 
14569 
14576  return revisions_;
14577  }
14578 
14579 
14586  return teamdrives_;
14587  }
14588 
14595  class SCOPES {
14596  public:
14600  static const char DRIVE[];
14601 
14605  static const char DRIVE_APPDATA[];
14606 
14610  static const char DRIVE_APPS_READONLY[];
14611 
14616  static const char DRIVE_FILE[];
14617 
14621  static const char DRIVE_METADATA[];
14622 
14626  static const char DRIVE_METADATA_READONLY[];
14627 
14631  static const char DRIVE_PHOTOS_READONLY[];
14632 
14636  static const char DRIVE_READONLY[];
14637 
14641  static const char DRIVE_SCRIPTS[];
14642 
14643  private:
14644  SCOPES(); // Never instantiated.
14645  ~SCOPES(); // Never instantiated.
14646  };
14647 
14648  private:
14649  AboutResource about_;
14650  AppsResource apps_;
14651  ChangesResource changes_;
14652  ChannelsResource channels_;
14653  ChildrenResource children_;
14654  CommentsResource comments_;
14655  DrivesResource drives_;
14656  FilesResource files_;
14657  ParentsResource parents_;
14658  PermissionsResource permissions_;
14659  PropertiesResource properties_;
14660  RepliesResource replies_;
14661  RevisionsResource revisions_;
14662  TeamdrivesResource teamdrives_;
14663 
14664  DISALLOW_COPY_AND_ASSIGN(DriveService);
14665 };
14666 
14667 
14698 } // namespace google_drive_api
14699 #endif // GOOGLE_DRIVE_API_DRIVE_SERVICE_H_
Definition: drive_service.h:12194
void clear_projection()
Definition: drive_service.h:6355
void set_use_domain_admin_access(bool value)
Definition: drive_service.h:12777
Definition: drive_service.h:4232
int32 get_max_results() const
Definition: drive_service.h:9921
const string & get_drive_id() const
Definition: drive_service.h:969
void set_supports_team_drives(bool value)
Definition: drive_service.h:4920
string * mutable_projection()
Definition: drive_service.h:6374
void set_include_corpus_removals(bool value)
Definition: drive_service.h:2010
string * mutable_visibility()
Definition: drive_service.h:11037
void set_use_domain_admin_access(bool value)
Definition: drive_service.h:12659
void clear_timed_text_language()
Definition: drive_service.h:5797
bool get_supports_team_drives() const
Definition: drive_service.h:1041
string * mutable_corpora()
Definition: drive_service.h:6078
void clear_max_results()
Definition: drive_service.h:6240
Definition: drive_service.h:2849
const string & get_visibility() const
Definition: drive_service.h:10650
string * mutable_teamDriveId()
Definition: drive_service.h:2349
void clear_revision_id()
Definition: drive_service.h:5325
void clear_corpora()
Definition: drive_service.h:6059
const string & get_page_token() const
Definition: drive_service.h:1638
void set_max_results(int32 value)
Definition: drive_service.h:4053
util::Status ExecuteAndParseResponse(ChildReference *data)
Definition: drive_service.h:2815
~PropertiesResource()
Definition: drive_service.h:13956
Definition: drive_service.h:4845
void set_use_content_as_indexable_text(bool value)
Definition: drive_service.h:8311
void set_set_modified_date(bool value)
Definition: drive_service.h:7017
void set_use_domain_admin_access(bool value)
Definition: drive_service.h:10302
const string & get_revision_id() const
Definition: drive_service.h:8527
void clear_visibility()
Definition: drive_service.h:10639
void clear_ocr_language()
Definition: drive_service.h:5669
Definition: permission.h:51
const string & get_visibility() const
Definition: drive_service.h:10759
void set_quota_user(const string &value)
Definition: drive_service.h:364
util::Status ExecuteAndParseResponse(File *data)
Definition: drive_service.h:4801
void set_use_domain_admin_access(bool value)
Definition: drive_service.h:9263
int64 get_max_change_id_count() const
Definition: drive_service.h:543
void set_supports_team_drives(bool value)
Definition: drive_service.h:10243
bool get_supports_team_drives() const
Definition: drive_service.h:1269
bool get_supports_all_drives() const
Definition: drive_service.h:9993
void set_enforce_single_parent(bool value)
Definition: drive_service.h:6777
void clear_include_items_from_all_drives()
Definition: drive_service.h:6182
bool get_enforce_single_parent() const
Definition: drive_service.h:2706
bool get_include_subscribed() const
Definition: drive_service.h:513
util::Status ExecuteAndParseResponse(RevisionList *data)
Definition: drive_service.h:12086
Definition: drive_service.h:11967
void set_app_filter_extensions(const string &value)
Definition: drive_service.h:774
bool get_use_domain_admin_access() const
Definition: drive_service.h:10052
string * mutable_key()
Definition: drive_service.h:244
void clear_pinned()
Definition: drive_service.h:6927
string * mutable_languageCode()
Definition: drive_service.h:848
bool get_supports_all_drives() const
Definition: drive_service.h:5378
string * mutable_visibility()
Definition: drive_service.h:4752
bool get_ocr() const
Definition: drive_service.h:4508
bool get_pretty_print() const
Definition: drive_service.h:318
util::Status ExecuteAndParseResponse(Permission *data)
Definition: drive_service.h:9845
bool get_include_team_drive_items() const
Definition: drive_service.h:1585
void set_add_parents(const string &value)
Definition: drive_service.h:6716
void set_supports_all_drives(bool value)
Definition: drive_service.h:1249
void clear_page_token()
Definition: drive_service.h:1627
void set_update_viewed_date(bool value)
Definition: drive_service.h:8638
util::Status ExecuteAndParseResponse(StartPageToken *data)
Definition: drive_service.h:1353
void clear_enforce_single_parent()
Definition: drive_service.h:6753
bool get_supports_all_drives() const
Definition: drive_service.h:10440
util::Status ExecuteAndParseResponse(TeamDrive *data)
Definition: drive_service.h:12405
void clear_include_deleted()
Definition: drive_service.h:11328
void set_pinned(bool value)
Definition: drive_service.h:8044
void clear_order_by()
Definition: drive_service.h:6268
bool get_ocr() const
Definition: drive_service.h:7968
Definition: drive_service.h:1389
Definition: drive_service.h:3090
string * mutable_quotaUser()
Definition: drive_service.h:352
Definition: drive_service.h:11828
void clear_visibility()
Definition: drive_service.h:5905
void clear_timed_text_track_name()
Definition: drive_service.h:7126
void set_pinned(bool value)
Definition: drive_service.h:4584
void clear_include_team_drive_items()
Definition: drive_service.h:1574
void clear_enforce_single_parent()
Definition: drive_service.h:2521
void clear_supports_team_drives()
Definition: drive_service.h:7646
string * mutable_removeParents()
Definition: drive_service.h:8071
string * mutable_ocrLanguage()
Definition: drive_service.h:6905
void set_q(const string &value)
Definition: drive_service.h:3015
const string & get_order_by() const
Definition: drive_service.h:6279
util::Status ExecuteAndParseResponse(CommentReplyList *data)
Definition: drive_service.h:11636
Definition: drive_service.h:10722
const string & get_oauth_token() const
Definition: drive_service.h:278
const string & get_visibility() const
Definition: drive_service.h:11153
void clear_use_domain_admin_access()
Definition: drive_service.h:10041
string * mutable_pageToken()
Definition: drive_service.h:2181
util::Status ExecuteAndParseResponse(About *data)
Definition: drive_service.h:614
bool get_ocr() const
Definition: drive_service.h:5653
const string & get_timed_text_track_name() const
Definition: drive_service.h:4704
bool get_convert() const
Definition: drive_service.h:7835
void clear_team_drive_id()
Definition: drive_service.h:6533
const CommentsResource & get_comments() const
Definition: drive_service.h:14505
void set_supports_team_drives(bool value)
Definition: drive_service.h:1787
bool get_supports_team_drives() const
Definition: drive_service.h:7375
Definition: drive_service.h:11238
void set_timed_text_track_name(const string &value)
Definition: drive_service.h:8254
~ChannelsResource()
Definition: drive_service.h:13050
bool get_include_subscribed() const
Definition: drive_service.h:2090
bool get_supports_team_drives() const
Definition: drive_service.h:10471
util::Status ExecuteAndParseResponse(PropertyList *data)
Definition: drive_service.h:10965
bool get_acknowledge_abuse() const
Definition: drive_service.h:5269
void set_use_content_as_indexable_text(bool value)
Definition: drive_service.h:5897
void set_supports_team_drives(bool value)
Definition: drive_service.h:4643
void clear_include_subscribed()
Definition: drive_service.h:1544
util::Status ExecuteAndParseResponse(ParentList *data)
Definition: drive_service.h:9131
util::Status ExecuteAndParseResponse(App *data)
Definition: drive_service.h:695
string * mutable_modifiedDateBehavior()
Definition: drive_service.h:6805
const FilesResource & get_files() const
Definition: drive_service.h:14525
~AppsResource()
Definition: drive_service.h:12912
void clear_supports_all_drives()
Definition: drive_service.h:5367
Definition: drive_service.h:6660
void clear_enforce_single_parent()
Definition: drive_service.h:9636
Definition: drive_service.h:3329
string * mutable_timedTextLanguage()
Definition: drive_service.h:7104
void set_max_results(int32 value)
Definition: drive_service.h:12009
bool get_include_deleted() const
Definition: drive_service.h:3365
void clear_pinned()
Definition: drive_service.h:4565
void set_page_token(const string &value)
Definition: drive_service.h:1659
Definition: drive_service.h:13036
void clear_include_team_drive_items()
Definition: drive_service.h:2109
Definition: drive_service.h:5539
void set_ocr(bool value)
Definition: drive_service.h:6878
const string & get_ocr_language() const
Definition: drive_service.h:5680
const string & get_page_token() const
Definition: drive_service.h:12028
bool get_include_corpus_removals() const
Definition: drive_service.h:2000
Definition: drive_service.h:10613
bool get_enforce_single_parent() const
Definition: drive_service.h:5624
void clear_use_domain_admin_access()
Definition: drive_service.h:12348
bool get_update_viewed_date() const
Definition: drive_service.h:7178
bool get_supports_team_drives() const
Definition: drive_service.h:8600
void clear_ocr()
Definition: drive_service.h:6859
const string & get_visibility() const
Definition: drive_service.h:4744
Definition: generated_ids.h:50
void set_team_drive_id(const string &value)
Definition: drive_service.h:2361
void set_visibility(const string &value)
Definition: drive_service.h:11173
bool get_use_domain_admin_access() const
Definition: drive_service.h:12359
bool get_ocr() const
Definition: drive_service.h:6870
const string & get_app_filter_mime_types() const
Definition: drive_service.h:796
void clear_supports_team_drives()
Definition: drive_service.h:1030
void clear_include_deleted()
Definition: drive_service.h:2019
void set_timed_text_track_name(const string &value)
Definition: drive_service.h:5868
void clear_drive_id()
Definition: drive_service.h:1411
void clear_drive_id()
Definition: drive_service.h:1184
const TeamdrivesResource & get_teamdrives() const
Definition: drive_service.h:14585
string * mutable_addParents()
Definition: drive_service.h:7803
Definition: permission_list.h:52
bool get_use_domain_admin_access() const
Definition: drive_service.h:12768
const string & get_page_token() const
Definition: drive_service.h:2173
bool get_supports_team_drives() const
Definition: drive_service.h:10235
bool get_include_items_from_all_drives() const
Definition: drive_service.h:2059
void set_page_token(const string &value)
Definition: drive_service.h:12049
void set_convert(bool value)
Definition: drive_service.h:4459
bool get_pinned() const
Definition: drive_service.h:4576
string * mutable_modifiedDateBehavior()
Definition: drive_service.h:7903
void set_team_drive_id(const string &value)
Definition: drive_service.h:1826
const RepliesResource & get_replies() const
Definition: drive_service.h:14565
void set_supports_team_drives(bool value)
Definition: drive_service.h:8174
util::Status ExecuteAndParseResponse(AppList *data)
Definition: drive_service.h:898
void clear_supports_all_drives()
Definition: drive_service.h:6475
void clear_use_domain_admin_access()
Definition: drive_service.h:4141
Definition: drive_service.h:11411
void set_supports_all_drives(bool value)
Definition: drive_service.h:7048
util::Status ExecuteAndParseResponse(Change *data)
Definition: drive_service.h:1125
Definition: parent_list.h:52
void set_page_token(const string &value)
Definition: drive_service.h:3440
string * mutable_pageToken()
Definition: drive_service.h:12036
void clear_page_token()
Definition: drive_service.h:4061
void clear_include_subscribed()
Definition: drive_service.h:502
util::Status ExecuteAndParseResponse(Property *data)
Definition: drive_service.h:11210
bool get_enforce_single_parent() const
Definition: drive_service.h:4479
util::Status ExecuteAndParseResponse(Drive *data)
Definition: drive_service.h:4278
util::Status ExecuteAndParseResponse(Drive *data)
Definition: drive_service.h:3839
void set_key(const string &value)
Definition: drive_service.h:257
string * mutable_visibility()
Definition: drive_service.h:10658
util::Status ExecuteAndParseResponse(PermissionId *data)
Definition: drive_service.h:9545
void set_supports_all_drives(bool value)
Definition: drive_service.h:5760
void clear_language_code()
Definition: drive_service.h:829
const string & get_corpora() const
Definition: drive_service.h:6070
string * mutable_driveId()
Definition: drive_service.h:1965
bool get_enforce_single_parent() const
Definition: drive_service.h:8942
~RevisionsResource()
Definition: drive_service.h:14223
Definition: file_list.h:52
void set_timed_text_track_name(const string &value)
Definition: drive_service.h:7156
~ChangesResource()
Definition: drive_service.h:12964
void clear_q()
Definition: drive_service.h:2986
void clear_supports_team_drives()
Definition: drive_service.h:7364
void clear_timed_text_language()
Definition: drive_service.h:4652
void clear_updated_min()
Definition: drive_service.h:3450
bool get_supports_team_drives() const
Definition: drive_service.h:7516
void clear_max_results()
Definition: drive_service.h:11540
string * mutable_driveId()
Definition: drive_service.h:6160
const string & get_page_token() const
Definition: drive_service.h:11578
Definition: drive_service.h:11671
bool get_include_deleted() const
Definition: drive_service.h:2030
const string & get_ocr_language() const
Definition: drive_service.h:7995
bool get_use_domain_admin_access() const
Definition: drive_service.h:9253
void set_convert(bool value)
Definition: drive_service.h:5604
void set_page_token(const string &value)
Definition: drive_service.h:2194
void clear_max_results()
Definition: drive_service.h:4035
Definition: drive_service.h:11114
void clear_timed_text_track_name()
Definition: drive_service.h:5838
bool get_supports_team_drives() const
Definition: drive_service.h:4635
bool get_pinned() const
Definition: drive_service.h:6938
const string & get_page_token() const
Definition: drive_service.h:6326
void set_revision_id(const string &value)
Definition: drive_service.h:8547
bool get_use_content_as_indexable_text() const
Definition: drive_service.h:7206
void set_include_deleted(bool value)
Definition: drive_service.h:11347
const string & get_team_drive_id() const
Definition: drive_service.h:6544
Definition: drive_service.h:13175
void set_ocr_language(const string &value)
Definition: drive_service.h:4555
const string & get_key() const
Definition: drive_service.h:237
void clear_add_parents()
Definition: drive_service.h:6686
Definition: drive_service.h:11748
void clear_timed_text_language()
Definition: drive_service.h:8183
util::Status ExecuteAndParseResponse(File *data)
Definition: drive_service.h:8348
void clear_supports_team_drives()
Definition: drive_service.h:8995
Definition: drive_service.h:934
void clear_timed_text_track_name()
Definition: drive_service.h:4693
void clear_modified_date_behavior()
Definition: drive_service.h:6786
Definition: drive_service.h:717
const string & get_add_parents() const
Definition: drive_service.h:7795
void clear_supports_all_drives()
Definition: drive_service.h:4593
const string & get_ocr_language() const
Definition: drive_service.h:4535
Definition: drive_service.h:108
void clear_spaces()
Definition: drive_service.h:1669
void set_timed_text_language(const string &value)
Definition: drive_service.h:4682
void clear_page_token()
Definition: drive_service.h:2162
bool get_supports_team_drives() const
Definition: drive_service.h:7657
Definition: drive_service.h:10137
util::Status ExecuteAndParseResponse(CommentReply *data)
Definition: drive_service.h:11461
void set_set_modified_date(bool value)
Definition: drive_service.h:8115
void set_language_code(const string &value)
Definition: drive_service.h:861
string * mutable_teamDriveId()
Definition: drive_service.h:1076
static const client::MediaUploadSpec SIMPLE_MEDIA_UPLOAD
Definition: drive_service.h:8361
void set_start_change_id(int64 value)
Definition: drive_service.h:2263
void clear_remove_parents()
Definition: drive_service.h:8052
Definition: team_drive.h:51
void clear_max_results()
Definition: drive_service.h:5109
void set_timed_text_language(const string &value)
Definition: drive_service.h:7115
void set_alt(const string &value)
Definition: drive_service.h:176
void clear_projection()
Definition: drive_service.h:5285
const string & get_drive_id() const
Definition: drive_service.h:1422
string * mutable_revisionId()
Definition: drive_service.h:8535
Definition: drive_service.h:14595
util::Status ExecuteAndParseResponse(File *data)
Definition: drive_service.h:7420
bool get_use_domain_admin_access() const
Definition: drive_service.h:9798
int64 get_start_change_id() const
Definition: drive_service.h:1720
string * mutable_q()
Definition: drive_service.h:3004
const string & get_timed_text_language() const
Definition: drive_service.h:7096
void clear_ocr_language()
Definition: drive_service.h:4524
string * mutable_updatedMin()
Definition: drive_service.h:3469
bool get_pinned() const
Definition: drive_service.h:8036
string * mutable_ocrLanguage()
Definition: drive_service.h:5688
void clear_q()
Definition: drive_service.h:6395
void set_remove_parents(const string &value)
Definition: drive_service.h:6984
util::Status ExecuteAndParseResponse(ChangeList *data)
Definition: drive_service.h:1863
string * mutable_projection()
Definition: drive_service.h:8495
bool get_supports_all_drives() const
Definition: drive_service.h:1010
void clear_use_domain_admin_access()
Definition: drive_service.h:10281
void set_pinned(bool value)
Definition: drive_service.h:6946
Definition: drive.h:51
bool get_supports_all_drives() const
Definition: drive_service.h:5749
void set_supports_team_drives(bool value)
Definition: drive_service.h:10479
util::Status ExecuteAndParseResponse(File *data)
Definition: drive_service.h:7702
void set_pretty_print(bool value)
Definition: drive_service.h:325
Definition: change.h:56
void clear_ocr()
Definition: drive_service.h:4497
void set_drive_id(const string &value)
Definition: drive_service.h:988
string * mutable_q()
Definition: drive_service.h:4119
util::Status ExecuteAndParseResponse(Channel *data)
Definition: drive_service.h:8675
util::Status ExecuteAndParseResponse(ChildReference *data)
Definition: drive_service.h:2643
void set_include_deleted(bool value)
Definition: drive_service.h:3194
void set_enforce_single_parent(bool value)
Definition: drive_service.h:9656
string * mutable_timedTextTrackName()
Definition: drive_service.h:8243
const string & get_page_token() const
Definition: drive_service.h:3419
void clear_alt()
Definition: drive_service.h:147
string * mutable_orderBy()
Definition: drive_service.h:6287
void set_ocr(bool value)
Definition: drive_service.h:5661
void set_supports_all_drives(bool value)
Definition: drive_service.h:4615
Definition: drive_service.h:479
void clear_supports_team_drives()
Definition: drive_service.h:2759
void clear_team_drive_id()
Definition: drive_service.h:2330
bool get_supports_all_drives() const
Definition: drive_service.h:7037
void set_include_items_from_all_drives(bool value)
Definition: drive_service.h:6204
const ParentsResource & get_parents() const
Definition: drive_service.h:14535
static const client::MediaUploadSpec SIMPLE_MEDIA_UPLOAD
Definition: drive_service.h:5986
void set_include_team_drive_items(bool value)
Definition: drive_service.h:6232
void set_page_token(const string &value)
Definition: drive_service.h:6345
util::Status ExecuteAndParseResponse(TeamDrive *data)
Definition: drive_service.h:12814
void set_supports_all_drives(bool value)
Definition: drive_service.h:7496
void set_supports_all_drives(bool value)
Definition: drive_service.h:9205
Definition: file.h:57
bool get_include_team_drive_items() const
Definition: drive_service.h:6224
string * mutable_fields()
Definition: drive_service.h:204
~CommentsResource()
Definition: drive_service.h:13189
bool get_new_revision() const
Definition: drive_service.h:6838
void set_use_media_download(bool use)
Definition: drive_service.h:5503
void clear_convert()
Definition: drive_service.h:5585
~DrivesResource()
Definition: drive_service.h:13321
~FilesResource()
Definition: drive_service.h:13455
const string & get_corpus() const
Definition: drive_service.h:6112
void clear_spaces()
Definition: drive_service.h:2204
const string & get_order_by() const
Definition: drive_service.h:2910
void clear_visibility()
Definition: drive_service.h:11018
void clear_supports_all_drives()
Definition: drive_service.h:7474
const string & get_drive_id() const
Definition: drive_service.h:1957
void set_supports_team_drives(bool value)
Definition: drive_service.h:6525
bool get_include_deleted() const
Definition: drive_service.h:11524
void clear_new_revision()
Definition: drive_service.h:6827
bool get_use_content_as_indexable_text() const
Definition: drive_service.h:5890
void set_drive_id(const string &value)
Definition: drive_service.h:1216
Definition: drive_service.h:8730
Definition: app.h:53
void set_supports_team_drives(bool value)
Definition: drive_service.h:7524
string * mutable_ocrLanguage()
Definition: drive_service.h:8003
void clear_remove_expiration()
Definition: drive_service.h:10402
void set_acknowledge_abuse(bool value)
Definition: drive_service.h:5277
~PermissionsResource()
Definition: drive_service.h:13811
bool get_enforce_single_parent() const
Definition: drive_service.h:6764
bool get_use_content_as_indexable_text() const
Definition: drive_service.h:8304
Definition: property_list.h:53
void clear_supports_all_drives()
Definition: drive_service.h:7333
bool get_supports_all_drives() const
Definition: drive_service.h:2283
string * mutable_spaces()
Definition: drive_service.h:6452
void set_supports_team_drives(bool value)
Definition: drive_service.h:10032
void clear_supports_team_drives()
Definition: drive_service.h:5769
void set_timed_text_language(const string &value)
Definition: drive_service.h:8213
void set_oauth_token(const string &value)
Definition: drive_service.h:297
void set_ocr(bool value)
Definition: drive_service.h:4516
void set_order_by(const string &value)
Definition: drive_service.h:2936
const string & get_timed_text_language() const
Definition: drive_service.h:8194
void set_spaces(const string &value)
Definition: drive_service.h:2234
void set_enforce_single_parent(bool value)
Definition: drive_service.h:2719
const string & get_modified_date_behavior() const
Definition: drive_service.h:7895
Definition: drive_service.h:3863
bool get_enforce_single_parent() const
Definition: drive_service.h:7862
bool get_supports_all_drives() const
Definition: drive_service.h:9739
void clear_enforce_single_parent()
Definition: drive_service.h:8757
util::Status ExecuteAndParseResponse(Drive *data)
Definition: drive_service.h:3990
string * mutable_appFilterMimeTypes()
Definition: drive_service.h:804
string * mutable_pageToken()
Definition: drive_service.h:4080
void set_supports_team_drives(bool value)
Definition: drive_service.h:9778
string * mutable_q()
Definition: drive_service.h:6413
void clear_supports_all_drives()
Definition: drive_service.h:999
Definition: drive_service.h:12269
bool get_supports_all_drives() const
Definition: drive_service.h:8975
util::Status ExecuteAndParseResponse(Channel *data)
Definition: drive_service.h:2398
void set_include_deleted(bool value)
Definition: drive_service.h:3373
void set_max_results(int32 value)
Definition: drive_service.h:11559
void set_include_deleted(bool value)
Definition: drive_service.h:2039
void clear_supports_team_drives()
Definition: drive_service.h:9214
bool get_supports_team_drives() const
Definition: drive_service.h:5780
void clear_page_token()
Definition: drive_service.h:9939
bool get_supports_all_drives() const
Definition: drive_service.h:4881
bool get_use_domain_admin_access() const
Definition: drive_service.h:10528
void clear_team_drive_id()
Definition: drive_service.h:1285
void clear_send_notification_emails()
Definition: drive_service.h:9699
string * mutable_pageToken()
Definition: drive_service.h:2965
void clear_supports_all_drives()
Definition: drive_service.h:2272
int32 get_max_results() const
Definition: drive_service.h:2147
const string & get_q() const
Definition: drive_service.h:12610
void set_ocr_language(const string &value)
Definition: drive_service.h:6917
Definition: drive_service.h:11890
void clear_app_filter_extensions()
Definition: drive_service.h:740
bool get_send_notification_emails() const
Definition: drive_service.h:9710
Definition: drive_service.h:14209
void set_page_token(const string &value)
Definition: drive_service.h:2976
void clear_remove_expiration()
Definition: drive_service.h:10166
string * mutable_spaces()
Definition: drive_service.h:1687
bool get_supports_team_drives() const
Definition: drive_service.h:6517
void clear_page_token()
Definition: drive_service.h:6315
void clear_q()
Definition: drive_service.h:12599
bool get_supports_all_drives() const
Definition: drive_service.h:9194
void clear_ocr_language()
Definition: drive_service.h:6886
void set_remove_parents(const string &value)
Definition: drive_service.h:8082
bool get_update_viewed_date() const
Definition: drive_service.h:8628
void set_page_token(const string &value)
Definition: drive_service.h:4091
void set_supports_team_drives(bool value)
Definition: drive_service.h:5788
const DrivesResource & get_drives() const
Definition: drive_service.h:14515
void clear_use_domain_admin_access()
Definition: drive_service.h:3782
void set_email_message(const string &value)
Definition: drive_service.h:9625
void clear_q()
Definition: drive_service.h:4101
bool get_update_viewed_date() const
Definition: drive_service.h:8276
string * mutable_userIp()
Definition: drive_service.h:392
bool get_supports_all_drives() const
Definition: drive_service.h:9357
Definition: drive_service.h:3931
Definition: drive_service.h:1922
void clear_start_change_id()
Definition: drive_service.h:2244
bool get_transfer_ownership() const
Definition: drive_service.h:10263
Definition: drive_service.h:7590
void clear_page_token()
Definition: drive_service.h:12559
void set_enforce_single_parent(bool value)
Definition: drive_service.h:2542
void set_supports_team_drives(bool value)
Definition: drive_service.h:9233
Definition: drive_service.h:7449
void set_use_domain_admin_access(bool value)
Definition: drive_service.h:10062
Definition: about.h:53
void set_enforce_single_parent(bool value)
Definition: drive_service.h:8955
bool get_convert() const
Definition: drive_service.h:5596
bool get_use_media_download() const
Definition: drive_service.h:5494
string * mutable_corpus()
Definition: drive_service.h:6119
void set_remove_expiration(bool value)
Definition: drive_service.h:10184
void clear_user_ip()
Definition: drive_service.h:374
util::Status ExecuteAndParseResponse(Property *data)
Definition: drive_service.h:10891
void set_q(const string &value)
Definition: drive_service.h:6424
Definition: parent_reference.h:50
Definition: child_list.h:52
util::Status ExecuteAndParseResponse(CommentReply *data)
Definition: drive_service.h:11800
void set_max_change_id_count(int64 value)
Definition: drive_service.h:550
void set_page_token(const string &value)
Definition: drive_service.h:9971
string * mutable_driveId()
Definition: drive_service.h:1430
const string & get_drive_id() const
Definition: drive_service.h:1195
void clear_visibility()
Definition: drive_service.h:10748
util::Status ExecuteAndParseResponse(Comment *data)
Definition: drive_service.h:3604
void set_remove_expiration(bool value)
Definition: drive_service.h:10420
int32 get_max_results() const
Definition: drive_service.h:6251
void clear_supports_team_drives()
Definition: drive_service.h:7505
bool get_supports_all_drives() const
Definition: drive_service.h:8135
void set_supports_all_drives(bool value)
Definition: drive_service.h:10004
const string & get_space() const
Definition: drive_service.h:5146
bool get_move_to_new_owners_root() const
Definition: drive_service.h:9676
void set_supports_all_drives(bool value)
Definition: drive_service.h:7637
bool get_supports_team_drives() const
Definition: drive_service.h:10024
const string & get_remove_parents() const
Definition: drive_service.h:8063
void set_update_viewed_date(bool value)
Definition: drive_service.h:7186
string * mutable_visibility()
Definition: drive_service.h:11161
void clear_supports_all_drives()
Definition: drive_service.h:7026
void clear_supports_all_drives()
Definition: drive_service.h:1737
bool get_include_team_drive_items() const
Definition: drive_service.h:2120
const ChildrenResource & get_children() const
Definition: drive_service.h:14495
util::Status ExecuteAndParseResponse(Property *data)
Definition: drive_service.h:11086
const string & get_team_drive_id() const
Definition: drive_service.h:1068
const ChangesResource & get_changes() const
Definition: drive_service.h:14475
bool get_supports_all_drives() const
Definition: drive_service.h:7485
void clear_page_token()
Definition: drive_service.h:3408
Definition: change_list.h:53
void clear_visibility()
Definition: drive_service.h:11142
void set_supports_all_drives(bool value)
Definition: drive_service.h:4892
void clear_set_modified_date()
Definition: drive_service.h:6995
string * mutable_visibility()
Definition: drive_service.h:10767
void set_page_token(const string &value)
Definition: drive_service.h:12589
void clear_supports_team_drives()
Definition: drive_service.h:10460
bool get_supports_all_drives() const
Definition: drive_service.h:4604
Definition: drive_service.h:12429
string * mutable_timedTextTrackName()
Definition: drive_service.h:7145
void clear_max_results()
Definition: drive_service.h:9910
void clear_start_change_id()
Definition: drive_service.h:558
void set_use_media_download(bool use)
Definition: drive_service.h:5063
bool get_use_domain_admin_access() const
Definition: drive_service.h:9416
Definition: drive_service.h:7733
~ParentsResource()
Definition: drive_service.h:13725
const string & get_quota_user() const
Definition: drive_service.h:344
void set_include_subscribed(bool value)
Definition: drive_service.h:2100
bool get_transfer_ownership() const
Definition: drive_service.h:10499
void set_max_results(int32 value)
Definition: drive_service.h:12551
Definition: drive_service.h:13307
Definition: drive_service.h:9319
string * mutable_removeParents()
Definition: drive_service.h:6973
void clear_move_to_new_owners_root()
Definition: drive_service.h:9665
const PropertiesResource & get_properties() const
Definition: drive_service.h:14555
void clear_supports_all_drives()
Definition: drive_service.h:10193
Definition: drive_service.h:3148
void set_update_viewed_date(bool value)
Definition: drive_service.h:8284
string * mutable_timedTextTrackName()
Definition: drive_service.h:5857
Definition: drive_service.h:9886
bool get_supports_team_drives() const
Definition: drive_service.h:7068
Definition: child_reference.h:50
void set_visibility(const string &value)
Definition: drive_service.h:11049
void set_move_to_new_owners_root(bool value)
Definition: drive_service.h:9690
bool get_use_domain_admin_access() const
Definition: drive_service.h:10292
util::Status ExecuteAndParseResponse(ChildList *data)
Definition: drive_service.h:3052
util::Status ExecuteAndParseResponse(File *data)
Definition: drive_service.h:5484
void clear_use_content_as_indexable_text()
Definition: drive_service.h:7195
void set_supports_all_drives(bool value)
Definition: drive_service.h:1021
void set_supports_team_drives(bool value)
Definition: drive_service.h:2322
bool get_supports_team_drives() const
Definition: drive_service.h:4912
void set_modified_date_behavior(const string &value)
Definition: drive_service.h:6817
Definition: drive_service.h:6037
void clear_supports_all_drives()
Definition: drive_service.h:2728
void clear_drive_id()
Definition: drive_service.h:6141
const string & get_team_drive_id() const
Definition: drive_service.h:1296
void set_include_subscribed(bool value)
Definition: drive_service.h:523
void clear_transfer_ownership()
Definition: drive_service.h:10252
void clear_supports_all_drives()
Definition: drive_service.h:5738
void clear_supports_team_drives()
Definition: drive_service.h:1258
util::Status ExecuteAndParseResponse(Permission *data)
Definition: drive_service.h:10339
void clear_key()
Definition: drive_service.h:226
util::Status ExecuteAndParseResponse(TeamDrive *data)
Definition: drive_service.h:12488
const string & get_app_filter_extensions() const
Definition: drive_service.h:751
void set_visibility(const string &value)
Definition: drive_service.h:5936
void set_drive_id(const string &value)
Definition: drive_service.h:1978
string * mutable_timedTextLanguage()
Definition: drive_service.h:4671
void clear_supports_all_drives()
Definition: drive_service.h:9982
string * mutable_spaces()
Definition: drive_service.h:2222
void set_max_results(int32 value)
Definition: drive_service.h:9931
Definition: drive_service.h:4414
void clear_max_change_id_count()
Definition: drive_service.h:532
util::Status ExecuteAndParseResponse(CommentReply *data)
Definition: drive_service.h:11384
void set_supports_all_drives(bool value)
Definition: drive_service.h:8146
string * mutable_pageToken()
Definition: drive_service.h:6334
bool get_supports_all_drives() const
Definition: drive_service.h:8569
void clear_include_corpus_removals()
Definition: drive_service.h:1989
bool get_remove_expiration() const
Definition: drive_service.h:10177
void set_max_results(int32 value)
Definition: drive_service.h:2154
const string & get_projection() const
Definition: drive_service.h:8487
bool get_use_domain_admin_access() const
Definition: drive_service.h:4338
void set_include_team_drive_items(bool value)
Definition: drive_service.h:2128
Definition: drive_service.h:3757
void clear_modified_date_behavior()
Definition: drive_service.h:7884
void clear_supports_team_drives()
Definition: drive_service.h:7057
void clear_visibility()
Definition: drive_service.h:4733
void set_visibility(const string &value)
Definition: drive_service.h:10669
const string & get_team_drive_id() const
Definition: drive_service.h:1806
void clear_quota_user()
Definition: drive_service.h:333
bool get_use_domain_admin_access() const
Definition: drive_service.h:4152
void set_use_domain_admin_access(bool value)
Definition: drive_service.h:10538
void set_supports_all_drives(bool value)
Definition: drive_service.h:2294
string * mutable_q()
Definition: drive_service.h:12617
Definition: property.h:57
string * mutable_pageToken()
Definition: drive_service.h:1646
void set_max_results(int32 value)
Definition: drive_service.h:3400
void clear_supports_team_drives()
Definition: drive_service.h:5398
bool get_update_viewed_date() const
Definition: drive_service.h:5437
Definition: drive_service.h:3257
void set_app_filter_mime_types(const string &value)
Definition: drive_service.h:819
void clear_supports_team_drives()
Definition: drive_service.h:4901
void clear_use_domain_admin_access()
Definition: drive_service.h:9787
void clear_supports_team_drives()
Definition: drive_service.h:1768
void clear_max_results()
Definition: drive_service.h:2873
const string & get_ocr_language() const
Definition: drive_service.h:6897
void clear_use_domain_admin_access()
Definition: drive_service.h:10517
void set_start_change_id(int64 value)
Definition: drive_service.h:1728
util::Status ExecuteAndParseResponse(Comment *data)
Definition: drive_service.h:3678
void set_use_domain_admin_access(bool value)
Definition: drive_service.h:9426
bool get_supports_team_drives() const
Definition: drive_service.h:5409
void set_drive_id(const string &value)
Definition: drive_service.h:6171
Definition: start_page_token.h:50
bool get_supports_team_drives() const
Definition: drive_service.h:9770
string * mutable_pageToken()
Definition: drive_service.h:9958
void clear_projection()
Definition: drive_service.h:8476
Definition: drive_service.h:5233
string * mutable_pageToken()
Definition: drive_service.h:3427
bool get_set_modified_date() const
Definition: drive_service.h:7006
void set_use_domain_admin_access(bool value)
Definition: drive_service.h:4347
const string & get_q() const
Definition: drive_service.h:4112
void set_max_results(int32 value)
Definition: drive_service.h:6260
Definition: app_list.h:53
const string & get_spaces() const
Definition: drive_service.h:1680
const PermissionsResource & get_permissions() const
Definition: drive_service.h:14545
Definition: drive_service.h:4300
void set_supports_team_drives(bool value)
Definition: drive_service.h:9014
void set_include_subscribed(bool value)
Definition: drive_service.h:1565
void set_q(const string &value)
Definition: drive_service.h:12628
bool get_include_deleted() const
Definition: drive_service.h:3186
util::Status ExecuteAndParseResponse(Comment *data)
Definition: drive_service.h:3231
void clear_set_modified_date()
Definition: drive_service.h:8093
void clear_enforce_single_parent()
Definition: drive_service.h:5613
const AboutResource & get_about() const
Definition: drive_service.h:14455
string * mutable_visibility()
Definition: drive_service.h:5924
void clear_use_domain_admin_access()
Definition: drive_service.h:12639
const AppsResource & get_apps() const
Definition: drive_service.h:14465
void set_space(const string &value)
Definition: drive_service.h:5165
string * mutable_pageToken()
Definition: drive_service.h:11586
Definition: drive_service.h:12511
Definition: drive_service.h:8422
void clear_include_corpus_removals()
Definition: drive_service.h:1454
void clear_max_results()
Definition: drive_service.h:1601
void clear_corpus()
Definition: drive_service.h:6101
void set_ocr_language(const string &value)
Definition: drive_service.h:8015
string * mutable_timedTextLanguage()
Definition: drive_service.h:5816
void clear_supports_all_drives()
Definition: drive_service.h:4870
void clear_supports_team_drives()
Definition: drive_service.h:9377
void clear_add_parents()
Definition: drive_service.h:7784
const string & get_timed_text_language() const
Definition: drive_service.h:5808
bool get_supports_team_drives() const
Definition: drive_service.h:2770
void clear_update_viewed_date()
Definition: drive_service.h:5426
bool get_supports_all_drives() const
Definition: drive_service.h:6486
bool get_supports_team_drives() const
Definition: drive_service.h:1779
void clear_include_deleted()
Definition: drive_service.h:3354
void set_start_change_id(int64 value)
Definition: drive_service.h:577
void set_modified_date_behavior(const string &value)
Definition: drive_service.h:7915
Definition: drive_service.h:12898
bool get_supports_all_drives() const
Definition: drive_service.h:1238
bool get_supports_team_drives() const
Definition: drive_service.h:9225
void clear_include_items_from_all_drives()
Definition: drive_service.h:2048
void clear_include_deleted()
Definition: drive_service.h:1484
void clear_timed_text_track_name()
Definition: drive_service.h:8224
void set_revision_id(const string &value)
Definition: drive_service.h:5356
void set_transfer_ownership(bool value)
Definition: drive_service.h:10508
void clear_ocr()
Definition: drive_service.h:7957
void set_supports_team_drives(bool value)
Definition: drive_service.h:9396
void clear_page_token()
Definition: drive_service.h:12017
const string & get_visibility() const
Definition: drive_service.h:5916
bool get_supports_all_drives() const
Definition: drive_service.h:10204
void clear_max_results()
Definition: drive_service.h:11991
util::Status ExecuteAndParseResponse(File *data)
Definition: drive_service.h:7250
void set_use_domain_admin_access(bool value)
Definition: drive_service.h:12368
int64 get_start_change_id() const
Definition: drive_service.h:569
void clear_oauth_token()
Definition: drive_service.h:267
int32 get_max_results() const
Definition: drive_service.h:2884
void clear_use_domain_admin_access()
Definition: drive_service.h:12757
Definition: revision_list.h:52
void clear_supports_team_drives()
Definition: drive_service.h:2303
void set_enforce_single_parent(bool value)
Definition: drive_service.h:4489
bool get_include_subscribed() const
Definition: drive_service.h:1555
Definition: drive_service.h:12730
bool get_acknowledge_abuse() const
Definition: drive_service.h:8460
void set_new_revision(bool value)
Definition: drive_service.h:7949
util::Status ExecuteAndParseResponse(ParentReference *data)
Definition: drive_service.h:9051
string * mutable_orderBy()
Definition: drive_service.h:2918
Definition: comment_list.h:52
util::Status ExecuteAndParseResponse(CommentList *data)
Definition: drive_service.h:3518
const string & get_timed_text_track_name() const
Definition: drive_service.h:5849
void set_supports_all_drives(bool value)
Definition: drive_service.h:8986
Definition: drive_service.h:5004
void set_updated_min(const string &value)
Definition: drive_service.h:3481
void set_include_deleted(bool value)
Definition: drive_service.h:11532
util::Status ExecuteAndParseResponse(File *data)
Definition: drive_service.h:5973
~ChildrenResource()
Definition: drive_service.h:13091
Definition: drive_service.h:3703
void set_pinned(bool value)
Definition: drive_service.h:5729
void clear_drive_id()
Definition: drive_service.h:1946
Definition: drive_service.h:13441
Definition: drive_service.h:9085
void set_supports_all_drives(bool value)
Definition: drive_service.h:9368
string * mutable_oauthToken()
Definition: drive_service.h:286
const string & get_language_code() const
Definition: drive_service.h:840
void set_q(const string &value)
Definition: drive_service.h:4130
string * mutable_pageToken()
Definition: drive_service.h:12578
string * mutable_addParents()
Definition: drive_service.h:6705
void set_drive_id(const string &value)
Definition: drive_service.h:1443
void set_supports_all_drives(bool value)
Definition: drive_service.h:5389
string * mutable_alt()
Definition: drive_service.h:165
void set_enforce_single_parent(bool value)
Definition: drive_service.h:7875
void clear_remove_parents()
Definition: drive_service.h:6954
void clear_supports_all_drives()
Definition: drive_service.h:8964
void clear_spaces()
Definition: drive_service.h:6434
util::Status ExecuteAndParseResponse(ParentReference *data)
Definition: drive_service.h:8879
string * mutable_driveId()
Definition: drive_service.h:1203
util::Status ExecuteAndParseResponse(Drive *data)
Definition: drive_service.h:4384
~TeamdrivesResource()
Definition: drive_service.h:14340
int32 get_max_results() const
Definition: drive_service.h:3392
const string & get_team_drive_id() const
Definition: drive_service.h:2341
void clear_supports_all_drives()
Definition: drive_service.h:1227
bool get_use_domain_admin_access() const
Definition: drive_service.h:3793
void set_transfer_ownership(bool value)
Definition: drive_service.h:10272
Definition: drive_service.h:13711
util::Status ExecuteAndParseResponse(Property *data)
Definition: drive_service.h:10815
const string & get_projection() const
Definition: drive_service.h:6366
Definition: drive_service.h:2595
const string & get_drive_id() const
Definition: drive_service.h:6152
bool get_include_items_from_all_drives() const
Definition: drive_service.h:1524
util::Status ExecuteAndParseResponse(Revision *data)
Definition: drive_service.h:12244
void clear_supports_team_drives()
Definition: drive_service.h:10013
bool get_supports_team_drives() const
Definition: drive_service.h:8166
void clear_use_domain_admin_access()
Definition: drive_service.h:4327
int32 get_max_results() const
Definition: drive_service.h:4046
int64 get_start_change_id() const
Definition: drive_service.h:2255
void set_supports_team_drives(bool value)
Definition: drive_service.h:8608
void set_enforce_single_parent(bool value)
Definition: drive_service.h:5634
void set_visibility(const string &value)
Definition: drive_service.h:4764
void clear_supports_team_drives()
Definition: drive_service.h:4624
void clear_revision_id()
Definition: drive_service.h:8516
void clear_update_viewed_date()
Definition: drive_service.h:8265
void clear_timed_text_language()
Definition: drive_service.h:7085
void clear_include_deleted()
Definition: drive_service.h:11513
void clear_use_domain_admin_access()
Definition: drive_service.h:9242
const string & get_timed_text_track_name() const
Definition: drive_service.h:7137
Definition: comment.h:54
void set_projection(const string &value)
Definition: drive_service.h:8506
void set_projection(const string &value)
Definition: drive_service.h:5315
void clear_update_viewed_date()
Definition: drive_service.h:8617
void clear_include_deleted()
Definition: drive_service.h:3175
bool get_supports_all_drives() const
Definition: drive_service.h:2739
Definition: drive_service.h:4013
Definition: comment_reply_list.h:52
~RepliesResource()
Definition: drive_service.h:14076
void set_enforce_single_parent(bool value)
Definition: drive_service.h:8778
const string & get_page_token() const
Definition: drive_service.h:4072
bool get_enforce_single_parent() const
Definition: drive_service.h:2532
void set_page_token(const string &value)
Definition: drive_service.h:11599
bool get_enforce_single_parent() const
Definition: drive_service.h:9647
void clear_max_results()
Definition: drive_service.h:3381
void set_new_revision(bool value)
Definition: drive_service.h:6851
void clear_pinned()
Definition: drive_service.h:5710
string * mutable_ocrLanguage()
Definition: drive_service.h:4543
void clear_supports_team_drives()
Definition: drive_service.h:8589
void set_order_by(const string &value)
Definition: drive_service.h:6305
util::Status ExecuteAndParseResponse(GeneratedIds *data)
Definition: drive_service.h:5202
void clear_supports_all_drives()
Definition: drive_service.h:9346
bool get_include_items_from_all_drives() const
Definition: drive_service.h:6193
const string & get_timed_text_track_name() const
Definition: drive_service.h:8235
void set_supports_all_drives(bool value)
Definition: drive_service.h:9750
const ChannelsResource & get_channels() const
Definition: drive_service.h:14485
bool get_use_domain_admin_access() const
Definition: drive_service.h:12650
util::Status ExecuteAndParseResponse(Permission *data)
Definition: drive_service.h:9463
const string & get_modified_date_behavior() const
Definition: drive_service.h:6797
const string & get_fields() const
Definition: drive_service.h:197
bool get_remove_expiration() const
Definition: drive_service.h:10413
bool get_new_revision() const
Definition: drive_service.h:7936
void clear_enforce_single_parent()
Definition: drive_service.h:7851
void set_include_items_from_all_drives(bool value)
Definition: drive_service.h:1535
bool get_include_corpus_removals() const
Definition: drive_service.h:1465
util::Status ExecuteAndParseResponse(Revision *data)
Definition: drive_service.h:12169
bool get_supports_all_drives() const
Definition: drive_service.h:1748
Definition: drive_service.h:12836
void set_visibility(const string &value)
Definition: drive_service.h:10778
void set_team_drive_id(const string &value)
Definition: drive_service.h:6564
void set_include_deleted(bool value)
Definition: drive_service.h:1504
void clear_space()
Definition: drive_service.h:5135
Definition: drive_service.h:3554
const string & get_email_message() const
Definition: drive_service.h:9605
void clear_drive_id()
Definition: drive_service.h:958
bool get_supports_team_drives() const
Definition: drive_service.h:9388
void set_acknowledge_abuse(bool value)
Definition: drive_service.h:8468
void set_update_viewed_date(bool value)
Definition: drive_service.h:5447
string * mutable_revisionId()
Definition: drive_service.h:5344
void set_ocr_language(const string &value)
Definition: drive_service.h:5700
util::Status ExecuteAndParseResponse(DriveList *data)
Definition: drive_service.h:4198
const string & get_spaces() const
Definition: drive_service.h:6445
void clear_app_filter_mime_types()
Definition: drive_service.h:785
string * mutable_appFilterExtensions()
Definition: drive_service.h:759
Definition: revision.h:54
Definition: drive_service.h:4968
const string & get_updated_min() const
Definition: drive_service.h:3461
void clear_include_items_from_all_drives()
Definition: drive_service.h:1513
const string & get_page_token() const
Definition: drive_service.h:12570
Definition: drive_service.h:12323
void clear_order_by()
Definition: drive_service.h:2899
Definition: drive_service.h:649
void clear_supports_all_drives()
Definition: drive_service.h:8124
void set_fields(const string &value)
Definition: drive_service.h:216
void clear_email_message()
Definition: drive_service.h:9594
void clear_pinned()
Definition: drive_service.h:8025
void clear_supports_all_drives()
Definition: drive_service.h:8558
void clear_page_token()
Definition: drive_service.h:2946
bool get_include_deleted() const
Definition: drive_service.h:1495
const string & get_user_ip() const
Definition: drive_service.h:385
string * mutable_space()
Definition: drive_service.h:5153
const string & get_revision_id() const
Definition: drive_service.h:5336
void set_max_results(int32 value)
Definition: drive_service.h:1619
int32 get_max_results() const
Definition: drive_service.h:5120
bool get_convert() const
Definition: drive_service.h:4451
util::Status ExecuteAndParseResponse(TeamDriveList *data)
Definition: drive_service.h:12696
void clear_use_content_as_indexable_text()
Definition: drive_service.h:5879
bool get_use_media_download() const
Definition: drive_service.h:8685
void set_supports_all_drives(bool value)
Definition: drive_service.h:8580
Definition: permission_id.h:50
const string & get_q() const
Definition: drive_service.h:2997
void clear_convert()
Definition: drive_service.h:7824
void set_supports_team_drives(bool value)
Definition: drive_service.h:7383
static const client::MediaUploadSpec RESUMABLE_MEDIA_UPLOAD
Definition: drive_service.h:8365
const string & get_page_token() const
Definition: drive_service.h:9950
int32 get_max_results() const
Definition: drive_service.h:12002
string * mutable_timedTextTrackName()
Definition: drive_service.h:4712
Definition: drive_service.h:11299
void set_include_items_from_all_drives(bool value)
Definition: drive_service.h:2070
void clear_team_drive_id()
Definition: drive_service.h:1795
void set_use_domain_admin_access(bool value)
Definition: drive_service.h:3802
Definition: drive_service.h:8831
Definition: drive_service.h:10843
bool get_supports_team_drives() const
Definition: drive_service.h:9006
bool get_supports_all_drives() const
Definition: drive_service.h:7344
void clear_convert()
Definition: drive_service.h:6726
const string & get_projection() const
Definition: drive_service.h:5296
void set_supports_all_drives(bool value)
Definition: drive_service.h:10215
Definition: drive_service.h:14062
void clear_enforce_single_parent()
Definition: drive_service.h:4468
const RevisionsResource & get_revisions() const
Definition: drive_service.h:14575
void clear_max_results()
Definition: drive_service.h:2136
void clear_supports_team_drives()
Definition: drive_service.h:8155
util::Status ExecuteAndParseResponse(Revision *data)
Definition: drive_service.h:11938
void set_supports_all_drives(bool value)
Definition: drive_service.h:10451
Definition: channel.h:51
string * mutable_emailMessage()
Definition: drive_service.h:9613
void set_use_domain_admin_access(bool value)
Definition: drive_service.h:9808
void set_timed_text_language(const string &value)
Definition: drive_service.h:5827
const string & get_add_parents() const
Definition: drive_service.h:6697
const string & get_remove_parents() const
Definition: drive_service.h:6965
void clear_use_content_as_indexable_text()
Definition: drive_service.h:8293
static const client::MediaUploadSpec RESUMABLE_MEDIA_UPLOAD
Definition: drive_service.h:5990
Definition: team_drive_list.h:52
void set_max_results(int32 value)
Definition: drive_service.h:2891
void set_supports_all_drives(bool value)
Definition: drive_service.h:2750
Definition: drive_service.h:8904
void clear_use_domain_admin_access()
Definition: drive_service.h:9405
void set_convert(bool value)
Definition: drive_service.h:7842
void clear_enforce_single_parent()
Definition: drive_service.h:8931
util::Status ExecuteAndParseResponse(Drive *data)
Definition: drive_service.h:3909
void set_include_team_drive_items(bool value)
Definition: drive_service.h:1593
void clear_include_team_drive_items()
Definition: drive_service.h:6213
void clear_team_drive_id()
Definition: drive_service.h:1057
string * mutable_teamDriveId()
Definition: drive_service.h:1814
bool get_use_media_download() const
Definition: drive_service.h:5054
int32 get_max_results() const
Definition: drive_service.h:11551
string * mutable_projection()
Definition: drive_service.h:5304
void clear_transfer_ownership()
Definition: drive_service.h:10488
util::Status ExecuteAndParseResponse(FileList *data)
Definition: drive_service.h:6601
Definition: drive_service.h:11486
void set_supports_all_drives(bool value)
Definition: drive_service.h:7355
Definition: drive_service.h:13077
Definition: drive_list.h:52
const string & get_q() const
Definition: drive_service.h:6406
void clear_acknowledge_abuse()
Definition: drive_service.h:8449
~AboutResource()
Definition: drive_service.h:12873
bool get_set_modified_date() const
Definition: drive_service.h:8104
bool get_supports_team_drives() const
Definition: drive_service.h:2314
util::Status ExecuteAndParseResponse(CommentReply *data)
Definition: drive_service.h:11723
void set_team_drive_id(const string &value)
Definition: drive_service.h:1088
void clear_ocr()
Definition: drive_service.h:5642
bool get_convert() const
Definition: drive_service.h:6737
bool get_include_deleted() const
Definition: drive_service.h:11339
const string & get_page_token() const
Definition: drive_service.h:2957
Definition: drive_service.h:2454
void set_projection(const string &value)
Definition: drive_service.h:6385
void set_max_results(int32 value)
Definition: drive_service.h:5127
void set_supports_all_drives(bool value)
Definition: drive_service.h:1759
void set_corpus(const string &value)
Definition: drive_service.h:6131
void set_corpora(const string &value)
Definition: drive_service.h:6091
const string & get_visibility() const
Definition: drive_service.h:11029
bool get_supports_all_drives() const
Definition: drive_service.h:7626
string * mutable_teamDriveId()
Definition: drive_service.h:6552
void set_add_parents(const string &value)
Definition: drive_service.h:7814
util::Status ExecuteAndParseResponse(Comment *data)
Definition: drive_service.h:3305
void clear_ocr_language()
Definition: drive_service.h:7984
Definition: drive_service.h:2668
void clear_include_subscribed()
Definition: drive_service.h:2079
void clear_page_token()
Definition: drive_service.h:11567
Definition: drive_service.h:12950
void clear_pretty_print()
Definition: drive_service.h:307
void set_supports_team_drives(bool value)
Definition: drive_service.h:2778
Definition: drive_service.h:12119
void set_user_ip(const string &value)
Definition: drive_service.h:404
util::Status ExecuteAndParseResponse(Permission *data)
Definition: drive_service.h:10575
void clear_supports_all_drives()
Definition: drive_service.h:10429
void set_supports_team_drives(bool value)
Definition: drive_service.h:1277
Definition: about.cc:43
void clear_fields()
Definition: drive_service.h:186
void set_spaces(const string &value)
Definition: drive_service.h:6464
void clear_supports_team_drives()
Definition: drive_service.h:10224
void clear_supports_team_drives()
Definition: drive_service.h:6506
string * mutable_teamDriveId()
Definition: drive_service.h:1304
void set_supports_team_drives(bool value)
Definition: drive_service.h:5417
void set_use_media_download(bool use)
Definition: drive_service.h:8694
void clear_enforce_single_parent()
Definition: drive_service.h:2695
void set_supports_team_drives(bool value)
Definition: drive_service.h:1049
void clear_convert()
Definition: drive_service.h:4440
util::Status ExecuteAndParseResponse(File *data)
Definition: drive_service.h:7561
void set_include_corpus_removals(bool value)
Definition: drive_service.h:1475
util::Status ExecuteAndParseResponse(PermissionList *data)
Definition: drive_service.h:10099
void set_spaces(const string &value)
Definition: drive_service.h:1699
void clear_acknowledge_abuse()
Definition: drive_service.h:5258
const string & get_alt() const
Definition: drive_service.h:158
void set_timed_text_track_name(const string &value)
Definition: drive_service.h:4723
void clear_new_revision()
Definition: drive_service.h:7925
Definition: drive_service.h:10919
bool get_enforce_single_parent() const
Definition: drive_service.h:8768
const string & get_spaces() const
Definition: drive_service.h:2215
Definition: drive_service.h:3628
Definition: drive_service.h:10990
Definition: drive_service.h:2494
void clear_supports_all_drives()
Definition: drive_service.h:9183
Definition: drive_service.h:7308
string * mutable_driveId()
Definition: drive_service.h:977
string * mutable_timedTextLanguage()
Definition: drive_service.h:8202
void clear_start_change_id()
Definition: drive_service.h:1709
Definition: comment_reply.h:53
void set_send_notification_emails(bool value)
Definition: drive_service.h:9719
void set_supports_team_drives(bool value)
Definition: drive_service.h:7076
bool get_pinned() const
Definition: drive_service.h:5721
void clear_max_results()
Definition: drive_service.h:12533
void set_use_content_as_indexable_text(bool value)
Definition: drive_service.h:7213
void set_team_drive_id(const string &value)
Definition: drive_service.h:1316
int32 get_max_results() const
Definition: drive_service.h:1612
void set_convert(bool value)
Definition: drive_service.h:6744
void set_supports_team_drives(bool value)
Definition: drive_service.h:7665
void clear_update_viewed_date()
Definition: drive_service.h:7167
const string & get_timed_text_language() const
Definition: drive_service.h:4663
void clear_supports_all_drives()
Definition: drive_service.h:9728
Definition: drive_service.h:12859
void set_use_domain_admin_access(bool value)
Definition: drive_service.h:4161
int32 get_max_results() const
Definition: drive_service.h:12544
void clear_supports_team_drives()
Definition: drive_service.h:9759
void set_supports_all_drives(bool value)
Definition: drive_service.h:6497
void clear_supports_all_drives()
Definition: drive_service.h:7615
void set_ocr(bool value)
Definition: drive_service.h:7976