diff --git a/generated/google-apis-people_v1/CHANGELOG.md b/generated/google-apis-people_v1/CHANGELOG.md index 620fe9d3b..a6595f33a 100644 --- a/generated/google-apis-people_v1/CHANGELOG.md +++ b/generated/google-apis-people_v1/CHANGELOG.md @@ -1,7 +1,7 @@ # Release history for google-apis-people_v1 -### v0.1.0 (2021-01-01) +### v0.1.0 (2021-01-07) -* Regenerated from discovery document revision 20201117 -* Regenerated using generator version 0.1.0 +* Regenerated from discovery document revision 20210105 +* Regenerated using generator version 0.1.1 diff --git a/generated/google-apis-people_v1/lib/google/apis/people_v1/gem_version.rb b/generated/google-apis-people_v1/lib/google/apis/people_v1/gem_version.rb index 976e0bfa1..14aa64af4 100644 --- a/generated/google-apis-people_v1/lib/google/apis/people_v1/gem_version.rb +++ b/generated/google-apis-people_v1/lib/google/apis/people_v1/gem_version.rb @@ -19,10 +19,10 @@ module Google GEM_VERSION = "0.1.0" # Version of the code generator used to generate this client - GENERATOR_VERSION = "0.1.0" + GENERATOR_VERSION = "0.1.1" # Revision of the discovery document this client was generated from - REVISION = "20201117" + REVISION = "20210105" end end end diff --git a/generated/google-apis-people_v1/lib/google/apis/people_v1/service.rb b/generated/google-apis-people_v1/lib/google/apis/people_v1/service.rb index d587b8e83..667bc0845 100644 --- a/generated/google-apis-people_v1/lib/google/apis/people_v1/service.rb +++ b/generated/google-apis-people_v1/lib/google/apis/people_v1/service.rb @@ -844,9 +844,10 @@ module Google # Provides a list of the authenticated user's contacts. The request returns a # 400 error if `personFields` is not specified. The request returns a 410 error - # if `sync_token` is specified and is expired. Sync tokens expire after 7 days. - # A request without `sync_token` should be made and all contacts should be - # synced. + # if `sync_token` is specified and is expired. Sync tokens expire after 7 days + # to prevent data drift between clients and the server. To handle a sync token + # expired error, a request should be sent without `sync_token` to get all + # contacts. # @param [String] resource_name # Required. The resource name to return connections for. Only `people/me` is # valid. @@ -873,8 +874,11 @@ module Google # @param [Boolean] request_sync_token # 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. + # subsequent sync requests use the `sync_token` param instead. Initial full sync + # requests that specify `request_sync_token` and do not specify `sync_token` + # have an additional rate limit per user. Each client should generally only be + # doing a full sync once every few days per user and so should not hit this + # limit. # @param [String] sort_order # Optional. The order in which the connections should be sorted. Defaults to ` # LAST_MODIFIED_ASCENDING`. @@ -884,9 +888,10 @@ module Google # @param [String] sync_token # Optional. A sync token, received from a previous `ListConnections` call. # Provide this to retrieve only the resources changed since the last request. - # Sync requests that specify `sync_token` have an additional rate limit. When - # syncing, all other parameters provided to `ListConnections` must match the - # call that provided the sync token. + # When syncing, all other parameters provided to `ListConnections` except ` + # page_size` and `page_token` must match the initial call that provided the sync + # token. Sync tokens expire after seven days, after which a full sync request + # without a `sync_token` should be made. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user diff --git a/generated/google-apis-people_v1/synth.metadata b/generated/google-apis-people_v1/synth.metadata index 88bb3ffd6..535d0881c 100644 --- a/generated/google-apis-people_v1/synth.metadata +++ b/generated/google-apis-people_v1/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-ruby-client.git", - "sha": "9976dc9f40066e1b5937b616abb69b5ef1d06d7c" + "sha": "6de8b4ee653db67c0e789203767a89b32fcf8a51" } } ]