google-apis-people_v1 0.18.0 → 0.22.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: 474e9e451d75217f8758710b40b6dc05c24b4657ce23aafb7638568a82ac6de2
4
- data.tar.gz: a91be56d3973d68bf7b30d199406cbded1e990600a8f8e21fff3c8e3a46a6aca
3
+ metadata.gz: f2ecf0a84719f38fe3fe5035bf69a1b66a4de470d2d73151cd22ee014446ecc3
4
+ data.tar.gz: 6f3dd62e679a70f6fa3cae91b78aa7ae07ac97d65f9570ecc34722c5ca806c0c
5
5
  SHA512:
6
- metadata.gz: 35fd4be9afc29988c422a6977586578bf028e7d6682597e91d61eda96fbcada028bb2f84c6c1628248098a0cecfa2361d49bde6d28686fa8ec39e31f761de9ec
7
- data.tar.gz: '039c289acabe9305bc748afb5767c8b6189e84333f76cabb1ca8e220cce50e3e68ab10b0a2aab3da398ad4bf65d9ed67041f323f5bd2fd22290bbec565ef7ed0'
6
+ metadata.gz: 8e0df44596f8b8ea0ccf5c151f9add4b0c61249ae3e25c9b9a871137522dc4df88098876071eed0edf24823a93422471264ba7ac9a61e4976607d63f0eb34d61
7
+ data.tar.gz: 4369d6eaa342fc0802c9d242e9bb319fd41e8a3800d634b9ab5f2049d1c28f356dd452a1bf2838b0f806a5aeab950722bff202f0c571ccb097bfe3debc975323
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-people_v1
2
2
 
3
+ ### v0.22.0 (2021-10-21)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.21.0 (2021-09-07)
8
+
9
+ * Regenerated from discovery document revision 20210903
10
+
11
+ ### v0.20.0 (2021-09-01)
12
+
13
+ * Regenerated from discovery document revision 20210830
14
+
15
+ ### v0.19.0 (2021-08-05)
16
+
17
+ * Regenerated from discovery document revision 20210803
18
+
3
19
  ### v0.18.0 (2021-07-28)
4
20
 
5
21
  * Regenerated from discovery document revision 20210726
data/OVERVIEW.md CHANGED
@@ -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/master/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/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
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
 
@@ -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.18.0"
19
+ GEM_VERSION = "0.22.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 = "20210726"
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
@@ -385,15 +392,7 @@ module Google
385
392
  # behavior at `otherContacts.list`.
386
393
  # @param [Array<String>, String] sources
387
394
  # Optional. A mask of what source types to return. Defaults to
388
- # READ_SOURCE_TYPE_CONTACT if not set. If READ_SOURCE_TYPE_CONTACT is used,
389
- # valid values for the readMask are: * emailAddresses * metadata * names *
390
- # phoneNumbers * photos If READ_SOURCE_TYPE_PROFILE is used, valid values for
391
- # the readMask are: * addresses * ageRanges * biographies * birthdays *
392
- # calendarUrls * clientData * coverPhotos * emailAddresses * events *
393
- # externalIds * genders * imClients * interests * locales * locations *
394
- # memberships * metadata * miscKeywords * names * nicknames * occupations *
395
- # organizations * phoneNumbers * photos * relations * sipAddresses * skills *
396
- # urls * userDefined
395
+ # READ_SOURCE_TYPE_CONTACT if not set.
397
396
  # @param [String] sync_token
398
397
  # Optional. A sync token, received from a previous response `next_sync_token`
399
398
  # Provide this to retrieve only the resources changed since the last request.
@@ -880,7 +879,7 @@ module Google
880
879
  # Provides a list of contacts in the authenticated user's grouped contacts that
881
880
  # matches the search query. The query matches on a contact's `names`, `nickNames`
882
881
  # , `emailAddresses`, `phoneNumbers`, and `organizations` fields that are from
883
- # the CONTACT" source. **IMPORTANT**: Before searching, clients should send a
882
+ # the CONTACT source. **IMPORTANT**: Before searching, clients should send a
884
883
  # warmup request with an empty query to update the cache. See https://developers.
885
884
  # google.com/people/v1/contacts#search_the_users_contacts
886
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.18.0
4
+ version: 0.22.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-08-02 00:00:00.000000000 Z
11
+ date: 2021-10-27 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/master/generated/google-apis-people_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-people_v1/v0.18.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-people_v1
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.22.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: