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

Unified Diff: generated/googleapis/lib/pubsub/v1.dart

Issue 2734843002: Api-roll 46: 2017-03-06 (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « generated/googleapis/lib/people/v1.dart ('k') | generated/googleapis/lib/reseller/v1.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: generated/googleapis/lib/pubsub/v1.dart
diff --git a/generated/googleapis/lib/pubsub/v1.dart b/generated/googleapis/lib/pubsub/v1.dart
index 278000a3850ac47af963f9f00a0093309333e7ad..cb8936612707483eebfe16ea1f72fa0e40dd7c1c 100644
--- a/generated/googleapis/lib/pubsub/v1.dart
+++ b/generated/googleapis/lib/pubsub/v1.dart
@@ -151,6 +151,10 @@ class ProjectsSnapshotsResourceApi {
* If the resource does not exist, this will return an empty set of
* permissions, not a NOT_FOUND error.
*
+ * Note: This operation is designed to be used for building permission-aware
+ * UIs and command-line tools, not for authorization checking. This operation
+ * may "fail open" without warning.
+ *
* [request] - The metadata request object.
*
* Request parameters:
@@ -706,6 +710,10 @@ class ProjectsSubscriptionsResourceApi {
* If the resource does not exist, this will return an empty set of
* permissions, not a NOT_FOUND error.
*
+ * Note: This operation is designed to be used for building permission-aware
+ * UIs and command-line tools, not for authorization checking. This operation
+ * may "fail open" without warning.
+ *
* [request] - The metadata request object.
*
* Request parameters:
@@ -952,13 +960,13 @@ class ProjectsTopicsResourceApi {
* Format is `projects/{project}`.
* 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
@@ -967,7 +975,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.String pageToken, core.int pageSize}) {
+ async.Future<ListTopicsResponse> list(core.String project, {core.int pageSize, core.String pageToken}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -978,12 +986,12 @@ class ProjectsTopicsResourceApi {
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 = 'v1/' + commons.Escaper.ecapeVariableReserved('$project') + '/topics';
@@ -1099,6 +1107,10 @@ class ProjectsTopicsResourceApi {
* If the resource does not exist, this will return an empty set of
* permissions, not a NOT_FOUND error.
*
+ * Note: This operation is designed to be used for building permission-aware
+ * UIs and command-line tools, not for authorization checking. This operation
+ * may "fail open" without warning.
+ *
* [request] - The metadata request object.
*
* Request parameters:
@@ -1162,13 +1174,13 @@ class ProjectsTopicsSubscriptionsResourceApi {
* Format is `projects/{project}/topics/{topic}`.
* 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
@@ -1177,7 +1189,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.int pageSize, core.String pageToken}) {
+ async.Future<ListTopicSubscriptionsResponse> list(core.String topic, {core.String pageToken, core.int pageSize}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -1188,12 +1200,12 @@ class ProjectsTopicsSubscriptionsResourceApi {
if (topic == null) {
throw new core.ArgumentError("Parameter topic is required.");
}
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
+ if (pageSize != null) {
+ _queryParams["pageSize"] = ["${pageSize}"];
+ }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$topic') + '/subscriptions';
« no previous file with comments | « generated/googleapis/lib/people/v1.dart ('k') | generated/googleapis/lib/reseller/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698