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

Unified Diff: generated/googleapis_beta/lib/pubsub/v1beta2.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
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 d09bdbc5941ebb5593063b7e6c169fd80a70cd94..830ab47948e7daedcd8982c424aeb5bb71b7bdfe 100644
--- a/generated/googleapis_beta/lib/pubsub/v1beta2.dart
+++ b/generated/googleapis_beta/lib/pubsub/v1beta2.dart
@@ -541,6 +541,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:
@@ -784,13 +788,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 +803,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;
@@ -810,12 +814,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 = 'v1beta2/' + commons.Escaper.ecapeVariableReserved('$project') + '/topics';
@@ -930,6 +934,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:
« no previous file with comments | « generated/googleapis_beta/lib/ml/v1beta1.dart ('k') | generated/googleapis_beta/lib/runtimeconfig/v1beta1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698