google-api-client 0.12.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (315) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -0
  3. data/api_names.yaml +945 -41609
  4. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +12 -12
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +2 -2
  6. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1437 -412
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +516 -71
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +1098 -422
  10. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +6 -6
  11. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +3 -3
  12. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +3 -3
  13. data/generated/google/apis/adexchangeseller_v2_0/service.rb +10 -10
  14. data/generated/google/apis/admin_directory_v1/service.rb +26 -26
  15. data/generated/google/apis/adsense_v1_4.rb +1 -1
  16. data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
  17. data/generated/google/apis/adsense_v1_4/representations.rb +3 -3
  18. data/generated/google/apis/adsense_v1_4/service.rb +44 -44
  19. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  20. data/generated/google/apis/adsensehost_v4_1/service.rb +22 -22
  21. data/generated/google/apis/analytics_v3/classes.rb +3 -3
  22. data/generated/google/apis/analytics_v3/representations.rb +3 -3
  23. data/generated/google/apis/analytics_v3/service.rb +82 -82
  24. data/generated/google/apis/analyticsreporting_v4/classes.rb +937 -937
  25. data/generated/google/apis/analyticsreporting_v4/representations.rb +128 -128
  26. data/generated/google/apis/analyticsreporting_v4/service.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  28. data/generated/google/apis/androidenterprise_v1/classes.rb +10 -10
  29. data/generated/google/apis/androidenterprise_v1/representations.rb +20 -20
  30. data/generated/google/apis/androidenterprise_v1/service.rb +43 -43
  31. data/generated/google/apis/androidpublisher_v2/classes.rb +26 -26
  32. data/generated/google/apis/androidpublisher_v2/representations.rb +46 -46
  33. data/generated/google/apis/androidpublisher_v2/service.rb +95 -95
  34. data/generated/google/apis/appengine_v1.rb +4 -4
  35. data/generated/google/apis/appengine_v1/classes.rb +1570 -1512
  36. data/generated/google/apis/appengine_v1/representations.rb +362 -343
  37. data/generated/google/apis/appengine_v1/service.rb +220 -220
  38. data/generated/google/apis/appstate_v1.rb +1 -1
  39. data/generated/google/apis/bigquery_v2.rb +1 -1
  40. data/generated/google/apis/bigquery_v2/classes.rb +5 -5
  41. data/generated/google/apis/bigquery_v2/representations.rb +8 -8
  42. data/generated/google/apis/bigquery_v2/service.rb +13 -13
  43. data/generated/google/apis/blogger_v3/service.rb +3 -3
  44. data/generated/google/apis/books_v1/classes.rb +55 -55
  45. data/generated/google/apis/books_v1/representations.rb +67 -67
  46. data/generated/google/apis/books_v1/service.rb +82 -82
  47. data/generated/google/apis/calendar_v3.rb +1 -1
  48. data/generated/google/apis/calendar_v3/classes.rb +6 -6
  49. data/generated/google/apis/calendar_v3/representations.rb +3 -3
  50. data/generated/google/apis/calendar_v3/service.rb +2 -2
  51. data/generated/google/apis/civicinfo_v2/classes.rb +2 -2
  52. data/generated/google/apis/civicinfo_v2/representations.rb +4 -4
  53. data/generated/google/apis/civicinfo_v2/service.rb +12 -12
  54. data/generated/google/apis/classroom_v1.rb +7 -7
  55. data/generated/google/apis/classroom_v1/classes.rb +1013 -991
  56. data/generated/google/apis/classroom_v1/representations.rb +207 -204
  57. data/generated/google/apis/classroom_v1/service.rb +709 -709
  58. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  59. data/generated/google/apis/cloudbuild_v1/classes.rb +307 -307
  60. data/generated/google/apis/cloudbuild_v1/representations.rb +84 -84
  61. data/generated/google/apis/cloudbuild_v1/service.rb +125 -125
  62. data/generated/google/apis/clouddebugger_v2/classes.rb +673 -673
  63. data/generated/google/apis/clouddebugger_v2/representations.rb +152 -152
  64. data/generated/google/apis/clouddebugger_v2/service.rb +55 -55
  65. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  66. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +121 -121
  67. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +25 -25
  68. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +74 -74
  69. data/generated/google/apis/cloudkms_v1.rb +1 -1
  70. data/generated/google/apis/cloudkms_v1/classes.rb +668 -613
  71. data/generated/google/apis/cloudkms_v1/representations.rb +151 -133
  72. data/generated/google/apis/cloudkms_v1/service.rb +267 -267
  73. data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
  74. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1167 -1168
  75. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +193 -193
  76. data/generated/google/apis/cloudresourcemanager_v1/service.rb +470 -469
  77. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  78. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +508 -509
  79. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +94 -94
  80. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +157 -156
  81. data/generated/google/apis/cloudtrace_v1/service.rb +34 -34
  82. data/generated/google/apis/compute_beta.rb +1 -1
  83. data/generated/google/apis/compute_beta/classes.rb +163 -15
  84. data/generated/google/apis/compute_beta/representations.rb +54 -14
  85. data/generated/google/apis/compute_beta/service.rb +2258 -482
  86. data/generated/google/apis/compute_v1.rb +1 -1
  87. data/generated/google/apis/compute_v1/classes.rb +465 -13
  88. data/generated/google/apis/compute_v1/representations.rb +202 -16
  89. data/generated/google/apis/compute_v1/service.rb +573 -309
  90. data/generated/google/apis/container_v1.rb +1 -1
  91. data/generated/google/apis/container_v1/classes.rb +635 -589
  92. data/generated/google/apis/container_v1/representations.rb +139 -111
  93. data/generated/google/apis/container_v1/service.rb +272 -227
  94. data/generated/google/apis/content_v2.rb +1 -1
  95. data/generated/google/apis/content_v2/classes.rb +86 -74
  96. data/generated/google/apis/content_v2/representations.rb +107 -105
  97. data/generated/google/apis/content_v2/service.rb +131 -130
  98. data/generated/google/apis/customsearch_v1.rb +2 -2
  99. data/generated/google/apis/customsearch_v1/classes.rb +0 -6
  100. data/generated/google/apis/customsearch_v1/representations.rb +0 -1
  101. data/generated/google/apis/customsearch_v1/service.rb +2 -5
  102. data/generated/google/apis/dataflow_v1b3.rb +7 -4
  103. data/generated/google/apis/dataflow_v1b3/classes.rb +3405 -3405
  104. data/generated/google/apis/dataflow_v1b3/representations.rb +834 -834
  105. data/generated/google/apis/dataflow_v1b3/service.rb +244 -244
  106. data/generated/google/apis/dataproc_v1.rb +1 -1
  107. data/generated/google/apis/dataproc_v1/classes.rb +543 -691
  108. data/generated/google/apis/dataproc_v1/representations.rb +129 -185
  109. data/generated/google/apis/dataproc_v1/service.rb +347 -347
  110. data/generated/google/apis/datastore_v1.rb +4 -4
  111. data/generated/google/apis/datastore_v1/classes.rb +833 -833
  112. data/generated/google/apis/datastore_v1/representations.rb +182 -182
  113. data/generated/google/apis/datastore_v1/service.rb +45 -45
  114. data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
  115. data/generated/google/apis/deploymentmanager_v2/representations.rb +10 -10
  116. data/generated/google/apis/deploymentmanager_v2/service.rb +20 -20
  117. data/generated/google/apis/discovery_v1/classes.rb +4 -4
  118. data/generated/google/apis/discovery_v1/representations.rb +2 -2
  119. data/generated/google/apis/discovery_v1/service.rb +1 -1
  120. data/generated/google/apis/dns_v1.rb +1 -1
  121. data/generated/google/apis/dns_v1/classes.rb +3 -3
  122. data/generated/google/apis/dns_v1/representations.rb +6 -6
  123. data/generated/google/apis/dns_v1/service.rb +12 -12
  124. data/generated/google/apis/dns_v2beta1.rb +1 -1
  125. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -8
  126. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  127. data/generated/google/apis/drive_v2.rb +1 -1
  128. data/generated/google/apis/drive_v2/classes.rb +1 -1
  129. data/generated/google/apis/drive_v2/service.rb +1 -1
  130. data/generated/google/apis/drive_v3.rb +1 -1
  131. data/generated/google/apis/drive_v3/service.rb +1 -1
  132. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  133. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +160 -110
  134. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +60 -31
  135. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +38 -3
  136. data/generated/google/apis/firebaserules_v1/classes.rb +354 -354
  137. data/generated/google/apis/firebaserules_v1/representations.rb +87 -87
  138. data/generated/google/apis/firebaserules_v1/service.rb +103 -103
  139. data/generated/google/apis/fusiontables_v2/service.rb +2 -2
  140. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  141. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
  142. data/generated/google/apis/games_configuration_v1configuration/representations.rb +4 -4
  143. data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
  144. data/generated/google/apis/games_management_v1management.rb +1 -1
  145. data/generated/google/apis/games_v1.rb +1 -1
  146. data/generated/google/apis/games_v1/classes.rb +23 -23
  147. data/generated/google/apis/games_v1/representations.rb +43 -43
  148. data/generated/google/apis/games_v1/service.rb +72 -72
  149. data/generated/google/apis/genomics_v1.rb +1 -1
  150. data/generated/google/apis/genomics_v1/classes.rb +2316 -2316
  151. data/generated/google/apis/genomics_v1/representations.rb +291 -291
  152. data/generated/google/apis/genomics_v1/service.rb +821 -821
  153. data/generated/google/apis/gmail_v1.rb +1 -1
  154. data/generated/google/apis/groupsmigration_v1.rb +1 -1
  155. data/generated/google/apis/groupssettings_v1.rb +1 -1
  156. data/generated/google/apis/groupssettings_v1/classes.rb +2 -2
  157. data/generated/google/apis/groupssettings_v1/service.rb +3 -0
  158. data/generated/google/apis/iam_v1/classes.rb +338 -338
  159. data/generated/google/apis/iam_v1/representations.rb +98 -98
  160. data/generated/google/apis/iam_v1/service.rb +35 -35
  161. data/generated/google/apis/identitytoolkit_v3/classes.rb +15 -15
  162. data/generated/google/apis/identitytoolkit_v3/representations.rb +30 -30
  163. data/generated/google/apis/identitytoolkit_v3/service.rb +64 -64
  164. data/generated/google/apis/kgsearch_v1/service.rb +13 -13
  165. data/generated/google/apis/language_v1.rb +1 -1
  166. data/generated/google/apis/language_v1/classes.rb +374 -374
  167. data/generated/google/apis/language_v1/representations.rb +97 -97
  168. data/generated/google/apis/language_v1/service.rb +16 -16
  169. data/generated/google/apis/language_v1beta1.rb +1 -1
  170. data/generated/google/apis/language_v1beta1/classes.rb +441 -441
  171. data/generated/google/apis/language_v1beta1/representations.rb +108 -108
  172. data/generated/google/apis/language_v1beta1/service.rb +30 -30
  173. data/generated/google/apis/licensing_v1/service.rb +2 -2
  174. data/generated/google/apis/logging_v2.rb +1 -1
  175. data/generated/google/apis/logging_v2/classes.rb +712 -712
  176. data/generated/google/apis/logging_v2/representations.rb +109 -109
  177. data/generated/google/apis/logging_v2/service.rb +543 -539
  178. data/generated/google/apis/logging_v2beta1.rb +1 -1
  179. data/generated/google/apis/logging_v2beta1/classes.rb +752 -752
  180. data/generated/google/apis/logging_v2beta1/representations.rb +94 -94
  181. data/generated/google/apis/logging_v2beta1/service.rb +257 -256
  182. data/generated/google/apis/manufacturers_v1/classes.rb +130 -130
  183. data/generated/google/apis/manufacturers_v1/representations.rb +28 -28
  184. data/generated/google/apis/mirror_v1/classes.rb +5 -5
  185. data/generated/google/apis/mirror_v1/representations.rb +10 -10
  186. data/generated/google/apis/mirror_v1/service.rb +20 -20
  187. data/generated/google/apis/ml_v1.rb +1 -1
  188. data/generated/google/apis/ml_v1/classes.rb +1830 -1210
  189. data/generated/google/apis/ml_v1/representations.rb +342 -120
  190. data/generated/google/apis/ml_v1/service.rb +365 -258
  191. data/generated/google/apis/monitoring_v3.rb +4 -4
  192. data/generated/google/apis/monitoring_v3/classes.rb +889 -889
  193. data/generated/google/apis/monitoring_v3/representations.rb +174 -174
  194. data/generated/google/apis/monitoring_v3/service.rb +119 -119
  195. data/generated/google/apis/mybusiness_v3/service.rb +5 -5
  196. data/generated/google/apis/oauth2_v2/service.rb +1 -1
  197. data/generated/google/apis/pagespeedonline_v2/classes.rb +11 -11
  198. data/generated/google/apis/pagespeedonline_v2/representations.rb +13 -13
  199. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
  200. data/generated/google/apis/partners_v2.rb +1 -1
  201. data/generated/google/apis/partners_v2/classes.rb +550 -536
  202. data/generated/google/apis/partners_v2/representations.rb +118 -116
  203. data/generated/google/apis/partners_v2/service.rb +439 -439
  204. data/generated/google/apis/people_v1.rb +4 -4
  205. data/generated/google/apis/people_v1/classes.rb +414 -413
  206. data/generated/google/apis/people_v1/representations.rb +85 -85
  207. data/generated/google/apis/people_v1/service.rb +111 -18
  208. data/generated/google/apis/plus_domains_v1.rb +1 -1
  209. data/generated/google/apis/plus_domains_v1/service.rb +4 -4
  210. data/generated/google/apis/plus_v1.rb +1 -1
  211. data/generated/google/apis/plus_v1/service.rb +1 -1
  212. data/generated/google/apis/prediction_v1_6/service.rb +8 -8
  213. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  214. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +443 -443
  215. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +92 -92
  216. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +152 -152
  217. data/generated/google/apis/pubsub_v1/classes.rb +249 -249
  218. data/generated/google/apis/pubsub_v1/representations.rb +80 -80
  219. data/generated/google/apis/pubsub_v1/service.rb +415 -415
  220. data/generated/google/apis/qpx_express_v1/classes.rb +2 -2
  221. data/generated/google/apis/qpx_express_v1/representations.rb +4 -4
  222. data/generated/google/apis/qpx_express_v1/service.rb +8 -8
  223. data/generated/google/apis/replicapool_v1beta2/classes.rb +5 -5
  224. data/generated/google/apis/replicapool_v1beta2/representations.rb +10 -10
  225. data/generated/google/apis/replicapool_v1beta2/service.rb +21 -21
  226. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -1
  227. data/generated/google/apis/resourceviews_v1beta2/classes.rb +5 -5
  228. data/generated/google/apis/resourceviews_v1beta2/representations.rb +10 -10
  229. data/generated/google/apis/resourceviews_v1beta2/service.rb +20 -20
  230. data/generated/google/apis/runtimeconfig_v1.rb +4 -4
  231. data/generated/google/apis/runtimeconfig_v1/classes.rb +15 -15
  232. data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
  233. data/generated/google/apis/runtimeconfig_v1/service.rb +4 -4
  234. data/generated/google/apis/script_v1.rb +17 -17
  235. data/generated/google/apis/script_v1/classes.rb +27 -27
  236. data/generated/google/apis/script_v1/representations.rb +5 -5
  237. data/generated/google/apis/script_v1/service.rb +4 -4
  238. data/generated/google/apis/searchconsole_v1.rb +1 -1
  239. data/generated/google/apis/searchconsole_v1/classes.rb +53 -53
  240. data/generated/google/apis/searchconsole_v1/representations.rb +23 -23
  241. data/generated/google/apis/searchconsole_v1/service.rb +4 -4
  242. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  243. data/generated/google/apis/servicecontrol_v1/classes.rb +1175 -1175
  244. data/generated/google/apis/servicecontrol_v1/representations.rb +206 -206
  245. data/generated/google/apis/servicecontrol_v1/service.rb +116 -116
  246. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  247. data/generated/google/apis/servicemanagement_v1/classes.rb +1186 -1125
  248. data/generated/google/apis/servicemanagement_v1/representations.rb +241 -223
  249. data/generated/google/apis/servicemanagement_v1/service.rb +201 -201
  250. data/generated/google/apis/serviceuser_v1.rb +1 -1
  251. data/generated/google/apis/serviceuser_v1/classes.rb +2645 -2641
  252. data/generated/google/apis/serviceuser_v1/representations.rb +234 -234
  253. data/generated/google/apis/serviceuser_v1/service.rb +37 -37
  254. data/generated/google/apis/sheets_v4.rb +1 -1
  255. data/generated/google/apis/sheets_v4/classes.rb +5042 -4111
  256. data/generated/google/apis/sheets_v4/representations.rb +994 -824
  257. data/generated/google/apis/sheets_v4/service.rb +80 -80
  258. data/generated/google/apis/site_verification_v1/classes.rb +6 -6
  259. data/generated/google/apis/site_verification_v1/representations.rb +8 -8
  260. data/generated/google/apis/site_verification_v1/service.rb +12 -12
  261. data/generated/google/apis/slides_v1.rb +1 -1
  262. data/generated/google/apis/slides_v1/classes.rb +2885 -2885
  263. data/generated/google/apis/slides_v1/representations.rb +310 -310
  264. data/generated/google/apis/slides_v1/service.rb +54 -54
  265. data/generated/google/apis/sourcerepo_v1/classes.rb +206 -206
  266. data/generated/google/apis/sourcerepo_v1/representations.rb +52 -52
  267. data/generated/google/apis/sourcerepo_v1/service.rb +5 -5
  268. data/generated/google/apis/spanner_v1.rb +1 -1
  269. data/generated/google/apis/spanner_v1/classes.rb +2142 -2141
  270. data/generated/google/apis/spanner_v1/representations.rb +174 -174
  271. data/generated/google/apis/spanner_v1/service.rb +497 -497
  272. data/generated/google/apis/speech_v1beta1.rb +1 -1
  273. data/generated/google/apis/speech_v1beta1/classes.rb +227 -227
  274. data/generated/google/apis/speech_v1beta1/representations.rb +50 -50
  275. data/generated/google/apis/speech_v1beta1/service.rb +33 -33
  276. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  277. data/generated/google/apis/sqladmin_v1beta4/classes.rb +21 -21
  278. data/generated/google/apis/sqladmin_v1beta4/representations.rb +29 -29
  279. data/generated/google/apis/sqladmin_v1beta4/service.rb +56 -56
  280. data/generated/google/apis/storage_v1.rb +1 -1
  281. data/generated/google/apis/storage_v1/classes.rb +40 -6
  282. data/generated/google/apis/storage_v1/representations.rb +20 -4
  283. data/generated/google/apis/storage_v1/service.rb +61 -46
  284. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  285. data/generated/google/apis/storagetransfer_v1/classes.rb +184 -184
  286. data/generated/google/apis/storagetransfer_v1/representations.rb +35 -35
  287. data/generated/google/apis/storagetransfer_v1/service.rb +70 -70
  288. data/generated/google/apis/tagmanager_v1/service.rb +33 -33
  289. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  290. data/generated/google/apis/translate_v2/classes.rb +12 -12
  291. data/generated/google/apis/translate_v2/representations.rb +10 -10
  292. data/generated/google/apis/translate_v2/service.rb +62 -62
  293. data/generated/google/apis/vision_v1.rb +1 -1
  294. data/generated/google/apis/vision_v1/classes.rb +1267 -1267
  295. data/generated/google/apis/vision_v1/representations.rb +200 -200
  296. data/generated/google/apis/vision_v1/service.rb +10 -10
  297. data/generated/google/apis/webmasters_v3.rb +1 -1
  298. data/generated/google/apis/webmasters_v3/classes.rb +4 -4
  299. data/generated/google/apis/webmasters_v3/representations.rb +8 -8
  300. data/generated/google/apis/webmasters_v3/service.rb +21 -21
  301. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  302. data/generated/google/apis/youtube_analytics_v1/classes.rb +2 -2
  303. data/generated/google/apis/youtube_analytics_v1/representations.rb +4 -4
  304. data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
  305. data/generated/google/apis/youtube_v3/classes.rb +20 -20
  306. data/generated/google/apis/youtube_v3/representations.rb +40 -40
  307. data/generated/google/apis/youtube_v3/service.rb +80 -80
  308. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  309. data/generated/google/apis/youtubereporting_v1/classes.rb +129 -129
  310. data/generated/google/apis/youtubereporting_v1/representations.rb +38 -38
  311. data/generated/google/apis/youtubereporting_v1/service.rb +97 -97
  312. data/lib/google/apis/generator/annotator.rb +2 -2
  313. data/lib/google/apis/generator/model.rb +2 -2
  314. data/lib/google/apis/version.rb +1 -1
  315. metadata +2 -2
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/people/
26
26
  module PeopleV1
