google-apis-people_v1 0.19.0 → 0.20.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: 040057a445b4d154d11e5ceee608ce607862769a20ae30069b0be86fe572e826
4
- data.tar.gz: c3d5873b94dfe2556969a8c689d22843d07647254716698a196cbf23b4866120
3
+ metadata.gz: 8002b470676be9150290434fc9c8a7626e66a1344f20fa9004553c0f4cce327f
4
+ data.tar.gz: 2c20b6005b4f87b96a6a88ae9c09a94cc058f584c4f6c9e1446bbed82d1cc802
5
5
  SHA512:
6
- metadata.gz: 735edd1f948d277319e7dc8e4f421436e518d2c6f9e183247155fae83a24e13e10c86017bac5ee03e569f904f73e38bc6e6b52476079fb26add9ae9f572a50db
7
- data.tar.gz: a59249f35a8cbb6d64cc27aa42c3e6a028b4b8336ef2fd93517505466b99574ce476c404534aa706e3454c57bc4592757f7e4e7df4b7118ecd5611e8a083b179
6
+ metadata.gz: 3c24436e4d2c9eb4567455748ee1111b58617975ec2d26fe5cdf97a882ff252b6becbf5d4182a1df7884293676b62bc8faa5aa75797aa7f4c10eab17853eb363
7
+ data.tar.gz: e7adcbf669045c4f67063805245605a8814c382ff1ee21df3f6b03bae9bca5f9941e313c261efdbc34d35142e4179669f16ba96d4fc55ded580681544f9c7f79
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.19.0 (2021-08-05)
4
8
 
5
9
  * Regenerated from discovery document revision 20210803
@@ -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.19.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 = "20210803"
25
+ REVISION = "20210830"
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
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.19.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-08-09 00:00:00.000000000 Z
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.19.0
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: []