google-api-client 0.12.0 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/api_names.yaml +945 -41609
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +12 -12
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +2 -2
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1437 -412
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +516 -71
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +1098 -422
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +6 -6
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +3 -3
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +3 -3
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +10 -10
- data/generated/google/apis/admin_directory_v1/service.rb +26 -26
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
- data/generated/google/apis/adsense_v1_4/representations.rb +3 -3
- data/generated/google/apis/adsense_v1_4/service.rb +44 -44
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +22 -22
- data/generated/google/apis/analytics_v3/classes.rb +3 -3
- data/generated/google/apis/analytics_v3/representations.rb +3 -3
- data/generated/google/apis/analytics_v3/service.rb +82 -82
- data/generated/google/apis/analyticsreporting_v4/classes.rb +937 -937
- data/generated/google/apis/analyticsreporting_v4/representations.rb +128 -128
- data/generated/google/apis/analyticsreporting_v4/service.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +10 -10
- data/generated/google/apis/androidenterprise_v1/representations.rb +20 -20
- data/generated/google/apis/androidenterprise_v1/service.rb +43 -43
- data/generated/google/apis/androidpublisher_v2/classes.rb +26 -26
- data/generated/google/apis/androidpublisher_v2/representations.rb +46 -46
- data/generated/google/apis/androidpublisher_v2/service.rb +95 -95
- data/generated/google/apis/appengine_v1.rb +4 -4
- data/generated/google/apis/appengine_v1/classes.rb +1570 -1512
- data/generated/google/apis/appengine_v1/representations.rb +362 -343
- data/generated/google/apis/appengine_v1/service.rb +220 -220
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +5 -5
- data/generated/google/apis/bigquery_v2/representations.rb +8 -8
- data/generated/google/apis/bigquery_v2/service.rb +13 -13
- data/generated/google/apis/blogger_v3/service.rb +3 -3
- data/generated/google/apis/books_v1/classes.rb +55 -55
- data/generated/google/apis/books_v1/representations.rb +67 -67
- data/generated/google/apis/books_v1/service.rb +82 -82
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +6 -6
- data/generated/google/apis/calendar_v3/representations.rb +3 -3
- data/generated/google/apis/calendar_v3/service.rb +2 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +2 -2
- data/generated/google/apis/civicinfo_v2/representations.rb +4 -4
- data/generated/google/apis/civicinfo_v2/service.rb +12 -12
- data/generated/google/apis/classroom_v1.rb +7 -7
- data/generated/google/apis/classroom_v1/classes.rb +1013 -991
- data/generated/google/apis/classroom_v1/representations.rb +207 -204
- data/generated/google/apis/classroom_v1/service.rb +709 -709
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +307 -307
- data/generated/google/apis/cloudbuild_v1/representations.rb +84 -84
- data/generated/google/apis/cloudbuild_v1/service.rb +125 -125
- data/generated/google/apis/clouddebugger_v2/classes.rb +673 -673
- data/generated/google/apis/clouddebugger_v2/representations.rb +152 -152
- data/generated/google/apis/clouddebugger_v2/service.rb +55 -55
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +121 -121
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +25 -25
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +74 -74
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +668 -613
- data/generated/google/apis/cloudkms_v1/representations.rb +151 -133
- data/generated/google/apis/cloudkms_v1/service.rb +267 -267
- data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1167 -1168
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +193 -193
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +470 -469
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +508 -509
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +94 -94
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +157 -156
- data/generated/google/apis/cloudtrace_v1/service.rb +34 -34
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +163 -15
- data/generated/google/apis/compute_beta/representations.rb +54 -14
- data/generated/google/apis/compute_beta/service.rb +2258 -482
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +465 -13
- data/generated/google/apis/compute_v1/representations.rb +202 -16
- data/generated/google/apis/compute_v1/service.rb +573 -309
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +635 -589
- data/generated/google/apis/container_v1/representations.rb +139 -111
- data/generated/google/apis/container_v1/service.rb +272 -227
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +86 -74
- data/generated/google/apis/content_v2/representations.rb +107 -105
- data/generated/google/apis/content_v2/service.rb +131 -130
- data/generated/google/apis/customsearch_v1.rb +2 -2
- data/generated/google/apis/customsearch_v1/classes.rb +0 -6
- data/generated/google/apis/customsearch_v1/representations.rb +0 -1
- data/generated/google/apis/customsearch_v1/service.rb +2 -5
- data/generated/google/apis/dataflow_v1b3.rb +7 -4
- data/generated/google/apis/dataflow_v1b3/classes.rb +3405 -3405
- data/generated/google/apis/dataflow_v1b3/representations.rb +834 -834
- data/generated/google/apis/dataflow_v1b3/service.rb +244 -244
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +543 -691
- data/generated/google/apis/dataproc_v1/representations.rb +129 -185
- data/generated/google/apis/dataproc_v1/service.rb +347 -347
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +833 -833
- data/generated/google/apis/datastore_v1/representations.rb +182 -182
- data/generated/google/apis/datastore_v1/service.rb +45 -45
- data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
- data/generated/google/apis/deploymentmanager_v2/representations.rb +10 -10
- data/generated/google/apis/deploymentmanager_v2/service.rb +20 -20
- data/generated/google/apis/discovery_v1/classes.rb +4 -4
- data/generated/google/apis/discovery_v1/representations.rb +2 -2
- data/generated/google/apis/discovery_v1/service.rb +1 -1
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +3 -3
- data/generated/google/apis/dns_v1/representations.rb +6 -6
- data/generated/google/apis/dns_v1/service.rb +12 -12
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -8
- 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 +1 -1
- data/generated/google/apis/drive_v2/service.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +160 -110
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +60 -31
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +38 -3
- data/generated/google/apis/firebaserules_v1/classes.rb +354 -354
- data/generated/google/apis/firebaserules_v1/representations.rb +87 -87
- data/generated/google/apis/firebaserules_v1/service.rb +103 -103
- data/generated/google/apis/fusiontables_v2/service.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration/representations.rb +4 -4
- data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +23 -23
- data/generated/google/apis/games_v1/representations.rb +43 -43
- data/generated/google/apis/games_v1/service.rb +72 -72
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +2316 -2316
- data/generated/google/apis/genomics_v1/representations.rb +291 -291
- data/generated/google/apis/genomics_v1/service.rb +821 -821
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/groupsmigration_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +2 -2
- data/generated/google/apis/groupssettings_v1/service.rb +3 -0
- data/generated/google/apis/iam_v1/classes.rb +338 -338
- data/generated/google/apis/iam_v1/representations.rb +98 -98
- data/generated/google/apis/iam_v1/service.rb +35 -35
- data/generated/google/apis/identitytoolkit_v3/classes.rb +15 -15
- data/generated/google/apis/identitytoolkit_v3/representations.rb +30 -30
- data/generated/google/apis/identitytoolkit_v3/service.rb +64 -64
- data/generated/google/apis/kgsearch_v1/service.rb +13 -13
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +374 -374
- data/generated/google/apis/language_v1/representations.rb +97 -97
- data/generated/google/apis/language_v1/service.rb +16 -16
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +441 -441
- data/generated/google/apis/language_v1beta1/representations.rb +108 -108
- data/generated/google/apis/language_v1beta1/service.rb +30 -30
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +712 -712
- data/generated/google/apis/logging_v2/representations.rb +109 -109
- data/generated/google/apis/logging_v2/service.rb +543 -539
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +752 -752
- data/generated/google/apis/logging_v2beta1/representations.rb +94 -94
- data/generated/google/apis/logging_v2beta1/service.rb +257 -256
- data/generated/google/apis/manufacturers_v1/classes.rb +130 -130
- data/generated/google/apis/manufacturers_v1/representations.rb +28 -28
- data/generated/google/apis/mirror_v1/classes.rb +5 -5
- data/generated/google/apis/mirror_v1/representations.rb +10 -10
- data/generated/google/apis/mirror_v1/service.rb +20 -20
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1830 -1210
- data/generated/google/apis/ml_v1/representations.rb +342 -120
- data/generated/google/apis/ml_v1/service.rb +365 -258
- data/generated/google/apis/monitoring_v3.rb +4 -4
- data/generated/google/apis/monitoring_v3/classes.rb +889 -889
- data/generated/google/apis/monitoring_v3/representations.rb +174 -174
- data/generated/google/apis/monitoring_v3/service.rb +119 -119
- data/generated/google/apis/mybusiness_v3/service.rb +5 -5
- data/generated/google/apis/oauth2_v2/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/classes.rb +11 -11
- data/generated/google/apis/pagespeedonline_v2/representations.rb +13 -13
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +550 -536
- data/generated/google/apis/partners_v2/representations.rb +118 -116
- data/generated/google/apis/partners_v2/service.rb +439 -439
- data/generated/google/apis/people_v1.rb +4 -4
- data/generated/google/apis/people_v1/classes.rb +414 -413
- data/generated/google/apis/people_v1/representations.rb +85 -85
- data/generated/google/apis/people_v1/service.rb +111 -18
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +4 -4
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/plus_v1/service.rb +1 -1
- data/generated/google/apis/prediction_v1_6/service.rb +8 -8
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +443 -443
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +92 -92
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +152 -152
- data/generated/google/apis/pubsub_v1/classes.rb +249 -249
- data/generated/google/apis/pubsub_v1/representations.rb +80 -80
- data/generated/google/apis/pubsub_v1/service.rb +415 -415
- data/generated/google/apis/qpx_express_v1/classes.rb +2 -2
- data/generated/google/apis/qpx_express_v1/representations.rb +4 -4
- data/generated/google/apis/qpx_express_v1/service.rb +8 -8
- data/generated/google/apis/replicapool_v1beta2/classes.rb +5 -5
- data/generated/google/apis/replicapool_v1beta2/representations.rb +10 -10
- data/generated/google/apis/replicapool_v1beta2/service.rb +21 -21
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -1
- data/generated/google/apis/resourceviews_v1beta2/classes.rb +5 -5
- data/generated/google/apis/resourceviews_v1beta2/representations.rb +10 -10
- data/generated/google/apis/resourceviews_v1beta2/service.rb +20 -20
- data/generated/google/apis/runtimeconfig_v1.rb +4 -4
- data/generated/google/apis/runtimeconfig_v1/classes.rb +15 -15
- data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
- data/generated/google/apis/runtimeconfig_v1/service.rb +4 -4
- data/generated/google/apis/script_v1.rb +17 -17
- data/generated/google/apis/script_v1/classes.rb +27 -27
- data/generated/google/apis/script_v1/representations.rb +5 -5
- data/generated/google/apis/script_v1/service.rb +4 -4
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +53 -53
- data/generated/google/apis/searchconsole_v1/representations.rb +23 -23
- data/generated/google/apis/searchconsole_v1/service.rb +4 -4
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +1175 -1175
- data/generated/google/apis/servicecontrol_v1/representations.rb +206 -206
- data/generated/google/apis/servicecontrol_v1/service.rb +116 -116
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1186 -1125
- data/generated/google/apis/servicemanagement_v1/representations.rb +241 -223
- data/generated/google/apis/servicemanagement_v1/service.rb +201 -201
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +2645 -2641
- data/generated/google/apis/serviceuser_v1/representations.rb +234 -234
- data/generated/google/apis/serviceuser_v1/service.rb +37 -37
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +5042 -4111
- data/generated/google/apis/sheets_v4/representations.rb +994 -824
- data/generated/google/apis/sheets_v4/service.rb +80 -80
- data/generated/google/apis/site_verification_v1/classes.rb +6 -6
- data/generated/google/apis/site_verification_v1/representations.rb +8 -8
- data/generated/google/apis/site_verification_v1/service.rb +12 -12
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +2885 -2885
- data/generated/google/apis/slides_v1/representations.rb +310 -310
- data/generated/google/apis/slides_v1/service.rb +54 -54
- data/generated/google/apis/sourcerepo_v1/classes.rb +206 -206
- data/generated/google/apis/sourcerepo_v1/representations.rb +52 -52
- data/generated/google/apis/sourcerepo_v1/service.rb +5 -5
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +2142 -2141
- data/generated/google/apis/spanner_v1/representations.rb +174 -174
- data/generated/google/apis/spanner_v1/service.rb +497 -497
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +227 -227
- data/generated/google/apis/speech_v1beta1/representations.rb +50 -50
- data/generated/google/apis/speech_v1beta1/service.rb +33 -33
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +21 -21
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +29 -29
- data/generated/google/apis/sqladmin_v1beta4/service.rb +56 -56
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +40 -6
- data/generated/google/apis/storage_v1/representations.rb +20 -4
- data/generated/google/apis/storage_v1/service.rb +61 -46
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +184 -184
- data/generated/google/apis/storagetransfer_v1/representations.rb +35 -35
- data/generated/google/apis/storagetransfer_v1/service.rb +70 -70
- data/generated/google/apis/tagmanager_v1/service.rb +33 -33
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/translate_v2/classes.rb +12 -12
- data/generated/google/apis/translate_v2/representations.rb +10 -10
- data/generated/google/apis/translate_v2/service.rb +62 -62
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1267 -1267
- data/generated/google/apis/vision_v1/representations.rb +200 -200
- data/generated/google/apis/vision_v1/service.rb +10 -10
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/webmasters_v3/classes.rb +4 -4
- data/generated/google/apis/webmasters_v3/representations.rb +8 -8
- data/generated/google/apis/webmasters_v3/service.rb +21 -21
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +2 -2
- data/generated/google/apis/youtube_analytics_v1/representations.rb +4 -4
- data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
- data/generated/google/apis/youtube_v3/classes.rb +20 -20
- data/generated/google/apis/youtube_v3/representations.rb +40 -40
- data/generated/google/apis/youtube_v3/service.rb +80 -80
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +129 -129
- data/generated/google/apis/youtubereporting_v1/representations.rb +38 -38
- data/generated/google/apis/youtubereporting_v1/service.rb +97 -97
- data/lib/google/apis/generator/annotator.rb +2 -2
- data/lib/google/apis/generator/model.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
@@ -40,13 +40,13 @@ module Google
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
-
class
|
43
|
+
class PhoneNumber
|
44
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
45
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
47
47
|
end
|
48
48
|
|
49
|
-
class
|
49
|
+
class Photo
|
50
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
51
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -88,13 +88,13 @@ module Google
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
89
89
|
end
|
90
90
|
|
91
|
-
class
|
91
|
+
class Event
|
92
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
93
|
|
94
94
|
include Google::Apis::Core::JsonObjectSupport
|
95
95
|
end
|
96
96
|
|
97
|
-
class
|
97
|
+
class PersonMetadata
|
98
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
99
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -106,13 +106,13 @@ module Google
|
|
106
106
|
include Google::Apis::Core::JsonObjectSupport
|
107
107
|
end
|
108
108
|
|
109
|
-
class
|
109
|
+
class Url
|
110
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
111
|
|
112
112
|
include Google::Apis::Core::JsonObjectSupport
|
113
113
|
end
|
114
114
|
|
115
|
-
class
|
115
|
+
class Gender
|
116
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
117
|
|
118
118
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -136,13 +136,13 @@ module Google
|
|
136
136
|
include Google::Apis::Core::JsonObjectSupport
|
137
137
|
end
|
138
138
|
|
139
|
-
class
|
139
|
+
class Nickname
|
140
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
141
|
|
142
142
|
include Google::Apis::Core::JsonObjectSupport
|
143
143
|
end
|
144
144
|
|
145
|
-
class
|
145
|
+
class EmailAddress
|
146
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
147
|
|
148
148
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -232,13 +232,13 @@ module Google
|
|
232
232
|
include Google::Apis::Core::JsonObjectSupport
|
233
233
|
end
|
234
234
|
|
235
|
-
class
|
235
|
+
class RelationshipInterest
|
236
236
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
237
|
|
238
238
|
include Google::Apis::Core::JsonObjectSupport
|
239
239
|
end
|
240
240
|
|
241
|
-
class
|
241
|
+
class Source
|
242
242
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
243
|
|
244
244
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -262,16 +262,6 @@ module Google
|
|
262
262
|
class Person
|
263
263
|
# @private
|
264
264
|
class Representation < Google::Apis::Core::JsonRepresentation
|
265
|
-
collection :im_clients, as: 'imClients', class: Google::Apis::PeopleV1::ImClient, decorator: Google::Apis::PeopleV1::ImClient::Representation
|
266
|
-
|
267
|
-
collection :birthdays, as: 'birthdays', class: Google::Apis::PeopleV1::Birthday, decorator: Google::Apis::PeopleV1::Birthday::Representation
|
268
|
-
|
269
|
-
collection :locales, as: 'locales', class: Google::Apis::PeopleV1::Locale, decorator: Google::Apis::PeopleV1::Locale::Representation
|
270
|
-
|
271
|
-
collection :relationship_interests, as: 'relationshipInterests', class: Google::Apis::PeopleV1::RelationshipInterest, decorator: Google::Apis::PeopleV1::RelationshipInterest::Representation
|
272
|
-
|
273
|
-
collection :urls, as: 'urls', class: Google::Apis::PeopleV1::Url, decorator: Google::Apis::PeopleV1::Url::Representation
|
274
|
-
|
275
265
|
collection :nicknames, as: 'nicknames', class: Google::Apis::PeopleV1::Nickname, decorator: Google::Apis::PeopleV1::Nickname::Representation
|
276
266
|
|
277
267
|
collection :relations, as: 'relations', class: Google::Apis::PeopleV1::Relation, decorator: Google::Apis::PeopleV1::Relation::Representation
|
@@ -319,6 +309,16 @@ module Google
|
|
319
309
|
|
320
310
|
collection :cover_photos, as: 'coverPhotos', class: Google::Apis::PeopleV1::CoverPhoto, decorator: Google::Apis::PeopleV1::CoverPhoto::Representation
|
321
311
|
|
312
|
+
collection :im_clients, as: 'imClients', class: Google::Apis::PeopleV1::ImClient, decorator: Google::Apis::PeopleV1::ImClient::Representation
|
313
|
+
|
314
|
+
collection :birthdays, as: 'birthdays', class: Google::Apis::PeopleV1::Birthday, decorator: Google::Apis::PeopleV1::Birthday::Representation
|
315
|
+
|
316
|
+
collection :locales, as: 'locales', class: Google::Apis::PeopleV1::Locale, decorator: Google::Apis::PeopleV1::Locale::Representation
|
317
|
+
|
318
|
+
collection :relationship_interests, as: 'relationshipInterests', class: Google::Apis::PeopleV1::RelationshipInterest, decorator: Google::Apis::PeopleV1::RelationshipInterest::Representation
|
319
|
+
|
320
|
+
collection :urls, as: 'urls', class: Google::Apis::PeopleV1::Url, decorator: Google::Apis::PeopleV1::Url::Representation
|
321
|
+
|
322
322
|
end
|
323
323
|
end
|
324
324
|
|
@@ -330,24 +330,24 @@ module Google
|
|
330
330
|
end
|
331
331
|
end
|
332
332
|
|
333
|
-
class
|
333
|
+
class PhoneNumber
|
334
334
|
# @private
|
335
335
|
class Representation < Google::Apis::Core::JsonRepresentation
|
336
|
+
property :type, as: 'type'
|
336
337
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
337
338
|
|
338
|
-
property :
|
339
|
+
property :value, as: 'value'
|
340
|
+
property :formatted_type, as: 'formattedType'
|
341
|
+
property :canonical_form, as: 'canonicalForm'
|
339
342
|
end
|
340
343
|
end
|
341
344
|
|
342
|
-
class
|
345
|
+
class Photo
|
343
346
|
# @private
|
344
347
|
class Representation < Google::Apis::Core::JsonRepresentation
|
345
|
-
property :value, as: 'value'
|
346
|
-
property :formatted_type, as: 'formattedType'
|
347
|
-
property :canonical_form, as: 'canonicalForm'
|
348
|
-
property :type, as: 'type'
|
349
348
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
350
349
|
|
350
|
+
property :url, as: 'url'
|
351
351
|
end
|
352
352
|
end
|
353
353
|
|
@@ -366,11 +366,11 @@ module Google
|
|
366
366
|
class Birthday
|
367
367
|
# @private
|
368
368
|
class Representation < Google::Apis::Core::JsonRepresentation
|
369
|
-
property :date, as: 'date', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation
|
370
|
-
|
371
369
|
property :text, as: 'text'
|
372
370
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
373
371
|
|
372
|
+
property :date, as: 'date', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation
|
373
|
+
|
374
374
|
end
|
375
375
|
end
|
376
376
|
|
@@ -387,9 +387,6 @@ module Google
|
|
387
387
|
class Address
|
388
388
|
# @private
|
389
389
|
class Representation < Google::Apis::Core::JsonRepresentation
|
390
|
-
property :country, as: 'country'
|
391
|
-
property :type, as: 'type'
|
392
|
-
property :extended_address, as: 'extendedAddress'
|
393
390
|
property :po_box, as: 'poBox'
|
394
391
|
property :postal_code, as: 'postalCode'
|
395
392
|
property :region, as: 'region'
|
@@ -400,6 +397,9 @@ module Google
|
|
400
397
|
property :formatted_type, as: 'formattedType'
|
401
398
|
property :city, as: 'city'
|
402
399
|
property :formatted_value, as: 'formattedValue'
|
400
|
+
property :country, as: 'country'
|
401
|
+
property :type, as: 'type'
|
402
|
+
property :extended_address, as: 'extendedAddress'
|
403
403
|
end
|
404
404
|
end
|
405
405
|
|
@@ -413,33 +413,33 @@ module Google
|
|
413
413
|
class Status
|
414
414
|
# @private
|
415
415
|
class Representation < Google::Apis::Core::JsonRepresentation
|
416
|
-
collection :details, as: 'details'
|
417
416
|
property :code, as: 'code'
|
418
417
|
property :message, as: 'message'
|
418
|
+
collection :details, as: 'details'
|
419
419
|
end
|
420
420
|
end
|
421
421
|
|
422
|
-
class
|
422
|
+
class Event
|
423
423
|
# @private
|
424
424
|
class Representation < Google::Apis::Core::JsonRepresentation
|
425
|
-
property :
|
426
|
-
|
427
|
-
collection :previous_resource_names, as: 'previousResourceNames'
|
428
|
-
collection :sources, as: 'sources', class: Google::Apis::PeopleV1::Source, decorator: Google::Apis::PeopleV1::Source::Representation
|
425
|
+
property :type, as: 'type'
|
426
|
+
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
429
427
|
|
430
|
-
property :
|
428
|
+
property :date, as: 'date', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation
|
429
|
+
|
430
|
+
property :formatted_type, as: 'formattedType'
|
431
431
|
end
|
432
432
|
end
|
433
433
|
|
434
|
-
class
|
434
|
+
class PersonMetadata
|
435
435
|
# @private
|
436
436
|
class Representation < Google::Apis::Core::JsonRepresentation
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
property :type, as: 'type'
|
441
|
-
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
437
|
+
collection :linked_people_resource_names, as: 'linkedPeopleResourceNames'
|
438
|
+
collection :previous_resource_names, as: 'previousResourceNames'
|
439
|
+
collection :sources, as: 'sources', class: Google::Apis::PeopleV1::Source, decorator: Google::Apis::PeopleV1::Source::Representation
|
442
440
|
|
441
|
+
property :deleted, as: 'deleted'
|
442
|
+
property :object_type, as: 'objectType'
|
443
443
|
end
|
444
444
|
end
|
445
445
|
|
@@ -450,47 +450,47 @@ module Google
|
|
450
450
|
end
|
451
451
|
end
|
452
452
|
|
453
|
-
class
|
453
|
+
class Url
|
454
454
|
# @private
|
455
455
|
class Representation < Google::Apis::Core::JsonRepresentation
|
456
|
-
property :
|
456
|
+
property :type, as: 'type'
|
457
457
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
458
458
|
|
459
459
|
property :value, as: 'value'
|
460
|
+
property :formatted_type, as: 'formattedType'
|
460
461
|
end
|
461
462
|
end
|
462
463
|
|
463
|
-
class
|
464
|
+
class Gender
|
464
465
|
# @private
|
465
466
|
class Representation < Google::Apis::Core::JsonRepresentation
|
466
|
-
property :
|
467
|
+
property :formatted_value, as: 'formattedValue'
|
467
468
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
468
469
|
|
469
470
|
property :value, as: 'value'
|
470
|
-
property :formatted_type, as: 'formattedType'
|
471
471
|
end
|
472
472
|
end
|
473
473
|
|
474
474
|
class CoverPhoto
|
475
475
|
# @private
|
476
476
|
class Representation < Google::Apis::Core::JsonRepresentation
|
477
|
-
property :url, as: 'url'
|
478
477
|
property :default, as: 'default'
|
479
478
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
480
479
|
|
480
|
+
property :url, as: 'url'
|
481
481
|
end
|
482
482
|
end
|
483
483
|
|
484
484
|
class ImClient
|
485
485
|
# @private
|
486
486
|
class Representation < Google::Apis::Core::JsonRepresentation
|
487
|
-
property :formatted_protocol, as: 'formattedProtocol'
|
488
|
-
property :formatted_type, as: 'formattedType'
|
489
487
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
490
488
|
|
491
489
|
property :type, as: 'type'
|
492
490
|
property :protocol, as: 'protocol'
|
493
491
|
property :username, as: 'username'
|
492
|
+
property :formatted_protocol, as: 'formattedProtocol'
|
493
|
+
property :formatted_type, as: 'formattedType'
|
494
494
|
end
|
495
495
|
end
|
496
496
|
|
@@ -503,25 +503,25 @@ module Google
|
|
503
503
|
end
|
504
504
|
end
|
505
505
|
|
506
|
-
class
|
506
|
+
class Nickname
|
507
507
|
# @private
|
508
508
|
class Representation < Google::Apis::Core::JsonRepresentation
|
509
|
-
property :display_name, as: 'displayName'
|
510
509
|
property :type, as: 'type'
|
511
510
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
512
511
|
|
513
512
|
property :value, as: 'value'
|
514
|
-
property :formatted_type, as: 'formattedType'
|
515
513
|
end
|
516
514
|
end
|
517
515
|
|
518
|
-
class
|
516
|
+
class EmailAddress
|
519
517
|
# @private
|
520
518
|
class Representation < Google::Apis::Core::JsonRepresentation
|
521
519
|
property :type, as: 'type'
|
522
520
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
523
521
|
|
524
522
|
property :value, as: 'value'
|
523
|
+
property :formatted_type, as: 'formattedType'
|
524
|
+
property :display_name, as: 'displayName'
|
525
525
|
end
|
526
526
|
end
|
527
527
|
|
@@ -544,12 +544,12 @@ module Google
|
|
544
544
|
class Membership
|
545
545
|
# @private
|
546
546
|
class Representation < Google::Apis::Core::JsonRepresentation
|
547
|
+
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
548
|
+
|
547
549
|
property :domain_membership, as: 'domainMembership', class: Google::Apis::PeopleV1::DomainMembership, decorator: Google::Apis::PeopleV1::DomainMembership::Representation
|
548
550
|
|
549
551
|
property :contact_group_membership, as: 'contactGroupMembership', class: Google::Apis::PeopleV1::ContactGroupMembership, decorator: Google::Apis::PeopleV1::ContactGroupMembership::Representation
|
550
552
|
|
551
|
-
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
552
|
-
|
553
553
|
end
|
554
554
|
end
|
555
555
|
|
@@ -566,9 +566,9 @@ module Google
|
|
566
566
|
class Date
|
567
567
|
# @private
|
568
568
|
class Representation < Google::Apis::Core::JsonRepresentation
|
569
|
+
property :month, as: 'month'
|
569
570
|
property :day, as: 'day'
|
570
571
|
property :year, as: 'year'
|
571
|
-
property :month, as: 'month'
|
572
572
|
end
|
573
573
|
end
|
574
574
|
|
@@ -584,21 +584,21 @@ module Google
|
|
584
584
|
class Name
|
585
585
|
# @private
|
586
586
|
class Representation < Google::Apis::Core::JsonRepresentation
|
587
|
-
property :given_name, as: 'givenName'
|
588
|
-
property :middle_name, as: 'middleName'
|
589
|
-
property :phonetic_honorific_prefix, as: 'phoneticHonorificPrefix'
|
590
587
|
property :phonetic_given_name, as: 'phoneticGivenName'
|
591
588
|
property :phonetic_family_name, as: 'phoneticFamilyName'
|
592
589
|
property :family_name, as: 'familyName'
|
593
|
-
property :phonetic_middle_name, as: 'phoneticMiddleName'
|
594
590
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
595
591
|
|
592
|
+
property :phonetic_middle_name, as: 'phoneticMiddleName'
|
596
593
|
property :phonetic_full_name, as: 'phoneticFullName'
|
597
594
|
property :display_name_last_first, as: 'displayNameLastFirst'
|
598
595
|
property :display_name, as: 'displayName'
|
599
596
|
property :honorific_suffix, as: 'honorificSuffix'
|
600
597
|
property :honorific_prefix, as: 'honorificPrefix'
|
601
598
|
property :phonetic_honorific_suffix, as: 'phoneticHonorificSuffix'
|
599
|
+
property :middle_name, as: 'middleName'
|
600
|
+
property :given_name, as: 'givenName'
|
601
|
+
property :phonetic_honorific_prefix, as: 'phoneticHonorificPrefix'
|
602
602
|
end
|
603
603
|
end
|
604
604
|
|
@@ -623,16 +623,8 @@ module Google
|
|
623
623
|
class Organization
|
624
624
|
# @private
|
625
625
|
class Representation < Google::Apis::Core::JsonRepresentation
|
626
|
-
property :title, as: 'title'
|
627
|
-
property :location, as: 'location'
|
628
|
-
property :current, as: 'current'
|
629
|
-
property :formatted_type, as: 'formattedType'
|
630
|
-
property :start_date, as: 'startDate', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation
|
631
|
-
|
632
|
-
property :domain, as: 'domain'
|
633
|
-
property :department, as: 'department'
|
634
|
-
property :phonetic_name, as: 'phoneticName'
|
635
626
|
property :type, as: 'type'
|
627
|
+
property :phonetic_name, as: 'phoneticName'
|
636
628
|
property :job_description, as: 'jobDescription'
|
637
629
|
property :end_date, as: 'endDate', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation
|
638
630
|
|
@@ -640,6 +632,14 @@ module Google
|
|
640
632
|
property :name, as: 'name'
|
641
633
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
642
634
|
|
635
|
+
property :location, as: 'location'
|
636
|
+
property :title, as: 'title'
|
637
|
+
property :current, as: 'current'
|
638
|
+
property :start_date, as: 'startDate', class: Google::Apis::PeopleV1::Date, decorator: Google::Apis::PeopleV1::Date::Representation
|
639
|
+
|
640
|
+
property :formatted_type, as: 'formattedType'
|
641
|
+
property :domain, as: 'domain'
|
642
|
+
property :department, as: 'department'
|
643
643
|
end
|
644
644
|
end
|
645
645
|
|
@@ -656,9 +656,9 @@ module Google
|
|
656
656
|
class AgeRangeType
|
657
657
|
# @private
|
658
658
|
class Representation < Google::Apis::Core::JsonRepresentation
|
659
|
+
property :age_range, as: 'ageRange'
|
659
660
|
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
660
661
|
|
661
|
-
property :age_range, as: 'ageRange'
|
662
662
|
end
|
663
663
|
end
|
664
664
|
|
@@ -675,33 +675,33 @@ module Google
|
|
675
675
|
class PersonResponse
|
676
676
|
# @private
|
677
677
|
class Representation < Google::Apis::Core::JsonRepresentation
|
678
|
-
property :person, as: 'person', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation
|
679
|
-
|
680
678
|
property :status, as: 'status', class: Google::Apis::PeopleV1::Status, decorator: Google::Apis::PeopleV1::Status::Representation
|
681
679
|
|
682
680
|
property :http_status_code, as: 'httpStatusCode'
|
683
681
|
property :requested_resource_name, as: 'requestedResourceName'
|
682
|
+
property :person, as: 'person', class: Google::Apis::PeopleV1::Person, decorator: Google::Apis::PeopleV1::Person::Representation
|
683
|
+
|
684
684
|
end
|
685
685
|
end
|
686
686
|
|
687
|
-
class
|
687
|
+
class RelationshipInterest
|
688
688
|
# @private
|
689
689
|
class Representation < Google::Apis::Core::JsonRepresentation
|
690
|
-
property :
|
691
|
-
property :etag, as: 'etag'
|
692
|
-
property :id, as: 'id'
|
693
|
-
property :profile_metadata, as: 'profileMetadata', class: Google::Apis::PeopleV1::ProfileMetadata, decorator: Google::Apis::PeopleV1::ProfileMetadata::Representation
|
690
|
+
property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
|
694
691
|
|
692
|
+
property :value, as: 'value'
|
693
|
+
property :formatted_value, as: 'formattedValue'
|
695
694
|
end
|
696
695
|
end
|
697
696
|
|
698
|
-
class
|
697
|
+
class Source
|
699
698
|
# @private
|
700
699
|
class Representation < Google::Apis::Core::JsonRepresentation
|
701
|
-
property :
|
702
|
-
property :
|
700
|
+
property :type, as: 'type'
|
701
|
+
property :etag, as: 'etag'
|
702
|
+
property :id, as: 'id'
|
703
|
+
property :profile_metadata, as: 'profileMetadata', class: Google::Apis::PeopleV1::ProfileMetadata, decorator: Google::Apis::PeopleV1::ProfileMetadata::Representation
|
703
704
|
|
704
|
-
property :value, as: 'value'
|
705
705
|
end
|
706
706
|
end
|
707
707
|
|
@@ -32,16 +32,16 @@ module Google
|
|
32
32
|
#
|
33
33
|
# @see https://developers.google.com/people/
|
34
34
|
class PeopleServiceService < Google::Apis::Core::BaseService
|
35
|
-
# @return [String]
|
36
|
-
# API key. Your API key identifies your project and provides you with API access,
|
37
|
-
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
38
|
-
attr_accessor :key
|
39
|
-
|
40
35
|
# @return [String]
|
41
36
|
# Available to use for quota purposes for server-side applications. Can be any
|
42
37
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
43
38
|
attr_accessor :quota_user
|
44
39
|
|
40
|
+
# @return [String]
|
41
|
+
# API key. Your API key identifies your project and provides you with API access,
|
42
|
+
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
43
|
+
attr_accessor :key
|
44
|
+
|
45
45
|
def initialize
|
46
46
|
super('https://people.googleapis.com/', '')
|
47
47
|
@batch_path = 'batch'
|
@@ -50,15 +50,45 @@ module Google
|
|
50
50
|
# Provides information about a list of specific people by specifying a list
|
51
51
|
# of requested resource names. Use `people/me` to indicate the authenticated
|
52
52
|
# user.
|
53
|
-
# @param [String] request_mask_include_field
|
54
|
-
# Required. Comma-separated list of person fields to be included in the
|
55
|
-
# response. Each path should start with `person.`: for example,
|
56
|
-
# `person.names` or `person.photos`.
|
57
53
|
# @param [Array<String>, String] resource_names
|
58
54
|
# The resource name, such as one returned by
|
59
55
|
# [`people.connections.list`](/people/api/rest/v1/people.connections/list),
|
60
56
|
# of one of the people to provide information about. You can include this
|
61
57
|
# parameter up to 50 times in one request.
|
58
|
+
# @param [String] person_fields
|
59
|
+
# Required. A field mask to restrict which fields on each person are
|
60
|
+
# returned. Valid values are:
|
61
|
+
# * addresses
|
62
|
+
# * ageRanges
|
63
|
+
# * biographies
|
64
|
+
# * birthdays
|
65
|
+
# * braggingRights
|
66
|
+
# * coverPhotos
|
67
|
+
# * emailAddresses
|
68
|
+
# * events
|
69
|
+
# * genders
|
70
|
+
# * imClients
|
71
|
+
# * interests
|
72
|
+
# * locales
|
73
|
+
# * memberships
|
74
|
+
# * metadata
|
75
|
+
# * names
|
76
|
+
# * nicknames
|
77
|
+
# * occupations
|
78
|
+
# * organizations
|
79
|
+
# * phoneNumbers
|
80
|
+
# * photos
|
81
|
+
# * relations
|
82
|
+
# * relationshipInterests
|
83
|
+
# * relationshipStatuses
|
84
|
+
# * residences
|
85
|
+
# * skills
|
86
|
+
# * taglines
|
87
|
+
# * urls
|
88
|
+
# @param [String] request_mask_include_field
|
89
|
+
# Required. Comma-separated list of person fields to be included in the
|
90
|
+
# response. Each path should start with `person.`: for example,
|
91
|
+
# `person.names` or `person.photos`.
|
62
92
|
# @param [String] quota_user
|
63
93
|
# Available to use for quota purposes for server-side applications. Can be any
|
64
94
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
@@ -76,12 +106,13 @@ module Google
|
|
76
106
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
77
107
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
78
108
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
79
|
-
def
|
109
|
+
def get_people(resource_names: nil, person_fields: nil, request_mask_include_field: nil, quota_user: nil, fields: nil, options: nil, &block)
|
80
110
|
command = make_simple_command(:get, 'v1/people:batchGet', options)
|
81
111
|
command.response_representation = Google::Apis::PeopleV1::GetPeopleResponse::Representation
|
82
112
|
command.response_class = Google::Apis::PeopleV1::GetPeopleResponse
|
83
|
-
command.query['requestMask.includeField'] = request_mask_include_field unless request_mask_include_field.nil?
|
84
113
|
command.query['resourceNames'] = resource_names unless resource_names.nil?
|
114
|
+
command.query['personFields'] = person_fields unless person_fields.nil?
|
115
|
+
command.query['requestMask.includeField'] = request_mask_include_field unless request_mask_include_field.nil?
|
85
116
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
86
117
|
command.query['fields'] = fields unless fields.nil?
|
87
118
|
execute_or_queue_command(command, &block)
|
@@ -95,6 +126,36 @@ module Google
|
|
95
126
|
# - To get information about any user, specify the resource name that
|
96
127
|
# identifies the user, such as the resource names returned by
|
97
128
|
# [`people.connections.list`](/people/api/rest/v1/people.connections/list).
|
129
|
+
# @param [String] person_fields
|
130
|
+
# Required. A field mask to restrict which fields on the person are returned.
|
131
|
+
# Valid values are:
|
132
|
+
# * addresses
|
133
|
+
# * ageRanges
|
134
|
+
# * biographies
|
135
|
+
# * birthdays
|
136
|
+
# * braggingRights
|
137
|
+
# * coverPhotos
|
138
|
+
# * emailAddresses
|
139
|
+
# * events
|
140
|
+
# * genders
|
141
|
+
# * imClients
|
142
|
+
# * interests
|
143
|
+
# * locales
|
144
|
+
# * memberships
|
145
|
+
# * metadata
|
146
|
+
# * names
|
147
|
+
# * nicknames
|
148
|
+
# * occupations
|
149
|
+
# * organizations
|
150
|
+
# * phoneNumbers
|
151
|
+
# * photos
|
152
|
+
# * relations
|
153
|
+
# * relationshipInterests
|
154
|
+
# * relationshipStatuses
|
155
|
+
# * residences
|
156
|
+
# * skills
|
157
|
+
# * taglines
|
158
|
+
# * urls
|
98
159
|
# @param [String] request_mask_include_field
|
99
160
|
# Required. Comma-separated list of person fields to be included in the
|
100
161
|
# response. Each path should start with `person.`: for example,
|
@@ -116,11 +177,12 @@ module Google
|
|
116
177
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
117
178
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
118
179
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
119
|
-
def get_person(resource_name, request_mask_include_field: nil, quota_user: nil, fields: nil, options: nil, &block)
|
180
|
+
def get_person(resource_name, person_fields: nil, request_mask_include_field: nil, quota_user: nil, fields: nil, options: nil, &block)
|
120
181
|
command = make_simple_command(:get, 'v1/{+resourceName}', options)
|
121
182
|
command.response_representation = Google::Apis::PeopleV1::Person::Representation
|
122
183
|
command.response_class = Google::Apis::PeopleV1::Person
|
123
184
|
command.params['resourceName'] = resource_name unless resource_name.nil?
|
185
|
+
command.query['personFields'] = person_fields unless person_fields.nil?
|
124
186
|
command.query['requestMask.includeField'] = request_mask_include_field unless request_mask_include_field.nil?
|
125
187
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
126
188
|
command.query['fields'] = fields unless fields.nil?
|
@@ -131,6 +193,9 @@ module Google
|
|
131
193
|
# linked profiles.
|
132
194
|
# @param [String] resource_name
|
133
195
|
# The resource name to return connections for. Only `people/me` is valid.
|
196
|
+
# @param [String] sort_order
|
197
|
+
# The order in which the connections should be sorted. Defaults to
|
198
|
+
# `LAST_MODIFIED_ASCENDING`.
|
134
199
|
# @param [Boolean] request_sync_token
|
135
200
|
# Whether the response should include a sync token, which can be used to get
|
136
201
|
# all changes since the last request.
|
@@ -146,9 +211,36 @@ module Google
|
|
146
211
|
# @param [String] sync_token
|
147
212
|
# A sync token, returned by a previous call to `people.connections.list`.
|
148
213
|
# Only resources changed since the sync token was created will be returned.
|
149
|
-
# @param [String]
|
150
|
-
#
|
151
|
-
#
|
214
|
+
# @param [String] person_fields
|
215
|
+
# Required. A field mask to restrict which fields on each person are
|
216
|
+
# returned. Valid values are:
|
217
|
+
# * addresses
|
218
|
+
# * ageRanges
|
219
|
+
# * biographies
|
220
|
+
# * birthdays
|
221
|
+
# * braggingRights
|
222
|
+
# * coverPhotos
|
223
|
+
# * emailAddresses
|
224
|
+
# * events
|
225
|
+
# * genders
|
226
|
+
# * imClients
|
227
|
+
# * interests
|
228
|
+
# * locales
|
229
|
+
# * memberships
|
230
|
+
# * metadata
|
231
|
+
# * names
|
232
|
+
# * nicknames
|
233
|
+
# * occupations
|
234
|
+
# * organizations
|
235
|
+
# * phoneNumbers
|
236
|
+
# * photos
|
237
|
+
# * relations
|
238
|
+
# * relationshipInterests
|
239
|
+
# * relationshipStatuses
|
240
|
+
# * residences
|
241
|
+
# * skills
|
242
|
+
# * taglines
|
243
|
+
# * urls
|
152
244
|
# @param [String] quota_user
|
153
245
|
# Available to use for quota purposes for server-side applications. Can be any
|
154
246
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
@@ -166,17 +258,18 @@ module Google
|
|
166
258
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
167
259
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
168
260
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
169
|
-
def list_person_connections(resource_name, request_sync_token: nil, page_token: nil, page_size: nil, request_mask_include_field: nil, sync_token: nil,
|
261
|
+
def list_person_connections(resource_name, sort_order: nil, request_sync_token: nil, page_token: nil, page_size: nil, request_mask_include_field: nil, sync_token: nil, person_fields: nil, quota_user: nil, fields: nil, options: nil, &block)
|
170
262
|
command = make_simple_command(:get, 'v1/{+resourceName}/connections', options)
|
171
263
|
command.response_representation = Google::Apis::PeopleV1::ListConnectionsResponse::Representation
|
172
264
|
command.response_class = Google::Apis::PeopleV1::ListConnectionsResponse
|
173
265
|
command.params['resourceName'] = resource_name unless resource_name.nil?
|
266
|
+
command.query['sortOrder'] = sort_order unless sort_order.nil?
|
174
267
|
command.query['requestSyncToken'] = request_sync_token unless request_sync_token.nil?
|
175
268
|
command.query['pageToken'] = page_token unless page_token.nil?
|
176
269
|
command.query['pageSize'] = page_size unless page_size.nil?
|
177
270
|
command.query['requestMask.includeField'] = request_mask_include_field unless request_mask_include_field.nil?
|
178
271
|
command.query['syncToken'] = sync_token unless sync_token.nil?
|
179
|
-
command.query['
|
272
|
+
command.query['personFields'] = person_fields unless person_fields.nil?
|
180
273
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
181
274
|
command.query['fields'] = fields unless fields.nil?
|
182
275
|
execute_or_queue_command(command, &block)
|
@@ -185,8 +278,8 @@ module Google
|
|
185
278
|
protected
|
186
279
|
|
187
280
|
def apply_command_defaults(command)
|
188
|
-
command.query['key'] = key unless key.nil?
|
189
281
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
282
|
+
command.query['key'] = key unless key.nil?
|
190
283
|
end
|
191
284
|
end
|
192
285
|
end
|