27
27
  VERSION = 'V1'
28
- REVISION = '20170531'
28
+ REVISION = '20170612'
29
29
 
30
30
  # Know the list of people in your circles, your age range, and language
31
31
  AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'
@@ -42,12 +42,12 @@ module Google
42
42
  # View your street addresses
43
43
  AUTH_USER_ADDRESSES_READ = 'https://www.googleapis.com/auth/user.addresses.read'
44
44
 
45
- # View your phone numbers
46
- AUTH_USER_PHONENUMBERS_READ = 'https://www.googleapis.com/auth/user.phonenumbers.read'
47
-
48
45
  # View your email address
49
46
  AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
50
47
 
48
+ # View your phone numbers
49
+ AUTH_USER_PHONENUMBERS_READ = 'https://www.googleapis.com/auth/user.phonenumbers.read'
50
+
51
51
  # View your contacts
52
52
  AUTH_CONTACTS_READONLY = 'https://www.googleapis.com/auth/contacts.readonly'
53
53
 
@@ -55,31 +55,6 @@ module Google
55
55
  class Person
56
56
  include Google::Apis::Core::Hashable
57
57
 
58
- # The person's instant messaging clients.
59
- # Corresponds to the JSON property `imClients`
60
- # @return [Array<Google::Apis::PeopleV1::ImClient>]
61
- attr_accessor :im_clients
62
-
63
- # The person's birthdays.
64
- # Corresponds to the JSON property `birthdays`
65
- # @return [Array<Google::Apis::PeopleV1::Birthday>]
66
- attr_accessor :birthdays
67
-
68
- # The person's locale preferences.
69
- # Corresponds to the JSON property `locales`
70
- # @return [Array<Google::Apis::PeopleV1::Locale>]
71
- attr_accessor :locales
72
-
73
- # The kind of relationship the person is looking for.
74
- # Corresponds to the JSON property `relationshipInterests`
75
- # @return [Array<Google::Apis::PeopleV1::RelationshipInterest>]
76
- attr_accessor :relationship_interests
77
-
78
- # The person's associated URLs.
79
- # Corresponds to the JSON property `urls`
80
- # @return [Array<Google::Apis::PeopleV1::Url>]
81
- attr_accessor :urls
82
-
83
58
  # The person's nicknames.
