diff --git a/generated/google/apis/people_v1.rb b/generated/google/apis/people_v1.rb index 36a605623..9b2a854c0 100644 --- a/generated/google/apis/people_v1.rb +++ b/generated/google/apis/people_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/people/ module PeopleV1 VERSION = 'V1' - REVISION = '20201026' + REVISION = '20201111' # See, edit, download, and permanently delete your contacts AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts' diff --git a/generated/google/apis/people_v1/service.rb b/generated/google/apis/people_v1/service.rb index d5b7a047b..469f91d20 100644 --- a/generated/google/apis/people_v1/service.rb +++ b/generated/google/apis/people_v1/service.rb @@ -383,8 +383,8 @@ module Google end # Create a new contact and return the person resource for that contact. The - # request throws a 400 error if more than one field is specified on a field that - # is a singleton for contact sources: * biographies * birthdays * genders * + # request returns a 400 error if more than one field is specified on a field + # that is a singleton for contact sources: * biographies * birthdays * genders * # names # @param [Google::Apis::PeopleV1::Person] person_object # @param [String] person_fields @@ -504,7 +504,7 @@ module Google end # Provides information about a person by specifying a resource name. Use `people/ - # me` to indicate the authenticated user. The request throws a 400 error if ' + # me` to indicate the authenticated user. The request returns a 400 error if ' # personFields' is not specified. # @param [String] resource_name # Required. The resource name of the person to provide information about. - To @@ -560,7 +560,7 @@ module Google # Provides information about a list of specific people by specifying a list of # requested resource names. Use `people/me` to indicate the authenticated user. - # The request throws a 400 error if 'personFields' is not specified. + # The request returns a 400 error if 'personFields' is not specified. # @param [String] person_fields # 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 @@ -840,8 +840,11 @@ module Google execute_or_queue_command(command, &block) end - # Provides a list of the authenticated user's contacts. The request throws a 400 - # error if 'personFields' is not specified. + # 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. # @param [String] resource_name # Required. The resource name to return connections for. Only `people/me` is # valid. diff --git a/generated/google/apis/people_v1/synth.metadata b/generated/google/apis/people_v1/synth.metadata index fb5a74b21..f9da36ede 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": "9840c481849200572321532ecc3b128bebbc1583" + "sha": "dadc6d21eefb965d1827084a7c0e9466a5dc2637" } } ]