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 830ab47948e7daedcd8982c424aeb5bb71b7bdfe..e48ba9342376255afecfef96bfd1006a37caabde 100644 |
--- a/generated/googleapis_beta/lib/pubsub/v1beta2.dart |
+++ b/generated/googleapis_beta/lib/pubsub/v1beta2.dart |
@@ -251,8 +251,7 @@ class ProjectsSubscriptionsResourceApi { |
* |
* [resource] - REQUIRED: The resource for which the policy is being |
* requested. |
- * `resource` is usually specified as a path. For example, a Project |
- * resource is specified as `projects/{project}`. |
+ * See the operation documentation for the appropriate value for this field. |
* Value must have pattern "^projects/[^/]+/subscriptions/[^/]+$". |
* |
* Completes with a [Policy]. |
@@ -295,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 |
@@ -310,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.String pageToken, core.int pageSize}) { |
+ async.Future<ListSubscriptionsResponse> list(core.String project, {core.int pageSize, core.String pageToken}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -321,12 +320,12 @@ class ProjectsSubscriptionsResourceApi { |
if (project == null) { |
throw new core.ArgumentError("Parameter project is required."); |
} |
- if (pageToken != null) { |
- _queryParams["pageToken"] = [pageToken]; |
- } |
if (pageSize != null) { |
_queryParams["pageSize"] = ["${pageSize}"]; |
} |
+ if (pageToken != null) { |
+ _queryParams["pageToken"] = [pageToken]; |
+ } |
_url = 'v1beta2/' + commons.Escaper.ecapeVariableReserved('$project') + '/subscriptions'; |
@@ -497,8 +496,7 @@ class ProjectsSubscriptionsResourceApi { |
* |
* [resource] - REQUIRED: The resource for which the policy is being |
* specified. |
- * `resource` is usually specified as a path. For example, a Project |
- * resource is specified as `projects/{project}`. |
+ * See the operation documentation for the appropriate value for this field. |
* Value must have pattern "^projects/[^/]+/subscriptions/[^/]+$". |
* |
* Completes with a [Policy]. |
@@ -551,8 +549,7 @@ class ProjectsSubscriptionsResourceApi { |
* |
* [resource] - REQUIRED: The resource for which the policy detail is being |
* requested. |
- * `resource` is usually specified as a path. For example, a Project |
- * resource is specified as `projects/{project}`. |
+ * See the operation documentation for the appropriate value for this field. |
* Value must have pattern "^projects/[^/]+/subscriptions/[^/]+$". |
* |
* Completes with a [TestIamPermissionsResponse]. |
@@ -744,8 +741,7 @@ class ProjectsTopicsResourceApi { |
* |
* [resource] - REQUIRED: The resource for which the policy is being |
* requested. |
- * `resource` is usually specified as a path. For example, a Project |
- * resource is specified as `projects/{project}`. |
+ * See the operation documentation for the appropriate value for this field. |
* Value must have pattern "^projects/[^/]+/topics/[^/]+$". |
* |
* Completes with a [Policy]. |
@@ -890,8 +886,7 @@ class ProjectsTopicsResourceApi { |
* |
* [resource] - REQUIRED: The resource for which the policy is being |
* specified. |
- * `resource` is usually specified as a path. For example, a Project |
- * resource is specified as `projects/{project}`. |
+ * See the operation documentation for the appropriate value for this field. |
* Value must have pattern "^projects/[^/]+/topics/[^/]+$". |
* |
* Completes with a [Policy]. |
@@ -944,8 +939,7 @@ class ProjectsTopicsResourceApi { |
* |
* [resource] - REQUIRED: The resource for which the policy detail is being |
* requested. |
- * `resource` is usually specified as a path. For example, a Project |
- * resource is specified as `projects/{project}`. |
+ * See the operation documentation for the appropriate value for this field. |
* Value must have pattern "^projects/[^/]+/topics/[^/]+$". |
* |
* Completes with a [TestIamPermissionsResponse]. |
@@ -1000,13 +994,13 @@ class ProjectsTopicsSubscriptionsResourceApi { |
* [topic] - The name of the topic that subscriptions are attached to. |
* Value must have pattern "^projects/[^/]+/topics/[^/]+$". |
* |
+ * [pageSize] - Maximum number of subscription names to return. |
+ * |
* [pageToken] - The value returned by the last |
* `ListTopicSubscriptionsResponse`; indicates |
* that this is a continuation of a prior `ListTopicSubscriptions` call, and |
* that the system should return the next page of data. |
* |
- * [pageSize] - Maximum number of subscription names to return. |
- * |
* Completes with a [ListTopicSubscriptionsResponse]. |
* |
* Completes with a [commons.ApiRequestError] if the API endpoint returned an |
@@ -1015,7 +1009,7 @@ class ProjectsTopicsSubscriptionsResourceApi { |
* If the used [http.Client] completes with an error when making a REST call, |
* this method will complete with the same error. |
*/ |
- async.Future<ListTopicSubscriptionsResponse> list(core.String topic, {core.String pageToken, core.int pageSize}) { |
+ async.Future<ListTopicSubscriptionsResponse> list(core.String topic, {core.int pageSize, core.String pageToken}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1026,12 +1020,12 @@ class ProjectsTopicsSubscriptionsResourceApi { |
if (topic == null) { |
throw new core.ArgumentError("Parameter topic is required."); |
} |
- if (pageToken != null) { |
- _queryParams["pageToken"] = [pageToken]; |
- } |
if (pageSize != null) { |
_queryParams["pageSize"] = ["${pageSize}"]; |
} |
+ if (pageToken != null) { |
+ _queryParams["pageToken"] = [pageToken]; |
+ } |
_url = 'v1beta2/' + commons.Escaper.ecapeVariableReserved('$topic') + '/subscriptions'; |