84
59
  # Corresponds to the JSON property `nicknames`
85
60
  # @return [Array<Google::Apis::PeopleV1::Nickname>]
@@ -157,27 +132,28 @@ module Google
157
132
  # @return [Array<Google::Apis::PeopleV1::Skill>]
158
133
  attr_accessor :skills
159
134
 
160
- # The person's relationship statuses.
135
+ # The person's read-only relationship statuses.
161
136
  # Corresponds to the JSON property `relationshipStatuses`
162
137
  # @return [Array<Google::Apis::PeopleV1::RelationshipStatus>]
163
138
  attr_accessor :relationship_statuses
164
139
 
165
- # The person's photos.
140
+ # The person's read-only photos.
166
141
  # Corresponds to the JSON property `photos`
167
142
  # @return [Array<Google::Apis::PeopleV1::Photo>]
168
143
  attr_accessor :photos
169
144
 
170
- # DEPRECATED(Please read person.age_ranges instead). The person's age range.
145
+ # **DEPRECATED(Please use person.ageRanges instead)**
146
+ # The person's read-only age range.
171
147
  # Corresponds to the JSON property `ageRange`
172
148
  # @return [String]
173
149
  attr_accessor :age_range
174
150
 
175
- # The person's taglines.
151
+ # The person's read-only taglines.
176
152
  # Corresponds to the JSON property `taglines`
177
153
  # @return [Array<Google::Apis::PeopleV1::Tagline>]
178
154
  attr_accessor :taglines
179
155
 
180
- # The person's age ranges.
156
+ # The person's read-only age ranges.
181
157
  # Corresponds to the JSON property `ageRanges`
182
158
  # @return [Array<Google::Apis::PeopleV1::AgeRangeType>]
183
159
  attr_accessor :age_ranges
@@ -192,7 +168,7 @@ module Google
192
168
  # @return [Array<Google::Apis::PeopleV1::Event>]
193
169
  attr_accessor :events
194
170
 
195
- # The person's group memberships.
171
+ # The person's read-only group memberships.
196
172
  # Corresponds to the JSON property `memberships`
197
173
  # @return [Array<Google::Apis::PeopleV1::Membership>]
198
174
  attr_accessor :memberships
@@ -202,22 +178,42 @@ module Google
202
178
  # @return [Array<Google::Apis::PeopleV1::PhoneNumber>]
203
179
  attr_accessor :phone_numbers
204
180
 
205
- # The person's cover photos.
181
+ # The person's read-only cover photos.
206
182
  # Corresponds to the JSON property `coverPhotos`
207
183
  # @return [Array<Google::Apis::PeopleV1::CoverPhoto>]
208
184
  attr_accessor :cover_photos
209
185
 
186
+ # The person's instant messaging clients.
187
+ # Corresponds to the JSON property `imClients`
188
+ # @return [Array<Google::Apis::PeopleV1::ImClient>]
189
+ attr_accessor :im_clients
190
+
191
+ # The person's birthdays.
192
+ # Corresponds to the JSON property `birthdays`
193
+ # @return [Array<Google::Apis::PeopleV1::Birthday>]
194
+ attr_accessor :birthdays
195
+
196
+ # The person's locale preferences.
197
+ # Corresponds to the JSON property `locales`
198
+ # @return [Array<Google::Apis::PeopleV1::Locale>]
199
+ attr_accessor :locales
200
+
201
+ # The person's read-only relationship interests.
202
+ # Corresponds to the JSON property `relationshipInterests`
203
+ # @return [Array<Google::Apis::PeopleV1::RelationshipInterest>]
204
+ attr_accessor :relationship_interests
205
+
206
+ # The person's associated URLs.
207
+ # Corresponds to the JSON property `urls`
208
+ # @return [Array<Google::Apis::PeopleV1::Url>]
209
+ attr_accessor :urls
210
+
210
211
  def initialize(**args)
211
212
  update!(**args)
212
213
  end
213
214
 
214
215
  # Update properties of this object
215
216
  def update!(**args)
216
- @im_clients = args[:im_clients] if args.key?(:im_clients)
217
- @birthdays = args[:birthdays] if args.key?(:birthdays)
218
- @locales = args[:locales] if args.key?(:locales)
219
- @relationship_interests = args[:relationship_interests] if args.key?(:relationship_interests)
220
- @urls = args[:urls] if args.key?(:urls)
221
217
  @nicknames = args[:nicknames] if args.key?(:nicknames)
222
218
  @relations = args[:relations] if args.key?(:relations)
223
219
  @names = args[:names] if args.key?(:names)
@@ -243,6 +239,11 @@ module Google
243
239
  @memberships = args[:memberships] if args.key?(:memberships)
244
240
  @phone_numbers = args[:phone_numbers] if args.key?(:phone_numbers)
245
241
  @cover_photos = args[:cover_photos] if args.key?(:cover_photos)
242
+ @im_clients = args[:im_clients] if args.key?(:im_clients)
243
+ @birthdays = args[:birthdays] if args.key?(:birthdays)
244
+ @locales = args[:locales] if args.key?(:locales)
245
+ @relationship_interests = args[:relationship_interests] if args.key?(:relationship_interests)
246
+ @urls = args[:urls] if args.key?(:urls)
246
247
  end
247
248
  end
248
249
 
@@ -265,39 +266,33 @@ module Google
265
266
  end
266
267
  end
267
268
 
268
- # A person's read-only photo. A picture shown next to the person's name to
269
- # help others recognize the person.
270
- class Photo
269
+ # A person's phone number.
270
+ class PhoneNumber
271
271
  include Google::Apis::Core::Hashable
272
272
 
