| 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 1509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1520 if (nextPageToken != null) { | 1520 if (nextPageToken != null) { |
| 1521 _json["nextPageToken"] = nextPageToken; | 1521 _json["nextPageToken"] = nextPageToken; |
| 1522 } | 1522 } |
| 1523 return _json; | 1523 return _json; |
| 1524 } | 1524 } |
| 1525 } | 1525 } |
| 1526 | 1526 |
| 1527 | 1527 |
| 1528 /** Not documented yet. */ | 1528 /** Not documented yet. */ |
| 1529 class DatasetReference { | 1529 class DatasetReference { |
| 1530 /** [Required] A unique ID for this dataset, without the project name. */ | 1530 /** |
| 1531 * [Required] A unique ID for this dataset, without the project name. The ID |
| 1532 * must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). |
| 1533 * The maximum length is 1,024 characters. |
| 1534 */ |
| 1531 core.String datasetId; | 1535 core.String datasetId; |
| 1532 | 1536 |
| 1533 /** [Optional] The ID of the container project. */ | 1537 /** [Optional] The ID of the project containing this dataset. */ |
| 1534 core.String projectId; | 1538 core.String projectId; |
| 1535 | 1539 |
| 1536 | 1540 |
| 1537 DatasetReference(); | 1541 DatasetReference(); |
| 1538 | 1542 |
| 1539 DatasetReference.fromJson(core.Map _json) { | 1543 DatasetReference.fromJson(core.Map _json) { |
| 1540 if (_json.containsKey("datasetId")) { | 1544 if (_json.containsKey("datasetId")) { |
| 1541 datasetId = _json["datasetId"]; | 1545 datasetId = _json["datasetId"]; |
| 1542 } | 1546 } |
| 1543 if (_json.containsKey("projectId")) { | 1547 if (_json.containsKey("projectId")) { |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1649 * when the query completes successfully. | 1653 * when the query completes successfully. |
| 1650 */ | 1654 */ |
| 1651 core.List<TableRow> rows; | 1655 core.List<TableRow> rows; |
| 1652 | 1656 |
| 1653 /** | 1657 /** |
| 1654 * The schema of the results. Present only when the query completes | 1658 * The schema of the results. Present only when the query completes |
| 1655 * successfully. | 1659 * successfully. |
| 1656 */ | 1660 */ |
| 1657 TableSchema schema; | 1661 TableSchema schema; |
| 1658 | 1662 |
| 1663 /** The total number of bytes processed for this query. */ |
| 1664 core.String totalBytesProcessed; |
| 1665 |
| 1659 /** | 1666 /** |
| 1660 * The total number of rows in the complete query result set, which can be | 1667 * The total number of rows in the complete query result set, which can be |
| 1661 * more than the number of rows in this single page of results. Present only | 1668 * more than the number of rows in this single page of results. Present only |
| 1662 * when the query completes successfully. | 1669 * when the query completes successfully. |
| 1663 */ | 1670 */ |
| 1664 core.String totalRows; | 1671 core.String totalRows; |
| 1665 | 1672 |
| 1666 | 1673 |
| 1667 GetQueryResultsResponse(); | 1674 GetQueryResultsResponse(); |
| 1668 | 1675 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 1684 } | 1691 } |
| 1685 if (_json.containsKey("pageToken")) { | 1692 if (_json.containsKey("pageToken")) { |
| 1686 pageToken = _json["pageToken"]; | 1693 pageToken = _json["pageToken"]; |
| 1687 } | 1694 } |
| 1688 if (_json.containsKey("rows")) { | 1695 if (_json.containsKey("rows")) { |
| 1689 rows = _json["rows"].map((value) => new TableRow.fromJson(value)).toList()
; | 1696 rows = _json["rows"].map((value) => new TableRow.fromJson(value)).toList()
; |
| 1690 } | 1697 } |
| 1691 if (_json.containsKey("schema")) { | 1698 if (_json.containsKey("schema")) { |
| 1692 schema = new TableSchema.fromJson(_json["schema"]); | 1699 schema = new TableSchema.fromJson(_json["schema"]); |
| 1693 } | 1700 } |
| 1701 if (_json.containsKey("totalBytesProcessed")) { |
| 1702 totalBytesProcessed = _json["totalBytesProcessed"]; |
| 1703 } |
| 1694 if (_json.containsKey("totalRows")) { | 1704 if (_json.containsKey("totalRows")) { |
| 1695 totalRows = _json["totalRows"]; | 1705 totalRows = _json["totalRows"]; |
| 1696 } | 1706 } |
| 1697 } | 1707 } |
| 1698 | 1708 |
| 1699 core.Map toJson() { | 1709 core.Map toJson() { |
| 1700 var _json = new core.Map(); | 1710 var _json = new core.Map(); |
| 1701 if (cacheHit != null) { | 1711 if (cacheHit != null) { |
| 1702 _json["cacheHit"] = cacheHit; | 1712 _json["cacheHit"] = cacheHit; |
| 1703 } | 1713 } |
| (...skipping 11 matching lines...) Expand all Loading... |
| 1715 } | 1725 } |
| 1716 if (pageToken != null) { | 1726 if (pageToken != null) { |
| 1717 _json["pageToken"] = pageToken; | 1727 _json["pageToken"] = pageToken; |
| 1718 } | 1728 } |
| 1719 if (rows != null) { | 1729 if (rows != null) { |
| 1720 _json["rows"] = rows.map((value) => (value).toJson()).toList(); | 1730 _json["rows"] = rows.map((value) => (value).toJson()).toList(); |
| 1721 } | 1731 } |
| 1722 if (schema != null) { | 1732 if (schema != null) { |
| 1723 _json["schema"] = (schema).toJson(); | 1733 _json["schema"] = (schema).toJson(); |
| 1724 } | 1734 } |
| 1735 if (totalBytesProcessed != null) { |
| 1736 _json["totalBytesProcessed"] = totalBytesProcessed; |
| 1737 } |
| 1725 if (totalRows != null) { | 1738 if (totalRows != null) { |
| 1726 _json["totalRows"] = totalRows; | 1739 _json["totalRows"] = totalRows; |
| 1727 } | 1740 } |
| 1728 return _json; | 1741 return _json; |
| 1729 } | 1742 } |
| 1730 } | 1743 } |
| 1731 | 1744 |
| 1732 | 1745 |
| 1733 /** Not documented yet. */ | 1746 /** Not documented yet. */ |
| 1734 class Job { | 1747 class Job { |
| (...skipping 944 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2679 | 2692 |
| 2680 /** Not documented yet. */ | 2693 /** Not documented yet. */ |
| 2681 class JobReference { | 2694 class JobReference { |
| 2682 /** | 2695 /** |
| 2683 * [Required] The ID of the job. The ID must contain only letters (a-z, A-Z), | 2696 * [Required] The ID of the job. The ID must contain only letters (a-z, A-Z), |
| 2684 * numbers (0-9), underscores (_), or dashes (-). The maximum length is 1,024 | 2697 * numbers (0-9), underscores (_), or dashes (-). The maximum length is 1,024 |
| 2685 * characters. | 2698 * characters. |
| 2686 */ | 2699 */ |
| 2687 core.String jobId; | 2700 core.String jobId; |
| 2688 | 2701 |
| 2689 /** [Required] Project ID being billed for the job. */ | 2702 /** [Required] The ID of the project containing this job. */ |
| 2690 core.String projectId; | 2703 core.String projectId; |
| 2691 | 2704 |
| 2692 | 2705 |
| 2693 JobReference(); | 2706 JobReference(); |
| 2694 | 2707 |
| 2695 JobReference.fromJson(core.Map _json) { | 2708 JobReference.fromJson(core.Map _json) { |
| 2696 if (_json.containsKey("jobId")) { | 2709 if (_json.containsKey("jobId")) { |
| 2697 jobId = _json["jobId"]; | 2710 jobId = _json["jobId"]; |
| 2698 } | 2711 } |
| 2699 if (_json.containsKey("projectId")) { | 2712 if (_json.containsKey("projectId")) { |
| (...skipping 1255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3955 if (totalItems != null) { | 3968 if (totalItems != null) { |
| 3956 _json["totalItems"] = totalItems; | 3969 _json["totalItems"] = totalItems; |
| 3957 } | 3970 } |
| 3958 return _json; | 3971 return _json; |
| 3959 } | 3972 } |
| 3960 } | 3973 } |
| 3961 | 3974 |
| 3962 | 3975 |
| 3963 /** Not documented yet. */ | 3976 /** Not documented yet. */ |
| 3964 class TableReference { | 3977 class TableReference { |
| 3965 /** [Required] ID of the dataset containing the table. */ | 3978 /** [Required] The ID of the dataset containing this table. */ |
| 3966 core.String datasetId; | 3979 core.String datasetId; |
| 3967 | 3980 |
| 3968 /** [Required] ID of the project billed for storage of the table. */ | 3981 /** [Required] The ID of the project containing this table. */ |
| 3969 core.String projectId; | 3982 core.String projectId; |
| 3970 | 3983 |
| 3971 /** [Required] ID of the table. */ | 3984 /** |
| 3985 * [Required] The ID of the table. The ID must contain only letters (a-z, |
| 3986 * A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 |
| 3987 * characters. |
| 3988 */ |
| 3972 core.String tableId; | 3989 core.String tableId; |
| 3973 | 3990 |
| 3974 | 3991 |
| 3975 TableReference(); | 3992 TableReference(); |
| 3976 | 3993 |
| 3977 TableReference.fromJson(core.Map _json) { | 3994 TableReference.fromJson(core.Map _json) { |
| 3978 if (_json.containsKey("datasetId")) { | 3995 if (_json.containsKey("datasetId")) { |
| 3979 datasetId = _json["datasetId"]; | 3996 datasetId = _json["datasetId"]; |
| 3980 } | 3997 } |
| 3981 if (_json.containsKey("projectId")) { | 3998 if (_json.containsKey("projectId")) { |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4069 core.Map toJson() { | 4086 core.Map toJson() { |
| 4070 var _json = new core.Map(); | 4087 var _json = new core.Map(); |
| 4071 if (query != null) { | 4088 if (query != null) { |
| 4072 _json["query"] = query; | 4089 _json["query"] = query; |
| 4073 } | 4090 } |
| 4074 return _json; | 4091 return _json; |
| 4075 } | 4092 } |
| 4076 } | 4093 } |
| 4077 | 4094 |
| 4078 | 4095 |
| OLD | NEW |