google-apis-people_v1 0.23.0 → 0.26.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: a6a2ae9aba2057301a29fe8e5e856dbe018e4408c5cce4f667bdd27e7c4a3a72
4
- data.tar.gz: ed17171947a1ffc08591059d4f46863b99eac38cc74979ac89d3c9a359606d01
3
+ metadata.gz: 9e05ebb6d8382219b5c5400e840bf127ec36439d82c748625ed4077785e0e4d8
4
+ data.tar.gz: ba1a63b4a9fba53afc398dfd35a19b5db37bfee9b24e399f719a39789f0bbd73
5
5
  SHA512:
6
- metadata.gz: 5b9f8f1d9ce97c1afa855429a46b9fb0a4413132ac70a48978c547f8ae7dda70fe1c2350f06912747f22319f652bc712150cd4f6a611370261eb8952537f202a
7
- data.tar.gz: 2e77142e4e745c14b84a63bcdea0a3b53b9f4ea66ebce4d93d3a4604351b01d4e514063966237b6dfdf0dac6a63ee7d26f612ec251949f9ecd95bfb8707f9251
6
+ metadata.gz: cbbd9b7e6b8ae2f1bf8308c783250bd517675dfa73d9deb8befaccdfa6b7f274c368ebaf7a6874d5c6ed4ef53fe0e68f281fbe265fbd03a5c484d6fdfe2d3261
7
+ data.tar.gz: 4a7e1ef7ef5c3a5812f6b68e43ddb8d188db48d2312516ec8b4d3cad885ee7deee485e31c8d1d24fd679d49bd7e372a699daab9c30ee1f6930686a41e89b187e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-people_v1
2
2
 
3
+ ### v0.26.0 (2022-03-03)
4
+
5
+ * Regenerated from discovery document revision 20220301
6
+
7
+ ### v0.25.0 (2022-02-04)
8
+
9
+ * Regenerated from discovery document revision 20220202
10
+
11
+ ### v0.24.0 (2022-01-13)
12
+
13
+ * Regenerated from discovery document revision 20220111
14
+ * Regenerated using generator version 0.4.1
15
+
3
16
  ### v0.23.0 (2021-12-14)
4
17
 
5
18
  * Unspecified changes
@@ -346,18 +346,19 @@ module Google
346
346
 
347
347
  # A person's birthday. At least one of the `date` and `text` fields are
348
348
  # specified. The `date` and `text` fields typically represent the same date, but
349
- # are not guaranteed to.
349
+ # are not guaranteed to. Clients should always set the `date` field when
350
+ # mutating birthdays.
350
351
  class Birthday
351
352
  include Google::Apis::Core::Hashable
352
353
 
353
354
  # Represents a whole or partial calendar date, such as a birthday. The time of
354
355
  # day and time zone are either specified elsewhere or are insignificant. The
355
356
  # date is relative to the Gregorian Calendar. This can represent one of the
356
- # following: * A full date, with non-zero year, month, and day values * A month
357
- # and day value, with a zero year, such as an anniversary * A year on its own,
358
- # with zero month and day values * A year and month value, with a zero day, such
359
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
360
- # google.protobuf.Timestamp`.
357
+ # following: * A full date, with non-zero year, month, and day values. * A month
358
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
359
+ # with a zero month and a zero day. * A year and month, with a zero day (for
360
+ # example, a credit card expiration date). Related types: * google.type.
361
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
361
362
  # Corresponds to the JSON property `date`
362
363
  # @return [Google::Apis::PeopleV1::Date]
363
364
  attr_accessor :date
@@ -367,7 +368,8 @@ module Google
367
368
  # @return [Google::Apis::PeopleV1::FieldMetadata]
368
369
  attr_accessor :metadata
369
370
 
370
- # A free-form string representing the user's birthday.
371
+ # Prefer to use the `date` field if set. A free-form string representing the
372
+ # user's birthday. This value is not validated.
371
373
  # Corresponds to the JSON property `text`
372
374
  # @return [String]
373
375
  attr_accessor :text
@@ -778,11 +780,11 @@ module Google
778
780
  # Represents a whole or partial calendar date, such as a birthday. The time of