273
+ # The type of the phone number. The type can be custom or predefined.
274
+ # Possible values include, but are not limited to, the following:
275
+ # * `home`
276
+ # * `work`
277
+ # * `mobile`
278
+ # * `homeFax`
279
+ # * `workFax`
280
+ # * `otherFax`
281
+ # * `pager`
282
+ # * `workMobile`
283
+ # * `workPager`
284
+ # * `main`
285
+ # * `googleVoice`
286
+ # * `other`
287
+ # Corresponds to the JSON property `type`
288
+ # @return [String]
289
+ attr_accessor :type
290
+
273
291
  # Metadata about a field.
274
292
  # Corresponds to the JSON property `metadata`
275
293
  # @return [Google::Apis::PeopleV1::FieldMetadata]
276
294
  attr_accessor :metadata
277
295
 
278
- # The URL of the photo. You can change the desired size by appending a query
279
- # parameter `sz=<size>` at the end of the url. Example:
280
- # `https://lh3.googleusercontent.com/-T_wVWLlmg7w/AAAAAAAAAAI/AAAAAAAABa8/
281
- # 00gzXvDBYqw/s100/photo.jpg?sz=50`
282
- # Corresponds to the JSON property `url`
283
- # @return [String]
284
- attr_accessor :url
285
-
286
- def initialize(**args)
287
- update!(**args)
288
- end
289
-
290
- # Update properties of this object
291
- def update!(**args)
292
- @metadata = args[:metadata] if args.key?(:metadata)
293
- @url = args[:url] if args.key?(:url)
294
- end
295
- end
296
-
297
- # A person's phone number.
298
- class PhoneNumber
299
- include Google::Apis::Core::Hashable
300
-
301
296
  # The phone number.
302
297
  # Corresponds to the JSON property `value`
303
298
  # @return [String]
@@ -316,40 +311,46 @@ module Google
316
311
  # @return [String]
317
312
  attr_accessor :canonical_form
318
313
 
319
- # The type of the phone number. The type can be custom or predefined.
320
- # Possible values include, but are not limited to, the following:
321
- # * `home`
322
- # * `work`
323
- # * `mobile`
324
- # * `homeFax`
325
- # * `workFax`
326
- # * `otherFax`
327
- # * `pager`
328
- # * `workMobile`
329
- # * `workPager`
330
- # * `main`
331
- # * `googleVoice`
332
- # * `other`
333
- # Corresponds to the JSON property `type`
334
- # @return [String]
335
- attr_accessor :type
314
+ def initialize(**args)
315
+ update!(**args)
316
+ end
317
+
318
+ # Update properties of this object
319
+ def update!(**args)
320
+ @type = args[:type] if args.key?(:type)
321
+ @metadata = args[:metadata] if args.key?(:metadata)
322
+ @value = args[:value] if args.key?(:value)
323
+ @formatted_type = args[:formatted_type] if args.key?(:formatted_type)
324
+ @canonical_form = args[:canonical_form] if args.key?(:canonical_form)
325
+ end
326
+ end
327
+
328
+ # A person's read-only photo. A picture shown next to the person's name to
329
+ # help others recognize the person.
330
+ class Photo
331
+ include Google::Apis::Core::Hashable
336
332
 
337
333
  # Metadata about a field.
338
334
  # Corresponds to the JSON property `metadata`
339
335
  # @return [Google::Apis::PeopleV1::FieldMetadata]
340
336
  attr_accessor :metadata
341
337
 
338
+ # The URL of the photo. You can change the desired size by appending a query
339
+ # parameter `sz=<size>` at the end of the url. Example:
340
+ # `https://lh3.googleusercontent.com/-T_wVWLlmg7w/AAAAAAAAAAI/AAAAAAAABa8/
341
+ # 00gzXvDBYqw/s100/photo.jpg?sz=50`
342
+ # Corresponds to the JSON property `url`
343
+ # @return [String]
344
+ attr_accessor :url
345
+
342
346
  def initialize(**args)
343
347
  update!(**args)
344
348
  end
345
349
 
346
350
  # Update properties of this object
347
351
  def update!(**args)
348
- @value = args[:value] if args.key?(:value)
349
- @formatted_type = args[:formatted_type] if args.key?(:formatted_type)
350
- @canonical_form = args[:canonical_form] if args.key?(:canonical_form)
351
- @type = args[:type] if args.key?(:type)
352
352
  @metadata = args[:metadata] if args.key?(:metadata)
353
+ @url = args[:url] if args.key?(:url)
353
354
  end
354
355
  end
355
356
 
@@ -403,6 +404,16 @@ module Google
403
404
  class Birthday
404
405
  include Google::Apis::Core::Hashable
405
406
 
407
+ # A free-form string representing the user's birthday.
408
+ # Corresponds to the JSON property `text`
409
+ # @return [String]
410
+ attr_accessor :text
411
+
412
+ # Metadata about a field.
413
+ # Corresponds to the JSON property `metadata`
414
+ # @return [Google::Apis::PeopleV1::FieldMetadata]
415
+ attr_accessor :metadata
416
+
406
417
  # Represents a whole calendar date, for example a date of birth. The time
407
418
  # of day and time zone are either specified elsewhere or are not
408
419
  # significant. The date is relative to the
@@ -415,25 +426,15 @@ module Google
415
426
  # @return [Google::Apis::PeopleV1::Date]
416
427
  attr_accessor :date
417
428
 
418
- # A free-form string representing the user's birthday.
419
- # Corresponds to the JSON property `text`
420
- # @return [String]
421
- attr_accessor :text
422
-
423
- # Metadata about a field.
424
- # Corresponds to the JSON property `metadata`
425
- # @return [Google::Apis::PeopleV1::FieldMetadata]
426
- attr_accessor :metadata
427
-
428
429
  def initialize(**args)
429
430
  update!(**args)
430
431
  end
431
432
 
432
433
  # Update properties of this object
433
434
  def update!(**args)
434
- @date = args[:date] if args.key?(:date)
435
435
  @text = args[:text] if args.key?(:text)
436
436
  @metadata = args[:metadata] if args.key?(:metadata)
437
+ @date = args[:date] if args.key?(:date)
437
438
  end
438
439
  end
439
440
 
@@ -475,25 +476,6 @@ module Google
475
476
  class Address
476
477
  include Google::Apis::Core::Hashable
477
478
 
478
- # The country of the address.
479
- # Corresponds to the JSON property `country`
480
- # @return [String]
481
- attr_accessor :country
482
-
483
- # The type of the address. The type can be custom or predefined.
484
- # Possible values include, but are not limited to, the following:
485
- # * `home`
486
- # * `work`
487
- # * `other`
488
- # Corresponds to the JSON property `type`
489
- # @return [String]
490
- attr_accessor :type
491
-
492
- # The extended address of the address; for example, the apartment number.
493
- # Corresponds to the JSON property `extendedAddress`
494
- # @return [String]
495
- attr_accessor :extended_address
496
-
497
479
  # The P.O. box of the address.
498
480
  # Corresponds to the JSON property `poBox`
499
481
  # @return [String]
@@ -542,15 +524,31 @@ module Google
542
524
  # @return [String]
543
525
  attr_accessor :formatted_value
544
526
 
527
+ # The country of the address.
528
+ # Corresponds to the JSON property `country`
529
+ # @return [String]
530
+ attr_accessor :country
531
+
532
+ # The type of the address. The type can be custom or predefined.
533
+ # Possible values include, but are not limited to, the following:
534
+ # * `home`
535
+ # * `work`
536
+ # * `other`
537
+ # Corresponds to the JSON property `type`
538
+ # @return [String]
539
+ attr_accessor :type
540
+
541
+ # The extended address of the address; for example, the apartment number.
542
+ # Corresponds to the JSON property `extendedAddress`
543
+ # @return [String]
544
+ attr_accessor :extended_address
545
+
545
546
  def initialize(**args)
546
547
  update!(**args)
547
548
  end
548
549
 
549
550
  # Update properties of this object
550
551
  def update!(**args)
551
- @country = args[:country] if args.key?(:country)
552
- @type = args[:type] if args.key?(:type)
553
- @extended_address = args[:extended_address] if args.key?(:extended_address)
554
552
  @po_box = args[:po_box] if args.key?(:po_box)
555
553
  @postal_code = args[:postal_code] if args.key?(:postal_code)
556
554
  @region = args[:region] if args.key?(:region)
@@ -560,6 +558,9 @@ module Google
560
558
  @formatted_type = args[:formatted_type] if args.key?(:formatted_type)
561
559
  @city = args[:city] if args.key?(:city)
562
560
  @formatted_value = args[:formatted_value] if args.key?(:formatted_value)
561
+ @country = args[:country] if args.key?(:country)
562
+ @type = args[:type] if args.key?(:type)
563
+ @extended_address = args[:extended_address] if args.key?(:extended_address)
563
564
  end
564
565
  end
565
566
 
@@ -629,12 +630,6 @@ module Google
629
630
  class Status
630
631
  include Google::Apis::Core::Hashable
631
632
 
632
- # A list of messages that carry the error details. There will be a
633
- # common set of message types for APIs to use.
634
- # Corresponds to the JSON property `details`
635
- # @return [Array<Hash<String,Object>>]
636
- attr_accessor :details
637
-
638
633
  # The status code, which should be an enum value of google.rpc.Code.
639
634
  # Corresponds to the JSON property `code`
640
635
  # @return [Fixnum]
@@ -647,73 +642,40 @@ module Google
647
642
  # @return [String]
648
643
  attr_accessor :message
649
644
 
645
+ # A list of messages that carry the error details. There will be a
646
+ # common set of message types for APIs to use.
647
+ # Corresponds to the JSON property `details`
648
+ # @return [Array<Hash<String,Object>>]
649
+ attr_accessor :details
650
+
650
651
  def initialize(**args)
651
652
  update!(**args)
