google-apis-people_v1 0.16.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8002b470676be9150290434fc9c8a7626e66a1344f20fa9004553c0f4cce327f
|
4
|
+
data.tar.gz: 2c20b6005b4f87b96a6a88ae9c09a94cc058f584c4f6c9e1446bbed82d1cc802
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c24436e4d2c9eb4567455748ee1111b58617975ec2d26fe5cdf97a882ff252b6becbf5d4182a1df7884293676b62bc8faa5aa75797aa7f4c10eab17853eb363
|
7
|
+
data.tar.gz: e7adcbf669045c4f67063805245605a8814c382ff1ee21df3f6b03bae9bca5f9941e313c261efdbc34d35142e4179669f16ba96d4fc55ded580681544f9c7f79
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-people_v1
|
2
2
|
|
3
|
+
### v0.20.0 (2021-09-01)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210830
|
6
|
+
|
7
|
+
### v0.19.0 (2021-08-05)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210803
|
10
|
+
|
11
|
+
### v0.18.0 (2021-07-28)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210726
|
14
|
+
|
15
|
+
### v0.17.0 (2021-07-22)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210720
|
18
|
+
|
3
19
|
### v0.16.0 (2021-07-16)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210714
|
@@ -177,7 +177,9 @@ module Google
|
|
177
177
|
end
|
178
178
|
end
|
179
179
|
|
180
|
-
#
|
180
|
+
# If not successful, returns BatchCreateContactsErrorDetails which contains a
|
181
|
+
# list of errors for each invalid contact. The response to a request to create a
|
182
|
+
# batch of contacts.
|
181
183
|
class BatchCreateContactsResponse
|
182
184
|
include Google::Apis::Core::Hashable
|
183
185
|
|
@@ -289,7 +291,9 @@ module Google
|
|
289
291
|
end
|
290
292
|
end
|
291
293
|
|
292
|
-
#
|
294
|
+
# If not successful, returns BatchUpdateContactsErrorDetails, a list of errors
|
295
|
+
# corresponding to each contact. The response to a request to update a batch of
|
296
|
+
# contacts.
|
293
297
|
class BatchUpdateContactsResponse
|
294
298
|
include Google::Apis::Core::Hashable
|
295
299
|
|
@@ -1005,8 +1009,8 @@ module Google
|
|
1005
1009
|
class FieldMetadata
|
1006
1010
|
include Google::Apis::Core::Hashable
|
1007
1011
|
|
1008
|
-
# True if the field is the primary field
|
1009
|
-
# field.
|
1012
|
+
# Output only. True if the field is the primary field for all sources in the
|
1013
|
+
# person. Each person will have at most one field with `primary` set to true.
|
1010
1014
|
# Corresponds to the JSON property `primary`
|
1011
1015
|
# @return [Boolean]
|
1012
1016
|
attr_accessor :primary
|
@@ -1017,6 +1021,13 @@ module Google
|
|
1017
1021
|
# @return [Google::Apis::PeopleV1::Source]
|
1018
1022
|
attr_accessor :source
|
1019
1023
|
|
1024
|
+
# True if the field is the primary field for the source. Each source must have
|
1025
|
+
# at most one field with `source_primary` set to true.
|
1026
|
+
# Corresponds to the JSON property `sourcePrimary`
|
1027
|
+
# @return [Boolean]
|
1028
|
+
attr_accessor :source_primary
|
1029
|
+
alias_method :source_primary?, :source_primary
|
1030
|
+
|
1020
1031
|
# Output only. True if the field is verified; false if the field is unverified.
|
1021
1032
|
# A verified field is typically a name, email address, phone number, or website
|
1022
1033
|
# that has been confirmed to be owned by the person.
|
@@ -1033,6 +1044,7 @@ module Google
|
|
1033
1044
|
def update!(**args)
|
1034
1045
|
@primary = args[:primary] if args.key?(:primary)
|
1035
1046
|
@source = args[:source] if args.key?(:source)
|
1047
|
+
@source_primary = args[:source_primary] if args.key?(:source_primary)
|
1036
1048
|
@verified = args[:verified] if args.key?(:verified)
|
1037
1049
|
end
|
1038
1050
|
end
|
@@ -1066,8 +1078,8 @@ module Google
|
|
1066
1078
|
class Gender
|
1067
1079
|
include Google::Apis::Core::Hashable
|
1068
1080
|
|
1069
|
-
#
|
1070
|
-
#
|
1081
|
+
# Free form text field for pronouns that should be used to address the person.
|
1082
|
+
# Common values are: * `he`/`him` * `she`/`her` * `they`/`them`
|
1071
1083
|
# Corresponds to the JSON property `addressMeAs`
|
1072
1084
|
# @return [String]
|
1073
1085
|
attr_accessor :address_me_as
|
@@ -1769,6 +1781,11 @@ module Google
|
|
1769
1781
|
class Organization
|
1770
1782
|
include Google::Apis::Core::Hashable
|
1771
1783
|
|
1784
|
+
# The person's cost center at the organization.
|
1785
|
+
# Corresponds to the JSON property `costCenter`
|
1786
|
+
# @return [String]
|
1787
|
+
attr_accessor :cost_center
|
1788
|
+
|
1772
1789
|
# True if the organization is the person's current organization; false if the
|
1773
1790
|
# organization is a past organization.
|
1774
1791
|
# Corresponds to the JSON property `current`
|
@@ -1804,6 +1821,12 @@ module Google
|
|
1804
1821
|
# @return [String]
|
1805
1822
|
attr_accessor :formatted_type
|
1806
1823
|
|
1824
|
+
# The person's full-time equivalent millipercent within the organization (100000
|
1825
|
+
# = 100%).
|
1826
|
+
# Corresponds to the JSON property `fullTimeEquivalentMillipercent`
|
1827
|
+
# @return [Fixnum]
|
1828
|
+
attr_accessor :full_time_equivalent_millipercent
|
1829
|
+
|
1807
1830
|
# The person's job description at the organization.
|
1808
1831
|
# Corresponds to the JSON property `jobDescription`
|
1809
1832
|
# @return [String]
|
@@ -1864,11 +1887,13 @@ module Google
|
|
1864
1887
|
|
1865
1888
|
# Update properties of this object
|
1866
1889
|
def update!(**args)
|
1890
|
+
@cost_center = args[:cost_center] if args.key?(:cost_center)
|
1867
1891
|
@current = args[:current] if args.key?(:current)
|
1868
1892
|
@department = args[:department] if args.key?(:department)
|
1869
1893
|
@domain = args[:domain] if args.key?(:domain)
|
1870
1894
|
@end_date = args[:end_date] if args.key?(:end_date)
|
1871
1895
|
@formatted_type = args[:formatted_type] if args.key?(:formatted_type)
|
1896
|
+
@full_time_equivalent_millipercent = args[:full_time_equivalent_millipercent] if args.key?(:full_time_equivalent_millipercent)
|
1872
1897
|
@job_description = args[:job_description] if args.key?(:job_description)
|
1873
1898
|
@location = args[:location] if args.key?(:location)
|
1874
1899
|
@metadata = args[:metadata] if args.key?(:metadata)
|
@@ -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.20.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210830"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -736,6 +736,7 @@ module Google
|
|
736
736
|
property :primary, as: 'primary'
|
737
737
|
property :source, as: 'source', class: Google::Apis::PeopleV1::Source, decorator: Google::Apis::PeopleV1::Source::Representation
|
738
738
|
|
739
|
+
property :source_primary, as: 'sourcePrimary'
|
739
740
|
property :verified, as: 'verified'
|
740
741
|
end
|
741
742
|
end
|
@@ -949,12 +950,14 @@ module Google
|
|
949
950
|
class Organization
|
950
951
|
# @private
|
951
952
|
class Representation < Google::Apis::Core::JsonRepresentation
|
953
|
+
property :cost_center, as: 'costCenter'
|
952
954
|
property :current, as: 'current'
|
953
955
|
property :department, as: 'department'
|
954
956
|
property :domain, as: 'domain'
|
955
957
|
property :end_date, as: 'endDate', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation
|
956
958
|
|
957
959
|
property :formatted_type, as: 'formattedType'
|
960
|
+
property :full_time_equivalent_millipercent, as: 'fullTimeEquivalentMillipercent'
|
958
961
|
property :job_description, as: 'jobDescription'
|
959
962
|
property :location, as: 'location'
|
960
963
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
@@ -361,8 +361,10 @@ module Google
|
|
361
361
|
# is specified, resources deleted since the last sync will be returned as a
|
362
362
|
# person with `PersonMetadata.deleted` set to true. When the `page_token` or `
|
363
363
|
# sync_token` is specified, all other request parameters must match the first
|
364
|
-
# call.
|
365
|
-
#
|
364
|
+
# call. Writes may have a propagation delay of several minutes for sync requests.
|
365
|
+
# Incremental syncs are not intended for read-after-write use cases. See
|
366
|
+
# example usage at [List the user's other contacts that have changed](/people/v1/
|
367
|
+
# other-contacts#list_the_users_other_contacts_that_have_changed).
|
366
368
|
# @param [Fixnum] page_size
|
367
369
|
# Optional. The number of "Other contacts" to include in the response. Valid
|
368
370
|
# values are between 1 and 1000, inclusive. Defaults to 100 if not set or set to
|
@@ -374,8 +376,15 @@ module Google
|
|
374
376
|
# provided the page token.
|
375
377
|
# @param [String] read_mask
|
376
378
|
# Required. A field mask to restrict which fields on each person are returned.
|
377
|
-
# Multiple fields can be specified by separating them with commas.
|
378
|
-
# are
|
379
|
+
# Multiple fields can be specified by separating them with commas. What values
|
380
|
+
# are valid depend on what ReadSourceType is used. If READ_SOURCE_TYPE_CONTACT
|
381
|
+
# is used, valid values are: * emailAddresses * metadata * names * phoneNumbers *
|
382
|
+
# photos If READ_SOURCE_TYPE_PROFILE is used, valid values are: * addresses *
|
383
|
+
# ageRanges * biographies * birthdays * calendarUrls * clientData * coverPhotos *
|
384
|
+
# emailAddresses * events * externalIds * genders * imClients * interests *
|
385
|
+
# locales * locations * memberships * metadata * miscKeywords * names *
|
386
|
+
# nicknames * occupations * organizations * phoneNumbers * photos * relations *
|
387
|
+
# sipAddresses * skills * urls * userDefined
|
379
388
|
# @param [Boolean] request_sync_token
|
380
389
|
# Optional. Whether the response should return `next_sync_token` on the last
|
381
390
|
# page of results. It can be used to get incremental changes since the last
|
@@ -798,8 +807,10 @@ module Google
|
|
798
807
|
# user's domain directory. When the `sync_token` is specified, resources deleted
|
799
808
|
# since the last sync will be returned as a person with `PersonMetadata.deleted`
|
800
809
|
# set to true. When the `page_token` or `sync_token` is specified, all other
|
801
|
-
# request parameters must match the first call.
|
802
|
-
#
|
810
|
+
# request parameters must match the first call. Writes may have a propagation
|
811
|
+
# delay of several minutes for sync requests. Incremental syncs are not intended
|
812
|
+
# for read-after-write use cases. See example usage at [List the directory
|
813
|
+
# people that have changed](/people/v1/directory#
|
803
814
|
# list_the_directory_people_that_have_changed).
|
804
815
|
# @param [Array<String>, String] merge_sources
|
805
816
|
# Optional. Additional data to merge into the directory sources if they are
|
@@ -1088,8 +1099,10 @@ module Google
|
|
1088
1099
|
# quota is fixed and can not be increased. When the `sync_token` is specified,
|
1089
1100
|
# resources deleted since the last sync will be returned as a person with `
|
1090
1101
|
# PersonMetadata.deleted` set to true. When the `page_token` or `sync_token` is
|
1091
|
-
# specified, all other request parameters must match the first call.
|
1092
|
-
#
|
1102
|
+
# specified, all other request parameters must match the first call. Writes may
|
1103
|
+
# have a propagation delay of several minutes for sync requests. Incremental
|
1104
|
+
# syncs are not intended for read-after-write use cases. See example usage at [
|
1105
|
+
# List the user's contacts that have changed](/people/v1/contacts#
|
1093
1106
|
# list_the_users_contacts_that_have_changed).
|
1094
1107
|
# @param [String] resource_name
|
1095
1108
|
# Required. The resource name to return connections for. Only `people/me` is
|
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.20.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-09-06 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/master/generated/google-apis-people_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-people_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-people_v1/v0.20.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-people_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|