google-api-client 0.10.2 → 0.10.3
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 +4 -4
- data/CHANGELOG.md +25 -0
- data/MIGRATING.md +22 -7
- data/README.md +4 -8
- data/api_names.yaml +1210 -37815
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +32 -0
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +144 -0
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +86 -0
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +90 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +764 -764
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +180 -180
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +421 -421
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +1 -0
- data/generated/google/apis/admin_directory_v1/classes.rb +1 -0
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +187 -187
- data/generated/google/apis/analyticsreporting_v4/representations.rb +42 -42
- data/generated/google/apis/appengine_v1.rb +40 -0
- data/generated/google/apis/appengine_v1/classes.rb +2251 -0
- data/generated/google/apis/appengine_v1/representations.rb +858 -0
- data/generated/google/apis/appengine_v1/service.rb +894 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +11 -6
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +26 -0
- data/generated/google/apis/books_v1/representations.rb +15 -0
- data/generated/google/apis/books_v1/service.rb +4 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +638 -637
- data/generated/google/apis/cloudbuild_v1/representations.rb +110 -110
- data/generated/google/apis/cloudbuild_v1/service.rb +139 -139
- data/generated/google/apis/clouddebugger_v2.rb +3 -3
- data/generated/google/apis/clouddebugger_v2/classes.rb +131 -131
- data/generated/google/apis/clouddebugger_v2/representations.rb +25 -25
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +36 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +590 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +252 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +350 -0
- data/generated/google/apis/cloudfunctions_v1.rb +35 -0
- data/generated/google/apis/cloudfunctions_v1/classes.rb +98 -0
- data/generated/google/apis/cloudfunctions_v1/representations.rb +57 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +89 -0
- data/generated/google/apis/cloudkms_v1/classes.rb +277 -270
- data/generated/google/apis/cloudkms_v1/representations.rb +73 -73
- data/generated/google/apis/cloudkms_v1/service.rb +194 -194
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1147 -1144
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +188 -188
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +513 -936
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +307 -916
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +63 -285
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +333 -681
- data/generated/google/apis/cloudtrace_v1/classes.rb +38 -38
- data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
- data/generated/google/apis/cloudtrace_v1/service.rb +16 -16
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +32 -7
- data/generated/google/apis/compute_beta/representations.rb +2 -0
- data/generated/google/apis/compute_beta/service.rb +11 -11
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +95 -2
- data/generated/google/apis/compute_v1/representations.rb +33 -0
- data/generated/google/apis/dataflow_v1b3/classes.rb +3333 -3333
- data/generated/google/apis/dataflow_v1b3/representations.rb +759 -759
- data/generated/google/apis/dataflow_v1b3/service.rb +154 -154
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1097 -1097
- data/generated/google/apis/dataproc_v1/representations.rb +200 -200
- data/generated/google/apis/dataproc_v1/service.rb +356 -356
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +701 -690
- data/generated/google/apis/datastore_v1/representations.rb +160 -160
- data/generated/google/apis/datastore_v1/service.rb +52 -52
- data/generated/google/apis/deploymentmanager_v2/classes.rb +4 -0
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +158 -35
- data/generated/google/apis/drive_v2/representations.rb +39 -0
- data/generated/google/apis/drive_v2/service.rb +4 -4
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +162 -33
- data/generated/google/apis/drive_v3/representations.rb +39 -0
- data/generated/google/apis/drive_v3/service.rb +4 -4
- data/generated/google/apis/firebasedynamiclinks_v1.rb +35 -0
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +466 -0
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +222 -0
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +95 -0
- data/generated/google/apis/firebaserules_v1.rb +41 -0
- data/generated/google/apis/firebaserules_v1/classes.rb +425 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +222 -0
- data/generated/google/apis/firebaserules_v1/service.rb +495 -0
- data/generated/google/apis/games_v1/classes.rb +4 -0
- data/generated/google/apis/genomics_v1.rb +7 -7
- data/generated/google/apis/genomics_v1/classes.rb +2336 -2335
- data/generated/google/apis/genomics_v1/representations.rb +387 -387
- data/generated/google/apis/genomics_v1/service.rb +1187 -1187
- data/generated/google/apis/gmail_v1/classes.rb +3 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +123 -117
- data/generated/google/apis/iam_v1/representations.rb +33 -33
- data/generated/google/apis/iam_v1/service.rb +109 -109
- data/generated/google/apis/identitytoolkit_v3/classes.rb +5 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
- data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +4 -4
- data/generated/google/apis/language_v1.rb +36 -0
- data/generated/google/apis/language_v1/classes.rb +757 -0
- data/generated/google/apis/language_v1/representations.rb +338 -0
- data/generated/google/apis/language_v1/service.rb +185 -0
- data/generated/google/apis/language_v1beta1/classes.rb +407 -407
- data/generated/google/apis/language_v1beta1/representations.rb +103 -103
- data/generated/google/apis/language_v1beta1/service.rb +45 -45
- data/generated/google/apis/logging_v2.rb +46 -0
- data/generated/google/apis/logging_v2/classes.rb +1271 -0
- data/generated/google/apis/logging_v2/representations.rb +421 -0
- data/generated/google/apis/logging_v2/service.rb +1569 -0
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +886 -886
- data/generated/google/apis/logging_v2beta1/representations.rb +132 -132
- data/generated/google/apis/logging_v2beta1/service.rb +235 -235
- data/generated/google/apis/manufacturers_v1/classes.rb +147 -147
- data/generated/google/apis/manufacturers_v1/representations.rb +29 -29
- data/generated/google/apis/ml_v1.rb +34 -0
- data/generated/google/apis/ml_v1/classes.rb +1617 -0
- data/generated/google/apis/ml_v1/representations.rb +498 -0
- data/generated/google/apis/ml_v1/service.rb +769 -0
- data/generated/google/apis/monitoring_v3.rb +4 -4
- data/generated/google/apis/monitoring_v3/classes.rb +630 -630
- data/generated/google/apis/monitoring_v3/representations.rb +134 -134
- data/generated/google/apis/monitoring_v3/service.rb +240 -240
- data/generated/google/apis/pagespeedonline_v2/classes.rb +1 -0
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +639 -639
- data/generated/google/apis/partners_v2/representations.rb +168 -168
- data/generated/google/apis/partners_v2/service.rb +381 -381
- data/generated/google/apis/people_v1.rb +10 -10
- data/generated/google/apis/people_v1/classes.rb +524 -524
- data/generated/google/apis/people_v1/representations.rb +143 -143
- data/generated/google/apis/people_v1/service.rb +30 -30
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +454 -444
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +90 -90
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +110 -110
- data/generated/google/apis/pubsub_v1/classes.rb +175 -173
- data/generated/google/apis/pubsub_v1/representations.rb +53 -53
- data/generated/google/apis/pubsub_v1/service.rb +210 -210
- data/generated/google/apis/replicapool_v1beta2/classes.rb +2 -0
- data/generated/google/apis/runtimeconfig_v1.rb +38 -0
- data/generated/google/apis/runtimeconfig_v1/classes.rb +252 -0
- data/generated/google/apis/runtimeconfig_v1/representations.rb +98 -0
- data/generated/google/apis/runtimeconfig_v1/service.rb +176 -0
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +6 -6
- data/generated/google/apis/script_v1/representations.rb +1 -1
- data/generated/google/apis/searchconsole_v1.rb +31 -0
- data/generated/google/apis/searchconsole_v1/classes.rb +205 -0
- data/generated/google/apis/searchconsole_v1/representations.rb +129 -0
- data/generated/google/apis/searchconsole_v1/service.rb +88 -0
- data/generated/google/apis/servicecontrol_v1.rb +38 -0
- data/generated/google/apis/servicecontrol_v1/classes.rb +1675 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +601 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +337 -0
- data/generated/google/apis/servicemanagement_v1.rb +45 -0
- data/generated/google/apis/servicemanagement_v1/classes.rb +4934 -0
- data/generated/google/apis/servicemanagement_v1/representations.rb +1526 -0
- data/generated/google/apis/servicemanagement_v1/service.rb +860 -0
- data/generated/google/apis/serviceuser_v1.rb +42 -0
- data/generated/google/apis/serviceuser_v1/classes.rb +3746 -0
- data/generated/google/apis/serviceuser_v1/representations.rb +1041 -0
- data/generated/google/apis/serviceuser_v1/service.rb +214 -0
- data/generated/google/apis/sheets_v4.rb +3 -3
- data/generated/google/apis/sheets_v4/classes.rb +4390 -4390
- data/generated/google/apis/sheets_v4/representations.rb +381 -381
- data/generated/google/apis/sheets_v4/service.rb +48 -48
- data/generated/google/apis/slides_v1.rb +3 -3
- data/generated/google/apis/slides_v1/classes.rb +2860 -2860
- data/generated/google/apis/slides_v1/representations.rb +693 -693
- data/generated/google/apis/slides_v1/service.rb +30 -30
- data/generated/google/apis/sourcerepo_v1.rb +34 -0
- data/generated/google/apis/sourcerepo_v1/classes.rb +687 -0
- data/generated/google/apis/sourcerepo_v1/representations.rb +285 -0
- data/generated/google/apis/sourcerepo_v1/service.rb +291 -0
- data/generated/google/apis/spanner_v1.rb +35 -0
- data/generated/google/apis/spanner_v1/classes.rb +3294 -0
- data/generated/google/apis/spanner_v1/representations.rb +984 -0
- data/generated/google/apis/spanner_v1/service.rb +1504 -0
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +197 -196
- data/generated/google/apis/speech_v1beta1/representations.rb +53 -53
- data/generated/google/apis/speech_v1beta1/service.rb +27 -27
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +131 -0
- data/generated/google/apis/storage_v1/representations.rb +51 -0
- data/generated/google/apis/storage_v1/service.rb +182 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +732 -661
- data/generated/google/apis/storagetransfer_v1/representations.rb +132 -132
- data/generated/google/apis/storagetransfer_v1/service.rb +174 -197
- data/generated/google/apis/surveys_v2.rb +40 -0
- data/generated/google/apis/surveys_v2/classes.rb +806 -0
- data/generated/google/apis/surveys_v2/representations.rb +347 -0
- data/generated/google/apis/surveys_v2/service.rb +477 -0
- data/generated/google/apis/tagmanager_v2.rb +52 -0
- data/generated/google/apis/tagmanager_v2/classes.rb +2435 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +993 -0
- data/generated/google/apis/tagmanager_v2/service.rb +2865 -0
- data/generated/google/apis/toolresults_v1beta3.rb +34 -0
- data/generated/google/apis/toolresults_v1beta3/classes.rb +2160 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +729 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +1236 -0
- data/generated/google/apis/tracing_v1.rb +40 -0
- data/generated/google/apis/tracing_v1/classes.rb +664 -0
- data/generated/google/apis/tracing_v1/representations.rb +279 -0
- data/generated/google/apis/tracing_v1/service.rb +225 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1223 -1222
- data/generated/google/apis/vision_v1/representations.rb +234 -234
- data/generated/google/apis/vision_v1/service.rb +10 -10
- data/generated/google/apis/webfonts_v1.rb +33 -0
- data/generated/google/apis/webfonts_v1/classes.rb +113 -0
- data/generated/google/apis/webfonts_v1/representations.rb +62 -0
- data/generated/google/apis/webfonts_v1/service.rb +102 -0
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +31 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +6 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +41 -0
- data/generated/google/apis/youtube_v3/classes.rb +1 -0
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +76 -76
- data/generated/google/apis/youtubereporting_v1/representations.rb +25 -25
- data/generated/google/apis/youtubereporting_v1/service.rb +95 -95
- data/lib/google/apis/generator/annotator.rb +5 -4
- data/lib/google/apis/generator/templates/_class.tmpl +3 -0
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/samples/adsense.rb +99 -0
- data/samples/cli/lib/samples/analytics.rb +18 -0
- data/samples/cli/lib/samples/gmail.rb +33 -0
- data/samples/cli/lib/samples/vision.rb +69 -0
- metadata +89 -4
- data/sync.rb +0 -71
|
@@ -25,22 +25,19 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/people/
|
|
26
26
|
module PeopleV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
29
|
-
|
|
30
|
-
# Know the list of people in your circles, your age range, and language
|
|
31
|
-
AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'
|
|
28
|
+
REVISION = '20170330'
|
|
32
29
|
|
|
33
30
|
# View your basic profile info
|
|
34
31
|
AUTH_USERINFO_PROFILE = 'https://www.googleapis.com/auth/userinfo.profile'
|
|
35
32
|
|
|
36
|
-
# View your
|
|
37
|
-
|
|
33
|
+
# View your email addresses
|
|
34
|
+
AUTH_USER_EMAILS_READ = 'https://www.googleapis.com/auth/user.emails.read'
|
|
38
35
|
|
|
39
36
|
# Manage your contacts
|
|
40
37
|
AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts'
|
|
41
38
|
|
|
42
|
-
# View your
|
|
43
|
-
|
|
39
|
+
# View your street addresses
|
|
40
|
+
AUTH_USER_ADDRESSES_READ = 'https://www.googleapis.com/auth/user.addresses.read'
|
|
44
41
|
|
|
45
42
|
# View your email address
|
|
46
43
|
AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
|
|
@@ -48,11 +45,14 @@ module Google
|
|
|
48
45
|
# View your phone numbers
|
|
49
46
|
AUTH_USER_PHONENUMBERS_READ = 'https://www.googleapis.com/auth/user.phonenumbers.read'
|
|
50
47
|
|
|
48
|
+
# View your complete date of birth
|
|
49
|
+
AUTH_USER_BIRTHDAY_READ = 'https://www.googleapis.com/auth/user.birthday.read'
|
|
50
|
+
|
|
51
51
|
# View your contacts
|
|
52
52
|
AUTH_CONTACTS_READONLY = 'https://www.googleapis.com/auth/contacts.readonly'
|
|
53
53
|
|
|
54
|
-
#
|
|
55
|
-
|
|
54
|
+
# Know the list of people in your circles, your age range, and language
|
|
55
|
+
AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
end
|
|
@@ -22,20 +22,29 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module PeopleV1
|
|
24
24
|
|
|
25
|
-
#
|
|
26
|
-
class
|
|
25
|
+
# Metadata about a field.
|
|
26
|
+
class FieldMetadata
|
|
27
27
|
include Google::Apis::Core::Hashable
|
|
28
28
|
|
|
29
|
-
#
|
|
30
|
-
# Corresponds to the JSON property `
|
|
31
|
-
# @return [Google::Apis::PeopleV1::
|
|
32
|
-
attr_accessor :
|
|
29
|
+
# The source of a field.
|
|
30
|
+
# Corresponds to the JSON property `source`
|
|
31
|
+
# @return [Google::Apis::PeopleV1::Source]
|
|
32
|
+
attr_accessor :source
|
|
33
33
|
|
|
34
|
-
#
|
|
35
|
-
#
|
|
36
|
-
#
|
|
37
|
-
#
|
|
38
|
-
|
|
34
|
+
# True if the field is verified; false if the field is unverified. A
|
|
35
|
+
# verified field is typically a name, email address, phone number, or
|
|
36
|
+
# website that has been confirmed to be owned by the person.
|
|
37
|
+
# Corresponds to the JSON property `verified`
|
|
38
|
+
# @return [Boolean]
|
|
39
|
+
attr_accessor :verified
|
|
40
|
+
alias_method :verified?, :verified
|
|
41
|
+
|
|
42
|
+
# True if the field is the primary field; false if the field is a secondary
|
|
43
|
+
# field.
|
|
44
|
+
# Corresponds to the JSON property `primary`
|
|
45
|
+
# @return [Boolean]
|
|
46
|
+
attr_accessor :primary
|
|
47
|
+
alias_method :primary?, :primary
|
|
39
48
|
|
|
40
49
|
def initialize(**args)
|
|
41
50
|
update!(**args)
|
|
@@ -43,106 +52,37 @@ module Google
|
|
|
43
52
|
|
|
44
53
|
# Update properties of this object
|
|
45
54
|
def update!(**args)
|
|
46
|
-
@
|
|
47
|
-
@
|
|
55
|
+
@source = args[:source] if args.key?(:source)
|
|
56
|
+
@verified = args[:verified] if args.key?(:verified)
|
|
57
|
+
@primary = args[:primary] if args.key?(:primary)
|
|
48
58
|
end
|
|
49
59
|
end
|
|
50
60
|
|
|
51
|
-
#
|
|
52
|
-
|
|
53
|
-
class Organization
|
|
61
|
+
# The source of a field.
|
|
62
|
+
class Source
|
|
54
63
|
include Google::Apis::Core::Hashable
|
|
55
64
|
|
|
56
|
-
# The read-only
|
|
57
|
-
#
|
|
58
|
-
#
|
|
59
|
-
|
|
60
|
-
attr_accessor :formatted_type
|
|
61
|
-
|
|
62
|
-
# Represents a whole calendar date, for example a date of birth. The time
|
|
63
|
-
# of day and time zone are either specified elsewhere or are not
|
|
64
|
-
# significant. The date is relative to the
|
|
65
|
-
# [Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/
|
|
66
|
-
# Proleptic_Gregorian_calendar).
|
|
67
|
-
# The day may be 0 to represent a year and month where the day is not
|
|
68
|
-
# significant. The year may be 0 to represent a month and day independent
|
|
69
|
-
# of year; for example, anniversary date.
|
|
70
|
-
# Corresponds to the JSON property `startDate`
|
|
71
|
-
# @return [Google::Apis::PeopleV1::Date]
|
|
72
|
-
attr_accessor :start_date
|
|
73
|
-
|
|
74
|
-
# The domain name associated with the organization; for example, `google.com`.
|
|
75
|
-
# Corresponds to the JSON property `domain`
|
|
76
|
-
# @return [String]
|
|
77
|
-
attr_accessor :domain
|
|
78
|
-
|
|
79
|
-
# The person's department at the organization.
|
|
80
|
-
# Corresponds to the JSON property `department`
|
|
81
|
-
# @return [String]
|
|
82
|
-
attr_accessor :department
|
|
65
|
+
# The read-only metadata about a profile.
|
|
66
|
+
# Corresponds to the JSON property `profileMetadata`
|
|
67
|
+
# @return [Google::Apis::PeopleV1::ProfileMetadata]
|
|
68
|
+
attr_accessor :profile_metadata
|
|
83
69
|
|
|
84
|
-
# The
|
|
85
|
-
# Possible values include, but are not limited to, the following:
|
|
86
|
-
# * `work`
|
|
87
|
-
# * `school`
|
|
70
|
+
# The source type.
|
|
88
71
|
# Corresponds to the JSON property `type`
|
|
89
72
|
# @return [String]
|
|
90
73
|
attr_accessor :type
|
|
91
74
|
|
|
92
|
-
# The
|
|
93
|
-
#
|
|
94
|
-
#
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
# The person's job description at the organization.
|
|
98
|
-
# Corresponds to the JSON property `jobDescription`
|
|
99
|
-
# @return [String]
|
|
100
|
-
attr_accessor :job_description
|
|
101
|
-
|
|
102
|
-
# Represents a whole calendar date, for example a date of birth. The time
|
|
103
|
-
# of day and time zone are either specified elsewhere or are not
|
|
104
|
-
# significant. The date is relative to the
|
|
105
|
-
# [Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/
|
|
106
|
-
# Proleptic_Gregorian_calendar).
|
|
107
|
-
# The day may be 0 to represent a year and month where the day is not
|
|
108
|
-
# significant. The year may be 0 to represent a month and day independent
|
|
109
|
-
# of year; for example, anniversary date.
|
|
110
|
-
# Corresponds to the JSON property `endDate`
|
|
111
|
-
# @return [Google::Apis::PeopleV1::Date]
|
|
112
|
-
attr_accessor :end_date
|
|
113
|
-
|
|
114
|
-
# The symbol associated with the organization; for example, a stock ticker
|
|
115
|
-
# symbol, abbreviation, or acronym.
|
|
116
|
-
# Corresponds to the JSON property `symbol`
|
|
117
|
-
# @return [String]
|
|
118
|
-
attr_accessor :symbol
|
|
119
|
-
|
|
120
|
-
# The name of the organization.
|
|
121
|
-
# Corresponds to the JSON property `name`
|
|
122
|
-
# @return [String]
|
|
123
|
-
attr_accessor :name
|
|
124
|
-
|
|
125
|
-
# Metadata about a field.
|
|
126
|
-
# Corresponds to the JSON property `metadata`
|
|
127
|
-
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
|
128
|
-
attr_accessor :metadata
|
|
129
|
-
|
|
130
|
-
# The person's job title at the organization.
|
|
131
|
-
# Corresponds to the JSON property `title`
|
|
75
|
+
# The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the
|
|
76
|
+
# source. Used for web cache validation. Only populated in
|
|
77
|
+
# person.metadata.sources.
|
|
78
|
+
# Corresponds to the JSON property `etag`
|
|
132
79
|
# @return [String]
|
|
133
|
-
attr_accessor :
|
|
80
|
+
attr_accessor :etag
|
|
134
81
|
|
|
135
|
-
# The
|
|
136
|
-
# Corresponds to the JSON property `
|
|
82
|
+
# The unique identifier within the source type generated by the server.
|
|
83
|
+
# Corresponds to the JSON property `id`
|
|
137
84
|
# @return [String]
|
|
138
|
-
attr_accessor :
|
|
139
|
-
|
|
140
|
-
# True if the organization is the person's current organization;
|
|
141
|
-
# false if the organization is a past organization.
|
|
142
|
-
# Corresponds to the JSON property `current`
|
|
143
|
-
# @return [Boolean]
|
|
144
|
-
attr_accessor :current
|
|
145
|
-
alias_method :current?, :current
|
|
85
|
+
attr_accessor :id
|
|
146
86
|
|
|
147
87
|
def initialize(**args)
|
|
148
88
|
update!(**args)
|
|
@@ -150,112 +90,10 @@ module Google
|
|
|
150
90
|
|
|
151
91
|
# Update properties of this object
|
|
152
92
|
def update!(**args)
|
|
153
|
-
@
|
|
154
|
-
@start_date = args[:start_date] if args.key?(:start_date)
|
|
155
|
-
@domain = args[:domain] if args.key?(:domain)
|
|
156
|
-
@department = args[:department] if args.key?(:department)
|
|
93
|
+
@profile_metadata = args[:profile_metadata] if args.key?(:profile_metadata)
|
|
157
94
|
@type = args[:type] if args.key?(:type)
|
|
158
|
-
@
|
|
159
|
-
@
|
|
160
|
-
@end_date = args[:end_date] if args.key?(:end_date)
|
|
161
|
-
@symbol = args[:symbol] if args.key?(:symbol)
|
|
162
|
-
@name = args[:name] if args.key?(:name)
|
|
163
|
-
@metadata = args[:metadata] if args.key?(:metadata)
|
|
164
|
-
@title = args[:title] if args.key?(:title)
|
|
165
|
-
@location = args[:location] if args.key?(:location)
|
|
166
|
-
@current = args[:current] if args.key?(:current)
|
|
167
|
-
end
|
|
168
|
-
end
|
|
169
|
-
|
|
170
|
-
# A person's short biography.
|
|
171
|
-
class Biography
|
|
172
|
-
include Google::Apis::Core::Hashable
|
|
173
|
-
|
|
174
|
-
# The short biography.
|
|
175
|
-
# Corresponds to the JSON property `value`
|
|
176
|
-
# @return [String]
|
|
177
|
-
attr_accessor :value
|
|
178
|
-
|
|
179
|
-
# The content type of the biography.
|
|
180
|
-
# Corresponds to the JSON property `contentType`
|
|
181
|
-
# @return [String]
|
|
182
|
-
attr_accessor :content_type
|
|
183
|
-
|
|
184
|
-
# Metadata about a field.
|
|
185
|
-
# Corresponds to the JSON property `metadata`
|
|
186
|
-
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
|
187
|
-
attr_accessor :metadata
|
|
188
|
-
|
|
189
|
-
def initialize(**args)
|
|
190
|
-
update!(**args)
|
|
191
|
-
end
|
|
192
|
-
|
|
193
|
-
# Update properties of this object
|
|
194
|
-
def update!(**args)
|
|
195
|
-
@value = args[:value] if args.key?(:value)
|
|
196
|
-
@content_type = args[:content_type] if args.key?(:content_type)
|
|
197
|
-
@metadata = args[:metadata] if args.key?(:metadata)
|
|
198
|
-
end
|
|
199
|
-
end
|
|
200
|
-
|
|
201
|
-
# A person's age range.
|
|
202
|
-
class AgeRangeType
|
|
203
|
-
include Google::Apis::Core::Hashable
|
|
204
|
-
|
|
205
|
-
# Metadata about a field.
|
|
206
|
-
# Corresponds to the JSON property `metadata`
|
|
207
|
-
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
|
208
|
-
attr_accessor :metadata
|
|
209
|
-
|
|
210
|
-
# The age range.
|
|
211
|
-
# Corresponds to the JSON property `ageRange`
|
|
212
|
-
# @return [String]
|
|
213
|
-
attr_accessor :age_range
|
|
214
|
-
|
|
215
|
-
def initialize(**args)
|
|
216
|
-
update!(**args)
|
|
217
|
-
end
|
|
218
|
-
|
|
219
|
-
# Update properties of this object
|
|
220
|
-
def update!(**args)
|
|
221
|
-
@metadata = args[:metadata] if args.key?(:metadata)
|
|
222
|
-
@age_range = args[:age_range] if args.key?(:age_range)
|
|
223
|
-
end
|
|
224
|
-
end
|
|
225
|
-
|
|
226
|
-
# Metadata about a field.
|
|
227
|
-
class FieldMetadata
|
|
228
|
-
include Google::Apis::Core::Hashable
|
|
229
|
-
|
|
230
|
-
# True if the field is the primary field; false if the field is a secondary
|
|
231
|
-
# field.
|
|
232
|
-
# Corresponds to the JSON property `primary`
|
|
233
|
-
# @return [Boolean]
|
|
234
|
-
attr_accessor :primary
|
|
235
|
-
alias_method :primary?, :primary
|
|
236
|
-
|
|
237
|
-
# The source of a field.
|
|
238
|
-
# Corresponds to the JSON property `source`
|
|
239
|
-
# @return [Google::Apis::PeopleV1::Source]
|
|
240
|
-
attr_accessor :source
|
|
241
|
-
|
|
242
|
-
# True if the field is verified; false if the field is unverified. A
|
|
243
|
-
# verified field is typically a name, email address, phone number, or
|
|
244
|
-
# website that has been confirmed to be owned by the person.
|
|
245
|
-
# Corresponds to the JSON property `verified`
|
|
246
|
-
# @return [Boolean]
|
|
247
|
-
attr_accessor :verified
|
|
248
|
-
alias_method :verified?, :verified
|
|
249
|
-
|
|
250
|
-
def initialize(**args)
|
|
251
|
-
update!(**args)
|
|
252
|
-
end
|
|
253
|
-
|
|
254
|
-
# Update properties of this object
|
|
255
|
-
def update!(**args)
|
|
256
|
-
@primary = args[:primary] if args.key?(:primary)
|
|
257
|
-
@source = args[:source] if args.key?(:source)
|
|
258
|
-
@verified = args[:verified] if args.key?(:verified)
|
|
95
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
96
|
+
@id = args[:id] if args.key?(:id)
|
|
259
97
|
end
|
|
260
98
|
end
|
|
261
99
|
|
|
@@ -304,13 +142,6 @@ module Google
|
|
|
304
142
|
class RelationshipInterest
|
|
305
143
|
include Google::Apis::Core::Hashable
|
|
306
144
|
|
|
307
|
-
# The value of the relationship interest translated and formatted in the
|
|
308
|
-
# viewer's account locale or the locale specified in the Accept-Language
|
|
309
|
-
# HTTP header.
|
|
310
|
-
# Corresponds to the JSON property `formattedValue`
|
|
311
|
-
# @return [String]
|
|
312
|
-
attr_accessor :formatted_value
|
|
313
|
-
|
|
314
145
|
# Metadata about a field.
|
|
315
146
|
# Corresponds to the JSON property `metadata`
|
|
316
147
|
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
|
@@ -323,47 +154,16 @@ module Google
|
|
|
323
154
|
# * `date`
|
|
324
155
|
# * `relationship`
|
|
325
156
|
# * `networking`
|
|
326
|
-
# Corresponds to the JSON property `value`
|
|
327
|
-
# @return [String]
|
|
328
|
-
attr_accessor :value
|
|
329
|
-
|
|
330
|
-
def initialize(**args)
|
|
331
|
-
update!(**args)
|
|
332
|
-
end
|
|
333
|
-
|
|
334
|
-
# Update properties of this object
|
|
335
|
-
def update!(**args)
|
|
336
|
-
@formatted_value = args[:formatted_value] if args.key?(:formatted_value)
|
|
337
|
-
@metadata = args[:metadata] if args.key?(:metadata)
|
|
338
|
-
@value = args[:value] if args.key?(:value)
|
|
339
|
-
end
|
|
340
|
-
end
|
|
341
|
-
|
|
342
|
-
# The source of a field.
|
|
343
|
-
class Source
|
|
344
|
-
include Google::Apis::Core::Hashable
|
|
345
|
-
|
|
346
|
-
# The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the
|
|
347
|
-
# source. Used for web cache validation. Only populated in
|
|
348
|
-
# person.metadata.sources.
|
|
349
|
-
# Corresponds to the JSON property `etag`
|
|
350
|
-
# @return [String]
|
|
351
|
-
attr_accessor :etag
|
|
352
|
-
|
|
353
|
-
# The unique identifier within the source type generated by the server.
|
|
354
|
-
# Corresponds to the JSON property `id`
|
|
157
|
+
# Corresponds to the JSON property `value`
|
|
355
158
|
# @return [String]
|
|
356
|
-
attr_accessor :
|
|
357
|
-
|
|
358
|
-
# The read-only metadata about a profile.
|
|
359
|
-
# Corresponds to the JSON property `profileMetadata`
|
|
360
|
-
# @return [Google::Apis::PeopleV1::ProfileMetadata]
|
|
361
|
-
attr_accessor :profile_metadata
|
|
159
|
+
attr_accessor :value
|
|
362
160
|
|
|
363
|
-
# The
|
|
364
|
-
#
|
|
161
|
+
# The value of the relationship interest translated and formatted in the
|
|
162
|
+
# viewer's account locale or the locale specified in the Accept-Language
|
|
163
|
+
# HTTP header.
|
|
164
|
+
# Corresponds to the JSON property `formattedValue`
|
|
365
165
|
# @return [String]
|
|
366
|
-
attr_accessor :
|
|
166
|
+
attr_accessor :formatted_value
|
|
367
167
|
|
|
368
168
|
def initialize(**args)
|
|
369
169
|
update!(**args)
|
|
@@ -371,10 +171,9 @@ module Google
|
|
|
371
171
|
|
|
372
172
|
# Update properties of this object
|
|
373
173
|
def update!(**args)
|
|
374
|
-
@
|
|
375
|
-
@
|
|
376
|
-
@
|
|
377
|
-
@type = args[:type] if args.key?(:type)
|
|
174
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
175
|
+
@value = args[:value] if args.key?(:value)
|
|
176
|
+
@formatted_value = args[:formatted_value] if args.key?(:formatted_value)
|
|
378
177
|
end
|
|
379
178
|
end
|
|
380
179
|
|
|
@@ -467,6 +266,41 @@ module Google
|
|
|
467
266
|
class Person
|
|
468
267
|
include Google::Apis::Core::Hashable
|
|
469
268
|
|
|
269
|
+
# The person's cover photos.
|
|
270
|
+
# Corresponds to the JSON property `coverPhotos`
|
|
271
|
+
# @return [Array<Google::Apis::PeopleV1::CoverPhoto>]
|
|
272
|
+
attr_accessor :cover_photos
|
|
273
|
+
|
|
274
|
+
# The person's instant messaging clients.
|
|
275
|
+
# Corresponds to the JSON property `imClients`
|
|
276
|
+
# @return [Array<Google::Apis::PeopleV1::ImClient>]
|
|
277
|
+
attr_accessor :im_clients
|
|
278
|
+
|
|
279
|
+
# The person's birthdays.
|
|
280
|
+
# Corresponds to the JSON property `birthdays`
|
|
281
|
+
# @return [Array<Google::Apis::PeopleV1::Birthday>]
|
|
282
|
+
attr_accessor :birthdays
|
|
283
|
+
|
|
284
|
+
# The person's locale preferences.
|
|
285
|
+
# Corresponds to the JSON property `locales`
|
|
286
|
+
# @return [Array<Google::Apis::PeopleV1::Locale>]
|
|
287
|
+
attr_accessor :locales
|
|
288
|
+
|
|
289
|
+
# The kind of relationship the person is looking for.
|
|
290
|
+
# Corresponds to the JSON property `relationshipInterests`
|
|
291
|
+
# @return [Array<Google::Apis::PeopleV1::RelationshipInterest>]
|
|
292
|
+
attr_accessor :relationship_interests
|
|
293
|
+
|
|
294
|
+
# The person's associated URLs.
|
|
295
|
+
# Corresponds to the JSON property `urls`
|
|
296
|
+
# @return [Array<Google::Apis::PeopleV1::Url>]
|
|
297
|
+
attr_accessor :urls
|
|
298
|
+
|
|
299
|
+
# The person's nicknames.
|
|
300
|
+
# Corresponds to the JSON property `nicknames`
|
|
301
|
+
# @return [Array<Google::Apis::PeopleV1::Nickname>]
|
|
302
|
+
attr_accessor :nicknames
|
|
303
|
+
|
|
470
304
|
# The person's relations.
|
|
471
305
|
# Corresponds to the JSON property `relations`
|
|
472
306
|
# @return [Array<Google::Apis::PeopleV1::Relation>]
|
|
@@ -584,47 +418,19 @@ module Google
|
|
|
584
418
|
# @return [Array<Google::Apis::PeopleV1::PhoneNumber>]
|
|
585
419
|
attr_accessor :phone_numbers
|
|
586
420
|
|
|
587
|
-
# The person's cover photos.
|
|
588
|
-
# Corresponds to the JSON property `coverPhotos`
|
|
589
|
-
# @return [Array<Google::Apis::PeopleV1::CoverPhoto>]
|
|
590
|
-
attr_accessor :cover_photos
|
|
591
|
-
|
|
592
|
-
# The person's instant messaging clients.
|
|
593
|
-
# Corresponds to the JSON property `imClients`
|
|
594
|
-
# @return [Array<Google::Apis::PeopleV1::ImClient>]
|
|
595
|
-
attr_accessor :im_clients
|
|
596
|
-
|
|
597
|
-
# The person's birthdays.
|
|
598
|
-
# Corresponds to the JSON property `birthdays`
|
|
599
|
-
# @return [Array<Google::Apis::PeopleV1::Birthday>]
|
|
600
|
-
attr_accessor :birthdays
|
|
601
|
-
|
|
602
|
-
# The person's locale preferences.
|
|
603
|
-
# Corresponds to the JSON property `locales`
|
|
604
|
-
# @return [Array<Google::Apis::PeopleV1::Locale>]
|
|
605
|
-
attr_accessor :locales
|
|
606
|
-
|
|
607
|
-
# The kind of relationship the person is looking for.
|
|
608
|
-
# Corresponds to the JSON property `relationshipInterests`
|
|
609
|
-
# @return [Array<Google::Apis::PeopleV1::RelationshipInterest>]
|
|
610
|
-
attr_accessor :relationship_interests
|
|
611
|
-
|
|
612
|
-
# The person's associated URLs.
|
|
613
|
-
# Corresponds to the JSON property `urls`
|
|
614
|
-
# @return [Array<Google::Apis::PeopleV1::Url>]
|
|
615
|
-
attr_accessor :urls
|
|
616
|
-
|
|
617
|
-
# The person's nicknames.
|
|
618
|
-
# Corresponds to the JSON property `nicknames`
|
|
619
|
-
# @return [Array<Google::Apis::PeopleV1::Nickname>]
|
|
620
|
-
attr_accessor :nicknames
|
|
621
|
-
|
|
622
421
|
def initialize(**args)
|
|
623
422
|
update!(**args)
|
|
624
423
|
end
|
|
625
424
|
|
|
626
425
|
# Update properties of this object
|
|
627
426
|
def update!(**args)
|
|
427
|
+
@cover_photos = args[:cover_photos] if args.key?(:cover_photos)
|
|
428
|
+
@im_clients = args[:im_clients] if args.key?(:im_clients)
|
|
429
|
+
@birthdays = args[:birthdays] if args.key?(:birthdays)
|
|
430
|
+
@locales = args[:locales] if args.key?(:locales)
|
|
431
|
+
@relationship_interests = args[:relationship_interests] if args.key?(:relationship_interests)
|
|
432
|
+
@urls = args[:urls] if args.key?(:urls)
|
|
433
|
+
@nicknames = args[:nicknames] if args.key?(:nicknames)
|
|
628
434
|
@relations = args[:relations] if args.key?(:relations)
|
|
629
435
|
@names = args[:names] if args.key?(:names)
|
|
630
436
|
@occupations = args[:occupations] if args.key?(:occupations)
|
|
@@ -648,13 +454,6 @@ module Google
|
|
|
648
454
|
@events = args[:events] if args.key?(:events)
|
|
649
455
|
@memberships = args[:memberships] if args.key?(:memberships)
|
|
650
456
|
@phone_numbers = args[:phone_numbers] if args.key?(:phone_numbers)
|
|
651
|
-
@cover_photos = args[:cover_photos] if args.key?(:cover_photos)
|
|
652
|
-
@im_clients = args[:im_clients] if args.key?(:im_clients)
|
|
653
|
-
@birthdays = args[:birthdays] if args.key?(:birthdays)
|
|
654
|
-
@locales = args[:locales] if args.key?(:locales)
|
|
655
|
-
@relationship_interests = args[:relationship_interests] if args.key?(:relationship_interests)
|
|
656
|
-
@urls = args[:urls] if args.key?(:urls)
|
|
657
|
-
@nicknames = args[:nicknames] if args.key?(:nicknames)
|
|
658
457
|
end
|
|
659
458
|
end
|
|
660
459
|
|
|
@@ -682,24 +481,24 @@ module Google
|
|
|
682
481
|
class Photo
|
|
683
482
|
include Google::Apis::Core::Hashable
|
|
684
483
|
|
|
685
|
-
# Metadata about a field.
|
|
686
|
-
# Corresponds to the JSON property `metadata`
|
|
687
|
-
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
|
688
|
-
attr_accessor :metadata
|
|
689
|
-
|
|
690
484
|
# The URL of the photo.
|
|
691
485
|
# Corresponds to the JSON property `url`
|
|
692
486
|
# @return [String]
|
|
693
487
|
attr_accessor :url
|
|
694
488
|
|
|
489
|
+
# Metadata about a field.
|
|
490
|
+
# Corresponds to the JSON property `metadata`
|
|
491
|
+
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
|
492
|
+
attr_accessor :metadata
|
|
493
|
+
|
|
695
494
|
def initialize(**args)
|
|
696
495
|
update!(**args)
|
|
697
496
|
end
|
|
698
497
|
|
|
699
498
|
# Update properties of this object
|
|
700
499
|
def update!(**args)
|
|
701
|
-
@metadata = args[:metadata] if args.key?(:metadata)
|
|
702
500
|
@url = args[:url] if args.key?(:url)
|
|
501
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
703
502
|
end
|
|
704
503
|
end
|
|
705
504
|
|
|
@@ -839,61 +638,11 @@ module Google
|
|
|
839
638
|
end
|
|
840
639
|
end
|
|
841
640
|
|
|
842
|
-
# A person's past or current residence.
|
|
843
|
-
class Residence
|
|
844
|
-
include Google::Apis::Core::Hashable
|
|
845
|
-
|
|
846
|
-
# Metadata about a field.
|
|
847
|
-
# Corresponds to the JSON property `metadata`
|
|
848
|
-
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
|
849
|
-
attr_accessor :metadata
|
|
850
|
-
|
|
851
|
-
# True if the residence is the person's current residence;
|
|
852
|
-
# false if the residence is a past residence.
|
|
853
|
-
# Corresponds to the JSON property `current`
|
|
854
|
-
# @return [Boolean]
|
|
855
|
-
attr_accessor :current
|
|
856
|
-
alias_method :current?, :current
|
|
857
|
-
|
|
858
|
-
# The address of the residence.
|
|
859
|
-
# Corresponds to the JSON property `value`
|
|
860
|
-
# @return [String]
|
|
861
|
-
attr_accessor :value
|
|
862
|
-
|
|
863
|
-
def initialize(**args)
|
|
864
|
-
update!(**args)
|
|
865
|
-
end
|
|
866
|
-
|
|
867
|
-
# Update properties of this object
|
|
868
|
-
def update!(**args)
|
|
869
|
-
@metadata = args[:metadata] if args.key?(:metadata)
|
|
870
|
-
@current = args[:current] if args.key?(:current)
|
|
871
|
-
@value = args[:value] if args.key?(:value)
|
|
872
|
-
end
|
|
873
|
-
end
|
|
874
|
-
|
|
875
641
|
# A person's physical address. May be a P.O. box or street address. All fields
|
|
876
642
|
# are optional.
|
|
877
643
|
class Address
|
|
878
644
|
include Google::Apis::Core::Hashable
|
|
879
645
|
|
|
880
|
-
# The [ISO 3166-1 alpha-2](http://www.iso.org/iso/country_codes.htm) country
|
|
881
|
-
# code of the address.
|
|
882
|
-
# Corresponds to the JSON property `countryCode`
|
|
883
|
-
# @return [String]
|
|
884
|
-
attr_accessor :country_code
|
|
885
|
-
|
|
886
|
-
# The read-only type of the address translated and formatted in the viewer's
|
|
887
|
-
# account locale or the `Accept-Language` HTTP header locale.
|
|
888
|
-
# Corresponds to the JSON property `formattedType`
|
|
889
|
-
# @return [String]
|
|
890
|
-
attr_accessor :formatted_type
|
|
891
|
-
|
|
892
|
-
# The city of the address.
|
|
893
|
-
# Corresponds to the JSON property `city`
|
|
894
|
-
# @return [String]
|
|
895
|
-
attr_accessor :city
|
|
896
|
-
|
|
897
646
|
# The unstructured value of the address. If this is not set by the user it
|
|
898
647
|
# will be automatically constructed from structured values.
|
|
899
648
|
# Corresponds to the JSON property `formattedValue`
|
|
@@ -944,15 +693,29 @@ module Google
|
|
|
944
693
|
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
|
945
694
|
attr_accessor :metadata
|
|
946
695
|
|
|
696
|
+
# The [ISO 3166-1 alpha-2](http://www.iso.org/iso/country_codes.htm) country
|
|
697
|
+
# code of the address.
|
|
698
|
+
# Corresponds to the JSON property `countryCode`
|
|
699
|
+
# @return [String]
|
|
700
|
+
attr_accessor :country_code
|
|
701
|
+
|
|
702
|
+
# The read-only type of the address translated and formatted in the viewer's
|
|
703
|
+
# account locale or the `Accept-Language` HTTP header locale.
|
|
704
|
+
# Corresponds to the JSON property `formattedType`
|
|
705
|
+
# @return [String]
|
|
706
|
+
attr_accessor :formatted_type
|
|
707
|
+
|
|
708
|
+
# The city of the address.
|
|
709
|
+
# Corresponds to the JSON property `city`
|
|
710
|
+
# @return [String]
|
|
711
|
+
attr_accessor :city
|
|
712
|
+
|
|
947
713
|
def initialize(**args)
|
|
948
714
|
update!(**args)
|
|
949
715
|
end
|
|
950
716
|
|
|
951
717
|
# Update properties of this object
|
|
952
718
|
def update!(**args)
|
|
953
|
-
@country_code = args[:country_code] if args.key?(:country_code)
|
|
954
|
-
@formatted_type = args[:formatted_type] if args.key?(:formatted_type)
|
|
955
|
-
@city = args[:city] if args.key?(:city)
|
|
956
719
|
@formatted_value = args[:formatted_value] if args.key?(:formatted_value)
|
|
957
720
|
@country = args[:country] if args.key?(:country)
|
|
958
721
|
@type = args[:type] if args.key?(:type)
|
|
@@ -962,22 +725,32 @@ module Google
|
|
|
962
725
|
@region = args[:region] if args.key?(:region)
|
|
963
726
|
@street_address = args[:street_address] if args.key?(:street_address)
|
|
964
727
|
@metadata = args[:metadata] if args.key?(:metadata)
|
|
728
|
+
@country_code = args[:country_code] if args.key?(:country_code)
|
|
729
|
+
@formatted_type = args[:formatted_type] if args.key?(:formatted_type)
|
|
730
|
+
@city = args[:city] if args.key?(:city)
|
|
965
731
|
end
|
|
966
732
|
end
|
|
967
733
|
|
|
968
|
-
# A
|
|
969
|
-
class
|
|
734
|
+
# A person's past or current residence.
|
|
735
|
+
class Residence
|
|
970
736
|
include Google::Apis::Core::Hashable
|
|
971
737
|
|
|
972
|
-
# The
|
|
973
|
-
#
|
|
974
|
-
# limited to, the following:
|
|
975
|
-
# * `myContacts`
|
|
976
|
-
# * `starred`
|
|
977
|
-
# * A numerical ID for user-created groups.
|
|
978
|
-
# Corresponds to the JSON property `contactGroupId`
|
|
738
|
+
# The address of the residence.
|
|
739
|
+
# Corresponds to the JSON property `value`
|
|
979
740
|
# @return [String]
|
|
980
|
-
attr_accessor :
|
|
741
|
+
attr_accessor :value
|
|
742
|
+
|
|
743
|
+
# Metadata about a field.
|
|
744
|
+
# Corresponds to the JSON property `metadata`
|
|
745
|
+
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
|
746
|
+
attr_accessor :metadata
|
|
747
|
+
|
|
748
|
+
# True if the residence is the person's current residence;
|
|
749
|
+
# false if the residence is a past residence.
|
|
750
|
+
# Corresponds to the JSON property `current`
|
|
751
|
+
# @return [Boolean]
|
|
752
|
+
attr_accessor :current
|
|
753
|
+
alias_method :current?, :current
|
|
981
754
|
|
|
982
755
|
def initialize(**args)
|
|
983
756
|
update!(**args)
|
|
@@ -985,44 +758,25 @@ module Google
|
|
|
985
758
|
|
|
986
759
|
# Update properties of this object
|
|
987
760
|
def update!(**args)
|
|
988
|
-
@
|
|
761
|
+
@value = args[:value] if args.key?(:value)
|
|
762
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
763
|
+
@current = args[:current] if args.key?(:current)
|
|
989
764
|
end
|
|
990
765
|
end
|
|
991
766
|
|
|
992
|
-
#
|
|
993
|
-
class
|
|
767
|
+
# A Google contact group membership.
|
|
768
|
+
class ContactGroupMembership
|
|
994
769
|
include Google::Apis::Core::Hashable
|
|
995
|
-
|
|
996
|
-
#
|
|
997
|
-
#
|
|
998
|
-
#
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
#
|
|
1002
|
-
#
|
|
1003
|
-
# * `anniversary`
|
|
1004
|
-
# * `other`
|
|
1005
|
-
# Corresponds to the JSON property `type`
|
|
1006
|
-
# @return [String]
|
|
1007
|
-
attr_accessor :type
|
|
1008
|
-
|
|
1009
|
-
# Represents a whole calendar date, for example a date of birth. The time
|
|
1010
|
-
# of day and time zone are either specified elsewhere or are not
|
|
1011
|
-
# significant. The date is relative to the
|
|
1012
|
-
# [Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/
|
|
1013
|
-
# Proleptic_Gregorian_calendar).
|
|
1014
|
-
# The day may be 0 to represent a year and month where the day is not
|
|
1015
|
-
# significant. The year may be 0 to represent a month and day independent
|
|
1016
|
-
# of year; for example, anniversary date.
|
|
1017
|
-
# Corresponds to the JSON property `date`
|
|
1018
|
-
# @return [Google::Apis::PeopleV1::Date]
|
|
1019
|
-
attr_accessor :date
|
|
1020
|
-
|
|
1021
|
-
# The read-only type of the event translated and formatted in the
|
|
1022
|
-
# viewer's account locale or the `Accept-Language` HTTP header locale.
|
|
1023
|
-
# Corresponds to the JSON property `formattedType`
|
|
770
|
+
|
|
771
|
+
# The contact group ID for the contact group membership. The contact group
|
|
772
|
+
# ID can be custom or predefined. Possible values include, but are not
|
|
773
|
+
# limited to, the following:
|
|
774
|
+
# * `myContacts`
|
|
775
|
+
# * `starred`
|
|
776
|
+
# * A numerical ID for user-created groups.
|
|
777
|
+
# Corresponds to the JSON property `contactGroupId`
|
|
1024
778
|
# @return [String]
|
|
1025
|
-
attr_accessor :
|
|
779
|
+
attr_accessor :contact_group_id
|
|
1026
780
|
|
|
1027
781
|
def initialize(**args)
|
|
1028
782
|
update!(**args)
|
|
@@ -1030,10 +784,7 @@ module Google
|
|
|
1030
784
|
|
|
1031
785
|
# Update properties of this object
|
|
1032
786
|
def update!(**args)
|
|
1033
|
-
@
|
|
1034
|
-
@type = args[:type] if args.key?(:type)
|
|
1035
|
-
@date = args[:date] if args.key?(:date)
|
|
1036
|
-
@formatted_type = args[:formatted_type] if args.key?(:formatted_type)
|
|
787
|
+
@contact_group_id = args[:contact_group_id] if args.key?(:contact_group_id)
|
|
1037
788
|
end
|
|
1038
789
|
end
|
|
1039
790
|
|
|
@@ -1089,14 +840,40 @@ module Google
|
|
|
1089
840
|
end
|
|
1090
841
|
end
|
|
1091
842
|
|
|
1092
|
-
#
|
|
1093
|
-
class
|
|
843
|
+
# An event related to the person.
|
|
844
|
+
class Event
|
|
1094
845
|
include Google::Apis::Core::Hashable
|
|
1095
846
|
|
|
1096
|
-
#
|
|
1097
|
-
# Corresponds to the JSON property `
|
|
847
|
+
# Metadata about a field.
|
|
848
|
+
# Corresponds to the JSON property `metadata`
|
|
849
|
+
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
|
850
|
+
attr_accessor :metadata
|
|
851
|
+
|
|
852
|
+
# The type of the event. The type can be custom or predefined.
|
|
853
|
+
# Possible values include, but are not limited to, the following:
|
|
854
|
+
# * `anniversary`
|
|
855
|
+
# * `other`
|
|
856
|
+
# Corresponds to the JSON property `type`
|
|
1098
857
|
# @return [String]
|
|
1099
|
-
attr_accessor :
|
|
858
|
+
attr_accessor :type
|
|
859
|
+
|
|
860
|
+
# Represents a whole calendar date, for example a date of birth. The time
|
|
861
|
+
# of day and time zone are either specified elsewhere or are not
|
|
862
|
+
# significant. The date is relative to the
|
|
863
|
+
# [Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/
|
|
864
|
+
# Proleptic_Gregorian_calendar).
|
|
865
|
+
# The day may be 0 to represent a year and month where the day is not
|
|
866
|
+
# significant. The year may be 0 to represent a month and day independent
|
|
867
|
+
# of year; for example, anniversary date.
|
|
868
|
+
# Corresponds to the JSON property `date`
|
|
869
|
+
# @return [Google::Apis::PeopleV1::Date]
|
|
870
|
+
attr_accessor :date
|
|
871
|
+
|
|
872
|
+
# The read-only type of the event translated and formatted in the
|
|
873
|
+
# viewer's account locale or the `Accept-Language` HTTP header locale.
|
|
874
|
+
# Corresponds to the JSON property `formattedType`
|
|
875
|
+
# @return [String]
|
|
876
|
+
attr_accessor :formatted_type
|
|
1100
877
|
|
|
1101
878
|
def initialize(**args)
|
|
1102
879
|
update!(**args)
|
|
@@ -1104,35 +881,21 @@ module Google
|
|
|
1104
881
|
|
|
1105
882
|
# Update properties of this object
|
|
1106
883
|
def update!(**args)
|
|
1107
|
-
@
|
|
884
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
885
|
+
@type = args[:type] if args.key?(:type)
|
|
886
|
+
@date = args[:date] if args.key?(:date)
|
|
887
|
+
@formatted_type = args[:formatted_type] if args.key?(:formatted_type)
|
|
1108
888
|
end
|
|
1109
889
|
end
|
|
1110
890
|
|
|
1111
|
-
#
|
|
1112
|
-
class
|
|
891
|
+
# The read-only metadata about a profile.
|
|
892
|
+
class ProfileMetadata
|
|
1113
893
|
include Google::Apis::Core::Hashable
|
|
1114
894
|
|
|
1115
|
-
# The
|
|
1116
|
-
#
|
|
1117
|
-
# Corresponds to the JSON property `formattedValue`
|
|
1118
|
-
# @return [String]
|
|
1119
|
-
attr_accessor :formatted_value
|
|
1120
|
-
|
|
1121
|
-
# Metadata about a field.
|
|
1122
|
-
# Corresponds to the JSON property `metadata`
|
|
1123
|
-
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
|
1124
|
-
attr_accessor :metadata
|
|
1125
|
-
|
|
1126
|
-
# The gender for the person. The gender can be custom or predefined.
|
|
1127
|
-
# Possible values include, but are not limited to, the
|
|
1128
|
-
# following:
|
|
1129
|
-
# * `male`
|
|
1130
|
-
# * `female`
|
|
1131
|
-
# * `other`
|
|
1132
|
-
# * `unknown`
|
|
1133
|
-
# Corresponds to the JSON property `value`
|
|
895
|
+
# The profile object type.
|
|
896
|
+
# Corresponds to the JSON property `objectType`
|
|
1134
897
|
# @return [String]
|
|
1135
|
-
attr_accessor :
|
|
898
|
+
attr_accessor :object_type
|
|
1136
899
|
|
|
1137
900
|
def initialize(**args)
|
|
1138
901
|
update!(**args)
|
|
@@ -1140,9 +903,7 @@ module Google
|
|
|
1140
903
|
|
|
1141
904
|
# Update properties of this object
|
|
1142
905
|
def update!(**args)
|
|
1143
|
-
@
|
|
1144
|
-
@metadata = args[:metadata] if args.key?(:metadata)
|
|
1145
|
-
@value = args[:value] if args.key?(:value)
|
|
906
|
+
@object_type = args[:object_type] if args.key?(:object_type)
|
|
1146
907
|
end
|
|
1147
908
|
end
|
|
1148
909
|
|
|
@@ -1194,11 +955,54 @@ module Google
|
|
|
1194
955
|
end
|
|
1195
956
|
end
|
|
1196
957
|
|
|
958
|
+
# A person's gender.
|
|
959
|
+
class Gender
|
|
960
|
+
include Google::Apis::Core::Hashable
|
|
961
|
+
|
|
962
|
+
# The read-only value of the gender translated and formatted in the viewer's
|
|
963
|
+
# account locale or the `Accept-Language` HTTP header locale.
|
|
964
|
+
# Corresponds to the JSON property `formattedValue`
|
|
965
|
+
# @return [String]
|
|
966
|
+
attr_accessor :formatted_value
|
|
967
|
+
|
|
968
|
+
# Metadata about a field.
|
|
969
|
+
# Corresponds to the JSON property `metadata`
|
|
970
|
+
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
|
971
|
+
attr_accessor :metadata
|
|
972
|
+
|
|
973
|
+
# The gender for the person. The gender can be custom or predefined.
|
|
974
|
+
# Possible values include, but are not limited to, the
|
|
975
|
+
# following:
|
|
976
|
+
# * `male`
|
|
977
|
+
# * `female`
|
|
978
|
+
# * `other`
|
|
979
|
+
# * `unknown`
|
|
980
|
+
# Corresponds to the JSON property `value`
|
|
981
|
+
# @return [String]
|
|
982
|
+
attr_accessor :value
|
|
983
|
+
|
|
984
|
+
def initialize(**args)
|
|
985
|
+
update!(**args)
|
|
986
|
+
end
|
|
987
|
+
|
|
988
|
+
# Update properties of this object
|
|
989
|
+
def update!(**args)
|
|
990
|
+
@formatted_value = args[:formatted_value] if args.key?(:formatted_value)
|
|
991
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
992
|
+
@value = args[:value] if args.key?(:value)
|
|
993
|
+
end
|
|
994
|
+
end
|
|
995
|
+
|
|
1197
996
|
# A person's read-only cover photo. A large image shown on the person's
|
|
1198
997
|
# profile page that represents who they are or what they care about.
|
|
1199
998
|
class CoverPhoto
|
|
1200
999
|
include Google::Apis::Core::Hashable
|
|
1201
1000
|
|
|
1001
|
+
# The URL of the cover photo.
|
|
1002
|
+
# Corresponds to the JSON property `url`
|
|
1003
|
+
# @return [String]
|
|
1004
|
+
attr_accessor :url
|
|
1005
|
+
|
|
1202
1006
|
# Metadata about a field.
|
|
1203
1007
|
# Corresponds to the JSON property `metadata`
|
|
1204
1008
|
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
|
@@ -1211,20 +1015,15 @@ module Google
|
|
|
1211
1015
|
attr_accessor :default
|
|
1212
1016
|
alias_method :default?, :default
|
|
1213
1017
|
|
|
1214
|
-
# The URL of the cover photo.
|
|
1215
|
-
# Corresponds to the JSON property `url`
|
|
1216
|
-
# @return [String]
|
|
1217
|
-
attr_accessor :url
|
|
1218
|
-
|
|
1219
1018
|
def initialize(**args)
|
|
1220
1019
|
update!(**args)
|
|
1221
1020
|
end
|
|
1222
1021
|
|
|
1223
1022
|
# Update properties of this object
|
|
1224
1023
|
def update!(**args)
|
|
1024
|
+
@url = args[:url] if args.key?(:url)
|
|
1225
1025
|
@metadata = args[:metadata] if args.key?(:metadata)
|
|
1226
1026
|
@default = args[:default] if args.key?(:default)
|
|
1227
|
-
@url = args[:url] if args.key?(:url)
|
|
1228
1027
|
end
|
|
1229
1028
|
end
|
|
1230
1029
|
|
|
@@ -1322,17 +1121,6 @@ module Google
|
|
|
1322
1121
|
class EmailAddress
|
|
1323
1122
|
include Google::Apis::Core::Hashable
|
|
1324
1123
|
|
|
1325
|
-
# The email address.
|
|
1326
|
-
# Corresponds to the JSON property `value`
|
|
1327
|
-
# @return [String]
|
|
1328
|
-
attr_accessor :value
|
|
1329
|
-
|
|
1330
|
-
# The read-only type of the email address translated and formatted in the
|
|
1331
|
-
# viewer's account locale or the `Accept-Language` HTTP header locale.
|
|
1332
|
-
# Corresponds to the JSON property `formattedType`
|
|
1333
|
-
# @return [String]
|
|
1334
|
-
attr_accessor :formatted_type
|
|
1335
|
-
|
|
1336
1124
|
# The display name of the email.
|
|
1337
1125
|
# Corresponds to the JSON property `displayName`
|
|
1338
1126
|
# @return [String]
|
|
@@ -1352,17 +1140,28 @@ module Google
|
|
|
1352
1140
|
# @return [String]
|
|
1353
1141
|
attr_accessor :type
|
|
1354
1142
|
|
|
1143
|
+
# The email address.
|
|
1144
|
+
# Corresponds to the JSON property `value`
|
|
1145
|
+
# @return [String]
|
|
1146
|
+
attr_accessor :value
|
|
1147
|
+
|
|
1148
|
+
# The read-only type of the email address translated and formatted in the
|
|
1149
|
+
# viewer's account locale or the `Accept-Language` HTTP header locale.
|
|
1150
|
+
# Corresponds to the JSON property `formattedType`
|
|
1151
|
+
# @return [String]
|
|
1152
|
+
attr_accessor :formatted_type
|
|
1153
|
+
|
|
1355
1154
|
def initialize(**args)
|
|
1356
1155
|
update!(**args)
|
|
1357
1156
|
end
|
|
1358
1157
|
|
|
1359
1158
|
# Update properties of this object
|
|
1360
1159
|
def update!(**args)
|
|
1361
|
-
@value = args[:value] if args.key?(:value)
|
|
1362
|
-
@formatted_type = args[:formatted_type] if args.key?(:formatted_type)
|
|
1363
1160
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
1364
1161
|
@metadata = args[:metadata] if args.key?(:metadata)
|
|
1365
1162
|
@type = args[:type] if args.key?(:type)
|
|
1163
|
+
@value = args[:value] if args.key?(:value)
|
|
1164
|
+
@formatted_type = args[:formatted_type] if args.key?(:formatted_type)
|
|
1366
1165
|
end
|
|
1367
1166
|
end
|
|
1368
1167
|
|
|
@@ -1370,11 +1169,6 @@ module Google
|
|
|
1370
1169
|
class Nickname
|
|
1371
1170
|
include Google::Apis::Core::Hashable
|
|
1372
1171
|
|
|
1373
|
-
# The nickname.
|
|
1374
|
-
# Corresponds to the JSON property `value`
|
|
1375
|
-
# @return [String]
|
|
1376
|
-
attr_accessor :value
|
|
1377
|
-
|
|
1378
1172
|
# Metadata about a field.
|
|
1379
1173
|
# Corresponds to the JSON property `metadata`
|
|
1380
1174
|
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
|
@@ -1385,15 +1179,20 @@ module Google
|
|
|
1385
1179
|
# @return [String]
|
|
1386
1180
|
attr_accessor :type
|
|
1387
1181
|
|
|
1182
|
+
# The nickname.
|
|
1183
|
+
# Corresponds to the JSON property `value`
|
|
1184
|
+
# @return [String]
|
|
1185
|
+
attr_accessor :value
|
|
1186
|
+
|
|
1388
1187
|
def initialize(**args)
|
|
1389
1188
|
update!(**args)
|
|
1390
1189
|
end
|
|
1391
1190
|
|
|
1392
1191
|
# Update properties of this object
|
|
1393
1192
|
def update!(**args)
|
|
1394
|
-
@value = args[:value] if args.key?(:value)
|
|
1395
1193
|
@metadata = args[:metadata] if args.key?(:metadata)
|
|
1396
1194
|
@type = args[:type] if args.key?(:type)
|
|
1195
|
+
@value = args[:value] if args.key?(:value)
|
|
1397
1196
|
end
|
|
1398
1197
|
end
|
|
1399
1198
|
|
|
@@ -1401,24 +1200,24 @@ module Google
|
|
|
1401
1200
|
class Skill
|
|
1402
1201
|
include Google::Apis::Core::Hashable
|
|
1403
1202
|
|
|
1404
|
-
# The skill; for example, `underwater basket weaving`.
|
|
1405
|
-
# Corresponds to the JSON property `value`
|
|
1406
|
-
# @return [String]
|
|
1407
|
-
attr_accessor :value
|
|
1408
|
-
|
|
1409
1203
|
# Metadata about a field.
|
|
1410
1204
|
# Corresponds to the JSON property `metadata`
|
|
1411
1205
|
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
|
1412
1206
|
attr_accessor :metadata
|
|
1413
1207
|
|
|
1208
|
+
# The skill; for example, `underwater basket weaving`.
|
|
1209
|
+
# Corresponds to the JSON property `value`
|
|
1210
|
+
# @return [String]
|
|
1211
|
+
attr_accessor :value
|
|
1212
|
+
|
|
1414
1213
|
def initialize(**args)
|
|
1415
1214
|
update!(**args)
|
|
1416
1215
|
end
|
|
1417
1216
|
|
|
1418
1217
|
# Update properties of this object
|
|
1419
1218
|
def update!(**args)
|
|
1420
|
-
@value = args[:value] if args.key?(:value)
|
|
1421
1219
|
@metadata = args[:metadata] if args.key?(:metadata)
|
|
1220
|
+
@value = args[:value] if args.key?(:value)
|
|
1422
1221
|
end
|
|
1423
1222
|
end
|
|
1424
1223
|
|
|
@@ -1446,11 +1245,6 @@ module Google
|
|
|
1446
1245
|
class Membership
|
|
1447
1246
|
include Google::Apis::Core::Hashable
|
|
1448
1247
|
|
|
1449
|
-
# Metadata about a field.
|
|
1450
|
-
# Corresponds to the JSON property `metadata`
|
|
1451
|
-
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
|
1452
|
-
attr_accessor :metadata
|
|
1453
|
-
|
|
1454
1248
|
# A Google contact group membership.
|
|
1455
1249
|
# Corresponds to the JSON property `contactGroupMembership`
|
|
1456
1250
|
# @return [Google::Apis::PeopleV1::ContactGroupMembership]
|
|
@@ -1461,15 +1255,20 @@ module Google
|
|
|
1461
1255
|
# @return [Google::Apis::PeopleV1::DomainMembership]
|
|
1462
1256
|
attr_accessor :domain_membership
|
|
1463
1257
|
|
|
1258
|
+
# Metadata about a field.
|
|
1259
|
+
# Corresponds to the JSON property `metadata`
|
|
1260
|
+
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
|
1261
|
+
attr_accessor :metadata
|
|
1262
|
+
|
|
1464
1263
|
def initialize(**args)
|
|
1465
1264
|
update!(**args)
|
|
1466
1265
|
end
|
|
1467
1266
|
|
|
1468
1267
|
# Update properties of this object
|
|
1469
1268
|
def update!(**args)
|
|
1470
|
-
@metadata = args[:metadata] if args.key?(:metadata)
|
|
1471
1269
|
@contact_group_membership = args[:contact_group_membership] if args.key?(:contact_group_membership)
|
|
1472
1270
|
@domain_membership = args[:domain_membership] if args.key?(:domain_membership)
|
|
1271
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
1473
1272
|
end
|
|
1474
1273
|
end
|
|
1475
1274
|
|
|
@@ -1515,6 +1314,31 @@ module Google
|
|
|
1515
1314
|
end
|
|
1516
1315
|
end
|
|
1517
1316
|
|
|
1317
|
+
# A read-only brief one-line description of the person.
|
|
1318
|
+
class Tagline
|
|
1319
|
+
include Google::Apis::Core::Hashable
|
|
1320
|
+
|
|
1321
|
+
# Metadata about a field.
|
|
1322
|
+
# Corresponds to the JSON property `metadata`
|
|
1323
|
+
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
|
1324
|
+
attr_accessor :metadata
|
|
1325
|
+
|
|
1326
|
+
# The tagline.
|
|
1327
|
+
# Corresponds to the JSON property `value`
|
|
1328
|
+
# @return [String]
|
|
1329
|
+
attr_accessor :value
|
|
1330
|
+
|
|
1331
|
+
def initialize(**args)
|
|
1332
|
+
update!(**args)
|
|
1333
|
+
end
|
|
1334
|
+
|
|
1335
|
+
# Update properties of this object
|
|
1336
|
+
def update!(**args)
|
|
1337
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
1338
|
+
@value = args[:value] if args.key?(:value)
|
|
1339
|
+
end
|
|
1340
|
+
end
|
|
1341
|
+
|
|
1518
1342
|
# Represents a whole calendar date, for example a date of birth. The time
|
|
1519
1343
|
# of day and time zone are either specified elsewhere or are not
|
|
1520
1344
|
# significant. The date is relative to the
|
|
@@ -1536,38 +1360,12 @@ module Google
|
|
|
1536
1360
|
# if specifying a year/month where the day is not significant.
|
|
1537
1361
|
# Corresponds to the JSON property `day`
|
|
1538
1362
|
# @return [Fixnum]
|
|
1539
|
-
attr_accessor :day
|
|
1540
|
-
|
|
1541
|
-
# Month of year. Must be from 1 to 12.
|
|
1542
|
-
# Corresponds to the JSON property `month`
|
|
1543
|
-
# @return [Fixnum]
|
|
1544
|
-
attr_accessor :month
|
|
1545
|
-
|
|
1546
|
-
def initialize(**args)
|
|
1547
|
-
update!(**args)
|
|
1548
|
-
end
|
|
1549
|
-
|
|
1550
|
-
# Update properties of this object
|
|
1551
|
-
def update!(**args)
|
|
1552
|
-
@year = args[:year] if args.key?(:year)
|
|
1553
|
-
@day = args[:day] if args.key?(:day)
|
|
1554
|
-
@month = args[:month] if args.key?(:month)
|
|
1555
|
-
end
|
|
1556
|
-
end
|
|
1557
|
-
|
|
1558
|
-
# A read-only brief one-line description of the person.
|
|
1559
|
-
class Tagline
|
|
1560
|
-
include Google::Apis::Core::Hashable
|
|
1561
|
-
|
|
1562
|
-
# The tagline.
|
|
1563
|
-
# Corresponds to the JSON property `value`
|
|
1564
|
-
# @return [String]
|
|
1565
|
-
attr_accessor :value
|
|
1566
|
-
|
|
1567
|
-
# Metadata about a field.
|
|
1568
|
-
# Corresponds to the JSON property `metadata`
|
|
1569
|
-
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
|
1570
|
-
attr_accessor :metadata
|
|
1363
|
+
attr_accessor :day
|
|
1364
|
+
|
|
1365
|
+
# Month of year. Must be from 1 to 12.
|
|
1366
|
+
# Corresponds to the JSON property `month`
|
|
1367
|
+
# @return [Fixnum]
|
|
1368
|
+
attr_accessor :month
|
|
1571
1369
|
|
|
1572
1370
|
def initialize(**args)
|
|
1573
1371
|
update!(**args)
|
|
@@ -1575,8 +1373,9 @@ module Google
|
|
|
1575
1373
|
|
|
1576
1374
|
# Update properties of this object
|
|
1577
1375
|
def update!(**args)
|
|
1578
|
-
@
|
|
1579
|
-
@
|
|
1376
|
+
@year = args[:year] if args.key?(:year)
|
|
1377
|
+
@day = args[:day] if args.key?(:day)
|
|
1378
|
+
@month = args[:month] if args.key?(:month)
|
|
1580
1379
|
end
|
|
1581
1380
|
end
|
|
1582
1381
|
|
|
@@ -1584,16 +1383,6 @@ module Google
|
|
|
1584
1383
|
class Name
|
|
1585
1384
|
include Google::Apis::Core::Hashable
|
|
1586
1385
|
|
|
1587
|
-
# The honorific prefixes spelled as they sound.
|
|
1588
|
-
# Corresponds to the JSON property `phoneticHonorificPrefix`
|
|
1589
|
-
# @return [String]
|
|
1590
|
-
attr_accessor :phonetic_honorific_prefix
|
|
1591
|
-
|
|
1592
|
-
# The given name spelled as it sounds.
|
|
1593
|
-
# Corresponds to the JSON property `phoneticGivenName`
|
|
1594
|
-
# @return [String]
|
|
1595
|
-
attr_accessor :phonetic_given_name
|
|
1596
|
-
|
|
1597
1386
|
# The family name spelled as it sounds.
|
|
1598
1387
|
# Corresponds to the JSON property `phoneticFamilyName`
|
|
1599
1388
|
# @return [String]
|
|
@@ -1604,16 +1393,16 @@ module Google
|
|
|
1604
1393
|
# @return [String]
|
|
1605
1394
|
attr_accessor :family_name
|
|
1606
1395
|
|
|
1607
|
-
# Metadata about a field.
|
|
1608
|
-
# Corresponds to the JSON property `metadata`
|
|
1609
|
-
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
|
1610
|
-
attr_accessor :metadata
|
|
1611
|
-
|
|
1612
1396
|
# The middle name(s) spelled as they sound.
|
|
1613
1397
|
# Corresponds to the JSON property `phoneticMiddleName`
|
|
1614
1398
|
# @return [String]
|
|
1615
1399
|
attr_accessor :phonetic_middle_name
|
|
1616
1400
|
|
|
1401
|
+
# Metadata about a field.
|
|
1402
|
+
# Corresponds to the JSON property `metadata`
|
|
1403
|
+
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
|
1404
|
+
attr_accessor :metadata
|
|
1405
|
+
|
|
1617
1406
|
# The full name spelled as it sounds.
|
|
1618
1407
|
# Corresponds to the JSON property `phoneticFullName`
|
|
1619
1408
|
# @return [String]
|
|
@@ -1647,15 +1436,25 @@ module Google
|
|
|
1647
1436
|
# @return [String]
|
|
1648
1437
|
attr_accessor :phonetic_honorific_suffix
|
|
1649
1438
|
|
|
1439
|
+
# The given name.
|
|
1440
|
+
# Corresponds to the JSON property `givenName`
|
|
1441
|
+
# @return [String]
|
|
1442
|
+
attr_accessor :given_name
|
|
1443
|
+
|
|
1650
1444
|
# The middle name(s).
|
|
1651
1445
|
# Corresponds to the JSON property `middleName`
|
|
1652
1446
|
# @return [String]
|
|
1653
1447
|
attr_accessor :middle_name
|
|
1654
1448
|
|
|
1655
|
-
# The
|
|
1656
|
-
# Corresponds to the JSON property `
|
|
1449
|
+
# The honorific prefixes spelled as they sound.
|
|
1450
|
+
# Corresponds to the JSON property `phoneticHonorificPrefix`
|
|
1657
1451
|
# @return [String]
|
|
1658
|
-
attr_accessor :
|
|
1452
|
+
attr_accessor :phonetic_honorific_prefix
|
|
1453
|
+
|
|
1454
|
+
# The given name spelled as it sounds.
|
|
1455
|
+
# Corresponds to the JSON property `phoneticGivenName`
|
|
1456
|
+
# @return [String]
|
|
1457
|
+
attr_accessor :phonetic_given_name
|
|
1659
1458
|
|
|
1660
1459
|
def initialize(**args)
|
|
1661
1460
|
update!(**args)
|
|
@@ -1663,20 +1462,20 @@ module Google
|
|
|
1663
1462
|
|
|
1664
1463
|
# Update properties of this object
|
|
1665
1464
|
def update!(**args)
|
|
1666
|
-
@phonetic_honorific_prefix = args[:phonetic_honorific_prefix] if args.key?(:phonetic_honorific_prefix)
|
|
1667
|
-
@phonetic_given_name = args[:phonetic_given_name] if args.key?(:phonetic_given_name)
|
|
1668
1465
|
@phonetic_family_name = args[:phonetic_family_name] if args.key?(:phonetic_family_name)
|
|
1669
1466
|
@family_name = args[:family_name] if args.key?(:family_name)
|
|
1670
|
-
@metadata = args[:metadata] if args.key?(:metadata)
|
|
1671
1467
|
@phonetic_middle_name = args[:phonetic_middle_name] if args.key?(:phonetic_middle_name)
|
|
1468
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
1672
1469
|
@phonetic_full_name = args[:phonetic_full_name] if args.key?(:phonetic_full_name)
|
|
1673
1470
|
@display_name_last_first = args[:display_name_last_first] if args.key?(:display_name_last_first)
|
|
1674
1471
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
1675
1472
|
@honorific_suffix = args[:honorific_suffix] if args.key?(:honorific_suffix)
|
|
1676
1473
|
@honorific_prefix = args[:honorific_prefix] if args.key?(:honorific_prefix)
|
|
1677
1474
|
@phonetic_honorific_suffix = args[:phonetic_honorific_suffix] if args.key?(:phonetic_honorific_suffix)
|
|
1678
|
-
@middle_name = args[:middle_name] if args.key?(:middle_name)
|
|
1679
1475
|
@given_name = args[:given_name] if args.key?(:given_name)
|
|
1476
|
+
@middle_name = args[:middle_name] if args.key?(:middle_name)
|
|
1477
|
+
@phonetic_honorific_prefix = args[:phonetic_honorific_prefix] if args.key?(:phonetic_honorific_prefix)
|
|
1478
|
+
@phonetic_given_name = args[:phonetic_given_name] if args.key?(:phonetic_given_name)
|
|
1680
1479
|
end
|
|
1681
1480
|
end
|
|
1682
1481
|
|
|
@@ -1704,6 +1503,207 @@ module Google
|
|
|
1704
1503
|
@value = args[:value] if args.key?(:value)
|
|
1705
1504
|
end
|
|
1706
1505
|
end
|
|
1506
|
+
|
|
1507
|
+
# A person's locale preference.
|
|
1508
|
+
class Locale
|
|
1509
|
+
include Google::Apis::Core::Hashable
|
|
1510
|
+
|
|
1511
|
+
# Metadata about a field.
|
|
1512
|
+
# Corresponds to the JSON property `metadata`
|
|
1513
|
+
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
|
1514
|
+
attr_accessor :metadata
|
|
1515
|
+
|
|
1516
|
+
# The well-formed [IETF BCP 47](https://tools.ietf.org/html/bcp47)
|
|
1517
|
+
# language tag representing the locale.
|
|
1518
|
+
# Corresponds to the JSON property `value`
|
|
1519
|
+
# @return [String]
|
|
1520
|
+
attr_accessor :value
|
|
1521
|
+
|
|
1522
|
+
def initialize(**args)
|
|
1523
|
+
update!(**args)
|
|
1524
|
+
end
|
|
1525
|
+
|
|
1526
|
+
# Update properties of this object
|
|
1527
|
+
def update!(**args)
|
|
1528
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
1529
|
+
@value = args[:value] if args.key?(:value)
|
|
1530
|
+
end
|
|
1531
|
+
end
|
|
1532
|
+
|
|
1533
|
+
# A person's past or current organization. Overlapping date ranges are
|
|
1534
|
+
# permitted.
|
|
1535
|
+
class Organization
|
|
1536
|
+
include Google::Apis::Core::Hashable
|
|
1537
|
+
|
|
1538
|
+
# True if the organization is the person's current organization;
|
|
1539
|
+
# false if the organization is a past organization.
|
|
1540
|
+
# Corresponds to the JSON property `current`
|
|
1541
|
+
# @return [Boolean]
|
|
1542
|
+
attr_accessor :current
|
|
1543
|
+
alias_method :current?, :current
|
|
1544
|
+
|
|
1545
|
+
# The read-only type of the organization translated and formatted in the
|
|
1546
|
+
# viewer's account locale or the `Accept-Language` HTTP header locale.
|
|
1547
|
+
# Corresponds to the JSON property `formattedType`
|
|
1548
|
+
# @return [String]
|
|
1549
|
+
attr_accessor :formatted_type
|
|
1550
|
+
|
|
1551
|
+
# Represents a whole calendar date, for example a date of birth. The time
|
|
1552
|
+
# of day and time zone are either specified elsewhere or are not
|
|
1553
|
+
# significant. The date is relative to the
|
|
1554
|
+
# [Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/
|
|
1555
|
+
# Proleptic_Gregorian_calendar).
|
|
1556
|
+
# The day may be 0 to represent a year and month where the day is not
|
|
1557
|
+
# significant. The year may be 0 to represent a month and day independent
|
|
1558
|
+
# of year; for example, anniversary date.
|
|
1559
|
+
# Corresponds to the JSON property `startDate`
|
|
1560
|
+
# @return [Google::Apis::PeopleV1::Date]
|
|
1561
|
+
attr_accessor :start_date
|
|
1562
|
+
|
|
1563
|
+
# The domain name associated with the organization; for example, `google.com`.
|
|
1564
|
+
# Corresponds to the JSON property `domain`
|
|
1565
|
+
# @return [String]
|
|
1566
|
+
attr_accessor :domain
|
|
1567
|
+
|
|
1568
|
+
# The person's department at the organization.
|
|
1569
|
+
# Corresponds to the JSON property `department`
|
|
1570
|
+
# @return [String]
|
|
1571
|
+
attr_accessor :department
|
|
1572
|
+
|
|
1573
|
+
# The phonetic name of the organization.
|
|
1574
|
+
# Corresponds to the JSON property `phoneticName`
|
|
1575
|
+
# @return [String]
|
|
1576
|
+
attr_accessor :phonetic_name
|
|
1577
|
+
|
|
1578
|
+
# The type of the organization. The type can be custom or predefined.
|
|
1579
|
+
# Possible values include, but are not limited to, the following:
|
|
1580
|
+
# * `work`
|
|
1581
|
+
# * `school`
|
|
1582
|
+
# Corresponds to the JSON property `type`
|
|
1583
|
+
# @return [String]
|
|
1584
|
+
attr_accessor :type
|
|
1585
|
+
|
|
1586
|
+
# The person's job description at the organization.
|
|
1587
|
+
# Corresponds to the JSON property `jobDescription`
|
|
1588
|
+
# @return [String]
|
|
1589
|
+
attr_accessor :job_description
|
|
1590
|
+
|
|
1591
|
+
# Represents a whole calendar date, for example a date of birth. The time
|
|
1592
|
+
# of day and time zone are either specified elsewhere or are not
|
|
1593
|
+
# significant. The date is relative to the
|
|
1594
|
+
# [Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/
|
|
1595
|
+
# Proleptic_Gregorian_calendar).
|
|
1596
|
+
# The day may be 0 to represent a year and month where the day is not
|
|
1597
|
+
# significant. The year may be 0 to represent a month and day independent
|
|
1598
|
+
# of year; for example, anniversary date.
|
|
1599
|
+
# Corresponds to the JSON property `endDate`
|
|
1600
|
+
# @return [Google::Apis::PeopleV1::Date]
|
|
1601
|
+
attr_accessor :end_date
|
|
1602
|
+
|
|
1603
|
+
# The symbol associated with the organization; for example, a stock ticker
|
|
1604
|
+
# symbol, abbreviation, or acronym.
|
|
1605
|
+
# Corresponds to the JSON property `symbol`
|
|
1606
|
+
# @return [String]
|
|
1607
|
+
attr_accessor :symbol
|
|
1608
|
+
|
|
1609
|
+
# The name of the organization.
|
|
1610
|
+
# Corresponds to the JSON property `name`
|
|
1611
|
+
# @return [String]
|
|
1612
|
+
attr_accessor :name
|
|
1613
|
+
|
|
1614
|
+
# Metadata about a field.
|
|
1615
|
+
# Corresponds to the JSON property `metadata`
|
|
1616
|
+
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
|
1617
|
+
attr_accessor :metadata
|
|
1618
|
+
|
|
1619
|
+
# The location of the organization office the person works at.
|
|
1620
|
+
# Corresponds to the JSON property `location`
|
|
1621
|
+
# @return [String]
|
|
1622
|
+
attr_accessor :location
|
|
1623
|
+
|
|
1624
|
+
# The person's job title at the organization.
|
|
1625
|
+
# Corresponds to the JSON property `title`
|
|
1626
|
+
# @return [String]
|
|
1627
|
+
attr_accessor :title
|
|
1628
|
+
|
|
1629
|
+
def initialize(**args)
|
|
1630
|
+
update!(**args)
|
|
1631
|
+
end
|
|
1632
|
+
|
|
1633
|
+
# Update properties of this object
|
|
1634
|
+
def update!(**args)
|
|
1635
|
+
@current = args[:current] if args.key?(:current)
|
|
1636
|
+
@formatted_type = args[:formatted_type] if args.key?(:formatted_type)
|
|
1637
|
+
@start_date = args[:start_date] if args.key?(:start_date)
|
|
1638
|
+
@domain = args[:domain] if args.key?(:domain)
|
|
1639
|
+
@department = args[:department] if args.key?(:department)
|
|
1640
|
+
@phonetic_name = args[:phonetic_name] if args.key?(:phonetic_name)
|
|
1641
|
+
@type = args[:type] if args.key?(:type)
|
|
1642
|
+
@job_description = args[:job_description] if args.key?(:job_description)
|
|
1643
|
+
@end_date = args[:end_date] if args.key?(:end_date)
|
|
1644
|
+
@symbol = args[:symbol] if args.key?(:symbol)
|
|
1645
|
+
@name = args[:name] if args.key?(:name)
|
|
1646
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
1647
|
+
@location = args[:location] if args.key?(:location)
|
|
1648
|
+
@title = args[:title] if args.key?(:title)
|
|
1649
|
+
end
|
|
1650
|
+
end
|
|
1651
|
+
|
|
1652
|
+
# A person's short biography.
|
|
1653
|
+
class Biography
|
|
1654
|
+
include Google::Apis::Core::Hashable
|
|
1655
|
+
|
|
1656
|
+
# The content type of the biography.
|
|
1657
|
+
# Corresponds to the JSON property `contentType`
|
|
1658
|
+
# @return [String]
|
|
1659
|
+
attr_accessor :content_type
|
|
1660
|
+
|
|
1661
|
+
# Metadata about a field.
|
|
1662
|
+
# Corresponds to the JSON property `metadata`
|
|
1663
|
+
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
|
1664
|
+
attr_accessor :metadata
|
|
1665
|
+
|
|
1666
|
+
# The short biography.
|
|
1667
|
+
# Corresponds to the JSON property `value`
|
|
1668
|
+
# @return [String]
|
|
1669
|
+
attr_accessor :value
|
|
1670
|
+
|
|
1671
|
+
def initialize(**args)
|
|
1672
|
+
update!(**args)
|
|
1673
|
+
end
|
|
1674
|
+
|
|
1675
|
+
# Update properties of this object
|
|
1676
|
+
def update!(**args)
|
|
1677
|
+
@content_type = args[:content_type] if args.key?(:content_type)
|
|
1678
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
1679
|
+
@value = args[:value] if args.key?(:value)
|
|
1680
|
+
end
|
|
1681
|
+
end
|
|
1682
|
+
|
|
1683
|
+
# A person's age range.
|
|
1684
|
+
class AgeRangeType
|
|
1685
|
+
include Google::Apis::Core::Hashable
|
|
1686
|
+
|
|
1687
|
+
# The age range.
|
|
1688
|
+
# Corresponds to the JSON property `ageRange`
|
|
1689
|
+
# @return [String]
|
|
1690
|
+
attr_accessor :age_range
|
|
1691
|
+
|
|
1692
|
+
# Metadata about a field.
|
|
1693
|
+
# Corresponds to the JSON property `metadata`
|
|
1694
|
+
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
|
1695
|
+
attr_accessor :metadata
|
|
1696
|
+
|
|
1697
|
+
def initialize(**args)
|
|
1698
|
+
update!(**args)
|
|
1699
|
+
end
|
|
1700
|
+
|
|
1701
|
+
# Update properties of this object
|
|
1702
|
+
def update!(**args)
|
|
1703
|
+
@age_range = args[:age_range] if args.key?(:age_range)
|
|
1704
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
1705
|
+
end
|
|
1706
|
+
end
|
|
1707
1707
|
end
|
|
1708
1708
|
end
|
|
1709
1709
|
end
|