652
653
  end
653
654
 
654
655
  # Update properties of this object
655
656
  def update!(**args)
656
- @details = args[:details] if args.key?(:details)
657
657
  @code = args[:code] if args.key?(:code)
658
658
  @message = args[:message] if args.key?(:message)
659
+ @details = args[:details] if args.key?(:details)
659
660
  end
660
661
  end
661
662
 
662
- # The read-only metadata about a person.
663
- class PersonMetadata
663
+ # An event related to the person.
664
+ class Event
664
665
  include Google::Apis::Core::Hashable
665
666
 
666
- # DEPRECATED(Please read person.metadata.sources.profile_metadata instead).
667
- # The type of the person object.
668
- # Corresponds to the JSON property `objectType`
667
+ # The type of the event. The type can be custom or predefined.
668
+ # Possible values include, but are not limited to, the following:
669
+ # * `anniversary`
670
+ # * `other`
671
+ # Corresponds to the JSON property `type`
669
672
  # @return [String]
670
- attr_accessor :object_type
673
+ attr_accessor :type
671
674
 
672
- # Resource names of people linked to this resource.
673
- # Corresponds to the JSON property `linkedPeopleResourceNames`
674
- # @return [Array<String>]
675
- attr_accessor :linked_people_resource_names
676
-
677
- # Any former resource names this person has had. Populated only for
678
- # [`connections.list`](/people/api/rest/v1/people.connections/list) requests
679
- # that include a sync token.
680
- # The resource name may change when adding or removing fields that link a
681
- # contact and profile such as a verified email, verified phone number, or
682
- # profile URL.
683
- # Corresponds to the JSON property `previousResourceNames`
684
- # @return [Array<String>]
685
- attr_accessor :previous_resource_names
686
-
687
- # The sources of data for the person.
688
- # Corresponds to the JSON property `sources`
689
- # @return [Array<Google::Apis::PeopleV1::Source>]
690
- attr_accessor :sources
691
-
692
- # True if the person resource has been deleted. Populated only for
693
- # [`connections.list`](/people/api/rest/v1/people.connections/list) requests
694
- # that include a sync token.
695
- # Corresponds to the JSON property `deleted`
696
- # @return [Boolean]
697
- attr_accessor :deleted
698
- alias_method :deleted?, :deleted
699
-
700
- def initialize(**args)
701
- update!(**args)
702
- end
703
-
704
- # Update properties of this object
705
- def update!(**args)
706
- @object_type = args[:object_type] if args.key?(:object_type)
707
- @linked_people_resource_names = args[:linked_people_resource_names] if args.key?(:linked_people_resource_names)
708
- @previous_resource_names = args[:previous_resource_names] if args.key?(:previous_resource_names)
709
- @sources = args[:sources] if args.key?(:sources)
710
- @deleted = args[:deleted] if args.key?(:deleted)
711
- end
712
- end
713
-
714
- # An event related to the person.
715
- class Event
716
- include Google::Apis::Core::Hashable
675
+ # Metadata about a field.
676
+ # Corresponds to the JSON property `metadata`
677
+ # @return [Google::Apis::PeopleV1::FieldMetadata]
678
+ attr_accessor :metadata
717
679
 
718
680
  # Represents a whole calendar date, for example a date of birth. The time
719
681
  # of day and time zone are either specified elsewhere or are not
@@ -733,37 +695,53 @@ module Google
733
695
  # @return [String]
734
696
  attr_accessor :formatted_type
735
697
 
736
- # The type of the event. The type can be custom or predefined.
737
- # Possible values include, but are not limited to, the following:
738
- # * `anniversary`
739
- # * `other`
740
- # Corresponds to the JSON property `type`
741
- # @return [String]
742
- attr_accessor :type
743
-
744
- # Metadata about a field.
745
- # Corresponds to the JSON property `metadata`
746
- # @return [Google::Apis::PeopleV1::FieldMetadata]
747
- attr_accessor :metadata
748
-
749
698
  def initialize(**args)
750
699
  update!(**args)
751
700
  end
752
701
 
753
702
  # Update properties of this object
754
703
  def update!(**args)
755
- @date = args[:date] if args.key?(:date)
756
- @formatted_type = args[:formatted_type] if args.key?(:formatted_type)
757
704
  @type = args[:type] if args.key?(:type)
758
705
  @metadata = args[:metadata] if args.key?(:metadata)
706
+ @date = args[:date] if args.key?(:date)
707
+ @formatted_type = args[:formatted_type] if args.key?(:formatted_type)
759
708
  end
760
709
  end
761
710
 
762
- # The read-only metadata about a profile.
763
- class ProfileMetadata
711
+ # The read-only metadata about a person.
712
+ class PersonMetadata
764
713
  include Google::Apis::Core::Hashable
765
714
 
766
- # The profile object type.
715
+ # Resource names of people linked to this resource.
716
+ # Corresponds to the JSON property `linkedPeopleResourceNames`
717
+ # @return [Array<String>]
718
+ attr_accessor :linked_people_resource_names
719
+
720
+ # Any former resource names this person has had. Populated only for
721
+ # [`connections.list`](/people/api/rest/v1/people.connections/list) requests
722
+ # that include a sync token.
723
+ # The resource name may change when adding or removing fields that link a
724
+ # contact and profile such as a verified email, verified phone number, or
725
+ # profile URL.
726
+ # Corresponds to the JSON property `previousResourceNames`
727
+ # @return [Array<String>]
728
+ attr_accessor :previous_resource_names
729
+
730
+ # The sources of data for the person.
731
+ # Corresponds to the JSON property `sources`
732
+ # @return [Array<Google::Apis::PeopleV1::Source>]
733
+ attr_accessor :sources
734
+
735
+ # True if the person resource has been deleted. Populated only for
736
+ # [`connections.list`](/people/api/rest/v1/people.connections/list) requests
737
+ # that include a sync token.
738
+ # Corresponds to the JSON property `deleted`
739
+ # @return [Boolean]
740
+ attr_accessor :deleted
741
+ alias_method :deleted?, :deleted
742
+
743
+ # **DEPRECATED(Please use person.metadata.sources.profileMetadata instead)**
744
+ # The type of the person object.
767
745
  # Corresponds to the JSON property `objectType`
768
746
  # @return [String]
769
747
  attr_accessor :object_type
@@ -774,35 +752,22 @@ module Google
774
752
 
775
753
  # Update properties of this object
776
754
  def update!(**args)
755
+ @linked_people_resource_names = args[:linked_people_resource_names] if args.key?(:linked_people_resource_names)
756
+ @previous_resource_names = args[:previous_resource_names] if args.key?(:previous_resource_names)
757
+ @sources = args[:sources] if args.key?(:sources)
758
+ @deleted = args[:deleted] if args.key?(:deleted)
777
759
  @object_type = args[:object_type] if args.key?(:object_type)
778
760
  end
779
761
  end
780
762
 
781
- # A person's gender.
782
- class Gender
763
+ # The read-only metadata about a profile.
764
+ class ProfileMetadata
783
765
  include Google::Apis::Core::Hashable
784
766
 
785
- # The read-only value of the gender translated and formatted in the viewer's
786
- # account locale or the `Accept-Language` HTTP header locale.
787
- # Corresponds to the JSON property `formattedValue`
788
- # @return [String]
789
- attr_accessor :formatted_value
790
-
791
- # Metadata about a field.
792
- # Corresponds to the JSON property `metadata`
793
- # @return [Google::Apis::PeopleV1::FieldMetadata]
794
- attr_accessor :metadata
795
-
796
- # The gender for the person. The gender can be custom or predefined.
797
- # Possible values include, but are not limited to, the
798
- # following:
799
- # * `male`
800
- # * `female`
801
- # * `other`
802
- # * `unknown`
803
- # Corresponds to the JSON property `value`
767
+ # The profile object type.
768
+ # Corresponds to the JSON property `objectType`
804
769
  # @return [String]
805
- attr_accessor :value
770
+ attr_accessor :object_type
806
771
 
807
772
  def initialize(**args)
808
773
  update!(**args)
@@ -810,9 +775,7 @@ module Google
810
775
 
811
776
  # Update properties of this object
812
777
  def update!(**args)
813
- @formatted_value = args[:formatted_value] if args.key?(:formatted_value)
814
- @metadata = args[:metadata] if args.key?(:metadata)
815
- @value = args[:value] if args.key?(:value)
778
+ @object_type = args[:object_type] if args.key?(:object_type)
816
779
  end
817
780
  end
818
781
 
@@ -864,16 +827,49 @@ module Google
864
827
  end
865
828
  end
866
829
 
830
+ # A person's gender.
831
+ class Gender
832
+ include Google::Apis::Core::Hashable
833
+
834
+ # The read-only value of the gender translated and formatted in the viewer's
835
+ # account locale or the `Accept-Language` HTTP header locale.
836
+ # Corresponds to the JSON property `formattedValue`
837
+ # @return [String]
838
+ attr_accessor :formatted_value
839
+
840
+ # Metadata about a field.
841
+ # Corresponds to the JSON property `metadata`
842
+ # @return [Google::Apis::PeopleV1::FieldMetadata]
843
+ attr_accessor :metadata
844
+
845
+ # The gender for the person. The gender can be custom or predefined.
846
+ # Possible values include, but are not limited to, the
847
+ # following:
848
+ # * `male`
849
+ # * `female`
850
+ # * `other`
851
+ # * `unknown`
852
+ # Corresponds to the JSON property `value`
853
+ # @return [String]
854
+ attr_accessor :value
855
+
856
+ def initialize(**args)
857
+ update!(**args)
858
+ end
859
+
860
+ # Update properties of this object
861
+ def update!(**args)
862
+ @formatted_value = args[:formatted_value] if args.key?(:formatted_value)
863
+ @metadata = args[:metadata] if args.key?(:metadata)
864
+ @value = args[:value] if args.key?(:value)
865
+ end
866
+ end
867
+
867
868
  # A person's read-only cover photo. A large image shown on the person's
