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

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

Issue 2824163002: Api-roll 48: 2017-04-18 (Closed)
Patch Set: Revert changes to pubspecs Created 3 years, 8 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/partners/v2.dart ('k') | generated/googleapis/lib/playmoviespartner/v1.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: generated/googleapis/lib/people/v1.dart
diff --git a/generated/googleapis/lib/people/v1.dart b/generated/googleapis/lib/people/v1.dart
index 1c8152305dea5ce2aa3121d17dd6667aa17f4425..a36b0ba72e420e70dca3d7cd5e3009b2ea344d58 100644
--- a/generated/googleapis/lib/people/v1.dart
+++ b/generated/googleapis/lib/people/v1.dart
@@ -193,8 +193,16 @@ class PeopleConnectionsResourceApi {
* `people/me` is valid.
* Value must have pattern "^people/[^/]+$".
*
+ * [requestSyncToken] - Whether the response should include a sync token,
+ * which can be used to get
+ * all changes since the last request.
+ *
* [pageToken] - The token of the page to be returned.
*
+ * [pageSize] - The number of connections to include in the response. Valid
+ * values are
+ * between 1 and 500, inclusive. Defaults to 100.
+ *
* [requestMask_includeField] - Comma-separated list of fields to be included
* in the response. Omitting
* this field will include all fields except for connections.list requests,
@@ -203,10 +211,6 @@ class PeopleConnectionsResourceApi {
* Each path should start with `person.`: for example, `person.names` or
* `person.photos`.
*
- * [pageSize] - The number of connections to include in the response. Valid
- * values are
- * between 1 and 500, inclusive. Defaults to 100.
- *
* [syncToken] - A sync token, returned by a previous call to
* `people.connections.list`.
* Only resources changed since the sync token was created will be returned.
@@ -219,10 +223,6 @@ class PeopleConnectionsResourceApi {
* - "FIRST_NAME_ASCENDING" : A FIRST_NAME_ASCENDING.
* - "LAST_NAME_ASCENDING" : A LAST_NAME_ASCENDING.
*
- * [requestSyncToken] - Whether the response should include a sync token,
- * which can be used to get
- * all changes since the last request.
- *
* Completes with a [ListConnectionsResponse].
*
* Completes with a [commons.ApiRequestError] if the API endpoint returned an
@@ -231,7 +231,7 @@ class PeopleConnectionsResourceApi {
* If the used [http.Client] completes with an error when making a REST call,
* this method will complete with the same error.
*/
- async.Future<ListConnectionsResponse> list(core.String resourceName, {core.String pageToken, core.String requestMask_includeField, core.int pageSize, core.String syncToken, core.String sortOrder, core.bool requestSyncToken}) {
+ async.Future<ListConnectionsResponse> list(core.String resourceName, {core.bool requestSyncToken, core.String pageToken, core.int pageSize, core.String requestMask_includeField, core.String syncToken, core.String sortOrder}) {
var _url = null;
var _queryParams = new core.Map();
var _uploadMedia = null;
@@ -242,24 +242,24 @@ class PeopleConnectionsResourceApi {
if (resourceName == null) {
throw new core.ArgumentError("Parameter resourceName is required.");
}
+ if (requestSyncToken != null) {
+ _queryParams["requestSyncToken"] = ["${requestSyncToken}"];
+ }
if (pageToken != null) {
_queryParams["pageToken"] = [pageToken];
}
- if (requestMask_includeField != null) {
- _queryParams["requestMask.includeField"] = [requestMask_includeField];
- }
if (pageSize != null) {
_queryParams["pageSize"] = ["${pageSize}"];
}
+ if (requestMask_includeField != null) {
+ _queryParams["requestMask.includeField"] = [requestMask_includeField];
+ }
if (syncToken != null) {
_queryParams["syncToken"] = [syncToken];
}
if (sortOrder != null) {
_queryParams["sortOrder"] = [sortOrder];
}
- if (requestSyncToken != null) {
- _queryParams["requestSyncToken"] = ["${requestSyncToken}"];
- }
_url = 'v1/' + commons.Escaper.ecapeVariableReserved('$resourceName') + '/connections';
@@ -1540,13 +1540,11 @@ class Organization {
/**
* Information about a person merged from various data sources such as the
- * authenticated user's contacts and profile data. Fields other than IDs,
- * metadata, and group memberships are user-edited.
+ * authenticated user's contacts and profile data.
*
* Most fields can have multiple items. The items in a field have no guaranteed
* order, but each non-empty field is guaranteed to have exactly one field with
* `metadata.primary` set to true.
- * NEXT_ID: 31
*/
class Person {
/** The person's street addresses. */
« no previous file with comments | « generated/googleapis/lib/partners/v2.dart ('k') | generated/googleapis/lib/playmoviespartner/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698