google-api-client 0.13.2 → 0.13.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +149 -0
- data/bin/generate-api +6 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +3 -3
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +46 -46
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +15 -15
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +6 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +2 -2
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1394 -1394
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +322 -322
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +449 -449
- data/generated/google/apis/adexchangebuyer_v1_2.rb +35 -0
- data/generated/google/apis/adexchangebuyer_v1_2/classes.rb +457 -0
- data/generated/google/apis/adexchangebuyer_v1_2/representations.rb +189 -0
- data/generated/google/apis/adexchangebuyer_v1_2/service.rb +329 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +35 -0
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +1347 -0
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +498 -0
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +873 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +1 -1
- data/generated/google/apis/adexchangeseller_v1.rb +37 -0
- data/generated/google/apis/adexchangeseller_v1/classes.rb +557 -0
- data/generated/google/apis/adexchangeseller_v1/representations.rb +248 -0
- data/generated/google/apis/adexchangeseller_v1/service.rb +568 -0
- data/generated/google/apis/adexchangeseller_v1_1.rb +37 -0
- data/generated/google/apis/adexchangeseller_v1_1/classes.rb +842 -0
- data/generated/google/apis/adexchangeseller_v1_1/representations.rb +364 -0
- data/generated/google/apis/adexchangeseller_v1_1/service.rb +771 -0
- data/generated/google/apis/adexperiencereport_v1.rb +35 -0
- data/generated/google/apis/adexperiencereport_v1/classes.rb +138 -0
- data/generated/google/apis/adexperiencereport_v1/representations.rb +77 -0
- data/generated/google/apis/adexperiencereport_v1/service.rb +123 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +60 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +29 -0
- data/generated/google/apis/admin_directory_v1/service.rb +39 -0
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analytics_v2_4.rb +37 -0
- data/generated/google/apis/analytics_v2_4/classes.rb +26 -0
- data/generated/google/apis/analytics_v2_4/representations.rb +26 -0
- data/generated/google/apis/analytics_v2_4/service.rb +345 -0
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +15 -2
- data/generated/google/apis/analytics_v3/representations.rb +3 -0
- data/generated/google/apis/analyticsreporting_v4.rb +4 -4
- data/generated/google/apis/analyticsreporting_v4/classes.rb +891 -891
- data/generated/google/apis/analyticsreporting_v4/representations.rb +189 -189
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +32 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +917 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +447 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +419 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +31 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +14 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +76 -0
- data/generated/google/apis/androidmanagement_v1.rb +35 -0
- data/generated/google/apis/androidmanagement_v1/classes.rb +2039 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +702 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +796 -0
- data/generated/google/apis/androidpublisher_v1.rb +34 -0
- data/generated/google/apis/androidpublisher_v1/classes.rb +67 -0
- data/generated/google/apis/androidpublisher_v1/representations.rb +42 -0
- data/generated/google/apis/androidpublisher_v1/service.rb +150 -0
- data/generated/google/apis/androidpublisher_v1_1.rb +34 -0
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +123 -0
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +60 -0
- data/generated/google/apis/androidpublisher_v1_1/service.rb +192 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +21 -0
- data/generated/google/apis/androidpublisher_v2/representations.rb +3 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +6 -2
- data/generated/google/apis/appengine_v1.rb +4 -4
- data/generated/google/apis/appengine_v1/classes.rb +1519 -1474
- data/generated/google/apis/appengine_v1/representations.rb +351 -335
- data/generated/google/apis/appengine_v1/service.rb +255 -239
- data/generated/google/apis/appengine_v1alpha.rb +41 -0
- data/generated/google/apis/appengine_v1alpha/classes.rb +987 -0
- data/generated/google/apis/appengine_v1alpha/representations.rb +397 -0
- data/generated/google/apis/appengine_v1alpha/service.rb +631 -0
- data/generated/google/apis/appengine_v1beta.rb +41 -0
- data/generated/google/apis/appengine_v1beta/classes.rb +2876 -0
- data/generated/google/apis/appengine_v1beta/representations.rb +1138 -0
- data/generated/google/apis/appengine_v1beta/service.rb +1546 -0
- data/generated/google/apis/appengine_v1beta4.rb +41 -0
- data/generated/google/apis/appengine_v1beta4/classes.rb +2170 -0
- data/generated/google/apis/appengine_v1beta4/representations.rb +824 -0
- data/generated/google/apis/appengine_v1beta4/service.rb +876 -0
- data/generated/google/apis/appengine_v1beta5.rb +41 -0
- data/generated/google/apis/appengine_v1beta5/classes.rb +2168 -0
- data/generated/google/apis/appengine_v1beta5/representations.rb +822 -0
- data/generated/google/apis/appengine_v1beta5/service.rb +877 -0
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- 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 +106 -18
- data/generated/google/apis/bigquery_v2/representations.rb +15 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +41 -0
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +886 -0
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +343 -0
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +1317 -0
- data/generated/google/apis/blogger_v2.rb +34 -0
- data/generated/google/apis/blogger_v2/classes.rb +947 -0
- data/generated/google/apis/blogger_v2/representations.rb +465 -0
- data/generated/google/apis/blogger_v2/service.rb +424 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +4 -207
- data/generated/google/apis/calendar_v3/representations.rb +0 -97
- data/generated/google/apis/calendar_v3/service.rb +8 -4
- data/generated/google/apis/classroom_v1.rb +27 -27
- data/generated/google/apis/classroom_v1/classes.rb +1037 -926
- data/generated/google/apis/classroom_v1/representations.rb +294 -244
- data/generated/google/apis/classroom_v1/service.rb +1114 -1109
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +473 -56
- data/generated/google/apis/cloudbilling_v1/representations.rb +176 -10
- data/generated/google/apis/cloudbilling_v1/service.rb +182 -89
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +666 -625
- data/generated/google/apis/cloudbuild_v1/representations.rb +132 -116
- data/generated/google/apis/cloudbuild_v1/service.rb +158 -158
- data/generated/google/apis/clouddebugger_v2.rb +4 -4
- data/generated/google/apis/clouddebugger_v2/classes.rb +637 -639
- data/generated/google/apis/clouddebugger_v2/representations.rb +139 -139
- data/generated/google/apis/clouddebugger_v2/service.rb +157 -157
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +310 -310
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +77 -77
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +144 -144
- data/generated/google/apis/cloudfunctions_v1.rb +4 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +265 -6
- data/generated/google/apis/cloudfunctions_v1/representations.rb +80 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +118 -0
- data/generated/google/apis/cloudfunctions_v1beta2.rb +35 -0
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +678 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +264 -0
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +385 -0
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +652 -622
- data/generated/google/apis/cloudkms_v1/representations.rb +138 -137
- data/generated/google/apis/cloudkms_v1/service.rb +320 -320
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1129 -1129
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +188 -188
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +609 -609
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +404 -404
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +83 -83
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +328 -328
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +38 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +819 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +304 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +528 -0
- data/generated/google/apis/cloudtrace_v1.rb +5 -5
- data/generated/google/apis/cloudtrace_v1/classes.rb +67 -67
- data/generated/google/apis/cloudtrace_v1/representations.rb +21 -21
- data/generated/google/apis/cloudtrace_v1/service.rb +36 -36
- data/generated/google/apis/cloudtrace_v2.rb +43 -0
- data/generated/google/apis/cloudtrace_v2/classes.rb +797 -0
- data/generated/google/apis/cloudtrace_v2/representations.rb +353 -0
- data/generated/google/apis/cloudtrace_v2/service.rb +238 -0
- data/generated/google/apis/clouduseraccounts_alpha.rb +44 -0
- data/generated/google/apis/clouduseraccounts_alpha/classes.rb +1188 -0
- data/generated/google/apis/clouduseraccounts_alpha/representations.rb +494 -0
- data/generated/google/apis/clouduseraccounts_alpha/service.rb +1152 -0
- data/generated/google/apis/clouduseraccounts_vm_alpha.rb +44 -0
- data/generated/google/apis/clouduseraccounts_vm_alpha/classes.rb +1188 -0
- data/generated/google/apis/clouduseraccounts_vm_alpha/representations.rb +494 -0
- data/generated/google/apis/clouduseraccounts_vm_alpha/service.rb +1152 -0
- data/generated/google/apis/clouduseraccounts_vm_beta.rb +44 -0
- data/generated/google/apis/clouduseraccounts_vm_beta/classes.rb +845 -0
- data/generated/google/apis/clouduseraccounts_vm_beta/representations.rb +352 -0
- data/generated/google/apis/clouduseraccounts_vm_beta/service.rb +908 -0
- data/generated/google/apis/compute_alpha.rb +49 -0
- data/generated/google/apis/compute_alpha/classes.rb +23796 -0
- data/generated/google/apis/compute_alpha/representations.rb +9391 -0
- data/generated/google/apis/compute_alpha/service.rb +24188 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1597 -235
- data/generated/google/apis/compute_beta/representations.rb +477 -0
- data/generated/google/apis/compute_beta/service.rb +2875 -1677
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +319 -197
- data/generated/google/apis/compute_v1/representations.rb +51 -0
- data/generated/google/apis/compute_v1/service.rb +2057 -172
- data/generated/google/apis/consumersurveys_v2.rb +40 -0
- data/generated/google/apis/consumersurveys_v2/classes.rb +736 -0
- data/generated/google/apis/consumersurveys_v2/representations.rb +343 -0
- data/generated/google/apis/consumersurveys_v2/service.rb +478 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +1072 -936
- data/generated/google/apis/container_v1/representations.rb +266 -202
- data/generated/google/apis/container_v1/service.rb +243 -243
- data/generated/google/apis/container_v1beta1.rb +35 -0
- data/generated/google/apis/container_v1beta1/classes.rb +1900 -0
- data/generated/google/apis/container_v1beta1/representations.rb +662 -0
- data/generated/google/apis/container_v1beta1/service.rb +1875 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +72 -3
- data/generated/google/apis/content_v2/representations.rb +23 -0
- data/generated/google/apis/content_v2/service.rb +23 -18
- data/generated/google/apis/content_v2sandbox.rb +35 -0
- data/generated/google/apis/content_v2sandbox/classes.rb +2406 -0
- data/generated/google/apis/content_v2sandbox/representations.rb +1042 -0
- data/generated/google/apis/content_v2sandbox/service.rb +709 -0
- data/generated/google/apis/dataflow_v1b3.rb +5 -5
- data/generated/google/apis/dataflow_v1b3/classes.rb +3341 -3341
- data/generated/google/apis/dataflow_v1b3/representations.rb +807 -807
- data/generated/google/apis/dataflow_v1b3/service.rb +492 -444
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1101 -1101
- data/generated/google/apis/dataproc_v1/representations.rb +227 -227
- data/generated/google/apis/dataproc_v1/service.rb +254 -254
- data/generated/google/apis/dataproc_v1beta2.rb +34 -0
- data/generated/google/apis/dataproc_v1beta2/classes.rb +1756 -0
- data/generated/google/apis/dataproc_v1beta2/representations.rb +675 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +739 -0
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +1311 -773
- data/generated/google/apis/datastore_v1/representations.rb +351 -148
- data/generated/google/apis/datastore_v1/service.rb +206 -55
- data/generated/google/apis/datastore_v1beta3.rb +38 -0
- data/generated/google/apis/datastore_v1beta3/classes.rb +1621 -0
- data/generated/google/apis/datastore_v1beta3/representations.rb +715 -0
- data/generated/google/apis/datastore_v1beta3/service.rb +260 -0
- data/generated/google/apis/deploymentmanager_alpha.rb +44 -0
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +2422 -0
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +1054 -0
- data/generated/google/apis/deploymentmanager_alpha/service.rb +1883 -0
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +81 -2
- data/generated/google/apis/deploymentmanager_v2/representations.rb +30 -0
- data/generated/google/apis/deploymentmanager_v2beta.rb +44 -0
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +2426 -0
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +1054 -0
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +1687 -0
- data/generated/google/apis/dfareporting_v2_7.rb +1 -1
- data/generated/google/apis/dfareporting_v2_7/classes.rb +9 -26
- data/generated/google/apis/dfareporting_v2_7/service.rb +1 -0
- data/generated/google/apis/dfareporting_v2_8.rb +1 -1
- data/generated/google/apis/dfareporting_v2_8/classes.rb +26 -34
- data/generated/google/apis/dfareporting_v2_8/representations.rb +1 -0
- data/generated/google/apis/dfareporting_v2_8/service.rb +1 -0
- data/generated/google/apis/dlp_v2beta1.rb +36 -0
- data/generated/google/apis/dlp_v2beta1/classes.rb +1735 -0
- data/generated/google/apis/dlp_v2beta1/representations.rb +879 -0
- data/generated/google/apis/dlp_v2beta1/service.rb +406 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +267 -261
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +73 -72
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -1
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +283 -283
- data/generated/google/apis/firebaserules_v1/representations.rb +75 -75
- data/generated/google/apis/firebaserules_v1/service.rb +113 -113
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +1 -1
- data/generated/google/apis/fusiontables_v1.rb +37 -0
- data/generated/google/apis/fusiontables_v1/classes.rb +977 -0
- data/generated/google/apis/fusiontables_v1/representations.rb +449 -0
- data/generated/google/apis/fusiontables_v1/service.rb +1373 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +8 -8
- data/generated/google/apis/genomics_v1/classes.rb +2288 -2288
- data/generated/google/apis/genomics_v1/representations.rb +482 -482
- data/generated/google/apis/genomics_v1/service.rb +966 -966
- data/generated/google/apis/genomics_v1alpha2.rb +40 -0
- data/generated/google/apis/genomics_v1alpha2/classes.rb +1207 -0
- data/generated/google/apis/genomics_v1alpha2/representations.rb +449 -0
- data/generated/google/apis/genomics_v1alpha2/service.rb +426 -0
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +664 -395
- data/generated/google/apis/iam_v1/representations.rb +194 -81
- data/generated/google/apis/iam_v1/service.rb +657 -92
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/kgsearch_v1/classes.rb +7 -7
- data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +8 -8
- data/generated/google/apis/language_v1.rb +4 -1
- data/generated/google/apis/language_v1/classes.rb +393 -393
- data/generated/google/apis/language_v1/representations.rb +95 -95
- data/generated/google/apis/language_v1/service.rb +42 -42
- data/generated/google/apis/language_v1beta1.rb +4 -1
- data/generated/google/apis/language_v1beta1/classes.rb +457 -457
- data/generated/google/apis/language_v1beta1/representations.rb +114 -114
- data/generated/google/apis/language_v1beta1/service.rb +48 -48
- data/generated/google/apis/language_v1beta2.rb +39 -0
- data/generated/google/apis/language_v1beta2/classes.rb +824 -0
- data/generated/google/apis/language_v1beta2/representations.rb +373 -0
- data/generated/google/apis/language_v1beta2/service.rb +217 -0
- data/generated/google/apis/logging_v2.rb +9 -9
- data/generated/google/apis/logging_v2/classes.rb +840 -834
- data/generated/google/apis/logging_v2/representations.rb +168 -167
- data/generated/google/apis/logging_v2/service.rb +667 -463
- data/generated/google/apis/logging_v2beta1.rb +9 -9
- data/generated/google/apis/logging_v2beta1/classes.rb +856 -850
- data/generated/google/apis/logging_v2beta1/representations.rb +169 -168
- data/generated/google/apis/logging_v2beta1/service.rb +253 -255
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +396 -389
- data/generated/google/apis/manufacturers_v1/representations.rb +92 -91
- data/generated/google/apis/manufacturers_v1/service.rb +8 -7
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1487 -1676
- data/generated/google/apis/ml_v1/representations.rb +229 -299
- data/generated/google/apis/ml_v1/service.rb +359 -253
- data/generated/google/apis/ml_v1beta1.rb +34 -0
- data/generated/google/apis/ml_v1beta1/classes.rb +2396 -0
- data/generated/google/apis/ml_v1beta1/representations.rb +755 -0
- data/generated/google/apis/ml_v1beta1/service.rb +975 -0
- data/generated/google/apis/monitoring_v3.rb +6 -6
- data/generated/google/apis/monitoring_v3/classes.rb +834 -834
- data/generated/google/apis/monitoring_v3/representations.rb +168 -168
- data/generated/google/apis/monitoring_v3/service.rb +330 -330
- data/generated/google/apis/mybusiness_v3/classes.rb +1181 -1181
- data/generated/google/apis/mybusiness_v3/representations.rb +242 -242
- data/generated/google/apis/mybusiness_v3/service.rb +241 -241
- data/generated/google/apis/oauth2_v1.rb +43 -0
- data/generated/google/apis/oauth2_v1/classes.rb +321 -0
- data/generated/google/apis/oauth2_v1/representations.rb +135 -0
- data/generated/google/apis/oauth2_v1/service.rb +337 -0
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha.rb +37 -0
- data/generated/google/apis/oslogin_v1alpha/classes.rb +200 -0
- data/generated/google/apis/oslogin_v1alpha/representations.rb +105 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +228 -0
- data/generated/google/apis/pagespeedonline_v1.rb +32 -0
- data/generated/google/apis/pagespeedonline_v1/classes.rb +536 -0
- data/generated/google/apis/pagespeedonline_v1/representations.rb +257 -0
- data/generated/google/apis/pagespeedonline_v1/service.rb +120 -0
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +1512 -1512
- data/generated/google/apis/partners_v2/representations.rb +368 -368
- data/generated/google/apis/partners_v2/service.rb +596 -596
- data/generated/google/apis/people_v1.rb +15 -15
- data/generated/google/apis/people_v1/classes.rb +1384 -1383
- data/generated/google/apis/people_v1/representations.rb +311 -311
- data/generated/google/apis/people_v1/service.rb +208 -202
- data/generated/google/apis/playcustomapp_v1.rb +34 -0
- data/generated/google/apis/playcustomapp_v1/classes.rb +51 -0
- data/generated/google/apis/playcustomapp_v1/representations.rb +40 -0
- data/generated/google/apis/playcustomapp_v1/service.rb +114 -0
- data/generated/google/apis/playmoviespartner_v1.rb +34 -0
- data/generated/google/apis/playmoviespartner_v1/classes.rb +782 -0
- data/generated/google/apis/playmoviespartner_v1/representations.rb +191 -0
- data/generated/google/apis/playmoviespartner_v1/service.rb +354 -0
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/prediction_v1_2.rb +44 -0
- data/generated/google/apis/prediction_v1_2/classes.rb +237 -0
- data/generated/google/apis/prediction_v1_2/representations.rb +133 -0
- data/generated/google/apis/prediction_v1_2/service.rb +287 -0
- data/generated/google/apis/prediction_v1_3.rb +44 -0
- data/generated/google/apis/prediction_v1_3/classes.rb +286 -0
- data/generated/google/apis/prediction_v1_3/representations.rb +139 -0
- data/generated/google/apis/prediction_v1_3/service.rb +284 -0
- data/generated/google/apis/prediction_v1_4.rb +44 -0
- data/generated/google/apis/prediction_v1_4/classes.rb +336 -0
- data/generated/google/apis/prediction_v1_4/representations.rb +158 -0
- data/generated/google/apis/prediction_v1_4/service.rb +284 -0
- data/generated/google/apis/prediction_v1_5.rb +44 -0
- data/generated/google/apis/prediction_v1_5/classes.rb +708 -0
- data/generated/google/apis/prediction_v1_5/representations.rb +352 -0
- data/generated/google/apis/prediction_v1_5/service.rb +357 -0
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +539 -539
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +105 -105
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +312 -312
- data/generated/google/apis/pubsub_v1.rb +4 -4
- data/generated/google/apis/pubsub_v1/classes.rb +352 -352
- data/generated/google/apis/pubsub_v1/representations.rb +77 -77
- data/generated/google/apis/pubsub_v1/service.rb +346 -346
- data/generated/google/apis/pubsub_v1beta1a.rb +37 -0
- data/generated/google/apis/pubsub_v1beta1a/classes.rb +605 -0
- data/generated/google/apis/pubsub_v1beta1a/representations.rb +306 -0
- data/generated/google/apis/pubsub_v1beta1a/service.rb +549 -0
- data/generated/google/apis/pubsub_v1beta2.rb +37 -0
- data/generated/google/apis/pubsub_v1beta2/classes.rb +679 -0
- data/generated/google/apis/pubsub_v1beta2/representations.rb +324 -0
- data/generated/google/apis/pubsub_v1beta2/service.rb +779 -0
- data/generated/google/apis/replicapool_v1beta1.rb +50 -0
- data/generated/google/apis/replicapool_v1beta1/classes.rb +918 -0
- data/generated/google/apis/replicapool_v1beta1/representations.rb +409 -0
- data/generated/google/apis/replicapool_v1beta1/service.rb +511 -0
- data/generated/google/apis/resourceviews_v1beta1.rb +50 -0
- data/generated/google/apis/resourceviews_v1beta1/classes.rb +338 -0
- data/generated/google/apis/resourceviews_v1beta1/representations.rb +201 -0
- data/generated/google/apis/resourceviews_v1beta1/service.rb +667 -0
- data/generated/google/apis/runtimeconfig_v1.rb +4 -4
- data/generated/google/apis/runtimeconfig_v1/classes.rb +118 -118
- data/generated/google/apis/runtimeconfig_v1/representations.rb +18 -18
- data/generated/google/apis/runtimeconfig_v1/service.rb +21 -21
- data/generated/google/apis/runtimeconfig_v1beta1.rb +40 -0
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +805 -0
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +280 -0
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +903 -0
- data/generated/google/apis/safebrowsing_v4.rb +32 -0
- data/generated/google/apis/safebrowsing_v4/classes.rb +771 -0
- data/generated/google/apis/safebrowsing_v4/representations.rb +379 -0
- data/generated/google/apis/safebrowsing_v4/service.rb +252 -0
- data/generated/google/apis/script_v1.rb +19 -19
- data/generated/google/apis/script_v1/classes.rb +99 -157
- data/generated/google/apis/script_v1/representations.rb +17 -47
- data/generated/google/apis/script_v1/service.rb +12 -12
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +84 -84
- data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
- data/generated/google/apis/servicecontrol_v1.rb +4 -4
- data/generated/google/apis/servicecontrol_v1/classes.rb +1086 -1042
- data/generated/google/apis/servicecontrol_v1/representations.rb +216 -200
- data/generated/google/apis/servicecontrol_v1/service.rb +120 -114
- data/generated/google/apis/servicemanagement_v1.rb +7 -7
- data/generated/google/apis/servicemanagement_v1/classes.rb +3375 -3383
- data/generated/google/apis/servicemanagement_v1/representations.rb +551 -552
- data/generated/google/apis/servicemanagement_v1/service.rb +386 -386
- data/generated/google/apis/serviceuser_v1.rb +5 -5
- data/generated/google/apis/serviceuser_v1/classes.rb +2667 -2598
- data/generated/google/apis/serviceuser_v1/representations.rb +406 -389
- data/generated/google/apis/serviceuser_v1/service.rb +43 -43
- data/generated/google/apis/sheets_v4.rb +7 -7
- data/generated/google/apis/sheets_v4/classes.rb +5031 -5024
- data/generated/google/apis/sheets_v4/representations.rb +931 -930
- data/generated/google/apis/sheets_v4/service.rb +244 -244
- data/generated/google/apis/slides_v1.rb +10 -10
- data/generated/google/apis/slides_v1/classes.rb +2915 -2915
- data/generated/google/apis/slides_v1/representations.rb +698 -698
- data/generated/google/apis/slides_v1/service.rb +35 -35
- data/generated/google/apis/sourcerepo_v1.rb +3 -3
- data/generated/google/apis/sourcerepo_v1/classes.rb +313 -313
- data/generated/google/apis/sourcerepo_v1/representations.rb +77 -77
- data/generated/google/apis/sourcerepo_v1/service.rb +102 -102
- data/generated/google/apis/spanner_v1.rb +4 -4
- data/generated/google/apis/spanner_v1/classes.rb +2304 -2251
- data/generated/google/apis/spanner_v1/representations.rb +338 -323
- data/generated/google/apis/spanner_v1/service.rb +689 -689
- data/generated/google/apis/spectrum_v1explorer.rb +31 -0
- data/generated/google/apis/spectrum_v1explorer/classes.rb +1612 -0
- data/generated/google/apis/spectrum_v1explorer/representations.rb +611 -0
- data/generated/google/apis/spectrum_v1explorer/service.rb +285 -0
- data/generated/google/apis/speech_v1.rb +34 -0
- data/generated/google/apis/speech_v1/classes.rb +572 -0
- data/generated/google/apis/speech_v1/representations.rb +236 -0
- data/generated/google/apis/speech_v1/service.rb +277 -0
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +312 -312
- data/generated/google/apis/speech_v1beta1/representations.rb +48 -48
- data/generated/google/apis/speech_v1beta1/service.rb +46 -46
- data/generated/google/apis/sqladmin_v1beta3.rb +38 -0
- data/generated/google/apis/sqladmin_v1beta3/classes.rb +1615 -0
- data/generated/google/apis/sqladmin_v1beta3/representations.rb +731 -0
- data/generated/google/apis/sqladmin_v1beta3/service.rb +1045 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +15 -7
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +7 -6
- data/generated/google/apis/storage_v1/service.rb +51 -29
- data/generated/google/apis/storage_v1beta1.rb +40 -0
- data/generated/google/apis/storage_v1beta1/classes.rb +616 -0
- data/generated/google/apis/storage_v1beta1/representations.rb +249 -0
- data/generated/google/apis/storage_v1beta1/service.rb +1082 -0
- data/generated/google/apis/storage_v1beta2.rb +40 -0
- data/generated/google/apis/storage_v1beta2/classes.rb +1048 -0
- data/generated/google/apis/storage_v1beta2/representations.rb +425 -0
- data/generated/google/apis/storage_v1beta2/service.rb +1736 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +556 -556
- data/generated/google/apis/storagetransfer_v1/representations.rb +139 -139
- data/generated/google/apis/storagetransfer_v1/service.rb +148 -148
- data/generated/google/apis/streetviewpublish_v1.rb +36 -0
- data/generated/google/apis/streetviewpublish_v1/classes.rb +705 -0
- data/generated/google/apis/streetviewpublish_v1/representations.rb +296 -0
- data/generated/google/apis/streetviewpublish_v1/service.rb +485 -0
- data/generated/google/apis/taskqueue_v1beta1.rb +37 -0
- data/generated/google/apis/taskqueue_v1beta1/classes.rb +242 -0
- data/generated/google/apis/taskqueue_v1beta1/representations.rb +124 -0
- data/generated/google/apis/taskqueue_v1beta1/service.rb +269 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +382 -4
- data/generated/google/apis/toolresults_v1beta3/representations.rb +139 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +50 -0
- data/generated/google/apis/toolresults_v1beta3firstparty.rb +31 -0
- data/generated/google/apis/toolresults_v1beta3firstparty/classes.rb +2630 -0
- data/generated/google/apis/toolresults_v1beta3firstparty/representations.rb +886 -0
- data/generated/google/apis/toolresults_v1beta3firstparty/service.rb +1288 -0
- data/generated/google/apis/translate_v2/classes.rb +111 -111
- data/generated/google/apis/translate_v2/representations.rb +49 -49
- data/generated/google/apis/translate_v2/service.rb +94 -94
- data/generated/google/apis/vault_v1.rb +31 -0
- data/generated/google/apis/vault_v1/classes.rb +554 -0
- data/generated/google/apis/vault_v1/representations.rb +318 -0
- data/generated/google/apis/vault_v1/service.rb +677 -0
- data/generated/google/apis/videointelligence_v1beta1.rb +34 -0
- data/generated/google/apis/videointelligence_v1beta1/classes.rb +903 -0
- data/generated/google/apis/videointelligence_v1beta1/representations.rb +351 -0
- data/generated/google/apis/videointelligence_v1beta1/service.rb +92 -0
- data/generated/google/apis/vision_v1.rb +4 -4
- data/generated/google/apis/vision_v1/classes.rb +1176 -1178
- data/generated/google/apis/vision_v1/representations.rb +235 -235
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1beta1.rb +46 -0
- data/generated/google/apis/youtube_analytics_v1beta1/classes.rb +337 -0
- data/generated/google/apis/youtube_analytics_v1beta1/representations.rb +174 -0
- data/generated/google/apis/youtube_analytics_v1beta1/service.rb +491 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +3 -3
- data/generated/google/apis/youtube_partner_v1/representations.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +134 -134
- data/generated/google/apis/youtubereporting_v1/representations.rb +36 -36
- data/generated/google/apis/youtubereporting_v1/service.rb +131 -131
- data/lib/google/apis/version.rb +1 -1
- metadata +246 -2
@@ -25,34 +25,34 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/people/
|
26
26
|
module PeopleV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
29
|
-
|
30
|
-
# View your basic profile info
|
31
|
-
AUTH_USERINFO_PROFILE = 'https://www.googleapis.com/auth/userinfo.profile'
|
32
|
-
|
33
|
-
# View your email addresses
|
34
|
-
AUTH_USER_EMAILS_READ = 'https://www.googleapis.com/auth/user.emails.read'
|
28
|
+
REVISION = '20170823'
|
35
29
|
|
36
30
|
# Manage your contacts
|
37
31
|
AUTH_CONTACTS = 'https://www.googleapis.com/auth/contacts'
|
38
32
|
|
33
|
+
# View your contacts
|
34
|
+
AUTH_CONTACTS_READONLY = 'https://www.googleapis.com/auth/contacts.readonly'
|
35
|
+
|
36
|
+
# Know the list of people in your circles, your age range, and language
|
37
|
+
AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'
|
38
|
+
|
39
39
|
# View your street addresses
|
40
40
|
AUTH_USER_ADDRESSES_READ = 'https://www.googleapis.com/auth/user.addresses.read'
|
41
41
|
|
42
|
+
# View your complete date of birth
|
43
|
+
AUTH_USER_BIRTHDAY_READ = 'https://www.googleapis.com/auth/user.birthday.read'
|
44
|
+
|
45
|
+
# View your email addresses
|
46
|
+
AUTH_USER_EMAILS_READ = 'https://www.googleapis.com/auth/user.emails.read'
|
47
|
+
|
42
48
|
# View your phone numbers
|
43
49
|
AUTH_USER_PHONENUMBERS_READ = 'https://www.googleapis.com/auth/user.phonenumbers.read'
|
44
50
|
|
45
51
|
# View your email address
|
46
52
|
AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
|
47
53
|
|
48
|
-
# View your
|
49
|
-
|
50
|
-
|
51
|
-
# View your complete date of birth
|
52
|
-
AUTH_USER_BIRTHDAY_READ = 'https://www.googleapis.com/auth/user.birthday.read'
|
53
|
-
|
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'
|
54
|
+
# View your basic profile info
|
55
|
+
AUTH_USERINFO_PROFILE = 'https://www.googleapis.com/auth/userinfo.profile'
|
56
56
|
end
|
57
57
|
end
|
58
58
|
end
|
@@ -22,35 +22,77 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module PeopleV1
|
24
24
|
|
25
|
-
# A person's
|
26
|
-
|
25
|
+
# A person's physical address. May be a P.O. box or street address. All fields
|
26
|
+
# are optional.
|
27
|
+
class Address
|
27
28
|
include Google::Apis::Core::Hashable
|
28
29
|
|
30
|
+
# The city of the address.
|
31
|
+
# Corresponds to the JSON property `city`
|
32
|
+
# @return [String]
|
33
|
+
attr_accessor :city
|
34
|
+
|
35
|
+
# The country of the address.
|
36
|
+
# Corresponds to the JSON property `country`
|
37
|
+
# @return [String]
|
38
|
+
attr_accessor :country
|
39
|
+
|
40
|
+
# The [ISO 3166-1 alpha-2](http://www.iso.org/iso/country_codes.htm) country
|
41
|
+
# code of the address.
|
42
|
+
# Corresponds to the JSON property `countryCode`
|
43
|
+
# @return [String]
|
44
|
+
attr_accessor :country_code
|
45
|
+
|
46
|
+
# The extended address of the address; for example, the apartment number.
|
47
|
+
# Corresponds to the JSON property `extendedAddress`
|
48
|
+
# @return [String]
|
49
|
+
attr_accessor :extended_address
|
50
|
+
|
51
|
+
# The read-only type of the address translated and formatted in the viewer's
|
52
|
+
# account locale or the `Accept-Language` HTTP header locale.
|
53
|
+
# Corresponds to the JSON property `formattedType`
|
54
|
+
# @return [String]
|
55
|
+
attr_accessor :formatted_type
|
56
|
+
|
57
|
+
# The unstructured value of the address. If this is not set by the user it
|
58
|
+
# will be automatically constructed from structured values.
|
59
|
+
# Corresponds to the JSON property `formattedValue`
|
60
|
+
# @return [String]
|
61
|
+
attr_accessor :formatted_value
|
62
|
+
|
29
63
|
# Metadata about a field.
|
30
64
|
# Corresponds to the JSON property `metadata`
|
31
65
|
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
32
66
|
attr_accessor :metadata
|
33
67
|
|
34
|
-
# The
|
35
|
-
#
|
36
|
-
# * `single`
|
37
|
-
# * `inARelationship`
|
38
|
-
# * `engaged`
|
39
|
-
# * `married`
|
40
|
-
# * `itsComplicated`
|
41
|
-
# * `openRelationship`
|
42
|
-
# * `widowed`
|
43
|
-
# * `inDomesticPartnership`
|
44
|
-
# * `inCivilUnion`
|
45
|
-
# Corresponds to the JSON property `value`
|
68
|
+
# The P.O. box of the address.
|
69
|
+
# Corresponds to the JSON property `poBox`
|
46
70
|
# @return [String]
|
47
|
-
attr_accessor :
|
71
|
+
attr_accessor :po_box
|
48
72
|
|
49
|
-
# The
|
50
|
-
#
|
51
|
-
# Corresponds to the JSON property `formattedValue`
|
73
|
+
# The postal code of the address.
|
74
|
+
# Corresponds to the JSON property `postalCode`
|
52
75
|
# @return [String]
|
53
|
-
attr_accessor :
|
76
|
+
attr_accessor :postal_code
|
77
|
+
|
78
|
+
# The region of the address; for example, the state or province.
|
79
|
+
# Corresponds to the JSON property `region`
|
80
|
+
# @return [String]
|
81
|
+
attr_accessor :region
|
82
|
+
|
83
|
+
# The street address.
|
84
|
+
# Corresponds to the JSON property `streetAddress`
|
85
|
+
# @return [String]
|
86
|
+
attr_accessor :street_address
|
87
|
+
|
88
|
+
# The type of the address. The type can be custom or predefined.
|
89
|
+
# Possible values include, but are not limited to, the following:
|
90
|
+
# * `home`
|
91
|
+
# * `work`
|
92
|
+
# * `other`
|
93
|
+
# Corresponds to the JSON property `type`
|
94
|
+
# @return [String]
|
95
|
+
attr_accessor :type
|
54
96
|
|
55
97
|
def initialize(**args)
|
56
98
|
update!(**args)
|
@@ -58,20 +100,29 @@ module Google
|
|
58
100
|
|
59
101
|
# Update properties of this object
|
60
102
|
def update!(**args)
|
61
|
-
@
|
62
|
-
@
|
103
|
+
@city = args[:city] if args.key?(:city)
|
104
|
+
@country = args[:country] if args.key?(:country)
|
105
|
+
@country_code = args[:country_code] if args.key?(:country_code)
|
106
|
+
@extended_address = args[:extended_address] if args.key?(:extended_address)
|
107
|
+
@formatted_type = args[:formatted_type] if args.key?(:formatted_type)
|
63
108
|
@formatted_value = args[:formatted_value] if args.key?(:formatted_value)
|
109
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
110
|
+
@po_box = args[:po_box] if args.key?(:po_box)
|
111
|
+
@postal_code = args[:postal_code] if args.key?(:postal_code)
|
112
|
+
@region = args[:region] if args.key?(:region)
|
113
|
+
@street_address = args[:street_address] if args.key?(:street_address)
|
114
|
+
@type = args[:type] if args.key?(:type)
|
64
115
|
end
|
65
116
|
end
|
66
117
|
|
67
|
-
# A person's
|
68
|
-
class
|
118
|
+
# A person's age range.
|
119
|
+
class AgeRangeType
|
69
120
|
include Google::Apis::Core::Hashable
|
70
121
|
|
71
|
-
# The
|
72
|
-
# Corresponds to the JSON property `
|
122
|
+
# The age range.
|
123
|
+
# Corresponds to the JSON property `ageRange`
|
73
124
|
# @return [String]
|
74
|
-
attr_accessor :
|
125
|
+
attr_accessor :age_range
|
75
126
|
|
76
127
|
# Metadata about a field.
|
77
128
|
# Corresponds to the JSON property `metadata`
|
@@ -84,83 +135,66 @@ module Google
|
|
84
135
|
|
85
136
|
# Update properties of this object
|
86
137
|
def update!(**args)
|
87
|
-
@
|
138
|
+
@age_range = args[:age_range] if args.key?(:age_range)
|
88
139
|
@metadata = args[:metadata] if args.key?(:metadata)
|
89
140
|
end
|
90
141
|
end
|
91
142
|
|
92
|
-
#
|
93
|
-
|
94
|
-
class Organization
|
143
|
+
# The response to a batch get contact groups request.
|
144
|
+
class BatchGetContactGroupsResponse
|
95
145
|
include Google::Apis::Core::Hashable
|
96
146
|
|
97
|
-
#
|
98
|
-
# Corresponds to the JSON property `
|
99
|
-
# @return [Google::Apis::PeopleV1::
|
100
|
-
attr_accessor :
|
101
|
-
|
102
|
-
# The location of the organization office the person works at.
|
103
|
-
# Corresponds to the JSON property `location`
|
104
|
-
# @return [String]
|
105
|
-
attr_accessor :location
|
147
|
+
# The list of responses for each requested contact group resource.
|
148
|
+
# Corresponds to the JSON property `responses`
|
149
|
+
# @return [Array<Google::Apis::PeopleV1::ContactGroupResponse>]
|
150
|
+
attr_accessor :responses
|
106
151
|
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
attr_accessor :title
|
152
|
+
def initialize(**args)
|
153
|
+
update!(**args)
|
154
|
+
end
|
111
155
|
|
112
|
-
#
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
alias_method :current?, :current
|
156
|
+
# Update properties of this object
|
157
|
+
def update!(**args)
|
158
|
+
@responses = args[:responses] if args.key?(:responses)
|
159
|
+
end
|
160
|
+
end
|
118
161
|
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
# [Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/
|
123
|
-
# Proleptic_Gregorian_calendar).
|
124
|
-
# The day may be 0 to represent a year and month where the day is not
|
125
|
-
# significant. The year may be 0 to represent a month and day independent
|
126
|
-
# of year; for example, anniversary date.
|
127
|
-
# Corresponds to the JSON property `startDate`
|
128
|
-
# @return [Google::Apis::PeopleV1::Date]
|
129
|
-
attr_accessor :start_date
|
162
|
+
# A person's short biography.
|
163
|
+
class Biography
|
164
|
+
include Google::Apis::Core::Hashable
|
130
165
|
|
131
|
-
# The
|
132
|
-
#
|
133
|
-
# Corresponds to the JSON property `formattedType`
|
166
|
+
# The content type of the biography.
|
167
|
+
# Corresponds to the JSON property `contentType`
|
134
168
|
# @return [String]
|
135
|
-
attr_accessor :
|
169
|
+
attr_accessor :content_type
|
136
170
|
|
137
|
-
#
|
138
|
-
# Corresponds to the JSON property `
|
139
|
-
# @return [
|
140
|
-
attr_accessor :
|
171
|
+
# Metadata about a field.
|
172
|
+
# Corresponds to the JSON property `metadata`
|
173
|
+
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
174
|
+
attr_accessor :metadata
|
141
175
|
|
142
|
-
# The
|
143
|
-
# Corresponds to the JSON property `
|
176
|
+
# The short biography.
|
177
|
+
# Corresponds to the JSON property `value`
|
144
178
|
# @return [String]
|
145
|
-
attr_accessor :
|
179
|
+
attr_accessor :value
|
146
180
|
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
# * `school`
|
151
|
-
# Corresponds to the JSON property `type`
|
152
|
-
# @return [String]
|
153
|
-
attr_accessor :type
|
181
|
+
def initialize(**args)
|
182
|
+
update!(**args)
|
183
|
+
end
|
154
184
|
|
155
|
-
#
|
156
|
-
|
157
|
-
|
158
|
-
|
185
|
+
# Update properties of this object
|
186
|
+
def update!(**args)
|
187
|
+
@content_type = args[:content_type] if args.key?(:content_type)
|
188
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
189
|
+
@value = args[:value] if args.key?(:value)
|
190
|
+
end
|
191
|
+
end
|
159
192
|
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
193
|
+
# A person's birthday. At least one of the `date` and `text` fields are
|
194
|
+
# specified. The `date` and `text` fields typically represent the same
|
195
|
+
# date, but are not guaranteed to.
|
196
|
+
class Birthday
|
197
|
+
include Google::Apis::Core::Hashable
|
164
198
|
|
165
199
|
# Represents a whole calendar date, for example a date of birth. The time
|
166
200
|
# of day and time zone are either specified elsewhere or are not
|
@@ -170,20 +204,19 @@ module Google
|
|
170
204
|
# The day may be 0 to represent a year and month where the day is not
|
171
205
|
# significant. The year may be 0 to represent a month and day independent
|
172
206
|
# of year; for example, anniversary date.
|
173
|
-
# Corresponds to the JSON property `
|
207
|
+
# Corresponds to the JSON property `date`
|
174
208
|
# @return [Google::Apis::PeopleV1::Date]
|
175
|
-
attr_accessor :
|
209
|
+
attr_accessor :date
|
176
210
|
|
177
|
-
#
|
178
|
-
#
|
179
|
-
#
|
180
|
-
|
181
|
-
attr_accessor :symbol
|
211
|
+
# Metadata about a field.
|
212
|
+
# Corresponds to the JSON property `metadata`
|
213
|
+
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
214
|
+
attr_accessor :metadata
|
182
215
|
|
183
|
-
#
|
184
|
-
# Corresponds to the JSON property `
|
216
|
+
# A free-form string representing the user's birthday.
|
217
|
+
# Corresponds to the JSON property `text`
|
185
218
|
# @return [String]
|
186
|
-
attr_accessor :
|
219
|
+
attr_accessor :text
|
187
220
|
|
188
221
|
def initialize(**args)
|
189
222
|
update!(**args)
|
@@ -191,72 +224,89 @@ module Google
|
|
191
224
|
|
192
225
|
# Update properties of this object
|
193
226
|
def update!(**args)
|
227
|
+
@date = args[:date] if args.key?(:date)
|
194
228
|
@metadata = args[:metadata] if args.key?(:metadata)
|
195
|
-
@
|
196
|
-
@title = args[:title] if args.key?(:title)
|
197
|
-
@current = args[:current] if args.key?(:current)
|
198
|
-
@start_date = args[:start_date] if args.key?(:start_date)
|
199
|
-
@formatted_type = args[:formatted_type] if args.key?(:formatted_type)
|
200
|
-
@domain = args[:domain] if args.key?(:domain)
|
201
|
-
@department = args[:department] if args.key?(:department)
|
202
|
-
@type = args[:type] if args.key?(:type)
|
203
|
-
@phonetic_name = args[:phonetic_name] if args.key?(:phonetic_name)
|
204
|
-
@job_description = args[:job_description] if args.key?(:job_description)
|
205
|
-
@end_date = args[:end_date] if args.key?(:end_date)
|
206
|
-
@symbol = args[:symbol] if args.key?(:symbol)
|
207
|
-
@name = args[:name] if args.key?(:name)
|
229
|
+
@text = args[:text] if args.key?(:text)
|
208
230
|
end
|
209
231
|
end
|
210
232
|
|
211
|
-
# A person's
|
212
|
-
class
|
233
|
+
# A person's bragging rights.
|
234
|
+
class BraggingRights
|
213
235
|
include Google::Apis::Core::Hashable
|
214
236
|
|
215
|
-
# The age range.
|
216
|
-
# Corresponds to the JSON property `ageRange`
|
217
|
-
# @return [String]
|
218
|
-
attr_accessor :age_range
|
219
|
-
|
220
237
|
# Metadata about a field.
|
221
238
|
# Corresponds to the JSON property `metadata`
|
222
239
|
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
223
240
|
attr_accessor :metadata
|
224
241
|
|
242
|
+
# The bragging rights; for example, `climbed mount everest`.
|
243
|
+
# Corresponds to the JSON property `value`
|
244
|
+
# @return [String]
|
245
|
+
attr_accessor :value
|
246
|
+
|
225
247
|
def initialize(**args)
|
226
248
|
update!(**args)
|
227
249
|
end
|
228
250
|
|
229
251
|
# Update properties of this object
|
230
252
|
def update!(**args)
|
231
|
-
@age_range = args[:age_range] if args.key?(:age_range)
|
232
253
|
@metadata = args[:metadata] if args.key?(:metadata)
|
254
|
+
@value = args[:value] if args.key?(:value)
|
233
255
|
end
|
234
256
|
end
|
235
257
|
|
236
|
-
#
|
237
|
-
class
|
258
|
+
# A contact group.
|
259
|
+
class ContactGroup
|
238
260
|
include Google::Apis::Core::Hashable
|
239
261
|
|
240
|
-
# The
|
241
|
-
#
|
262
|
+
# The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the
|
263
|
+
# resource. Used for web cache validation.
|
264
|
+
# Corresponds to the JSON property `etag`
|
242
265
|
# @return [String]
|
243
|
-
attr_accessor :
|
266
|
+
attr_accessor :etag
|
244
267
|
|
245
|
-
# The
|
246
|
-
#
|
268
|
+
# The read-only name translated and formatted in the viewer's account locale
|
269
|
+
# or the `Accept-Language` HTTP header locale for system groups names.
|
270
|
+
# Group names set by the owner are the same as name.
|
271
|
+
# Corresponds to the JSON property `formattedName`
|
272
|
+
# @return [String]
|
273
|
+
attr_accessor :formatted_name
|
274
|
+
|
275
|
+
# The read-only contact group type.
|
276
|
+
# Corresponds to the JSON property `groupType`
|
277
|
+
# @return [String]
|
278
|
+
attr_accessor :group_type
|
279
|
+
|
280
|
+
# The total number of contacts in the group irrespective of max members in
|
281
|
+
# specified in the request.
|
282
|
+
# Corresponds to the JSON property `memberCount`
|
247
283
|
# @return [Fixnum]
|
248
|
-
attr_accessor :
|
284
|
+
attr_accessor :member_count
|
249
285
|
|
250
|
-
# The list of contact
|
251
|
-
# populated
|
252
|
-
#
|
253
|
-
#
|
254
|
-
|
286
|
+
# The list of contact person resource names that are members of the contact
|
287
|
+
# group. The field is not populated for LIST requests and can only be updated
|
288
|
+
# through the
|
289
|
+
# [ModifyContactGroupMembers](/people/api/rest/v1/contactgroups/members/modify).
|
290
|
+
# Corresponds to the JSON property `memberResourceNames`
|
291
|
+
# @return [Array<String>]
|
292
|
+
attr_accessor :member_resource_names
|
255
293
|
|
256
|
-
# The
|
257
|
-
# Corresponds to the JSON property `
|
294
|
+
# The read-only metadata about a contact group.
|
295
|
+
# Corresponds to the JSON property `metadata`
|
296
|
+
# @return [Google::Apis::PeopleV1::ContactGroupMetadata]
|
297
|
+
attr_accessor :metadata
|
298
|
+
|
299
|
+
# The contact group name set by the group owner or a system provided name
|
300
|
+
# for system groups.
|
301
|
+
# Corresponds to the JSON property `name`
|
258
302
|
# @return [String]
|
259
|
-
attr_accessor :
|
303
|
+
attr_accessor :name
|
304
|
+
|
305
|
+
# The resource name for the contact group, assigned by the server. An ASCII
|
306
|
+
# string, in the form of `contactGroups/`<var>contact_group_id</var>.
|
307
|
+
# Corresponds to the JSON property `resourceName`
|
308
|
+
# @return [String]
|
309
|
+
attr_accessor :resource_name
|
260
310
|
|
261
311
|
def initialize(**args)
|
262
312
|
update!(**args)
|
@@ -264,25 +314,82 @@ module Google
|
|
264
314
|
|
265
315
|
# Update properties of this object
|
266
316
|
def update!(**args)
|
267
|
-
@
|
268
|
-
@
|
269
|
-
@
|
270
|
-
@
|
317
|
+
@etag = args[:etag] if args.key?(:etag)
|
318
|
+
@formatted_name = args[:formatted_name] if args.key?(:formatted_name)
|
319
|
+
@group_type = args[:group_type] if args.key?(:group_type)
|
320
|
+
@member_count = args[:member_count] if args.key?(:member_count)
|
321
|
+
@member_resource_names = args[:member_resource_names] if args.key?(:member_resource_names)
|
322
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
323
|
+
@name = args[:name] if args.key?(:name)
|
324
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
271
325
|
end
|
272
326
|
end
|
273
327
|
|
274
|
-
#
|
275
|
-
class
|
328
|
+
# A Google contact group membership.
|
329
|
+
class ContactGroupMembership
|
276
330
|
include Google::Apis::Core::Hashable
|
277
331
|
|
278
|
-
#
|
279
|
-
#
|
280
|
-
#
|
281
|
-
#
|
282
|
-
# `
|
283
|
-
#
|
284
|
-
#
|
285
|
-
|
332
|
+
# The contact group ID for the contact group membership. The contact group
|
333
|
+
# ID can be custom or predefined. Possible values include, but are not
|
334
|
+
# limited to, the following:
|
335
|
+
# * `myContacts`
|
336
|
+
# * `starred`
|
337
|
+
# * A numerical ID for user-created groups.
|
338
|
+
# Corresponds to the JSON property `contactGroupId`
|
339
|
+
# @return [String]
|
340
|
+
attr_accessor :contact_group_id
|
341
|
+
|
342
|
+
def initialize(**args)
|
343
|
+
update!(**args)
|
344
|
+
end
|
345
|
+
|
346
|
+
# Update properties of this object
|
347
|
+
def update!(**args)
|
348
|
+
@contact_group_id = args[:contact_group_id] if args.key?(:contact_group_id)
|
349
|
+
end
|
350
|
+
end
|
351
|
+
|
352
|
+
# The read-only metadata about a contact group.
|
353
|
+
class ContactGroupMetadata
|
354
|
+
include Google::Apis::Core::Hashable
|
355
|
+
|
356
|
+
# True if the contact group resource has been deleted. Populated only for
|
357
|
+
# [`ListContactGroups`](/people/api/rest/v1/contactgroups/list) requests
|
358
|
+
# that include a sync token.
|
359
|
+
# Corresponds to the JSON property `deleted`
|
360
|
+
# @return [Boolean]
|
361
|
+
attr_accessor :deleted
|
362
|
+
alias_method :deleted?, :deleted
|
363
|
+
|
364
|
+
# The time the group was last updated.
|
365
|
+
# Corresponds to the JSON property `updateTime`
|
366
|
+
# @return [String]
|
367
|
+
attr_accessor :update_time
|
368
|
+
|
369
|
+
def initialize(**args)
|
370
|
+
update!(**args)
|
371
|
+
end
|
372
|
+
|
373
|
+
# Update properties of this object
|
374
|
+
def update!(**args)
|
375
|
+
@deleted = args[:deleted] if args.key?(:deleted)
|
376
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
377
|
+
end
|
378
|
+
end
|
379
|
+
|
380
|
+
# The response for a specific contact group.
|
381
|
+
class ContactGroupResponse
|
382
|
+
include Google::Apis::Core::Hashable
|
383
|
+
|
384
|
+
# A contact group.
|
385
|
+
# Corresponds to the JSON property `contactGroup`
|
386
|
+
# @return [Google::Apis::PeopleV1::ContactGroup]
|
387
|
+
attr_accessor :contact_group
|
388
|
+
|
389
|
+
# The original requested resource name.
|
390
|
+
# Corresponds to the JSON property `requestedResourceName`
|
391
|
+
# @return [String]
|
392
|
+
attr_accessor :requested_resource_name
|
286
393
|
|
287
394
|
# The `Status` type defines a logical error model that is suitable for different
|
288
395
|
# programming environments, including REST APIs and RPC APIs. It is used by
|
@@ -327,102 +434,60 @@ module Google
|
|
327
434
|
# @return [Google::Apis::PeopleV1::Status]
|
328
435
|
attr_accessor :status
|
329
436
|
|
330
|
-
# **DEPRECATED** (Please use status instead)
|
331
|
-
# [HTTP 1.1 status code]
|
332
|
-
# (http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html).
|
333
|
-
# Corresponds to the JSON property `httpStatusCode`
|
334
|
-
# @return [Fixnum]
|
335
|
-
attr_accessor :http_status_code
|
336
|
-
|
337
|
-
# The original requested resource name. May be different than the resource
|
338
|
-
# name on the returned person.
|
339
|
-
# The resource name can change when adding or removing fields that link a
|
340
|
-
# contact and profile such as a verified email, verified phone number, or a
|
341
|
-
# profile URL.
|
342
|
-
# Corresponds to the JSON property `requestedResourceName`
|
343
|
-
# @return [String]
|
344
|
-
attr_accessor :requested_resource_name
|
345
|
-
|
346
437
|
def initialize(**args)
|
347
438
|
update!(**args)
|
348
439
|
end
|
349
440
|
|
350
441
|
# Update properties of this object
|
351
442
|
def update!(**args)
|
352
|
-
@
|
353
|
-
@status = args[:status] if args.key?(:status)
|
354
|
-
@http_status_code = args[:http_status_code] if args.key?(:http_status_code)
|
443
|
+
@contact_group = args[:contact_group] if args.key?(:contact_group)
|
355
444
|
@requested_resource_name = args[:requested_resource_name] if args.key?(:requested_resource_name)
|
445
|
+
@status = args[:status] if args.key?(:status)
|
356
446
|
end
|
357
447
|
end
|
358
448
|
|
359
|
-
# A person's
|
360
|
-
|
449
|
+
# A person's read-only cover photo. A large image shown on the person's
|
450
|
+
# profile page that represents who they are or what they care about.
|
451
|
+
class CoverPhoto
|
361
452
|
include Google::Apis::Core::Hashable
|
362
453
|
|
363
|
-
#
|
364
|
-
#
|
365
|
-
# Corresponds to the JSON property `
|
366
|
-
# @return [
|
367
|
-
attr_accessor :
|
368
|
-
|
369
|
-
# The name of the other person this relation refers to.
|
370
|
-
# Corresponds to the JSON property `person`
|
371
|
-
# @return [String]
|
372
|
-
attr_accessor :person
|
373
|
-
|
374
|
-
# The person's relation to the other person. The type can be custom or
|
375
|
-
# predefined.
|
376
|
-
# Possible values include, but are not limited to, the following values:
|
377
|
-
# * `spouse`
|
378
|
-
# * `child`
|
379
|
-
# * `mother`
|
380
|
-
# * `father`
|
381
|
-
# * `parent`
|
382
|
-
# * `brother`
|
383
|
-
# * `sister`
|
384
|
-
# * `friend`
|
385
|
-
# * `relative`
|
386
|
-
# * `domesticPartner`
|
387
|
-
# * `manager`
|
388
|
-
# * `assistant`
|
389
|
-
# * `referredBy`
|
390
|
-
# * `partner`
|
391
|
-
# Corresponds to the JSON property `type`
|
392
|
-
# @return [String]
|
393
|
-
attr_accessor :type
|
454
|
+
# True if the cover photo is the default cover photo;
|
455
|
+
# false if the cover photo is a user-provided cover photo.
|
456
|
+
# Corresponds to the JSON property `default`
|
457
|
+
# @return [Boolean]
|
458
|
+
attr_accessor :default
|
459
|
+
alias_method :default?, :default
|
394
460
|
|
395
461
|
# Metadata about a field.
|
396
462
|
# Corresponds to the JSON property `metadata`
|
397
463
|
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
398
464
|
attr_accessor :metadata
|
399
465
|
|
466
|
+
# The URL of the cover photo.
|
467
|
+
# Corresponds to the JSON property `url`
|
468
|
+
# @return [String]
|
469
|
+
attr_accessor :url
|
470
|
+
|
400
471
|
def initialize(**args)
|
401
472
|
update!(**args)
|
402
473
|
end
|
403
474
|
|
404
475
|
# Update properties of this object
|
405
476
|
def update!(**args)
|
406
|
-
@
|
407
|
-
@person = args[:person] if args.key?(:person)
|
408
|
-
@type = args[:type] if args.key?(:type)
|
477
|
+
@default = args[:default] if args.key?(:default)
|
409
478
|
@metadata = args[:metadata] if args.key?(:metadata)
|
479
|
+
@url = args[:url] if args.key?(:url)
|
410
480
|
end
|
411
481
|
end
|
412
482
|
|
413
|
-
# A
|
414
|
-
class
|
483
|
+
# A request to create a new contact group.
|
484
|
+
class CreateContactGroupRequest
|
415
485
|
include Google::Apis::Core::Hashable
|
416
486
|
|
417
|
-
#
|
418
|
-
# Corresponds to the JSON property `
|
419
|
-
# @return [Google::Apis::PeopleV1::
|
420
|
-
attr_accessor :
|
421
|
-
|
422
|
-
# The occupation; for example, `carpenter`.
|
423
|
-
# Corresponds to the JSON property `value`
|
424
|
-
# @return [String]
|
425
|
-
attr_accessor :value
|
487
|
+
# A contact group.
|
488
|
+
# Corresponds to the JSON property `contactGroup`
|
489
|
+
# @return [Google::Apis::PeopleV1::ContactGroup]
|
490
|
+
attr_accessor :contact_group
|
426
491
|
|
427
492
|
def initialize(**args)
|
428
493
|
update!(**args)
|
@@ -430,63 +495,37 @@ module Google
|
|
430
495
|
|
431
496
|
# Update properties of this object
|
432
497
|
def update!(**args)
|
433
|
-
@
|
434
|
-
@value = args[:value] if args.key?(:value)
|
498
|
+
@contact_group = args[:contact_group] if args.key?(:contact_group)
|
435
499
|
end
|
436
500
|
end
|
437
501
|
|
438
|
-
#
|
439
|
-
|
502
|
+
# Represents a whole calendar date, for example a date of birth. The time
|
503
|
+
# of day and time zone are either specified elsewhere or are not
|
504
|
+
# significant. The date is relative to the
|
505
|
+
# [Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/
|
506
|
+
# Proleptic_Gregorian_calendar).
|
507
|
+
# The day may be 0 to represent a year and month where the day is not
|
508
|
+
# significant. The year may be 0 to represent a month and day independent
|
509
|
+
# of year; for example, anniversary date.
|
510
|
+
class Date
|
440
511
|
include Google::Apis::Core::Hashable
|
441
512
|
|
442
|
-
#
|
443
|
-
#
|
444
|
-
# Corresponds to the JSON property `
|
445
|
-
# @return [
|
446
|
-
attr_accessor :
|
447
|
-
|
448
|
-
# The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the
|
449
|
-
# resource. Used for web cache validation.
|
450
|
-
# Corresponds to the JSON property `etag`
|
451
|
-
# @return [String]
|
452
|
-
attr_accessor :etag
|
453
|
-
|
454
|
-
# The read-only contact group type.
|
455
|
-
# Corresponds to the JSON property `groupType`
|
456
|
-
# @return [String]
|
457
|
-
attr_accessor :group_type
|
458
|
-
|
459
|
-
# The read-only name translated and formatted in the viewer's account locale
|
460
|
-
# or the `Accept-Language` HTTP header locale for system groups names.
|
461
|
-
# Group names set by the owner are the same as name.
|
462
|
-
# Corresponds to the JSON property `formattedName`
|
463
|
-
# @return [String]
|
464
|
-
attr_accessor :formatted_name
|
465
|
-
|
466
|
-
# The list of contact person resource names that are members of the contact
|
467
|
-
# group. The field is not populated for LIST requests and can only be updated
|
468
|
-
# through the
|
469
|
-
# [ModifyContactGroupMembers](/people/api/rest/v1/contactgroups/members/modify).
|
470
|
-
# Corresponds to the JSON property `memberResourceNames`
|
471
|
-
# @return [Array<String>]
|
472
|
-
attr_accessor :member_resource_names
|
473
|
-
|
474
|
-
# The contact group name set by the group owner or a system provided name
|
475
|
-
# for system groups.
|
476
|
-
# Corresponds to the JSON property `name`
|
477
|
-
# @return [String]
|
478
|
-
attr_accessor :name
|
513
|
+
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0
|
514
|
+
# if specifying a year/month where the day is not significant.
|
515
|
+
# Corresponds to the JSON property `day`
|
516
|
+
# @return [Fixnum]
|
517
|
+
attr_accessor :day
|
479
518
|
|
480
|
-
#
|
481
|
-
# Corresponds to the JSON property `
|
482
|
-
# @return [
|
483
|
-
attr_accessor :
|
519
|
+
# Month of year. Must be from 1 to 12.
|
520
|
+
# Corresponds to the JSON property `month`
|
521
|
+
# @return [Fixnum]
|
522
|
+
attr_accessor :month
|
484
523
|
|
485
|
-
#
|
486
|
-
#
|
487
|
-
# Corresponds to the JSON property `
|
524
|
+
# Year of date. Must be from 1 to 9999, or 0 if specifying a date without
|
525
|
+
# a year.
|
526
|
+
# Corresponds to the JSON property `year`
|
488
527
|
# @return [Fixnum]
|
489
|
-
attr_accessor :
|
528
|
+
attr_accessor :year
|
490
529
|
|
491
530
|
def initialize(**args)
|
492
531
|
update!(**args)
|
@@ -494,177 +533,133 @@ module Google
|
|
494
533
|
|
495
534
|
# Update properties of this object
|
496
535
|
def update!(**args)
|
497
|
-
@
|
498
|
-
@
|
499
|
-
@
|
500
|
-
@formatted_name = args[:formatted_name] if args.key?(:formatted_name)
|
501
|
-
@member_resource_names = args[:member_resource_names] if args.key?(:member_resource_names)
|
502
|
-
@name = args[:name] if args.key?(:name)
|
503
|
-
@metadata = args[:metadata] if args.key?(:metadata)
|
504
|
-
@member_count = args[:member_count] if args.key?(:member_count)
|
536
|
+
@day = args[:day] if args.key?(:day)
|
537
|
+
@month = args[:month] if args.key?(:month)
|
538
|
+
@year = args[:year] if args.key?(:year)
|
505
539
|
end
|
506
540
|
end
|
507
541
|
|
508
|
-
#
|
509
|
-
|
510
|
-
# Most fields can have multiple items. The items in a field have no guaranteed
|
511
|
-
# order, but each non-empty field is guaranteed to have exactly one field with
|
512
|
-
# `metadata.primary` set to true.
|
513
|
-
class Person
|
542
|
+
# A Google Apps Domain membership.
|
543
|
+
class DomainMembership
|
514
544
|
include Google::Apis::Core::Hashable
|
515
545
|
|
516
|
-
#
|
517
|
-
# Corresponds to the JSON property `
|
518
|
-
# @return [
|
519
|
-
attr_accessor :
|
520
|
-
|
521
|
-
# The person's relations.
|
522
|
-
# Corresponds to the JSON property `relations`
|
523
|
-
# @return [Array<Google::Apis::PeopleV1::Relation>]
|
524
|
-
attr_accessor :relations
|
546
|
+
# True if the person is in the viewer's Google Apps domain.
|
547
|
+
# Corresponds to the JSON property `inViewerDomain`
|
548
|
+
# @return [Boolean]
|
549
|
+
attr_accessor :in_viewer_domain
|
550
|
+
alias_method :in_viewer_domain?, :in_viewer_domain
|
525
551
|
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
attr_accessor :occupations
|
552
|
+
def initialize(**args)
|
553
|
+
update!(**args)
|
554
|
+
end
|
530
555
|
|
531
|
-
#
|
532
|
-
|
533
|
-
|
534
|
-
|
556
|
+
# Update properties of this object
|
557
|
+
def update!(**args)
|
558
|
+
@in_viewer_domain = args[:in_viewer_domain] if args.key?(:in_viewer_domain)
|
559
|
+
end
|
560
|
+
end
|
535
561
|
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
attr_accessor :organizations
|
562
|
+
# A person's email address.
|
563
|
+
class EmailAddress
|
564
|
+
include Google::Apis::Core::Hashable
|
540
565
|
|
541
|
-
# The
|
542
|
-
#
|
543
|
-
# Corresponds to the JSON property `etag`
|
566
|
+
# The display name of the email.
|
567
|
+
# Corresponds to the JSON property `displayName`
|
544
568
|
# @return [String]
|
545
|
-
attr_accessor :
|
569
|
+
attr_accessor :display_name
|
546
570
|
|
547
|
-
# The
|
548
|
-
#
|
549
|
-
#
|
550
|
-
|
571
|
+
# The read-only type of the email address translated and formatted in the
|
572
|
+
# viewer's account locale or the `Accept-Language` HTTP header locale.
|
573
|
+
# Corresponds to the JSON property `formattedType`
|
574
|
+
# @return [String]
|
575
|
+
attr_accessor :formatted_type
|
551
576
|
|
552
|
-
#
|
577
|
+
# Metadata about a field.
|
553
578
|
# Corresponds to the JSON property `metadata`
|
554
|
-
# @return [Google::Apis::PeopleV1::
|
579
|
+
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
555
580
|
attr_accessor :metadata
|
556
581
|
|
557
|
-
# The
|
558
|
-
#
|
559
|
-
#
|
560
|
-
|
561
|
-
|
562
|
-
#
|
563
|
-
#
|
564
|
-
|
565
|
-
attr_accessor :genders
|
566
|
-
|
567
|
-
# The person's interests.
|
568
|
-
# Corresponds to the JSON property `interests`
|
569
|
-
# @return [Array<Google::Apis::PeopleV1::Interest>]
|
570
|
-
attr_accessor :interests
|
582
|
+
# The type of the email address. The type can be custom or predefined.
|
583
|
+
# Possible values include, but are not limited to, the following:
|
584
|
+
# * `home`
|
585
|
+
# * `work`
|
586
|
+
# * `other`
|
587
|
+
# Corresponds to the JSON property `type`
|
588
|
+
# @return [String]
|
589
|
+
attr_accessor :type
|
571
590
|
|
572
|
-
# The
|
573
|
-
#
|
574
|
-
# Corresponds to the JSON property `resourceName`
|
591
|
+
# The email address.
|
592
|
+
# Corresponds to the JSON property `value`
|
575
593
|
# @return [String]
|
576
|
-
attr_accessor :
|
594
|
+
attr_accessor :value
|
577
595
|
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
attr_accessor :biographies
|
596
|
+
def initialize(**args)
|
597
|
+
update!(**args)
|
598
|
+
end
|
582
599
|
|
583
|
-
#
|
584
|
-
|
585
|
-
|
586
|
-
|
600
|
+
# Update properties of this object
|
601
|
+
def update!(**args)
|
602
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
603
|
+
@formatted_type = args[:formatted_type] if args.key?(:formatted_type)
|
604
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
605
|
+
@type = args[:type] if args.key?(:type)
|
606
|
+
@value = args[:value] if args.key?(:value)
|
607
|
+
end
|
608
|
+
end
|
587
609
|
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
610
|
+
# A generic empty message that you can re-use to avoid defining duplicated
|
611
|
+
# empty messages in your APIs. A typical example is to use it as the request
|
612
|
+
# or the response type of an API method. For instance:
|
613
|
+
# service Foo `
|
614
|
+
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
615
|
+
# `
|
616
|
+
# The JSON representation for `Empty` is empty JSON object ````.
|
617
|
+
class Empty
|
618
|
+
include Google::Apis::Core::Hashable
|
592
619
|
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
attr_accessor :photos
|
620
|
+
def initialize(**args)
|
621
|
+
update!(**args)
|
622
|
+
end
|
597
623
|
|
598
|
-
#
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
attr_accessor :age_range
|
624
|
+
# Update properties of this object
|
625
|
+
def update!(**args)
|
626
|
+
end
|
627
|
+
end
|
603
628
|
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
attr_accessor :taglines
|
629
|
+
# An event related to the person.
|
630
|
+
class Event
|
631
|
+
include Google::Apis::Core::Hashable
|
608
632
|
|
609
|
-
#
|
610
|
-
#
|
611
|
-
#
|
612
|
-
|
633
|
+
# Represents a whole calendar date, for example a date of birth. The time
|
634
|
+
# of day and time zone are either specified elsewhere or are not
|
635
|
+
# significant. The date is relative to the
|
636
|
+
# [Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/
|
637
|
+
# Proleptic_Gregorian_calendar).
|
638
|
+
# The day may be 0 to represent a year and month where the day is not
|
639
|
+
# significant. The year may be 0 to represent a month and day independent
|
640
|
+
# of year; for example, anniversary date.
|
641
|
+
# Corresponds to the JSON property `date`
|
642
|
+
# @return [Google::Apis::PeopleV1::Date]
|
643
|
+
attr_accessor :date
|
613
644
|
|
614
|
-
# The
|
615
|
-
#
|
616
|
-
#
|
617
|
-
|
645
|
+
# The read-only type of the event translated and formatted in the
|
646
|
+
# viewer's account locale or the `Accept-Language` HTTP header locale.
|
647
|
+
# Corresponds to the JSON property `formattedType`
|
648
|
+
# @return [String]
|
649
|
+
attr_accessor :formatted_type
|
618
650
|
|
619
|
-
#
|
620
|
-
# Corresponds to the JSON property `
|
621
|
-
# @return [
|
622
|
-
attr_accessor :
|
651
|
+
# Metadata about a field.
|
652
|
+
# Corresponds to the JSON property `metadata`
|
653
|
+
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
654
|
+
attr_accessor :metadata
|
623
655
|
|
624
|
-
# The
|
625
|
-
#
|
626
|
-
#
|
627
|
-
|
628
|
-
|
629
|
-
#
|
630
|
-
|
631
|
-
# @return [Array<Google::Apis::PeopleV1::PhoneNumber>]
|
632
|
-
attr_accessor :phone_numbers
|
633
|
-
|
634
|
-
# The person's read-only cover photos.
|
635
|
-
# Corresponds to the JSON property `coverPhotos`
|
636
|
-
# @return [Array<Google::Apis::PeopleV1::CoverPhoto>]
|
637
|
-
attr_accessor :cover_photos
|
638
|
-
|
639
|
-
# The person's instant messaging clients.
|
640
|
-
# Corresponds to the JSON property `imClients`
|
641
|
-
# @return [Array<Google::Apis::PeopleV1::ImClient>]
|
642
|
-
attr_accessor :im_clients
|
643
|
-
|
644
|
-
# The person's birthdays.
|
645
|
-
# Corresponds to the JSON property `birthdays`
|
646
|
-
# @return [Array<Google::Apis::PeopleV1::Birthday>]
|
647
|
-
attr_accessor :birthdays
|
648
|
-
|
649
|
-
# The person's locale preferences.
|
650
|
-
# Corresponds to the JSON property `locales`
|
651
|
-
# @return [Array<Google::Apis::PeopleV1::Locale>]
|
652
|
-
attr_accessor :locales
|
653
|
-
|
654
|
-
# The person's read-only relationship interests.
|
655
|
-
# Corresponds to the JSON property `relationshipInterests`
|
656
|
-
# @return [Array<Google::Apis::PeopleV1::RelationshipInterest>]
|
657
|
-
attr_accessor :relationship_interests
|
658
|
-
|
659
|
-
# The person's associated URLs.
|
660
|
-
# Corresponds to the JSON property `urls`
|
661
|
-
# @return [Array<Google::Apis::PeopleV1::Url>]
|
662
|
-
attr_accessor :urls
|
663
|
-
|
664
|
-
# The person's nicknames.
|
665
|
-
# Corresponds to the JSON property `nicknames`
|
666
|
-
# @return [Array<Google::Apis::PeopleV1::Nickname>]
|
667
|
-
attr_accessor :nicknames
|
656
|
+
# The type of the event. The type can be custom or predefined.
|
657
|
+
# Possible values include, but are not limited to, the following:
|
658
|
+
# * `anniversary`
|
659
|
+
# * `other`
|
660
|
+
# Corresponds to the JSON property `type`
|
661
|
+
# @return [String]
|
662
|
+
attr_accessor :type
|
668
663
|
|
669
664
|
def initialize(**args)
|
670
665
|
update!(**args)
|
@@ -672,74 +667,36 @@ module Google
|
|
672
667
|
|
673
668
|
# Update properties of this object
|
674
669
|
def update!(**args)
|
675
|
-
@
|
676
|
-
@
|
677
|
-
@occupations = args[:occupations] if args.key?(:occupations)
|
678
|
-
@email_addresses = args[:email_addresses] if args.key?(:email_addresses)
|
679
|
-
@organizations = args[:organizations] if args.key?(:organizations)
|
680
|
-
@etag = args[:etag] if args.key?(:etag)
|
681
|
-
@bragging_rights = args[:bragging_rights] if args.key?(:bragging_rights)
|
670
|
+
@date = args[:date] if args.key?(:date)
|
671
|
+
@formatted_type = args[:formatted_type] if args.key?(:formatted_type)
|
682
672
|
@metadata = args[:metadata] if args.key?(:metadata)
|
683
|
-
@
|
684
|
-
@genders = args[:genders] if args.key?(:genders)
|
685
|
-
@interests = args[:interests] if args.key?(:interests)
|
686
|
-
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
687
|
-
@biographies = args[:biographies] if args.key?(:biographies)
|
688
|
-
@skills = args[:skills] if args.key?(:skills)
|
689
|
-
@relationship_statuses = args[:relationship_statuses] if args.key?(:relationship_statuses)
|
690
|
-
@photos = args[:photos] if args.key?(:photos)
|
691
|
-
@age_range = args[:age_range] if args.key?(:age_range)
|
692
|
-
@taglines = args[:taglines] if args.key?(:taglines)
|
693
|
-
@age_ranges = args[:age_ranges] if args.key?(:age_ranges)
|
694
|
-
@addresses = args[:addresses] if args.key?(:addresses)
|
695
|
-
@events = args[:events] if args.key?(:events)
|
696
|
-
@memberships = args[:memberships] if args.key?(:memberships)
|
697
|
-
@phone_numbers = args[:phone_numbers] if args.key?(:phone_numbers)
|
698
|
-
@cover_photos = args[:cover_photos] if args.key?(:cover_photos)
|
699
|
-
@im_clients = args[:im_clients] if args.key?(:im_clients)
|
700
|
-
@birthdays = args[:birthdays] if args.key?(:birthdays)
|
701
|
-
@locales = args[:locales] if args.key?(:locales)
|
702
|
-
@relationship_interests = args[:relationship_interests] if args.key?(:relationship_interests)
|
703
|
-
@urls = args[:urls] if args.key?(:urls)
|
704
|
-
@nicknames = args[:nicknames] if args.key?(:nicknames)
|
673
|
+
@type = args[:type] if args.key?(:type)
|
705
674
|
end
|
706
675
|
end
|
707
676
|
|
708
|
-
#
|
709
|
-
class
|
677
|
+
# Metadata about a field.
|
678
|
+
class FieldMetadata
|
710
679
|
include Google::Apis::Core::Hashable
|
711
680
|
|
712
|
-
#
|
713
|
-
#
|
714
|
-
#
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
update!(**args)
|
719
|
-
end
|
720
|
-
|
721
|
-
# Update properties of this object
|
722
|
-
def update!(**args)
|
723
|
-
@contact_group = args[:contact_group] if args.key?(:contact_group)
|
724
|
-
end
|
725
|
-
end
|
681
|
+
# True if the field is the primary field; false if the field is a secondary
|
682
|
+
# field.
|
683
|
+
# Corresponds to the JSON property `primary`
|
684
|
+
# @return [Boolean]
|
685
|
+
attr_accessor :primary
|
686
|
+
alias_method :primary?, :primary
|
726
687
|
|
727
|
-
|
728
|
-
|
729
|
-
|
688
|
+
# The source of a field.
|
689
|
+
# Corresponds to the JSON property `source`
|
690
|
+
# @return [Google::Apis::PeopleV1::Source]
|
691
|
+
attr_accessor :source
|
730
692
|
|
731
|
-
# True if the
|
732
|
-
#
|
733
|
-
# that
|
734
|
-
# Corresponds to the JSON property `
|
693
|
+
# True if the field is verified; false if the field is unverified. A
|
694
|
+
# verified field is typically a name, email address, phone number, or
|
695
|
+
# website that has been confirmed to be owned by the person.
|
696
|
+
# Corresponds to the JSON property `verified`
|
735
697
|
# @return [Boolean]
|
736
|
-
attr_accessor :
|
737
|
-
alias_method :
|
738
|
-
|
739
|
-
# The time the group was last updated.
|
740
|
-
# Corresponds to the JSON property `updateTime`
|
741
|
-
# @return [String]
|
742
|
-
attr_accessor :update_time
|
698
|
+
attr_accessor :verified
|
699
|
+
alias_method :verified?, :verified
|
743
700
|
|
744
701
|
def initialize(**args)
|
745
702
|
update!(**args)
|
@@ -747,28 +704,34 @@ module Google
|
|
747
704
|
|
748
705
|
# Update properties of this object
|
749
706
|
def update!(**args)
|
750
|
-
@
|
751
|
-
@
|
707
|
+
@primary = args[:primary] if args.key?(:primary)
|
708
|
+
@source = args[:source] if args.key?(:source)
|
709
|
+
@verified = args[:verified] if args.key?(:verified)
|
752
710
|
end
|
753
711
|
end
|
754
712
|
|
755
|
-
# A person's
|
756
|
-
class
|
713
|
+
# A person's gender.
|
714
|
+
class Gender
|
757
715
|
include Google::Apis::Core::Hashable
|
758
716
|
|
759
|
-
#
|
760
|
-
#
|
761
|
-
# Corresponds to the JSON property `
|
762
|
-
# @return [
|
763
|
-
attr_accessor :
|
764
|
-
alias_method :current?, :current
|
717
|
+
# The read-only value of the gender translated and formatted in the viewer's
|
718
|
+
# account locale or the `Accept-Language` HTTP header locale.
|
719
|
+
# Corresponds to the JSON property `formattedValue`
|
720
|
+
# @return [String]
|
721
|
+
attr_accessor :formatted_value
|
765
722
|
|
766
723
|
# Metadata about a field.
|
767
724
|
# Corresponds to the JSON property `metadata`
|
768
725
|
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
769
726
|
attr_accessor :metadata
|
770
727
|
|
771
|
-
# The
|
728
|
+
# The gender for the person. The gender can be custom or predefined.
|
729
|
+
# Possible values include, but are not limited to, the
|
730
|
+
# following:
|
731
|
+
# * `male`
|
732
|
+
# * `female`
|
733
|
+
# * `other`
|
734
|
+
# * `unknown`
|
772
735
|
# Corresponds to the JSON property `value`
|
773
736
|
# @return [String]
|
774
737
|
attr_accessor :value
|
@@ -779,46 +742,80 @@ module Google
|
|
779
742
|
|
780
743
|
# Update properties of this object
|
781
744
|
def update!(**args)
|
782
|
-
@
|
745
|
+
@formatted_value = args[:formatted_value] if args.key?(:formatted_value)
|
783
746
|
@metadata = args[:metadata] if args.key?(:metadata)
|
784
747
|
@value = args[:value] if args.key?(:value)
|
785
748
|
end
|
786
749
|
end
|
787
750
|
|
788
|
-
#
|
789
|
-
class
|
751
|
+
#
|
752
|
+
class GetPeopleResponse
|
790
753
|
include Google::Apis::Core::Hashable
|
791
754
|
|
792
|
-
#
|
793
|
-
#
|
794
|
-
#
|
795
|
-
|
796
|
-
# Proleptic_Gregorian_calendar).
|
797
|
-
# The day may be 0 to represent a year and month where the day is not
|
798
|
-
# significant. The year may be 0 to represent a month and day independent
|
799
|
-
# of year; for example, anniversary date.
|
800
|
-
# Corresponds to the JSON property `date`
|
801
|
-
# @return [Google::Apis::PeopleV1::Date]
|
802
|
-
attr_accessor :date
|
755
|
+
# The response for each requested resource name.
|
756
|
+
# Corresponds to the JSON property `responses`
|
757
|
+
# @return [Array<Google::Apis::PeopleV1::PersonResponse>]
|
758
|
+
attr_accessor :responses
|
803
759
|
|
804
|
-
|
760
|
+
def initialize(**args)
|
761
|
+
update!(**args)
|
762
|
+
end
|
763
|
+
|
764
|
+
# Update properties of this object
|
765
|
+
def update!(**args)
|
766
|
+
@responses = args[:responses] if args.key?(:responses)
|
767
|
+
end
|
768
|
+
end
|
769
|
+
|
770
|
+
# A person's instant messaging client.
|
771
|
+
class ImClient
|
772
|
+
include Google::Apis::Core::Hashable
|
773
|
+
|
774
|
+
# The read-only protocol of the IM client formatted in the viewer's account
|
775
|
+
# locale or the `Accept-Language` HTTP header locale.
|
776
|
+
# Corresponds to the JSON property `formattedProtocol`
|
777
|
+
# @return [String]
|
778
|
+
attr_accessor :formatted_protocol
|
779
|
+
|
780
|
+
# The read-only type of the IM client translated and formatted in the
|
805
781
|
# viewer's account locale or the `Accept-Language` HTTP header locale.
|
806
782
|
# Corresponds to the JSON property `formattedType`
|
807
783
|
# @return [String]
|
808
784
|
attr_accessor :formatted_type
|
809
785
|
|
810
|
-
#
|
786
|
+
# Metadata about a field.
|
787
|
+
# Corresponds to the JSON property `metadata`
|
788
|
+
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
789
|
+
attr_accessor :metadata
|
790
|
+
|
791
|
+
# The protocol of the IM client. The protocol can be custom or predefined.
|
811
792
|
# Possible values include, but are not limited to, the following:
|
812
|
-
# * `
|
793
|
+
# * `aim`
|
794
|
+
# * `msn`
|
795
|
+
# * `yahoo`
|
796
|
+
# * `skype`
|
797
|
+
# * `qq`
|
798
|
+
# * `googleTalk`
|
799
|
+
# * `icq`
|
800
|
+
# * `jabber`
|
801
|
+
# * `netMeeting`
|
802
|
+
# Corresponds to the JSON property `protocol`
|
803
|
+
# @return [String]
|
804
|
+
attr_accessor :protocol
|
805
|
+
|
806
|
+
# The type of the IM client. The type can be custom or predefined.
|
807
|
+
# Possible values include, but are not limited to, the following:
|
808
|
+
# * `home`
|
809
|
+
# * `work`
|
813
810
|
# * `other`
|
814
811
|
# Corresponds to the JSON property `type`
|
815
812
|
# @return [String]
|
816
813
|
attr_accessor :type
|
817
814
|
|
818
|
-
#
|
819
|
-
# Corresponds to the JSON property `
|
820
|
-
# @return [
|
821
|
-
attr_accessor :
|
815
|
+
# The user name used in the IM client.
|
816
|
+
# Corresponds to the JSON property `username`
|
817
|
+
# @return [String]
|
818
|
+
attr_accessor :username
|
822
819
|
|
823
820
|
def initialize(**args)
|
824
821
|
update!(**args)
|
@@ -826,21 +823,28 @@ module Google
|
|
826
823
|
|
827
824
|
# Update properties of this object
|
828
825
|
def update!(**args)
|
829
|
-
@
|
826
|
+
@formatted_protocol = args[:formatted_protocol] if args.key?(:formatted_protocol)
|
830
827
|
@formatted_type = args[:formatted_type] if args.key?(:formatted_type)
|
831
|
-
@type = args[:type] if args.key?(:type)
|
832
828
|
@metadata = args[:metadata] if args.key?(:metadata)
|
829
|
+
@protocol = args[:protocol] if args.key?(:protocol)
|
830
|
+
@type = args[:type] if args.key?(:type)
|
831
|
+
@username = args[:username] if args.key?(:username)
|
833
832
|
end
|
834
833
|
end
|
835
834
|
|
836
|
-
#
|
837
|
-
class
|
835
|
+
# One of the person's interests.
|
836
|
+
class Interest
|
838
837
|
include Google::Apis::Core::Hashable
|
839
838
|
|
840
|
-
#
|
841
|
-
# Corresponds to the JSON property `
|
842
|
-
# @return [
|
843
|
-
attr_accessor :
|
839
|
+
# Metadata about a field.
|
840
|
+
# Corresponds to the JSON property `metadata`
|
841
|
+
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
842
|
+
attr_accessor :metadata
|
843
|
+
|
844
|
+
# The interest; for example, `stargazing`.
|
845
|
+
# Corresponds to the JSON property `value`
|
846
|
+
# @return [String]
|
847
|
+
attr_accessor :value
|
844
848
|
|
845
849
|
def initialize(**args)
|
846
850
|
update!(**args)
|
@@ -848,23 +852,40 @@ module Google
|
|
848
852
|
|
849
853
|
# Update properties of this object
|
850
854
|
def update!(**args)
|
851
|
-
@
|
855
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
856
|
+
@value = args[:value] if args.key?(:value)
|
852
857
|
end
|
853
858
|
end
|
854
859
|
|
855
|
-
#
|
856
|
-
class
|
860
|
+
#
|
861
|
+
class ListConnectionsResponse
|
857
862
|
include Google::Apis::Core::Hashable
|
858
863
|
|
859
|
-
# The
|
860
|
-
# Corresponds to the JSON property `
|
861
|
-
# @return [Array<
|
862
|
-
attr_accessor :
|
863
|
-
|
864
|
-
# The
|
865
|
-
# Corresponds to the JSON property `
|
864
|
+
# The list of people that the requestor is connected to.
|
865
|
+
# Corresponds to the JSON property `connections`
|
866
|
+
# @return [Array<Google::Apis::PeopleV1::Person>]
|
867
|
+
attr_accessor :connections
|
868
|
+
|
869
|
+
# The token that can be used to retrieve the next page of results.
|
870
|
+
# Corresponds to the JSON property `nextPageToken`
|
866
871
|
# @return [String]
|
867
|
-
attr_accessor :
|
872
|
+
attr_accessor :next_page_token
|
873
|
+
|
874
|
+
# The token that can be used to retrieve changes since the last request.
|
875
|
+
# Corresponds to the JSON property `nextSyncToken`
|
876
|
+
# @return [String]
|
877
|
+
attr_accessor :next_sync_token
|
878
|
+
|
879
|
+
# The total number of items in the list without pagination.
|
880
|
+
# Corresponds to the JSON property `totalItems`
|
881
|
+
# @return [Fixnum]
|
882
|
+
attr_accessor :total_items
|
883
|
+
|
884
|
+
# **DEPRECATED** (Please use totalItems)
|
885
|
+
# The total number of people in the list without pagination.
|
886
|
+
# Corresponds to the JSON property `totalPeople`
|
887
|
+
# @return [Fixnum]
|
888
|
+
attr_accessor :total_people
|
868
889
|
|
869
890
|
def initialize(**args)
|
870
891
|
update!(**args)
|
@@ -872,33 +893,63 @@ module Google
|
|
872
893
|
|
873
894
|
# Update properties of this object
|
874
895
|
def update!(**args)
|
875
|
-
@
|
876
|
-
@
|
896
|
+
@connections = args[:connections] if args.key?(:connections)
|
897
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
898
|
+
@next_sync_token = args[:next_sync_token] if args.key?(:next_sync_token)
|
899
|
+
@total_items = args[:total_items] if args.key?(:total_items)
|
900
|
+
@total_people = args[:total_people] if args.key?(:total_people)
|
877
901
|
end
|
878
902
|
end
|
879
903
|
|
880
|
-
#
|
881
|
-
class
|
904
|
+
# The response to a list contact groups request.
|
905
|
+
class ListContactGroupsResponse
|
882
906
|
include Google::Apis::Core::Hashable
|
883
907
|
|
884
|
-
# The
|
885
|
-
#
|
886
|
-
# Corresponds to the JSON property `
|
908
|
+
# The list of contact groups. Members of the contact groups are not
|
909
|
+
# populated.
|
910
|
+
# Corresponds to the JSON property `contactGroups`
|
911
|
+
# @return [Array<Google::Apis::PeopleV1::ContactGroup>]
|
912
|
+
attr_accessor :contact_groups
|
913
|
+
|
914
|
+
# The token that can be used to retrieve the next page of results.
|
915
|
+
# Corresponds to the JSON property `nextPageToken`
|
887
916
|
# @return [String]
|
888
|
-
attr_accessor :
|
917
|
+
attr_accessor :next_page_token
|
918
|
+
|
919
|
+
# The token that can be used to retrieve changes since the last request.
|
920
|
+
# Corresponds to the JSON property `nextSyncToken`
|
921
|
+
# @return [String]
|
922
|
+
attr_accessor :next_sync_token
|
923
|
+
|
924
|
+
# The total number of items in the list without pagination.
|
925
|
+
# Corresponds to the JSON property `totalItems`
|
926
|
+
# @return [Fixnum]
|
927
|
+
attr_accessor :total_items
|
928
|
+
|
929
|
+
def initialize(**args)
|
930
|
+
update!(**args)
|
931
|
+
end
|
932
|
+
|
933
|
+
# Update properties of this object
|
934
|
+
def update!(**args)
|
935
|
+
@contact_groups = args[:contact_groups] if args.key?(:contact_groups)
|
936
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
937
|
+
@next_sync_token = args[:next_sync_token] if args.key?(:next_sync_token)
|
938
|
+
@total_items = args[:total_items] if args.key?(:total_items)
|
939
|
+
end
|
940
|
+
end
|
941
|
+
|
942
|
+
# A person's locale preference.
|
943
|
+
class Locale
|
944
|
+
include Google::Apis::Core::Hashable
|
889
945
|
|
890
946
|
# Metadata about a field.
|
891
947
|
# Corresponds to the JSON property `metadata`
|
892
948
|
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
893
949
|
attr_accessor :metadata
|
894
950
|
|
895
|
-
# The
|
896
|
-
#
|
897
|
-
# following:
|
898
|
-
# * `male`
|
899
|
-
# * `female`
|
900
|
-
# * `other`
|
901
|
-
# * `unknown`
|
951
|
+
# The well-formed [IETF BCP 47](https://tools.ietf.org/html/bcp47)
|
952
|
+
# language tag representing the locale.
|
902
953
|
# Corresponds to the JSON property `value`
|
903
954
|
# @return [String]
|
904
955
|
attr_accessor :value
|
@@ -909,59 +960,57 @@ module Google
|
|
909
960
|
|
910
961
|
# Update properties of this object
|
911
962
|
def update!(**args)
|
912
|
-
@formatted_value = args[:formatted_value] if args.key?(:formatted_value)
|
913
963
|
@metadata = args[:metadata] if args.key?(:metadata)
|
914
964
|
@value = args[:value] if args.key?(:value)
|
915
965
|
end
|
916
966
|
end
|
917
967
|
|
918
|
-
# A person's read-only
|
919
|
-
|
920
|
-
class CoverPhoto
|
968
|
+
# A person's read-only membership in a group.
|
969
|
+
class Membership
|
921
970
|
include Google::Apis::Core::Hashable
|
922
971
|
|
923
|
-
#
|
924
|
-
#
|
925
|
-
#
|
926
|
-
|
927
|
-
|
928
|
-
|
972
|
+
# A Google contact group membership.
|
973
|
+
# Corresponds to the JSON property `contactGroupMembership`
|
974
|
+
# @return [Google::Apis::PeopleV1::ContactGroupMembership]
|
975
|
+
attr_accessor :contact_group_membership
|
976
|
+
|
977
|
+
# A Google Apps Domain membership.
|
978
|
+
# Corresponds to the JSON property `domainMembership`
|
979
|
+
# @return [Google::Apis::PeopleV1::DomainMembership]
|
980
|
+
attr_accessor :domain_membership
|
929
981
|
|
930
982
|
# Metadata about a field.
|
931
983
|
# Corresponds to the JSON property `metadata`
|
932
984
|
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
933
985
|
attr_accessor :metadata
|
934
986
|
|
935
|
-
# The URL of the cover photo.
|
936
|
-
# Corresponds to the JSON property `url`
|
937
|
-
# @return [String]
|
938
|
-
attr_accessor :url
|
939
|
-
|
940
987
|
def initialize(**args)
|
941
988
|
update!(**args)
|
942
989
|
end
|
943
990
|
|
944
991
|
# Update properties of this object
|
945
992
|
def update!(**args)
|
946
|
-
@
|
993
|
+
@contact_group_membership = args[:contact_group_membership] if args.key?(:contact_group_membership)
|
994
|
+
@domain_membership = args[:domain_membership] if args.key?(:domain_membership)
|
947
995
|
@metadata = args[:metadata] if args.key?(:metadata)
|
948
|
-
@url = args[:url] if args.key?(:url)
|
949
996
|
end
|
950
997
|
end
|
951
998
|
|
952
|
-
#
|
953
|
-
class
|
999
|
+
# A request to modify an existing contact group's members.
|
1000
|
+
class ModifyContactGroupMembersRequest
|
954
1001
|
include Google::Apis::Core::Hashable
|
955
1002
|
|
956
|
-
#
|
957
|
-
#
|
958
|
-
#
|
959
|
-
|
1003
|
+
# The resource names of the contact people to add in the form of in the form
|
1004
|
+
# `people/`<var>person_id</var>.
|
1005
|
+
# Corresponds to the JSON property `resourceNamesToAdd`
|
1006
|
+
# @return [Array<String>]
|
1007
|
+
attr_accessor :resource_names_to_add
|
960
1008
|
|
961
|
-
# The
|
962
|
-
#
|
963
|
-
#
|
964
|
-
|
1009
|
+
# The resource names of the contact people to remove in the form of in the
|
1010
|
+
# form of `people/`<var>person_id</var>.
|
1011
|
+
# Corresponds to the JSON property `resourceNamesToRemove`
|
1012
|
+
# @return [Array<String>]
|
1013
|
+
attr_accessor :resource_names_to_remove
|
965
1014
|
|
966
1015
|
def initialize(**args)
|
967
1016
|
update!(**args)
|
@@ -969,29 +1018,19 @@ module Google
|
|
969
1018
|
|
970
1019
|
# Update properties of this object
|
971
1020
|
def update!(**args)
|
972
|
-
@
|
973
|
-
@
|
1021
|
+
@resource_names_to_add = args[:resource_names_to_add] if args.key?(:resource_names_to_add)
|
1022
|
+
@resource_names_to_remove = args[:resource_names_to_remove] if args.key?(:resource_names_to_remove)
|
974
1023
|
end
|
975
1024
|
end
|
976
1025
|
|
977
|
-
#
|
978
|
-
class
|
1026
|
+
# The response to a modify contact group members request.
|
1027
|
+
class ModifyContactGroupMembersResponse
|
979
1028
|
include Google::Apis::Core::Hashable
|
980
1029
|
|
981
|
-
# The
|
982
|
-
# Corresponds to the JSON property `
|
983
|
-
# @return [String]
|
984
|
-
attr_accessor :
|
985
|
-
|
986
|
-
# Metadata about a field.
|
987
|
-
# Corresponds to the JSON property `metadata`
|
988
|
-
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
989
|
-
attr_accessor :metadata
|
990
|
-
|
991
|
-
# The nickname.
|
992
|
-
# Corresponds to the JSON property `value`
|
993
|
-
# @return [String]
|
994
|
-
attr_accessor :value
|
1030
|
+
# The contact people resource names that were not found.
|
1031
|
+
# Corresponds to the JSON property `notFoundResourceNames`
|
1032
|
+
# @return [Array<String>]
|
1033
|
+
attr_accessor :not_found_resource_names
|
995
1034
|
|
996
1035
|
def initialize(**args)
|
997
1036
|
update!(**args)
|
@@ -999,45 +1038,86 @@ module Google
|
|
999
1038
|
|
1000
1039
|
# Update properties of this object
|
1001
1040
|
def update!(**args)
|
1002
|
-
@
|
1003
|
-
@metadata = args[:metadata] if args.key?(:metadata)
|
1004
|
-
@value = args[:value] if args.key?(:value)
|
1041
|
+
@not_found_resource_names = args[:not_found_resource_names] if args.key?(:not_found_resource_names)
|
1005
1042
|
end
|
1006
1043
|
end
|
1007
1044
|
|
1008
|
-
# A person's
|
1009
|
-
class
|
1045
|
+
# A person's name. If the name is a mononym, the family name is empty.
|
1046
|
+
class Name
|
1010
1047
|
include Google::Apis::Core::Hashable
|
1011
1048
|
|
1012
|
-
# The display name
|
1049
|
+
# The read-only display name formatted according to the locale specified by
|
1050
|
+
# the viewer's account or the `Accept-Language` HTTP header.
|
1013
1051
|
# Corresponds to the JSON property `displayName`
|
1014
1052
|
# @return [String]
|
1015
1053
|
attr_accessor :display_name
|
1016
1054
|
|
1017
|
-
# The
|
1018
|
-
#
|
1019
|
-
#
|
1020
|
-
#
|
1021
|
-
# * `other`
|
1022
|
-
# Corresponds to the JSON property `type`
|
1055
|
+
# The read-only display name with the last name first formatted according to
|
1056
|
+
# the locale specified by the viewer's account or the
|
1057
|
+
# `Accept-Language` HTTP header.
|
1058
|
+
# Corresponds to the JSON property `displayNameLastFirst`
|
1023
1059
|
# @return [String]
|
1024
|
-
attr_accessor :
|
1060
|
+
attr_accessor :display_name_last_first
|
1061
|
+
|
1062
|
+
# The family name.
|
1063
|
+
# Corresponds to the JSON property `familyName`
|
1064
|
+
# @return [String]
|
1065
|
+
attr_accessor :family_name
|
1066
|
+
|
1067
|
+
# The given name.
|
1068
|
+
# Corresponds to the JSON property `givenName`
|
1069
|
+
# @return [String]
|
1070
|
+
attr_accessor :given_name
|
1071
|
+
|
1072
|
+
# The honorific prefixes, such as `Mrs.` or `Dr.`
|
1073
|
+
# Corresponds to the JSON property `honorificPrefix`
|
1074
|
+
# @return [String]
|
1075
|
+
attr_accessor :honorific_prefix
|
1076
|
+
|
1077
|
+
# The honorific suffixes, such as `Jr.`
|
1078
|
+
# Corresponds to the JSON property `honorificSuffix`
|
1079
|
+
# @return [String]
|
1080
|
+
attr_accessor :honorific_suffix
|
1025
1081
|
|
1026
1082
|
# Metadata about a field.
|
1027
1083
|
# Corresponds to the JSON property `metadata`
|
1028
1084
|
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
1029
1085
|
attr_accessor :metadata
|
1030
1086
|
|
1031
|
-
# The
|
1032
|
-
# Corresponds to the JSON property `
|
1087
|
+
# The middle name(s).
|
1088
|
+
# Corresponds to the JSON property `middleName`
|
1033
1089
|
# @return [String]
|
1034
|
-
attr_accessor :
|
1090
|
+
attr_accessor :middle_name
|
1035
1091
|
|
1036
|
-
# The
|
1037
|
-
#
|
1038
|
-
# Corresponds to the JSON property `formattedType`
|
1092
|
+
# The family name spelled as it sounds.
|
1093
|
+
# Corresponds to the JSON property `phoneticFamilyName`
|
1039
1094
|
# @return [String]
|
1040
|
-
attr_accessor :
|
1095
|
+
attr_accessor :phonetic_family_name
|
1096
|
+
|
1097
|
+
# The full name spelled as it sounds.
|
1098
|
+
# Corresponds to the JSON property `phoneticFullName`
|
1099
|
+
# @return [String]
|
1100
|
+
attr_accessor :phonetic_full_name
|
1101
|
+
|
1102
|
+
# The given name spelled as it sounds.
|
1103
|
+
# Corresponds to the JSON property `phoneticGivenName`
|
1104
|
+
# @return [String]
|
1105
|
+
attr_accessor :phonetic_given_name
|
1106
|
+
|
1107
|
+
# The honorific prefixes spelled as they sound.
|
1108
|
+
# Corresponds to the JSON property `phoneticHonorificPrefix`
|
1109
|
+
# @return [String]
|
1110
|
+
attr_accessor :phonetic_honorific_prefix
|
1111
|
+
|
1112
|
+
# The honorific suffixes spelled as they sound.
|
1113
|
+
# Corresponds to the JSON property `phoneticHonorificSuffix`
|
1114
|
+
# @return [String]
|
1115
|
+
attr_accessor :phonetic_honorific_suffix
|
1116
|
+
|
1117
|
+
# The middle name(s) spelled as they sound.
|
1118
|
+
# Corresponds to the JSON property `phoneticMiddleName`
|
1119
|
+
# @return [String]
|
1120
|
+
attr_accessor :phonetic_middle_name
|
1041
1121
|
|
1042
1122
|
def initialize(**args)
|
1043
1123
|
update!(**args)
|
@@ -1046,15 +1126,24 @@ module Google
|
|
1046
1126
|
# Update properties of this object
|
1047
1127
|
def update!(**args)
|
1048
1128
|
@display_name = args[:display_name] if args.key?(:display_name)
|
1049
|
-
@
|
1129
|
+
@display_name_last_first = args[:display_name_last_first] if args.key?(:display_name_last_first)
|
1130
|
+
@family_name = args[:family_name] if args.key?(:family_name)
|
1131
|
+
@given_name = args[:given_name] if args.key?(:given_name)
|
1132
|
+
@honorific_prefix = args[:honorific_prefix] if args.key?(:honorific_prefix)
|
1133
|
+
@honorific_suffix = args[:honorific_suffix] if args.key?(:honorific_suffix)
|
1050
1134
|
@metadata = args[:metadata] if args.key?(:metadata)
|
1051
|
-
@
|
1052
|
-
@
|
1135
|
+
@middle_name = args[:middle_name] if args.key?(:middle_name)
|
1136
|
+
@phonetic_family_name = args[:phonetic_family_name] if args.key?(:phonetic_family_name)
|
1137
|
+
@phonetic_full_name = args[:phonetic_full_name] if args.key?(:phonetic_full_name)
|
1138
|
+
@phonetic_given_name = args[:phonetic_given_name] if args.key?(:phonetic_given_name)
|
1139
|
+
@phonetic_honorific_prefix = args[:phonetic_honorific_prefix] if args.key?(:phonetic_honorific_prefix)
|
1140
|
+
@phonetic_honorific_suffix = args[:phonetic_honorific_suffix] if args.key?(:phonetic_honorific_suffix)
|
1141
|
+
@phonetic_middle_name = args[:phonetic_middle_name] if args.key?(:phonetic_middle_name)
|
1053
1142
|
end
|
1054
1143
|
end
|
1055
1144
|
|
1056
|
-
# A
|
1057
|
-
class
|
1145
|
+
# A person's nickname.
|
1146
|
+
class Nickname
|
1058
1147
|
include Google::Apis::Core::Hashable
|
1059
1148
|
|
1060
1149
|
# Metadata about a field.
|
@@ -1062,7 +1151,12 @@ module Google
|
|
1062
1151
|
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
1063
1152
|
attr_accessor :metadata
|
1064
1153
|
|
1065
|
-
# The
|
1154
|
+
# The type of the nickname.
|
1155
|
+
# Corresponds to the JSON property `type`
|
1156
|
+
# @return [String]
|
1157
|
+
attr_accessor :type
|
1158
|
+
|
1159
|
+
# The nickname.
|
1066
1160
|
# Corresponds to the JSON property `value`
|
1067
1161
|
# @return [String]
|
1068
1162
|
attr_accessor :value
|
@@ -1074,52 +1168,13 @@ module Google
|
|
1074
1168
|
# Update properties of this object
|
1075
1169
|
def update!(**args)
|
1076
1170
|
@metadata = args[:metadata] if args.key?(:metadata)
|
1171
|
+
@type = args[:type] if args.key?(:type)
|
1077
1172
|
@value = args[:value] if args.key?(:value)
|
1078
1173
|
end
|
1079
1174
|
end
|
1080
1175
|
|
1081
|
-
#
|
1082
|
-
|
1083
|
-
# significant. The date is relative to the
|
1084
|
-
# [Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/
|
1085
|
-
# Proleptic_Gregorian_calendar).
|
1086
|
-
# The day may be 0 to represent a year and month where the day is not
|
1087
|
-
# significant. The year may be 0 to represent a month and day independent
|
1088
|
-
# of year; for example, anniversary date.
|
1089
|
-
class Date
|
1090
|
-
include Google::Apis::Core::Hashable
|
1091
|
-
|
1092
|
-
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0
|
1093
|
-
# if specifying a year/month where the day is not significant.
|
1094
|
-
# Corresponds to the JSON property `day`
|
1095
|
-
# @return [Fixnum]
|
1096
|
-
attr_accessor :day
|
1097
|
-
|
1098
|
-
# Year of date. Must be from 1 to 9999, or 0 if specifying a date without
|
1099
|
-
# a year.
|
1100
|
-
# Corresponds to the JSON property `year`
|
1101
|
-
# @return [Fixnum]
|
1102
|
-
attr_accessor :year
|
1103
|
-
|
1104
|
-
# Month of year. Must be from 1 to 12.
|
1105
|
-
# Corresponds to the JSON property `month`
|
1106
|
-
# @return [Fixnum]
|
1107
|
-
attr_accessor :month
|
1108
|
-
|
1109
|
-
def initialize(**args)
|
1110
|
-
update!(**args)
|
1111
|
-
end
|
1112
|
-
|
1113
|
-
# Update properties of this object
|
1114
|
-
def update!(**args)
|
1115
|
-
@day = args[:day] if args.key?(:day)
|
1116
|
-
@year = args[:year] if args.key?(:year)
|
1117
|
-
@month = args[:month] if args.key?(:month)
|
1118
|
-
end
|
1119
|
-
end
|
1120
|
-
|
1121
|
-
# A read-only brief one-line description of the person.
|
1122
|
-
class Tagline
|
1176
|
+
# A person's occupation.
|
1177
|
+
class Occupation
|
1123
1178
|
include Google::Apis::Core::Hashable
|
1124
1179
|
|
1125
1180
|
# Metadata about a field.
|
@@ -1127,7 +1182,7 @@ module Google
|
|
1127
1182
|
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
1128
1183
|
attr_accessor :metadata
|
1129
1184
|
|
1130
|
-
# The
|
1185
|
+
# The occupation; for example, `carpenter`.
|
1131
1186
|
# Corresponds to the JSON property `value`
|
1132
1187
|
# @return [String]
|
1133
1188
|
attr_accessor :value
|
@@ -1143,82 +1198,101 @@ module Google
|
|
1143
1198
|
end
|
1144
1199
|
end
|
1145
1200
|
|
1146
|
-
# A person's
|
1147
|
-
|
1201
|
+
# A person's past or current organization. Overlapping date ranges are
|
1202
|
+
# permitted.
|
1203
|
+
class Organization
|
1148
1204
|
include Google::Apis::Core::Hashable
|
1149
1205
|
|
1150
|
-
#
|
1151
|
-
#
|
1152
|
-
#
|
1153
|
-
|
1206
|
+
# True if the organization is the person's current organization;
|
1207
|
+
# false if the organization is a past organization.
|
1208
|
+
# Corresponds to the JSON property `current`
|
1209
|
+
# @return [Boolean]
|
1210
|
+
attr_accessor :current
|
1211
|
+
alias_method :current?, :current
|
1154
1212
|
|
1155
|
-
# The
|
1156
|
-
#
|
1157
|
-
# <code>Accept-Language</code> HTTP header.
|
1158
|
-
# Corresponds to the JSON property `displayNameLastFirst`
|
1213
|
+
# The person's department at the organization.
|
1214
|
+
# Corresponds to the JSON property `department`
|
1159
1215
|
# @return [String]
|
1160
|
-
attr_accessor :
|
1216
|
+
attr_accessor :department
|
1161
1217
|
|
1162
|
-
# The
|
1163
|
-
#
|
1164
|
-
# Corresponds to the JSON property `displayName`
|
1218
|
+
# The domain name associated with the organization; for example, `google.com`.
|
1219
|
+
# Corresponds to the JSON property `domain`
|
1165
1220
|
# @return [String]
|
1166
|
-
attr_accessor :
|
1221
|
+
attr_accessor :domain
|
1167
1222
|
|
1168
|
-
#
|
1169
|
-
#
|
1170
|
-
#
|
1171
|
-
|
1223
|
+
# Represents a whole calendar date, for example a date of birth. The time
|
1224
|
+
# of day and time zone are either specified elsewhere or are not
|
1225
|
+
# significant. The date is relative to the
|
1226
|
+
# [Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/
|
1227
|
+
# Proleptic_Gregorian_calendar).
|
1228
|
+
# The day may be 0 to represent a year and month where the day is not
|
1229
|
+
# significant. The year may be 0 to represent a month and day independent
|
1230
|
+
# of year; for example, anniversary date.
|
1231
|
+
# Corresponds to the JSON property `endDate`
|
1232
|
+
# @return [Google::Apis::PeopleV1::Date]
|
1233
|
+
attr_accessor :end_date
|
1172
1234
|
|
1173
|
-
# The
|
1174
|
-
#
|
1235
|
+
# The read-only type of the organization translated and formatted in the
|
1236
|
+
# viewer's account locale or the `Accept-Language` HTTP header locale.
|
1237
|
+
# Corresponds to the JSON property `formattedType`
|
1175
1238
|
# @return [String]
|
1176
|
-
attr_accessor :
|
1239
|
+
attr_accessor :formatted_type
|
1177
1240
|
|
1178
|
-
# The
|
1179
|
-
# Corresponds to the JSON property `
|
1241
|
+
# The person's job description at the organization.
|
1242
|
+
# Corresponds to the JSON property `jobDescription`
|
1180
1243
|
# @return [String]
|
1181
|
-
attr_accessor :
|
1244
|
+
attr_accessor :job_description
|
1182
1245
|
|
1183
|
-
# The
|
1184
|
-
# Corresponds to the JSON property `
|
1246
|
+
# The location of the organization office the person works at.
|
1247
|
+
# Corresponds to the JSON property `location`
|
1185
1248
|
# @return [String]
|
1186
|
-
attr_accessor :
|
1249
|
+
attr_accessor :location
|
1187
1250
|
|
1188
|
-
#
|
1189
|
-
# Corresponds to the JSON property `
|
1190
|
-
# @return [
|
1191
|
-
attr_accessor :
|
1251
|
+
# Metadata about a field.
|
1252
|
+
# Corresponds to the JSON property `metadata`
|
1253
|
+
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
1254
|
+
attr_accessor :metadata
|
1192
1255
|
|
1193
|
-
# The
|
1194
|
-
# Corresponds to the JSON property `
|
1256
|
+
# The name of the organization.
|
1257
|
+
# Corresponds to the JSON property `name`
|
1195
1258
|
# @return [String]
|
1196
|
-
attr_accessor :
|
1259
|
+
attr_accessor :name
|
1197
1260
|
|
1198
|
-
# The
|
1199
|
-
# Corresponds to the JSON property `
|
1261
|
+
# The phonetic name of the organization.
|
1262
|
+
# Corresponds to the JSON property `phoneticName`
|
1200
1263
|
# @return [String]
|
1201
|
-
attr_accessor :
|
1264
|
+
attr_accessor :phonetic_name
|
1202
1265
|
|
1203
|
-
#
|
1204
|
-
#
|
1205
|
-
#
|
1206
|
-
|
1266
|
+
# Represents a whole calendar date, for example a date of birth. The time
|
1267
|
+
# of day and time zone are either specified elsewhere or are not
|
1268
|
+
# significant. The date is relative to the
|
1269
|
+
# [Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/
|
1270
|
+
# Proleptic_Gregorian_calendar).
|
1271
|
+
# The day may be 0 to represent a year and month where the day is not
|
1272
|
+
# significant. The year may be 0 to represent a month and day independent
|
1273
|
+
# of year; for example, anniversary date.
|
1274
|
+
# Corresponds to the JSON property `startDate`
|
1275
|
+
# @return [Google::Apis::PeopleV1::Date]
|
1276
|
+
attr_accessor :start_date
|
1207
1277
|
|
1208
|
-
# The
|
1209
|
-
#
|
1278
|
+
# The symbol associated with the organization; for example, a stock ticker
|
1279
|
+
# symbol, abbreviation, or acronym.
|
1280
|
+
# Corresponds to the JSON property `symbol`
|
1210
1281
|
# @return [String]
|
1211
|
-
attr_accessor :
|
1282
|
+
attr_accessor :symbol
|
1212
1283
|
|
1213
|
-
# The
|
1214
|
-
# Corresponds to the JSON property `
|
1284
|
+
# The person's job title at the organization.
|
1285
|
+
# Corresponds to the JSON property `title`
|
1215
1286
|
# @return [String]
|
1216
|
-
attr_accessor :
|
1287
|
+
attr_accessor :title
|
1217
1288
|
|
1218
|
-
#
|
1219
|
-
#
|
1220
|
-
#
|
1221
|
-
|
1289
|
+
# The type of the organization. The type can be custom or predefined.
|
1290
|
+
# Possible values include, but are not limited to, the following:
|
1291
|
+
# * `work`
|
1292
|
+
# * `school`
|
1293
|
+
# Corresponds to the JSON property `type`
|
1294
|
+
# @return [String]
|
1295
|
+
attr_accessor :type
|
1222
1296
|
|
1223
1297
|
def initialize(**args)
|
1224
1298
|
update!(**args)
|
@@ -1226,356 +1300,184 @@ module Google
|
|
1226
1300
|
|
1227
1301
|
# Update properties of this object
|
1228
1302
|
def update!(**args)
|
1229
|
-
@
|
1230
|
-
@
|
1231
|
-
@
|
1232
|
-
@
|
1233
|
-
@
|
1234
|
-
@
|
1235
|
-
@
|
1236
|
-
@middle_name = args[:middle_name] if args.key?(:middle_name)
|
1237
|
-
@phonetic_honorific_prefix = args[:phonetic_honorific_prefix] if args.key?(:phonetic_honorific_prefix)
|
1238
|
-
@phonetic_given_name = args[:phonetic_given_name] if args.key?(:phonetic_given_name)
|
1239
|
-
@phonetic_family_name = args[:phonetic_family_name] if args.key?(:phonetic_family_name)
|
1240
|
-
@family_name = args[:family_name] if args.key?(:family_name)
|
1241
|
-
@phonetic_middle_name = args[:phonetic_middle_name] if args.key?(:phonetic_middle_name)
|
1303
|
+
@current = args[:current] if args.key?(:current)
|
1304
|
+
@department = args[:department] if args.key?(:department)
|
1305
|
+
@domain = args[:domain] if args.key?(:domain)
|
1306
|
+
@end_date = args[:end_date] if args.key?(:end_date)
|
1307
|
+
@formatted_type = args[:formatted_type] if args.key?(:formatted_type)
|
1308
|
+
@job_description = args[:job_description] if args.key?(:job_description)
|
1309
|
+
@location = args[:location] if args.key?(:location)
|
1242
1310
|
@metadata = args[:metadata] if args.key?(:metadata)
|
1311
|
+
@name = args[:name] if args.key?(:name)
|
1312
|
+
@phonetic_name = args[:phonetic_name] if args.key?(:phonetic_name)
|
1313
|
+
@start_date = args[:start_date] if args.key?(:start_date)
|
1314
|
+
@symbol = args[:symbol] if args.key?(:symbol)
|
1315
|
+
@title = args[:title] if args.key?(:title)
|
1316
|
+
@type = args[:type] if args.key?(:type)
|
1243
1317
|
end
|
1244
1318
|
end
|
1245
1319
|
|
1246
|
-
#
|
1247
|
-
|
1320
|
+
# Information about a person merged from various data sources such as the
|
1321
|
+
# authenticated user's contacts and profile data.
|
1322
|
+
# Most fields can have multiple items. The items in a field have no guaranteed
|
1323
|
+
# order, but each non-empty field is guaranteed to have exactly one field with
|
1324
|
+
# `metadata.primary` set to true.
|
1325
|
+
class Person
|
1248
1326
|
include Google::Apis::Core::Hashable
|
1249
1327
|
|
1250
|
-
#
|
1251
|
-
# Corresponds to the JSON property `
|
1252
|
-
# @return [Google::Apis::PeopleV1::
|
1253
|
-
attr_accessor :
|
1328
|
+
# The person's street addresses.
|
1329
|
+
# Corresponds to the JSON property `addresses`
|
1330
|
+
# @return [Array<Google::Apis::PeopleV1::Address>]
|
1331
|
+
attr_accessor :addresses
|
1254
1332
|
|
1255
|
-
#
|
1256
|
-
#
|
1257
|
-
# Corresponds to the JSON property `
|
1333
|
+
# **DEPRECATED** (Please use `person.ageRanges` instead)**
|
1334
|
+
# The person's read-only age range.
|
1335
|
+
# Corresponds to the JSON property `ageRange`
|
1258
1336
|
# @return [String]
|
1259
|
-
attr_accessor :
|
1260
|
-
|
1261
|
-
def initialize(**args)
|
1262
|
-
update!(**args)
|
1263
|
-
end
|
1337
|
+
attr_accessor :age_range
|
1264
1338
|
|
1265
|
-
#
|
1266
|
-
|
1267
|
-
|
1268
|
-
|
1269
|
-
end
|
1270
|
-
end
|
1339
|
+
# The person's read-only age ranges.
|
1340
|
+
# Corresponds to the JSON property `ageRanges`
|
1341
|
+
# @return [Array<Google::Apis::PeopleV1::AgeRangeType>]
|
1342
|
+
attr_accessor :age_ranges
|
1271
1343
|
|
1272
|
-
|
1273
|
-
|
1274
|
-
|
1275
|
-
|
1276
|
-
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
1277
|
-
# `
|
1278
|
-
# The JSON representation for `Empty` is empty JSON object ````.
|
1279
|
-
class Empty
|
1280
|
-
include Google::Apis::Core::Hashable
|
1344
|
+
# The person's biographies.
|
1345
|
+
# Corresponds to the JSON property `biographies`
|
1346
|
+
# @return [Array<Google::Apis::PeopleV1::Biography>]
|
1347
|
+
attr_accessor :biographies
|
1281
1348
|
|
1282
|
-
|
1283
|
-
|
1284
|
-
|
1285
|
-
|
1286
|
-
# Update properties of this object
|
1287
|
-
def update!(**args)
|
1288
|
-
end
|
1289
|
-
end
|
1290
|
-
|
1291
|
-
# A person's short biography.
|
1292
|
-
class Biography
|
1293
|
-
include Google::Apis::Core::Hashable
|
1294
|
-
|
1295
|
-
# The short biography.
|
1296
|
-
# Corresponds to the JSON property `value`
|
1297
|
-
# @return [String]
|
1298
|
-
attr_accessor :value
|
1299
|
-
|
1300
|
-
# The content type of the biography.
|
1301
|
-
# Corresponds to the JSON property `contentType`
|
1302
|
-
# @return [String]
|
1303
|
-
attr_accessor :content_type
|
1304
|
-
|
1305
|
-
# Metadata about a field.
|
1306
|
-
# Corresponds to the JSON property `metadata`
|
1307
|
-
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
1308
|
-
attr_accessor :metadata
|
1309
|
-
|
1310
|
-
def initialize(**args)
|
1311
|
-
update!(**args)
|
1312
|
-
end
|
1313
|
-
|
1314
|
-
# Update properties of this object
|
1315
|
-
def update!(**args)
|
1316
|
-
@value = args[:value] if args.key?(:value)
|
1317
|
-
@content_type = args[:content_type] if args.key?(:content_type)
|
1318
|
-
@metadata = args[:metadata] if args.key?(:metadata)
|
1319
|
-
end
|
1320
|
-
end
|
1321
|
-
|
1322
|
-
# Metadata about a field.
|
1323
|
-
class FieldMetadata
|
1324
|
-
include Google::Apis::Core::Hashable
|
1325
|
-
|
1326
|
-
# The source of a field.
|
1327
|
-
# Corresponds to the JSON property `source`
|
1328
|
-
# @return [Google::Apis::PeopleV1::Source]
|
1329
|
-
attr_accessor :source
|
1330
|
-
|
1331
|
-
# True if the field is verified; false if the field is unverified. A
|
1332
|
-
# verified field is typically a name, email address, phone number, or
|
1333
|
-
# website that has been confirmed to be owned by the person.
|
1334
|
-
# Corresponds to the JSON property `verified`
|
1335
|
-
# @return [Boolean]
|
1336
|
-
attr_accessor :verified
|
1337
|
-
alias_method :verified?, :verified
|
1338
|
-
|
1339
|
-
# True if the field is the primary field; false if the field is a secondary
|
1340
|
-
# field.
|
1341
|
-
# Corresponds to the JSON property `primary`
|
1342
|
-
# @return [Boolean]
|
1343
|
-
attr_accessor :primary
|
1344
|
-
alias_method :primary?, :primary
|
1345
|
-
|
1346
|
-
def initialize(**args)
|
1347
|
-
update!(**args)
|
1348
|
-
end
|
1349
|
-
|
1350
|
-
# Update properties of this object
|
1351
|
-
def update!(**args)
|
1352
|
-
@source = args[:source] if args.key?(:source)
|
1353
|
-
@verified = args[:verified] if args.key?(:verified)
|
1354
|
-
@primary = args[:primary] if args.key?(:primary)
|
1355
|
-
end
|
1356
|
-
end
|
1357
|
-
|
1358
|
-
# A person's read-only relationship interest .
|
1359
|
-
class RelationshipInterest
|
1360
|
-
include Google::Apis::Core::Hashable
|
1361
|
-
|
1362
|
-
# The value of the relationship interest translated and formatted in the
|
1363
|
-
# viewer's account locale or the locale specified in the Accept-Language
|
1364
|
-
# HTTP header.
|
1365
|
-
# Corresponds to the JSON property `formattedValue`
|
1366
|
-
# @return [String]
|
1367
|
-
attr_accessor :formatted_value
|
1368
|
-
|
1369
|
-
# Metadata about a field.
|
1370
|
-
# Corresponds to the JSON property `metadata`
|
1371
|
-
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
1372
|
-
attr_accessor :metadata
|
1373
|
-
|
1374
|
-
# The kind of relationship the person is looking for. The value can be custom
|
1375
|
-
# or predefined. Possible values include, but are not limited to, the
|
1376
|
-
# following values:
|
1377
|
-
# * `friend`
|
1378
|
-
# * `date`
|
1379
|
-
# * `relationship`
|
1380
|
-
# * `networking`
|
1381
|
-
# Corresponds to the JSON property `value`
|
1382
|
-
# @return [String]
|
1383
|
-
attr_accessor :value
|
1384
|
-
|
1385
|
-
def initialize(**args)
|
1386
|
-
update!(**args)
|
1387
|
-
end
|
1349
|
+
# The person's birthdays.
|
1350
|
+
# Corresponds to the JSON property `birthdays`
|
1351
|
+
# @return [Array<Google::Apis::PeopleV1::Birthday>]
|
1352
|
+
attr_accessor :birthdays
|
1388
1353
|
|
1389
|
-
#
|
1390
|
-
|
1391
|
-
|
1392
|
-
|
1393
|
-
@value = args[:value] if args.key?(:value)
|
1394
|
-
end
|
1395
|
-
end
|
1354
|
+
# The person's bragging rights.
|
1355
|
+
# Corresponds to the JSON property `braggingRights`
|
1356
|
+
# @return [Array<Google::Apis::PeopleV1::BraggingRights>]
|
1357
|
+
attr_accessor :bragging_rights
|
1396
1358
|
|
1397
|
-
|
1398
|
-
|
1399
|
-
|
1359
|
+
# The person's read-only cover photos.
|
1360
|
+
# Corresponds to the JSON property `coverPhotos`
|
1361
|
+
# @return [Array<Google::Apis::PeopleV1::CoverPhoto>]
|
1362
|
+
attr_accessor :cover_photos
|
1400
1363
|
|
1401
|
-
# The
|
1402
|
-
# Corresponds to the JSON property `
|
1403
|
-
# @return [
|
1404
|
-
attr_accessor :
|
1364
|
+
# The person's email addresses.
|
1365
|
+
# Corresponds to the JSON property `emailAddresses`
|
1366
|
+
# @return [Array<Google::Apis::PeopleV1::EmailAddress>]
|
1367
|
+
attr_accessor :email_addresses
|
1405
1368
|
|
1406
|
-
# **Only populated in `person.metadata.sources`.**
|
1407
1369
|
# The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the
|
1408
|
-
#
|
1370
|
+
# resource. Used for web cache validation.
|
1409
1371
|
# Corresponds to the JSON property `etag`
|
1410
1372
|
# @return [String]
|
1411
1373
|
attr_accessor :etag
|
1412
1374
|
|
1413
|
-
# The
|
1414
|
-
# Corresponds to the JSON property `
|
1415
|
-
# @return [
|
1416
|
-
attr_accessor :
|
1417
|
-
|
1418
|
-
# The read-only metadata about a profile.
|
1419
|
-
# Corresponds to the JSON property `profileMetadata`
|
1420
|
-
# @return [Google::Apis::PeopleV1::ProfileMetadata]
|
1421
|
-
attr_accessor :profile_metadata
|
1422
|
-
|
1423
|
-
# **Only populated in `person.metadata.sources`.**
|
1424
|
-
# Last update timestamp of this source.
|
1425
|
-
# Corresponds to the JSON property `updateTime`
|
1426
|
-
# @return [String]
|
1427
|
-
attr_accessor :update_time
|
1428
|
-
|
1429
|
-
def initialize(**args)
|
1430
|
-
update!(**args)
|
1431
|
-
end
|
1432
|
-
|
1433
|
-
# Update properties of this object
|
1434
|
-
def update!(**args)
|
1435
|
-
@type = args[:type] if args.key?(:type)
|
1436
|
-
@etag = args[:etag] if args.key?(:etag)
|
1437
|
-
@id = args[:id] if args.key?(:id)
|
1438
|
-
@profile_metadata = args[:profile_metadata] if args.key?(:profile_metadata)
|
1439
|
-
@update_time = args[:update_time] if args.key?(:update_time)
|
1440
|
-
end
|
1441
|
-
end
|
1375
|
+
# The person's events.
|
1376
|
+
# Corresponds to the JSON property `events`
|
1377
|
+
# @return [Array<Google::Apis::PeopleV1::Event>]
|
1378
|
+
attr_accessor :events
|
1442
1379
|
|
1443
|
-
|
1444
|
-
|
1445
|
-
|
1380
|
+
# The person's genders.
|
1381
|
+
# Corresponds to the JSON property `genders`
|
1382
|
+
# @return [Array<Google::Apis::PeopleV1::Gender>]
|
1383
|
+
attr_accessor :genders
|
1446
1384
|
|
1447
|
-
# The
|
1448
|
-
# Corresponds to the JSON property `
|
1449
|
-
# @return [Array<Google::Apis::PeopleV1::
|
1450
|
-
attr_accessor :
|
1385
|
+
# The person's instant messaging clients.
|
1386
|
+
# Corresponds to the JSON property `imClients`
|
1387
|
+
# @return [Array<Google::Apis::PeopleV1::ImClient>]
|
1388
|
+
attr_accessor :im_clients
|
1451
1389
|
|
1452
|
-
|
1453
|
-
|
1454
|
-
|
1390
|
+
# The person's interests.
|
1391
|
+
# Corresponds to the JSON property `interests`
|
1392
|
+
# @return [Array<Google::Apis::PeopleV1::Interest>]
|
1393
|
+
attr_accessor :interests
|
1455
1394
|
|
1456
|
-
#
|
1457
|
-
|
1458
|
-
|
1459
|
-
|
1460
|
-
end
|
1395
|
+
# The person's locale preferences.
|
1396
|
+
# Corresponds to the JSON property `locales`
|
1397
|
+
# @return [Array<Google::Apis::PeopleV1::Locale>]
|
1398
|
+
attr_accessor :locales
|
1461
1399
|
|
1462
|
-
|
1463
|
-
|
1464
|
-
|
1465
|
-
|
1400
|
+
# The person's read-only group memberships.
|
1401
|
+
# Corresponds to the JSON property `memberships`
|
1402
|
+
# @return [Array<Google::Apis::PeopleV1::Membership>]
|
1403
|
+
attr_accessor :memberships
|
1466
1404
|
|
1467
|
-
#
|
1405
|
+
# The read-only metadata about a person.
|
1468
1406
|
# Corresponds to the JSON property `metadata`
|
1469
|
-
# @return [Google::Apis::PeopleV1::
|
1407
|
+
# @return [Google::Apis::PeopleV1::PersonMetadata]
|
1470
1408
|
attr_accessor :metadata
|
1471
1409
|
|
1472
|
-
# The
|
1473
|
-
#
|
1474
|
-
#
|
1475
|
-
|
1476
|
-
# Corresponds to the JSON property `url`
|
1477
|
-
# @return [String]
|
1478
|
-
attr_accessor :url
|
1479
|
-
|
1480
|
-
def initialize(**args)
|
1481
|
-
update!(**args)
|
1482
|
-
end
|
1483
|
-
|
1484
|
-
# Update properties of this object
|
1485
|
-
def update!(**args)
|
1486
|
-
@metadata = args[:metadata] if args.key?(:metadata)
|
1487
|
-
@url = args[:url] if args.key?(:url)
|
1488
|
-
end
|
1489
|
-
end
|
1410
|
+
# The person's names.
|
1411
|
+
# Corresponds to the JSON property `names`
|
1412
|
+
# @return [Array<Google::Apis::PeopleV1::Name>]
|
1413
|
+
attr_accessor :names
|
1490
1414
|
|
1491
|
-
|
1492
|
-
|
1493
|
-
|
1415
|
+
# The person's nicknames.
|
1416
|
+
# Corresponds to the JSON property `nicknames`
|
1417
|
+
# @return [Array<Google::Apis::PeopleV1::Nickname>]
|
1418
|
+
attr_accessor :nicknames
|
1494
1419
|
|
1495
|
-
# The
|
1496
|
-
#
|
1497
|
-
#
|
1498
|
-
|
1499
|
-
attr_accessor :formatted_type
|
1420
|
+
# The person's occupations.
|
1421
|
+
# Corresponds to the JSON property `occupations`
|
1422
|
+
# @return [Array<Google::Apis::PeopleV1::Occupation>]
|
1423
|
+
attr_accessor :occupations
|
1500
1424
|
|
1501
|
-
# The
|
1502
|
-
#
|
1503
|
-
#
|
1504
|
-
|
1505
|
-
# @return [String]
|
1506
|
-
attr_accessor :canonical_form
|
1425
|
+
# The person's past or current organizations.
|
1426
|
+
# Corresponds to the JSON property `organizations`
|
1427
|
+
# @return [Array<Google::Apis::PeopleV1::Organization>]
|
1428
|
+
attr_accessor :organizations
|
1507
1429
|
|
1508
|
-
# The
|
1509
|
-
#
|
1510
|
-
#
|
1511
|
-
|
1512
|
-
# * `mobile`
|
1513
|
-
# * `homeFax`
|
1514
|
-
# * `workFax`
|
1515
|
-
# * `otherFax`
|
1516
|
-
# * `pager`
|
1517
|
-
# * `workMobile`
|
1518
|
-
# * `workPager`
|
1519
|
-
# * `main`
|
1520
|
-
# * `googleVoice`
|
1521
|
-
# * `other`
|
1522
|
-
# Corresponds to the JSON property `type`
|
1523
|
-
# @return [String]
|
1524
|
-
attr_accessor :type
|
1430
|
+
# The person's phone numbers.
|
1431
|
+
# Corresponds to the JSON property `phoneNumbers`
|
1432
|
+
# @return [Array<Google::Apis::PeopleV1::PhoneNumber>]
|
1433
|
+
attr_accessor :phone_numbers
|
1525
1434
|
|
1526
|
-
#
|
1527
|
-
# Corresponds to the JSON property `
|
1528
|
-
# @return [Google::Apis::PeopleV1::
|
1529
|
-
attr_accessor :
|
1435
|
+
# The person's read-only photos.
|
1436
|
+
# Corresponds to the JSON property `photos`
|
1437
|
+
# @return [Array<Google::Apis::PeopleV1::Photo>]
|
1438
|
+
attr_accessor :photos
|
1530
1439
|
|
1531
|
-
# The
|
1532
|
-
# Corresponds to the JSON property `
|
1533
|
-
# @return [
|
1534
|
-
attr_accessor :
|
1440
|
+
# The person's relations.
|
1441
|
+
# Corresponds to the JSON property `relations`
|
1442
|
+
# @return [Array<Google::Apis::PeopleV1::Relation>]
|
1443
|
+
attr_accessor :relations
|
1535
1444
|
|
1536
|
-
|
1537
|
-
|
1538
|
-
|
1445
|
+
# The person's read-only relationship interests.
|
1446
|
+
# Corresponds to the JSON property `relationshipInterests`
|
1447
|
+
# @return [Array<Google::Apis::PeopleV1::RelationshipInterest>]
|
1448
|
+
attr_accessor :relationship_interests
|
1539
1449
|
|
1540
|
-
#
|
1541
|
-
|
1542
|
-
|
1543
|
-
|
1544
|
-
@type = args[:type] if args.key?(:type)
|
1545
|
-
@metadata = args[:metadata] if args.key?(:metadata)
|
1546
|
-
@value = args[:value] if args.key?(:value)
|
1547
|
-
end
|
1548
|
-
end
|
1450
|
+
# The person's read-only relationship statuses.
|
1451
|
+
# Corresponds to the JSON property `relationshipStatuses`
|
1452
|
+
# @return [Array<Google::Apis::PeopleV1::RelationshipStatus>]
|
1453
|
+
attr_accessor :relationship_statuses
|
1549
1454
|
|
1550
|
-
|
1551
|
-
|
1552
|
-
|
1455
|
+
# The person's residences.
|
1456
|
+
# Corresponds to the JSON property `residences`
|
1457
|
+
# @return [Array<Google::Apis::PeopleV1::Residence>]
|
1458
|
+
attr_accessor :residences
|
1553
1459
|
|
1554
|
-
# The
|
1555
|
-
#
|
1460
|
+
# The resource name for the person, assigned by the server. An ASCII string
|
1461
|
+
# with a max length of 27 characters, in the form of
|
1462
|
+
# `people/`<var>person_id</var>.
|
1463
|
+
# Corresponds to the JSON property `resourceName`
|
1556
1464
|
# @return [String]
|
1557
|
-
attr_accessor :
|
1558
|
-
|
1559
|
-
# The total number of items in the list without pagination.
|
1560
|
-
# Corresponds to the JSON property `totalItems`
|
1561
|
-
# @return [Fixnum]
|
1562
|
-
attr_accessor :total_items
|
1465
|
+
attr_accessor :resource_name
|
1563
1466
|
|
1564
|
-
# The
|
1565
|
-
# Corresponds to the JSON property `
|
1566
|
-
# @return [
|
1567
|
-
attr_accessor :
|
1467
|
+
# The person's skills.
|
1468
|
+
# Corresponds to the JSON property `skills`
|
1469
|
+
# @return [Array<Google::Apis::PeopleV1::Skill>]
|
1470
|
+
attr_accessor :skills
|
1568
1471
|
|
1569
|
-
# The
|
1570
|
-
# Corresponds to the JSON property `
|
1571
|
-
# @return [Array<Google::Apis::PeopleV1::
|
1572
|
-
attr_accessor :
|
1472
|
+
# The person's read-only taglines.
|
1473
|
+
# Corresponds to the JSON property `taglines`
|
1474
|
+
# @return [Array<Google::Apis::PeopleV1::Tagline>]
|
1475
|
+
attr_accessor :taglines
|
1573
1476
|
|
1574
|
-
#
|
1575
|
-
#
|
1576
|
-
#
|
1577
|
-
|
1578
|
-
attr_accessor :total_people
|
1477
|
+
# The person's associated URLs.
|
1478
|
+
# Corresponds to the JSON property `urls`
|
1479
|
+
# @return [Array<Google::Apis::PeopleV1::Url>]
|
1480
|
+
attr_accessor :urls
|
1579
1481
|
|
1580
1482
|
def initialize(**args)
|
1581
1483
|
update!(**args)
|
@@ -1583,41 +1485,77 @@ module Google
|
|
1583
1485
|
|
1584
1486
|
# Update properties of this object
|
1585
1487
|
def update!(**args)
|
1586
|
-
@
|
1587
|
-
@
|
1588
|
-
@
|
1589
|
-
@
|
1590
|
-
@
|
1488
|
+
@addresses = args[:addresses] if args.key?(:addresses)
|
1489
|
+
@age_range = args[:age_range] if args.key?(:age_range)
|
1490
|
+
@age_ranges = args[:age_ranges] if args.key?(:age_ranges)
|
1491
|
+
@biographies = args[:biographies] if args.key?(:biographies)
|
1492
|
+
@birthdays = args[:birthdays] if args.key?(:birthdays)
|
1493
|
+
@bragging_rights = args[:bragging_rights] if args.key?(:bragging_rights)
|
1494
|
+
@cover_photos = args[:cover_photos] if args.key?(:cover_photos)
|
1495
|
+
@email_addresses = args[:email_addresses] if args.key?(:email_addresses)
|
1496
|
+
@etag = args[:etag] if args.key?(:etag)
|
1497
|
+
@events = args[:events] if args.key?(:events)
|
1498
|
+
@genders = args[:genders] if args.key?(:genders)
|
1499
|
+
@im_clients = args[:im_clients] if args.key?(:im_clients)
|
1500
|
+
@interests = args[:interests] if args.key?(:interests)
|
1501
|
+
@locales = args[:locales] if args.key?(:locales)
|
1502
|
+
@memberships = args[:memberships] if args.key?(:memberships)
|
1503
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
1504
|
+
@names = args[:names] if args.key?(:names)
|
1505
|
+
@nicknames = args[:nicknames] if args.key?(:nicknames)
|
1506
|
+
@occupations = args[:occupations] if args.key?(:occupations)
|
1507
|
+
@organizations = args[:organizations] if args.key?(:organizations)
|
1508
|
+
@phone_numbers = args[:phone_numbers] if args.key?(:phone_numbers)
|
1509
|
+
@photos = args[:photos] if args.key?(:photos)
|
1510
|
+
@relations = args[:relations] if args.key?(:relations)
|
1511
|
+
@relationship_interests = args[:relationship_interests] if args.key?(:relationship_interests)
|
1512
|
+
@relationship_statuses = args[:relationship_statuses] if args.key?(:relationship_statuses)
|
1513
|
+
@residences = args[:residences] if args.key?(:residences)
|
1514
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
1515
|
+
@skills = args[:skills] if args.key?(:skills)
|
1516
|
+
@taglines = args[:taglines] if args.key?(:taglines)
|
1517
|
+
@urls = args[:urls] if args.key?(:urls)
|
1591
1518
|
end
|
1592
1519
|
end
|
1593
1520
|
|
1594
|
-
#
|
1595
|
-
|
1596
|
-
# date, but are not guaranteed to.
|
1597
|
-
class Birthday
|
1521
|
+
# The read-only metadata about a person.
|
1522
|
+
class PersonMetadata
|
1598
1523
|
include Google::Apis::Core::Hashable
|
1599
1524
|
|
1600
|
-
#
|
1601
|
-
#
|
1602
|
-
#
|
1603
|
-
|
1525
|
+
# True if the person resource has been deleted. Populated only for
|
1526
|
+
# [`connections.list`](/people/api/rest/v1/people.connections/list) requests
|
1527
|
+
# that include a sync token.
|
1528
|
+
# Corresponds to the JSON property `deleted`
|
1529
|
+
# @return [Boolean]
|
1530
|
+
attr_accessor :deleted
|
1531
|
+
alias_method :deleted?, :deleted
|
1604
1532
|
|
1605
|
-
#
|
1606
|
-
# Corresponds to the JSON property `
|
1607
|
-
# @return [
|
1608
|
-
attr_accessor :
|
1533
|
+
# Resource names of people linked to this resource.
|
1534
|
+
# Corresponds to the JSON property `linkedPeopleResourceNames`
|
1535
|
+
# @return [Array<String>]
|
1536
|
+
attr_accessor :linked_people_resource_names
|
1609
1537
|
|
1610
|
-
#
|
1611
|
-
#
|
1612
|
-
#
|
1613
|
-
#
|
1614
|
-
#
|
1615
|
-
|
1616
|
-
|
1617
|
-
#
|
1618
|
-
#
|
1619
|
-
#
|
1620
|
-
|
1538
|
+
# **DEPRECATED** (Please use
|
1539
|
+
# `person.metadata.sources.profileMetadata.objectType` instead)
|
1540
|
+
# The type of the person object.
|
1541
|
+
# Corresponds to the JSON property `objectType`
|
1542
|
+
# @return [String]
|
1543
|
+
attr_accessor :object_type
|
1544
|
+
|
1545
|
+
# Any former resource names this person has had. Populated only for
|
1546
|
+
# [`connections.list`](/people/api/rest/v1/people.connections/list) requests
|
1547
|
+
# that include a sync token.
|
1548
|
+
# The resource name may change when adding or removing fields that link a
|
1549
|
+
# contact and profile such as a verified email, verified phone number, or
|
1550
|
+
# profile URL.
|
1551
|
+
# Corresponds to the JSON property `previousResourceNames`
|
1552
|
+
# @return [Array<String>]
|
1553
|
+
attr_accessor :previous_resource_names
|
1554
|
+
|
1555
|
+
# The sources of data for the person.
|
1556
|
+
# Corresponds to the JSON property `sources`
|
1557
|
+
# @return [Array<Google::Apis::PeopleV1::Source>]
|
1558
|
+
attr_accessor :sources
|
1621
1559
|
|
1622
1560
|
def initialize(**args)
|
1623
1561
|
update!(**args)
|
@@ -1625,20 +1563,85 @@ module Google
|
|
1625
1563
|
|
1626
1564
|
# Update properties of this object
|
1627
1565
|
def update!(**args)
|
1628
|
-
@
|
1629
|
-
@
|
1630
|
-
@
|
1566
|
+
@deleted = args[:deleted] if args.key?(:deleted)
|
1567
|
+
@linked_people_resource_names = args[:linked_people_resource_names] if args.key?(:linked_people_resource_names)
|
1568
|
+
@object_type = args[:object_type] if args.key?(:object_type)
|
1569
|
+
@previous_resource_names = args[:previous_resource_names] if args.key?(:previous_resource_names)
|
1570
|
+
@sources = args[:sources] if args.key?(:sources)
|
1631
1571
|
end
|
1632
1572
|
end
|
1633
1573
|
|
1634
|
-
#
|
1635
|
-
class
|
1574
|
+
# The response for a single person
|
1575
|
+
class PersonResponse
|
1636
1576
|
include Google::Apis::Core::Hashable
|
1637
1577
|
|
1638
|
-
#
|
1639
|
-
#
|
1640
|
-
#
|
1641
|
-
|
1578
|
+
# **DEPRECATED** (Please use status instead)
|
1579
|
+
# [HTTP 1.1 status code]
|
1580
|
+
# (http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html).
|
1581
|
+
# Corresponds to the JSON property `httpStatusCode`
|
1582
|
+
# @return [Fixnum]
|
1583
|
+
attr_accessor :http_status_code
|
1584
|
+
|
1585
|
+
# Information about a person merged from various data sources such as the
|
1586
|
+
# authenticated user's contacts and profile data.
|
1587
|
+
# Most fields can have multiple items. The items in a field have no guaranteed
|
1588
|
+
# order, but each non-empty field is guaranteed to have exactly one field with
|
1589
|
+
# `metadata.primary` set to true.
|
1590
|
+
# Corresponds to the JSON property `person`
|
1591
|
+
# @return [Google::Apis::PeopleV1::Person]
|
1592
|
+
attr_accessor :person
|
1593
|
+
|
1594
|
+
# The original requested resource name. May be different than the resource
|
1595
|
+
# name on the returned person.
|
1596
|
+
# The resource name can change when adding or removing fields that link a
|
1597
|
+
# contact and profile such as a verified email, verified phone number, or a
|
1598
|
+
# profile URL.
|
1599
|
+
# Corresponds to the JSON property `requestedResourceName`
|
1600
|
+
# @return [String]
|
1601
|
+
attr_accessor :requested_resource_name
|
1602
|
+
|
1603
|
+
# The `Status` type defines a logical error model that is suitable for different
|
1604
|
+
# programming environments, including REST APIs and RPC APIs. It is used by
|
1605
|
+
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
1606
|
+
# - Simple to use and understand for most users
|
1607
|
+
# - Flexible enough to meet unexpected needs
|
1608
|
+
# # Overview
|
1609
|
+
# The `Status` message contains three pieces of data: error code, error message,
|
1610
|
+
# and error details. The error code should be an enum value of
|
1611
|
+
# google.rpc.Code, but it may accept additional error codes if needed. The
|
1612
|
+
# error message should be a developer-facing English message that helps
|
1613
|
+
# developers *understand* and *resolve* the error. If a localized user-facing
|
1614
|
+
# error message is needed, put the localized message in the error details or
|
1615
|
+
# localize it in the client. The optional error details may contain arbitrary
|
1616
|
+
# information about the error. There is a predefined set of error detail types
|
1617
|
+
# in the package `google.rpc` that can be used for common error conditions.
|
1618
|
+
# # Language mapping
|
1619
|
+
# The `Status` message is the logical representation of the error model, but it
|
1620
|
+
# is not necessarily the actual wire format. When the `Status` message is
|
1621
|
+
# exposed in different client libraries and different wire protocols, it can be
|
1622
|
+
# mapped differently. For example, it will likely be mapped to some exceptions
|
1623
|
+
# in Java, but more likely mapped to some error codes in C.
|
1624
|
+
# # Other uses
|
1625
|
+
# The error model and the `Status` message can be used in a variety of
|
1626
|
+
# environments, either with or without APIs, to provide a
|
1627
|
+
# consistent developer experience across different environments.
|
1628
|
+
# Example uses of this error model include:
|
1629
|
+
# - Partial errors. If a service needs to return partial errors to the client,
|
1630
|
+
# it may embed the `Status` in the normal response to indicate the partial
|
1631
|
+
# errors.
|
1632
|
+
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
1633
|
+
# have a `Status` message for error reporting.
|
1634
|
+
# - Batch operations. If a client uses batch request and batch response, the
|
1635
|
+
# `Status` message should be used directly inside batch response, one for
|
1636
|
+
# each error sub-response.
|
1637
|
+
# - Asynchronous operations. If an API call embeds asynchronous operation
|
1638
|
+
# results in its response, the status of those operations should be
|
1639
|
+
# represented directly using the `Status` message.
|
1640
|
+
# - Logging. If some API errors are stored in logs, the message `Status` could
|
1641
|
+
# be used directly after any stripping needed for security/privacy reasons.
|
1642
|
+
# Corresponds to the JSON property `status`
|
1643
|
+
# @return [Google::Apis::PeopleV1::Status]
|
1644
|
+
attr_accessor :status
|
1642
1645
|
|
1643
1646
|
def initialize(**args)
|
1644
1647
|
update!(**args)
|
@@ -1646,81 +1649,57 @@ module Google
|
|
1646
1649
|
|
1647
1650
|
# Update properties of this object
|
1648
1651
|
def update!(**args)
|
1649
|
-
@
|
1652
|
+
@http_status_code = args[:http_status_code] if args.key?(:http_status_code)
|
1653
|
+
@person = args[:person] if args.key?(:person)
|
1654
|
+
@requested_resource_name = args[:requested_resource_name] if args.key?(:requested_resource_name)
|
1655
|
+
@status = args[:status] if args.key?(:status)
|
1650
1656
|
end
|
1651
1657
|
end
|
1652
1658
|
|
1653
|
-
# A person's
|
1654
|
-
|
1655
|
-
class Address
|
1659
|
+
# A person's phone number.
|
1660
|
+
class PhoneNumber
|
1656
1661
|
include Google::Apis::Core::Hashable
|
1657
1662
|
|
1658
|
-
# The
|
1659
|
-
#
|
1660
|
-
#
|
1661
|
-
|
1662
|
-
|
1663
|
-
# The region of the address; for example, the state or province.
|
1664
|
-
# Corresponds to the JSON property `region`
|
1663
|
+
# The read-only canonicalized [ITU-T E.164](https://law.resource.org/pub/us/cfr/
|
1664
|
+
# ibr/004/itu-t.E.164.1.2008.pdf)
|
1665
|
+
# form of the phone number.
|
1666
|
+
# Corresponds to the JSON property `canonicalForm`
|
1665
1667
|
# @return [String]
|
1666
|
-
attr_accessor :
|
1668
|
+
attr_accessor :canonical_form
|
1667
1669
|
|
1668
|
-
# The
|
1669
|
-
#
|
1670
|
+
# The read-only type of the phone number translated and formatted in the
|
1671
|
+
# viewer's account locale or the `Accept-Language` HTTP header locale.
|
1672
|
+
# Corresponds to the JSON property `formattedType`
|
1670
1673
|
# @return [String]
|
1671
|
-
attr_accessor :
|
1674
|
+
attr_accessor :formatted_type
|
1672
1675
|
|
1673
1676
|
# Metadata about a field.
|
1674
1677
|
# Corresponds to the JSON property `metadata`
|
1675
1678
|
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
1676
1679
|
attr_accessor :metadata
|
1677
1680
|
|
1678
|
-
# The
|
1679
|
-
# code of the address.
|
1680
|
-
# Corresponds to the JSON property `countryCode`
|
1681
|
-
# @return [String]
|
1682
|
-
attr_accessor :country_code
|
1683
|
-
|
1684
|
-
# The read-only type of the address translated and formatted in the viewer's
|
1685
|
-
# account locale or the `Accept-Language` HTTP header locale.
|
1686
|
-
# Corresponds to the JSON property `formattedType`
|
1687
|
-
# @return [String]
|
1688
|
-
attr_accessor :formatted_type
|
1689
|
-
|
1690
|
-
# The city of the address.
|
1691
|
-
# Corresponds to the JSON property `city`
|
1692
|
-
# @return [String]
|
1693
|
-
attr_accessor :city
|
1694
|
-
|
1695
|
-
# The unstructured value of the address. If this is not set by the user it
|
1696
|
-
# will be automatically constructed from structured values.
|
1697
|
-
# Corresponds to the JSON property `formattedValue`
|
1698
|
-
# @return [String]
|
1699
|
-
attr_accessor :formatted_value
|
1700
|
-
|
1701
|
-
# The country of the address.
|
1702
|
-
# Corresponds to the JSON property `country`
|
1703
|
-
# @return [String]
|
1704
|
-
attr_accessor :country
|
1705
|
-
|
1706
|
-
# The type of the address. The type can be custom or predefined.
|
1681
|
+
# The type of the phone number. The type can be custom or predefined.
|
1707
1682
|
# Possible values include, but are not limited to, the following:
|
1708
1683
|
# * `home`
|
1709
1684
|
# * `work`
|
1685
|
+
# * `mobile`
|
1686
|
+
# * `homeFax`
|
1687
|
+
# * `workFax`
|
1688
|
+
# * `otherFax`
|
1689
|
+
# * `pager`
|
1690
|
+
# * `workMobile`
|
1691
|
+
# * `workPager`
|
1692
|
+
# * `main`
|
1693
|
+
# * `googleVoice`
|
1710
1694
|
# * `other`
|
1711
1695
|
# Corresponds to the JSON property `type`
|
1712
1696
|
# @return [String]
|
1713
1697
|
attr_accessor :type
|
1714
1698
|
|
1715
|
-
# The
|
1716
|
-
# Corresponds to the JSON property `
|
1717
|
-
# @return [String]
|
1718
|
-
attr_accessor :extended_address
|
1719
|
-
|
1720
|
-
# The P.O. box of the address.
|
1721
|
-
# Corresponds to the JSON property `poBox`
|
1699
|
+
# The phone number.
|
1700
|
+
# Corresponds to the JSON property `value`
|
1722
1701
|
# @return [String]
|
1723
|
-
attr_accessor :
|
1702
|
+
attr_accessor :value
|
1724
1703
|
|
1725
1704
|
def initialize(**args)
|
1726
1705
|
update!(**args)
|
@@ -1728,104 +1707,56 @@ module Google
|
|
1728
1707
|
|
1729
1708
|
# Update properties of this object
|
1730
1709
|
def update!(**args)
|
1731
|
-
@
|
1732
|
-
@region = args[:region] if args.key?(:region)
|
1733
|
-
@street_address = args[:street_address] if args.key?(:street_address)
|
1734
|
-
@metadata = args[:metadata] if args.key?(:metadata)
|
1735
|
-
@country_code = args[:country_code] if args.key?(:country_code)
|
1710
|
+
@canonical_form = args[:canonical_form] if args.key?(:canonical_form)
|
1736
1711
|
@formatted_type = args[:formatted_type] if args.key?(:formatted_type)
|
1737
|
-
@
|
1738
|
-
@formatted_value = args[:formatted_value] if args.key?(:formatted_value)
|
1739
|
-
@country = args[:country] if args.key?(:country)
|
1712
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
1740
1713
|
@type = args[:type] if args.key?(:type)
|
1741
|
-
@
|
1742
|
-
@po_box = args[:po_box] if args.key?(:po_box)
|
1714
|
+
@value = args[:value] if args.key?(:value)
|
1743
1715
|
end
|
1744
1716
|
end
|
1745
1717
|
|
1746
|
-
# A
|
1747
|
-
|
1718
|
+
# A person's read-only photo. A picture shown next to the person's name to
|
1719
|
+
# help others recognize the person.
|
1720
|
+
class Photo
|
1748
1721
|
include Google::Apis::Core::Hashable
|
1749
1722
|
|
1750
|
-
#
|
1751
|
-
#
|
1752
|
-
#
|
1753
|
-
|
1754
|
-
# * `starred`
|
1755
|
-
# * A numerical ID for user-created groups.
|
1756
|
-
# Corresponds to the JSON property `contactGroupId`
|
1757
|
-
# @return [String]
|
1758
|
-
attr_accessor :contact_group_id
|
1759
|
-
|
1760
|
-
def initialize(**args)
|
1761
|
-
update!(**args)
|
1762
|
-
end
|
1763
|
-
|
1764
|
-
# Update properties of this object
|
1765
|
-
def update!(**args)
|
1766
|
-
@contact_group_id = args[:contact_group_id] if args.key?(:contact_group_id)
|
1767
|
-
end
|
1768
|
-
end
|
1723
|
+
# Metadata about a field.
|
1724
|
+
# Corresponds to the JSON property `metadata`
|
1725
|
+
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
1726
|
+
attr_accessor :metadata
|
1769
1727
|
|
1770
|
-
|
1771
|
-
|
1772
|
-
|
1773
|
-
|
1774
|
-
|
1775
|
-
|
1776
|
-
|
1777
|
-
|
1778
|
-
|
1779
|
-
|
1780
|
-
|
1781
|
-
|
1782
|
-
|
1783
|
-
|
1784
|
-
|
1785
|
-
|
1786
|
-
|
1787
|
-
|
1788
|
-
|
1789
|
-
#
|
1790
|
-
|
1791
|
-
# # Other uses
|
1792
|
-
# The error model and the `Status` message can be used in a variety of
|
1793
|
-
# environments, either with or without APIs, to provide a
|
1794
|
-
# consistent developer experience across different environments.
|
1795
|
-
# Example uses of this error model include:
|
1796
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
1797
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
1798
|
-
# errors.
|
1799
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
1800
|
-
# have a `Status` message for error reporting.
|
1801
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
1802
|
-
# `Status` message should be used directly inside batch response, one for
|
1803
|
-
# each error sub-response.
|
1804
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
1805
|
-
# results in its response, the status of those operations should be
|
1806
|
-
# represented directly using the `Status` message.
|
1807
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
1808
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
1809
|
-
class Status
|
1728
|
+
# The URL of the photo. You can change the desired size by appending a query
|
1729
|
+
# parameter `sz=`<var>size</var> at the end of the url. Example:
|
1730
|
+
# `https://lh3.googleusercontent.com/-T_wVWLlmg7w/AAAAAAAAAAI/AAAAAAAABa8/
|
1731
|
+
# 00gzXvDBYqw/s100/photo.jpg?sz=50`
|
1732
|
+
# Corresponds to the JSON property `url`
|
1733
|
+
# @return [String]
|
1734
|
+
attr_accessor :url
|
1735
|
+
|
1736
|
+
def initialize(**args)
|
1737
|
+
update!(**args)
|
1738
|
+
end
|
1739
|
+
|
1740
|
+
# Update properties of this object
|
1741
|
+
def update!(**args)
|
1742
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
1743
|
+
@url = args[:url] if args.key?(:url)
|
1744
|
+
end
|
1745
|
+
end
|
1746
|
+
|
1747
|
+
# The read-only metadata about a profile.
|
1748
|
+
class ProfileMetadata
|
1810
1749
|
include Google::Apis::Core::Hashable
|
1811
1750
|
|
1812
|
-
#
|
1813
|
-
#
|
1814
|
-
# google.rpc.Status.details field, or localized by the client.
|
1815
|
-
# Corresponds to the JSON property `message`
|
1751
|
+
# The profile object type.
|
1752
|
+
# Corresponds to the JSON property `objectType`
|
1816
1753
|
# @return [String]
|
1817
|
-
attr_accessor :
|
1818
|
-
|
1819
|
-
# A list of messages that carry the error details. There is a common set of
|
1820
|
-
# message types for APIs to use.
|
1821
|
-
# Corresponds to the JSON property `details`
|
1822
|
-
# @return [Array<Hash<String,Object>>]
|
1823
|
-
attr_accessor :details
|
1754
|
+
attr_accessor :object_type
|
1824
1755
|
|
1825
|
-
# The
|
1826
|
-
# Corresponds to the JSON property `
|
1827
|
-
# @return [
|
1828
|
-
attr_accessor :
|
1756
|
+
# The user types.
|
1757
|
+
# Corresponds to the JSON property `userTypes`
|
1758
|
+
# @return [Array<String>]
|
1759
|
+
attr_accessor :user_types
|
1829
1760
|
|
1830
1761
|
def initialize(**args)
|
1831
1762
|
update!(**args)
|
@@ -1833,50 +1764,51 @@ module Google
|
|
1833
1764
|
|
1834
1765
|
# Update properties of this object
|
1835
1766
|
def update!(**args)
|
1836
|
-
@
|
1837
|
-
@
|
1838
|
-
@code = args[:code] if args.key?(:code)
|
1767
|
+
@object_type = args[:object_type] if args.key?(:object_type)
|
1768
|
+
@user_types = args[:user_types] if args.key?(:user_types)
|
1839
1769
|
end
|
1840
1770
|
end
|
1841
1771
|
|
1842
|
-
#
|
1843
|
-
class
|
1772
|
+
# A person's relation to another person.
|
1773
|
+
class Relation
|
1844
1774
|
include Google::Apis::Core::Hashable
|
1845
1775
|
|
1846
|
-
#
|
1847
|
-
#
|
1848
|
-
#
|
1849
|
-
#
|
1850
|
-
|
1851
|
-
# profile URL.
|
1852
|
-
# Corresponds to the JSON property `previousResourceNames`
|
1853
|
-
# @return [Array<String>]
|
1854
|
-
attr_accessor :previous_resource_names
|
1855
|
-
|
1856
|
-
# The sources of data for the person.
|
1857
|
-
# Corresponds to the JSON property `sources`
|
1858
|
-
# @return [Array<Google::Apis::PeopleV1::Source>]
|
1859
|
-
attr_accessor :sources
|
1776
|
+
# The type of the relation translated and formatted in the viewer's account
|
1777
|
+
# locale or the locale specified in the Accept-Language HTTP header.
|
1778
|
+
# Corresponds to the JSON property `formattedType`
|
1779
|
+
# @return [String]
|
1780
|
+
attr_accessor :formatted_type
|
1860
1781
|
|
1861
|
-
#
|
1862
|
-
#
|
1863
|
-
#
|
1864
|
-
|
1865
|
-
# @return [Boolean]
|
1866
|
-
attr_accessor :deleted
|
1867
|
-
alias_method :deleted?, :deleted
|
1782
|
+
# Metadata about a field.
|
1783
|
+
# Corresponds to the JSON property `metadata`
|
1784
|
+
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
1785
|
+
attr_accessor :metadata
|
1868
1786
|
|
1869
|
-
#
|
1870
|
-
# `person
|
1871
|
-
# The type of the person object.
|
1872
|
-
# Corresponds to the JSON property `objectType`
|
1787
|
+
# The name of the other person this relation refers to.
|
1788
|
+
# Corresponds to the JSON property `person`
|
1873
1789
|
# @return [String]
|
1874
|
-
attr_accessor :
|
1790
|
+
attr_accessor :person
|
1875
1791
|
|
1876
|
-
#
|
1877
|
-
#
|
1878
|
-
#
|
1879
|
-
|
1792
|
+
# The person's relation to the other person. The type can be custom or
|
1793
|
+
# predefined.
|
1794
|
+
# Possible values include, but are not limited to, the following values:
|
1795
|
+
# * `spouse`
|
1796
|
+
# * `child`
|
1797
|
+
# * `mother`
|
1798
|
+
# * `father`
|
1799
|
+
# * `parent`
|
1800
|
+
# * `brother`
|
1801
|
+
# * `sister`
|
1802
|
+
# * `friend`
|
1803
|
+
# * `relative`
|
1804
|
+
# * `domesticPartner`
|
1805
|
+
# * `manager`
|
1806
|
+
# * `assistant`
|
1807
|
+
# * `referredBy`
|
1808
|
+
# * `partner`
|
1809
|
+
# Corresponds to the JSON property `type`
|
1810
|
+
# @return [String]
|
1811
|
+
attr_accessor :type
|
1880
1812
|
|
1881
1813
|
def initialize(**args)
|
1882
1814
|
update!(**args)
|
@@ -1884,29 +1816,39 @@ module Google
|
|
1884
1816
|
|
1885
1817
|
# Update properties of this object
|
1886
1818
|
def update!(**args)
|
1887
|
-
@
|
1888
|
-
@
|
1889
|
-
@
|
1890
|
-
@
|
1891
|
-
@linked_people_resource_names = args[:linked_people_resource_names] if args.key?(:linked_people_resource_names)
|
1819
|
+
@formatted_type = args[:formatted_type] if args.key?(:formatted_type)
|
1820
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
1821
|
+
@person = args[:person] if args.key?(:person)
|
1822
|
+
@type = args[:type] if args.key?(:type)
|
1892
1823
|
end
|
1893
1824
|
end
|
1894
1825
|
|
1895
|
-
# A
|
1896
|
-
class
|
1826
|
+
# A person's read-only relationship interest .
|
1827
|
+
class RelationshipInterest
|
1897
1828
|
include Google::Apis::Core::Hashable
|
1898
1829
|
|
1899
|
-
# The
|
1900
|
-
#
|
1901
|
-
#
|
1902
|
-
#
|
1903
|
-
|
1830
|
+
# The value of the relationship interest translated and formatted in the
|
1831
|
+
# viewer's account locale or the locale specified in the Accept-Language
|
1832
|
+
# HTTP header.
|
1833
|
+
# Corresponds to the JSON property `formattedValue`
|
1834
|
+
# @return [String]
|
1835
|
+
attr_accessor :formatted_value
|
1904
1836
|
|
1905
|
-
#
|
1906
|
-
#
|
1907
|
-
#
|
1908
|
-
|
1909
|
-
|
1837
|
+
# Metadata about a field.
|
1838
|
+
# Corresponds to the JSON property `metadata`
|
1839
|
+
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
1840
|
+
attr_accessor :metadata
|
1841
|
+
|
1842
|
+
# The kind of relationship the person is looking for. The value can be custom
|
1843
|
+
# or predefined. Possible values include, but are not limited to, the
|
1844
|
+
# following values:
|
1845
|
+
# * `friend`
|
1846
|
+
# * `date`
|
1847
|
+
# * `relationship`
|
1848
|
+
# * `networking`
|
1849
|
+
# Corresponds to the JSON property `value`
|
1850
|
+
# @return [String]
|
1851
|
+
attr_accessor :value
|
1910
1852
|
|
1911
1853
|
def initialize(**args)
|
1912
1854
|
update!(**args)
|
@@ -1914,67 +1856,74 @@ module Google
|
|
1914
1856
|
|
1915
1857
|
# Update properties of this object
|
1916
1858
|
def update!(**args)
|
1917
|
-
@
|
1918
|
-
@
|
1859
|
+
@formatted_value = args[:formatted_value] if args.key?(:formatted_value)
|
1860
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
1861
|
+
@value = args[:value] if args.key?(:value)
|
1919
1862
|
end
|
1920
1863
|
end
|
1921
1864
|
|
1922
|
-
#
|
1923
|
-
class
|
1865
|
+
# A person's read-only relationship status.
|
1866
|
+
class RelationshipStatus
|
1924
1867
|
include Google::Apis::Core::Hashable
|
1925
1868
|
|
1926
|
-
# The
|
1927
|
-
#
|
1928
|
-
#
|
1929
|
-
#
|
1930
|
-
|
1931
|
-
# # Overview
|
1932
|
-
# The `Status` message contains three pieces of data: error code, error message,
|
1933
|
-
# and error details. The error code should be an enum value of
|
1934
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
1935
|
-
# error message should be a developer-facing English message that helps
|
1936
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
1937
|
-
# error message is needed, put the localized message in the error details or
|
1938
|
-
# localize it in the client. The optional error details may contain arbitrary
|
1939
|
-
# information about the error. There is a predefined set of error detail types
|
1940
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
1941
|
-
# # Language mapping
|
1942
|
-
# The `Status` message is the logical representation of the error model, but it
|
1943
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
1944
|
-
# exposed in different client libraries and different wire protocols, it can be
|
1945
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
1946
|
-
# in Java, but more likely mapped to some error codes in C.
|
1947
|
-
# # Other uses
|
1948
|
-
# The error model and the `Status` message can be used in a variety of
|
1949
|
-
# environments, either with or without APIs, to provide a
|
1950
|
-
# consistent developer experience across different environments.
|
1951
|
-
# Example uses of this error model include:
|
1952
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
1953
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
1954
|
-
# errors.
|
1955
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
1956
|
-
# have a `Status` message for error reporting.
|
1957
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
1958
|
-
# `Status` message should be used directly inside batch response, one for
|
1959
|
-
# each error sub-response.
|
1960
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
1961
|
-
# results in its response, the status of those operations should be
|
1962
|
-
# represented directly using the `Status` message.
|
1963
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
1964
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
1965
|
-
# Corresponds to the JSON property `status`
|
1966
|
-
# @return [Google::Apis::PeopleV1::Status]
|
1967
|
-
attr_accessor :status
|
1869
|
+
# The read-only value of the relationship status translated and formatted in
|
1870
|
+
# the viewer's account locale or the `Accept-Language` HTTP header locale.
|
1871
|
+
# Corresponds to the JSON property `formattedValue`
|
1872
|
+
# @return [String]
|
1873
|
+
attr_accessor :formatted_value
|
1968
1874
|
|
1969
|
-
#
|
1970
|
-
# Corresponds to the JSON property `
|
1875
|
+
# Metadata about a field.
|
1876
|
+
# Corresponds to the JSON property `metadata`
|
1877
|
+
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
1878
|
+
attr_accessor :metadata
|
1879
|
+
|
1880
|
+
# The relationship status. The value can be custom or predefined.
|
1881
|
+
# Possible values include, but are not limited to, the following:
|
1882
|
+
# * `single`
|
1883
|
+
# * `inARelationship`
|
1884
|
+
# * `engaged`
|
1885
|
+
# * `married`
|
1886
|
+
# * `itsComplicated`
|
1887
|
+
# * `openRelationship`
|
1888
|
+
# * `widowed`
|
1889
|
+
# * `inDomesticPartnership`
|
1890
|
+
# * `inCivilUnion`
|
1891
|
+
# Corresponds to the JSON property `value`
|
1971
1892
|
# @return [String]
|
1972
|
-
attr_accessor :
|
1893
|
+
attr_accessor :value
|
1973
1894
|
|
1974
|
-
|
1975
|
-
|
1976
|
-
|
1977
|
-
|
1895
|
+
def initialize(**args)
|
1896
|
+
update!(**args)
|
1897
|
+
end
|
1898
|
+
|
1899
|
+
# Update properties of this object
|
1900
|
+
def update!(**args)
|
1901
|
+
@formatted_value = args[:formatted_value] if args.key?(:formatted_value)
|
1902
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
1903
|
+
@value = args[:value] if args.key?(:value)
|
1904
|
+
end
|
1905
|
+
end
|
1906
|
+
|
1907
|
+
# A person's past or current residence.
|
1908
|
+
class Residence
|
1909
|
+
include Google::Apis::Core::Hashable
|
1910
|
+
|
1911
|
+
# True if the residence is the person's current residence;
|
1912
|
+
# false if the residence is a past residence.
|
1913
|
+
# Corresponds to the JSON property `current`
|
1914
|
+
# @return [Boolean]
|
1915
|
+
attr_accessor :current
|
1916
|
+
alias_method :current?, :current
|
1917
|
+
|
1918
|
+
# Metadata about a field.
|
1919
|
+
# Corresponds to the JSON property `metadata`
|
1920
|
+
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
1921
|
+
attr_accessor :metadata
|
1922
|
+
|
1923
|
+
# The address of the residence.
|
1924
|
+
# Corresponds to the JSON property `value`
|
1925
|
+
# @return [String]
|
1926
|
+
attr_accessor :value
|
1978
1927
|
|
1979
1928
|
def initialize(**args)
|
1980
1929
|
update!(**args)
|
@@ -1982,109 +1931,142 @@ module Google
|
|
1982
1931
|
|
1983
1932
|
# Update properties of this object
|
1984
1933
|
def update!(**args)
|
1985
|
-
@
|
1986
|
-
@
|
1987
|
-
@
|
1934
|
+
@current = args[:current] if args.key?(:current)
|
1935
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
1936
|
+
@value = args[:value] if args.key?(:value)
|
1988
1937
|
end
|
1989
1938
|
end
|
1990
1939
|
|
1991
|
-
# A person
|
1992
|
-
class
|
1940
|
+
# A skill that the person has.
|
1941
|
+
class Skill
|
1993
1942
|
include Google::Apis::Core::Hashable
|
1994
1943
|
|
1995
|
-
# The type of the URL. The type can be custom or predefined.
|
1996
|
-
# Possible values include, but are not limited to, the following:
|
1997
|
-
# * `home`
|
1998
|
-
# * `work`
|
1999
|
-
# * `blog`
|
2000
|
-
# * `profile`
|
2001
|
-
# * `homePage`
|
2002
|
-
# * `ftp`
|
2003
|
-
# * `reservations`
|
2004
|
-
# * `appInstallPage`: website for a Google+ application.
|
2005
|
-
# * `other`
|
2006
|
-
# Corresponds to the JSON property `type`
|
2007
|
-
# @return [String]
|
2008
|
-
attr_accessor :type
|
2009
|
-
|
2010
1944
|
# Metadata about a field.
|
2011
1945
|
# Corresponds to the JSON property `metadata`
|
2012
1946
|
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
2013
1947
|
attr_accessor :metadata
|
2014
1948
|
|
2015
|
-
# The
|
1949
|
+
# The skill; for example, `underwater basket weaving`.
|
2016
1950
|
# Corresponds to the JSON property `value`
|
2017
1951
|
# @return [String]
|
2018
1952
|
attr_accessor :value
|
2019
1953
|
|
2020
|
-
# The read-only type of the URL translated and formatted in the viewer's
|
2021
|
-
# account locale or the `Accept-Language` HTTP header locale.
|
2022
|
-
# Corresponds to the JSON property `formattedType`
|
2023
|
-
# @return [String]
|
2024
|
-
attr_accessor :formatted_type
|
2025
|
-
|
2026
1954
|
def initialize(**args)
|
2027
1955
|
update!(**args)
|
2028
1956
|
end
|
2029
1957
|
|
2030
1958
|
# Update properties of this object
|
2031
1959
|
def update!(**args)
|
2032
|
-
@type = args[:type] if args.key?(:type)
|
2033
1960
|
@metadata = args[:metadata] if args.key?(:metadata)
|
2034
1961
|
@value = args[:value] if args.key?(:value)
|
2035
|
-
@formatted_type = args[:formatted_type] if args.key?(:formatted_type)
|
2036
1962
|
end
|
2037
1963
|
end
|
2038
1964
|
|
2039
|
-
#
|
2040
|
-
class
|
1965
|
+
# The source of a field.
|
1966
|
+
class Source
|
2041
1967
|
include Google::Apis::Core::Hashable
|
2042
1968
|
|
2043
|
-
#
|
2044
|
-
#
|
2045
|
-
#
|
2046
|
-
|
1969
|
+
# **Only populated in `person.metadata.sources`.**
|
1970
|
+
# The [HTTP entity tag](https://en.wikipedia.org/wiki/HTTP_ETag) of the
|
1971
|
+
# source. Used for web cache validation.
|
1972
|
+
# Corresponds to the JSON property `etag`
|
1973
|
+
# @return [String]
|
1974
|
+
attr_accessor :etag
|
2047
1975
|
|
2048
|
-
# The
|
2049
|
-
#
|
2050
|
-
#
|
2051
|
-
|
2052
|
-
|
1976
|
+
# The unique identifier within the source type generated by the server.
|
1977
|
+
# Corresponds to the JSON property `id`
|
1978
|
+
# @return [String]
|
1979
|
+
attr_accessor :id
|
1980
|
+
|
1981
|
+
# The read-only metadata about a profile.
|
1982
|
+
# Corresponds to the JSON property `profileMetadata`
|
1983
|
+
# @return [Google::Apis::PeopleV1::ProfileMetadata]
|
1984
|
+
attr_accessor :profile_metadata
|
1985
|
+
|
1986
|
+
# The source type.
|
2053
1987
|
# Corresponds to the JSON property `type`
|
2054
1988
|
# @return [String]
|
2055
1989
|
attr_accessor :type
|
2056
1990
|
|
2057
|
-
#
|
2058
|
-
#
|
2059
|
-
#
|
2060
|
-
# * `msn`
|
2061
|
-
# * `yahoo`
|
2062
|
-
# * `skype`
|
2063
|
-
# * `qq`
|
2064
|
-
# * `googleTalk`
|
2065
|
-
# * `icq`
|
2066
|
-
# * `jabber`
|
2067
|
-
# * `netMeeting`
|
2068
|
-
# Corresponds to the JSON property `protocol`
|
1991
|
+
# **Only populated in `person.metadata.sources`.**
|
1992
|
+
# Last update timestamp of this source.
|
1993
|
+
# Corresponds to the JSON property `updateTime`
|
2069
1994
|
# @return [String]
|
2070
|
-
attr_accessor :
|
1995
|
+
attr_accessor :update_time
|
2071
1996
|
|
2072
|
-
|
2073
|
-
|
2074
|
-
|
2075
|
-
attr_accessor :username
|
1997
|
+
def initialize(**args)
|
1998
|
+
update!(**args)
|
1999
|
+
end
|
2076
2000
|
|
2077
|
-
#
|
2078
|
-
|
2079
|
-
|
2080
|
-
|
2081
|
-
|
2001
|
+
# Update properties of this object
|
2002
|
+
def update!(**args)
|
2003
|
+
@etag = args[:etag] if args.key?(:etag)
|
2004
|
+
@id = args[:id] if args.key?(:id)
|
2005
|
+
@profile_metadata = args[:profile_metadata] if args.key?(:profile_metadata)
|
2006
|
+
@type = args[:type] if args.key?(:type)
|
2007
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
2008
|
+
end
|
2009
|
+
end
|
2082
2010
|
|
2083
|
-
|
2084
|
-
|
2085
|
-
|
2011
|
+
# The `Status` type defines a logical error model that is suitable for different
|
2012
|
+
# programming environments, including REST APIs and RPC APIs. It is used by
|
2013
|
+
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
2014
|
+
# - Simple to use and understand for most users
|
2015
|
+
# - Flexible enough to meet unexpected needs
|
2016
|
+
# # Overview
|
2017
|
+
# The `Status` message contains three pieces of data: error code, error message,
|
2018
|
+
# and error details. The error code should be an enum value of
|
2019
|
+
# google.rpc.Code, but it may accept additional error codes if needed. The
|
2020
|
+
# error message should be a developer-facing English message that helps
|
2021
|
+
# developers *understand* and *resolve* the error. If a localized user-facing
|
2022
|
+
# error message is needed, put the localized message in the error details or
|
2023
|
+
# localize it in the client. The optional error details may contain arbitrary
|
2024
|
+
# information about the error. There is a predefined set of error detail types
|
2025
|
+
# in the package `google.rpc` that can be used for common error conditions.
|
2026
|
+
# # Language mapping
|
2027
|
+
# The `Status` message is the logical representation of the error model, but it
|
2028
|
+
# is not necessarily the actual wire format. When the `Status` message is
|
2029
|
+
# exposed in different client libraries and different wire protocols, it can be
|
2030
|
+
# mapped differently. For example, it will likely be mapped to some exceptions
|
2031
|
+
# in Java, but more likely mapped to some error codes in C.
|
2032
|
+
# # Other uses
|
2033
|
+
# The error model and the `Status` message can be used in a variety of
|
2034
|
+
# environments, either with or without APIs, to provide a
|
2035
|
+
# consistent developer experience across different environments.
|
2036
|
+
# Example uses of this error model include:
|
2037
|
+
# - Partial errors. If a service needs to return partial errors to the client,
|
2038
|
+
# it may embed the `Status` in the normal response to indicate the partial
|
2039
|
+
# errors.
|
2040
|
+
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
2041
|
+
# have a `Status` message for error reporting.
|
2042
|
+
# - Batch operations. If a client uses batch request and batch response, the
|
2043
|
+
# `Status` message should be used directly inside batch response, one for
|
2044
|
+
# each error sub-response.
|
2045
|
+
# - Asynchronous operations. If an API call embeds asynchronous operation
|
2046
|
+
# results in its response, the status of those operations should be
|
2047
|
+
# represented directly using the `Status` message.
|
2048
|
+
# - Logging. If some API errors are stored in logs, the message `Status` could
|
2049
|
+
# be used directly after any stripping needed for security/privacy reasons.
|
2050
|
+
class Status
|
2051
|
+
include Google::Apis::Core::Hashable
|
2052
|
+
|
2053
|
+
# The status code, which should be an enum value of google.rpc.Code.
|
2054
|
+
# Corresponds to the JSON property `code`
|
2055
|
+
# @return [Fixnum]
|
2056
|
+
attr_accessor :code
|
2057
|
+
|
2058
|
+
# A list of messages that carry the error details. There is a common set of
|
2059
|
+
# message types for APIs to use.
|
2060
|
+
# Corresponds to the JSON property `details`
|
2061
|
+
# @return [Array<Hash<String,Object>>]
|
2062
|
+
attr_accessor :details
|
2063
|
+
|
2064
|
+
# A developer-facing error message, which should be in English. Any
|
2065
|
+
# user-facing error message should be localized and sent in the
|
2066
|
+
# google.rpc.Status.details field, or localized by the client.
|
2067
|
+
# Corresponds to the JSON property `message`
|
2086
2068
|
# @return [String]
|
2087
|
-
attr_accessor :
|
2069
|
+
attr_accessor :message
|
2088
2070
|
|
2089
2071
|
def initialize(**args)
|
2090
2072
|
update!(**args)
|
@@ -2092,24 +2074,25 @@ module Google
|
|
2092
2074
|
|
2093
2075
|
# Update properties of this object
|
2094
2076
|
def update!(**args)
|
2095
|
-
@
|
2096
|
-
@
|
2097
|
-
@
|
2098
|
-
@username = args[:username] if args.key?(:username)
|
2099
|
-
@formatted_protocol = args[:formatted_protocol] if args.key?(:formatted_protocol)
|
2100
|
-
@formatted_type = args[:formatted_type] if args.key?(:formatted_type)
|
2077
|
+
@code = args[:code] if args.key?(:code)
|
2078
|
+
@details = args[:details] if args.key?(:details)
|
2079
|
+
@message = args[:message] if args.key?(:message)
|
2101
2080
|
end
|
2102
2081
|
end
|
2103
2082
|
|
2104
|
-
# A
|
2105
|
-
class
|
2083
|
+
# A read-only brief one-line description of the person.
|
2084
|
+
class Tagline
|
2106
2085
|
include Google::Apis::Core::Hashable
|
2107
2086
|
|
2108
|
-
#
|
2109
|
-
# Corresponds to the JSON property `
|
2110
|
-
# @return [
|
2111
|
-
attr_accessor :
|
2112
|
-
|
2087
|
+
# Metadata about a field.
|
2088
|
+
# Corresponds to the JSON property `metadata`
|
2089
|
+
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
2090
|
+
attr_accessor :metadata
|
2091
|
+
|
2092
|
+
# The tagline.
|
2093
|
+
# Corresponds to the JSON property `value`
|
2094
|
+
# @return [String]
|
2095
|
+
attr_accessor :value
|
2113
2096
|
|
2114
2097
|
def initialize(**args)
|
2115
2098
|
update!(**args)
|
@@ -2117,18 +2100,19 @@ module Google
|
|
2117
2100
|
|
2118
2101
|
# Update properties of this object
|
2119
2102
|
def update!(**args)
|
2120
|
-
@
|
2103
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
2104
|
+
@value = args[:value] if args.key?(:value)
|
2121
2105
|
end
|
2122
2106
|
end
|
2123
2107
|
|
2124
|
-
#
|
2125
|
-
class
|
2108
|
+
# A request to update an existing contact group. Only the name can be updated.
|
2109
|
+
class UpdateContactGroupRequest
|
2126
2110
|
include Google::Apis::Core::Hashable
|
2127
2111
|
|
2128
|
-
#
|
2129
|
-
# Corresponds to the JSON property `
|
2130
|
-
# @return [
|
2131
|
-
attr_accessor :
|
2112
|
+
# A contact group.
|
2113
|
+
# Corresponds to the JSON property `contactGroup`
|
2114
|
+
# @return [Google::Apis::PeopleV1::ContactGroup]
|
2115
|
+
attr_accessor :contact_group
|
2132
2116
|
|
2133
2117
|
def initialize(**args)
|
2134
2118
|
update!(**args)
|
@@ -2136,28 +2120,44 @@ module Google
|
|
2136
2120
|
|
2137
2121
|
# Update properties of this object
|
2138
2122
|
def update!(**args)
|
2139
|
-
@
|
2123
|
+
@contact_group = args[:contact_group] if args.key?(:contact_group)
|
2140
2124
|
end
|
2141
2125
|
end
|
2142
2126
|
|
2143
|
-
# A person's
|
2144
|
-
class
|
2127
|
+
# A person's associated URLs.
|
2128
|
+
class Url
|
2145
2129
|
include Google::Apis::Core::Hashable
|
2146
2130
|
|
2131
|
+
# The read-only type of the URL translated and formatted in the viewer's
|
2132
|
+
# account locale or the `Accept-Language` HTTP header locale.
|
2133
|
+
# Corresponds to the JSON property `formattedType`
|
2134
|
+
# @return [String]
|
2135
|
+
attr_accessor :formatted_type
|
2136
|
+
|
2147
2137
|
# Metadata about a field.
|
2148
2138
|
# Corresponds to the JSON property `metadata`
|
2149
2139
|
# @return [Google::Apis::PeopleV1::FieldMetadata]
|
2150
2140
|
attr_accessor :metadata
|
2151
2141
|
|
2152
|
-
#
|
2153
|
-
#
|
2154
|
-
#
|
2155
|
-
|
2142
|
+
# The type of the URL. The type can be custom or predefined.
|
2143
|
+
# Possible values include, but are not limited to, the following:
|
2144
|
+
# * `home`
|
2145
|
+
# * `work`
|
2146
|
+
# * `blog`
|
2147
|
+
# * `profile`
|
2148
|
+
# * `homePage`
|
2149
|
+
# * `ftp`
|
2150
|
+
# * `reservations`
|
2151
|
+
# * `appInstallPage`: website for a Google+ application.
|
2152
|
+
# * `other`
|
2153
|
+
# Corresponds to the JSON property `type`
|
2154
|
+
# @return [String]
|
2155
|
+
attr_accessor :type
|
2156
2156
|
|
2157
|
-
#
|
2158
|
-
# Corresponds to the JSON property `
|
2159
|
-
# @return [
|
2160
|
-
attr_accessor :
|
2157
|
+
# The URL.
|
2158
|
+
# Corresponds to the JSON property `value`
|
2159
|
+
# @return [String]
|
2160
|
+
attr_accessor :value
|
2161
2161
|
|
2162
2162
|
def initialize(**args)
|
2163
2163
|
update!(**args)
|
@@ -2165,9 +2165,10 @@ module Google
|
|
2165
2165
|
|
2166
2166
|
# Update properties of this object
|
2167
2167
|
def update!(**args)
|
2168
|
+
@formatted_type = args[:formatted_type] if args.key?(:formatted_type)
|
2168
2169
|
@metadata = args[:metadata] if args.key?(:metadata)
|
2169
|
-
@
|
2170
|
-
@
|
2170
|
+
@type = args[:type] if args.key?(:type)
|
2171
|
+
@value = args[:value] if args.key?(:value)
|
2171
2172
|
end
|
2172
2173
|
end
|
2173
2174
|
end
|