google-apis-people_v1 0.20.0 → 0.24.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8002b470676be9150290434fc9c8a7626e66a1344f20fa9004553c0f4cce327f
4
- data.tar.gz: 2c20b6005b4f87b96a6a88ae9c09a94cc058f584c4f6c9e1446bbed82d1cc802
3
+ metadata.gz: 3c8f7e8fc0170643d2b773cf09fa597d6d985876ea5cea54dbf97679e08d0270
4
+ data.tar.gz: 40f779c6af98c11ec66ea33702f3f82b00e1065d23a7ef638c056b89d0502be0
5
5
  SHA512:
6
- metadata.gz: 3c24436e4d2c9eb4567455748ee1111b58617975ec2d26fe5cdf97a882ff252b6becbf5d4182a1df7884293676b62bc8faa5aa75797aa7f4c10eab17853eb363
7
- data.tar.gz: e7adcbf669045c4f67063805245605a8814c382ff1ee21df3f6b03bae9bca5f9941e313c261efdbc34d35142e4179669f16ba96d4fc55ded580681544f9c7f79
6
+ metadata.gz: a9d18e1ad658baf9e8f1d94cd0fc930dddc04441e38f1e266fc6a3cc43e1efbd585103771bed91b7e0c42f1879486426e716853b97ce91d300b85fa1694806b6
7
+ data.tar.gz: 634f3855e81d49816fbe3c0a11cec544e08b10a330b3f6d565c1d511cc7f902c0e217b976fb604a9ed40a3174f793fab5ab965b86cb483ae88b4ca24b6bc56c0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-people_v1
2
2
 
3
+ ### v0.24.0 (2022-01-13)
4
+
5
+ * Regenerated from discovery document revision 20220111
6
+ * Regenerated using generator version 0.4.1
7
+
8
+ ### v0.23.0 (2021-12-14)
9
+
10
+ * Unspecified changes
11
+
12
+ ### v0.22.0 (2021-10-21)
13
+
14
+ * Unspecified changes
15
+
16
+ ### v0.21.0 (2021-09-07)
17
+
18
+ * Regenerated from discovery document revision 20210903
19
+
3
20
  ### v0.20.0 (2021-09-01)
4
21
 
5
22
  * Regenerated from discovery document revision 20210830
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/people_v1"
51
51
  client = Google::Apis::PeopleV1::PeopleServiceService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the People service in particular.)
67
67
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module PeopleV1
18
18
  # Version of the google-apis-people_v1 gem
19
- GEM_VERSION = "0.20.0"
19
+ GEM_VERSION = "0.24.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210830"
25
+ REVISION = "20220111"
26
26
  end
27
27
  end
28
28
  end
@@ -93,7 +93,9 @@ module Google
93
93
 
94
94
  # Create a new contact group owned by the authenticated user. Created contact
95
95
  # group names must be unique to the users contact groups. Attempting to create a
96
- # group with a duplicate name will return a HTTP 409 error.
96
+ # group with a duplicate name will return a HTTP 409 error. Mutate requests for
97
+ # the same user should be sent sequentially to avoid increased latency and
98
+ # failures.
97
99
  # @param [Google::Apis::PeopleV1::CreateContactGroupRequest] create_contact_group_request_object
98
100
  # @param [String] fields
99
101
  # Selector specifying which fields to include in a partial response.
@@ -124,7 +126,8 @@ module Google
124
126
  end
125
127
 
126
128
  # Delete an existing contact group owned by the authenticated user by specifying
127
- # a contact group resource name.
129
+ # a contact group resource name. Mutate requests for the same user should be
130
+ # sent sequentially to avoid increased latency and failures.
128
131
  # @param [String] resource_name
129
132
  # Required. The resource name of the contact group to delete.
130
133
  # @param [Boolean] delete_contacts
@@ -248,7 +251,8 @@ module Google
248
251
  # Update the name of an existing contact group owned by the authenticated user.
249
252
  # Updated contact group names must be unique to the users contact groups.
250
253
  # Attempting to create a group with a duplicate name will return a HTTP 409
251
- # error.
254
+ # error. Mutate requests for the same user should be sent sequentially to avoid
255
+ # increased latency and failures.
252
256
  # @param [String] resource_name
253
257
  # The resource name for the contact group, assigned by the server. An ASCII
254
258
  # string, in the form of `contactGroups/`contact_group_id``.
@@ -319,6 +323,8 @@ module Google
319
323
  end
320
324
 
321
325
  # Copies an "Other contact" to a new contact in the user's "myContacts" group
326
+ # Mutate requests for the same user should be sent sequentially to avoid
327
+ # increased latency and failures.
322
328
  # @param [String] resource_name
323
329
  # Required. The resource name of the "Other contact" to copy.
324
330
  # @param [Google::Apis::PeopleV1::CopyOtherContactToMyContactsGroupRequest] copy_other_contact_to_my_contacts_group_request_object
@@ -479,7 +485,8 @@ module Google
479
485
  end
480
486
 
481
487
  # Create a batch of new contacts and return the PersonResponses for the newly
