Skip to content

Commit

Permalink
fix(people): update the API
Browse files Browse the repository at this point in the history
#### people:v1
The following keys were changed:
- resources.people.resources.connections.methods.list.parameters.requestSyncToken.description
- schemas.ListConnectionsResponse.properties.nextSyncToken.description
  • Loading branch information
yoshi-automation authored and sofisl committed Oct 7, 2020
1 parent 081aed9 commit 9718714
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions discovery/people-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,7 @@
"type": "string"
},
"requestSyncToken": {
"description": "Optional. Whether the response should include `next_sync_token`, which can be used to get all changes since the last request. For subsequent sync requests use the `sync_token` param instead. Initial sync requests that specify `request_sync_token` have an additional rate limit.",
"description": "Optional. Whether the response should include `next_sync_token` on the last page, which can be used to get all changes since the last request. For subsequent sync requests use the `sync_token` param instead. Initial sync requests that specify `request_sync_token` have an additional rate limit.",
"location": "query",
"type": "boolean"
},
Expand Down Expand Up @@ -997,7 +997,7 @@
}
}
},
"revision": "20201001",
"revision": "20201004",
"rootUrl": "https://people.googleapis.com/",
"schemas": {
"Address": {
Expand Down Expand Up @@ -1643,7 +1643,7 @@
"type": "string"
},
"nextSyncToken": {
"description": "A token, which can be sent as `sync_token` to retrieve changes since the last request. Request must set `request_sync_token` to return the sync token.",
"description": "A token, which can be sent as `sync_token` to retrieve changes since the last request. Request must set `request_sync_token` to return the sync token. When the response is paginated, only the last page will contain `nextSyncToken`.",
"type": "string"
},
"totalItems": {
Expand Down
8 changes: 4 additions & 4 deletions src/apis/people/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ export namespace people_v1 {
*/
nextPageToken?: string | null;
/**
* A token, which can be sent as `sync_token` to retrieve changes since the last request. Request must set `request_sync_token` to return the sync token.
* A token, which can be sent as `sync_token` to retrieve changes since the last request. Request must set `request_sync_token` to return the sync token. When the response is paginated, only the last page will contain `nextSyncToken`.
*/
nextSyncToken?: string | null;
/**
Expand Down Expand Up @@ -4704,7 +4704,7 @@ export namespace people_v1 {
* personFields: 'placeholder-value',
* // Required. Comma-separated list of person fields to be included in the response. Each path should start with `person.`: for example, `person.names` or `person.photos`.
* 'requestMask.includeField': 'placeholder-value',
* // Optional. Whether the response should include `next_sync_token`, which can be used to get all changes since the last request. For subsequent sync requests use the `sync_token` param instead. Initial sync requests that specify `request_sync_token` have an additional rate limit.
* // Optional. Whether the response should include `next_sync_token` on the last page, which can be used to get all changes since the last request. For subsequent sync requests use the `sync_token` param instead. Initial sync requests that specify `request_sync_token` have an additional rate limit.
* requestSyncToken: 'placeholder-value',
* // Required. The resource name to return connections for. Only `people/me` is valid.
* resourceName: 'people/[^/]+',
Expand Down Expand Up @@ -4740,7 +4740,7 @@ export namespace people_v1 {
* @param {string=} params.pageToken Optional. A page token, received from a previous `ListConnections` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConnections` must match the call that provided the page token.
* @param {string=} params.personFields Required. A field mask to restrict which fields on each person are returned. Multiple fields can be specified by separating them with commas. Valid values are: * addresses * ageRanges * biographies * birthdays * calendarUrls * clientData * coverPhotos * emailAddresses * events * externalIds * genders * imClients * interests * locales * locations * memberships * metadata * miscKeywords * names * nicknames * occupations * organizations * phoneNumbers * photos * relations * sipAddresses * skills * urls * userDefined
* @param {string=} params.requestMask.includeField Required. Comma-separated list of person fields to be included in the response. Each path should start with `person.`: for example, `person.names` or `person.photos`.
* @param {boolean=} params.requestSyncToken Optional. Whether the response should include `next_sync_token`, which can be used to get all changes since the last request. For subsequent sync requests use the `sync_token` param instead. Initial sync requests that specify `request_sync_token` have an additional rate limit.
* @param {boolean=} params.requestSyncToken Optional. Whether the response should include `next_sync_token` on the last page, which can be used to get all changes since the last request. For subsequent sync requests use the `sync_token` param instead. Initial sync requests that specify `request_sync_token` have an additional rate limit.
* @param {string} params.resourceName Required. The resource name to return connections for. Only `people/me` is valid.
* @param {string=} params.sortOrder Optional. The order in which the connections should be sorted. Defaults to `LAST_MODIFIED_ASCENDING`.
* @param {string=} params.sources Optional. A mask of what source types to return. Defaults to ReadSourceType.CONTACT and ReadSourceType.PROFILE if not set.
Expand Down Expand Up @@ -4853,7 +4853,7 @@ export namespace people_v1 {
*/
'requestMask.includeField'?: string;
/**
* Optional. Whether the response should include `next_sync_token`, which can be used to get all changes since the last request. For subsequent sync requests use the `sync_token` param instead. Initial sync requests that specify `request_sync_token` have an additional rate limit.
* Optional. Whether the response should include `next_sync_token` on the last page, which can be used to get all changes since the last request. For subsequent sync requests use the `sync_token` param instead. Initial sync requests that specify `request_sync_token` have an additional rate limit.
*/
requestSyncToken?: boolean;
/**
Expand Down

0 comments on commit 9718714

Please sign in to comment.