google-apis-people_v1 0.17.0 → 0.21.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: e342b31e596b78efef9822c31b11e39f21be7c7988a7a830ec0ae454d9a7a8ef
4
- data.tar.gz: bbe8539726d3bbd045716d9fc58b4b6f749b882aa7d5b6bf23db0b452631ea47
3
+ metadata.gz: 33cec8d8374f797235ce49a5a85847d9e82e9ca9759e5b1a698f3ce09a8fc5f6
4
+ data.tar.gz: 42b3067c5daba1abceb320eeacfb299acf00d463c336005c331ff56c2f1c5784
5
5
  SHA512:
6
- metadata.gz: e8403207f0cd54183aaa93287189a4bec73cb92dffc20e2bd5cfd4538341eafb63329c10815f1bfeadd0cee4d030e21f9b433c0ff67582aadc42e9ef2580b751
7
- data.tar.gz: f1b4ccf1d623f7836f2a505588dfd519543d17026a0b57da8adeecc93985c8769624002c47ab054ad895772866d84c8423d2103c2b8eb27d94c2ef9871d13a34
6
+ metadata.gz: 181fab9eb9d59816f4b62d1c0a9e25b46d2f7de03062bb1b35e00328e0804f5c6eac8aaf763ae582594e32df31294b266a8224b08a89bc822daf1b15587a5203
7
+ data.tar.gz: 2e6731b34479d3ca78f4187e62e9446fb7951d68e07384ddf3156bea6ac7c4c984419412eec95aae17823b6e3ddd52af203b4be0be71608dcf327d0ced6b3a67
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-people_v1
2
2
 
3
+ ### v0.21.0 (2021-09-07)
4
+
5
+ * Regenerated from discovery document revision 20210903
6
+
7
+ ### v0.20.0 (2021-09-01)
8
+
9
+ * Regenerated from discovery document revision 20210830
10
+
11
+ ### v0.19.0 (2021-08-05)
12
+
13
+ * Regenerated from discovery document revision 20210803
14
+
15
+ ### v0.18.0 (2021-07-28)
16
+
17
+ * Regenerated from discovery document revision 20210726
18
+
3
19
  ### v0.17.0 (2021-07-22)
4
20
 
5
21
  * Regenerated from discovery document revision 20210720
@@ -177,7 +177,9 @@ module Google
177
177
  end
178
178
  end
179
179
 
180
- # The response to a request to create a batch of contacts.
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
- # The response to a request to create a batch of contacts.
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,7 +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 for the person.
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.
1009
1014
  # Corresponds to the JSON property `primary`
1010
1015
  # @return [Boolean]
1011
1016
  attr_accessor :primary
@@ -1016,7 +1021,8 @@ module Google
1016
1021
  # @return [Google::Apis::PeopleV1::Source]
1017
1022
  attr_accessor :source
1018
1023
 
1019
- # True if the field is the primary field for the source.
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.
1020
1026
  # Corresponds to the JSON property `sourcePrimary`
1021
1027
  # @return [Boolean]
1022
1028
  attr_accessor :source_primary
@@ -1072,8 +1078,8 @@ module Google
1072
1078
  class Gender
1073
1079
  include Google::Apis::Core::Hashable
1074
1080
 
1075
- # The type of pronouns that should be used to address the person. The value can
1076
- # be custom or one of these predefined values: * `male` * `female` * `other`
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`
1077
1083
  # Corresponds to the JSON property `addressMeAs`
1078
1084
  # @return [String]
1079
1085
  attr_accessor :address_me_as
@@ -1775,6 +1781,11 @@ module Google
1775
1781
  class Organization
1776
1782
  include Google::Apis::Core::Hashable
1777
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
+
1778
1789
  # True if the organization is the person's current organization; false if the
1779
1790
  # organization is a past organization.
1780
1791
  # Corresponds to the JSON property `current`
@@ -1810,6 +1821,12 @@ module Google
1810
1821
  # @return [String]
1811
1822
  attr_accessor :formatted_type
1812
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
+
1813
1830
  # The person's job description at the organization.
1814
1831
  # Corresponds to the JSON property `jobDescription`
1815
1832
  # @return [String]
@@ -1870,11 +1887,13 @@ module Google
1870
1887
 
1871
1888
  # Update properties of this object
1872
1889
  def update!(**args)
1890
+ @cost_center = args[:cost_center] if args.key?(:cost_center)
1873
1891
  @current = args[:current] if args.key?(:current)
1874
1892
  @department = args[:department] if args.key?(:department)
1875
1893
  @domain = args[:domain] if args.key?(:domain)
1876
1894
  @end_date = args[:end_date] if args.key?(:end_date)
1877
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)
1878
1897
  @job_description = args[:job_description] if args.key?(:job_description)
1879
1898
  @location = args[:location] if args.key?(:location)
1880
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.17.0"
19
+ GEM_VERSION = "0.21.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 = "20210720"
25
+ REVISION = "20210903"
26
26
  end
27
27
  end
28
28
  end
@@ -950,12 +950,14 @@ module Google
950
950
  class Organization
951
951
  # @private
952
952
  class Representation < Google::Apis::Core::JsonRepresentation
953
+ property :cost_center, as: 'costCenter'
953
954
  property :current, as: 'current'
954
955
  property :department, as: 'department'
955
956
  property :domain, as: 'domain'
956
957
  property :end_date, as: 'endDate', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation
957
958
 
958
959
  property :formatted_type, as: 'formattedType'
960
+ property :full_time_equivalent_millipercent, as: 'fullTimeEquivalentMillipercent'
959
961
  property :job_description, as: 'jobDescription'
960
962
  property :location, as: 'location'
961
963
  property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
@@ -376,8 +376,15 @@ module Google
376
376
  # provided the page token.
377
377
  # @param [String] read_mask
378
378
  # Required. A field mask to restrict which fields on each person are returned.
379
- # Multiple fields can be specified by separating them with commas. Valid values
380
- # are: * emailAddresses * metadata * names * phoneNumbers * photos
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
381
388
  # @param [Boolean] request_sync_token
382
389
  # Optional. Whether the response should return `next_sync_token` on the last
383
390
  # page of results. It can be used to get incremental changes since the last
@@ -872,7 +879,7 @@ module Google
872
879
  # Provides a list of contacts in the authenticated user's grouped contacts that
873
880
  # matches the search query. The query matches on a contact's `names`, `nickNames`
874
881
  # , `emailAddresses`, `phoneNumbers`, and `organizations` fields that are from
875
- # the CONTACT" source. **IMPORTANT**: Before searching, clients should send a
882
+ # the CONTACT source. **IMPORTANT**: Before searching, clients should send a
876
883
  # warmup request with an empty query to update the cache. See https://developers.
877
884
  # google.com/people/v1/contacts#search_the_users_contacts
878
885
  # @param [Fixnum] page_size
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.17.0
4
+ version: 0.21.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-07-26 00:00:00.000000000 Z
11
+ date: 2021-09-13 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.17.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-people_v1/v0.21.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: []