OLD | NEW |
1 // This is a generated file (see the discoveryapis_generator project). | 1 // This is a generated file (see the discoveryapis_generator project). |
2 | 2 |
3 library googleapis.bigquery.v2; | 3 library googleapis.bigquery.v2; |
4 | 4 |
5 import 'dart:core' as core; | 5 import 'dart:core' as core; |
6 import 'dart:collection' as collection; | 6 import 'dart:collection' as collection; |
7 import 'dart:async' as async; | 7 import 'dart:async' as async; |
8 import 'dart:convert' as convert; | 8 import 'dart:convert' as convert; |
9 | 9 |
10 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; | 10 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
(...skipping 2805 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2816 * [Optional] The maximum number of bad records that BigQuery can ignore when | 2816 * [Optional] The maximum number of bad records that BigQuery can ignore when |
2817 * running the job. If the number of bad records exceeds this value, an | 2817 * running the job. If the number of bad records exceeds this value, an |
2818 * invalid error is returned in the job result. The default value is 0, which | 2818 * invalid error is returned in the job result. The default value is 0, which |
2819 * requires that all records are valid. | 2819 * requires that all records are valid. |
2820 */ | 2820 */ |
2821 core.int maxBadRecords; | 2821 core.int maxBadRecords; |
2822 /** | 2822 /** |
2823 * [Optional] Specifies a string that represents a null value in a CSV file. | 2823 * [Optional] Specifies a string that represents a null value in a CSV file. |
2824 * For example, if you specify "\N", BigQuery interprets "\N" as a null value | 2824 * For example, if you specify "\N", BigQuery interprets "\N" as a null value |
2825 * when loading a CSV file. The default value is the empty string. If you set | 2825 * when loading a CSV file. The default value is the empty string. If you set |
2826 * this property to a custom value, BigQuery still interprets the empty string | 2826 * this property to a custom value, BigQuery throws an error if an empty |
2827 * as a null value for all data types except for STRING and BYTE. For STRING | 2827 * string is present for all data types except for STRING and BYTE. For STRING |
2828 * and BYTE columns, BigQuery interprets the empty string as an empty value. | 2828 * and BYTE columns, BigQuery interprets the empty string as an empty value. |
2829 */ | 2829 */ |
2830 core.String nullMarker; | 2830 core.String nullMarker; |
2831 /** | 2831 /** |
2832 * If sourceFormat is set to "DATASTORE_BACKUP", indicates which entity | 2832 * If sourceFormat is set to "DATASTORE_BACKUP", indicates which entity |
2833 * properties to load into BigQuery from a Cloud Datastore backup. Property | 2833 * properties to load into BigQuery from a Cloud Datastore backup. Property |
2834 * names are case sensitive and must be top-level properties. If no properties | 2834 * names are case sensitive and must be top-level properties. If no properties |
2835 * are specified, BigQuery loads all properties. If any named property isn't | 2835 * are specified, BigQuery loads all properties. If any named property isn't |
2836 * found in the Cloud Datastore backup, an invalid error is returned in the | 2836 * found in the Cloud Datastore backup, an invalid error is returned in the |
2837 * job result. | 2837 * job result. |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3031 } | 3031 } |
3032 if (writeDisposition != null) { | 3032 if (writeDisposition != null) { |
3033 _json["writeDisposition"] = writeDisposition; | 3033 _json["writeDisposition"] = writeDisposition; |
3034 } | 3034 } |
3035 return _json; | 3035 return _json; |
3036 } | 3036 } |
3037 } | 3037 } |
3038 | 3038 |
3039 class JobConfigurationQuery { | 3039 class JobConfigurationQuery { |
3040 /** | 3040 /** |
3041 * If true, allows the query to produce arbitrarily large result tables at a | 3041 * [Optional] If true and query uses legacy SQL dialect, allows the query to |
3042 * slight cost in performance. Requires destinationTable to be set. | 3042 * produce arbitrarily large result tables at a slight cost in performance. |
| 3043 * Requires destinationTable to be set. For standard SQL queries, this flag is |
| 3044 * ignored and large results are always allowed. |
3043 */ | 3045 */ |
3044 core.bool allowLargeResults; | 3046 core.bool allowLargeResults; |
3045 /** | 3047 /** |
3046 * [Optional] Specifies whether the job is allowed to create new tables. The | 3048 * [Optional] Specifies whether the job is allowed to create new tables. The |
3047 * following values are supported: CREATE_IF_NEEDED: If the table does not | 3049 * following values are supported: CREATE_IF_NEEDED: If the table does not |
3048 * exist, BigQuery creates the table. CREATE_NEVER: The table must already | 3050 * exist, BigQuery creates the table. CREATE_NEVER: The table must already |
3049 * exist. If it does not, a 'notFound' error is returned in the job result. | 3051 * exist. If it does not, a 'notFound' error is returned in the job result. |
3050 * The default value is CREATE_IF_NEEDED. Creation, truncation and append | 3052 * The default value is CREATE_IF_NEEDED. Creation, truncation and append |
3051 * actions occur as one atomic update upon job completion. | 3053 * actions occur as one atomic update upon job completion. |
3052 */ | 3054 */ |
3053 core.String createDisposition; | 3055 core.String createDisposition; |
3054 /** | 3056 /** |
3055 * [Optional] Specifies the default dataset to use for unqualified table names | 3057 * [Optional] Specifies the default dataset to use for unqualified table names |
3056 * in the query. | 3058 * in the query. |
3057 */ | 3059 */ |
3058 DatasetReference defaultDataset; | 3060 DatasetReference defaultDataset; |
3059 /** | 3061 /** |
3060 * [Optional] Describes the table where the query results should be stored. If | 3062 * [Optional] Describes the table where the query results should be stored. If |
3061 * not present, a new table will be created to store the results. | 3063 * not present, a new table will be created to store the results. |
3062 */ | 3064 */ |
3063 TableReference destinationTable; | 3065 TableReference destinationTable; |
3064 /** | 3066 /** |
3065 * [Optional] Flattens all nested and repeated fields in the query results. | 3067 * [Optional] If true and query uses legacy SQL dialect, flattens all nested |
3066 * The default value is true. allowLargeResults must be true if this is set to | 3068 * and repeated fields in the query results. allowLargeResults must be true if |
3067 * false. | 3069 * this is set to false. For standard SQL queries, this flag is ignored and |
| 3070 * results are never flattened. |
3068 */ | 3071 */ |
3069 core.bool flattenResults; | 3072 core.bool flattenResults; |
3070 /** | 3073 /** |
3071 * [Optional] Limits the billing tier for this job. Queries that have resource | 3074 * [Optional] Limits the billing tier for this job. Queries that have resource |
3072 * usage beyond this tier will fail (without incurring a charge). If | 3075 * usage beyond this tier will fail (without incurring a charge). If |
3073 * unspecified, this will be set to your project default. | 3076 * unspecified, this will be set to your project default. |
3074 */ | 3077 */ |
3075 core.int maximumBillingTier; | 3078 core.int maximumBillingTier; |
3076 /** | 3079 /** |
3077 * [Optional] Limits the bytes billed for this job. Queries that will have | 3080 * [Optional] Limits the bytes billed for this job. Queries that will have |
(...skipping 2261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5339 } | 5342 } |
5340 if (useLegacySql != null) { | 5343 if (useLegacySql != null) { |
5341 _json["useLegacySql"] = useLegacySql; | 5344 _json["useLegacySql"] = useLegacySql; |
5342 } | 5345 } |
5343 if (userDefinedFunctionResources != null) { | 5346 if (userDefinedFunctionResources != null) { |
5344 _json["userDefinedFunctionResources"] = userDefinedFunctionResources.map((
value) => (value).toJson()).toList(); | 5347 _json["userDefinedFunctionResources"] = userDefinedFunctionResources.map((
value) => (value).toJson()).toList(); |
5345 } | 5348 } |
5346 return _json; | 5349 return _json; |
5347 } | 5350 } |
5348 } | 5351 } |
OLD | NEW |