868
869
  # profile page that represents who they are or what they care about.
869
870
  class CoverPhoto
870
871
  include Google::Apis::Core::Hashable
871
872
 
872
- # The URL of the cover photo.
873
- # Corresponds to the JSON property `url`
874
- # @return [String]
875
- attr_accessor :url
876
-
877
873
  # True if the cover photo is the default cover photo;
878
874
  # false if the cover photo is a user-provided cover photo.
879
875
  # Corresponds to the JSON property `default`
@@ -886,15 +882,20 @@ module Google
886
882
  # @return [Google::Apis::PeopleV1::FieldMetadata]
887
883
  attr_accessor :metadata
888
884
 
885
+ # The URL of the cover photo.
886
+ # Corresponds to the JSON property `url`
887
+ # @return [String]
888
+ attr_accessor :url
889
+
889
890
  def initialize(**args)
890
891
  update!(**args)
891
892
  end
892
893
 
893
894
  # Update properties of this object
894
895
  def update!(**args)
895
- @url = args[:url] if args.key?(:url)
896
896
  @default = args[:default] if args.key?(:default)
897
897
  @metadata = args[:metadata] if args.key?(:metadata)
898
+ @url = args[:url] if args.key?(:url)
898
899
  end
899
900
  end
900
901
 
@@ -902,18 +903,6 @@ module Google
902
903
  class ImClient
903
904
  include Google::Apis::Core::Hashable
904
905
 
905
- # The read-only protocol of the IM client formatted in the viewer's account
906
- # locale or the `Accept-Language` HTTP header locale.
907
- # Corresponds to the JSON property `formattedProtocol`
908
- # @return [String]
909
- attr_accessor :formatted_protocol
910
-
911
- # The read-only type of the IM client translated and formatted in the
912
- # viewer's account locale or the `Accept-Language` HTTP header locale.
913
- # Corresponds to the JSON property `formattedType`
914
- # @return [String]
915
- attr_accessor :formatted_type
916
-
917
906
  # Metadata about a field.
918
907
  # Corresponds to the JSON property `metadata`
919
908
  # @return [Google::Apis::PeopleV1::FieldMetadata]
@@ -948,18 +937,30 @@ module Google
948
937
  # @return [String]
949
938
  attr_accessor :username
950
939
 
940
+ # The read-only protocol of the IM client formatted in the viewer's account
941
+ # locale or the `Accept-Language` HTTP header locale.
942
+ # Corresponds to the JSON property `formattedProtocol`
943
+ # @return [String]
944
+ attr_accessor :formatted_protocol
945
+
946
+ # The read-only type of the IM client translated and formatted in the
947
+ # viewer's account locale or the `Accept-Language` HTTP header locale.
948
+ # Corresponds to the JSON property `formattedType`
949
+ # @return [String]
950
+ attr_accessor :formatted_type
951
+
951
952
  def initialize(**args)
952
953
  update!(**args)
953
954
  end
954
955
 
955
956
  # Update properties of this object
956
957
  def update!(**args)
957
- @formatted_protocol = args[:formatted_protocol] if args.key?(:formatted_protocol)
958
- @formatted_type = args[:formatted_type] if args.key?(:formatted_type)
959
958
  @metadata = args[:metadata] if args.key?(:metadata)
960
959
  @type = args[:type] if args.key?(:type)
961
960
  @protocol = args[:protocol] if args.key?(:protocol)
962
961
  @username = args[:username] if args.key?(:username)
962
+ @formatted_protocol = args[:formatted_protocol] if args.key?(:formatted_protocol)
963
+ @formatted_type = args[:formatted_type] if args.key?(:formatted_type)
963
964
  end
964
965
  end
965
966
 
@@ -988,20 +989,11 @@ module Google
988
989
  end
989
990
  end
990
991
 
991
- # A person's email address.
992
- class EmailAddress
992
+ # A person's nickname.
993
+ class Nickname
993
994
  include Google::Apis::Core::Hashable
994
995
 
995
- # The display name of the email.
996
- # Corresponds to the JSON property `displayName`
997
- # @return [String]
998
- attr_accessor :display_name
999
-
1000
- # The type of the email address. The type can be custom or predefined.
1001
- # Possible values include, but are not limited to, the following:
1002
- # * `home`
1003
- # * `work`
1004
- # * `other`
996
+ # The type of the nickname.
1005
997
  # Corresponds to the JSON property `type`
1006
998
  # @return [String]
1007
999
  attr_accessor :type
@@ -1011,36 +1003,32 @@ module Google
1011
1003
  # @return [Google::Apis::PeopleV1::FieldMetadata]
1012
1004
  attr_accessor :metadata
1013
1005
 
1014
- # The email address.
1006
+ # The nickname.
1015
1007
  # Corresponds to the JSON property `value`
1016
1008
  # @return [String]
1017
1009
  attr_accessor :value
1018
1010
 
1019
- # The read-only type of the email address translated and formatted in the
1020
- # viewer's account locale or the `Accept-Language` HTTP header locale.
1021
- # Corresponds to the JSON property `formattedType`
1022
- # @return [String]
1023
- attr_accessor :formatted_type
1024
-
1025
1011
  def initialize(**args)
1026
1012
  update!(**args)
1027
1013
  end
1028
1014
 
1029
1015
  # Update properties of this object
1030
1016
  def update!(**args)
1031
- @display_name = args[:display_name] if args.key?(:display_name)
1032
1017
  @type = args[:type] if args.key?(:type)
1033
1018
  @metadata = args[:metadata] if args.key?(:metadata)
1034
1019
  @value = args[:value] if args.key?(:value)
1035
- @formatted_type = args[:formatted_type] if args.key?(:formatted_type)
1036
1020
  end
1037
1021
  end
1038
1022
 
1039
- # A person's nickname.
1040
- class Nickname
1023
+ # A person's email address.
1024
+ class EmailAddress
1041
1025
  include Google::Apis::Core::Hashable
1042
1026
 
1043
- # The type of the nickname.
1027
+ # The type of the email address. The type can be custom or predefined.
1028
+ # Possible values include, but are not limited to, the following:
1029
+ # * `home`
1030
+ # * `work`
1031
+ # * `other`
1044
1032
  # Corresponds to the JSON property `type`
1045
1033
  # @return [String]
1046
1034
  attr_accessor :type
@@ -1050,11 +1038,22 @@ module Google
1050
1038
  # @return [Google::Apis::PeopleV1::FieldMetadata]
1051
1039
  attr_accessor :metadata
1052
1040
 
1053
- # The nickname.
1041
+ # The email address.
1054
1042
  # Corresponds to the JSON property `value`
1055
1043
  # @return [String]
1056
1044
  attr_accessor :value
1057
1045
 
1046
+ # The read-only type of the email address translated and formatted in the
1047
+ # viewer's account locale or the `Accept-Language` HTTP header locale.
1048
+ # Corresponds to the JSON property `formattedType`
1049
+ # @return [String]
1050
+ attr_accessor :formatted_type
1051
+
1052
+ # The display name of the email.
1053
+ # Corresponds to the JSON property `displayName`
1054
+ # @return [String]
1055
+ attr_accessor :display_name
1056
+
1058
1057
  def initialize(**args)
1059
1058
  update!(**args)
1060
1059
  end
@@ -1064,6 +1063,8 @@ module Google
1064
1063
  @type = args[:type] if args.key?(:type)
1065
1064
  @metadata = args[:metadata] if args.key?(:metadata)
1066
1065
  @value = args[:value] if args.key?(:value)
1066
+ @formatted_type = args[:formatted_type] if args.key?(:formatted_type)
1067
+ @display_name = args[:display_name] if args.key?(:display_name)
1067
1068
  end
1068
1069
  end
1069
1070
 
@@ -1116,6 +1117,11 @@ module Google
1116
1117
  class Membership
1117
1118
  include Google::Apis::Core::Hashable
1118
1119
 
1120
+ # Metadata about a field.
1121
+ # Corresponds to the JSON property `metadata`
1122
+ # @return [Google::Apis::PeopleV1::FieldMetadata]
1123
+ attr_accessor :metadata
1124
+
1119
1125
  # A Google Apps Domain membership.
1120
1126
  # Corresponds to the JSON property `domainMembership`
1121
1127
  # @return [Google::Apis::PeopleV1::DomainMembership]
@@ -1126,20 +1132,15 @@ module Google
1126
1132
  # @return [Google::Apis::PeopleV1::ContactGroupMembership]
1127
1133
  attr_accessor :contact_group_membership
1128
1134
 
1129
- # Metadata about a field.
1130
- # Corresponds to the JSON property `metadata`
1131
- # @return [Google::Apis::PeopleV1::FieldMetadata]
1132
- attr_accessor :metadata
1133
-
1134
1135
  def initialize(**args)
1135
1136
  update!(**args)
1136
1137
  end
1137
1138
 
1138
1139
  # Update properties of this object
1139
1140
  def update!(**args)
1141
+ @metadata = args[:metadata] if args.key?(:metadata)
1140
1142
  @domain_membership = args[:domain_membership] if args.key?(:domain_membership)
1141
1143
  @contact_group_membership = args[:contact_group_membership] if args.key?(:contact_group_membership)
1142
- @metadata = args[:metadata] if args.key?(:metadata)
1143
1144
  end
1144
1145
  end
1145
1146
 
@@ -1196,6 +1197,11 @@ module Google
1196
1197
  class Date
1197
1198
  include Google::Apis::Core::Hashable
