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

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

Issue 2226653002: Api-roll 40: 2016-08-08 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Addressed review comments Created 4 years, 4 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
« no previous file with comments | « generated/googleapis/lib/appengine/v1.dart ('k') | generated/googleapis/lib/cloudbuild/v1.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1406 matching lines...) Expand 10 before | Expand all | Expand 10 after
1417 * referenced in that query are read from Bigtable. 1417 * referenced in that query are read from Bigtable.
1418 */ 1418 */
1419 core.List<BigtableColumnFamily> columnFamilies; 1419 core.List<BigtableColumnFamily> columnFamilies;
1420 /** 1420 /**
1421 * [Optional] If field is true, then the column families that are not 1421 * [Optional] If field is true, then the column families that are not
1422 * specified in columnFamilies list are not exposed in the table schema. 1422 * specified in columnFamilies list are not exposed in the table schema.
1423 * Otherwise, they are read with BYTES type values. The default value is 1423 * Otherwise, they are read with BYTES type values. The default value is
1424 * false. 1424 * false.
1425 */ 1425 */
1426 core.bool ignoreUnspecifiedColumnFamilies; 1426 core.bool ignoreUnspecifiedColumnFamilies;
1427 /**
1428 * [Optional] If field is true, then the rowkey column families will be read
1429 * and converted to string. Otherwise they are read with BYTES type values and
1430 * users need to manually cast them with CAST if necessary. The default value
1431 * is false.
1432 */
1433 core.bool readRowkeyAsString;
1427 1434
1428 BigtableOptions(); 1435 BigtableOptions();
1429 1436
1430 BigtableOptions.fromJson(core.Map _json) { 1437 BigtableOptions.fromJson(core.Map _json) {
1431 if (_json.containsKey("columnFamilies")) { 1438 if (_json.containsKey("columnFamilies")) {
1432 columnFamilies = _json["columnFamilies"].map((value) => new BigtableColumn Family.fromJson(value)).toList(); 1439 columnFamilies = _json["columnFamilies"].map((value) => new BigtableColumn Family.fromJson(value)).toList();
1433 } 1440 }
1434 if (_json.containsKey("ignoreUnspecifiedColumnFamilies")) { 1441 if (_json.containsKey("ignoreUnspecifiedColumnFamilies")) {
1435 ignoreUnspecifiedColumnFamilies = _json["ignoreUnspecifiedColumnFamilies"] ; 1442 ignoreUnspecifiedColumnFamilies = _json["ignoreUnspecifiedColumnFamilies"] ;
1436 } 1443 }
1444 if (_json.containsKey("readRowkeyAsString")) {
1445 readRowkeyAsString = _json["readRowkeyAsString"];
1446 }
1437 } 1447 }
1438 1448
1439 core.Map toJson() { 1449 core.Map toJson() {
1440 var _json = new core.Map(); 1450 var _json = new core.Map();
1441 if (columnFamilies != null) { 1451 if (columnFamilies != null) {
1442 _json["columnFamilies"] = columnFamilies.map((value) => (value).toJson()). toList(); 1452 _json["columnFamilies"] = columnFamilies.map((value) => (value).toJson()). toList();
1443 } 1453 }
1444 if (ignoreUnspecifiedColumnFamilies != null) { 1454 if (ignoreUnspecifiedColumnFamilies != null) {
1445 _json["ignoreUnspecifiedColumnFamilies"] = ignoreUnspecifiedColumnFamilies ; 1455 _json["ignoreUnspecifiedColumnFamilies"] = ignoreUnspecifiedColumnFamilies ;
1446 } 1456 }
1457 if (readRowkeyAsString != null) {
1458 _json["readRowkeyAsString"] = readRowkeyAsString;
1459 }
1447 return _json; 1460 return _json;
1448 } 1461 }
1449 } 1462 }
1450 1463
1451 class CsvOptions { 1464 class CsvOptions {
1452 /** 1465 /**
1453 * [Optional] Indicates if BigQuery should accept rows that are missing 1466 * [Optional] Indicates if BigQuery should accept rows that are missing
1454 * trailing optional columns. If true, BigQuery treats missing trailing 1467 * trailing optional columns. If true, BigQuery treats missing trailing
1455 * columns as null values. If false, records with missing trailing columns are 1468 * columns as null values. If false, records with missing trailing columns are
1456 * treated as bad records, and if there are too many bad records, an invalid 1469 * treated as bad records, and if there are too many bad records, an invalid
(...skipping 841 matching lines...) Expand 10 before | Expand all | Expand 10 after
2298 /** 2311 /**
2299 * Reference to the BigQuery Job that was created to run the query. This field 2312 * Reference to the BigQuery Job that was created to run the query. This field
2300 * will be present even if the original request timed out, in which case 2313 * will be present even if the original request timed out, in which case
2301 * GetQueryResults can be used to read the results once the query has 2314 * GetQueryResults can be used to read the results once the query has
2302 * completed. Since this API only returns the first page of results, 2315 * completed. Since this API only returns the first page of results,
2303 * subsequent pages can be fetched via the same mechanism (GetQueryResults). 2316 * subsequent pages can be fetched via the same mechanism (GetQueryResults).
2304 */ 2317 */
2305 JobReference jobReference; 2318 JobReference jobReference;
2306 /** The resource type of the response. */ 2319 /** The resource type of the response. */
2307 core.String kind; 2320 core.String kind;
2321 /**
2322 * [Output-only, Experimental] The number of rows affected by a DML statement.
2323 * Present only for DML statements INSERT, UPDATE or DELETE.
2324 */
2325 core.String numDmlAffectedRows;
2308 /** A token used for paging results. */ 2326 /** A token used for paging results. */
2309 core.String pageToken; 2327 core.String pageToken;
2310 /** 2328 /**
2311 * An object with as many results as can be contained within the maximum 2329 * An object with as many results as can be contained within the maximum
2312 * permitted reply size. To get any additional rows, you can call 2330 * permitted reply size. To get any additional rows, you can call
2313 * GetQueryResults and specify the jobReference returned above. Present only 2331 * GetQueryResults and specify the jobReference returned above. Present only
2314 * when the query completes successfully. 2332 * when the query completes successfully.
2315 */ 2333 */
2316 core.List<TableRow> rows; 2334 core.List<TableRow> rows;
2317 /** 2335 /**
(...skipping 24 matching lines...) Expand all
2342 } 2360 }
2343 if (_json.containsKey("jobComplete")) { 2361 if (_json.containsKey("jobComplete")) {
2344 jobComplete = _json["jobComplete"]; 2362 jobComplete = _json["jobComplete"];
2345 } 2363 }
2346 if (_json.containsKey("jobReference")) { 2364 if (_json.containsKey("jobReference")) {
2347 jobReference = new JobReference.fromJson(_json["jobReference"]); 2365 jobReference = new JobReference.fromJson(_json["jobReference"]);
2348 } 2366 }
2349 if (_json.containsKey("kind")) { 2367 if (_json.containsKey("kind")) {
2350 kind = _json["kind"]; 2368 kind = _json["kind"];
2351 } 2369 }
2370 if (_json.containsKey("numDmlAffectedRows")) {
2371 numDmlAffectedRows = _json["numDmlAffectedRows"];
2372 }
2352 if (_json.containsKey("pageToken")) { 2373 if (_json.containsKey("pageToken")) {
2353 pageToken = _json["pageToken"]; 2374 pageToken = _json["pageToken"];
2354 } 2375 }
2355 if (_json.containsKey("rows")) { 2376 if (_json.containsKey("rows")) {
2356 rows = _json["rows"].map((value) => new TableRow.fromJson(value)).toList() ; 2377 rows = _json["rows"].map((value) => new TableRow.fromJson(value)).toList() ;
2357 } 2378 }
2358 if (_json.containsKey("schema")) { 2379 if (_json.containsKey("schema")) {
2359 schema = new TableSchema.fromJson(_json["schema"]); 2380 schema = new TableSchema.fromJson(_json["schema"]);
2360 } 2381 }
2361 if (_json.containsKey("totalBytesProcessed")) { 2382 if (_json.containsKey("totalBytesProcessed")) {
(...skipping 17 matching lines...) Expand all
2379 } 2400 }
2380 if (jobComplete != null) { 2401 if (jobComplete != null) {
2381 _json["jobComplete"] = jobComplete; 2402 _json["jobComplete"] = jobComplete;
2382 } 2403 }
2383 if (jobReference != null) { 2404 if (jobReference != null) {
2384 _json["jobReference"] = (jobReference).toJson(); 2405 _json["jobReference"] = (jobReference).toJson();
2385 } 2406 }
2386 if (kind != null) { 2407 if (kind != null) {
2387 _json["kind"] = kind; 2408 _json["kind"] = kind;
2388 } 2409 }
2410 if (numDmlAffectedRows != null) {
2411 _json["numDmlAffectedRows"] = numDmlAffectedRows;
2412 }
2389 if (pageToken != null) { 2413 if (pageToken != null) {
2390 _json["pageToken"] = pageToken; 2414 _json["pageToken"] = pageToken;
2391 } 2415 }
2392 if (rows != null) { 2416 if (rows != null) {
2393 _json["rows"] = rows.map((value) => (value).toJson()).toList(); 2417 _json["rows"] = rows.map((value) => (value).toJson()).toList();
2394 } 2418 }
2395 if (schema != null) { 2419 if (schema != null) {
2396 _json["schema"] = (schema).toJson(); 2420 _json["schema"] = (schema).toJson();
2397 } 2421 }
2398 if (totalBytesProcessed != null) { 2422 if (totalBytesProcessed != null) {
(...skipping 1070 matching lines...) Expand 10 before | Expand all | Expand 10 after
3469 } 3493 }
3470 3494
3471 class JobStatistics2 { 3495 class JobStatistics2 {
3472 /** [Output-only] Billing tier for the job. */ 3496 /** [Output-only] Billing tier for the job. */
3473 core.int billingTier; 3497 core.int billingTier;
3474 /** 3498 /**
3475 * [Output-only] Whether the query result was fetched from the query cache. 3499 * [Output-only] Whether the query result was fetched from the query cache.
3476 */ 3500 */
3477 core.bool cacheHit; 3501 core.bool cacheHit;
3478 /** 3502 /**
3479 * [Output-only, Experimental] Describes execution plan for the query as a 3503 * [Output-only, Experimental] The number of rows affected by a DML statement.
3480 * list of stages. 3504 * Present only for DML statements INSERT, UPDATE or DELETE.
3481 */ 3505 */
3506 core.String numDmlAffectedRows;
3507 /** [Output-only, Experimental] Describes execution plan for the query. */
3482 core.List<ExplainQueryStage> queryPlan; 3508 core.List<ExplainQueryStage> queryPlan;
3483 /** 3509 /**
3484 * [Output-only, Experimental] Referenced tables for the job. Queries that 3510 * [Output-only, Experimental] Referenced tables for the job. Queries that
3485 * reference more than 50 tables will not have a complete list. 3511 * reference more than 50 tables will not have a complete list.
3486 */ 3512 */
3487 core.List<TableReference> referencedTables; 3513 core.List<TableReference> referencedTables;
3488 /** 3514 /**
3489 * [Output-only, Experimental] The schema of the results. Present only for 3515 * [Output-only, Experimental] The schema of the results. Present only for
3490 * successful dry run of non-legacy SQL queries. 3516 * successful dry run of non-legacy SQL queries.
3491 */ 3517 */
3492 TableSchema schema; 3518 TableSchema schema;
3493 /** [Output-only] Total bytes billed for the job. */ 3519 /** [Output-only] Total bytes billed for the job. */
3494 core.String totalBytesBilled; 3520 core.String totalBytesBilled;
3495 /** [Output-only] Total bytes processed for the job. */ 3521 /** [Output-only] Total bytes processed for the job. */
3496 core.String totalBytesProcessed; 3522 core.String totalBytesProcessed;
3497 3523
3498 JobStatistics2(); 3524 JobStatistics2();
3499 3525
3500 JobStatistics2.fromJson(core.Map _json) { 3526 JobStatistics2.fromJson(core.Map _json) {
3501 if (_json.containsKey("billingTier")) { 3527 if (_json.containsKey("billingTier")) {
3502 billingTier = _json["billingTier"]; 3528 billingTier = _json["billingTier"];
3503 } 3529 }
3504 if (_json.containsKey("cacheHit")) { 3530 if (_json.containsKey("cacheHit")) {
3505 cacheHit = _json["cacheHit"]; 3531 cacheHit = _json["cacheHit"];
3506 } 3532 }
3533 if (_json.containsKey("numDmlAffectedRows")) {
3534 numDmlAffectedRows = _json["numDmlAffectedRows"];
3535 }
3507 if (_json.containsKey("queryPlan")) { 3536 if (_json.containsKey("queryPlan")) {
3508 queryPlan = _json["queryPlan"].map((value) => new ExplainQueryStage.fromJs on(value)).toList(); 3537 queryPlan = _json["queryPlan"].map((value) => new ExplainQueryStage.fromJs on(value)).toList();
3509 } 3538 }
3510 if (_json.containsKey("referencedTables")) { 3539 if (_json.containsKey("referencedTables")) {
3511 referencedTables = _json["referencedTables"].map((value) => new TableRefer ence.fromJson(value)).toList(); 3540 referencedTables = _json["referencedTables"].map((value) => new TableRefer ence.fromJson(value)).toList();
3512 } 3541 }
3513 if (_json.containsKey("schema")) { 3542 if (_json.containsKey("schema")) {
3514 schema = new TableSchema.fromJson(_json["schema"]); 3543 schema = new TableSchema.fromJson(_json["schema"]);
3515 } 3544 }
3516 if (_json.containsKey("totalBytesBilled")) { 3545 if (_json.containsKey("totalBytesBilled")) {
3517 totalBytesBilled = _json["totalBytesBilled"]; 3546 totalBytesBilled = _json["totalBytesBilled"];
3518 } 3547 }
3519 if (_json.containsKey("totalBytesProcessed")) { 3548 if (_json.containsKey("totalBytesProcessed")) {
3520 totalBytesProcessed = _json["totalBytesProcessed"]; 3549 totalBytesProcessed = _json["totalBytesProcessed"];
3521 } 3550 }
3522 } 3551 }
3523 3552
3524 core.Map toJson() { 3553 core.Map toJson() {
3525 var _json = new core.Map(); 3554 var _json = new core.Map();
3526 if (billingTier != null) { 3555 if (billingTier != null) {
3527 _json["billingTier"] = billingTier; 3556 _json["billingTier"] = billingTier;
3528 } 3557 }
3529 if (cacheHit != null) { 3558 if (cacheHit != null) {
3530 _json["cacheHit"] = cacheHit; 3559 _json["cacheHit"] = cacheHit;
3531 } 3560 }
3561 if (numDmlAffectedRows != null) {
3562 _json["numDmlAffectedRows"] = numDmlAffectedRows;
3563 }
3532 if (queryPlan != null) { 3564 if (queryPlan != null) {
3533 _json["queryPlan"] = queryPlan.map((value) => (value).toJson()).toList(); 3565 _json["queryPlan"] = queryPlan.map((value) => (value).toJson()).toList();
3534 } 3566 }
3535 if (referencedTables != null) { 3567 if (referencedTables != null) {
3536 _json["referencedTables"] = referencedTables.map((value) => (value).toJson ()).toList(); 3568 _json["referencedTables"] = referencedTables.map((value) => (value).toJson ()).toList();
3537 } 3569 }
3538 if (schema != null) { 3570 if (schema != null) {
3539 _json["schema"] = (schema).toJson(); 3571 _json["schema"] = (schema).toJson();
3540 } 3572 }
3541 if (totalBytesBilled != null) { 3573 if (totalBytesBilled != null) {
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
3976 /** 4008 /**
3977 * Reference to the Job that was created to run the query. This field will be 4009 * Reference to the Job that was created to run the query. This field will be
3978 * present even if the original request timed out, in which case 4010 * present even if the original request timed out, in which case
3979 * GetQueryResults can be used to read the results once the query has 4011 * GetQueryResults can be used to read the results once the query has
3980 * completed. Since this API only returns the first page of results, 4012 * completed. Since this API only returns the first page of results,
3981 * subsequent pages can be fetched via the same mechanism (GetQueryResults). 4013 * subsequent pages can be fetched via the same mechanism (GetQueryResults).
3982 */ 4014 */
3983 JobReference jobReference; 4015 JobReference jobReference;
3984 /** The resource type. */ 4016 /** The resource type. */
3985 core.String kind; 4017 core.String kind;
4018 /**
4019 * [Output-only, Experimental] The number of rows affected by a DML statement.
4020 * Present only for DML statements INSERT, UPDATE or DELETE.
4021 */
4022 core.String numDmlAffectedRows;
3986 /** A token used for paging results. */ 4023 /** A token used for paging results. */
3987 core.String pageToken; 4024 core.String pageToken;
3988 /** 4025 /**
3989 * An object with as many results as can be contained within the maximum 4026 * An object with as many results as can be contained within the maximum
3990 * permitted reply size. To get any additional rows, you can call 4027 * permitted reply size. To get any additional rows, you can call
3991 * GetQueryResults and specify the jobReference returned above. 4028 * GetQueryResults and specify the jobReference returned above.
3992 */ 4029 */
3993 core.List<TableRow> rows; 4030 core.List<TableRow> rows;
3994 /** 4031 /**
3995 * The schema of the results. Present only when the query completes 4032 * The schema of the results. Present only when the query completes
(...skipping 23 matching lines...) Expand all
4019 } 4056 }
4020 if (_json.containsKey("jobComplete")) { 4057 if (_json.containsKey("jobComplete")) {
4021 jobComplete = _json["jobComplete"]; 4058 jobComplete = _json["jobComplete"];
4022 } 4059 }
4023 if (_json.containsKey("jobReference")) { 4060 if (_json.containsKey("jobReference")) {
4024 jobReference = new JobReference.fromJson(_json["jobReference"]); 4061 jobReference = new JobReference.fromJson(_json["jobReference"]);
4025 } 4062 }
4026 if (_json.containsKey("kind")) { 4063 if (_json.containsKey("kind")) {
4027 kind = _json["kind"]; 4064 kind = _json["kind"];
4028 } 4065 }
4066 if (_json.containsKey("numDmlAffectedRows")) {
4067 numDmlAffectedRows = _json["numDmlAffectedRows"];
4068 }
4029 if (_json.containsKey("pageToken")) { 4069 if (_json.containsKey("pageToken")) {
4030 pageToken = _json["pageToken"]; 4070 pageToken = _json["pageToken"];
4031 } 4071 }
4032 if (_json.containsKey("rows")) { 4072 if (_json.containsKey("rows")) {
4033 rows = _json["rows"].map((value) => new TableRow.fromJson(value)).toList() ; 4073 rows = _json["rows"].map((value) => new TableRow.fromJson(value)).toList() ;
4034 } 4074 }
4035 if (_json.containsKey("schema")) { 4075 if (_json.containsKey("schema")) {
4036 schema = new TableSchema.fromJson(_json["schema"]); 4076 schema = new TableSchema.fromJson(_json["schema"]);
4037 } 4077 }
4038 if (_json.containsKey("totalBytesProcessed")) { 4078 if (_json.containsKey("totalBytesProcessed")) {
(...skipping 14 matching lines...) Expand all
4053 } 4093 }
4054 if (jobComplete != null) { 4094 if (jobComplete != null) {
4055 _json["jobComplete"] = jobComplete; 4095 _json["jobComplete"] = jobComplete;
4056 } 4096 }
4057 if (jobReference != null) { 4097 if (jobReference != null) {
4058 _json["jobReference"] = (jobReference).toJson(); 4098 _json["jobReference"] = (jobReference).toJson();
4059 } 4099 }
4060 if (kind != null) { 4100 if (kind != null) {
4061 _json["kind"] = kind; 4101 _json["kind"] = kind;
4062 } 4102 }
4103 if (numDmlAffectedRows != null) {
4104 _json["numDmlAffectedRows"] = numDmlAffectedRows;
4105 }
4063 if (pageToken != null) { 4106 if (pageToken != null) {
4064 _json["pageToken"] = pageToken; 4107 _json["pageToken"] = pageToken;
4065 } 4108 }
4066 if (rows != null) { 4109 if (rows != null) {
4067 _json["rows"] = rows.map((value) => (value).toJson()).toList(); 4110 _json["rows"] = rows.map((value) => (value).toJson()).toList();
4068 } 4111 }
4069 if (schema != null) { 4112 if (schema != null) {
4070 _json["schema"] = (schema).toJson(); 4113 _json["schema"] = (schema).toJson();
4071 } 4114 }
4072 if (totalBytesProcessed != null) { 4115 if (totalBytesProcessed != null) {
(...skipping 876 matching lines...) Expand 10 before | Expand all | Expand 10 after
4949 } 4992 }
4950 if (useLegacySql != null) { 4993 if (useLegacySql != null) {
4951 _json["useLegacySql"] = useLegacySql; 4994 _json["useLegacySql"] = useLegacySql;
4952 } 4995 }
4953 if (userDefinedFunctionResources != null) { 4996 if (userDefinedFunctionResources != null) {
4954 _json["userDefinedFunctionResources"] = userDefinedFunctionResources.map(( value) => (value).toJson()).toList(); 4997 _json["userDefinedFunctionResources"] = userDefinedFunctionResources.map(( value) => (value).toJson()).toList();
4955 } 4998 }
4956 return _json; 4999 return _json;
4957 } 5000 }
4958 } 5001 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/appengine/v1.dart ('k') | generated/googleapis/lib/cloudbuild/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698