779
781
  # day and time zone are either specified elsewhere or are insignificant. The
780
782
  # date is relative to the Gregorian Calendar. This can represent one of the
781
- # following: * A full date, with non-zero year, month, and day values * A month
782
- # and day value, with a zero year, such as an anniversary * A year on its own,
783
- # with zero month and day values * A year and month value, with a zero day, such
784
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
785
- # google.protobuf.Timestamp`.
783
+ # following: * A full date, with non-zero year, month, and day values. * A month
784
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
785
+ # with a zero month and a zero day. * A year and month, with a zero day (for
786
+ # example, a credit card expiration date). Related types: * google.type.
787
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
786
788
  class Date
787
789
  include Google::Apis::Core::Hashable
788
790
 
@@ -927,11 +929,11 @@ module Google
927
929
  # Represents a whole or partial calendar date, such as a birthday. The time of
928
930
  # day and time zone are either specified elsewhere or are insignificant. The
929
931
  # date is relative to the Gregorian Calendar. This can represent one of the
930
- # following: * A full date, with non-zero year, month, and day values * A month
931
- # and day value, with a zero year, such as an anniversary * A year on its own,
932
- # with zero month and day values * A year and month value, with a zero day, such
933
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
934
- # google.protobuf.Timestamp`.
932
+ # following: * A full date, with non-zero year, month, and day values. * A month
933
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
934
+ # with a zero month and a zero day. * A year and month, with a zero day (for
935
+ # example, a credit card expiration date). Related types: * google.type.
936
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
935
937
  # Corresponds to the JSON property `date`
936
938
  # @return [Google::Apis::PeopleV1::Date]
937
939
  attr_accessor :date
@@ -1806,11 +1808,11 @@ module Google
1806
1808
  # Represents a whole or partial calendar date, such as a birthday. The time of
1807
1809
  # day and time zone are either specified elsewhere or are insignificant. The
1808
1810
  # date is relative to the Gregorian Calendar. This can represent one of the
1809
- # following: * A full date, with non-zero year, month, and day values * A month
1810
- # and day value, with a zero year, such as an anniversary * A year on its own,
1811
- # with zero month and day values * A year and month value, with a zero day, such
1812
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
1813
- # google.protobuf.Timestamp`.
1811
+ # following: * A full date, with non-zero year, month, and day values. * A month
1812
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
1813
+ # with a zero month and a zero day. * A year and month, with a zero day (for
1814
+ # example, a credit card expiration date). Related types: * google.type.
1815
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
1814
1816
  # Corresponds to the JSON property `endDate`
1815
1817
  # @return [Google::Apis::PeopleV1::Date]
1816
1818
  attr_accessor :end_date
@@ -1855,11 +1857,11 @@ module Google
1855
1857
  # Represents a whole or partial calendar date, such as a birthday. The time of
1856
1858
  # day and time zone are either specified elsewhere or are insignificant. The
1857
1859
  # date is relative to the Gregorian Calendar. This can represent one of the
1858
- # following: * A full date, with non-zero year, month, and day values * A month
1859
- # and day value, with a zero year, such as an anniversary * A year on its own,
1860
- # with zero month and day values * A year and month value, with a zero day, such
1861
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
1862
- # google.protobuf.Timestamp`.
1860
+ # following: * A full date, with non-zero year, month, and day values. * A month
1861
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
1862
+ # with a zero month and a zero day. * A year and month, with a zero day (for
1863
+ # example, a credit card expiration date). Related types: * google.type.
1864
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
1863
1865
  # Corresponds to the JSON property `startDate`
1864
1866
  # @return [Google::Apis::PeopleV1::Date]
1865
1867
  attr_accessor :start_date
@@ -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.23.0"
19
+ GEM_VERSION = "0.26.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 = "20210903"
25
+ REVISION = "20220301"
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
@@ -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.23.0
4
+ version: 0.26.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: 2022-01-10 00:00:00.000000000 Z
11
+ date: 2022-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
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.23.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-people_v1/v0.26.0
62
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: []
@@ -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.3.4
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