google-apis-people_v1 0.8.0 → 0.9.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abc7aff9bafebe345b0b19c4797e1687a15c5d2a6173da1898ea6609a9a73c8f
|
4
|
+
data.tar.gz: a212950118a793824a2f5b2fbbad70df97045d0266cbb14af2f05967c37a6426
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1cc0d9fcb5fc33348b172b056c7e6f6c334b1bba5f8f18a14d4a0ec78c980836849e74478b592bd926a99e8165ac9ff54055fbd76ed08055d6b27d2608813df7
|
7
|
+
data.tar.gz: 24bb8e2163dad4bd1bd7c73ceccbe66f3d6641c11f86c676178f4ca167b35696ab7eea91b0d56b88f028a7aaeb8aeefe3de89e8c2eafcade99fd2ed5477757fa
|
data/CHANGELOG.md
CHANGED
@@ -1364,6 +1364,11 @@ module Google
|
|
1364
1364
|
# @return [Array<Google::Apis::PeopleV1::Person>]
|
1365
1365
|
attr_accessor :other_contacts
|
1366
1366
|
|
1367
|
+
# The total number of other contacts in the list without pagination.
|
1368
|
+
# Corresponds to the JSON property `totalSize`
|
1369
|
+
# @return [Fixnum]
|
1370
|
+
attr_accessor :total_size
|
1371
|
+
|
1367
1372
|
def initialize(**args)
|
1368
1373
|
update!(**args)
|
1369
1374
|
end
|
@@ -1373,6 +1378,7 @@ module Google
|
|
1373
1378
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1374
1379
|
@next_sync_token = args[:next_sync_token] if args.key?(:next_sync_token)
|
1375
1380
|
@other_contacts = args[:other_contacts] if args.key?(:other_contacts)
|
1381
|
+
@total_size = args[:total_size] if args.key?(:total_size)
|
1376
1382
|
end
|
1377
1383
|
end
|
1378
1384
|
|
@@ -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.9.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210419"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -838,6 +838,7 @@ module Google
|
|
838
838
|
property :next_sync_token, as: 'nextSyncToken'
|
839
839
|
collection :other_contacts, as: 'otherContacts', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation
|
840
840
|
|
841
|
+
property :total_size, as: 'totalSize'
|
841
842
|
end
|
842
843
|
end
|
843
844
|
|
@@ -408,7 +408,7 @@ module Google
|
|
408
408
|
# source.
|
409
409
|
# @param [Fixnum] page_size
|
410
410
|
# Optional. The number of results to return. Defaults to 10 if field is not set,
|
411
|
-
# or set to 0.
|
411
|
+
# or set to 0. Values greater than 10 will be capped to 10.
|
412
412
|
# @param [String] query
|
413
413
|
# Required. The plain-text query for the request. The query is used to match
|
414
414
|
# prefix phrases of the fields on a person. For example, a person with name "foo
|
@@ -844,7 +844,8 @@ module Google
|
|
844
844
|
# , `emailAddresses`, `phoneNumbers`, and `organizations` fields that are from
|
845
845
|
# the CONTACT" source.
|
846
846
|
# @param [Fixnum] page_size
|
847
|
-
# Optional. The number of results to return.
|
847
|
+
# Optional. The number of results to return. Defaults to 10 if field is not set,
|
848
|
+
# or set to 0. Values greater than 10 will be capped to 10.
|
848
849
|
# @param [String] query
|
849
850
|
# Required. The plain-text query for the request. The query is used to match
|
850
851
|
# prefix phrases of the fields on a person. For example, a person with name "foo
|
@@ -858,6 +859,9 @@ module Google
|
|
858
859
|
# imClients * interests * locales * locations * memberships * metadata *
|
859
860
|
# miscKeywords * names * nicknames * occupations * organizations * phoneNumbers *
|
860
861
|
# photos * relations * sipAddresses * skills * urls * userDefined
|
862
|
+
# @param [Array<String>, String] sources
|
863
|
+
# Optional. A mask of what source types to return. Defaults to
|
864
|
+
# READ_SOURCE_TYPE_CONTACT if not set.
|
861
865
|
# @param [String] fields
|
862
866
|
# Selector specifying which fields to include in a partial response.
|
863
867
|
# @param [String] quota_user
|
@@ -875,13 +879,14 @@ module Google
|
|
875
879
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
876
880
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
877
881
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
878
|
-
def search_person_contacts(page_size: nil, query: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
882
|
+
def search_person_contacts(page_size: nil, query: nil, read_mask: nil, sources: nil, fields: nil, quota_user: nil, options: nil, &block)
|
879
883
|
command = make_simple_command(:get, 'v1/people:searchContacts', options)
|
880
884
|
command.response_representation = Google::Apis::PeopleV1::SearchResponse::Representation
|
881
885
|
command.response_class = Google::Apis::PeopleV1::SearchResponse
|
882
886
|
command.query['pageSize'] = page_size unless page_size.nil?
|
883
887
|
command.query['query'] = query unless query.nil?
|
884
888
|
command.query['readMask'] = read_mask unless read_mask.nil?
|
889
|
+
command.query['sources'] = sources unless sources.nil?
|
885
890
|
command.query['fields'] = fields unless fields.nil?
|
886
891
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
887
892
|
execute_or_queue_command(command, &block)
|
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.9.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-
|
11
|
+
date: 2021-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
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.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-people_v1/v0.9.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-people_v1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
72
|
+
rubygems_version: 3.2.17
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for People API V1
|