bigquery  v2
bigquery_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-07, 23:51: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_BIGQUERY_API_BIGQUERY_SERVICE_H_
25 #define GOOGLE_BIGQUERY_API_BIGQUERY_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/bigquery_api/dataset.h"
37 #include "google/bigquery_api/dataset_list.h"
38 #include "google/bigquery_api/get_query_results_response.h"
39 #include "google/bigquery_api/get_service_account_response.h"
40 #include "google/bigquery_api/job.h"
41 #include "google/bigquery_api/job_cancel_response.h"
42 #include "google/bigquery_api/job_list.h"
43 #include "google/bigquery_api/list_models_response.h"
44 #include "google/bigquery_api/list_routines_response.h"
45 #include "google/bigquery_api/model.h"
46 #include "google/bigquery_api/project_list.h"
47 #include "google/bigquery_api/query_request.h"
48 #include "google/bigquery_api/query_response.h"
49 #include "google/bigquery_api/routine.h"
50 #include "google/bigquery_api/table.h"
51 #include "google/bigquery_api/table_data_insert_all_request.h"
52 #include "google/bigquery_api/table_data_insert_all_response.h"
53 #include "google/bigquery_api/table_data_list.h"
54 #include "google/bigquery_api/table_list.h"
55 
56 
57 namespace google_bigquery_api {
58 using namespace googleapis;
89 class BigqueryService;
90 
99  : public client::ClientServiceRequest {
100  public:
123  const client::ClientService* service,
124  client::AuthorizationCredential* credential,
125  client::HttpRequest::HttpMethod method,
126  const StringPiece& uri_template);
127 
131  virtual ~BigqueryServiceBaseRequest();
132 
133 
137  void clear_alt() {
138  _have_alt_ = false;
139  client::ClearCppValueHelper(&alt_);
140  }
141 
142 
148  const string& get_alt() const { return alt_; }
149 
155  string* mutable_alt() {
156  _have_alt_ = true;
157  return &alt_;
158  }
159 
160 
166  void set_alt(const string& value) {
167  _have_alt_ = true;
168  alt_ = value;
169  }
170 
171 
172 
176  void clear_fields() {
177  _have_fields_ = false;
178  client::ClearCppValueHelper(&fields_);
179  }
180 
181 
187  const string& get_fields() const { return fields_; }
188 
194  string* mutable_fields() {
195  _have_fields_ = true;
196  return &fields_;
197  }
198 
199 
206  void set_fields(const string& value) {
207  _have_fields_ = true;
208  fields_ = value;
209  }
210 
211 
212 
216  void clear_key() {
217  _have_key_ = false;
218  client::ClearCppValueHelper(&key_);
219  }
220 
221 
227  const string& get_key() const { return key_; }
228 
234  string* mutable_key() {
235  _have_key_ = true;
236  return &key_;
237  }
238 
239 
247  void set_key(const string& value) {
248  _have_key_ = true;
249  key_ = value;
250  }
251 
252 
253 
258  _have_oauth_token_ = false;
259  client::ClearCppValueHelper(&oauth_token_);
260  }
261 
262 
268  const string& get_oauth_token() const { return oauth_token_; }
269 
276  string* mutable_oauthToken() {
277  _have_oauth_token_ = true;
278  return &oauth_token_;
279  }
280 
281 
287  void set_oauth_token(const string& value) {
288  _have_oauth_token_ = true;
289  oauth_token_ = value;
290  }
291 
292 
293 
298  _have_pretty_print_ = false;
299  client::ClearCppValueHelper(&pretty_print_);
300  }
301 
302 
308  bool get_pretty_print() const { return pretty_print_; }
309 
315  void set_pretty_print(bool value) {
316  _have_pretty_print_ = true;
317  pretty_print_ = value;
318  }
319 
324  _have_quota_user_ = false;
325  client::ClearCppValueHelper(&quota_user_);
326  }
327 
328 
334  const string& get_quota_user() const { return quota_user_; }
335 
342  string* mutable_quotaUser() {
343  _have_quota_user_ = true;
344  return &quota_user_;
345  }
346 
347 
354  void set_quota_user(const string& value) {
355  _have_quota_user_ = true;
356  quota_user_ = value;
357  }
358 
359 
360 
364  void clear_user_ip() {
365  _have_user_ip_ = false;
366  client::ClearCppValueHelper(&user_ip_);
367  }
368 
369 
375  const string& get_user_ip() const { return user_ip_; }
376 
382  string* mutable_userIp() {
383  _have_user_ip_ = true;
384  return &user_ip_;
385  }
386 
387 
394  void set_user_ip(const string& value) {
395  _have_user_ip_ = true;
396  user_ip_ = value;
397  }
398 
409  virtual util::Status AppendVariable(
410  const StringPiece& variable_name,
411  const client::UriTemplateConfig& config,
412  string* target);
413 
419  virtual util::Status AppendOptionalQueryParameters(string* target);
420 
421 
422  protected:
428  void AddJsonContentToRequest(const client::JsonCppData *content);
429 
430  private:
431  string alt_;
432  string fields_;
433  string key_;
434  string oauth_token_;
435  bool pretty_print_;
436  string quota_user_;
437  string user_ip_;
438  bool _have_alt_ : 1;
439  bool _have_fields_ : 1;
440  bool _have_key_ : 1;
441  bool _have_oauth_token_ : 1;
442  bool _have_pretty_print_ : 1;
443  bool _have_quota_user_ : 1;
444  bool _have_user_ip_ : 1;
445 
446  DISALLOW_COPY_AND_ASSIGN(BigqueryServiceBaseRequest);
447 };
448 
449 
450 
465  public:
476  const BigqueryService* _service_,
477  client::AuthorizationCredential* _credential_,
478  const absl::string_view& project_id,
479  const absl::string_view& dataset_id);
480 
485 
486 
492  _have_delete_contents_ = false;
493  client::ClearCppValueHelper(&delete_contents_);
494  }
495 
496 
502  bool get_delete_contents() const { return delete_contents_; }
503 
510  void set_delete_contents(bool value) {
511  _have_delete_contents_ = true;
512  delete_contents_ = value;
513  }
514 
524  virtual util::Status AppendVariable(
525  const StringPiece& variable_name,
526  const client::UriTemplateConfig& config,
527  string* target);
528 
534  virtual util::Status AppendOptionalQueryParameters(string* target);
535 
536 
537  private:
538  string project_id_;
539  string dataset_id_;
540  bool delete_contents_;
541  bool _have_delete_contents_ : 1;
542  DISALLOW_COPY_AND_ASSIGN(DatasetsResource_DeleteMethod);
543 };
544 
561  public:
572  const BigqueryService* _service_,
573  client::AuthorizationCredential* _credential_,
574  const absl::string_view& project_id,
575  const absl::string_view& dataset_id);
576 
580  virtual ~DatasetsResource_GetMethod();
581 
582 
592  virtual util::Status AppendVariable(
593  const StringPiece& variable_name,
594  const client::UriTemplateConfig& config,
595  string* target);
596 
597 
609  Dataset* data) {
610  return BigqueryServiceBaseRequest::ExecuteAndParseResponse(data);
611  }
612 
613  private:
614  string project_id_;
615  string dataset_id_;
616  DISALLOW_COPY_AND_ASSIGN(DatasetsResource_GetMethod);
617 };
618 
633  public:
644  const BigqueryService* _service_,
645  client::AuthorizationCredential* _credential_,
646  const absl::string_view& project_id,
647  const Dataset& _content_);
648 
653 
654 
664  virtual util::Status AppendVariable(
665  const StringPiece& variable_name,
666  const client::UriTemplateConfig& config,
667  string* target);
668 
669 
681  Dataset* data) {
682  return BigqueryServiceBaseRequest::ExecuteAndParseResponse(data);
683  }
684 
685  private:
686  string project_id_; string _content_;
687  DISALLOW_COPY_AND_ASSIGN(DatasetsResource_InsertMethod);
688 };
689 
706  public:
716  const BigqueryService* _service_,
717  client::AuthorizationCredential* _credential_,
718  const absl::string_view& project_id);
719 
723  virtual ~DatasetsResource_ListMethod();
724 
725 
730  _have_page_token_ = false;
731  client::ClearCppValueHelper(&page_token_);
732  }
733 
734 
740  const string& get_page_token() const { return page_token_; }
741 
748  string* mutable_pageToken() {
749  _have_page_token_ = true;
750  return &page_token_;
751  }
752 
753 
760  void set_page_token(const string& value) {
761  _have_page_token_ = true;
762  page_token_ = value;
763  }
764 
765 
766 
771  _have_max_results_ = false;
772  client::ClearCppValueHelper(&max_results_);
773  }
774 
775 
781  uint32 get_max_results() const { return max_results_; }
782 
788  void set_max_results(uint32 value) {
789  _have_max_results_ = true;
790  max_results_ = value;
791  }
792 
796  void clear_all() {
797  _have_all_ = false;
798  client::ClearCppValueHelper(&all_);
799  }
800 
801 
807  bool get_all() const { return all_; }
808 
814  void set_all(bool value) {
815  _have_all_ = true;
816  all_ = value;
817  }
818 
822  void clear_filter() {
823  _have_filter_ = false;
824  client::ClearCppValueHelper(&filter_);
825  }
826 
827 
833  const string& get_filter() const { return filter_; }
834 
840  string* mutable_filter() {
841  _have_filter_ = true;
842  return &filter_;
843  }
844 
845 
855  void set_filter(const string& value) {
856  _have_filter_ = true;
857  filter_ = value;
858  }
859 
869  virtual util::Status AppendVariable(
870  const StringPiece& variable_name,
871  const client::UriTemplateConfig& config,
872  string* target);
873 
879  virtual util::Status AppendOptionalQueryParameters(string* target);
880 
881 
893  DatasetList* data) {
894  return BigqueryServiceBaseRequest::ExecuteAndParseResponse(data);
895  }
896 
897  private:
898  string project_id_;
899  string page_token_;
900  uint32 max_results_;
901  bool all_;
902  string filter_;
903  bool _have_page_token_ : 1;
904  bool _have_max_results_ : 1;
905  bool _have_all_ : 1;
906  bool _have_filter_ : 1;
907  DISALLOW_COPY_AND_ASSIGN(DatasetsResource_ListMethod);
908 };
909 
910 typedef client::ServiceRequestPager<
912  DatasetList>
913  DatasetsResource_ListMethodPager;
914 
929  public:
941  const BigqueryService* _service_,
942  client::AuthorizationCredential* _credential_,
943  const absl::string_view& project_id,
944  const absl::string_view& dataset_id,
945  const Dataset& _content_);
946 
950  virtual ~DatasetsResource_PatchMethod();
951 
952 
962  virtual util::Status AppendVariable(
963  const StringPiece& variable_name,
964  const client::UriTemplateConfig& config,
965  string* target);
966 
967 
979  Dataset* data) {
980  return BigqueryServiceBaseRequest::ExecuteAndParseResponse(data);
981  }
982 
983  private:
984  string project_id_;
985  string dataset_id_; string _content_;
986  DISALLOW_COPY_AND_ASSIGN(DatasetsResource_PatchMethod);
987 };
988 
1003  public:
1015  const BigqueryService* _service_,
1016  client::AuthorizationCredential* _credential_,
1017  const absl::string_view& project_id,
1018  const absl::string_view& dataset_id,
1019  const Dataset& _content_);
1020 
1024  virtual ~DatasetsResource_UpdateMethod();
1025 
1026 
1036  virtual util::Status AppendVariable(
1037  const StringPiece& variable_name,
1038  const client::UriTemplateConfig& config,
1039  string* target);
1040 
1041 
1053  Dataset* data) {
1054  return BigqueryServiceBaseRequest::ExecuteAndParseResponse(data);
1055  }
1056 
1057  private:
1058  string project_id_;
1059  string dataset_id_; string _content_;
1060  DISALLOW_COPY_AND_ASSIGN(DatasetsResource_UpdateMethod);
1061 };
1062 
1063 
1064 
1079  public:
1090  const BigqueryService* _service_,
1091  client::AuthorizationCredential* _credential_,
1092  const absl::string_view& project_id,
1093  const absl::string_view& job_id);
1094 
1098  virtual ~JobsResource_CancelMethod();
1099 
1100 
1105  _have_location_ = false;
1106  client::ClearCppValueHelper(&location_);
1107  }
1108 
1109 
1115  const string& get_location() const { return location_; }
1116 
1123  string* mutable_location() {
1124  _have_location_ = true;
1125  return &location_;
1126  }
1127 
1128 
1136  void set_location(const string& value) {
1137  _have_location_ = true;
1138  location_ = value;
1139  }
1140 
1150  virtual util::Status AppendVariable(
1151  const StringPiece& variable_name,
1152  const client::UriTemplateConfig& config,
1153  string* target);
1154 
1160  virtual util::Status AppendOptionalQueryParameters(string* target);
1161 
1162 
1174  JobCancelResponse* data) {
1175  return BigqueryServiceBaseRequest::ExecuteAndParseResponse(data);
1176  }
1177 
1178  private:
1179  string project_id_;
1180  string job_id_;
1181  string location_;
1182  bool _have_location_ : 1;
1183  DISALLOW_COPY_AND_ASSIGN(JobsResource_CancelMethod);
1184 };
1185 
1202  public:
1213  const BigqueryService* _service_,
1214  client::AuthorizationCredential* _credential_,
1215  const absl::string_view& project_id,
1216  const absl::string_view& job_id);
1217 
1221  virtual ~JobsResource_GetMethod();
1222 
1223 
1228  _have_location_ = false;
1229  client::ClearCppValueHelper(&location_);
1230  }
1231 
1232 
1238  const string& get_location() const { return location_; }
1239 
1246  string* mutable_location() {
1247  _have_location_ = true;
1248  return &location_;
1249  }
1250 
1251 
1259  void set_location(const string& value) {
1260  _have_location_ = true;
1261  location_ = value;
1262  }
1263 
1273  virtual util::Status AppendVariable(
1274  const StringPiece& variable_name,
1275  const client::UriTemplateConfig& config,
1276  string* target);
1277 
1283  virtual util::Status AppendOptionalQueryParameters(string* target);
1284 
1285 
1297  Job* data) {
1298  return BigqueryServiceBaseRequest::ExecuteAndParseResponse(data);
1299  }
1300 
1301  private:
1302  string project_id_;
1303  string job_id_;
1304  string location_;
1305  bool _have_location_ : 1;
1306  DISALLOW_COPY_AND_ASSIGN(JobsResource_GetMethod);
1307 };
1308 
1325  public:
1336  const BigqueryService* _service_,
1337  client::AuthorizationCredential* _credential_,
1338  const absl::string_view& project_id,
1339  const absl::string_view& job_id);
1340 
1345 
1346 
1351  _have_max_results_ = false;
1352  client::ClearCppValueHelper(&max_results_);
1353  }
1354 
1355 
1361  uint32 get_max_results() const { return max_results_; }
1362 
1368  void set_max_results(uint32 value) {
1369  _have_max_results_ = true;
1370  max_results_ = value;
1371  }
1372 
1377  _have_start_index_ = false;
1378  client::ClearCppValueHelper(&start_index_);
1379  }
1380 
1381 
1387  uint64 get_start_index() const { return start_index_; }
1388 
1394  void set_start_index(uint64 value) {
1395  _have_start_index_ = true;
1396  start_index_ = value;
1397  }
1398 
1403  _have_location_ = false;
1404  client::ClearCppValueHelper(&location_);
1405  }
1406 
1407 
1413  const string& get_location() const { return location_; }
1414 
1421  string* mutable_location() {
1422  _have_location_ = true;
1423  return &location_;
1424  }
1425 
1426 
1434  void set_location(const string& value) {
1435  _have_location_ = true;
1436  location_ = value;
1437  }
1438 
1439 
1440 
1445  _have_page_token_ = false;
1446  client::ClearCppValueHelper(&page_token_);
1447  }
1448 
1449 
1455  const string& get_page_token() const { return page_token_; }
1456 
1463  string* mutable_pageToken() {
1464  _have_page_token_ = true;
1465  return &page_token_;
1466  }
1467 
1468 
1475  void set_page_token(const string& value) {
1476  _have_page_token_ = true;
1477  page_token_ = value;
1478  }
1479 
1480 
1481 
1486  _have_timeout_ms_ = false;
1487  client::ClearCppValueHelper(&timeout_ms_);
1488  }
1489 
1490 
1496  uint32 get_timeout_ms() const { return timeout_ms_; }
1497 
1506  void set_timeout_ms(uint32 value) {
1507  _have_timeout_ms_ = true;
1508  timeout_ms_ = value;
1509  }
1510 
1520  virtual util::Status AppendVariable(
1521  const StringPiece& variable_name,
1522  const client::UriTemplateConfig& config,
1523  string* target);
1524 
1530  virtual util::Status AppendOptionalQueryParameters(string* target);
1531 
1532 
1544  GetQueryResultsResponse* data) {
1545  return BigqueryServiceBaseRequest::ExecuteAndParseResponse(data);
1546  }
1547 
1548  private:
1549  string project_id_;
1550  string job_id_;
1551  uint32 max_results_;
1552  uint64 start_index_;
1553  string location_;
1554  string page_token_;
1555  uint32 timeout_ms_;
1556  bool _have_max_results_ : 1;
1557  bool _have_start_index_ : 1;
1558  bool _have_location_ : 1;
1559  bool _have_page_token_ : 1;
1560  bool _have_timeout_ms_ : 1;
1561  DISALLOW_COPY_AND_ASSIGN(JobsResource_GetQueryResultsMethod);
1562 };
1563 
1564 typedef client::ServiceRequestPager<
1567  JobsResource_GetQueryResultsMethodPager;
1568 
1586  public:
1602  const BigqueryService* _service_,
1603  client::AuthorizationCredential* _credential_,
1604  const absl::string_view& project_id);
1622  const BigqueryService* _service_,
1623  client::AuthorizationCredential* _credential_,
1624  const absl::string_view& project_id,
1625  const Job* _metadata_,
1626  const StringPiece& _media_content_type_,
1627  client::DataReader* _media_content_reader_);
1628 
1632  virtual ~JobsResource_InsertMethod();
1633 
1634 
1644  virtual util::Status AppendVariable(
1645  const StringPiece& variable_name,
1646  const client::UriTemplateConfig& config,
1647  string* target);
1648 
1649 
1661  Job* data) {
1662  return BigqueryServiceBaseRequest::ExecuteAndParseResponse(data);
1663  }
1664 
1665 
1673  static const client::MediaUploadSpec SIMPLE_MEDIA_UPLOAD;
1677  static const client::MediaUploadSpec RESUMABLE_MEDIA_UPLOAD;
1678 
1679  private:
1680  string project_id_;
1681  DISALLOW_COPY_AND_ASSIGN(JobsResource_InsertMethod);
1682 };
1683 
1700  public:
1710  const BigqueryService* _service_,
1711  client::AuthorizationCredential* _credential_,
1712  const absl::string_view& project_id);
1713 
1717  virtual ~JobsResource_ListMethod();
1718 
1719 
1724  _have_parent_job_id_ = false;
1725  client::ClearCppValueHelper(&parent_job_id_);
1726  }
1727 
1728 
1734  const string& get_parent_job_id() const { return parent_job_id_; }
1735 
1743  _have_parent_job_id_ = true;
1744  return &parent_job_id_;
1745  }
1746 
1747 
1754  void set_parent_job_id(const string& value) {
1755  _have_parent_job_id_ = true;
1756  parent_job_id_ = value;
1757  }
1758 
1759 
1760 
1766  _have_min_creation_time_ = false;
1767  client::ClearCppValueHelper(&min_creation_time_);
1768  }
1769 
1770 
1776  uint64 get_min_creation_time() const { return min_creation_time_; }
1777 
1785  void set_min_creation_time(uint64 value) {
1786  _have_min_creation_time_ = true;
1787  min_creation_time_ = value;
1788  }
1789 
1794  _have_page_token_ = false;
1795  client::ClearCppValueHelper(&page_token_);
1796  }
1797 
1798 
1804  const string& get_page_token() const { return page_token_; }
1805 
1812  string* mutable_pageToken() {
1813  _have_page_token_ = true;
1814  return &page_token_;
1815  }
1816 
1817 
1824  void set_page_token(const string& value) {
1825  _have_page_token_ = true;
1826  page_token_ = value;
1827  }
1828 
1829 
1830 
1835  _have_all_users_ = false;
1836  client::ClearCppValueHelper(&all_users_);
1837  }
1838 
1839 
1845  bool get_all_users() const { return all_users_; }
1846 
1853  void set_all_users(bool value) {
1854  _have_all_users_ = true;
1855  all_users_ = value;
1856  }
1857 
1862  _have_max_results_ = false;
1863  client::ClearCppValueHelper(&max_results_);
1864  }
1865 
1866 
1872  uint32 get_max_results() const { return max_results_; }
1873 
1879  void set_max_results(uint32 value) {
1880  _have_max_results_ = true;
1881  max_results_ = value;
1882  }
1883 
1889  _have_max_creation_time_ = false;
1890  client::ClearCppValueHelper(&max_creation_time_);
1891  }
1892 
1893 
1899  uint64 get_max_creation_time() const { return max_creation_time_; }
1900 
1908  void set_max_creation_time(uint64 value) {
1909  _have_max_creation_time_ = true;
1910  max_creation_time_ = value;
1911  }
1912 
1917  _have_state_filter_ = false;
1918  client::ClearCppValueHelper(&state_filter_);
1919  }
1920 
1921 
1927  const client::JsonCppArray<string >& get_state_filter() const { return state_filter_; }
1928 
1935  client::JsonCppArray<string >* mutable_stateFilter() {
1936  _have_state_filter_ = true;
1937  return &state_filter_;
1938  }
1939 
1940 
1941 
1946  _have_projection_ = false;
1947  client::ClearCppValueHelper(&projection_);
1948  }
1949 
1950 
1956  const string& get_projection() const { return projection_; }
1957 
1965  _have_projection_ = true;
1966  return &projection_;
1967  }
1968 
1969 
1976  void set_projection(const string& value) {
1977  _have_projection_ = true;
1978  projection_ = value;
1979  }
1980 
1990  virtual util::Status AppendVariable(
1991  const StringPiece& variable_name,
1992  const client::UriTemplateConfig& config,
1993  string* target);
1994 
2000  virtual util::Status AppendOptionalQueryParameters(string* target);
2001 
2002 
2014  JobList* data) {
2015  return BigqueryServiceBaseRequest::ExecuteAndParseResponse(data);
2016  }
2017 
2018  private:
2019  string project_id_;
2020  string parent_job_id_;
2021  uint64 min_creation_time_;
2022  string page_token_;
2023  bool all_users_;
2024  uint32 max_results_;
2025  uint64 max_creation_time_;
2026  client::JsonCppCapsule< client::JsonCppArray<string > > state_filter_;
2027  string projection_;
2028  bool _have_parent_job_id_ : 1;
2029  bool _have_min_creation_time_ : 1;
2030  bool _have_page_token_ : 1;
2031  bool _have_all_users_ : 1;
2032  bool _have_max_results_ : 1;
2033  bool _have_max_creation_time_ : 1;
2034  bool _have_state_filter_ : 1;
2035  bool _have_projection_ : 1;
2036  DISALLOW_COPY_AND_ASSIGN(JobsResource_ListMethod);
2037 };
2038 
2039 typedef client::ServiceRequestPager<
2041  JobList>
2042  JobsResource_ListMethodPager;
2043 
2060  public:
2071  const BigqueryService* _service_,
2072  client::AuthorizationCredential* _credential_,
2073  const absl::string_view& project_id,
2074  const QueryRequest& _content_);
2075 
2079  virtual ~JobsResource_QueryMethod();
2080 
2081 
2091  virtual util::Status AppendVariable(
2092  const StringPiece& variable_name,
2093  const client::UriTemplateConfig& config,
2094  string* target);
2095 
2096 
2108  QueryResponse* data) {
2109  return BigqueryServiceBaseRequest::ExecuteAndParseResponse(data);
2110  }
2111 
2112  private:
2113  string project_id_; string _content_;
2114  DISALLOW_COPY_AND_ASSIGN(JobsResource_QueryMethod);
2115 };
2116 
2117 
2118 
2133  public:
2145  const BigqueryService* _service_,
2146  client::AuthorizationCredential* _credential_,
2147  const absl::string_view& project_id,
2148  const absl::string_view& dataset_id,
2149  const absl::string_view& model_id);
2150 
2154  virtual ~ModelsResource_DeleteMethod();
2155 
2156 
2166  virtual util::Status AppendVariable(
2167  const StringPiece& variable_name,
2168  const client::UriTemplateConfig& config,
2169  string* target);
2170 
2171 
2172  private:
2173  string project_id_;
2174  string dataset_id_;
2175  string model_id_;
2176  DISALLOW_COPY_AND_ASSIGN(ModelsResource_DeleteMethod);
2177 };
2178 
2195  public:
2207  const BigqueryService* _service_,
2208  client::AuthorizationCredential* _credential_,
2209  const absl::string_view& project_id,
2210  const absl::string_view& dataset_id,
2211  const absl::string_view& model_id);
2212 
2216  virtual ~ModelsResource_GetMethod();
2217 
2218 
2228  virtual util::Status AppendVariable(
2229  const StringPiece& variable_name,
2230  const client::UriTemplateConfig& config,
2231  string* target);
2232 
2233 
2245  Model* data) {
2246  return BigqueryServiceBaseRequest::ExecuteAndParseResponse(data);
2247  }
2248 
2249  private:
2250  string project_id_;
2251  string dataset_id_;
2252  string model_id_;
2253  DISALLOW_COPY_AND_ASSIGN(ModelsResource_GetMethod);
2254 };
2255 
2272  public:
2283  const BigqueryService* _service_,
2284  client::AuthorizationCredential* _credential_,
2285  const absl::string_view& project_id,
2286  const absl::string_view& dataset_id);
2287 
2291  virtual ~ModelsResource_ListMethod();
2292 
2293 
2298  _have_max_results_ = false;
2299  client::ClearCppValueHelper(&max_results_);
2300  }
2301 
2302 
2308  uint32 get_max_results() const { return max_results_; }
2309 
2317  void set_max_results(uint32 value) {
2318  _have_max_results_ = true;
2319  max_results_ = value;
2320  }
2321 
2326  _have_page_token_ = false;
2327  client::ClearCppValueHelper(&page_token_);
2328  }
2329 
2330 
2336  const string& get_page_token() const { return page_token_; }
2337 
2344  string* mutable_pageToken() {
2345  _have_page_token_ = true;
2346  return &page_token_;
2347  }
2348 
2349 
2357  void set_page_token(const string& value) {
2358  _have_page_token_ = true;
2359  page_token_ = value;
2360  }
2361 
2371  virtual util::Status AppendVariable(
2372  const StringPiece& variable_name,
2373  const client::UriTemplateConfig& config,
2374  string* target);
2375 
2381  virtual util::Status AppendOptionalQueryParameters(string* target);
2382 
2383 
2395  ListModelsResponse* data) {
2396  return BigqueryServiceBaseRequest::ExecuteAndParseResponse(data);
2397  }
2398 
2399  private:
2400  string project_id_;
2401  string dataset_id_;
2402  uint32 max_results_;
2403  string page_token_;
2404  bool _have_max_results_ : 1;
2405  bool _have_page_token_ : 1;
2406  DISALLOW_COPY_AND_ASSIGN(ModelsResource_ListMethod);
2407 };
2408 
2409 typedef client::ServiceRequestPager<
2412  ModelsResource_ListMethodPager;
2413 
2428  public:
2441  const BigqueryService* _service_,
2442  client::AuthorizationCredential* _credential_,
2443  const absl::string_view& project_id,
2444  const absl::string_view& dataset_id,
2445  const absl::string_view& model_id,
2446  const Model& _content_);
2447 
2451  virtual ~ModelsResource_PatchMethod();
2452 
2453 
2463  virtual util::Status AppendVariable(
2464  const StringPiece& variable_name,
2465  const client::UriTemplateConfig& config,
2466  string* target);
2467 
2468 
2480  Model* data) {
2481  return BigqueryServiceBaseRequest::ExecuteAndParseResponse(data);
2482  }
2483 
2484  private:
2485  string project_id_;
2486  string dataset_id_;
2487  string model_id_; string _content_;
2488  DISALLOW_COPY_AND_ASSIGN(ModelsResource_PatchMethod);
2489 };
2490 
2491 
2492 
2509  public:
2520  const BigqueryService* _service_,
2521  client::AuthorizationCredential* _credential_,
2522  const absl::string_view& project_id);
2523 
2528 
2529 
2539  virtual util::Status AppendVariable(
2540  const StringPiece& variable_name,
2541  const client::UriTemplateConfig& config,
2542  string* target);
2543 
2544 
2556  GetServiceAccountResponse* data) {
2557  return BigqueryServiceBaseRequest::ExecuteAndParseResponse(data);
2558  }
2559 
2560  private:
2561  string project_id_;
2562  DISALLOW_COPY_AND_ASSIGN(ProjectsResource_GetServiceAccountMethod);
2563 };
2564 
2581  public:
2590  const BigqueryService* _service_,
2591  client::AuthorizationCredential* _credential_);
2592 
2596  virtual ~ProjectsResource_ListMethod();
2597 
2598 
2603  _have_page_token_ = false;
2604  client::ClearCppValueHelper(&page_token_);
2605  }
2606 
2607 
2613  const string& get_page_token() const { return page_token_; }
2614 
2621  string* mutable_pageToken() {
2622  _have_page_token_ = true;
2623  return &page_token_;
2624  }
2625 
2626 
2633  void set_page_token(const string& value) {
2634  _have_page_token_ = true;
2635  page_token_ = value;
2636  }
2637 
2638 
2639 
2644  _have_max_results_ = false;
2645  client::ClearCppValueHelper(&max_results_);
2646  }
2647 
2648 
2654  uint32 get_max_results() const { return max_results_; }
2655 
2661  void set_max_results(uint32 value) {
2662  _have_max_results_ = true;
2663  max_results_ = value;
2664  }
2665 
2675  virtual util::Status AppendVariable(
2676  const StringPiece& variable_name,
2677  const client::UriTemplateConfig& config,
2678  string* target);
2679 
2685  virtual util::Status AppendOptionalQueryParameters(string* target);
2686 
2687 
2699  ProjectList* data) {
2700  return BigqueryServiceBaseRequest::ExecuteAndParseResponse(data);
2701  }
2702 
2703  private:
2704  string page_token_;
2705  uint32 max_results_;
2706  bool _have_page_token_ : 1;
2707  bool _have_max_results_ : 1;
2708  DISALLOW_COPY_AND_ASSIGN(ProjectsResource_ListMethod);
2709 };
2710 
2711 typedef client::ServiceRequestPager<
2713  ProjectList>
2714  ProjectsResource_ListMethodPager;
2715 
2716 
2717 
2732  public:
2744  const BigqueryService* _service_,
2745  client::AuthorizationCredential* _credential_,
2746  const absl::string_view& project_id,
2747  const absl::string_view& dataset_id,
2748  const absl::string_view& routine_id);
2749 
2753  virtual ~RoutinesResource_DeleteMethod();
2754 
2755 
2765  virtual util::Status AppendVariable(
2766  const StringPiece& variable_name,
2767  const client::UriTemplateConfig& config,
2768  string* target);
2769 
2770 
2771  private:
2772  string project_id_;
2773  string dataset_id_;
2774  string routine_id_;
2775  DISALLOW_COPY_AND_ASSIGN(RoutinesResource_DeleteMethod);
2776 };
2777 
2794  public:
2806  const BigqueryService* _service_,
2807  client::AuthorizationCredential* _credential_,
2808  const absl::string_view& project_id,
2809  const absl::string_view& dataset_id,
2810  const absl::string_view& routine_id);
2811 
2815  virtual ~RoutinesResource_GetMethod();
2816 
2817 
2822  _have_read_mask_ = false;
2823  client::ClearCppValueHelper(&read_mask_);
2824  }
2825 
2826 
2832  const string& get_read_mask() const { return read_mask_; }
2833 
2840  string* mutable_readMask() {
2841  _have_read_mask_ = true;
2842  return &read_mask_;
2843  }
2844 
2845 
2853  void set_read_mask(const string& value) {
2854  _have_read_mask_ = true;
2855  read_mask_ = value;
2856  }
2857 
2867  virtual util::Status AppendVariable(
2868  const StringPiece& variable_name,
2869  const client::UriTemplateConfig& config,
2870  string* target);
2871 
2877  virtual util::Status AppendOptionalQueryParameters(string* target);
2878 
2879 
2891  Routine* data) {
2892  return BigqueryServiceBaseRequest::ExecuteAndParseResponse(data);
2893  }
2894 
2895  private:
2896  string project_id_;
2897  string dataset_id_;
2898  string routine_id_;
2899  string read_mask_;
2900  bool _have_read_mask_ : 1;
2901  DISALLOW_COPY_AND_ASSIGN(RoutinesResource_GetMethod);
2902 };
2903 
2918  public:
2930  const BigqueryService* _service_,
2931  client::AuthorizationCredential* _credential_,
2932  const absl::string_view& project_id,
2933  const absl::string_view& dataset_id,
2934  const Routine& _content_);
2935 
2939  virtual ~RoutinesResource_InsertMethod();
2940 
2941 
2951  virtual util::Status AppendVariable(
2952  const StringPiece& variable_name,
2953  const client::UriTemplateConfig& config,
2954  string* target);
2955 
2956 
2968  Routine* data) {
2969  return BigqueryServiceBaseRequest::ExecuteAndParseResponse(data);
2970  }
2971 
2972  private:
2973  string project_id_;
2974  string dataset_id_; string _content_;
2975  DISALLOW_COPY_AND_ASSIGN(RoutinesResource_InsertMethod);
2976 };
2977 
2994  public:
3005  const BigqueryService* _service_,
3006  client::AuthorizationCredential* _credential_,
3007  const absl::string_view& project_id,
3008  const absl::string_view& dataset_id);
3009 
3013  virtual ~RoutinesResource_ListMethod();
3014 
3015 
3020  _have_page_token_ = false;
3021  client::ClearCppValueHelper(&page_token_);
3022  }
3023 
3024 
3030  const string& get_page_token() const { return page_token_; }
3031 
3038  string* mutable_pageToken() {
3039  _have_page_token_ = true;
3040  return &page_token_;
3041  }
3042 
3043 
3051  void set_page_token(const string& value) {
3052  _have_page_token_ = true;
3053  page_token_ = value;
3054  }
3055 
3056 
3057 
3062  _have_max_results_ = false;
3063  client::ClearCppValueHelper(&max_results_);
3064  }
3065 
3066 
3072  uint32 get_max_results() const { return max_results_; }
3073 
3081  void set_max_results(uint32 value) {
3082  _have_max_results_ = true;
3083  max_results_ = value;
3084  }
3085 
3090  _have_read_mask_ = false;
3091  client::ClearCppValueHelper(&read_mask_);
3092  }
3093 
3094 
3100  const string& get_read_mask() const { return read_mask_; }
3101 
3108  string* mutable_readMask() {
3109  _have_read_mask_ = true;
3110  return &read_mask_;
3111  }
3112 
3113 
3124  void set_read_mask(const string& value) {
3125  _have_read_mask_ = true;
3126  read_mask_ = value;
3127  }
3128 
3129 
3130 
3134  void clear_filter() {
3135  _have_filter_ = false;
3136  client::ClearCppValueHelper(&filter_);
3137  }
3138 
3139 
3145  const string& get_filter() const { return filter_; }
3146 
3152  string* mutable_filter() {
3153  _have_filter_ = true;
3154  return &filter_;
3155  }
3156 
3157 
3172  void set_filter(const string& value) {
3173  _have_filter_ = true;
3174  filter_ = value;
3175  }
3176 
3186  virtual util::Status AppendVariable(
3187  const StringPiece& variable_name,
3188  const client::UriTemplateConfig& config,
3189  string* target);
3190 
3196  virtual util::Status AppendOptionalQueryParameters(string* target);
3197 
3198 
3210  ListRoutinesResponse* data) {
3211  return BigqueryServiceBaseRequest::ExecuteAndParseResponse(data);
3212  }
3213 
3214  private:
3215  string project_id_;
3216  string dataset_id_;
3217  string page_token_;
3218  uint32 max_results_;
3219  string read_mask_;
3220  string filter_;
3221  bool _have_page_token_ : 1;
3222  bool _have_max_results_ : 1;
3223  bool _have_read_mask_ : 1;
3224  bool _have_filter_ : 1;
3225  DISALLOW_COPY_AND_ASSIGN(RoutinesResource_ListMethod);
3226 };
3227 
3228 typedef client::ServiceRequestPager<
3231  RoutinesResource_ListMethodPager;
3232 
3247  public:
3260  const BigqueryService* _service_,
3261  client::AuthorizationCredential* _credential_,
3262  const absl::string_view& project_id,
3263  const absl::string_view& dataset_id,
3264  const absl::string_view& routine_id,
3265  const Routine& _content_);
3266 
3270  virtual ~RoutinesResource_UpdateMethod();
3271 
3272 
3282  virtual util::Status AppendVariable(
3283  const StringPiece& variable_name,
3284  const client::UriTemplateConfig& config,
3285  string* target);
3286 
3287 
3299  Routine* data) {
3300  return BigqueryServiceBaseRequest::ExecuteAndParseResponse(data);
3301  }
3302 
3303  private:
3304  string project_id_;
3305  string dataset_id_;
3306  string routine_id_; string _content_;
3307  DISALLOW_COPY_AND_ASSIGN(RoutinesResource_UpdateMethod);
3308 };
3309 
3310 
3311 
3327  public:
3340  const BigqueryService* _service_,
3341  client::AuthorizationCredential* _credential_,
3342  const absl::string_view& project_id,
3343  const absl::string_view& dataset_id,
3344  const absl::string_view& table_id,
3345  const TableDataInsertAllRequest& _content_);
3346 
3351 
3352 
3362  virtual util::Status AppendVariable(
3363  const StringPiece& variable_name,
3364  const client::UriTemplateConfig& config,
3365  string* target);
3366 
3367 
3380  return BigqueryServiceBaseRequest::ExecuteAndParseResponse(data);
3381  }
3382 
3383  private:
3384  string project_id_;
3385  string dataset_id_;
3386  string table_id_; string _content_;
3387  DISALLOW_COPY_AND_ASSIGN(TabledataResource_InsertAllMethod);
3388 };
3389 
3406  public:
3418  const BigqueryService* _service_,
3419  client::AuthorizationCredential* _credential_,
3420  const absl::string_view& project_id,
3421  const absl::string_view& dataset_id,
3422  const absl::string_view& table_id);
3423 
3427  virtual ~TabledataResource_ListMethod();
3428 
3429 
3434  _have_start_index_ = false;
3435  client::ClearCppValueHelper(&start_index_);
3436  }
3437 
3438 
3444  uint64 get_start_index() const { return start_index_; }
3445 
3451  void set_start_index(uint64 value) {
3452  _have_start_index_ = true;
3453  start_index_ = value;
3454  }
3455 
3460  _have_page_token_ = false;
3461  client::ClearCppValueHelper(&page_token_);
3462  }
3463 
3464 
3470  const string& get_page_token() const { return page_token_; }
3471 
3478  string* mutable_pageToken() {
3479  _have_page_token_ = true;
3480  return &page_token_;
3481  }
3482 
3483 
3490  void set_page_token(const string& value) {
3491  _have_page_token_ = true;
3492  page_token_ = value;
3493  }
3494 
3495 
3496 
3501  _have_max_results_ = false;
3502  client::ClearCppValueHelper(&max_results_);
3503  }
3504 
3505 
3511  uint32 get_max_results() const { return max_results_; }
3512 
3518  void set_max_results(uint32 value) {
3519  _have_max_results_ = true;
3520  max_results_ = value;
3521  }
3522 
3528  _have_selected_fields_ = false;
3529  client::ClearCppValueHelper(&selected_fields_);
3530  }
3531 
3532 
3538  const string& get_selected_fields() const { return selected_fields_; }
3539 
3547  _have_selected_fields_ = true;
3548  return &selected_fields_;
3549  }
3550 
3551 
3558  void set_selected_fields(const string& value) {
3559  _have_selected_fields_ = true;
3560  selected_fields_ = value;
3561  }
3562 
3572  virtual util::Status AppendVariable(
3573  const StringPiece& variable_name,
3574  const client::UriTemplateConfig& config,
3575  string* target);
3576 
3582  virtual util::Status AppendOptionalQueryParameters(string* target);
3583 
3584 
3596  TableDataList* data) {
3597  return BigqueryServiceBaseRequest::ExecuteAndParseResponse(data);
3598  }
3599 
3600  private:
3601  string project_id_;
3602  string dataset_id_;
3603  string table_id_;
3604  uint64 start_index_;
3605  string page_token_;
3606  uint32 max_results_;
3607  string selected_fields_;
3608  bool _have_start_index_ : 1;
3609  bool _have_page_token_ : 1;
3610  bool _have_max_results_ : 1;
3611  bool _have_selected_fields_ : 1;
3612  DISALLOW_COPY_AND_ASSIGN(TabledataResource_ListMethod);
3613 };
3614 
3615 typedef client::ServiceRequestPager<
3617  TableDataList>
3618  TabledataResource_ListMethodPager;
3619 
3620 
3621 
3636  public:
3648  const BigqueryService* _service_,
3649  client::AuthorizationCredential* _credential_,
3650  const absl::string_view& project_id,
3651  const absl::string_view& dataset_id,
3652  const absl::string_view& table_id);
3653 
3657  virtual ~TablesResource_DeleteMethod();
3658 
3659 
3669  virtual util::Status AppendVariable(
3670  const StringPiece& variable_name,
3671  const client::UriTemplateConfig& config,
3672  string* target);
3673 
3674 
3675  private:
3676  string project_id_;
3677  string dataset_id_;
3678  string table_id_;
3679  DISALLOW_COPY_AND_ASSIGN(TablesResource_DeleteMethod);
3680 };
3681 
3698  public:
3710  const BigqueryService* _service_,
3711  client::AuthorizationCredential* _credential_,
3712  const absl::string_view& project_id,
3713  const absl::string_view& dataset_id,
3714  const absl::string_view& table_id);
3715 
3719  virtual ~TablesResource_GetMethod();
3720 
3721 
3727  _have_selected_fields_ = false;
3728  client::ClearCppValueHelper(&selected_fields_);
3729  }
3730 
3731 
3737  const string& get_selected_fields() const { return selected_fields_; }
3738 
3746  _have_selected_fields_ = true;
3747  return &selected_fields_;
3748  }
3749 
3750 
3757  void set_selected_fields(const string& value) {
3758  _have_selected_fields_ = true;
3759  selected_fields_ = value;
3760  }
3761 
3771  virtual util::Status AppendVariable(
3772  const StringPiece& variable_name,
3773  const client::UriTemplateConfig& config,
3774  string* target);
3775 
3781  virtual util::Status AppendOptionalQueryParameters(string* target);
3782 
3783 
3795  Table* data) {
3796  return BigqueryServiceBaseRequest::ExecuteAndParseResponse(data);
3797  }
3798 
3799  private:
3800  string project_id_;
3801  string dataset_id_;
3802  string table_id_;
3803  string selected_fields_;
3804  bool _have_selected_fields_ : 1;
3805  DISALLOW_COPY_AND_ASSIGN(TablesResource_GetMethod);
3806 };
3807 
3822  public:
3834  const BigqueryService* _service_,
3835  client::AuthorizationCredential* _credential_,
3836  const absl::string_view& project_id,
3837  const absl::string_view& dataset_id,
3838  const Table& _content_);
3839 
3843  virtual ~TablesResource_InsertMethod();
3844 
3845 
3855  virtual util::Status AppendVariable(
3856  const StringPiece& variable_name,
3857  const client::UriTemplateConfig& config,
3858  string* target);
3859 
3860 
3872  Table* data) {
3873  return BigqueryServiceBaseRequest::ExecuteAndParseResponse(data);
3874  }
3875 
3876  private:
3877  string project_id_;
3878  string dataset_id_; string _content_;
3879  DISALLOW_COPY_AND_ASSIGN(TablesResource_InsertMethod);
3880 };
3881 
3898  public:
3909  const BigqueryService* _service_,
3910  client::AuthorizationCredential* _credential_,
3911  const absl::string_view& project_id,
3912  const absl::string_view& dataset_id);
3913 
3917  virtual ~TablesResource_ListMethod();
3918 
3919 
3924  _have_page_token_ = false;
3925  client::ClearCppValueHelper(&page_token_);
3926  }
3927 
3928 
3934  const string& get_page_token() const { return page_token_; }
3935 
3942  string* mutable_pageToken() {
3943  _have_page_token_ = true;
3944  return &page_token_;
3945  }
3946 
3947 
3954  void set_page_token(const string& value) {
3955  _have_page_token_ = true;
3956  page_token_ = value;
3957  }
3958 
3959 
3960 
3965  _have_max_results_ = false;
3966  client::ClearCppValueHelper(&max_results_);
3967  }
3968 
3969 
3975  uint32 get_max_results() const { return max_results_; }
3976 
3982  void set_max_results(uint32 value) {
3983  _have_max_results_ = true;
3984  max_results_ = value;
3985  }
3986 
3996  virtual util::Status AppendVariable(
3997  const StringPiece& variable_name,
3998  const client::UriTemplateConfig& config,
3999  string* target);
4000 
4006  virtual util::Status AppendOptionalQueryParameters(string* target);
4007 
4008 
4020  TableList* data) {
4021  return BigqueryServiceBaseRequest::ExecuteAndParseResponse(data);
4022  }
4023 
4024  private:
4025  string project_id_;
4026  string dataset_id_;
4027  string page_token_;
4028  uint32 max_results_;
4029  bool _have_page_token_ : 1;
4030  bool _have_max_results_ : 1;
4031  DISALLOW_COPY_AND_ASSIGN(TablesResource_ListMethod);
4032 };
4033 
4034 typedef client::ServiceRequestPager<
4036  TableList>
4037  TablesResource_ListMethodPager;
4038 
4053  public:
4066  const BigqueryService* _service_,
4067  client::AuthorizationCredential* _credential_,
4068  const absl::string_view& project_id,
4069  const absl::string_view& dataset_id,
4070  const absl::string_view& table_id,
4071  const Table& _content_);
4072 
4076  virtual ~TablesResource_PatchMethod();
4077 
4078 
4088  virtual util::Status AppendVariable(
4089  const StringPiece& variable_name,
4090  const client::UriTemplateConfig& config,
4091  string* target);
4092 
4093 
4105  Table* data) {
4106  return BigqueryServiceBaseRequest::ExecuteAndParseResponse(data);
4107  }
4108 
4109  private:
4110  string project_id_;
4111  string dataset_id_;
4112  string table_id_; string _content_;
4113  DISALLOW_COPY_AND_ASSIGN(TablesResource_PatchMethod);
4114 };
4115 
4130  public:
4143  const BigqueryService* _service_,
4144  client::AuthorizationCredential* _credential_,
4145  const absl::string_view& project_id,
4146  const absl::string_view& dataset_id,
4147  const absl::string_view& table_id,
4148  const Table& _content_);
4149 
4153  virtual ~TablesResource_UpdateMethod();
4154 
4155 
4165  virtual util::Status AppendVariable(
4166  const StringPiece& variable_name,
4167  const client::UriTemplateConfig& config,
4168  string* target);
4169 
4170 
4182  Table* data) {
4183  return BigqueryServiceBaseRequest::ExecuteAndParseResponse(data);
4184  }
4185 
4186  private:
4187  string project_id_;
4188  string dataset_id_;
4189  string table_id_; string _content_;
4190  DISALLOW_COPY_AND_ASSIGN(TablesResource_UpdateMethod);
4191 };
4192 
4193 
4194 
4203 class BigqueryService : public client::ClientService {
4204  public:
4208  static const char googleapis_API_NAME[];
4209 
4213  static const char googleapis_API_VERSION[];
4214 
4218  static const char googleapis_API_GENERATOR[];
4219 
4220 
4227  public:
4235  explicit DatasetsResource(BigqueryService* service);
4236 
4241 
4242 
4253  DatasetsResource_DeleteMethod* NewDeleteMethod(
4254  client::AuthorizationCredential* _credential_,
4255  const absl::string_view& project_id,
4256  const absl::string_view& dataset_id) const;
4257 
4268  DatasetsResource_GetMethod* NewGetMethod(
4269  client::AuthorizationCredential* _credential_,
4270  const absl::string_view& project_id,
4271  const absl::string_view& dataset_id) const;
4272 
4283  DatasetsResource_InsertMethod* NewInsertMethod(
4284  client::AuthorizationCredential* _credential_,
4285  const absl::string_view& project_id,
4286  const Dataset& _content_) const;
4287 
4297  DatasetsResource_ListMethod* NewListMethod(
4298  client::AuthorizationCredential* _credential_,
4299  const absl::string_view& project_id) const;
4300 
4309  DatasetsResource_ListMethodPager* NewListMethodPager(
4310  client::AuthorizationCredential* _credential_,
4311  const absl::string_view& project_id) const;
4312 
4324  DatasetsResource_PatchMethod* NewPatchMethod(
4325  client::AuthorizationCredential* _credential_,
4326  const absl::string_view& project_id,
4327  const absl::string_view& dataset_id,
4328  const Dataset& _content_) const;
4329 
4341  DatasetsResource_UpdateMethod* NewUpdateMethod(
4342  client::AuthorizationCredential* _credential_,
4343  const absl::string_view& project_id,
4344  const absl::string_view& dataset_id,
4345  const Dataset& _content_) const;
4346 
4347  private:
4348  BigqueryService* service_;
4349 
4350  DISALLOW_COPY_AND_ASSIGN(DatasetsResource);
4351  };
4352 
4359  public:
4367  explicit JobsResource(BigqueryService* service);
4368 
4373 
4374 
4385  JobsResource_CancelMethod* NewCancelMethod(
4386  client::AuthorizationCredential* _credential_,
4387  const absl::string_view& project_id,
4388  const absl::string_view& job_id) const;
4389 
4400  JobsResource_GetMethod* NewGetMethod(
4401  client::AuthorizationCredential* _credential_,
4402  const absl::string_view& project_id,
4403  const absl::string_view& job_id) const;
4404 
4415  JobsResource_GetQueryResultsMethod* NewGetQueryResultsMethod(
4416  client::AuthorizationCredential* _credential_,
4417  const absl::string_view& project_id,
4418  const absl::string_view& job_id) const;
4419 
4430  JobsResource_GetQueryResultsMethodPager* NewGetQueryResultsMethodPager(
4431  client::AuthorizationCredential* _credential_,
4432  const absl::string_view& project_id,
4433  const absl::string_view& job_id) const;
4434 
4435 
4448  JobsResource_InsertMethod* NewInsertMethod(
4449  client::AuthorizationCredential* _credential_,
4450  const absl::string_view& project_id) const;
4451 
4469  JobsResource_InsertMethod* NewInsertMethod(
4470  client::AuthorizationCredential* _credential_,
4471  const absl::string_view& project_id,
4472  const Job* _metadata_,
4473  const StringPiece& _media_content_type_,
4474  client::DataReader* _media_content_reader_) const;
4475 
4485  JobsResource_ListMethod* NewListMethod(
4486  client::AuthorizationCredential* _credential_,
4487  const absl::string_view& project_id) const;
4488 
4497  JobsResource_ListMethodPager* NewListMethodPager(
4498  client::AuthorizationCredential* _credential_,
4499  const absl::string_view& project_id) const;
4500 
4511  JobsResource_QueryMethod* NewQueryMethod(
4512  client::AuthorizationCredential* _credential_,
4513  const absl::string_view& project_id,
4514  const QueryRequest& _content_) const;
4515 
4516  private:
4517  BigqueryService* service_;
4518 
4519  DISALLOW_COPY_AND_ASSIGN(JobsResource);
4520  };
4521 
4528  public:
4536  explicit ModelsResource(BigqueryService* service);
4537 
4542 
4543 
4555  ModelsResource_DeleteMethod* NewDeleteMethod(
4556  client::AuthorizationCredential* _credential_,
4557  const absl::string_view& project_id,
4558  const absl::string_view& dataset_id,
4559  const absl::string_view& model_id) const;
4560 
4572  ModelsResource_GetMethod* NewGetMethod(
4573  client::AuthorizationCredential* _credential_,
4574  const absl::string_view& project_id,
4575  const absl::string_view& dataset_id,
4576  const absl::string_view& model_id) const;
4577 
4588  ModelsResource_ListMethod* NewListMethod(
4589  client::AuthorizationCredential* _credential_,
4590  const absl::string_view& project_id,
4591  const absl::string_view& dataset_id) const;
4592 
4603  ModelsResource_ListMethodPager* NewListMethodPager(
4604  client::AuthorizationCredential* _credential_,
4605  const absl::string_view& project_id,
4606  const absl::string_view& dataset_id) const;
4607 
4620  ModelsResource_PatchMethod* NewPatchMethod(
4621  client::AuthorizationCredential* _credential_,
4622  const absl::string_view& project_id,
4623  const absl::string_view& dataset_id,
4624  const absl::string_view& model_id,
4625  const Model& _content_) const;
4626 
4627  private:
4628  BigqueryService* service_;
4629 
4630  DISALLOW_COPY_AND_ASSIGN(ModelsResource);
4631  };
4632 
4639  public:
4647  explicit ProjectsResource(BigqueryService* service);
4648 
4653 
4654 
4665  ProjectsResource_GetServiceAccountMethod* NewGetServiceAccountMethod(
4666  client::AuthorizationCredential* _credential_,
4667  const absl::string_view& project_id) const;
4668 
4677  ProjectsResource_ListMethod* NewListMethod(
4678  client::AuthorizationCredential* _credential_) const;
4679 
4686  ProjectsResource_ListMethodPager* NewListMethodPager(
4687  client::AuthorizationCredential* _credential_) const;
4688 
4689  private:
4690  BigqueryService* service_;
4691 
4692  DISALLOW_COPY_AND_ASSIGN(ProjectsResource);
4693  };
4694 
4701  public:
4709  explicit RoutinesResource(BigqueryService* service);
4710 
4715 
4716 
4728  RoutinesResource_DeleteMethod* NewDeleteMethod(
4729  client::AuthorizationCredential* _credential_,
4730  const absl::string_view& project_id,
4731  const absl::string_view& dataset_id,
4732  const absl::string_view& routine_id) const;
4733 
4745  RoutinesResource_GetMethod* NewGetMethod(
4746  client::AuthorizationCredential* _credential_,
4747  const absl::string_view& project_id,
4748  const absl::string_view& dataset_id,
4749  const absl::string_view& routine_id) const;
4750 
4762  RoutinesResource_InsertMethod* NewInsertMethod(
4763  client::AuthorizationCredential* _credential_,
4764  const absl::string_view& project_id,
4765  const absl::string_view& dataset_id,
4766  const Routine& _content_) const;
4767 
4778  RoutinesResource_ListMethod* NewListMethod(
4779  client::AuthorizationCredential* _credential_,
4780  const absl::string_view& project_id,
4781  const absl::string_view& dataset_id) const;
4782 
4793  RoutinesResource_ListMethodPager* NewListMethodPager(
4794  client::AuthorizationCredential* _credential_,
4795  const absl::string_view& project_id,
4796  const absl::string_view& dataset_id) const;
4797 
4810  RoutinesResource_UpdateMethod* NewUpdateMethod(
4811  client::AuthorizationCredential* _credential_,
4812  const absl::string_view& project_id,
4813  const absl::string_view& dataset_id,
4814  const absl::string_view& routine_id,
4815  const Routine& _content_) const;
4816 
4817  private:
4818  BigqueryService* service_;
4819 
4820  DISALLOW_COPY_AND_ASSIGN(RoutinesResource);
4821  };
4822 
4829  public:
4837  explicit TabledataResource(BigqueryService* service);
4838 
4843 
4844 
4857  TabledataResource_InsertAllMethod* NewInsertAllMethod(
4858  client::AuthorizationCredential* _credential_,
4859  const absl::string_view& project_id,
4860  const absl::string_view& dataset_id,
4861  const absl::string_view& table_id,
4862  const TableDataInsertAllRequest& _content_) const;
4863 
4875  TabledataResource_ListMethod* NewListMethod(
4876  client::AuthorizationCredential* _credential_,
4877  const absl::string_view& project_id,
4878  const absl::string_view& dataset_id,
4879  const absl::string_view& table_id) const;
4880 
4893  TabledataResource_ListMethodPager* NewListMethodPager(
4894  client::AuthorizationCredential* _credential_,
4895  const absl::string_view& project_id,
4896  const absl::string_view& dataset_id,
4897  const absl::string_view& table_id) const;
4898 
4899  private:
4900  BigqueryService* service_;
4901 
4902  DISALLOW_COPY_AND_ASSIGN(TabledataResource);
4903  };
4904 
4911  public:
4919  explicit TablesResource(BigqueryService* service);
4920 
4925 
4926 
4938  TablesResource_DeleteMethod* NewDeleteMethod(
4939  client::AuthorizationCredential* _credential_,
4940  const absl::string_view& project_id,
4941  const absl::string_view& dataset_id,
4942  const absl::string_view& table_id) const;
4943 
4955  TablesResource_GetMethod* NewGetMethod(
4956  client::AuthorizationCredential* _credential_,
4957  const absl::string_view& project_id,
4958  const absl::string_view& dataset_id,
4959  const absl::string_view& table_id) const;
4960 
4972  TablesResource_InsertMethod* NewInsertMethod(
4973  client::AuthorizationCredential* _credential_,
4974  const absl::string_view& project_id,
4975  const absl::string_view& dataset_id,
4976  const Table& _content_) const;
4977 
4988  TablesResource_ListMethod* NewListMethod(
4989  client::AuthorizationCredential* _credential_,
4990  const absl::string_view& project_id,
4991  const absl::string_view& dataset_id) const;
4992 
5003  TablesResource_ListMethodPager* NewListMethodPager(
5004  client::AuthorizationCredential* _credential_,
5005  const absl::string_view& project_id,
5006  const absl::string_view& dataset_id) const;
5007 
5020  TablesResource_PatchMethod* NewPatchMethod(
5021  client::AuthorizationCredential* _credential_,
5022  const absl::string_view& project_id,
5023  const absl::string_view& dataset_id,
5024  const absl::string_view& table_id,
5025  const Table& _content_) const;
5026 
5039  TablesResource_UpdateMethod* NewUpdateMethod(
5040  client::AuthorizationCredential* _credential_,
5041  const absl::string_view& project_id,
5042  const absl::string_view& dataset_id,
5043  const absl::string_view& table_id,
5044  const Table& _content_) const;
5045 
5046  private:
5047  BigqueryService* service_;
5048 
5049  DISALLOW_COPY_AND_ASSIGN(TablesResource);
5050  };
5051 
5052 
5053 
5060  explicit BigqueryService(client::HttpTransport* transport);
5061 
5065  virtual ~BigqueryService();
5066 
5073  return datasets_;
5074  }
5075 
5076 
5082  const JobsResource& get_jobs() const {
5083  return jobs_;
5084  }
5085 
5086 
5092  const ModelsResource& get_models() const {
5093  return models_;
5094  }
5095 
5096 
5103  return projects_;
5104  }
5105 
5106 
5113  return routines_;
5114  }
5115 
5116 
5123  return tabledata_;
5124  }
5125 
5126 
5132  const TablesResource& get_tables() const {
5133  return tables_;
5134  }
5135 
5142  class SCOPES {
5143  public:
5147  static const char BIGQUERY[];
5148 
5152  static const char BIGQUERY_INSERTDATA[];
5153 
5157  static const char BIGQUERY_READONLY[];
5158 
5162  static const char CLOUD_PLATFORM[];
5163 
5167  static const char CLOUD_PLATFORM_READ_ONLY[];
5168 
5172  static const char DEVSTORAGE_FULL_CONTROL[];
5173 
5177  static const char DEVSTORAGE_READ_ONLY[];
5178 
5182  static const char DEVSTORAGE_READ_WRITE[];
5183 
5184  private:
5185  SCOPES(); // Never instantiated.
5186  ~SCOPES(); // Never instantiated.
5187  };
5188 
5189  private:
5190  DatasetsResource datasets_;
5191  JobsResource jobs_;
5192  ModelsResource models_;
5193  ProjectsResource projects_;
5194  RoutinesResource routines_;
5195  TabledataResource tabledata_;
5196  TablesResource tables_;
5197 
5198  DISALLOW_COPY_AND_ASSIGN(BigqueryService);
5199 };
5200 
5201 
5232 } // namespace google_bigquery_api
5233 #endif // GOOGLE_BIGQUERY_API_BIGQUERY_SERVICE_H_
void set_max_results(uint32 value)
Definition: bigquery_service.h:2317
void clear_location()
Definition: bigquery_service.h:1402
void clear_key()
Definition: bigquery_service.h:216
Definition: bigquery_service.h:560
void set_read_mask(const string &value)
Definition: bigquery_service.h:3124
Definition: get_service_account_response.h:50
util::Status ExecuteAndParseResponse(ListRoutinesResponse *data)
Definition: bigquery_service.h:3209
string * mutable_key()
Definition: bigquery_service.h:234
void set_max_results(uint32 value)
Definition: bigquery_service.h:2661
util::Status ExecuteAndParseResponse(Dataset *data)
Definition: bigquery_service.h:978
void set_page_token(const string &value)
Definition: bigquery_service.h:3954
Definition: bigquery_service.h:1585
uint64 get_max_creation_time() const
Definition: bigquery_service.h:1899
util::Status ExecuteAndParseResponse(ListModelsResponse *data)
Definition: bigquery_service.h:2394
const string & get_parent_job_id() const
Definition: bigquery_service.h:1734
void clear_min_creation_time()
Definition: bigquery_service.h:1765
uint32 get_max_results() const
Definition: bigquery_service.h:1361
string * mutable_alt()
Definition: bigquery_service.h:155
Definition: bigquery_service.h:2132
string * mutable_pageToken()
Definition: bigquery_service.h:748
util::Status ExecuteAndParseResponse(Table *data)
Definition: bigquery_service.h:4181
const string & get_read_mask() const
Definition: bigquery_service.h:3100
void clear_state_filter()
Definition: bigquery_service.h:1916
void clear_page_token()
Definition: bigquery_service.h:1793
void set_key(const string &value)
Definition: bigquery_service.h:247
const string & get_selected_fields() const
Definition: bigquery_service.h:3538
const string & get_page_token() const
Definition: bigquery_service.h:740
util::Status ExecuteAndParseResponse(ProjectList *data)
Definition: bigquery_service.h:2698
void clear_pretty_print()
Definition: bigquery_service.h:297
void clear_location()
Definition: bigquery_service.h:1227
Definition: bigquery_service.h:3697
const RoutinesResource & get_routines() const
Definition: bigquery_service.h:5112
void clear_max_results()
Definition: bigquery_service.h:3500
void clear_max_results()
Definition: bigquery_service.h:1861
void clear_page_token()
Definition: bigquery_service.h:2325
util::Status ExecuteAndParseResponse(Job *data)
Definition: bigquery_service.h:1296
void clear_start_index()
Definition: bigquery_service.h:1376
Definition: bigquery_service.h:2731
void clear_location()
Definition: bigquery_service.h:1104
const string & get_location() const
Definition: bigquery_service.h:1115
Definition: dataset_list.h:52
Definition: bigquery_service.h:4052
const string & get_page_token() const
Definition: bigquery_service.h:1804
bool get_all_users() const
Definition: bigquery_service.h:1845
util::Status ExecuteAndParseResponse(Table *data)
Definition: bigquery_service.h:3871
const string & get_filter() const
Definition: bigquery_service.h:3145
util::Status ExecuteAndParseResponse(JobList *data)
Definition: bigquery_service.h:2013
string * mutable_location()
Definition: bigquery_service.h:1246
~ModelsResource()
Definition: bigquery_service.h:4541
void clear_max_creation_time()
Definition: bigquery_service.h:1888
void set_projection(const string &value)
Definition: bigquery_service.h:1976
Definition: bigquery_service.h:4527
Definition: query_response.h:56
uint32 get_max_results() const
Definition: bigquery_service.h:1872
void clear_max_results()
Definition: bigquery_service.h:3061
Definition: bigquery_service.h:2993
const JobsResource & get_jobs() const
Definition: bigquery_service.h:5082
Definition: bigquery_service.h:1699
void clear_alt()
Definition: bigquery_service.h:137
void clear_fields()
Definition: bigquery_service.h:176
const string & get_page_token() const
Definition: bigquery_service.h:2336
string * mutable_pageToken()
Definition: bigquery_service.h:2621
util::Status ExecuteAndParseResponse(GetServiceAccountResponse *data)
Definition: bigquery_service.h:2555
util::Status ExecuteAndParseResponse(TableDataInsertAllResponse *data)
Definition: bigquery_service.h:3378
string * mutable_pageToken()
Definition: bigquery_service.h:1812
string * mutable_readMask()
Definition: bigquery_service.h:2840
void clear_all_users()
Definition: bigquery_service.h:1834
void set_oauth_token(const string &value)
Definition: bigquery_service.h:287
void set_max_results(uint32 value)
Definition: bigquery_service.h:3081
void clear_user_ip()
Definition: bigquery_service.h:364
Definition: job_list.h:56
string * mutable_oauthToken()
Definition: bigquery_service.h:276
string * mutable_location()
Definition: bigquery_service.h:1123
Definition: list_models_response.h:52
void set_alt(const string &value)
Definition: bigquery_service.h:166
const string & get_oauth_token() const
Definition: bigquery_service.h:268
util::Status ExecuteAndParseResponse(DatasetList *data)
Definition: bigquery_service.h:892
Definition: bigquery_service.h:1002
string * mutable_userIp()
Definition: bigquery_service.h:382
string * mutable_projection()
Definition: bigquery_service.h:1964
void set_delete_contents(bool value)
Definition: bigquery_service.h:510
void clear_page_token()
Definition: bigquery_service.h:2602
Definition: bigquery_service.h:1201
string * mutable_selectedFields()
Definition: bigquery_service.h:3546
void clear_max_results()
Definition: bigquery_service.h:1350
Definition: bigquery_service.h:464
Definition: bigquery_service.h:4203
void clear_max_results()
Definition: bigquery_service.h:2297
Definition: aggregate_classification_metrics.cc:39
static const client::MediaUploadSpec SIMPLE_MEDIA_UPLOAD
Definition: bigquery_service.h:1673
void set_location(const string &value)
Definition: bigquery_service.h:1259
const string & get_page_token() const
Definition: bigquery_service.h:3934
void set_selected_fields(const string &value)
Definition: bigquery_service.h:3558
Definition: bigquery_service.h:4358
Definition: table_data_list.h:53
void clear_max_results()
Definition: bigquery_service.h:2643
void clear_page_token()
Definition: bigquery_service.h:3019
void set_min_creation_time(uint64 value)
Definition: bigquery_service.h:1785
util::Status ExecuteAndParseResponse(Routine *data)
Definition: bigquery_service.h:3298
void clear_selected_fields()
Definition: bigquery_service.h:3527
const string & get_page_token() const
Definition: bigquery_service.h:2613
~TablesResource()
Definition: bigquery_service.h:4924
void clear_page_token()
Definition: bigquery_service.h:729
void clear_quota_user()
Definition: bigquery_service.h:323
Definition: bigquery_service.h:3246
Definition: project_list.h:53
void set_page_token(const string &value)
Definition: bigquery_service.h:2357
Definition: bigquery_service.h:5142
util::Status ExecuteAndParseResponse(Dataset *data)
Definition: bigquery_service.h:1052
const string & get_selected_fields() const
Definition: bigquery_service.h:3737
void set_user_ip(const string &value)
Definition: bigquery_service.h:394
Definition: table_list.h:56
Definition: bigquery_service.h:3821
util::Status ExecuteAndParseResponse(QueryResponse *data)
Definition: bigquery_service.h:2107
void set_read_mask(const string &value)
Definition: bigquery_service.h:2853
string * mutable_pageToken()
Definition: bigquery_service.h:1463
Definition: table.h:63
util::Status ExecuteAndParseResponse(Job *data)
Definition: bigquery_service.h:1660
void set_selected_fields(const string &value)
Definition: bigquery_service.h:3757
const string & get_location() const
Definition: bigquery_service.h:1413
util::Status ExecuteAndParseResponse(Dataset *data)
Definition: bigquery_service.h:608
void clear_max_results()
Definition: bigquery_service.h:3964
uint32 get_max_results() const
Definition: bigquery_service.h:3975
const string & get_alt() const
Definition: bigquery_service.h:148
void set_start_index(uint64 value)
Definition: bigquery_service.h:1394
Definition: bigquery_service.h:3635
Definition: bigquery_service.h:4910
uint32 get_max_results() const
Definition: bigquery_service.h:781
void set_fields(const string &value)
Definition: bigquery_service.h:206
void set_start_index(uint64 value)
Definition: bigquery_service.h:3451
string * mutable_location()
Definition: bigquery_service.h:1421
Definition: bigquery_service.h:632
uint64 get_min_creation_time() const
Definition: bigquery_service.h:1776
void clear_selected_fields()
Definition: bigquery_service.h:3726
const TabledataResource & get_tabledata() const
Definition: bigquery_service.h:5122
const string & get_page_token() const
Definition: bigquery_service.h:1455
Definition: bigquery_service.h:705
util::Status ExecuteAndParseResponse(JobCancelResponse *data)
Definition: bigquery_service.h:1173
void set_max_results(uint32 value)
Definition: bigquery_service.h:1879
Definition: bigquery_service.h:4129
Definition: job_cancel_response.h:52
util::Status ExecuteAndParseResponse(Routine *data)
Definition: bigquery_service.h:2890
void set_page_token(const string &value)
Definition: bigquery_service.h:1824
void set_page_token(const string &value)
Definition: bigquery_service.h:760
uint64 get_start_index() const
Definition: bigquery_service.h:3444
Definition: bigquery_service.h:3405
const client::JsonCppArray< string > & get_state_filter() const
Definition: bigquery_service.h:1927
bool get_pretty_print() const
Definition: bigquery_service.h:308
uint32 get_max_results() const
Definition: bigquery_service.h:3511
const string & get_page_token() const
Definition: bigquery_service.h:3030
void set_parent_job_id(const string &value)
Definition: bigquery_service.h:1754
util::Status ExecuteAndParseResponse(Dataset *data)
Definition: bigquery_service.h:680
Definition: bigquery_service.h:928
Definition: bigquery_service.h:2793
void clear_all()
Definition: bigquery_service.h:796
void set_page_token(const string &value)
Definition: bigquery_service.h:1475
uint32 get_max_results() const
Definition: bigquery_service.h:2308
void clear_page_token()
Definition: bigquery_service.h:3459
Definition: bigquery_service.h:3897
uint32 get_timeout_ms() const
Definition: bigquery_service.h:1496
const string & get_read_mask() const
Definition: bigquery_service.h:2832
void set_timeout_ms(uint32 value)
Definition: bigquery_service.h:1506
void set_max_results(uint32 value)
Definition: bigquery_service.h:3518
uint32 get_max_results() const
Definition: bigquery_service.h:3072
uint32 get_max_results() const
Definition: bigquery_service.h:2654
bool get_delete_contents() const
Definition: bigquery_service.h:502
const string & get_projection() const
Definition: bigquery_service.h:1956
Definition: dataset.h:55
void clear_max_results()
Definition: bigquery_service.h:770
const string & get_filter() const
Definition: bigquery_service.h:833
void set_max_results(uint32 value)
Definition: bigquery_service.h:1368
const ProjectsResource & get_projects() const
Definition: bigquery_service.h:5102
void set_max_results(uint32 value)
Definition: bigquery_service.h:788
~DatasetsResource()
Definition: bigquery_service.h:4240
void set_page_token(const string &value)
Definition: bigquery_service.h:3051
string * mutable_parentJobId()
Definition: bigquery_service.h:1742
void set_pretty_print(bool value)
Definition: bigquery_service.h:315
Definition: model.h:56
void clear_read_mask()
Definition: bigquery_service.h:3089
~RoutinesResource()
Definition: bigquery_service.h:4714
string * mutable_pageToken()
Definition: bigquery_service.h:3038
static const client::MediaUploadSpec RESUMABLE_MEDIA_UPLOAD
Definition: bigquery_service.h:1677
util::Status ExecuteAndParseResponse(GetQueryResultsResponse *data)
Definition: bigquery_service.h:1543
string * mutable_fields()
Definition: bigquery_service.h:194
const string & get_key() const
Definition: bigquery_service.h:227
client::JsonCppArray< string > * mutable_stateFilter()
Definition: bigquery_service.h:1935
Definition: routine.h:55
Definition: bigquery_service.h:2194
Definition: bigquery_service.h:2059
void set_page_token(const string &value)
Definition: bigquery_service.h:3490
void set_max_creation_time(uint64 value)
Definition: bigquery_service.h:1908
Definition: list_routines_response.h:52
util::Status ExecuteAndParseResponse(Routine *data)
Definition: bigquery_service.h:2967
util::Status ExecuteAndParseResponse(Table *data)
Definition: bigquery_service.h:4104
void set_page_token(const string &value)
Definition: bigquery_service.h:2633
uint64 get_start_index() const
Definition: bigquery_service.h:1387
string * mutable_selectedFields()
Definition: bigquery_service.h:3745
void clear_projection()
Definition: bigquery_service.h:1945
void clear_filter()
Definition: bigquery_service.h:3134
void clear_parent_job_id()
Definition: bigquery_service.h:1723
void clear_filter()
Definition: bigquery_service.h:822
void clear_page_token()
Definition: bigquery_service.h:3923
const string & get_fields() const
Definition: bigquery_service.h:187
Definition: bigquery_service.h:2917
void clear_timeout_ms()
Definition: bigquery_service.h:1485
util::Status ExecuteAndParseResponse(Model *data)
Definition: bigquery_service.h:2479
Definition: get_query_results_response.h:56
Definition: bigquery_service.h:98
string * mutable_filter()
Definition: bigquery_service.h:840
string * mutable_readMask()
Definition: bigquery_service.h:3108
string * mutable_quotaUser()
Definition: bigquery_service.h:342
util::Status ExecuteAndParseResponse(Model *data)
Definition: bigquery_service.h:2244
string * mutable_filter()
Definition: bigquery_service.h:3152
void set_max_results(uint32 value)
Definition: bigquery_service.h:3982
const ModelsResource & get_models() const
Definition: bigquery_service.h:5092
void set_location(const string &value)
Definition: bigquery_service.h:1136
string * mutable_pageToken()
Definition: bigquery_service.h:3942
const string & get_page_token() const
Definition: bigquery_service.h:3470
void clear_delete_contents()
Definition: bigquery_service.h:491
Definition: table_data_insert_all_request.h:50
~ProjectsResource()
Definition: bigquery_service.h:4652
~JobsResource()
Definition: bigquery_service.h:4372
Definition: bigquery_service.h:2427
~TabledataResource()
Definition: bigquery_service.h:4842
string * mutable_pageToken()
Definition: bigquery_service.h:2344
void set_quota_user(const string &value)
Definition: bigquery_service.h:354
void set_all_users(bool value)
Definition: bigquery_service.h:1853
const TablesResource & get_tables() const
Definition: bigquery_service.h:5132
string * mutable_pageToken()
Definition: bigquery_service.h:3478
void clear_read_mask()
Definition: bigquery_service.h:2821
void set_filter(const string &value)
Definition: bigquery_service.h:3172
void set_filter(const string &value)
Definition: bigquery_service.h:855
Definition: bigquery_service.h:2271
Definition: query_request.h:54
util::Status ExecuteAndParseResponse(TableList *data)
Definition: bigquery_service.h:4019
void set_all(bool value)
Definition: bigquery_service.h:814
Definition: bigquery_service.h:1078
util::Status ExecuteAndParseResponse(Table *data)
Definition: bigquery_service.h:3794
const string & get_user_ip() const
Definition: bigquery_service.h:375
util::Status ExecuteAndParseResponse(TableDataList *data)
Definition: bigquery_service.h:3595
void clear_start_index()
Definition: bigquery_service.h:3433
Definition: job.h:55
Definition: bigquery_service.h:2580
const string & get_quota_user() const
Definition: bigquery_service.h:334
bool get_all() const
Definition: bigquery_service.h:807
void clear_oauth_token()
Definition: bigquery_service.h:257
void set_location(const string &value)
Definition: bigquery_service.h:1434
const string & get_location() const
Definition: bigquery_service.h:1238
const DatasetsResource & get_datasets() const
Definition: bigquery_service.h:5072
void clear_page_token()
Definition: bigquery_service.h:1444
Definition: table_data_insert_all_response.h:53