482
- # created contacts. Limited to 10 parallel requests per user.
488
+ # Mutate requests for the same user should be sent sequentially to avoid
489
+ # increased latency and failures.
483
490
  # @param [Google::Apis::PeopleV1::BatchCreateContactsRequest] batch_create_contacts_request_object
484
491
  # @param [String] fields
485
492
  # Selector specifying which fields to include in a partial response.
@@ -509,8 +516,9 @@ module Google
509
516
  execute_or_queue_command(command, &block)
510
517
  end
511
518
 
512
- # Delete a batch of contacts. Any non-contact data will not be deleted. Limited
513
- # to 10 parallel requests per user.
519
+ # Delete a batch of contacts. Any non-contact data will not be deleted. Mutate
520
+ # requests for the same user should be sent sequentially to avoid increased
521
+ # latency and failures.
514
522
  # @param [Google::Apis::PeopleV1::BatchDeleteContactsRequest] batch_delete_contacts_request_object
515
523
  # @param [String] fields
516
524
  # Selector specifying which fields to include in a partial response.
@@ -541,8 +549,8 @@ module Google
541
549
  end
542
550
 
543
551
  # Update a batch of contacts and return a map of resource names to
544
- # PersonResponses for the updated contacts. Limited to 10 parallel requests per
545
- # user.
552
+ # PersonResponses for the updated contacts. Mutate requests for the same user
553
+ # should be sent sequentially to avoid increased latency and failures.
546
554
  # @param [Google::Apis::PeopleV1::BatchUpdateContactsRequest] batch_update_contacts_request_object
547
555
  # @param [String] fields
548
556
  # Selector specifying which fields to include in a partial response.
@@ -575,7 +583,8 @@ module Google
575
583
  # Create a new contact and return the person resource for that contact. The
576
584
  # request returns a 400 error if more than one field is specified on a field
577
585
  # that is a singleton for contact sources: * biographies * birthdays * genders *
578
- # names
586
+ # names Mutate requests for the same user should be sent sequentially to avoid
587
+ # increased latency and failures.
579
588
  # @param [Google::Apis::PeopleV1::Person] person_object
580
589
  # @param [String] person_fields
581
590
  # Required. A field mask to restrict which fields on each person are returned.
@@ -619,7 +628,9 @@ module Google
619
628
  execute_or_queue_command(command, &block)
620
629
  end
621
630
 
622
- # Delete a contact person. Any non-contact data will not be deleted.
631
+ # Delete a contact person. Any non-contact data will not be deleted. Mutate
632
+ # requests for the same user should be sent sequentially to avoid increased
633
+ # latency and failures.
623
634
  # @param [String] resource_name
624
635
  # Required. The resource name of the contact to delete.
625
636
  # @param [String] fields
@@ -649,7 +660,8 @@ module Google
649
660
  execute_or_queue_command(command, &block)
650
661
  end
651
662
 
652
- # Delete a contact's photo.
663
+ # Delete a contact's photo. Mutate requests for the same user should be done
664
+ # sequentially to avoid // lock contention.
653
665
  # @param [String] resource_name
654
666
  # Required. The resource name of the contact whose photo will be deleted.
655
667
  # @param [String] person_fields
@@ -879,7 +891,7 @@ module Google
879
891
  # Provides a list of contacts in the authenticated user's grouped contacts that
880
892
  # matches the search query. The query matches on a contact's `names`, `nickNames`
881
893
  # , `emailAddresses`, `phoneNumbers`, and `organizations` fields that are from
882
- # the CONTACT" source. **IMPORTANT**: Before searching, clients should send a
894
+ # the CONTACT source. **IMPORTANT**: Before searching, clients should send a
883
895
  # warmup request with an empty query to update the cache. See https://developers.
884
896
  # google.com/people/v1/contacts#search_the_users_contacts
885
897
  # @param [Fixnum] page_size
@@ -1001,7 +1013,8 @@ module Google
1001
1013
  # are being updated and there are no contact group memberships specified on the
1002
1014
  # person. The server returns a 400 error if more than one field is specified on
1003
1015
  # a field that is a singleton for contact sources: * biographies * birthdays *
1004
- # genders * names
1016
+ # genders * names Mutate requests for the same user should be sent sequentially
1017
+ # to avoid increased latency and failures.
1005
1018
  # @param [String] resource_name
1006
1019
  # The resource name for the person, assigned by the server. An ASCII string with
1007
1020
  # a max length of 27 characters, in the form of `people/`person_id``.
@@ -1058,7 +1071,8 @@ module Google
1058
1071
  execute_or_queue_command(command, &block)
1059
1072
  end
1060
1073
 
1061
- # Update a contact's photo.
1074
+ # Update a contact's photo. Mutate requests for the same user should be sent
1075
+ # sequentially to avoid increased latency and failures.
1062
1076
  # @param [String] resource_name
1063
1077
  # Required. Person resource name
1064
1078
  # @param [Google::Apis::PeopleV1::UpdateContactPhotoRequest] update_contact_photo_request_object
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-people_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0
4
+ version: 0.24.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-06 00:00:00.000000000 Z
11
+ date: 2022-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-people_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-people_v1/v0.20.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-people_v1
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-people_v1/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-people_v1/v0.24.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-people_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths:
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.2.17
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for People API V1