1198
1199
 
1200
+ # Month of year. Must be from 1 to 12.
1201
+ # Corresponds to the JSON property `month`
1202
+ # @return [Fixnum]
1203
+ attr_accessor :month
1204
+
1199
1205
  # Day of month. Must be from 1 to 31 and valid for the year and month, or 0
1200
1206
  # if specifying a year/month where the day is not significant.
1201
1207
  # Corresponds to the JSON property `day`
@@ -1208,20 +1214,15 @@ module Google
1208
1214
  # @return [Fixnum]
1209
1215
  attr_accessor :year
1210
1216
 
1211
- # Month of year. Must be from 1 to 12.
1212
- # Corresponds to the JSON property `month`
1213
- # @return [Fixnum]
1214
- attr_accessor :month
1215
-
1216
1217
  def initialize(**args)
1217
1218
  update!(**args)
1218
1219
  end
1219
1220
 
1220
1221
  # Update properties of this object
1221
1222
  def update!(**args)
1223
+ @month = args[:month] if args.key?(:month)
1222
1224
  @day = args[:day] if args.key?(:day)
1223
1225
  @year = args[:year] if args.key?(:year)
1224
- @month = args[:month] if args.key?(:month)
1225
1226
  end
1226
1227
  end
1227
1228
 
@@ -1254,21 +1255,6 @@ module Google
1254
1255
  class Name
1255
1256
  include Google::Apis::Core::Hashable
1256
1257
 
1257
- # The given name.
1258
- # Corresponds to the JSON property `givenName`
1259
- # @return [String]
1260
- attr_accessor :given_name
1261
-
1262
- # The middle name(s).
1263
- # Corresponds to the JSON property `middleName`
1264
- # @return [String]
1265
- attr_accessor :middle_name
1266
-
1267
- # The honorific prefixes spelled as they sound.
1268
- # Corresponds to the JSON property `phoneticHonorificPrefix`
1269
- # @return [String]
1270
- attr_accessor :phonetic_honorific_prefix
1271
-
1272
1258
  # The given name spelled as it sounds.
1273
1259
  # Corresponds to the JSON property `phoneticGivenName`
1274
1260
  # @return [String]
@@ -1282,18 +1268,18 @@ module Google
1282
1268
  # The family name.
1283
1269
  # Corresponds to the JSON property `familyName`
1284
1270
  # @return [String]
1285
- attr_accessor :family_name
1286
-
1287
- # The middle name(s) spelled as they sound.
1288
- # Corresponds to the JSON property `phoneticMiddleName`
1289
- # @return [String]
1290
- attr_accessor :phonetic_middle_name
1271
+ attr_accessor :family_name
1291
1272
 
1292
1273
  # Metadata about a field.
1293
1274
  # Corresponds to the JSON property `metadata`
1294
1275
  # @return [Google::Apis::PeopleV1::FieldMetadata]
1295
1276
  attr_accessor :metadata
1296
1277
 
1278
+ # The middle name(s) spelled as they sound.
1279
+ # Corresponds to the JSON property `phoneticMiddleName`
1280
+ # @return [String]
1281
+ attr_accessor :phonetic_middle_name
1282
+
1297
1283
  # The full name spelled as it sounds.
1298
1284
  # Corresponds to the JSON property `phoneticFullName`
1299
1285
  # @return [String]
@@ -1327,26 +1313,41 @@ module Google
1327
1313
  # @return [String]
1328
1314
  attr_accessor :phonetic_honorific_suffix
1329
1315
 
1316
+ # The middle name(s).
1317
+ # Corresponds to the JSON property `middleName`
1318
+ # @return [String]
1319
+ attr_accessor :middle_name
1320
+
1321
+ # The given name.
1322
+ # Corresponds to the JSON property `givenName`
1323
+ # @return [String]
1324
+ attr_accessor :given_name
1325
+
1326
+ # The honorific prefixes spelled as they sound.
1327
+ # Corresponds to the JSON property `phoneticHonorificPrefix`
1328
+ # @return [String]
1329
+ attr_accessor :phonetic_honorific_prefix
1330
+
1330
1331
  def initialize(**args)
1331
1332
  update!(**args)
1332
1333
  end
1333
1334
 
1334
1335
  # Update properties of this object
1335
1336
  def update!(**args)
1336
- @given_name = args[:given_name] if args.key?(:given_name)
1337
- @middle_name = args[:middle_name] if args.key?(:middle_name)
1338
- @phonetic_honorific_prefix = args[:phonetic_honorific_prefix] if args.key?(:phonetic_honorific_prefix)
1339
1337
  @phonetic_given_name = args[:phonetic_given_name] if args.key?(:phonetic_given_name)
1340
1338
  @phonetic_family_name = args[:phonetic_family_name] if args.key?(:phonetic_family_name)
1341
1339
  @family_name = args[:family_name] if args.key?(:family_name)
1342
- @phonetic_middle_name = args[:phonetic_middle_name] if args.key?(:phonetic_middle_name)
1343
1340
  @metadata = args[:metadata] if args.key?(:metadata)
1341
+ @phonetic_middle_name = args[:phonetic_middle_name] if args.key?(:phonetic_middle_name)
1344
1342
  @phonetic_full_name = args[:phonetic_full_name] if args.key?(:phonetic_full_name)
1345
1343
  @display_name_last_first = args[:display_name_last_first] if args.key?(:display_name_last_first)
1346
1344
  @display_name = args[:display_name] if args.key?(:display_name)
1347
1345
  @honorific_suffix = args[:honorific_suffix] if args.key?(:honorific_suffix)
1348
1346
  @honorific_prefix = args[:honorific_prefix] if args.key?(:honorific_prefix)
1349
1347
  @phonetic_honorific_suffix = args[:phonetic_honorific_suffix] if args.key?(:phonetic_honorific_suffix)
1348
+ @middle_name = args[:middle_name] if args.key?(:middle_name)
1349
+ @given_name = args[:given_name] if args.key?(:given_name)
1350
+ @phonetic_honorific_prefix = args[:phonetic_honorific_prefix] if args.key?(:phonetic_honorific_prefix)
1350
1351
  end
1351
1352
  end
1352
1353
 
@@ -1406,56 +1407,6 @@ module Google
1406
1407
  class Organization
1407
1408
  include Google::Apis::Core::Hashable
1408
1409
 
1409
- # The person's job title at the organization.
1410
- # Corresponds to the JSON property `title`
1411
- # @return [String]
1412
- attr_accessor :title
1413
-
1414
- # The location of the organization office the person works at.
1415
- # Corresponds to the JSON property `location`
1416
- # @return [String]
1417
- attr_accessor :location
1418
-
1419
- # True if the organization is the person's current organization;
1420
- # false if the organization is a past organization.
1421
- # Corresponds to the JSON property `current`
1422
- # @return [Boolean]
1423
- attr_accessor :current
1424
- alias_method :current?, :current
1425
-
1426
- # The read-only type of the organization translated and formatted in the
1427
- # viewer's account locale or the `Accept-Language` HTTP header locale.
1428
- # Corresponds to the JSON property `formattedType`
1429
- # @return [String]
1430
- attr_accessor :formatted_type
1431
-
1432
- # Represents a whole calendar date, for example a date of birth. The time
1433
- # of day and time zone are either specified elsewhere or are not
1434
- # significant. The date is relative to the
1435
- # [Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/
1436
- # Proleptic_Gregorian_calendar).
1437
- # The day may be 0 to represent a year and month where the day is not
1438
- # significant. The year may be 0 to represent a month and day independent
1439
- # of year; for example, anniversary date.
1440
- # Corresponds to the JSON property `startDate`
1441
- # @return [Google::Apis::PeopleV1::Date]
1442
- attr_accessor :start_date
1443
-
1444
- # The domain name associated with the organization; for example, `google.com`.
1445
- # Corresponds to the JSON property `domain`
1446
- # @return [String]
1447
- attr_accessor :domain
1448
-
1449
- # The person's department at the organization.
1450
- # Corresponds to the JSON property `department`
1451
- # @return [String]
1452
- attr_accessor :department
1453
-
1454
- # The phonetic name of the organization.
1455
- # Corresponds to the JSON property `phoneticName`
1456
- # @return [String]
1457
- attr_accessor :phonetic_name
1458
-
1459
1410
  # The type of the organization. The type can be custom or predefined.
1460
1411
  # Possible values include, but are not limited to, the following:
1461
1412
  # * `work`
@@ -1464,6 +1415,11 @@ module Google
1464
1415
  # @return [String]
1465
1416
  attr_accessor :type
1466
1417
 
1418
+ # The phonetic name of the organization.
1419
+ # Corresponds to the JSON property `phoneticName`
1420
+ # @return [String]
1421
+ attr_accessor :phonetic_name
1422
+
1467
1423
  # The person's job description at the organization.
1468
1424
  # Corresponds to the JSON property `jobDescription`
1469
1425
  # @return [String]
@@ -1497,26 +1453,71 @@ module Google
1497
1453
  # @return [Google::Apis::PeopleV1::FieldMetadata]
1498
1454
  attr_accessor :metadata
1499
1455
 
