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

Unified Diff: generated/googleapis_beta/lib/pubsub/v1beta2.dart

Issue 2936613002: Api-Roll 50: 2017-06-12 (Closed)
Patch Set: Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: generated/googleapis_beta/lib/pubsub/v1beta2.dart
diff --git a/generated/googleapis_beta/lib/pubsub/v1beta2.dart b/generated/googleapis_beta/lib/pubsub/v1beta2.dart
index b0c28eb175b7e85ff8ac4d3e6a063c105b4d5368..0b14b27d35ac797f56562f30faa7dd038314ebbb 100644
--- a/generated/googleapis_beta/lib/pubsub/v1beta2.dart
+++ b/generated/googleapis_beta/lib/pubsub/v1beta2.dart
@@ -294,13 +294,13 @@ class ProjectsSubscriptionsResourceApi {
* [project] - The name of the cloud project that subscriptions belong to.
* Value must have pattern "^projects/[^/]+$".
*
- * [pageSize] - Maximum number of subscriptions to return.
- *
* [pageToken] - The value returned by the last `ListSubscriptionsResponse`;
* indicates that
* this is a continuation of a prior `ListSubscriptions` call, and that the
* system should return the next page of data.
*
+ * [pageSize] - Maximum number of subscriptions to return.
+ *
* Completes with a [ListSubscriptionsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -309,7 +309,7 @@ class ProjectsSubscriptionsResourceApi {
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListSubscriptionsResponse> list(core.String project, {core.int pageSize, core.String pageToken}) {
+ async.Future<ListSubscriptionsResponse> list(core.String project, {core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -320,12 +320,12 @@ class ProjectsSubscriptionsResourceApi {
if (project == null) {
throw new core.ArgumentError("Parameter project is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
_url = 'v1beta2/' + commons.Escaper.ecapeVariableReserved('$project') + '/subscriptions';
@@ -784,13 +784,13 @@ class ProjectsTopicsResourceApi {
* [project] - The name of the cloud project that topics belong to.
* Value must have pattern "^projects/[^/]+$".
*
- * [pageSize] - Maximum number of topics to return.
- *
* [pageToken] - The value returned by the last `ListTopicsResponse`;
* indicates that this is
* a continuation of a prior `ListTopics` call, and that the system should
* return the next page of data.
*
+ * [pageSize] - Maximum number of topics to return.
+ *
* Completes with a [ListTopicsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -799,7 +799,7 @@ class ProjectsTopicsResourceApi {
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListTopicsResponse> list(core.String project, {core.int pageSize, core.String pageToken}) {
+ async.Future<ListTopicsResponse> list(core.String project, {core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -810,12 +810,12 @@ class ProjectsTopicsResourceApi {
if (project == null) {
throw new core.ArgumentError("Parameter project is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
_url = 'v1beta2/' + commons.Escaper.ecapeVariableReserved('$project') + '/topics';
@@ -1059,8 +1059,8 @@ class AcknowledgeRequest {
}
}
- core.Map toJson() {
- var _json = new core.Map();
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
if (ackIds != null) {
_json["ackIds"] = ackIds;
}
@@ -1112,8 +1112,8 @@ class Binding {
}
}
- core.Map toJson() {
- var _json = new core.Map();
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
if (members != null) {
_json["members"] = members;
}
@@ -1142,8 +1142,8 @@ class Empty {
Empty.fromJson(core.Map _json) {
}
- core.Map toJson() {
- var _json = new core.Map();
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
return _json;
}
}
@@ -1170,8 +1170,8 @@ class ListSubscriptionsResponse {
}
}
- core.Map toJson() {
- var _json = new core.Map();
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
if (nextPageToken != null) {
_json["nextPageToken"] = nextPageToken;
}
@@ -1204,8 +1204,8 @@ class ListTopicSubscriptionsResponse {
}
}
- core.Map toJson() {
- var _json = new core.Map();
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
if (nextPageToken != null) {
_json["nextPageToken"] = nextPageToken;
}
@@ -1237,8 +1237,8 @@ class ListTopicsResponse {
}
}
- core.Map toJson() {
- var _json = new core.Map();
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
if (nextPageToken != null) {
_json["nextPageToken"] = nextPageToken;
}
@@ -1281,8 +1281,8 @@ class ModifyAckDeadlineRequest {
}
}
- core.Map toJson() {
- var _json = new core.Map();
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
if (ackDeadlineSeconds != null) {
_json["ackDeadlineSeconds"] = ackDeadlineSeconds;
}
@@ -1316,8 +1316,8 @@ class ModifyPushConfigRequest {
}
}
- core.Map toJson() {
- var _json = new core.Map();
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
if (pushConfig != null) {
_json["pushConfig"] = (pushConfig).toJson();
}
@@ -1402,8 +1402,8 @@ class Policy {
}
}
- core.Map toJson() {
- var _json = new core.Map();
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
if (bindings != null) {
_json["bindings"] = bindings.map((value) => (value).toJson()).toList();
}
@@ -1430,8 +1430,8 @@ class PublishRequest {
}
}
- core.Map toJson() {
- var _json = new core.Map();
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
if (messages != null) {
_json["messages"] = messages.map((value) => (value).toJson()).toList();
}
@@ -1456,8 +1456,8 @@ class PublishResponse {
}
}
- core.Map toJson() {
- var _json = new core.Map();
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
if (messageIds != null) {
_json["messageIds"] = messageIds;
}
@@ -1515,8 +1515,8 @@ class PubsubMessage {
}
}
- core.Map toJson() {
- var _json = new core.Map();
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
if (attributes != null) {
_json["attributes"] = attributes;
}
@@ -1560,8 +1560,8 @@ class PullRequest {
}
}
- core.Map toJson() {
- var _json = new core.Map();
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
if (maxMessages != null) {
_json["maxMessages"] = maxMessages;
}
@@ -1590,8 +1590,8 @@ class PullResponse {
}
}
- core.Map toJson() {
- var _json = new core.Map();
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
if (receivedMessages != null) {
_json["receivedMessages"] = receivedMessages.map((value) => (value).toJson()).toList();
}
@@ -1643,8 +1643,8 @@ class PushConfig {
}
}
- core.Map toJson() {
- var _json = new core.Map();
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
if (attributes != null) {
_json["attributes"] = attributes;
}
@@ -1673,8 +1673,8 @@ class ReceivedMessage {
}
}
- core.Map toJson() {
- var _json = new core.Map();
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
if (ackId != null) {
_json["ackId"] = ackId;
}
@@ -1703,8 +1703,8 @@ class SetIamPolicyRequest {
}
}
- core.Map toJson() {
- var _json = new core.Map();
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
if (policy != null) {
_json["policy"] = (policy).toJson();
}
@@ -1774,8 +1774,8 @@ class Subscription {
}
}
- core.Map toJson() {
- var _json = new core.Map();
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
if (ackDeadlineSeconds != null) {
_json["ackDeadlineSeconds"] = ackDeadlineSeconds;
}
@@ -1810,8 +1810,8 @@ class TestIamPermissionsRequest {
}
}
- core.Map toJson() {
- var _json = new core.Map();
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
if (permissions != null) {
_json["permissions"] = permissions;
}
@@ -1835,8 +1835,8 @@ class TestIamPermissionsResponse {
}
}
- core.Map toJson() {
- var _json = new core.Map();
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
if (permissions != null) {
_json["permissions"] = permissions;
}
@@ -1864,8 +1864,8 @@ class Topic {
}
}
- core.Map toJson() {
- var _json = new core.Map();
+ core.Map<core.String, core.Object> toJson() {
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>();
if (name != null) {
_json["name"] = name;
}
« no previous file with comments | « generated/googleapis_beta/lib/proximitybeacon/v1beta1.dart ('k') | generated/googleapis_beta/lib/replicapool/v1beta2.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698