google-apis-people_v1 0.10.0 → 0.15.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 +21 -0
- data/lib/google/apis/people_v1/classes.rb +21 -7
- data/lib/google/apis/people_v1/gem_version.rb +3 -3
- data/lib/google/apis/people_v1/service.rb +29 -13
- metadata +13 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a829a70f027e2db31e93f798965dd0a3e27fd24fd95ca5c70507072e43cf2f4
|
4
|
+
data.tar.gz: 5b9715b37ae4fe75e239b2340986c1b3494d3621e70e3cf8c16ce80252e072cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76e77c369c7dfac9dd99406109f7a695c2682549fdc85d0084ed07b4b5753148265daa1e1c158a5963579e37e40657820502b94554a3d34407e6c03870fe1527
|
7
|
+
data.tar.gz: 3b00c53345d8a03a17c7999cc1dddfeda671c8842acfa90f5e65a1b1d0e8e79e09e6215f9cd6550d24d4f00db47b4f7b2c04a0ee5cad8814b98b6238b165fe33
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-people_v1
|
2
2
|
|
3
|
+
### v0.15.0 (2021-06-29)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.4.0
|
6
|
+
|
7
|
+
### v0.14.0 (2021-06-25)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210623
|
10
|
+
|
11
|
+
### v0.13.0 (2021-06-19)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210617
|
14
|
+
|
15
|
+
### v0.12.0 (2021-06-09)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210607
|
18
|
+
* Regenerated using generator version 0.3.0
|
19
|
+
|
20
|
+
### v0.11.0 (2021-05-28)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210526
|
23
|
+
|
3
24
|
### v0.10.0 (2021-05-19)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210515
|
@@ -522,7 +522,10 @@ module Google
|
|
522
522
|
attr_accessor :metadata
|
523
523
|
|
524
524
|
# The contact group name set by the group owner or a system provided name for
|
525
|
-
# system groups.
|
525
|
+
# system groups. For [`contactGroups.create`](/people/api/rest/v1/contactGroups/
|
526
|
+
# create) or [`contactGroups.update`](/people/api/rest/v1/contactGroups/update)
|
527
|
+
# the name must be unique to the users contact groups. Attempting to create a
|
528
|
+
# group with a duplicate name will return a HTTP 409 error.
|
526
529
|
# Corresponds to the JSON property `name`
|
527
530
|
# @return [String]
|
528
531
|
attr_accessor :name
|
@@ -831,11 +834,11 @@ module Google
|
|
831
834
|
end
|
832
835
|
end
|
833
836
|
|
834
|
-
# A
|
837
|
+
# A Google Workspace Domain membership.
|
835
838
|
class DomainMembership
|
836
839
|
include Google::Apis::Core::Hashable
|
837
840
|
|
838
|
-
# True if the person is in the viewer's
|
841
|
+
# True if the person is in the viewer's Google Workspace domain.
|
839
842
|
# Corresponds to the JSON property `inViewerDomain`
|
840
843
|
# @return [Boolean]
|
841
844
|
attr_accessor :in_viewer_domain
|
@@ -1481,7 +1484,7 @@ module Google
|
|
1481
1484
|
# @return [Google::Apis::PeopleV1::ContactGroupMembership]
|
1482
1485
|
attr_accessor :contact_group_membership
|
1483
1486
|
|
1484
|
-
# A
|
1487
|
+
# A Google Workspace Domain membership.
|
1485
1488
|
# Corresponds to the JSON property `domainMembership`
|
1486
1489
|
# @return [Google::Apis::PeopleV1::DomainMembership]
|
1487
1490
|
attr_accessor :domain_membership
|
@@ -1931,7 +1934,12 @@ module Google
|
|
1931
1934
|
# @return [Array<Google::Apis::PeopleV1::CoverPhoto>]
|
1932
1935
|
attr_accessor :cover_photos
|
1933
1936
|
|
1934
|
-
# The person's email addresses.
|
1937
|
+
# The person's email addresses. For [`connections.list`](/people/api/rest/v1/
|
1938
|
+
# people.connections/list), [`otherContacts.list`](/people/api/rest/v1/
|
1939
|
+
# otherContacts/list), and [`people.listDirectoryPeople`](/people/api/rest/v1/
|
1940
|
+
# people/listDirectoryPeople) the number of email addresses is limited to 100.
|
1941
|
+
# If a Person has more email addresses the entire set can be obtained by calling
|
1942
|
+
# ['people.get'](/people/api/rest/v1/people/get).
|
1935
1943
|
# Corresponds to the JSON property `emailAddresses`
|
1936
1944
|
# @return [Array<Google::Apis::PeopleV1::EmailAddress>]
|
1937
1945
|
attr_accessor :email_addresses
|
@@ -2017,7 +2025,12 @@ module Google
|
|
2017
2025
|
# @return [Array<Google::Apis::PeopleV1::Organization>]
|
2018
2026
|
attr_accessor :organizations
|
2019
2027
|
|
2020
|
-
# The person's phone numbers.
|
2028
|
+
# The person's phone numbers. For [`connections.list`](/people/api/rest/v1/
|
2029
|
+
# people.connections/list), [`otherContacts.list`](/people/api/rest/v1/
|
2030
|
+
# otherContacts/list), and [`people.listDirectoryPeople`](/people/api/rest/v1/
|
2031
|
+
# people/listDirectoryPeople) the number of phone numbers is limited to 100. If
|
2032
|
+
# a Person has more phone numbers the entire set can be obtained by calling ['
|
2033
|
+
# people.get'](/people/api/rest/v1/people/get).
|
2021
2034
|
# Corresponds to the JSON property `phoneNumbers`
|
2022
2035
|
# @return [Array<Google::Apis::PeopleV1::PhoneNumber>]
|
2023
2036
|
attr_accessor :phone_numbers
|
@@ -2133,7 +2146,8 @@ module Google
|
|
2133
2146
|
include Google::Apis::Core::Hashable
|
2134
2147
|
|
2135
2148
|
# Output only. True if the person resource has been deleted. Populated only for [
|
2136
|
-
# `connections.list`](/people/api/rest/v1/people.connections/list)
|
2149
|
+
# `connections.list`](/people/api/rest/v1/people.connections/list) and [`
|
2150
|
+
# otherContacts.list`](/people/api/rest/v1/otherContacts/list) requests that
|
2137
2151
|
# include a sync token.
|
2138
2152
|
# Corresponds to the JSON property `deleted`
|
2139
2153
|
# @return [Boolean]
|
@@ -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.15.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210623"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -60,7 +60,8 @@ module Google
|
|
60
60
|
# Optional. Specifies the maximum number of members to return for each group.
|
61
61
|
# Defaults to 0 if not set, which will return zero members.
|
62
62
|
# @param [Array<String>, String] resource_names
|
63
|
-
# Required. The resource names of the contact groups to get.
|
63
|
+
# Required. The resource names of the contact groups to get. There is a maximum
|
64
|
+
# of 200 resource names.
|
64
65
|
# @param [String] fields
|
65
66
|
# Selector specifying which fields to include in a partial response.
|
66
67
|
# @param [String] quota_user
|
@@ -90,7 +91,9 @@ module Google
|
|
90
91
|
execute_or_queue_command(command, &block)
|
91
92
|
end
|
92
93
|
|
93
|
-
# Create a new contact group owned by the authenticated user.
|
94
|
+
# Create a new contact group owned by the authenticated user. Created contact
|
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.
|
94
97
|
# @param [Google::Apis::PeopleV1::CreateContactGroupRequest] create_contact_group_request_object
|
95
98
|
# @param [String] fields
|
96
99
|
# Selector specifying which fields to include in a partial response.
|
@@ -243,6 +246,9 @@ module Google
|
|
243
246
|
end
|
244
247
|
|
245
248
|
# Update the name of an existing contact group owned by the authenticated user.
|
249
|
+
# Updated contact group names must be unique to the users contact groups.
|
250
|
+
# Attempting to create a group with a duplicate name will return a HTTP 409
|
251
|
+
# error.
|
246
252
|
# @param [String] resource_name
|
247
253
|
# The resource name for the contact group, assigned by the server. An ASCII
|
248
254
|
# string, in the form of `contactGroups/`contact_group_id``.
|
@@ -359,7 +365,7 @@ module Google
|
|
359
365
|
# @param [String] read_mask
|
360
366
|
# Required. A field mask to restrict which fields on each person are returned.
|
361
367
|
# Multiple fields can be specified by separating them with commas. Valid values
|
362
|
-
# are: * emailAddresses * names * phoneNumbers
|
368
|
+
# are: * emailAddresses * metadata * names * phoneNumbers * photos
|
363
369
|
# @param [Boolean] request_sync_token
|
364
370
|
# Optional. Whether the response should include `next_sync_token`, which can be
|
365
371
|
# used to get all changes since the last request. For subsequent sync requests
|
@@ -369,8 +375,11 @@ module Google
|
|
369
375
|
# Optional. A sync token, received from a previous `ListOtherContacts` call.
|
370
376
|
# Provide this to retrieve only the resources changed since the last request.
|
371
377
|
# Sync requests that specify `sync_token` have an additional rate limit. When
|
372
|
-
#
|
373
|
-
#
|
378
|
+
# the `syncToken` is specified, resources deleted since the last sync will be
|
379
|
+
# returned as a person with [`PersonMetadata.deleted`](/people/api/rest/v1/
|
380
|
+
# people#Person.PersonMetadata.FIELDS.deleted) set to true. When the `syncToken`
|
381
|
+
# is specified, all other parameters provided to `ListOtherContacts` must match
|
382
|
+
# the call that provided the sync token.
|
374
383
|
# @param [String] fields
|
375
384
|
# Selector specifying which fields to include in a partial response.
|
376
385
|
# @param [String] quota_user
|
@@ -405,10 +414,12 @@ module Google
|
|
405
414
|
# Provides a list of contacts in the authenticated user's other contacts that
|
406
415
|
# matches the search query. The query matches on a contact's `names`, `
|
407
416
|
# emailAddresses`, and `phoneNumbers` fields that are from the OTHER_CONTACT
|
408
|
-
# source.
|
417
|
+
# source. **IMPORTANT**: Before searching, clients should send a warmup request
|
418
|
+
# with an empty query to update the cache. See https://developers.google.com/
|
419
|
+
# people/v1/other-contacts#search_the_users_other_contacts
|
409
420
|
# @param [Fixnum] page_size
|
410
421
|
# Optional. The number of results to return. Defaults to 10 if field is not set,
|
411
|
-
# or set to 0. Values greater than
|
422
|
+
# or set to 0. Values greater than 30 will be capped to 30.
|
412
423
|
# @param [String] query
|
413
424
|
# Required. The plain-text query for the request. The query is used to match
|
414
425
|
# prefix phrases of the fields on a person. For example, a person with name "foo
|
@@ -417,7 +428,7 @@ module Google
|
|
417
428
|
# @param [String] read_mask
|
418
429
|
# Required. A field mask to restrict which fields on each person are returned.
|
419
430
|
# Multiple fields can be specified by separating them with commas. Valid values
|
420
|
-
# are: * emailAddresses * names * phoneNumbers
|
431
|
+
# are: * emailAddresses * metadata * names * phoneNumbers
|
421
432
|
# @param [String] fields
|
422
433
|
# Selector specifying which fields to include in a partial response.
|
423
434
|
# @param [String] quota_user
|
@@ -739,8 +750,8 @@ module Google
|
|
739
750
|
# specify `people/me`. - To get information about a google account, specify `
|
740
751
|
# people/`account_id``. - To get information about a contact, specify the
|
741
752
|
# resource name that identifies the contact as returned by [`people.connections.
|
742
|
-
# list`](/people/api/rest/v1/people.connections/list).
|
743
|
-
# resource names
|
753
|
+
# list`](/people/api/rest/v1/people.connections/list). There is a maximum of 200
|
754
|
+
# resource names.
|
744
755
|
# @param [Array<String>, String] sources
|
745
756
|
# Optional. A mask of what source types to return. Defaults to
|
746
757
|
# READ_SOURCE_TYPE_CONTACT and READ_SOURCE_TYPE_PROFILE if not set.
|
@@ -842,10 +853,12 @@ module Google
|
|
842
853
|
# Provides a list of contacts in the authenticated user's grouped contacts that
|
843
854
|
# matches the search query. The query matches on a contact's `names`, `nickNames`
|
844
855
|
# , `emailAddresses`, `phoneNumbers`, and `organizations` fields that are from
|
845
|
-
# the CONTACT" source.
|
856
|
+
# the CONTACT" source. **IMPORTANT**: Before searching, clients should send a
|
857
|
+
# warmup request with an empty query to update the cache. See https://developers.
|
858
|
+
# google.com/people/v1/contacts#search_the_users_contacts
|
846
859
|
# @param [Fixnum] page_size
|
847
860
|
# Optional. The number of results to return. Defaults to 10 if field is not set,
|
848
|
-
# or set to 0. Values greater than
|
861
|
+
# or set to 0. Values greater than 30 will be capped to 30.
|
849
862
|
# @param [String] query
|
850
863
|
# Required. The plain-text query for the request. The query is used to match
|
851
864
|
# prefix phrases of the fields on a person. For example, a person with name "foo
|
@@ -1098,7 +1111,10 @@ module Google
|
|
1098
1111
|
# @param [String] sync_token
|
1099
1112
|
# Optional. A sync token, received from a previous `ListConnections` call.
|
1100
1113
|
# Provide this to retrieve only the resources changed since the last request.
|
1101
|
-
# When
|
1114
|
+
# When the `syncToken` is specified, resources deleted since the last sync will
|
1115
|
+
# be returned as a person with [`PersonMetadata.deleted`](/people/api/rest/v1/
|
1116
|
+
# people#Person.PersonMetadata.FIELDS.deleted) set to true. When the `syncToken`
|
1117
|
+
# is specified, all other parameters provided to `ListConnections` except `
|
1102
1118
|
# page_size` and `page_token` must match the initial call that provided the sync
|
1103
1119
|
# token. Sync tokens expire after seven days, after which a full sync request
|
1104
1120
|
# without a `sync_token` should be made.
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
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.15.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-05
|
11
|
+
date: 2021-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.4'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for People API V1. Simple REST clients
|
28
34
|
are Ruby client libraries that provide access to Google services via their HTTP
|
29
35
|
REST API endpoints. These libraries are generated and updated automatically based
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-people_v1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-people_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-people_v1/v0.15.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-people_v1
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|