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 2581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2592 * mostly empty response with some processing statistics, while an invalid | 2592 * mostly empty response with some processing statistics, while an invalid |
2593 * query will return the same error it would if it wasn't a dry run. Behavior | 2593 * query will return the same error it would if it wasn't a dry run. Behavior |
2594 * of non-query jobs is undefined. | 2594 * of non-query jobs is undefined. |
2595 */ | 2595 */ |
2596 core.bool dryRun; | 2596 core.bool dryRun; |
2597 /** [Pick one] Configures an extract job. */ | 2597 /** [Pick one] Configures an extract job. */ |
2598 JobConfigurationExtract extract; | 2598 JobConfigurationExtract extract; |
2599 /** | 2599 /** |
2600 * [Experimental] The labels associated with this job. You can use these to | 2600 * [Experimental] The labels associated with this job. You can use these to |
2601 * organize and group your jobs. Label keys and values can be no longer than | 2601 * organize and group your jobs. Label keys and values can be no longer than |
2602 * 63 characters, can only contain letters, numeric characters, underscores | 2602 * 63 characters, can only contain lowercase letters, numeric characters, |
2603 * and dashes. International characters are allowed. Label values are | 2603 * underscores and dashes. International characters are allowed. Label values |
2604 * optional. Label keys must start with a letter and must be unique within a | 2604 * are optional. Label keys must start with a letter and each label in the |
2605 * dataset. Both keys and values are additionally constrained to be <= 128 | 2605 * list must have a different key. |
2606 * bytes in size. | |
2607 */ | 2606 */ |
2608 core.Map<core.String, core.String> labels; | 2607 core.Map<core.String, core.String> labels; |
2609 /** [Pick one] Configures a load job. */ | 2608 /** [Pick one] Configures a load job. */ |
2610 JobConfigurationLoad load; | 2609 JobConfigurationLoad load; |
2611 /** [Pick one] Configures a query job. */ | 2610 /** [Pick one] Configures a query job. */ |
2612 JobConfigurationQuery query; | 2611 JobConfigurationQuery query; |
2613 | 2612 |
2614 JobConfiguration(); | 2613 JobConfiguration(); |
2615 | 2614 |
2616 JobConfiguration.fromJson(core.Map _json) { | 2615 JobConfiguration.fromJson(core.Map _json) { |
(...skipping 1861 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4478 ExternalDataConfiguration externalDataConfiguration; | 4477 ExternalDataConfiguration externalDataConfiguration; |
4479 /** [Optional] A descriptive name for this table. */ | 4478 /** [Optional] A descriptive name for this table. */ |
4480 core.String friendlyName; | 4479 core.String friendlyName; |
4481 /** [Output-only] An opaque ID uniquely identifying the table. */ | 4480 /** [Output-only] An opaque ID uniquely identifying the table. */ |
4482 core.String id; | 4481 core.String id; |
4483 /** [Output-only] The type of the resource. */ | 4482 /** [Output-only] The type of the resource. */ |
4484 core.String kind; | 4483 core.String kind; |
4485 /** | 4484 /** |
4486 * [Experimental] The labels associated with this table. You can use these to | 4485 * [Experimental] The labels associated with this table. You can use these to |
4487 * organize and group your tables. Label keys and values can be no longer than | 4486 * organize and group your tables. Label keys and values can be no longer than |
4488 * 63 characters, can only contain letters, numeric characters, underscores | 4487 * 63 characters, can only contain lowercase letters, numeric characters, |
4489 * and dashes. International characters are allowed. Label values are | 4488 * underscores and dashes. International characters are allowed. Label values |
4490 * optional. Label keys must start with a letter and must be unique within a | 4489 * are optional. Label keys must start with a letter and each label in the |
4491 * dataset. Both keys and values are additionally constrained to be <= 128 | 4490 * list must have a different key. |
4492 * bytes in size. | |
4493 */ | 4491 */ |
4494 core.Map<core.String, core.String> labels; | 4492 core.Map<core.String, core.String> labels; |
4495 /** | 4493 /** |
4496 * [Output-only] The time when this table was last modified, in milliseconds | 4494 * [Output-only] The time when this table was last modified, in milliseconds |
4497 * since the epoch. | 4495 * since the epoch. |
4498 */ | 4496 */ |
4499 core.String lastModifiedTime; | 4497 core.String lastModifiedTime; |
4500 /** | 4498 /** |
4501 * [Output-only] The geographic location where the table resides. This value | 4499 * [Output-only] The geographic location where the table resides. This value |
4502 * is inherited from the dataset. | 4500 * is inherited from the dataset. |
(...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4989 if (name != null) { | 4987 if (name != null) { |
4990 _json["name"] = name; | 4988 _json["name"] = name; |
4991 } | 4989 } |
4992 if (type != null) { | 4990 if (type != null) { |
4993 _json["type"] = type; | 4991 _json["type"] = type; |
4994 } | 4992 } |
4995 return _json; | 4993 return _json; |
4996 } | 4994 } |
4997 } | 4995 } |
4998 | 4996 |
| 4997 /** Additional details for a view. */ |
| 4998 class TableListTablesView { |
| 4999 /** |
| 5000 * True if view is defined in legacy SQL dialect, false if in standard SQL. |
| 5001 */ |
| 5002 core.bool useLegacySql; |
| 5003 |
| 5004 TableListTablesView(); |
| 5005 |
| 5006 TableListTablesView.fromJson(core.Map _json) { |
| 5007 if (_json.containsKey("useLegacySql")) { |
| 5008 useLegacySql = _json["useLegacySql"]; |
| 5009 } |
| 5010 } |
| 5011 |
| 5012 core.Map toJson() { |
| 5013 var _json = new core.Map(); |
| 5014 if (useLegacySql != null) { |
| 5015 _json["useLegacySql"] = useLegacySql; |
| 5016 } |
| 5017 return _json; |
| 5018 } |
| 5019 } |
| 5020 |
4999 class TableListTables { | 5021 class TableListTables { |
5000 /** The user-friendly name for this table. */ | 5022 /** The user-friendly name for this table. */ |
5001 core.String friendlyName; | 5023 core.String friendlyName; |
5002 /** An opaque ID of the table */ | 5024 /** An opaque ID of the table */ |
5003 core.String id; | 5025 core.String id; |
5004 /** The resource type. */ | 5026 /** The resource type. */ |
5005 core.String kind; | 5027 core.String kind; |
5006 /** | 5028 /** |
5007 * [Experimental] The labels associated with this table. You can use these to | 5029 * [Experimental] The labels associated with this table. You can use these to |
5008 * organize and group your tables. | 5030 * organize and group your tables. |
5009 */ | 5031 */ |
5010 core.Map<core.String, core.String> labels; | 5032 core.Map<core.String, core.String> labels; |
5011 /** A reference uniquely identifying the table. */ | 5033 /** A reference uniquely identifying the table. */ |
5012 TableReference tableReference; | 5034 TableReference tableReference; |
5013 /** The type of table. Possible values are: TABLE, VIEW. */ | 5035 /** The type of table. Possible values are: TABLE, VIEW. */ |
5014 core.String type; | 5036 core.String type; |
| 5037 /** Additional details for a view. */ |
| 5038 TableListTablesView view; |
5015 | 5039 |
5016 TableListTables(); | 5040 TableListTables(); |
5017 | 5041 |
5018 TableListTables.fromJson(core.Map _json) { | 5042 TableListTables.fromJson(core.Map _json) { |
5019 if (_json.containsKey("friendlyName")) { | 5043 if (_json.containsKey("friendlyName")) { |
5020 friendlyName = _json["friendlyName"]; | 5044 friendlyName = _json["friendlyName"]; |
5021 } | 5045 } |
5022 if (_json.containsKey("id")) { | 5046 if (_json.containsKey("id")) { |
5023 id = _json["id"]; | 5047 id = _json["id"]; |
5024 } | 5048 } |
5025 if (_json.containsKey("kind")) { | 5049 if (_json.containsKey("kind")) { |
5026 kind = _json["kind"]; | 5050 kind = _json["kind"]; |
5027 } | 5051 } |
5028 if (_json.containsKey("labels")) { | 5052 if (_json.containsKey("labels")) { |
5029 labels = _json["labels"]; | 5053 labels = _json["labels"]; |
5030 } | 5054 } |
5031 if (_json.containsKey("tableReference")) { | 5055 if (_json.containsKey("tableReference")) { |
5032 tableReference = new TableReference.fromJson(_json["tableReference"]); | 5056 tableReference = new TableReference.fromJson(_json["tableReference"]); |
5033 } | 5057 } |
5034 if (_json.containsKey("type")) { | 5058 if (_json.containsKey("type")) { |
5035 type = _json["type"]; | 5059 type = _json["type"]; |
5036 } | 5060 } |
| 5061 if (_json.containsKey("view")) { |
| 5062 view = new TableListTablesView.fromJson(_json["view"]); |
| 5063 } |
5037 } | 5064 } |
5038 | 5065 |
5039 core.Map toJson() { | 5066 core.Map toJson() { |
5040 var _json = new core.Map(); | 5067 var _json = new core.Map(); |
5041 if (friendlyName != null) { | 5068 if (friendlyName != null) { |
5042 _json["friendlyName"] = friendlyName; | 5069 _json["friendlyName"] = friendlyName; |
5043 } | 5070 } |
5044 if (id != null) { | 5071 if (id != null) { |
5045 _json["id"] = id; | 5072 _json["id"] = id; |
5046 } | 5073 } |
5047 if (kind != null) { | 5074 if (kind != null) { |
5048 _json["kind"] = kind; | 5075 _json["kind"] = kind; |
5049 } | 5076 } |
5050 if (labels != null) { | 5077 if (labels != null) { |
5051 _json["labels"] = labels; | 5078 _json["labels"] = labels; |
5052 } | 5079 } |
5053 if (tableReference != null) { | 5080 if (tableReference != null) { |
5054 _json["tableReference"] = (tableReference).toJson(); | 5081 _json["tableReference"] = (tableReference).toJson(); |
5055 } | 5082 } |
5056 if (type != null) { | 5083 if (type != null) { |
5057 _json["type"] = type; | 5084 _json["type"] = type; |
5058 } | 5085 } |
| 5086 if (view != null) { |
| 5087 _json["view"] = (view).toJson(); |
| 5088 } |
5059 return _json; | 5089 return _json; |
5060 } | 5090 } |
5061 } | 5091 } |
5062 | 5092 |
5063 class TableList { | 5093 class TableList { |
5064 /** A hash of this page of results. */ | 5094 /** A hash of this page of results. */ |
5065 core.String etag; | 5095 core.String etag; |
5066 /** The type of list. */ | 5096 /** The type of list. */ |
5067 core.String kind; | 5097 core.String kind; |
5068 /** A token to request the next page of results. */ | 5098 /** A token to request the next page of results. */ |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5306 } | 5336 } |
5307 if (useLegacySql != null) { | 5337 if (useLegacySql != null) { |
5308 _json["useLegacySql"] = useLegacySql; | 5338 _json["useLegacySql"] = useLegacySql; |
5309 } | 5339 } |
5310 if (userDefinedFunctionResources != null) { | 5340 if (userDefinedFunctionResources != null) { |
5311 _json["userDefinedFunctionResources"] = userDefinedFunctionResources.map((
value) => (value).toJson()).toList(); | 5341 _json["userDefinedFunctionResources"] = userDefinedFunctionResources.map((
value) => (value).toJson()).toList(); |
5312 } | 5342 } |
5313 return _json; | 5343 return _json; |
5314 } | 5344 } |
5315 } | 5345 } |
OLD | NEW |