google-apis-people_v1 0.21.0 → 0.25.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/OVERVIEW.md +3 -3
- data/lib/google/apis/people_v1/classes.rb +24 -22
- data/lib/google/apis/people_v1/gem_version.rb +3 -3
- data/lib/google/apis/people_v1/service.rb +27 -13
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0fe71dab8936eabcd3dbfe3991c05e7bb506498dd96831b5f8c6685703121e2
|
4
|
+
data.tar.gz: 1433faf94622b1ecdf2450d790e71c9e600e09ee6ac7e1fae9f3bdcf9a7fa137
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1015557b1156f4d6cbca50aab5368fa2f11cf5a62086946cdbc97826ab5cd7d081506d572c129c4cfe7d35ed97db5eb17439862410053bed90793a923bd05099
|
7
|
+
data.tar.gz: e242f691234d4cad7eb6f4cb0a0cc9049c858dc9c4bd8b6b70b7ef7eb9ad870d7cd0dcb059d81110e40bb94ecf398580c80f9213c2c9852b80ed32f7139da5ee
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-people_v1
|
2
2
|
|
3
|
+
### v0.25.0 (2022-02-04)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220202
|
6
|
+
|
7
|
+
### v0.24.0 (2022-01-13)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220111
|
10
|
+
* Regenerated using generator version 0.4.1
|
11
|
+
|
12
|
+
### v0.23.0 (2021-12-14)
|
13
|
+
|
14
|
+
* Unspecified changes
|
15
|
+
|
16
|
+
### v0.22.0 (2021-10-21)
|
17
|
+
|
18
|
+
* Unspecified changes
|
19
|
+
|
3
20
|
### v0.21.0 (2021-09-07)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20210903
|
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.
|
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/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
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
|
|
@@ -346,7 +346,8 @@ 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
|
|
@@ -354,10 +355,10 @@ module Google
|
|
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
357
|
# following: * A full date, with non-zero year, month, and day values * A month
|
357
|
-
# and day
|
358
|
-
#
|
359
|
-
#
|
360
|
-
# google.protobuf.Timestamp
|
358
|
+
# and day, with a zero year (e.g., an anniversary) * A year on its own, with a
|
359
|
+
# zero month and a zero day * A year and month, with a zero day (e.g., a credit
|
360
|
+
# card expiration date) Related types: * google.type.TimeOfDay * google.type.
|
361
|
+
# 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
|
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
|
@@ -779,10 +781,10 @@ module Google
|
|
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
783
|
# following: * A full date, with non-zero year, month, and day values * A month
|
782
|
-
# and day
|
783
|
-
#
|
784
|
-
#
|
785
|
-
# google.protobuf.Timestamp
|
784
|
+
# and day, with a zero year (e.g., an anniversary) * A year on its own, with a
|
785
|
+
# zero month and a zero day * A year and month, with a zero day (e.g., a credit
|
786
|
+
# card expiration date) Related types: * google.type.TimeOfDay * google.type.
|
787
|
+
# DateTime * google.protobuf.Timestamp
|
786
788
|
class Date
|
787
789
|
include Google::Apis::Core::Hashable
|
788
790
|
|
@@ -928,10 +930,10 @@ module Google
|
|
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
932
|
# following: * A full date, with non-zero year, month, and day values * A month
|
931
|
-
# and day
|
932
|
-
#
|
933
|
-
#
|
934
|
-
# google.protobuf.Timestamp
|
933
|
+
# and day, with a zero year (e.g., an anniversary) * A year on its own, with a
|
934
|
+
# zero month and a zero day * A year and month, with a zero day (e.g., a credit
|
935
|
+
# card expiration date) Related types: * google.type.TimeOfDay * google.type.
|
936
|
+
# DateTime * google.protobuf.Timestamp
|
935
937
|
# Corresponds to the JSON property `date`
|
936
938
|
# @return [Google::Apis::PeopleV1::Date]
|
937
939
|
attr_accessor :date
|
@@ -1807,10 +1809,10 @@ module Google
|
|
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
1811
|
# following: * A full date, with non-zero year, month, and day values * A month
|
1810
|
-
# and day
|
1811
|
-
#
|
1812
|
-
#
|
1813
|
-
# google.protobuf.Timestamp
|
1812
|
+
# and day, with a zero year (e.g., an anniversary) * A year on its own, with a
|
1813
|
+
# zero month and a zero day * A year and month, with a zero day (e.g., a credit
|
1814
|
+
# card expiration date) Related types: * google.type.TimeOfDay * google.type.
|
1815
|
+
# 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
|
@@ -1856,10 +1858,10 @@ module Google
|
|
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
1860
|
# following: * A full date, with non-zero year, month, and day values * A month
|
1859
|
-
# and day
|
1860
|
-
#
|
1861
|
-
#
|
1862
|
-
# google.protobuf.Timestamp
|
1861
|
+
# and day, with a zero year (e.g., an anniversary) * A year on its own, with a
|
1862
|
+
# zero month and a zero day * A year and month, with a zero day (e.g., a credit
|
1863
|
+
# card expiration date) Related types: * google.type.TimeOfDay * google.type.
|
1864
|
+
# 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.
|
19
|
+
GEM_VERSION = "0.25.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220202"
|
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
|
-
#
|
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.
|
513
|
-
#
|
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.
|
545
|
-
#
|
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.
|
4
|
+
version: 0.25.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:
|
11
|
+
date: 2022-02-07 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/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-people_v1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
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.25.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.
|
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
|