Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(130)

Side by Side Diff: generated/googleapis/lib/bigquery/v2.dart

Issue 2649893002: Api-roll 44: 2017-01-23 (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 1994 matching lines...) Expand 10 before | Expand all | Expand 10 after
2005 /** Human-readable name for stage. */ 2005 /** Human-readable name for stage. */
2006 core.String name; 2006 core.String name;
2007 /** Relative amount of time the average shard spent reading input. */ 2007 /** Relative amount of time the average shard spent reading input. */
2008 core.double readRatioAvg; 2008 core.double readRatioAvg;
2009 /** Relative amount of time the slowest shard spent reading input. */ 2009 /** Relative amount of time the slowest shard spent reading input. */
2010 core.double readRatioMax; 2010 core.double readRatioMax;
2011 /** Number of records read into the stage. */ 2011 /** Number of records read into the stage. */
2012 core.String recordsRead; 2012 core.String recordsRead;
2013 /** Number of records written by the stage. */ 2013 /** Number of records written by the stage. */
2014 core.String recordsWritten; 2014 core.String recordsWritten;
2015 /** Current status for the stage. */
2016 core.String status;
2015 /** 2017 /**
2016 * List of operations within the stage in dependency order (approximately 2018 * List of operations within the stage in dependency order (approximately
2017 * chronological). 2019 * chronological).
2018 */ 2020 */
2019 core.List<ExplainQueryStep> steps; 2021 core.List<ExplainQueryStep> steps;
2020 /** 2022 /**
2021 * Relative amount of time the average shard spent waiting to be scheduled. 2023 * Relative amount of time the average shard spent waiting to be scheduled.
2022 */ 2024 */
2023 core.double waitRatioAvg; 2025 core.double waitRatioAvg;
2024 /** 2026 /**
(...skipping 25 matching lines...) Expand all
2050 } 2052 }
2051 if (_json.containsKey("readRatioMax")) { 2053 if (_json.containsKey("readRatioMax")) {
2052 readRatioMax = _json["readRatioMax"]; 2054 readRatioMax = _json["readRatioMax"];
2053 } 2055 }
2054 if (_json.containsKey("recordsRead")) { 2056 if (_json.containsKey("recordsRead")) {
2055 recordsRead = _json["recordsRead"]; 2057 recordsRead = _json["recordsRead"];
2056 } 2058 }
2057 if (_json.containsKey("recordsWritten")) { 2059 if (_json.containsKey("recordsWritten")) {
2058 recordsWritten = _json["recordsWritten"]; 2060 recordsWritten = _json["recordsWritten"];
2059 } 2061 }
2062 if (_json.containsKey("status")) {
2063 status = _json["status"];
2064 }
2060 if (_json.containsKey("steps")) { 2065 if (_json.containsKey("steps")) {
2061 steps = _json["steps"].map((value) => new ExplainQueryStep.fromJson(value) ).toList(); 2066 steps = _json["steps"].map((value) => new ExplainQueryStep.fromJson(value) ).toList();
2062 } 2067 }
2063 if (_json.containsKey("waitRatioAvg")) { 2068 if (_json.containsKey("waitRatioAvg")) {
2064 waitRatioAvg = _json["waitRatioAvg"]; 2069 waitRatioAvg = _json["waitRatioAvg"];
2065 } 2070 }
2066 if (_json.containsKey("waitRatioMax")) { 2071 if (_json.containsKey("waitRatioMax")) {
2067 waitRatioMax = _json["waitRatioMax"]; 2072 waitRatioMax = _json["waitRatioMax"];
2068 } 2073 }
2069 if (_json.containsKey("writeRatioAvg")) { 2074 if (_json.containsKey("writeRatioAvg")) {
(...skipping 23 matching lines...) Expand all
2093 } 2098 }
2094 if (readRatioMax != null) { 2099 if (readRatioMax != null) {
2095 _json["readRatioMax"] = readRatioMax; 2100 _json["readRatioMax"] = readRatioMax;
2096 } 2101 }
2097 if (recordsRead != null) { 2102 if (recordsRead != null) {
2098 _json["recordsRead"] = recordsRead; 2103 _json["recordsRead"] = recordsRead;
2099 } 2104 }
2100 if (recordsWritten != null) { 2105 if (recordsWritten != null) {
2101 _json["recordsWritten"] = recordsWritten; 2106 _json["recordsWritten"] = recordsWritten;
2102 } 2107 }
2108 if (status != null) {
2109 _json["status"] = status;
2110 }
2103 if (steps != null) { 2111 if (steps != null) {
2104 _json["steps"] = steps.map((value) => (value).toJson()).toList(); 2112 _json["steps"] = steps.map((value) => (value).toJson()).toList();
2105 } 2113 }
2106 if (waitRatioAvg != null) { 2114 if (waitRatioAvg != null) {
2107 _json["waitRatioAvg"] = waitRatioAvg; 2115 _json["waitRatioAvg"] = waitRatioAvg;
2108 } 2116 }
2109 if (waitRatioMax != null) { 2117 if (waitRatioMax != null) {
2110 _json["waitRatioMax"] = waitRatioMax; 2118 _json["waitRatioMax"] = waitRatioMax;
2111 } 2119 }
2112 if (writeRatioAvg != null) { 2120 if (writeRatioAvg != null) {
(...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after
2797 */ 2805 */
2798 core.bool ignoreUnknownValues; 2806 core.bool ignoreUnknownValues;
2799 /** 2807 /**
2800 * [Optional] The maximum number of bad records that BigQuery can ignore when 2808 * [Optional] The maximum number of bad records that BigQuery can ignore when
2801 * running the job. If the number of bad records exceeds this value, an 2809 * running the job. If the number of bad records exceeds this value, an
2802 * invalid error is returned in the job result. The default value is 0, which 2810 * invalid error is returned in the job result. The default value is 0, which
2803 * requires that all records are valid. 2811 * requires that all records are valid.
2804 */ 2812 */
2805 core.int maxBadRecords; 2813 core.int maxBadRecords;
2806 /** 2814 /**
2815 * [Optional] Specifies a string that represents a null value in a CSV file.
2816 * For example, if you specify "\N", BigQuery interprets "\N" as a null value
2817 * when loading a CSV file. The default value is the empty string. If you set
2818 * this property to a custom value, BigQuery still interprets the empty string
2819 * as a null value for all data types except for STRING and BYTE. For STRING
2820 * and BYTE columns, BigQuery interprets the empty string as an empty value.
2821 */
2822 core.String nullMarker;
2823 /**
2807 * [Experimental] If sourceFormat is set to "DATASTORE_BACKUP", indicates 2824 * [Experimental] If sourceFormat is set to "DATASTORE_BACKUP", indicates
2808 * which entity properties to load into BigQuery from a Cloud Datastore 2825 * which entity properties to load into BigQuery from a Cloud Datastore
2809 * backup. Property names are case sensitive and must be top-level properties. 2826 * backup. Property names are case sensitive and must be top-level properties.
2810 * If no properties are specified, BigQuery loads all properties. If any named 2827 * If no properties are specified, BigQuery loads all properties. If any named
2811 * property isn't found in the Cloud Datastore backup, an invalid error is 2828 * property isn't found in the Cloud Datastore backup, an invalid error is
2812 * returned in the job result. 2829 * returned in the job result.
2813 */ 2830 */
2814 core.List<core.String> projectionFields; 2831 core.List<core.String> projectionFields;
2815 /** 2832 /**
2816 * [Optional] The value that is used to quote data sections in a CSV file. 2833 * [Optional] The value that is used to quote data sections in a CSV file.
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
2903 } 2920 }
2904 if (_json.containsKey("fieldDelimiter")) { 2921 if (_json.containsKey("fieldDelimiter")) {
2905 fieldDelimiter = _json["fieldDelimiter"]; 2922 fieldDelimiter = _json["fieldDelimiter"];
2906 } 2923 }
2907 if (_json.containsKey("ignoreUnknownValues")) { 2924 if (_json.containsKey("ignoreUnknownValues")) {
2908 ignoreUnknownValues = _json["ignoreUnknownValues"]; 2925 ignoreUnknownValues = _json["ignoreUnknownValues"];
2909 } 2926 }
2910 if (_json.containsKey("maxBadRecords")) { 2927 if (_json.containsKey("maxBadRecords")) {
2911 maxBadRecords = _json["maxBadRecords"]; 2928 maxBadRecords = _json["maxBadRecords"];
2912 } 2929 }
2930 if (_json.containsKey("nullMarker")) {
2931 nullMarker = _json["nullMarker"];
2932 }
2913 if (_json.containsKey("projectionFields")) { 2933 if (_json.containsKey("projectionFields")) {
2914 projectionFields = _json["projectionFields"]; 2934 projectionFields = _json["projectionFields"];
2915 } 2935 }
2916 if (_json.containsKey("quote")) { 2936 if (_json.containsKey("quote")) {
2917 quote = _json["quote"]; 2937 quote = _json["quote"];
2918 } 2938 }
2919 if (_json.containsKey("schema")) { 2939 if (_json.containsKey("schema")) {
2920 schema = new TableSchema.fromJson(_json["schema"]); 2940 schema = new TableSchema.fromJson(_json["schema"]);
2921 } 2941 }
2922 if (_json.containsKey("schemaInline")) { 2942 if (_json.containsKey("schemaInline")) {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
2964 } 2984 }
2965 if (fieldDelimiter != null) { 2985 if (fieldDelimiter != null) {
2966 _json["fieldDelimiter"] = fieldDelimiter; 2986 _json["fieldDelimiter"] = fieldDelimiter;
2967 } 2987 }
2968 if (ignoreUnknownValues != null) { 2988 if (ignoreUnknownValues != null) {
2969 _json["ignoreUnknownValues"] = ignoreUnknownValues; 2989 _json["ignoreUnknownValues"] = ignoreUnknownValues;
2970 } 2990 }
2971 if (maxBadRecords != null) { 2991 if (maxBadRecords != null) {
2972 _json["maxBadRecords"] = maxBadRecords; 2992 _json["maxBadRecords"] = maxBadRecords;
2973 } 2993 }
2994 if (nullMarker != null) {
2995 _json["nullMarker"] = nullMarker;
2996 }
2974 if (projectionFields != null) { 2997 if (projectionFields != null) {
2975 _json["projectionFields"] = projectionFields; 2998 _json["projectionFields"] = projectionFields;
2976 } 2999 }
2977 if (quote != null) { 3000 if (quote != null) {
2978 _json["quote"] = quote; 3001 _json["quote"] = quote;
2979 } 3002 }
2980 if (schema != null) { 3003 if (schema != null) {
2981 _json["schema"] = (schema).toJson(); 3004 _json["schema"] = (schema).toJson();
2982 } 3005 }
2983 if (schemaInline != null) { 3006 if (schemaInline != null) {
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
3042 * unspecified, this will be set to your project default. 3065 * unspecified, this will be set to your project default.
3043 */ 3066 */
3044 core.int maximumBillingTier; 3067 core.int maximumBillingTier;
3045 /** 3068 /**
3046 * [Optional] Limits the bytes billed for this job. Queries that will have 3069 * [Optional] Limits the bytes billed for this job. Queries that will have
3047 * bytes billed beyond this limit will fail (without incurring a charge). If 3070 * bytes billed beyond this limit will fail (without incurring a charge). If
3048 * unspecified, this will be set to your project default. 3071 * unspecified, this will be set to your project default.
3049 */ 3072 */
3050 core.String maximumBytesBilled; 3073 core.String maximumBytesBilled;
3051 /** 3074 /**
3052 * [Experimental] Standard SQL only. Whether to use positional (?) or named 3075 * [Experimental] Standard SQL only. Set to POSITIONAL to use positional (?)
3053 * (@myparam) query parameters in this query. 3076 * query parameters or to NAMED to use named (@myparam) query parameters in
3077 * this query.
3054 */ 3078 */
3055 core.String parameterMode; 3079 core.String parameterMode;
3056 /** [Deprecated] This property is deprecated. */ 3080 /** [Deprecated] This property is deprecated. */
3057 core.bool preserveNulls; 3081 core.bool preserveNulls;
3058 /** 3082 /**
3059 * [Optional] Specifies a priority for the query. Possible values include 3083 * [Optional] Specifies a priority for the query. Possible values include
3060 * INTERACTIVE and BATCH. The default value is INTERACTIVE. 3084 * INTERACTIVE and BATCH. The default value is INTERACTIVE.
3061 */ 3085 */
3062 core.String priority; 3086 core.String priority;
3063 /** [Required] BigQuery SQL query to execute. */ 3087 /** [Required] BigQuery SQL query to execute. */
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
3574 /** 3598 /**
3575 * [Output-only, Experimental] Referenced tables for the job. Queries that 3599 * [Output-only, Experimental] Referenced tables for the job. Queries that
3576 * reference more than 50 tables will not have a complete list. 3600 * reference more than 50 tables will not have a complete list.
3577 */ 3601 */
3578 core.List<TableReference> referencedTables; 3602 core.List<TableReference> referencedTables;
3579 /** 3603 /**
3580 * [Output-only, Experimental] The schema of the results. Present only for 3604 * [Output-only, Experimental] The schema of the results. Present only for
3581 * successful dry run of non-legacy SQL queries. 3605 * successful dry run of non-legacy SQL queries.
3582 */ 3606 */
3583 TableSchema schema; 3607 TableSchema schema;
3608 /** [Output-only, Experimental] The type of query statement, if valid. */
3609 core.String statementType;
3584 /** [Output-only] Total bytes billed for the job. */ 3610 /** [Output-only] Total bytes billed for the job. */
3585 core.String totalBytesBilled; 3611 core.String totalBytesBilled;
3586 /** [Output-only] Total bytes processed for the job. */ 3612 /** [Output-only] Total bytes processed for the job. */
3587 core.String totalBytesProcessed; 3613 core.String totalBytesProcessed;
3588 /** 3614 /**
3589 * [Output-only, Experimental] Standard SQL only: list of undeclared query 3615 * [Output-only, Experimental] Standard SQL only: list of undeclared query
3590 * parameters detected during a dry run validation. 3616 * parameters detected during a dry run validation.
3591 */ 3617 */
3592 core.List<QueryParameter> undeclaredQueryParameters; 3618 core.List<QueryParameter> undeclaredQueryParameters;
3593 3619
(...skipping 11 matching lines...) Expand all
3605 } 3631 }
3606 if (_json.containsKey("queryPlan")) { 3632 if (_json.containsKey("queryPlan")) {
3607 queryPlan = _json["queryPlan"].map((value) => new ExplainQueryStage.fromJs on(value)).toList(); 3633 queryPlan = _json["queryPlan"].map((value) => new ExplainQueryStage.fromJs on(value)).toList();
3608 } 3634 }
3609 if (_json.containsKey("referencedTables")) { 3635 if (_json.containsKey("referencedTables")) {
3610 referencedTables = _json["referencedTables"].map((value) => new TableRefer ence.fromJson(value)).toList(); 3636 referencedTables = _json["referencedTables"].map((value) => new TableRefer ence.fromJson(value)).toList();
3611 } 3637 }
3612 if (_json.containsKey("schema")) { 3638 if (_json.containsKey("schema")) {
3613 schema = new TableSchema.fromJson(_json["schema"]); 3639 schema = new TableSchema.fromJson(_json["schema"]);
3614 } 3640 }
3641 if (_json.containsKey("statementType")) {
3642 statementType = _json["statementType"];
3643 }
3615 if (_json.containsKey("totalBytesBilled")) { 3644 if (_json.containsKey("totalBytesBilled")) {
3616 totalBytesBilled = _json["totalBytesBilled"]; 3645 totalBytesBilled = _json["totalBytesBilled"];
3617 } 3646 }
3618 if (_json.containsKey("totalBytesProcessed")) { 3647 if (_json.containsKey("totalBytesProcessed")) {
3619 totalBytesProcessed = _json["totalBytesProcessed"]; 3648 totalBytesProcessed = _json["totalBytesProcessed"];
3620 } 3649 }
3621 if (_json.containsKey("undeclaredQueryParameters")) { 3650 if (_json.containsKey("undeclaredQueryParameters")) {
3622 undeclaredQueryParameters = _json["undeclaredQueryParameters"].map((value) => new QueryParameter.fromJson(value)).toList(); 3651 undeclaredQueryParameters = _json["undeclaredQueryParameters"].map((value) => new QueryParameter.fromJson(value)).toList();
3623 } 3652 }
3624 } 3653 }
(...skipping 11 matching lines...) Expand all
3636 } 3665 }
3637 if (queryPlan != null) { 3666 if (queryPlan != null) {
3638 _json["queryPlan"] = queryPlan.map((value) => (value).toJson()).toList(); 3667 _json["queryPlan"] = queryPlan.map((value) => (value).toJson()).toList();
3639 } 3668 }
3640 if (referencedTables != null) { 3669 if (referencedTables != null) {
3641 _json["referencedTables"] = referencedTables.map((value) => (value).toJson ()).toList(); 3670 _json["referencedTables"] = referencedTables.map((value) => (value).toJson ()).toList();
3642 } 3671 }
3643 if (schema != null) { 3672 if (schema != null) {
3644 _json["schema"] = (schema).toJson(); 3673 _json["schema"] = (schema).toJson();
3645 } 3674 }
3675 if (statementType != null) {
3676 _json["statementType"] = statementType;
3677 }
3646 if (totalBytesBilled != null) { 3678 if (totalBytesBilled != null) {
3647 _json["totalBytesBilled"] = totalBytesBilled; 3679 _json["totalBytesBilled"] = totalBytesBilled;
3648 } 3680 }
3649 if (totalBytesProcessed != null) { 3681 if (totalBytesProcessed != null) {
3650 _json["totalBytesProcessed"] = totalBytesProcessed; 3682 _json["totalBytesProcessed"] = totalBytesProcessed;
3651 } 3683 }
3652 if (undeclaredQueryParameters != null) { 3684 if (undeclaredQueryParameters != null) {
3653 _json["undeclaredQueryParameters"] = undeclaredQueryParameters.map((value) => (value).toJson()).toList(); 3685 _json["undeclaredQueryParameters"] = undeclaredQueryParameters.map((value) => (value).toJson()).toList();
3654 } 3686 }
3655 return _json; 3687 return _json;
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
4118 core.String kind; 4150 core.String kind;
4119 /** 4151 /**
4120 * [Optional] The maximum number of rows of data to return per page of 4152 * [Optional] The maximum number of rows of data to return per page of
4121 * results. Setting this flag to a small value such as 1000 and then paging 4153 * results. Setting this flag to a small value such as 1000 and then paging
4122 * through results might improve reliability when the query result set is 4154 * through results might improve reliability when the query result set is
4123 * large. In addition to this limit, responses are also limited to 10 MB. By 4155 * large. In addition to this limit, responses are also limited to 10 MB. By
4124 * default, there is no maximum row count, and only the byte limit applies. 4156 * default, there is no maximum row count, and only the byte limit applies.
4125 */ 4157 */
4126 core.int maxResults; 4158 core.int maxResults;
4127 /** 4159 /**
4128 * [Experimental] Standard SQL only. Whether to use positional (?) or named 4160 * [Experimental] Standard SQL only. Set to POSITIONAL to use positional (?)
4129 * (@myparam) query parameters in this query. 4161 * query parameters or to NAMED to use named (@myparam) query parameters in
4162 * this query.
4130 */ 4163 */
4131 core.String parameterMode; 4164 core.String parameterMode;
4132 /** [Deprecated] This property is deprecated. */ 4165 /** [Deprecated] This property is deprecated. */
4133 core.bool preserveNulls; 4166 core.bool preserveNulls;
4134 /** 4167 /**
4135 * [Required] A query string, following the BigQuery query syntax, of the 4168 * [Required] A query string, following the BigQuery query syntax, of the
4136 * query to execute. Example: "SELECT count(f1) FROM 4169 * query to execute. Example: "SELECT count(f1) FROM
4137 * [myProjectId:myDatasetId.myTableId]". 4170 * [myProjectId:myDatasetId.myTableId]".
4138 */ 4171 */
4139 core.String query; 4172 core.String query;
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
4443 * source can then be queried as if it were a standard BigQuery table. 4476 * source can then be queried as if it were a standard BigQuery table.
4444 */ 4477 */
4445 ExternalDataConfiguration externalDataConfiguration; 4478 ExternalDataConfiguration externalDataConfiguration;
4446 /** [Optional] A descriptive name for this table. */ 4479 /** [Optional] A descriptive name for this table. */
4447 core.String friendlyName; 4480 core.String friendlyName;
4448 /** [Output-only] An opaque ID uniquely identifying the table. */ 4481 /** [Output-only] An opaque ID uniquely identifying the table. */
4449 core.String id; 4482 core.String id;
4450 /** [Output-only] The type of the resource. */ 4483 /** [Output-only] The type of the resource. */
4451 core.String kind; 4484 core.String kind;
4452 /** 4485 /**
4486 * [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
4488 * 63 characters, can only contain letters, numeric characters, underscores
4489 * and dashes. International characters are allowed. Label values are
4490 * optional. Label keys must start with a letter and must be unique within a
4491 * dataset. Both keys and values are additionally constrained to be <= 128
4492 * bytes in size.
4493 */
4494 core.Map<core.String, core.String> labels;
4495 /**
4453 * [Output-only] The time when this table was last modified, in milliseconds 4496 * [Output-only] The time when this table was last modified, in milliseconds
4454 * since the epoch. 4497 * since the epoch.
4455 */ 4498 */
4456 core.String lastModifiedTime; 4499 core.String lastModifiedTime;
4457 /** 4500 /**
4458 * [Output-only] The geographic location where the table resides. This value 4501 * [Output-only] The geographic location where the table resides. This value
4459 * is inherited from the dataset. 4502 * is inherited from the dataset.
4460 */ 4503 */
4461 core.String location; 4504 core.String location;
4462 /** 4505 /**
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
4521 } 4564 }
4522 if (_json.containsKey("friendlyName")) { 4565 if (_json.containsKey("friendlyName")) {
4523 friendlyName = _json["friendlyName"]; 4566 friendlyName = _json["friendlyName"];
4524 } 4567 }
4525 if (_json.containsKey("id")) { 4568 if (_json.containsKey("id")) {
4526 id = _json["id"]; 4569 id = _json["id"];
4527 } 4570 }
4528 if (_json.containsKey("kind")) { 4571 if (_json.containsKey("kind")) {
4529 kind = _json["kind"]; 4572 kind = _json["kind"];
4530 } 4573 }
4574 if (_json.containsKey("labels")) {
4575 labels = _json["labels"];
4576 }
4531 if (_json.containsKey("lastModifiedTime")) { 4577 if (_json.containsKey("lastModifiedTime")) {
4532 lastModifiedTime = _json["lastModifiedTime"]; 4578 lastModifiedTime = _json["lastModifiedTime"];
4533 } 4579 }
4534 if (_json.containsKey("location")) { 4580 if (_json.containsKey("location")) {
4535 location = _json["location"]; 4581 location = _json["location"];
4536 } 4582 }
4537 if (_json.containsKey("numBytes")) { 4583 if (_json.containsKey("numBytes")) {
4538 numBytes = _json["numBytes"]; 4584 numBytes = _json["numBytes"];
4539 } 4585 }
4540 if (_json.containsKey("numLongTermBytes")) { 4586 if (_json.containsKey("numLongTermBytes")) {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
4585 } 4631 }
4586 if (friendlyName != null) { 4632 if (friendlyName != null) {
4587 _json["friendlyName"] = friendlyName; 4633 _json["friendlyName"] = friendlyName;
4588 } 4634 }
4589 if (id != null) { 4635 if (id != null) {
4590 _json["id"] = id; 4636 _json["id"] = id;
4591 } 4637 }
4592 if (kind != null) { 4638 if (kind != null) {
4593 _json["kind"] = kind; 4639 _json["kind"] = kind;
4594 } 4640 }
4641 if (labels != null) {
4642 _json["labels"] = labels;
4643 }
4595 if (lastModifiedTime != null) { 4644 if (lastModifiedTime != null) {
4596 _json["lastModifiedTime"] = lastModifiedTime; 4645 _json["lastModifiedTime"] = lastModifiedTime;
4597 } 4646 }
4598 if (location != null) { 4647 if (location != null) {
4599 _json["location"] = location; 4648 _json["location"] = location;
4600 } 4649 }
4601 if (numBytes != null) { 4650 if (numBytes != null) {
4602 _json["numBytes"] = numBytes; 4651 _json["numBytes"] = numBytes;
4603 } 4652 }
4604 if (numLongTermBytes != null) { 4653 if (numLongTermBytes != null) {
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
4892 */ 4941 */
4893 core.String mode; 4942 core.String mode;
4894 /** 4943 /**
4895 * [Required] The field name. The name must contain only letters (a-z, A-Z), 4944 * [Required] The field name. The name must contain only letters (a-z, A-Z),
4896 * numbers (0-9), or underscores (_), and must start with a letter or 4945 * numbers (0-9), or underscores (_), and must start with a letter or
4897 * underscore. The maximum length is 128 characters. 4946 * underscore. The maximum length is 128 characters.
4898 */ 4947 */
4899 core.String name; 4948 core.String name;
4900 /** 4949 /**
4901 * [Required] The field data type. Possible values include STRING, BYTES, 4950 * [Required] The field data type. Possible values include STRING, BYTES,
4902 * INTEGER, FLOAT, BOOLEAN, TIMESTAMP, DATE, TIME, DATETIME, or RECORD (where 4951 * INTEGER, INT64 (same as INTEGER), FLOAT, FLOAT64 (same as FLOAT), BOOLEAN,
4903 * RECORD indicates that the field contains a nested schema). 4952 * BOOL (same as BOOLEAN), TIMESTAMP, DATE, TIME, DATETIME, RECORD (where
4953 * RECORD indicates that the field contains a nested schema) or STRUCT (same
4954 * as RECORD).
4904 */ 4955 */
4905 core.String type; 4956 core.String type;
4906 4957
4907 TableFieldSchema(); 4958 TableFieldSchema();
4908 4959
4909 TableFieldSchema.fromJson(core.Map _json) { 4960 TableFieldSchema.fromJson(core.Map _json) {
4910 if (_json.containsKey("description")) { 4961 if (_json.containsKey("description")) {
4911 description = _json["description"]; 4962 description = _json["description"];
4912 } 4963 }
4913 if (_json.containsKey("fields")) { 4964 if (_json.containsKey("fields")) {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
4945 } 4996 }
4946 } 4997 }
4947 4998
4948 class TableListTables { 4999 class TableListTables {
4949 /** The user-friendly name for this table. */ 5000 /** The user-friendly name for this table. */
4950 core.String friendlyName; 5001 core.String friendlyName;
4951 /** An opaque ID of the table */ 5002 /** An opaque ID of the table */
4952 core.String id; 5003 core.String id;
4953 /** The resource type. */ 5004 /** The resource type. */
4954 core.String kind; 5005 core.String kind;
5006 /**
5007 * [Experimental] The labels associated with this table. You can use these to
5008 * organize and group your tables.
5009 */
5010 core.Map<core.String, core.String> labels;
4955 /** A reference uniquely identifying the table. */ 5011 /** A reference uniquely identifying the table. */
4956 TableReference tableReference; 5012 TableReference tableReference;
4957 /** The type of table. Possible values are: TABLE, VIEW. */ 5013 /** The type of table. Possible values are: TABLE, VIEW. */
4958 core.String type; 5014 core.String type;
4959 5015
4960 TableListTables(); 5016 TableListTables();
4961 5017
4962 TableListTables.fromJson(core.Map _json) { 5018 TableListTables.fromJson(core.Map _json) {
4963 if (_json.containsKey("friendlyName")) { 5019 if (_json.containsKey("friendlyName")) {
4964 friendlyName = _json["friendlyName"]; 5020 friendlyName = _json["friendlyName"];
4965 } 5021 }
4966 if (_json.containsKey("id")) { 5022 if (_json.containsKey("id")) {
4967 id = _json["id"]; 5023 id = _json["id"];
4968 } 5024 }
4969 if (_json.containsKey("kind")) { 5025 if (_json.containsKey("kind")) {
4970 kind = _json["kind"]; 5026 kind = _json["kind"];
4971 } 5027 }
5028 if (_json.containsKey("labels")) {
5029 labels = _json["labels"];
5030 }
4972 if (_json.containsKey("tableReference")) { 5031 if (_json.containsKey("tableReference")) {
4973 tableReference = new TableReference.fromJson(_json["tableReference"]); 5032 tableReference = new TableReference.fromJson(_json["tableReference"]);
4974 } 5033 }
4975 if (_json.containsKey("type")) { 5034 if (_json.containsKey("type")) {
4976 type = _json["type"]; 5035 type = _json["type"];
4977 } 5036 }
4978 } 5037 }
4979 5038
4980 core.Map toJson() { 5039 core.Map toJson() {
4981 var _json = new core.Map(); 5040 var _json = new core.Map();
4982 if (friendlyName != null) { 5041 if (friendlyName != null) {
4983 _json["friendlyName"] = friendlyName; 5042 _json["friendlyName"] = friendlyName;
4984 } 5043 }
4985 if (id != null) { 5044 if (id != null) {
4986 _json["id"] = id; 5045 _json["id"] = id;
4987 } 5046 }
4988 if (kind != null) { 5047 if (kind != null) {
4989 _json["kind"] = kind; 5048 _json["kind"] = kind;
4990 } 5049 }
5050 if (labels != null) {
5051 _json["labels"] = labels;
5052 }
4991 if (tableReference != null) { 5053 if (tableReference != null) {
4992 _json["tableReference"] = (tableReference).toJson(); 5054 _json["tableReference"] = (tableReference).toJson();
4993 } 5055 }
4994 if (type != null) { 5056 if (type != null) {
4995 _json["type"] = type; 5057 _json["type"] = type;
4996 } 5058 }
4997 return _json; 5059 return _json;
4998 } 5060 }
4999 } 5061 }
5000 5062
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
5244 } 5306 }
5245 if (useLegacySql != null) { 5307 if (useLegacySql != null) {
5246 _json["useLegacySql"] = useLegacySql; 5308 _json["useLegacySql"] = useLegacySql;
5247 } 5309 }
5248 if (userDefinedFunctionResources != null) { 5310 if (userDefinedFunctionResources != null) {
5249 _json["userDefinedFunctionResources"] = userDefinedFunctionResources.map(( value) => (value).toJson()).toList(); 5311 _json["userDefinedFunctionResources"] = userDefinedFunctionResources.map(( value) => (value).toJson()).toList();
5250 } 5312 }
5251 return _json; 5313 return _json;
5252 } 5314 }
5253 } 5315 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/androidpublisher/v2.dart ('k') | generated/googleapis/lib/classroom/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698