1456
+ # The location of the organization office the person works at.
1457
+ # Corresponds to the JSON property `location`
1458
+ # @return [String]
1459
+ attr_accessor :location
1460
+
1461
+ # The person's job title at the organization.
1462
+ # Corresponds to the JSON property `title`
1463
+ # @return [String]
1464
+ attr_accessor :title
1465
+
1466
+ # True if the organization is the person's current organization;
1467
+ # false if the organization is a past organization.
1468
+ # Corresponds to the JSON property `current`
1469
+ # @return [Boolean]
1470
+ attr_accessor :current
1471
+ alias_method :current?, :current
1472
+
1473
+ # Represents a whole calendar date, for example a date of birth. The time
1474
+ # of day and time zone are either specified elsewhere or are not
1475
+ # significant. The date is relative to the
1476
+ # [Proleptic Gregorian Calendar](https://en.wikipedia.org/wiki/
1477
+ # Proleptic_Gregorian_calendar).
1478
+ # The day may be 0 to represent a year and month where the day is not
1479
+ # significant. The year may be 0 to represent a month and day independent
1480
+ # of year; for example, anniversary date.
1481
+ # Corresponds to the JSON property `startDate`
1482
+ # @return [Google::Apis::PeopleV1::Date]
1483
+ attr_accessor :start_date
1484
+
1485
+ # The read-only type of the organization translated and formatted in the
1486
+ # viewer's account locale or the `Accept-Language` HTTP header locale.
1487
+ # Corresponds to the JSON property `formattedType`
1488
+ # @return [String]
1489
+ attr_accessor :formatted_type
1490
+
1491
+ # The domain name associated with the organization; for example, `google.com`.
1492
+ # Corresponds to the JSON property `domain`
1493
+ # @return [String]
1494
+ attr_accessor :domain
1495
+
1496
+ # The person's department at the organization.
1497
+ # Corresponds to the JSON property `department`
1498
+ # @return [String]
1499
+ attr_accessor :department
1500
+
1500
1501
  def initialize(**args)
1501
1502
  update!(**args)
1502
1503
  end
1503
1504
 
1504
1505
  # Update properties of this object
1505
1506
  def update!(**args)
1506
- @title = args[:title] if args.key?(:title)
1507
- @location = args[:location] if args.key?(:location)
1508
- @current = args[:current] if args.key?(:current)
1509
- @formatted_type = args[:formatted_type] if args.key?(:formatted_type)
1510
- @start_date = args[:start_date] if args.key?(:start_date)
1511
- @domain = args[:domain] if args.key?(:domain)
1512
- @department = args[:department] if args.key?(:department)
1513
- @phonetic_name = args[:phonetic_name] if args.key?(:phonetic_name)
1514
1507
  @type = args[:type] if args.key?(:type)
1508
+ @phonetic_name = args[:phonetic_name] if args.key?(:phonetic_name)
1515
1509
  @job_description = args[:job_description] if args.key?(:job_description)
1516
1510
  @end_date = args[:end_date] if args.key?(:end_date)
1517
1511
  @symbol = args[:symbol] if args.key?(:symbol)
1518
1512
  @name = args[:name] if args.key?(:name)
1519
1513
  @metadata = args[:metadata] if args.key?(:metadata)
1514
+ @location = args[:location] if args.key?(:location)
1515
+ @title = args[:title] if args.key?(:title)
1516
+ @current = args[:current] if args.key?(:current)
1517
+ @start_date = args[:start_date] if args.key?(:start_date)
1518
+ @formatted_type = args[:formatted_type] if args.key?(:formatted_type)
1519
+ @domain = args[:domain] if args.key?(:domain)
1520
+ @department = args[:department] if args.key?(:department)
1520
1521
  end
1521
1522
  end
1522
1523
 
@@ -1555,24 +1556,24 @@ module Google
1555
1556
  class AgeRangeType
1556
1557
  include Google::Apis::Core::Hashable
1557
1558
 
1558
- # Metadata about a field.
1559
- # Corresponds to the JSON property `metadata`
1560
- # @return [Google::Apis::PeopleV1::FieldMetadata]
1561
- attr_accessor :metadata
1562
-
1563
1559
  # The age range.
1564
1560
  # Corresponds to the JSON property `ageRange`
1565
1561
  # @return [String]
1566
1562
  attr_accessor :age_range
1567
1563
 
1564
+ # Metadata about a field.
1565
+ # Corresponds to the JSON property `metadata`
1566
+ # @return [Google::Apis::PeopleV1::FieldMetadata]
1567
+ attr_accessor :metadata
1568
+
1568
1569
  def initialize(**args)
1569
1570
  update!(**args)
1570
1571
  end
1571
1572
 
1572
1573
  # Update properties of this object
1573
1574
  def update!(**args)
1574
- @metadata = args[:metadata] if args.key?(:metadata)
1575
1575
  @age_range = args[:age_range] if args.key?(:age_range)
1576
+ @metadata = args[:metadata] if args.key?(:metadata)
1576
1577
  end
1577
1578
  end
1578
1579
 
@@ -1616,15 +1617,6 @@ module Google
1616
1617
  class PersonResponse
1617
1618
  include Google::Apis::Core::Hashable
1618
1619
 
1619
- # Information about a person merged from various data sources such as the
1620
- # authenticated user's contacts and profile data.
1621
- # Most fields can have multiple items. The items in a field have no guaranteed
1622
- # order, but each non-empty field is guaranteed to have exactly one field with
1623
- # `metadata.primary` set to true.
1624
- # Corresponds to the JSON property `person`
1625
- # @return [Google::Apis::PeopleV1::Person]
1626
- attr_accessor :person
1627
-
1628
1620
  # The `Status` type defines a logical error model that is suitable for different
1629
1621
  # programming environments, including REST APIs and RPC APIs. It is used by
1630
1622
  # [gRPC](https://github.com/grpc). The error model is designed to be:
@@ -1684,16 +1676,64 @@ module Google
1684
1676
  # @return [String]
1685
1677
  attr_accessor :requested_resource_name
1686
1678
 
1679
+ # Information about a person merged from various data sources such as the
1680
+ # authenticated user's contacts and profile data.
1681
+ # Most fields can have multiple items. The items in a field have no guaranteed
1682
+ # order, but each non-empty field is guaranteed to have exactly one field with
1683
+ # `metadata.primary` set to true.
1684
+ # Corresponds to the JSON property `person`
1685
+ # @return [Google::Apis::PeopleV1::Person]
1686
+ attr_accessor :person
1687
+
1687
1688
  def initialize(**args)
1688
1689
  update!(**args)
1689
1690
  end
1690
1691
 
1691
1692
  # Update properties of this object
1692
1693
  def update!(**args)
1693
- @person = args[:person] if args.key?(:person)
1694
1694
  @status = args[:status] if args.key?(:status)
1695
1695
  @http_status_code = args[:http_status_code] if args.key?(:http_status_code)
1696
1696
  @requested_resource_name = args[:requested_resource_name] if args.key?(:requested_resource_name)
1697
+ @person = args[:person] if args.key?(:person)
1698
+ end
1699
+ end
1700
+
1701
+ # A person's read-only relationship interest .
1702
+ class RelationshipInterest
1703
+ include Google::Apis::Core::Hashable
1704
+
1705
+ # Metadata about a field.
1706
+ # Corresponds to the JSON property `metadata`
1707
+ # @return [Google::Apis::PeopleV1::FieldMetadata]
1708
+ attr_accessor :metadata
1709
+
1710
+ # The kind of relationship the person is looking for. The value can be custom
1711
+ # or predefined. Possible values include, but are not limited to, the
1712
+ # following values:
1713
+ # * `friend`
1714
+ # * `date`
1715
+ # * `relationship`
1716
+ # * `networking`
1717
+ # Corresponds to the JSON property `value`
1718
+ # @return [String]
1719
+ attr_accessor :value
1720
+
1721
+ # The value of the relationship interest translated and formatted in the
1722
+ # viewer's account locale or the locale specified in the Accept-Language
1723
+ # HTTP header.
1724
+ # Corresponds to the JSON property `formattedValue`
1725
+ # @return [String]
1726
+ attr_accessor :formatted_value
1727
+
1728
+ def initialize(**args)
1729
+ update!(**args)
1730
+ end
1731
+
1732
+ # Update properties of this object
1733
+ def update!(**args)
1734
+ @metadata = args[:metadata] if args.key?(:metadata)
1735
+ @value = args[:value] if args.key?(:value)
1736
+ @formatted_value = args[:formatted_value] if args.key?(:formatted_value)
1697
1737
  end
1698
1738
  end
1699
1739
 
@@ -1736,45 +1776,6 @@ module Google
1736
1776
  end
1737
1777
  end
1738
1778
 
1739
- # A person's read-only relationship interest .
1740
- class RelationshipInterest
1741
- include Google::Apis::Core::Hashable
1742
-
1743
- # The value of the relationship interest translated and formatted in the
1744
- # viewer's account locale or the locale specified in the Accept-Language
1745
- # HTTP header.
1746
- # Corresponds to the JSON property `formattedValue`
1747
- # @return [String]
1748
- attr_accessor :formatted_value
1749
-
1750
- # Metadata about a field.
1751
- # Corresponds to the JSON property `metadata`
1752
- # @return [Google::Apis::PeopleV1::FieldMetadata]
1753
- attr_accessor :metadata
1754
-
1755
- # The kind of relationship the person is looking for. The value can be custom
1756
- # or predefined. Possible values include, but are not limited to, the
1757
- # following values:
1758
- # * `friend`
1759
- # * `date`
1760
- # * `relationship`
1761
- # * `networking`
1762
- # Corresponds to the JSON property `value`
1763
- # @return [String]
1764
- attr_accessor :value
1765
-
1766
- def initialize(**args)
1767
- update!(**args)
1768
- end
1769
-
1770
- # Update properties of this object
1771
- def update!(**args)
1772
- @formatted_value = args[:formatted_value] if args.key?(:formatted_value)
1773
- @metadata = args[:metadata] if args.key?(:metadata)
1774
- @value = args[:value] if args.key?(:value)
1775
- end
1776
- end
1777
-
1778
1779
  # A person's relation to another person.
1779
1780
  class Relation
1780
1781
  include Google::Apis::Core::Hashable