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

Side by Side Diff: generated/googleapis_beta/lib/datastore/v1beta2.dart

Issue 595873002: Api roll 1: 2014-09-23 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years, 3 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 library googleapis_beta.datastore.v1beta2; 1 library googleapis_beta.datastore.v1beta2;
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;
11 import '../common/common.dart' as common; 11 import '../common/common.dart' as common;
12 12
13 export '../common/common.dart' show ApiRequestError; 13 export '../common/common.dart' show ApiRequestError;
14 export '../common/common.dart' show DetailedApiRequestError; 14 export '../common/common.dart' show DetailedApiRequestError;
15 15
16 /** API for accessing Google Cloud Datastore. */ 16 /** API for accessing Google Cloud Datastore. */
17 class DatastoreApi { 17 class DatastoreApi {
18 /** View and manage your data across Google Cloud Platform services */
19 static const CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platf orm";
20
18 /** View and manage your Google Cloud Datastore data */ 21 /** View and manage your Google Cloud Datastore data */
19 static const DatastoreScope = "https://www.googleapis.com/auth/datastore"; 22 static const DatastoreScope = "https://www.googleapis.com/auth/datastore";
20 23
21 /** View your email address */ 24 /** View your email address */
22 static const UserinfoEmailScope = "https://www.googleapis.com/auth/userinfo.em ail"; 25 static const UserinfoEmailScope = "https://www.googleapis.com/auth/userinfo.em ail";
23 26
24 27
25 final common_internal.ApiRequester _requester; 28 final common_internal.ApiRequester _requester;
26 29
27 DatasetsResourceApi get datasets => new DatasetsResourceApi(_requester); 30 DatasetsResourceApi get datasets => new DatasetsResourceApi(_requester);
28 31
29 DatastoreApi(http.Client client) : 32 DatastoreApi(http.Client client) :
30 _requester = new common_internal.ApiRequester(client, "https://www.googlea pis.com/", "/datastore/v1beta2/datasets/"); 33 _requester = new common_internal.ApiRequester(client, "https://www.googlea pis.com/", "datastore/v1beta2/datasets/");
31 } 34 }
32 35
33 36
34 /** Not documented yet. */ 37 /** Not documented yet. */
35 class DatasetsResourceApi { 38 class DatasetsResourceApi {
36 final common_internal.ApiRequester _requester; 39 final common_internal.ApiRequester _requester;
37 40
38 DatasetsResourceApi(common_internal.ApiRequester client) : 41 DatasetsResourceApi(common_internal.ApiRequester client) :
39 _requester = client; 42 _requester = client;
40 43
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 _json["header"] = (header).toJson(); 548 _json["header"] = (header).toJson();
546 } 549 }
547 if (mutationResult != null) { 550 if (mutationResult != null) {
548 _json["mutationResult"] = (mutationResult).toJson(); 551 _json["mutationResult"] = (mutationResult).toJson();
549 } 552 }
550 return _json; 553 return _json;
551 } 554 }
552 } 555 }
553 556
554 557
555 /** Not documented yet. */ 558 /**
559 * A filter that merges the multiple other filters using the given operation.
560 */
556 class CompositeFilter { 561 class CompositeFilter {
557 /** The list of filters to combine. Must contain at least one filter. */ 562 /** The list of filters to combine. Must contain at least one filter. */
558 core.List<Filter> filters; 563 core.List<Filter> filters;
559 564
560 /** 565 /**
561 * The operator for combining multiple filters. Only "and" is currently 566 * The operator for combining multiple filters. Only "and" is currently
562 * supported. 567 * supported.
563 * Possible string values are: 568 * Possible string values are:
564 * - "AND" 569 * - "AND"
565 */ 570 */
(...skipping 17 matching lines...) Expand all
583 _json["filters"] = filters.map((value) => (value).toJson()).toList(); 588 _json["filters"] = filters.map((value) => (value).toJson()).toList();
584 } 589 }
585 if (operator != null) { 590 if (operator != null) {
586 _json["operator"] = operator; 591 _json["operator"] = operator;
587 } 592 }
588 return _json; 593 return _json;
589 } 594 }
590 } 595 }
591 596
592 597
593 /** Not documented yet. */ 598 /** An entity. */
594 class Entity { 599 class Entity {
595 /** 600 /**
596 * The entity's key. 601 * The entity's key.
597 * 602 *
598 * An entity must have a key, unless otherwise documented (for example, an 603 * An entity must have a key, unless otherwise documented (for example, an
599 * entity in Value.entityValue may have no key). An entity's kind is its key's 604 * entity in Value.entityValue may have no key). An entity's kind is its key's
600 * path's last element's kind, or null if it has no key. 605 * path's last element's kind, or null if it has no key.
601 */ 606 */
602 Key key; 607 Key key;
603 608
(...skipping 18 matching lines...) Expand all
622 _json["key"] = (key).toJson(); 627 _json["key"] = (key).toJson();
623 } 628 }
624 if (properties != null) { 629 if (properties != null) {
625 _json["properties"] = common_internal.mapMap(properties, (item) => (item). toJson()); 630 _json["properties"] = common_internal.mapMap(properties, (item) => (item). toJson());
626 } 631 }
627 return _json; 632 return _json;
628 } 633 }
629 } 634 }
630 635
631 636
632 /** Not documented yet. */ 637 /** The result of fetching an entity from the datastore. */
633 class EntityResult { 638 class EntityResult {
634 /** The resulting entity. */ 639 /** The resulting entity. */
635 Entity entity; 640 Entity entity;
636 641
637 642
638 EntityResult(); 643 EntityResult();
639 644
640 EntityResult.fromJson(core.Map _json) { 645 EntityResult.fromJson(core.Map _json) {
641 if (_json.containsKey("entity")) { 646 if (_json.containsKey("entity")) {
642 entity = new Entity.fromJson(_json["entity"]); 647 entity = new Entity.fromJson(_json["entity"]);
643 } 648 }
644 } 649 }
645 650
646 core.Map toJson() { 651 core.Map toJson() {
647 var _json = new core.Map(); 652 var _json = new core.Map();
648 if (entity != null) { 653 if (entity != null) {
649 _json["entity"] = (entity).toJson(); 654 _json["entity"] = (entity).toJson();
650 } 655 }
651 return _json; 656 return _json;
652 } 657 }
653 } 658 }
654 659
655 660
656 /** Not documented yet. */ 661 /** A holder for any type of filter. Exactly one field should be specified. */
657 class Filter { 662 class Filter {
658 /** A composite filter. */ 663 /** A composite filter. */
659 CompositeFilter compositeFilter; 664 CompositeFilter compositeFilter;
660 665
661 /** A filter on a property. */ 666 /** A filter on a property. */
662 PropertyFilter propertyFilter; 667 PropertyFilter propertyFilter;
663 668
664 669
665 Filter(); 670 Filter();
666 671
(...skipping 12 matching lines...) Expand all
679 _json["compositeFilter"] = (compositeFilter).toJson(); 684 _json["compositeFilter"] = (compositeFilter).toJson();
680 } 685 }
681 if (propertyFilter != null) { 686 if (propertyFilter != null) {
682 _json["propertyFilter"] = (propertyFilter).toJson(); 687 _json["propertyFilter"] = (propertyFilter).toJson();
683 } 688 }
684 return _json; 689 return _json;
685 } 690 }
686 } 691 }
687 692
688 693
689 /** Not documented yet. */ 694 /** A GQL query. */
690 class GqlQuery { 695 class GqlQuery {
691 /** When false, the query string must not contain a literal. */ 696 /** When false, the query string must not contain a literal. */
692 core.bool allowLiteral; 697 core.bool allowLiteral;
693 698
694 /** 699 /**
695 * A named argument must set field GqlQueryArg.name. No two named arguments 700 * A named argument must set field GqlQueryArg.name. No two named arguments
696 * may have the same name. For each non-reserved named binding site in the 701 * may have the same name. For each non-reserved named binding site in the
697 * query string, there must be a named argument with that name, but not 702 * query string, there must be a named argument with that name, but not
698 * necessarily the inverse. 703 * necessarily the inverse.
699 */ 704 */
700 core.List<GqlQueryArg> nameArgs; 705 core.List<GqlQueryArg> nameArgs;
701 706
702 /** 707 /**
703 * Numbered binding site @1 references the first numbered argument, 708 * Numbered binding site @1 references the first numbered argument,
704 * effectively using 1-based indexing, rather than the usual 0. A numbered 709 * effectively using 1-based indexing, rather than the usual 0. A numbered
705 * argument must NOT set field GqlQueryArg.name. For each binding site 710 * argument must NOT set field GqlQueryArg.name. For each binding site
706 * numbered i in query_string, there must be an ith numbered argument. The 711 * numbered i in query_string, there must be an ith numbered argument. The
707 * inverse must also be true. 712 * inverse must also be true.
708 */ 713 */
709 core.List<GqlQueryArg> numberArgs; 714 core.List<GqlQueryArg> numberArgs;
710 715
711 /** Not documented yet. */ 716 /** The query string. */
712 core.String queryString; 717 core.String queryString;
713 718
714 719
715 GqlQuery(); 720 GqlQuery();
716 721
717 GqlQuery.fromJson(core.Map _json) { 722 GqlQuery.fromJson(core.Map _json) {
718 if (_json.containsKey("allowLiteral")) { 723 if (_json.containsKey("allowLiteral")) {
719 allowLiteral = _json["allowLiteral"]; 724 allowLiteral = _json["allowLiteral"];
720 } 725 }
721 if (_json.containsKey("nameArgs")) { 726 if (_json.containsKey("nameArgs")) {
(...skipping 19 matching lines...) Expand all
741 _json["numberArgs"] = numberArgs.map((value) => (value).toJson()).toList() ; 746 _json["numberArgs"] = numberArgs.map((value) => (value).toJson()).toList() ;
742 } 747 }
743 if (queryString != null) { 748 if (queryString != null) {
744 _json["queryString"] = queryString; 749 _json["queryString"] = queryString;
745 } 750 }
746 return _json; 751 return _json;
747 } 752 }
748 } 753 }
749 754
750 755
751 /** Not documented yet. */ 756 /** A binding argument for a GQL query. */
752 class GqlQueryArg { 757 class GqlQueryArg {
753 /** Not documented yet. */ 758 /** Not documented yet. */
754 core.String cursor; 759 core.String cursor;
755 760
756 core.List<core.int> get cursorAsBytes { 761 core.List<core.int> get cursorAsBytes {
757 return crypto.CryptoUtils.base64StringToBytes(cursor); 762 return crypto.CryptoUtils.base64StringToBytes(cursor);
758 } 763 }
759 764
760 void set cursorAsBytes(core.List<core.int> _bytes) { 765 void set cursorAsBytes(core.List<core.int> _bytes) {
761 cursor = crypto.CryptoUtils.bytesToBase64(_bytes, urlSafe: true); 766 cursor = crypto.CryptoUtils.bytesToBase64(_bytes, urlSafe: true);
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
794 _json["name"] = name; 799 _json["name"] = name;
795 } 800 }
796 if (value != null) { 801 if (value != null) {
797 _json["value"] = (value).toJson(); 802 _json["value"] = (value).toJson();
798 } 803 }
799 return _json; 804 return _json;
800 } 805 }
801 } 806 }
802 807
803 808
804 /** Not documented yet. */ 809 /** A unique identifier for an entity. */
805 class Key { 810 class Key {
806 /** 811 /**
807 * Entities are partitioned into subsets, currently identified by a dataset 812 * Entities are partitioned into subsets, currently identified by a dataset
808 * (usually implicitly specified by the project) and namespace ID. Queries are 813 * (usually implicitly specified by the project) and namespace ID. Queries are
809 * scoped to a single partition. 814 * scoped to a single partition.
810 */ 815 */
811 PartitionId partitionId; 816 PartitionId partitionId;
812 817
813 /** 818 /**
814 * The entity path. An entity path consists of one or more elements composed 819 * The entity path. An entity path consists of one or more elements composed
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
901 _json["kind"] = kind; 906 _json["kind"] = kind;
902 } 907 }
903 if (name != null) { 908 if (name != null) {
904 _json["name"] = name; 909 _json["name"] = name;
905 } 910 }
906 return _json; 911 return _json;
907 } 912 }
908 } 913 }
909 914
910 915
911 /** Not documented yet. */ 916 /** A representation of a kind. */
912 class KindExpression { 917 class KindExpression {
913 /** The name of the kind. */ 918 /** The name of the kind. */
914 core.String name; 919 core.String name;
915 920
916 921
917 KindExpression(); 922 KindExpression();
918 923
919 KindExpression.fromJson(core.Map _json) { 924 KindExpression.fromJson(core.Map _json) {
920 if (_json.containsKey("name")) { 925 if (_json.containsKey("name")) {
921 name = _json["name"]; 926 name = _json["name"];
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
1009 _json["header"] = (header).toJson(); 1014 _json["header"] = (header).toJson();
1010 } 1015 }
1011 if (missing != null) { 1016 if (missing != null) {
1012 _json["missing"] = missing.map((value) => (value).toJson()).toList(); 1017 _json["missing"] = missing.map((value) => (value).toJson()).toList();
1013 } 1018 }
1014 return _json; 1019 return _json;
1015 } 1020 }
1016 } 1021 }
1017 1022
1018 1023
1019 /** Not documented yet. */ 1024 /** A set of changes to apply. */
1020 class Mutation { 1025 class Mutation {
1021 /** 1026 /**
1022 * Keys of entities to delete. Each key must have a complete key path and must 1027 * Keys of entities to delete. Each key must have a complete key path and must
1023 * not be reserved/read-only. 1028 * not be reserved/read-only.
1024 */ 1029 */
1025 core.List<Key> delete; 1030 core.List<Key> delete;
1026 1031
1027 /** Ignore a user specified read-only period. Optional. */ 1032 /** Ignore a user specified read-only period. Optional. */
1028 core.bool force; 1033 core.bool force;
1029 1034
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
1129 _json["indexUpdates"] = indexUpdates; 1134 _json["indexUpdates"] = indexUpdates;
1130 } 1135 }
1131 if (insertAutoIdKeys != null) { 1136 if (insertAutoIdKeys != null) {
1132 _json["insertAutoIdKeys"] = insertAutoIdKeys.map((value) => (value).toJson ()).toList(); 1137 _json["insertAutoIdKeys"] = insertAutoIdKeys.map((value) => (value).toJson ()).toList();
1133 } 1138 }
1134 return _json; 1139 return _json;
1135 } 1140 }
1136 } 1141 }
1137 1142
1138 1143
1139 /** Not documented yet. */ 1144 /**
1145 * An identifier for a particular subset of entities.
1146 *
1147 * Entities are partitioned into various subsets, each used by different
1148 * datasets and different namespaces within a dataset and so forth.
1149 */
1140 class PartitionId { 1150 class PartitionId {
1141 /** The dataset ID. */ 1151 /** The dataset ID. */
1142 core.String datasetId; 1152 core.String datasetId;
1143 1153
1144 /** The namespace. */ 1154 /** The namespace. */
1145 core.String namespace; 1155 core.String namespace;
1146 1156
1147 1157
1148 PartitionId(); 1158 PartitionId();
1149 1159
(...skipping 12 matching lines...) Expand all
1162 _json["datasetId"] = datasetId; 1172 _json["datasetId"] = datasetId;
1163 } 1173 }
1164 if (namespace != null) { 1174 if (namespace != null) {
1165 _json["namespace"] = namespace; 1175 _json["namespace"] = namespace;
1166 } 1176 }
1167 return _json; 1177 return _json;
1168 } 1178 }
1169 } 1179 }
1170 1180
1171 1181
1172 /** Not documented yet. */ 1182 /** An entity property. */
1173 class Property { 1183 class Property {
1174 /** A blob key value. */ 1184 /** A blob key value. */
1175 core.String blobKeyValue; 1185 core.String blobKeyValue;
1176 1186
1177 /** A blob value. May be a maximum of 1,000,000 bytes. */ 1187 /** A blob value. May be a maximum of 1,000,000 bytes. */
1178 core.String blobValue; 1188 core.String blobValue;
1179 1189
1180 core.List<core.int> get blobValueAsBytes { 1190 core.List<core.int> get blobValueAsBytes {
1181 return crypto.CryptoUtils.base64StringToBytes(blobValue); 1191 return crypto.CryptoUtils.base64StringToBytes(blobValue);
1182 } 1192 }
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
1308 _json["meaning"] = meaning; 1318 _json["meaning"] = meaning;
1309 } 1319 }
1310 if (stringValue != null) { 1320 if (stringValue != null) {
1311 _json["stringValue"] = stringValue; 1321 _json["stringValue"] = stringValue;
1312 } 1322 }
1313 return _json; 1323 return _json;
1314 } 1324 }
1315 } 1325 }
1316 1326
1317 1327
1318 /** Not documented yet. */ 1328 /** A representation of a property in a projection. */
1319 class PropertyExpression { 1329 class PropertyExpression {
1320 /** 1330 /**
1321 * The aggregation function to apply to the property. Optional. Can only be 1331 * The aggregation function to apply to the property. Optional. Can only be
1322 * used when grouping by at least one property. Must then be set on all 1332 * used when grouping by at least one property. Must then be set on all
1323 * properties in the projection that are not being grouped by. Aggregation 1333 * properties in the projection that are not being grouped by. Aggregation
1324 * functions: first selects the first result as determined by the query's 1334 * functions: first selects the first result as determined by the query's
1325 * order. 1335 * order.
1326 * Possible string values are: 1336 * Possible string values are:
1327 * - "FIRST" 1337 * - "FIRST"
1328 */ 1338 */
(...skipping 20 matching lines...) Expand all
1349 _json["aggregationFunction"] = aggregationFunction; 1359 _json["aggregationFunction"] = aggregationFunction;
1350 } 1360 }
1351 if (property != null) { 1361 if (property != null) {
1352 _json["property"] = (property).toJson(); 1362 _json["property"] = (property).toJson();
1353 } 1363 }
1354 return _json; 1364 return _json;
1355 } 1365 }
1356 } 1366 }
1357 1367
1358 1368
1359 /** Not documented yet. */ 1369 /** A filter on a specific property. */
1360 class PropertyFilter { 1370 class PropertyFilter {
1361 /** 1371 /**
1362 * The operator to filter by. One of lessThan, lessThanOrEqual, greaterThan, 1372 * The operator to filter by. One of lessThan, lessThanOrEqual, greaterThan,
1363 * greaterThanOrEqual, equal, or hasAncestor. 1373 * greaterThanOrEqual, equal, or hasAncestor.
1364 * Possible string values are: 1374 * Possible string values are:
1365 * - "EQUAL" 1375 * - "EQUAL"
1366 * - "GREATER_THAN" 1376 * - "GREATER_THAN"
1367 * - "GREATER_THAN_OR_EQUAL" 1377 * - "GREATER_THAN_OR_EQUAL"
1368 * - "HAS_ANCESTOR" 1378 * - "HAS_ANCESTOR"
1369 * - "LESS_THAN" 1379 * - "LESS_THAN"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
1401 _json["property"] = (property).toJson(); 1411 _json["property"] = (property).toJson();
1402 } 1412 }
1403 if (value != null) { 1413 if (value != null) {
1404 _json["value"] = (value).toJson(); 1414 _json["value"] = (value).toJson();
1405 } 1415 }
1406 return _json; 1416 return _json;
1407 } 1417 }
1408 } 1418 }
1409 1419
1410 1420
1411 /** Not documented yet. */ 1421 /** The desired order for a specific property. */
1412 class PropertyOrder { 1422 class PropertyOrder {
1413 /** 1423 /**
1414 * The direction to order by. One of ascending or descending. Optional, 1424 * The direction to order by. One of ascending or descending. Optional,
1415 * defaults to ascending. 1425 * defaults to ascending.
1416 * Possible string values are: 1426 * Possible string values are:
1417 * - "ASCENDING" 1427 * - "ASCENDING"
1418 * - "DESCENDING" 1428 * - "DESCENDING"
1419 */ 1429 */
1420 core.String direction; 1430 core.String direction;
1421 1431
(...skipping 18 matching lines...) Expand all
1440 _json["direction"] = direction; 1450 _json["direction"] = direction;
1441 } 1451 }
1442 if (property != null) { 1452 if (property != null) {
1443 _json["property"] = (property).toJson(); 1453 _json["property"] = (property).toJson();
1444 } 1454 }
1445 return _json; 1455 return _json;
1446 } 1456 }
1447 } 1457 }
1448 1458
1449 1459
1450 /** Not documented yet. */ 1460 /** A reference to a property relative to the kind expressions. */
1451 class PropertyReference { 1461 class PropertyReference {
1452 /** The name of the property. */ 1462 /** The name of the property. */
1453 core.String name; 1463 core.String name;
1454 1464
1455 1465
1456 PropertyReference(); 1466 PropertyReference();
1457 1467
1458 PropertyReference.fromJson(core.Map _json) { 1468 PropertyReference.fromJson(core.Map _json) {
1459 if (_json.containsKey("name")) { 1469 if (_json.containsKey("name")) {
1460 name = _json["name"]; 1470 name = _json["name"];
1461 } 1471 }
1462 } 1472 }
1463 1473
1464 core.Map toJson() { 1474 core.Map toJson() {
1465 var _json = new core.Map(); 1475 var _json = new core.Map();
1466 if (name != null) { 1476 if (name != null) {
1467 _json["name"] = name; 1477 _json["name"] = name;
1468 } 1478 }
1469 return _json; 1479 return _json;
1470 } 1480 }
1471 } 1481 }
1472 1482
1473 1483
1474 /** Not documented yet. */ 1484 /** A query. */
1475 class Query { 1485 class Query {
1476 /** 1486 /**
1477 * An ending point for the query results. Optional. Query cursors are returned 1487 * An ending point for the query results. Optional. Query cursors are returned
1478 * in query result batches. 1488 * in query result batches.
1479 */ 1489 */
1480 core.String endCursor; 1490 core.String endCursor;
1481 1491
1482 core.List<core.int> get endCursorAsBytes { 1492 core.List<core.int> get endCursorAsBytes {
1483 return crypto.CryptoUtils.base64StringToBytes(endCursor); 1493 return crypto.CryptoUtils.base64StringToBytes(endCursor);
1484 } 1494 }
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
1593 _json["projection"] = projection.map((value) => (value).toJson()).toList() ; 1603 _json["projection"] = projection.map((value) => (value).toJson()).toList() ;
1594 } 1604 }
1595 if (startCursor != null) { 1605 if (startCursor != null) {
1596 _json["startCursor"] = startCursor; 1606 _json["startCursor"] = startCursor;
1597 } 1607 }
1598 return _json; 1608 return _json;
1599 } 1609 }
1600 } 1610 }
1601 1611
1602 1612
1603 /** Not documented yet. */ 1613 /** A batch of results produced by a query. */
1604 class QueryResultBatch { 1614 class QueryResultBatch {
1605 /** 1615 /**
1606 * A cursor that points to the position after the last result in the batch. 1616 * A cursor that points to the position after the last result in the batch.
1607 * May be absent. 1617 * May be absent. TODO(arfuller): Once all plans produce cursors update
1618 * documentation here.
1608 */ 1619 */
1609 core.String endCursor; 1620 core.String endCursor;
1610 1621
1611 core.List<core.int> get endCursorAsBytes { 1622 core.List<core.int> get endCursorAsBytes {
1612 return crypto.CryptoUtils.base64StringToBytes(endCursor); 1623 return crypto.CryptoUtils.base64StringToBytes(endCursor);
1613 } 1624 }
1614 1625
1615 void set endCursorAsBytes(core.List<core.int> _bytes) { 1626 void set endCursorAsBytes(core.List<core.int> _bytes) {
1616 endCursor = crypto.CryptoUtils.bytesToBase64(_bytes, urlSafe: true); 1627 endCursor = crypto.CryptoUtils.bytesToBase64(_bytes, urlSafe: true);
1617 } 1628 }
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
1909 _json["batch"] = (batch).toJson(); 1920 _json["batch"] = (batch).toJson();
1910 } 1921 }
1911 if (header != null) { 1922 if (header != null) {
1912 _json["header"] = (header).toJson(); 1923 _json["header"] = (header).toJson();
1913 } 1924 }
1914 return _json; 1925 return _json;
1915 } 1926 }
1916 } 1927 }
1917 1928
1918 1929
1919 /** Not documented yet. */ 1930 /**
1931 * A message that can hold any of the supported value types and associated
1932 * metadata.
1933 */
1920 class Value { 1934 class Value {
1921 /** A blob key value. */ 1935 /** A blob key value. */
1922 core.String blobKeyValue; 1936 core.String blobKeyValue;
1923 1937
1924 /** A blob value. May be a maximum of 1,000,000 bytes. */ 1938 /** A blob value. May be a maximum of 1,000,000 bytes. */
1925 core.String blobValue; 1939 core.String blobValue;
1926 1940
1927 core.List<core.int> get blobValueAsBytes { 1941 core.List<core.int> get blobValueAsBytes {
1928 return crypto.CryptoUtils.base64StringToBytes(blobValue); 1942 return crypto.CryptoUtils.base64StringToBytes(blobValue);
1929 } 1943 }
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
2055 _json["meaning"] = meaning; 2069 _json["meaning"] = meaning;
2056 } 2070 }
2057 if (stringValue != null) { 2071 if (stringValue != null) {
2058 _json["stringValue"] = stringValue; 2072 _json["stringValue"] = stringValue;
2059 } 2073 }
2060 return _json; 2074 return _json;
2061 } 2075 }
2062 } 2076 }
2063 2077
2064 2078
OLDNEW
« no previous file with comments | « generated/googleapis_beta/lib/cloudmonitoring/v2beta1.dart ('k') | generated/googleapis_beta/lib/dns/v1beta1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698