OLD | NEW |
1 library googleapis.bigquery.v2; | 1 library googleapis.bigquery.v2; |
2 | 2 |
3 import "dart:core" as core; | 3 import "dart:core" as core; |
4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
5 import "dart:async" as async; | 5 import "dart:async" as async; |
6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
7 | 7 |
8 import "package:crypto/crypto.dart" as crypto; | 8 import "package:crypto/crypto.dart" as crypto; |
9 import 'package:http/http.dart' as http; | 9 import 'package:http/http.dart' as http; |
10 import '../src/common_internal.dart' as common_internal; | 10 import '../src/common_internal.dart' as common_internal; |
(...skipping 24 matching lines...) Expand all Loading... |
35 | 35 |
36 | 36 |
37 final common_internal.ApiRequester _requester; | 37 final common_internal.ApiRequester _requester; |
38 | 38 |
39 DatasetsResourceApi get datasets => new DatasetsResourceApi(_requester); | 39 DatasetsResourceApi get datasets => new DatasetsResourceApi(_requester); |
40 JobsResourceApi get jobs => new JobsResourceApi(_requester); | 40 JobsResourceApi get jobs => new JobsResourceApi(_requester); |
41 ProjectsResourceApi get projects => new ProjectsResourceApi(_requester); | 41 ProjectsResourceApi get projects => new ProjectsResourceApi(_requester); |
42 TabledataResourceApi get tabledata => new TabledataResourceApi(_requester); | 42 TabledataResourceApi get tabledata => new TabledataResourceApi(_requester); |
43 TablesResourceApi get tables => new TablesResourceApi(_requester); | 43 TablesResourceApi get tables => new TablesResourceApi(_requester); |
44 | 44 |
45 BigqueryApi(http.Client client) : | 45 BigqueryApi(http.Client client, {core.String rootUrl: "https://www.googleapis.
com/", core.String servicePath: "bigquery/v2/"}) : |
46 _requester = new common_internal.ApiRequester(client, "https://www.googlea
pis.com/", "bigquery/v2/"); | 46 _requester = new common_internal.ApiRequester(client, rootUrl, servicePath
); |
47 } | 47 } |
48 | 48 |
49 | 49 |
50 /** Not documented yet. */ | 50 /** Not documented yet. */ |
51 class DatasetsResourceApi { | 51 class DatasetsResourceApi { |
52 final common_internal.ApiRequester _requester; | 52 final common_internal.ApiRequester _requester; |
53 | 53 |
54 DatasetsResourceApi(common_internal.ApiRequester client) : | 54 DatasetsResourceApi(common_internal.ApiRequester client) : |
55 _requester = client; | 55 _requester = client; |
56 | 56 |
(...skipping 2849 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2906 _json["outputRows"] = outputRows; | 2906 _json["outputRows"] = outputRows; |
2907 } | 2907 } |
2908 return _json; | 2908 return _json; |
2909 } | 2909 } |
2910 } | 2910 } |
2911 | 2911 |
2912 | 2912 |
2913 /** Not documented yet. */ | 2913 /** Not documented yet. */ |
2914 class JobStatistics4 { | 2914 class JobStatistics4 { |
2915 /** | 2915 /** |
2916 * [Output-only] Number of files per destination URI or URI pattern specified | 2916 * [Experimental] Number of files per destination URI or URI pattern specified |
2917 * in the extract configuration. These values will be in the same order as the | 2917 * in the extract configuration. These values will be in the same order as the |
2918 * URIs specified in the 'destinationUris' field. | 2918 * URIs specified in the 'destinationUris' field. |
2919 */ | 2919 */ |
2920 core.List<core.String> destinationUriFileCounts; | 2920 core.List<core.String> destinationUriFileCounts; |
2921 | 2921 |
2922 | 2922 |
2923 JobStatistics4(); | 2923 JobStatistics4(); |
2924 | 2924 |
2925 JobStatistics4.fromJson(core.Map _json) { | 2925 JobStatistics4.fromJson(core.Map _json) { |
2926 if (_json.containsKey("destinationUriFileCounts")) { | 2926 if (_json.containsKey("destinationUriFileCounts")) { |
(...skipping 1196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4123 core.Map toJson() { | 4123 core.Map toJson() { |
4124 var _json = new core.Map(); | 4124 var _json = new core.Map(); |
4125 if (query != null) { | 4125 if (query != null) { |
4126 _json["query"] = query; | 4126 _json["query"] = query; |
4127 } | 4127 } |
4128 return _json; | 4128 return _json; |
4129 } | 4129 } |
4130 } | 4130 } |
4131 | 4131 |
4132 | 4132 |
OLD | NEW |