lemboy-google-api-client 0.9.26

Sign up to get free protection for your applications and to get access to all the features.
Files changed (555) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +20 -0
  3. data/.rspec +2 -0
  4. data/.rubocop.yml +7 -0
  5. data/.rubocop_todo.yml +63 -0
  6. data/.travis.yml +27 -0
  7. data/.yardopts +12 -0
  8. data/CHANGELOG.md +309 -0
  9. data/CONTRIBUTING.md +31 -0
  10. data/Gemfile +53 -0
  11. data/LICENSE +202 -0
  12. data/MIGRATING.md +171 -0
  13. data/README.md +327 -0
  14. data/Rakefile +2 -0
  15. data/api_names.yaml +36215 -0
  16. data/bin/generate-api +109 -0
  17. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +35 -0
  18. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +298 -0
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +122 -0
  20. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +458 -0
  21. data/generated/google/apis/adexchangebuyer_v1_3.rb +35 -0
  22. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +1335 -0
  23. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +446 -0
  24. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +872 -0
  25. data/generated/google/apis/adexchangebuyer_v1_4.rb +35 -0
  26. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +3550 -0
  27. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1421 -0
  28. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +1538 -0
  29. data/generated/google/apis/adexchangeseller_v2_0.rb +37 -0
  30. data/generated/google/apis/adexchangeseller_v2_0/classes.rb +792 -0
  31. data/generated/google/apis/adexchangeseller_v2_0/representations.rb +347 -0
  32. data/generated/google/apis/adexchangeseller_v2_0/service.rb +667 -0
  33. data/generated/google/apis/admin_datatransfer_v1.rb +37 -0
  34. data/generated/google/apis/admin_datatransfer_v1/classes.rb +267 -0
  35. data/generated/google/apis/admin_datatransfer_v1/representations.rb +130 -0
  36. data/generated/google/apis/admin_datatransfer_v1/service.rb +262 -0
  37. data/generated/google/apis/admin_directory_v1.rb +113 -0
  38. data/generated/google/apis/admin_directory_v1/classes.rb +3241 -0
  39. data/generated/google/apis/admin_directory_v1/representations.rb +1172 -0
  40. data/generated/google/apis/admin_directory_v1/service.rb +3857 -0
  41. data/generated/google/apis/admin_reports_v1.rb +38 -0
  42. data/generated/google/apis/admin_reports_v1/classes.rb +582 -0
  43. data/generated/google/apis/admin_reports_v1/representations.rb +257 -0
  44. data/generated/google/apis/admin_reports_v1/service.rb +336 -0
  45. data/generated/google/apis/adsense_v1_4.rb +37 -0
  46. data/generated/google/apis/adsense_v1_4/classes.rb +1280 -0
  47. data/generated/google/apis/adsense_v1_4/representations.rb +555 -0
  48. data/generated/google/apis/adsense_v1_4/service.rb +1713 -0
  49. data/generated/google/apis/adsensehost_v4_1.rb +35 -0
  50. data/generated/google/apis/adsensehost_v4_1/classes.rb +836 -0
  51. data/generated/google/apis/adsensehost_v4_1/representations.rb +367 -0
  52. data/generated/google/apis/adsensehost_v4_1/service.rb +1164 -0
  53. data/generated/google/apis/analytics_v3.rb +49 -0
  54. data/generated/google/apis/analytics_v3/classes.rb +5536 -0
  55. data/generated/google/apis/analytics_v3/representations.rb +1992 -0
  56. data/generated/google/apis/analytics_v3/service.rb +3785 -0
  57. data/generated/google/apis/analyticsreporting_v4.rb +37 -0
  58. data/generated/google/apis/analyticsreporting_v4/classes.rb +1420 -0
  59. data/generated/google/apis/analyticsreporting_v4/representations.rb +598 -0
  60. data/generated/google/apis/analyticsreporting_v4/service.rb +88 -0
  61. data/generated/google/apis/androidenterprise_v1.rb +34 -0
  62. data/generated/google/apis/androidenterprise_v1/classes.rb +2250 -0
  63. data/generated/google/apis/androidenterprise_v1/representations.rb +970 -0
  64. data/generated/google/apis/androidenterprise_v1/service.rb +3267 -0
  65. data/generated/google/apis/androidpublisher_v2.rb +34 -0
  66. data/generated/google/apis/androidpublisher_v2/classes.rb +1941 -0
  67. data/generated/google/apis/androidpublisher_v2/representations.rb +975 -0
  68. data/generated/google/apis/androidpublisher_v2/service.rb +2572 -0
  69. data/generated/google/apis/appengine_v1beta4.rb +35 -0
  70. data/generated/google/apis/appengine_v1beta4/classes.rb +1585 -0
  71. data/generated/google/apis/appengine_v1beta4/representations.rb +542 -0
  72. data/generated/google/apis/appengine_v1beta4/service.rb +477 -0
  73. data/generated/google/apis/appengine_v1beta5.rb +40 -0
  74. data/generated/google/apis/appengine_v1beta5/classes.rb +1984 -0
  75. data/generated/google/apis/appengine_v1beta5/representations.rb +765 -0
  76. data/generated/google/apis/appengine_v1beta5/service.rb +864 -0
  77. data/generated/google/apis/appsactivity_v1.rb +46 -0
  78. data/generated/google/apis/appsactivity_v1/classes.rb +415 -0
  79. data/generated/google/apis/appsactivity_v1/representations.rb +209 -0
  80. data/generated/google/apis/appsactivity_v1/service.rb +128 -0
  81. data/generated/google/apis/appstate_v1.rb +34 -0
  82. data/generated/google/apis/appstate_v1/classes.rb +154 -0
  83. data/generated/google/apis/appstate_v1/representations.rb +87 -0
  84. data/generated/google/apis/appstate_v1/service.rb +260 -0
  85. data/generated/google/apis/autoscaler_v1beta2.rb +38 -0
  86. data/generated/google/apis/autoscaler_v1beta2/classes.rb +710 -0
  87. data/generated/google/apis/autoscaler_v1beta2/representations.rb +296 -0
  88. data/generated/google/apis/autoscaler_v1beta2/service.rb +478 -0
  89. data/generated/google/apis/bigquery_v2.rb +52 -0
  90. data/generated/google/apis/bigquery_v2/classes.rb +3081 -0
  91. data/generated/google/apis/bigquery_v2/representations.rb +1094 -0
  92. data/generated/google/apis/bigquery_v2/service.rb +988 -0
  93. data/generated/google/apis/blogger_v3.rb +37 -0
  94. data/generated/google/apis/blogger_v3/classes.rb +1354 -0
  95. data/generated/google/apis/blogger_v3/representations.rb +632 -0
  96. data/generated/google/apis/blogger_v3/service.rb +1587 -0
  97. data/generated/google/apis/books_v1.rb +34 -0
  98. data/generated/google/apis/books_v1/classes.rb +4160 -0
  99. data/generated/google/apis/books_v1/representations.rb +1799 -0
  100. data/generated/google/apis/books_v1/service.rb +2300 -0
  101. data/generated/google/apis/calendar_v3.rb +37 -0
  102. data/generated/google/apis/calendar_v3/classes.rb +1742 -0
  103. data/generated/google/apis/calendar_v3/representations.rb +631 -0
  104. data/generated/google/apis/calendar_v3/service.rb +1968 -0
  105. data/generated/google/apis/civicinfo_v2.rb +32 -0
  106. data/generated/google/apis/civicinfo_v2/classes.rb +1499 -0
  107. data/generated/google/apis/civicinfo_v2/representations.rb +572 -0
  108. data/generated/google/apis/civicinfo_v2/service.rb +300 -0
  109. data/generated/google/apis/classroom_v1.rb +70 -0
  110. data/generated/google/apis/classroom_v1/classes.rb +1572 -0
  111. data/generated/google/apis/classroom_v1/representations.rb +729 -0
  112. data/generated/google/apis/classroom_v1/service.rb +1945 -0
  113. data/generated/google/apis/classroom_v1beta1.rb +49 -0
  114. data/generated/google/apis/classroom_v1beta1/classes.rb +447 -0
  115. data/generated/google/apis/classroom_v1beta1/representations.rb +190 -0
  116. data/generated/google/apis/classroom_v1beta1/service.rb +791 -0
  117. data/generated/google/apis/cloudbilling_v1.rb +35 -0
  118. data/generated/google/apis/cloudbilling_v1/classes.rb +169 -0
  119. data/generated/google/apis/cloudbilling_v1/representations.rb +87 -0
  120. data/generated/google/apis/cloudbilling_v1/service.rb +258 -0
  121. data/generated/google/apis/cloudbuild_v1.rb +34 -0
  122. data/generated/google/apis/cloudbuild_v1/classes.rb +919 -0
  123. data/generated/google/apis/cloudbuild_v1/representations.rb +364 -0
  124. data/generated/google/apis/cloudbuild_v1/service.rb +492 -0
  125. data/generated/google/apis/clouddebugger_v2.rb +38 -0
  126. data/generated/google/apis/clouddebugger_v2/classes.rb +1081 -0
  127. data/generated/google/apis/clouddebugger_v2/representations.rb +465 -0
  128. data/generated/google/apis/clouddebugger_v2/service.rb +396 -0
  129. data/generated/google/apis/cloudkms_v1beta1.rb +34 -0
  130. data/generated/google/apis/cloudkms_v1beta1/classes.rb +999 -0
  131. data/generated/google/apis/cloudkms_v1beta1/representations.rb +448 -0
  132. data/generated/google/apis/cloudkms_v1beta1/service.rb +932 -0
  133. data/generated/google/apis/cloudlatencytest_v2.rb +34 -0
  134. data/generated/google/apis/cloudlatencytest_v2/classes.rb +195 -0
  135. data/generated/google/apis/cloudlatencytest_v2/representations.rb +127 -0
  136. data/generated/google/apis/cloudlatencytest_v2/service.rb +135 -0
  137. data/generated/google/apis/cloudmonitoring_v2beta2.rb +37 -0
  138. data/generated/google/apis/cloudmonitoring_v2beta2/classes.rb +679 -0
  139. data/generated/google/apis/cloudmonitoring_v2beta2/representations.rb +353 -0
  140. data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +452 -0
  141. data/generated/google/apis/cloudresourcemanager_v1.rb +38 -0
  142. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +886 -0
  143. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +359 -0
  144. data/generated/google/apis/cloudresourcemanager_v1/service.rb +686 -0
  145. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +38 -0
  146. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +682 -0
  147. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +312 -0
  148. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +710 -0
  149. data/generated/google/apis/cloudtrace_v1.rb +43 -0
  150. data/generated/google/apis/cloudtrace_v1/classes.rb +188 -0
  151. data/generated/google/apis/cloudtrace_v1/representations.rb +102 -0
  152. data/generated/google/apis/cloudtrace_v1/service.rb +192 -0
  153. data/generated/google/apis/clouduseraccounts_beta.rb +44 -0
  154. data/generated/google/apis/clouduseraccounts_beta/classes.rb +845 -0
  155. data/generated/google/apis/clouduseraccounts_beta/representations.rb +352 -0
  156. data/generated/google/apis/clouduseraccounts_beta/service.rb +907 -0
  157. data/generated/google/apis/compute_beta.rb +49 -0
  158. data/generated/google/apis/compute_beta/classes.rb +12261 -0
  159. data/generated/google/apis/compute_beta/representations.rb +4615 -0
  160. data/generated/google/apis/compute_beta/service.rb +15330 -0
  161. data/generated/google/apis/compute_v1.rb +49 -0
  162. data/generated/google/apis/compute_v1/classes.rb +11179 -0
  163. data/generated/google/apis/compute_v1/representations.rb +4203 -0
  164. data/generated/google/apis/compute_v1/service.rb +12937 -0
  165. data/generated/google/apis/container_v1.rb +35 -0
  166. data/generated/google/apis/container_v1/classes.rb +1040 -0
  167. data/generated/google/apis/container_v1/representations.rb +415 -0
  168. data/generated/google/apis/container_v1/service.rb +659 -0
  169. data/generated/google/apis/container_v1beta1.rb +35 -0
  170. data/generated/google/apis/container_v1beta1/classes.rb +466 -0
  171. data/generated/google/apis/container_v1beta1/representations.rb +177 -0
  172. data/generated/google/apis/container_v1beta1/service.rb +394 -0
  173. data/generated/google/apis/content_v2.rb +35 -0
  174. data/generated/google/apis/content_v2/classes.rb +6887 -0
  175. data/generated/google/apis/content_v2/representations.rb +2963 -0
  176. data/generated/google/apis/content_v2/service.rb +2653 -0
  177. data/generated/google/apis/coordinate_v1.rb +37 -0
  178. data/generated/google/apis/coordinate_v1/classes.rb +669 -0
  179. data/generated/google/apis/coordinate_v1/representations.rb +321 -0
  180. data/generated/google/apis/coordinate_v1/service.rb +678 -0
  181. data/generated/google/apis/customsearch_v1.rb +31 -0
  182. data/generated/google/apis/customsearch_v1/classes.rb +771 -0
  183. data/generated/google/apis/customsearch_v1/representations.rb +302 -0
  184. data/generated/google/apis/customsearch_v1/service.rb +207 -0
  185. data/generated/google/apis/dataflow_v1b3.rb +37 -0
  186. data/generated/google/apis/dataflow_v1b3/classes.rb +4225 -0
  187. data/generated/google/apis/dataflow_v1b3/representations.rb +1809 -0
  188. data/generated/google/apis/dataflow_v1b3/service.rb +874 -0
  189. data/generated/google/apis/dataproc_v1.rb +34 -0
  190. data/generated/google/apis/dataproc_v1/classes.rb +1716 -0
  191. data/generated/google/apis/dataproc_v1/representations.rb +678 -0
  192. data/generated/google/apis/dataproc_v1/service.rb +670 -0
  193. data/generated/google/apis/datastore_v1.rb +38 -0
  194. data/generated/google/apis/datastore_v1/classes.rb +1289 -0
  195. data/generated/google/apis/datastore_v1/representations.rb +572 -0
  196. data/generated/google/apis/datastore_v1/service.rb +259 -0
  197. data/generated/google/apis/datastore_v1beta2.rb +40 -0
  198. data/generated/google/apis/datastore_v1beta2/classes.rb +1186 -0
  199. data/generated/google/apis/datastore_v1beta2/representations.rb +594 -0
  200. data/generated/google/apis/datastore_v1beta2/service.rb +294 -0
  201. data/generated/google/apis/datastore_v1beta3.rb +38 -0
  202. data/generated/google/apis/datastore_v1beta3/classes.rb +1284 -0
  203. data/generated/google/apis/datastore_v1beta3/representations.rb +572 -0
  204. data/generated/google/apis/datastore_v1beta3/service.rb +259 -0
  205. data/generated/google/apis/deploymentmanager_v2.rb +43 -0
  206. data/generated/google/apis/deploymentmanager_v2/classes.rb +1582 -0
  207. data/generated/google/apis/deploymentmanager_v2/representations.rb +686 -0
  208. data/generated/google/apis/deploymentmanager_v2/service.rb +1026 -0
  209. data/generated/google/apis/deploymentmanager_v2beta2.rb +44 -0
  210. data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +843 -0
  211. data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +306 -0
  212. data/generated/google/apis/deploymentmanager_v2beta2/service.rb +689 -0
  213. data/generated/google/apis/dfareporting_v2_1.rb +37 -0
  214. data/generated/google/apis/dfareporting_v2_1/classes.rb +10770 -0
  215. data/generated/google/apis/dfareporting_v2_1/representations.rb +3438 -0
  216. data/generated/google/apis/dfareporting_v2_1/service.rb +8585 -0
  217. data/generated/google/apis/dfareporting_v2_3.rb +37 -0
  218. data/generated/google/apis/dfareporting_v2_3/classes.rb +10839 -0
  219. data/generated/google/apis/dfareporting_v2_3/representations.rb +3829 -0
  220. data/generated/google/apis/dfareporting_v2_3/service.rb +8581 -0
  221. data/generated/google/apis/dfareporting_v2_5.rb +40 -0
  222. data/generated/google/apis/dfareporting_v2_5/classes.rb +11225 -0
  223. data/generated/google/apis/dfareporting_v2_5/representations.rb +3982 -0
  224. data/generated/google/apis/dfareporting_v2_5/service.rb +8755 -0
  225. data/generated/google/apis/dfareporting_v2_6.rb +40 -0
  226. data/generated/google/apis/dfareporting_v2_6/classes.rb +11586 -0
  227. data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
  228. data/generated/google/apis/dfareporting_v2_6/service.rb +9025 -0
  229. data/generated/google/apis/dfareporting_v2_7.rb +40 -0
  230. data/generated/google/apis/dfareporting_v2_7/classes.rb +11876 -0
  231. data/generated/google/apis/dfareporting_v2_7/representations.rb +4243 -0
  232. data/generated/google/apis/dfareporting_v2_7/service.rb +9095 -0
  233. data/generated/google/apis/discovery_v1.rb +32 -0
  234. data/generated/google/apis/discovery_v1/classes.rb +961 -0
  235. data/generated/google/apis/discovery_v1/representations.rb +397 -0
  236. data/generated/google/apis/discovery_v1/service.rb +142 -0
  237. data/generated/google/apis/dns_v1.rb +43 -0
  238. data/generated/google/apis/dns_v1/classes.rb +406 -0
  239. data/generated/google/apis/dns_v1/representations.rb +167 -0
  240. data/generated/google/apis/dns_v1/service.rb +453 -0
  241. data/generated/google/apis/dns_v2beta1.rb +43 -0
  242. data/generated/google/apis/dns_v2beta1/classes.rb +915 -0
  243. data/generated/google/apis/dns_v2beta1/representations.rb +368 -0
  244. data/generated/google/apis/dns_v2beta1/service.rb +768 -0
  245. data/generated/google/apis/doubleclickbidmanager_v1.rb +31 -0
  246. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +795 -0
  247. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +368 -0
  248. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +376 -0
  249. data/generated/google/apis/doubleclicksearch_v2.rb +35 -0
  250. data/generated/google/apis/doubleclicksearch_v2/classes.rb +960 -0
  251. data/generated/google/apis/doubleclicksearch_v2/representations.rb +350 -0
  252. data/generated/google/apis/doubleclicksearch_v2/service.rb +480 -0
  253. data/generated/google/apis/drive_v2.rb +59 -0
  254. data/generated/google/apis/drive_v2/classes.rb +2633 -0
  255. data/generated/google/apis/drive_v2/representations.rb +885 -0
  256. data/generated/google/apis/drive_v2/service.rb +2754 -0
  257. data/generated/google/apis/drive_v3.rb +56 -0
  258. data/generated/google/apis/drive_v3/classes.rb +1611 -0
  259. data/generated/google/apis/drive_v3/representations.rb +555 -0
  260. data/generated/google/apis/drive_v3/service.rb +1553 -0
  261. data/generated/google/apis/fitness_v1.rb +85 -0
  262. data/generated/google/apis/fitness_v1/classes.rb +943 -0
  263. data/generated/google/apis/fitness_v1/representations.rb +380 -0
  264. data/generated/google/apis/fitness_v1/service.rb +674 -0
  265. data/generated/google/apis/fusiontables_v2.rb +37 -0
  266. data/generated/google/apis/fusiontables_v2/classes.rb +1049 -0
  267. data/generated/google/apis/fusiontables_v2/representations.rb +457 -0
  268. data/generated/google/apis/fusiontables_v2/service.rb +1463 -0
  269. data/generated/google/apis/games_configuration_v1configuration.rb +34 -0
  270. data/generated/google/apis/games_configuration_v1configuration/classes.rb +506 -0
  271. data/generated/google/apis/games_configuration_v1configuration/representations.rb +228 -0
  272. data/generated/google/apis/games_configuration_v1configuration/service.rb +565 -0
  273. data/generated/google/apis/games_management_v1management.rb +37 -0
  274. data/generated/google/apis/games_management_v1management/classes.rb +567 -0
  275. data/generated/google/apis/games_management_v1management/representations.rb +278 -0
  276. data/generated/google/apis/games_management_v1management/service.rb +994 -0
  277. data/generated/google/apis/games_v1.rb +40 -0
  278. data/generated/google/apis/games_v1/classes.rb +4667 -0
  279. data/generated/google/apis/games_v1/representations.rb +1800 -0
  280. data/generated/google/apis/games_v1/service.rb +2449 -0
  281. data/generated/google/apis/gan_v1beta1.rb +31 -0
  282. data/generated/google/apis/gan_v1beta1/classes.rb +1428 -0
  283. data/generated/google/apis/gan_v1beta1/representations.rb +462 -0
  284. data/generated/google/apis/gan_v1beta1/service.rb +682 -0
  285. data/generated/google/apis/genomics_v1.rb +46 -0
  286. data/generated/google/apis/genomics_v1/classes.rb +3477 -0
  287. data/generated/google/apis/genomics_v1/representations.rb +1284 -0
  288. data/generated/google/apis/genomics_v1/service.rb +2207 -0
  289. data/generated/google/apis/genomics_v1beta2.rb +46 -0
  290. data/generated/google/apis/genomics_v1beta2/classes.rb +3288 -0
  291. data/generated/google/apis/genomics_v1beta2/representations.rb +1194 -0
  292. data/generated/google/apis/genomics_v1beta2/service.rb +2392 -0
  293. data/generated/google/apis/gmail_v1.rb +61 -0
  294. data/generated/google/apis/gmail_v1/classes.rb +1382 -0
  295. data/generated/google/apis/gmail_v1/representations.rb +624 -0
  296. data/generated/google/apis/gmail_v1/service.rb +2447 -0
  297. data/generated/google/apis/groupsmigration_v1.rb +34 -0
  298. data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
  299. data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
  300. data/generated/google/apis/groupsmigration_v1/service.rb +110 -0
  301. data/generated/google/apis/groupssettings_v1.rb +34 -0
  302. data/generated/google/apis/groupssettings_v1/classes.rb +240 -0
  303. data/generated/google/apis/groupssettings_v1/representations.rb +69 -0
  304. data/generated/google/apis/groupssettings_v1/service.rb +179 -0
  305. data/generated/google/apis/iam_v1.rb +36 -0
  306. data/generated/google/apis/iam_v1/classes.rb +640 -0
  307. data/generated/google/apis/iam_v1/representations.rb +316 -0
  308. data/generated/google/apis/iam_v1/service.rb +554 -0
  309. data/generated/google/apis/identitytoolkit_v3.rb +37 -0
  310. data/generated/google/apis/identitytoolkit_v3/classes.rb +2182 -0
  311. data/generated/google/apis/identitytoolkit_v3/representations.rb +742 -0
  312. data/generated/google/apis/identitytoolkit_v3/service.rb +657 -0
  313. data/generated/google/apis/kgsearch_v1.rb +31 -0
  314. data/generated/google/apis/kgsearch_v1/classes.rb +59 -0
  315. data/generated/google/apis/kgsearch_v1/representations.rb +41 -0
  316. data/generated/google/apis/kgsearch_v1/service.rb +113 -0
  317. data/generated/google/apis/language_v1beta1.rb +36 -0
  318. data/generated/google/apis/language_v1beta1/classes.rb +757 -0
  319. data/generated/google/apis/language_v1beta1/representations.rb +339 -0
  320. data/generated/google/apis/language_v1beta1/service.rb +184 -0
  321. data/generated/google/apis/licensing_v1.rb +34 -0
  322. data/generated/google/apis/licensing_v1/classes.rb +132 -0
  323. data/generated/google/apis/licensing_v1/representations.rb +74 -0
  324. data/generated/google/apis/licensing_v1/service.rb +369 -0
  325. data/generated/google/apis/logging_v1beta3.rb +47 -0
  326. data/generated/google/apis/logging_v1beta3/classes.rb +1079 -0
  327. data/generated/google/apis/logging_v1beta3/representations.rb +366 -0
  328. data/generated/google/apis/logging_v1beta3/service.rb +1001 -0
  329. data/generated/google/apis/logging_v2beta1.rb +46 -0
  330. data/generated/google/apis/logging_v2beta1/classes.rb +1254 -0
  331. data/generated/google/apis/logging_v2beta1/representations.rb +421 -0
  332. data/generated/google/apis/logging_v2beta1/service.rb +788 -0
  333. data/generated/google/apis/manager_v1beta2.rb +53 -0
  334. data/generated/google/apis/manager_v1beta2/classes.rb +1287 -0
  335. data/generated/google/apis/manager_v1beta2/representations.rb +606 -0
  336. data/generated/google/apis/manager_v1beta2/service.rb +372 -0
  337. data/generated/google/apis/manufacturers_v1.rb +34 -0
  338. data/generated/google/apis/manufacturers_v1/classes.rb +258 -0
  339. data/generated/google/apis/manufacturers_v1/representations.rb +103 -0
  340. data/generated/google/apis/manufacturers_v1/service.rb +138 -0
  341. data/generated/google/apis/mirror_v1.rb +37 -0
  342. data/generated/google/apis/mirror_v1/classes.rb +1072 -0
  343. data/generated/google/apis/mirror_v1/representations.rb +390 -0
  344. data/generated/google/apis/mirror_v1/service.rb +977 -0
  345. data/generated/google/apis/monitoring_v3.rb +45 -0
  346. data/generated/google/apis/monitoring_v3/classes.rb +1335 -0
  347. data/generated/google/apis/monitoring_v3/representations.rb +516 -0
  348. data/generated/google/apis/monitoring_v3/service.rb +706 -0
  349. data/generated/google/apis/mybusiness_v3.rb +32 -0
  350. data/generated/google/apis/mybusiness_v3/classes.rb +1864 -0
  351. data/generated/google/apis/mybusiness_v3/representations.rb +741 -0
  352. data/generated/google/apis/mybusiness_v3/service.rb +960 -0
  353. data/generated/google/apis/oauth2_v2.rb +43 -0
  354. data/generated/google/apis/oauth2_v2/classes.rb +245 -0
  355. data/generated/google/apis/oauth2_v2/representations.rb +102 -0
  356. data/generated/google/apis/oauth2_v2/service.rb +199 -0
  357. data/generated/google/apis/pagespeedonline_v2.rb +32 -0
  358. data/generated/google/apis/pagespeedonline_v2/classes.rb +614 -0
  359. data/generated/google/apis/pagespeedonline_v2/representations.rb +272 -0
  360. data/generated/google/apis/pagespeedonline_v2/service.rb +119 -0
  361. data/generated/google/apis/partners_v2.rb +32 -0
  362. data/generated/google/apis/partners_v2/classes.rb +942 -0
  363. data/generated/google/apis/partners_v2/representations.rb +454 -0
  364. data/generated/google/apis/partners_v2/service.rb +400 -0
  365. data/generated/google/apis/people_v1.rb +59 -0
  366. data/generated/google/apis/people_v1/classes.rb +1521 -0
  367. data/generated/google/apis/people_v1/representations.rb +663 -0
  368. data/generated/google/apis/people_v1/service.rb +189 -0
  369. data/generated/google/apis/plus_domains_v1.rb +61 -0
  370. data/generated/google/apis/plus_domains_v1/classes.rb +2609 -0
  371. data/generated/google/apis/plus_domains_v1/representations.rb +1111 -0
  372. data/generated/google/apis/plus_domains_v1/service.rb +904 -0
  373. data/generated/google/apis/plus_v1.rb +43 -0
  374. data/generated/google/apis/plus_v1/classes.rb +2094 -0
  375. data/generated/google/apis/plus_v1/representations.rb +907 -0
  376. data/generated/google/apis/plus_v1/service.rb +470 -0
  377. data/generated/google/apis/prediction_v1_6.rb +47 -0
  378. data/generated/google/apis/prediction_v1_6/classes.rb +751 -0
  379. data/generated/google/apis/prediction_v1_6/representations.rb +369 -0
  380. data/generated/google/apis/prediction_v1_6/service.rb +380 -0
  381. data/generated/google/apis/proximitybeacon_v1beta1.rb +34 -0
  382. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +786 -0
  383. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +347 -0
  384. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +806 -0
  385. data/generated/google/apis/pubsub_v1.rb +37 -0
  386. data/generated/google/apis/pubsub_v1/classes.rb +676 -0
  387. data/generated/google/apis/pubsub_v1/representations.rb +323 -0
  388. data/generated/google/apis/pubsub_v1/service.rb +900 -0
  389. data/generated/google/apis/pubsub_v1beta2.rb +37 -0
  390. data/generated/google/apis/pubsub_v1beta2/classes.rb +620 -0
  391. data/generated/google/apis/pubsub_v1beta2/representations.rb +282 -0
  392. data/generated/google/apis/pubsub_v1beta2/service.rb +774 -0
  393. data/generated/google/apis/qpx_express_v1.rb +31 -0
  394. data/generated/google/apis/qpx_express_v1/classes.rb +1274 -0
  395. data/generated/google/apis/qpx_express_v1/representations.rb +473 -0
  396. data/generated/google/apis/qpx_express_v1/service.rb +100 -0
  397. data/generated/google/apis/replicapool_v1beta2.rb +44 -0
  398. data/generated/google/apis/replicapool_v1beta2/classes.rb +631 -0
  399. data/generated/google/apis/replicapool_v1beta2/representations.rb +264 -0
  400. data/generated/google/apis/replicapool_v1beta2/service.rb +608 -0
  401. data/generated/google/apis/replicapoolupdater_v1beta1.rb +45 -0
  402. data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +733 -0
  403. data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +294 -0
  404. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +509 -0
  405. data/generated/google/apis/reseller_v1.rb +37 -0
  406. data/generated/google/apis/reseller_v1/classes.rb +540 -0
  407. data/generated/google/apis/reseller_v1/representations.rb +225 -0
  408. data/generated/google/apis/reseller_v1/service.rb +623 -0
  409. data/generated/google/apis/resourceviews_v1beta2.rb +50 -0
  410. data/generated/google/apis/resourceviews_v1beta2/classes.rb +660 -0
  411. data/generated/google/apis/resourceviews_v1beta2/representations.rb +301 -0
  412. data/generated/google/apis/resourceviews_v1beta2/service.rb +563 -0
  413. data/generated/google/apis/script_v1.rb +64 -0
  414. data/generated/google/apis/script_v1/classes.rb +265 -0
  415. data/generated/google/apis/script_v1/representations.rb +119 -0
  416. data/generated/google/apis/script_v1/service.rb +98 -0
  417. data/generated/google/apis/sheets_v4.rb +43 -0
  418. data/generated/google/apis/sheets_v4/classes.rb +6368 -0
  419. data/generated/google/apis/sheets_v4/representations.rb +2289 -0
  420. data/generated/google/apis/sheets_v4/service.rb +569 -0
  421. data/generated/google/apis/site_verification_v1.rb +37 -0
  422. data/generated/google/apis/site_verification_v1/classes.rb +185 -0
  423. data/generated/google/apis/site_verification_v1/representations.rb +113 -0
  424. data/generated/google/apis/site_verification_v1/service.rb +315 -0
  425. data/generated/google/apis/slides_v1.rb +49 -0
  426. data/generated/google/apis/slides_v1/classes.rb +4044 -0
  427. data/generated/google/apis/slides_v1/representations.rb +1765 -0
  428. data/generated/google/apis/slides_v1/service.rb +202 -0
  429. data/generated/google/apis/speech_v1beta1.rb +34 -0
  430. data/generated/google/apis/speech_v1beta1/classes.rb +513 -0
  431. data/generated/google/apis/speech_v1beta1/representations.rb +218 -0
  432. data/generated/google/apis/speech_v1beta1/service.rb +273 -0
  433. data/generated/google/apis/sqladmin_v1beta4.rb +38 -0
  434. data/generated/google/apis/sqladmin_v1beta4/classes.rb +2142 -0
  435. data/generated/google/apis/sqladmin_v1beta4/representations.rb +893 -0
  436. data/generated/google/apis/sqladmin_v1beta4/service.rb +1709 -0
  437. data/generated/google/apis/storage_v1.rb +46 -0
  438. data/generated/google/apis/storage_v1/classes.rb +1255 -0
  439. data/generated/google/apis/storage_v1/representations.rb +502 -0
  440. data/generated/google/apis/storage_v1/service.rb +1906 -0
  441. data/generated/google/apis/storagetransfer_v1.rb +35 -0
  442. data/generated/google/apis/storagetransfer_v1/classes.rb +1046 -0
  443. data/generated/google/apis/storagetransfer_v1/representations.rb +418 -0
  444. data/generated/google/apis/storagetransfer_v1/service.rb +473 -0
  445. data/generated/google/apis/tagmanager_v1.rb +52 -0
  446. data/generated/google/apis/tagmanager_v1/classes.rb +1494 -0
  447. data/generated/google/apis/tagmanager_v1/representations.rb +611 -0
  448. data/generated/google/apis/tagmanager_v1/service.rb +2119 -0
  449. data/generated/google/apis/taskqueue_v1beta2.rb +37 -0
  450. data/generated/google/apis/taskqueue_v1beta2/classes.rb +254 -0
  451. data/generated/google/apis/taskqueue_v1beta2/representations.rb +126 -0
  452. data/generated/google/apis/taskqueue_v1beta2/service.rb +408 -0
  453. data/generated/google/apis/tasks_v1.rb +37 -0
  454. data/generated/google/apis/tasks_v1/classes.rb +296 -0
  455. data/generated/google/apis/tasks_v1/representations.rb +125 -0
  456. data/generated/google/apis/tasks_v1/service.rb +643 -0
  457. data/generated/google/apis/translate_v2.rb +31 -0
  458. data/generated/google/apis/translate_v2/classes.rb +168 -0
  459. data/generated/google/apis/translate_v2/representations.rb +121 -0
  460. data/generated/google/apis/translate_v2/service.rb +182 -0
  461. data/generated/google/apis/urlshortener_v1.rb +34 -0
  462. data/generated/google/apis/urlshortener_v1/classes.rb +246 -0
  463. data/generated/google/apis/urlshortener_v1/representations.rb +121 -0
  464. data/generated/google/apis/urlshortener_v1/service.rb +176 -0
  465. data/generated/google/apis/vision_v1.rb +36 -0
  466. data/generated/google/apis/vision_v1/classes.rb +1267 -0
  467. data/generated/google/apis/vision_v1/representations.rb +418 -0
  468. data/generated/google/apis/vision_v1/service.rb +90 -0
  469. data/generated/google/apis/webmasters_v3.rb +37 -0
  470. data/generated/google/apis/webmasters_v3/classes.rb +570 -0
  471. data/generated/google/apis/webmasters_v3/representations.rb +283 -0
  472. data/generated/google/apis/webmasters_v3/service.rb +573 -0
  473. data/generated/google/apis/youtube_analytics_v1.rb +46 -0
  474. data/generated/google/apis/youtube_analytics_v1/classes.rb +337 -0
  475. data/generated/google/apis/youtube_analytics_v1/representations.rb +174 -0
  476. data/generated/google/apis/youtube_analytics_v1/service.rb +486 -0
  477. data/generated/google/apis/youtube_partner_v1.rb +37 -0
  478. data/generated/google/apis/youtube_partner_v1/classes.rb +3854 -0
  479. data/generated/google/apis/youtube_partner_v1/representations.rb +1537 -0
  480. data/generated/google/apis/youtube_partner_v1/service.rb +3269 -0
  481. data/generated/google/apis/youtube_v3.rb +50 -0
  482. data/generated/google/apis/youtube_v3/classes.rb +8375 -0
  483. data/generated/google/apis/youtube_v3/representations.rb +3273 -0
  484. data/generated/google/apis/youtube_v3/service.rb +4440 -0
  485. data/generated/google/apis/youtubereporting_v1.rb +38 -0
  486. data/generated/google/apis/youtubereporting_v1/classes.rb +302 -0
  487. data/generated/google/apis/youtubereporting_v1/representations.rb +149 -0
  488. data/generated/google/apis/youtubereporting_v1/service.rb +385 -0
  489. data/google-api-client.gemspec +33 -0
  490. data/lib/cacerts.pem +2183 -0
  491. data/lib/google/api_client/auth/installed_app.rb +128 -0
  492. data/lib/google/api_client/auth/key_utils.rb +94 -0
  493. data/lib/google/api_client/auth/storage.rb +104 -0
  494. data/lib/google/api_client/auth/storages/file_store.rb +57 -0
  495. data/lib/google/api_client/auth/storages/redis_store.rb +59 -0
  496. data/lib/google/api_client/client_secrets.rb +177 -0
  497. data/lib/google/apis.rb +58 -0
  498. data/lib/google/apis/core/api_command.rb +146 -0
  499. data/lib/google/apis/core/base_service.rb +401 -0
  500. data/lib/google/apis/core/batch.rb +239 -0
  501. data/lib/google/apis/core/download.rb +108 -0
  502. data/lib/google/apis/core/hashable.rb +44 -0
  503. data/lib/google/apis/core/http_client_adapter.rb +82 -0
  504. data/lib/google/apis/core/http_command.rb +332 -0
  505. data/lib/google/apis/core/json_representation.rb +145 -0
  506. data/lib/google/apis/core/logging.rb +30 -0
  507. data/lib/google/apis/core/multipart.rb +187 -0
  508. data/lib/google/apis/core/upload.rb +295 -0
  509. data/lib/google/apis/errors.rb +80 -0
  510. data/lib/google/apis/generator.rb +70 -0
  511. data/lib/google/apis/generator/annotator.rb +301 -0
  512. data/lib/google/apis/generator/helpers.rb +74 -0
  513. data/lib/google/apis/generator/model.rb +143 -0
  514. data/lib/google/apis/generator/template.rb +124 -0
  515. data/lib/google/apis/generator/templates/_class.tmpl +40 -0
  516. data/lib/google/apis/generator/templates/_method.tmpl +92 -0
  517. data/lib/google/apis/generator/templates/_representation.tmpl +51 -0
  518. data/lib/google/apis/generator/templates/_representation_stub.tmpl +17 -0
  519. data/lib/google/apis/generator/templates/_representation_type.tmpl +10 -0
  520. data/lib/google/apis/generator/templates/classes.rb.tmpl +29 -0
  521. data/lib/google/apis/generator/templates/module.rb.tmpl +40 -0
  522. data/lib/google/apis/generator/templates/representations.rb.tmpl +32 -0
  523. data/lib/google/apis/generator/templates/service.rb.tmpl +60 -0
  524. data/lib/google/apis/options.rb +85 -0
  525. data/lib/google/apis/version.rb +39 -0
  526. data/rakelib/metrics.rake +22 -0
  527. data/rakelib/rubocop.rake +10 -0
  528. data/rakelib/spec.rake +11 -0
  529. data/rakelib/yard.rake +11 -0
  530. data/samples/cli/.env +4 -0
  531. data/samples/cli/Gemfile +7 -0
  532. data/samples/cli/README.md +51 -0
  533. data/samples/cli/google-api-samples +32 -0
  534. data/samples/cli/lib/base_cli.rb +95 -0
  535. data/samples/cli/lib/samples/analytics.rb +62 -0
  536. data/samples/cli/lib/samples/androidpublisher.rb +47 -0
  537. data/samples/cli/lib/samples/bigquery.rb +101 -0
  538. data/samples/cli/lib/samples/calendar.rb +83 -0
  539. data/samples/cli/lib/samples/drive.rb +82 -0
  540. data/samples/cli/lib/samples/gmail.rb +124 -0
  541. data/samples/cli/lib/samples/pubsub.rb +114 -0
  542. data/samples/cli/lib/samples/sheets.rb +61 -0
  543. data/samples/cli/lib/samples/translate.rb +44 -0
  544. data/samples/cli/lib/samples/you_tube.rb +44 -0
  545. data/samples/web/.env +2 -0
  546. data/samples/web/Gemfile +7 -0
  547. data/samples/web/README.md +44 -0
  548. data/samples/web/app.rb +120 -0
  549. data/samples/web/views/calendar.erb +34 -0
  550. data/samples/web/views/drive.erb +33 -0
  551. data/samples/web/views/home.erb +34 -0
  552. data/samples/web/views/layout.erb +40 -0
  553. data/sync.rb +71 -0
  554. data/third_party/hurley_patches.rb +103 -0
  555. metadata +735 -0
@@ -0,0 +1,43 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'google/apis/plus_v1/service.rb'
16
+ require 'google/apis/plus_v1/classes.rb'
17
+ require 'google/apis/plus_v1/representations.rb'
18
+
19
+ module Google
20
+ module Apis
21
+ # Google+ API
22
+ #
23
+ # Builds on top of the Google+ platform.
24
+ #
25
+ # @see https://developers.google.com/+/api/
26
+ module PlusV1
27
+ VERSION = 'V1'
28
+ REVISION = '20170124'
29
+
30
+ # Know the list of people in your circles, your age range, and language
31
+ AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'
32
+
33
+ # Know who you are on Google
34
+ AUTH_PLUS_ME = 'https://www.googleapis.com/auth/plus.me'
35
+
36
+ # View your email address
37
+ AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
38
+
39
+ # View your basic profile info
40
+ AUTH_USERINFO_PROFILE = 'https://www.googleapis.com/auth/userinfo.profile'
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,2094 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module PlusV1
24
+
25
+ #
26
+ class Acl
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # Description of the access granted, suitable for display.
30
+ # Corresponds to the JSON property `description`
31
+ # @return [String]
32
+ attr_accessor :description
33
+
34
+ # The list of access entries.
35
+ # Corresponds to the JSON property `items`
36
+ # @return [Array<Google::Apis::PlusV1::PlusAclentryResource>]
37
+ attr_accessor :items
38
+
39
+ # Identifies this resource as a collection of access controls. Value: "plus#acl".
40
+ # Corresponds to the JSON property `kind`
41
+ # @return [String]
42
+ attr_accessor :kind
43
+
44
+ def initialize(**args)
45
+ update!(**args)
46
+ end
47
+
48
+ # Update properties of this object
49
+ def update!(**args)
50
+ @description = args[:description] if args.key?(:description)
51
+ @items = args[:items] if args.key?(:items)
52
+ @kind = args[:kind] if args.key?(:kind)
53
+ end
54
+ end
55
+
56
+ #
57
+ class Activity
58
+ include Google::Apis::Core::Hashable
59
+
60
+ # Identifies who has access to see this activity.
61
+ # Corresponds to the JSON property `access`
62
+ # @return [Google::Apis::PlusV1::Acl]
63
+ attr_accessor :access
64
+
65
+ # The person who performed this activity.
66
+ # Corresponds to the JSON property `actor`
67
+ # @return [Google::Apis::PlusV1::Activity::Actor]
68
+ attr_accessor :actor
69
+
70
+ # Street address where this activity occurred.
71
+ # Corresponds to the JSON property `address`
72
+ # @return [String]
73
+ attr_accessor :address
74
+
75
+ # Additional content added by the person who shared this activity, applicable
76
+ # only when resharing an activity.
77
+ # Corresponds to the JSON property `annotation`
78
+ # @return [String]
79
+ attr_accessor :annotation
80
+
81
+ # If this activity is a crosspost from another system, this property specifies
82
+ # the ID of the original activity.
83
+ # Corresponds to the JSON property `crosspostSource`
84
+ # @return [String]
85
+ attr_accessor :crosspost_source
86
+
87
+ # ETag of this response for caching purposes.
88
+ # Corresponds to the JSON property `etag`
89
+ # @return [String]
90
+ attr_accessor :etag
91
+
92
+ # Latitude and longitude where this activity occurred. Format is latitude
93
+ # followed by longitude, space separated.
94
+ # Corresponds to the JSON property `geocode`
95
+ # @return [String]
96
+ attr_accessor :geocode
97
+
98
+ # The ID of this activity.
99
+ # Corresponds to the JSON property `id`
100
+ # @return [String]
101
+ attr_accessor :id
102
+
103
+ # Identifies this resource as an activity. Value: "plus#activity".
104
+ # Corresponds to the JSON property `kind`
105
+ # @return [String]
106
+ attr_accessor :kind
107
+
108
+ # The location where this activity occurred.
109
+ # Corresponds to the JSON property `location`
110
+ # @return [Google::Apis::PlusV1::Place]
111
+ attr_accessor :location
112
+
113
+ # The object of this activity.
114
+ # Corresponds to the JSON property `object`
115
+ # @return [Google::Apis::PlusV1::Activity::Object]
116
+ attr_accessor :object
117
+
118
+ # ID of the place where this activity occurred.
119
+ # Corresponds to the JSON property `placeId`
120
+ # @return [String]
121
+ attr_accessor :place_id
122
+
123
+ # Name of the place where this activity occurred.
124
+ # Corresponds to the JSON property `placeName`
125
+ # @return [String]
126
+ attr_accessor :place_name
127
+
128
+ # The service provider that initially published this activity.
129
+ # Corresponds to the JSON property `provider`
130
+ # @return [Google::Apis::PlusV1::Activity::Provider]
131
+ attr_accessor :provider
132
+
133
+ # The time at which this activity was initially published. Formatted as an RFC
134
+ # 3339 timestamp.
135
+ # Corresponds to the JSON property `published`
136
+ # @return [DateTime]
137
+ attr_accessor :published
138
+
139
+ # Radius, in meters, of the region where this activity occurred, centered at the
140
+ # latitude and longitude identified in geocode.
141
+ # Corresponds to the JSON property `radius`
142
+ # @return [String]
143
+ attr_accessor :radius
144
+
145
+ # Title of this activity.
146
+ # Corresponds to the JSON property `title`
147
+ # @return [String]
148
+ attr_accessor :title
149
+
150
+ # The time at which this activity was last updated. Formatted as an RFC 3339
151
+ # timestamp.
152
+ # Corresponds to the JSON property `updated`
153
+ # @return [DateTime]
154
+ attr_accessor :updated
155
+
156
+ # The link to this activity.
157
+ # Corresponds to the JSON property `url`
158
+ # @return [String]
159
+ attr_accessor :url
160
+
161
+ # This activity's verb, which indicates the action that was performed. Possible
162
+ # values include, but are not limited to, the following values:
163
+ # - "post" - Publish content to the stream.
164
+ # - "share" - Reshare an activity.
165
+ # Corresponds to the JSON property `verb`
166
+ # @return [String]
167
+ attr_accessor :verb
168
+
169
+ def initialize(**args)
170
+ update!(**args)
171
+ end
172
+
173
+ # Update properties of this object
174
+ def update!(**args)
175
+ @access = args[:access] if args.key?(:access)
176
+ @actor = args[:actor] if args.key?(:actor)
177
+ @address = args[:address] if args.key?(:address)
178
+ @annotation = args[:annotation] if args.key?(:annotation)
179
+ @crosspost_source = args[:crosspost_source] if args.key?(:crosspost_source)
180
+ @etag = args[:etag] if args.key?(:etag)
181
+ @geocode = args[:geocode] if args.key?(:geocode)
182
+ @id = args[:id] if args.key?(:id)
183
+ @kind = args[:kind] if args.key?(:kind)
184
+ @location = args[:location] if args.key?(:location)
185
+ @object = args[:object] if args.key?(:object)
186
+ @place_id = args[:place_id] if args.key?(:place_id)
187
+ @place_name = args[:place_name] if args.key?(:place_name)
188
+ @provider = args[:provider] if args.key?(:provider)
189
+ @published = args[:published] if args.key?(:published)
190
+ @radius = args[:radius] if args.key?(:radius)
191
+ @title = args[:title] if args.key?(:title)
192
+ @updated = args[:updated] if args.key?(:updated)
193
+ @url = args[:url] if args.key?(:url)
194
+ @verb = args[:verb] if args.key?(:verb)
195
+ end
196
+
197
+ # The person who performed this activity.
198
+ class Actor
199
+ include Google::Apis::Core::Hashable
200
+
201
+ # Actor info specific to particular clients.
202
+ # Corresponds to the JSON property `clientSpecificActorInfo`
203
+ # @return [Google::Apis::PlusV1::Activity::Actor::ClientSpecificActorInfo]
204
+ attr_accessor :client_specific_actor_info
205
+
206
+ # The name of the actor, suitable for display.
207
+ # Corresponds to the JSON property `displayName`
208
+ # @return [String]
209
+ attr_accessor :display_name
210
+
211
+ # The ID of the actor's Person resource.
212
+ # Corresponds to the JSON property `id`
213
+ # @return [String]
214
+ attr_accessor :id
215
+
216
+ # The image representation of the actor.
217
+ # Corresponds to the JSON property `image`
218
+ # @return [Google::Apis::PlusV1::Activity::Actor::Image]
219
+ attr_accessor :image
220
+
221
+ # An object representation of the individual components of name.
222
+ # Corresponds to the JSON property `name`
223
+ # @return [Google::Apis::PlusV1::Activity::Actor::Name]
224
+ attr_accessor :name
225
+
226
+ # The link to the actor's Google profile.
227
+ # Corresponds to the JSON property `url`
228
+ # @return [String]
229
+ attr_accessor :url
230
+
231
+ # Verification status of actor.
232
+ # Corresponds to the JSON property `verification`
233
+ # @return [Google::Apis::PlusV1::Activity::Actor::Verification]
234
+ attr_accessor :verification
235
+
236
+ def initialize(**args)
237
+ update!(**args)
238
+ end
239
+
240
+ # Update properties of this object
241
+ def update!(**args)
242
+ @client_specific_actor_info = args[:client_specific_actor_info] if args.key?(:client_specific_actor_info)
243
+ @display_name = args[:display_name] if args.key?(:display_name)
244
+ @id = args[:id] if args.key?(:id)
245
+ @image = args[:image] if args.key?(:image)
246
+ @name = args[:name] if args.key?(:name)
247
+ @url = args[:url] if args.key?(:url)
248
+ @verification = args[:verification] if args.key?(:verification)
249
+ end
250
+
251
+ # Actor info specific to particular clients.
252
+ class ClientSpecificActorInfo
253
+ include Google::Apis::Core::Hashable
254
+
255
+ # Actor info specific to YouTube clients.
256
+ # Corresponds to the JSON property `youtubeActorInfo`
257
+ # @return [Google::Apis::PlusV1::Activity::Actor::ClientSpecificActorInfo::YoutubeActorInfo]
258
+ attr_accessor :youtube_actor_info
259
+
260
+ def initialize(**args)
261
+ update!(**args)
262
+ end
263
+
264
+ # Update properties of this object
265
+ def update!(**args)
266
+ @youtube_actor_info = args[:youtube_actor_info] if args.key?(:youtube_actor_info)
267
+ end
268
+
269
+ # Actor info specific to YouTube clients.
270
+ class YoutubeActorInfo
271
+ include Google::Apis::Core::Hashable
272
+
273
+ # ID of the YouTube channel owned by the Actor.
274
+ # Corresponds to the JSON property `channelId`
275
+ # @return [String]
276
+ attr_accessor :channel_id
277
+
278
+ def initialize(**args)
279
+ update!(**args)
280
+ end
281
+
282
+ # Update properties of this object
283
+ def update!(**args)
284
+ @channel_id = args[:channel_id] if args.key?(:channel_id)
285
+ end
286
+ end
287
+ end
288
+
289
+ # The image representation of the actor.
290
+ class Image
291
+ include Google::Apis::Core::Hashable
292
+
293
+ # The URL of the actor's profile photo. To resize the image and crop it to a
294
+ # square, append the query string ?sz=x, where x is the dimension in pixels of
295
+ # each side.
296
+ # Corresponds to the JSON property `url`
297
+ # @return [String]
298
+ attr_accessor :url
299
+
300
+ def initialize(**args)
301
+ update!(**args)
302
+ end
303
+
304
+ # Update properties of this object
305
+ def update!(**args)
306
+ @url = args[:url] if args.key?(:url)
307
+ end
308
+ end
309
+
310
+ # An object representation of the individual components of name.
311
+ class Name
312
+ include Google::Apis::Core::Hashable
313
+
314
+ # The family name ("last name") of the actor.
315
+ # Corresponds to the JSON property `familyName`
316
+ # @return [String]
317
+ attr_accessor :family_name
318
+
319
+ # The given name ("first name") of the actor.
320
+ # Corresponds to the JSON property `givenName`
321
+ # @return [String]
322
+ attr_accessor :given_name
323
+
324
+ def initialize(**args)
325
+ update!(**args)
326
+ end
327
+
328
+ # Update properties of this object
329
+ def update!(**args)
330
+ @family_name = args[:family_name] if args.key?(:family_name)
331
+ @given_name = args[:given_name] if args.key?(:given_name)
332
+ end
333
+ end
334
+
335
+ # Verification status of actor.
336
+ class Verification
337
+ include Google::Apis::Core::Hashable
338
+
339
+ # Verification for one-time or manual processes.
340
+ # Corresponds to the JSON property `adHocVerified`
341
+ # @return [String]
342
+ attr_accessor :ad_hoc_verified
343
+
344
+ def initialize(**args)
345
+ update!(**args)
346
+ end
347
+
348
+ # Update properties of this object
349
+ def update!(**args)
350
+ @ad_hoc_verified = args[:ad_hoc_verified] if args.key?(:ad_hoc_verified)
351
+ end
352
+ end
353
+ end
354
+
355
+ # The object of this activity.
356
+ class Object
357
+ include Google::Apis::Core::Hashable
358
+
359
+ # If this activity's object is itself another activity, such as when a person
360
+ # reshares an activity, this property specifies the original activity's actor.
361
+ # Corresponds to the JSON property `actor`
362
+ # @return [Google::Apis::PlusV1::Activity::Object::Actor]
363
+ attr_accessor :actor
364
+
365
+ # The media objects attached to this activity.
366
+ # Corresponds to the JSON property `attachments`
367
+ # @return [Array<Google::Apis::PlusV1::Activity::Object::Attachment>]
368
+ attr_accessor :attachments
369
+
370
+ # The HTML-formatted content, which is suitable for display.
371
+ # Corresponds to the JSON property `content`
372
+ # @return [String]
373
+ attr_accessor :content
374
+
375
+ # The ID of the object. When resharing an activity, this is the ID of the
376
+ # activity that is being reshared.
377
+ # Corresponds to the JSON property `id`
378
+ # @return [String]
379
+ attr_accessor :id
380
+
381
+ # The type of the object. Possible values include, but are not limited to, the
382
+ # following values:
383
+ # - "note" - Textual content.
384
+ # - "activity" - A Google+ activity.
385
+ # Corresponds to the JSON property `objectType`
386
+ # @return [String]
387
+ attr_accessor :object_type
388
+
389
+ # The content (text) as provided by the author, which is stored without any HTML
390
+ # formatting. When creating or updating an activity, this value must be supplied
391
+ # as plain text in the request.
392
+ # Corresponds to the JSON property `originalContent`
393
+ # @return [String]
394
+ attr_accessor :original_content
395
+
396
+ # People who +1'd this activity.
397
+ # Corresponds to the JSON property `plusoners`
398
+ # @return [Google::Apis::PlusV1::Activity::Object::Plusoners]
399
+ attr_accessor :plusoners
400
+
401
+ # Comments in reply to this activity.
402
+ # Corresponds to the JSON property `replies`
403
+ # @return [Google::Apis::PlusV1::Activity::Object::Replies]
404
+ attr_accessor :replies
405
+
406
+ # People who reshared this activity.
407
+ # Corresponds to the JSON property `resharers`
408
+ # @return [Google::Apis::PlusV1::Activity::Object::Resharers]
409
+ attr_accessor :resharers
410
+
411
+ # The URL that points to the linked resource.
412
+ # Corresponds to the JSON property `url`
413
+ # @return [String]
414
+ attr_accessor :url
415
+
416
+ def initialize(**args)
417
+ update!(**args)
418
+ end
419
+
420
+ # Update properties of this object
421
+ def update!(**args)
422
+ @actor = args[:actor] if args.key?(:actor)
423
+ @attachments = args[:attachments] if args.key?(:attachments)
424
+ @content = args[:content] if args.key?(:content)
425
+ @id = args[:id] if args.key?(:id)
426
+ @object_type = args[:object_type] if args.key?(:object_type)
427
+ @original_content = args[:original_content] if args.key?(:original_content)
428
+ @plusoners = args[:plusoners] if args.key?(:plusoners)
429
+ @replies = args[:replies] if args.key?(:replies)
430
+ @resharers = args[:resharers] if args.key?(:resharers)
431
+ @url = args[:url] if args.key?(:url)
432
+ end
433
+
434
+ # If this activity's object is itself another activity, such as when a person
435
+ # reshares an activity, this property specifies the original activity's actor.
436
+ class Actor
437
+ include Google::Apis::Core::Hashable
438
+
439
+ # Actor info specific to particular clients.
440
+ # Corresponds to the JSON property `clientSpecificActorInfo`
441
+ # @return [Google::Apis::PlusV1::Activity::Object::Actor::ClientSpecificActorInfo]
442
+ attr_accessor :client_specific_actor_info
443
+
444
+ # The original actor's name, which is suitable for display.
445
+ # Corresponds to the JSON property `displayName`
446
+ # @return [String]
447
+ attr_accessor :display_name
448
+
449
+ # ID of the original actor.
450
+ # Corresponds to the JSON property `id`
451
+ # @return [String]
452
+ attr_accessor :id
453
+
454
+ # The image representation of the original actor.
455
+ # Corresponds to the JSON property `image`
456
+ # @return [Google::Apis::PlusV1::Activity::Object::Actor::Image]
457
+ attr_accessor :image
458
+
459
+ # A link to the original actor's Google profile.
460
+ # Corresponds to the JSON property `url`
461
+ # @return [String]
462
+ attr_accessor :url
463
+
464
+ # Verification status of actor.
465
+ # Corresponds to the JSON property `verification`
466
+ # @return [Google::Apis::PlusV1::Activity::Object::Actor::Verification]
467
+ attr_accessor :verification
468
+
469
+ def initialize(**args)
470
+ update!(**args)
471
+ end
472
+
473
+ # Update properties of this object
474
+ def update!(**args)
475
+ @client_specific_actor_info = args[:client_specific_actor_info] if args.key?(:client_specific_actor_info)
476
+ @display_name = args[:display_name] if args.key?(:display_name)
477
+ @id = args[:id] if args.key?(:id)
478
+ @image = args[:image] if args.key?(:image)
479
+ @url = args[:url] if args.key?(:url)
480
+ @verification = args[:verification] if args.key?(:verification)
481
+ end
482
+
483
+ # Actor info specific to particular clients.
484
+ class ClientSpecificActorInfo
485
+ include Google::Apis::Core::Hashable
486
+
487
+ # Actor info specific to YouTube clients.
488
+ # Corresponds to the JSON property `youtubeActorInfo`
489
+ # @return [Google::Apis::PlusV1::Activity::Object::Actor::ClientSpecificActorInfo::YoutubeActorInfo]
490
+ attr_accessor :youtube_actor_info
491
+
492
+ def initialize(**args)
493
+ update!(**args)
494
+ end
495
+
496
+ # Update properties of this object
497
+ def update!(**args)
498
+ @youtube_actor_info = args[:youtube_actor_info] if args.key?(:youtube_actor_info)
499
+ end
500
+
501
+ # Actor info specific to YouTube clients.
502
+ class YoutubeActorInfo
503
+ include Google::Apis::Core::Hashable
504
+
505
+ # ID of the YouTube channel owned by the Actor.
506
+ # Corresponds to the JSON property `channelId`
507
+ # @return [String]
508
+ attr_accessor :channel_id
509
+
510
+ def initialize(**args)
511
+ update!(**args)
512
+ end
513
+
514
+ # Update properties of this object
515
+ def update!(**args)
516
+ @channel_id = args[:channel_id] if args.key?(:channel_id)
517
+ end
518
+ end
519
+ end
520
+
521
+ # The image representation of the original actor.
522
+ class Image
523
+ include Google::Apis::Core::Hashable
524
+
525
+ # A URL that points to a thumbnail photo of the original actor.
526
+ # Corresponds to the JSON property `url`
527
+ # @return [String]
528
+ attr_accessor :url
529
+
530
+ def initialize(**args)
531
+ update!(**args)
532
+ end
533
+
534
+ # Update properties of this object
535
+ def update!(**args)
536
+ @url = args[:url] if args.key?(:url)
537
+ end
538
+ end
539
+
540
+ # Verification status of actor.
541
+ class Verification
542
+ include Google::Apis::Core::Hashable
543
+
544
+ # Verification for one-time or manual processes.
545
+ # Corresponds to the JSON property `adHocVerified`
546
+ # @return [String]
547
+ attr_accessor :ad_hoc_verified
548
+
549
+ def initialize(**args)
550
+ update!(**args)
551
+ end
552
+
553
+ # Update properties of this object
554
+ def update!(**args)
555
+ @ad_hoc_verified = args[:ad_hoc_verified] if args.key?(:ad_hoc_verified)
556
+ end
557
+ end
558
+ end
559
+
560
+ #
561
+ class Attachment
562
+ include Google::Apis::Core::Hashable
563
+
564
+ # If the attachment is an article, this property contains a snippet of text from
565
+ # the article. It can also include descriptions for other types.
566
+ # Corresponds to the JSON property `content`
567
+ # @return [String]
568
+ attr_accessor :content
569
+
570
+ # The title of the attachment, such as a photo caption or an article title.
571
+ # Corresponds to the JSON property `displayName`
572
+ # @return [String]
573
+ attr_accessor :display_name
574
+
575
+ # If the attachment is a video, the embeddable link.
576
+ # Corresponds to the JSON property `embed`
577
+ # @return [Google::Apis::PlusV1::Activity::Object::Attachment::Embed]
578
+ attr_accessor :embed
579
+
580
+ # The full image URL for photo attachments.
581
+ # Corresponds to the JSON property `fullImage`
582
+ # @return [Google::Apis::PlusV1::Activity::Object::Attachment::FullImage]
583
+ attr_accessor :full_image
584
+
585
+ # The ID of the attachment.
586
+ # Corresponds to the JSON property `id`
587
+ # @return [String]
588
+ attr_accessor :id
589
+
590
+ # The preview image for photos or videos.
591
+ # Corresponds to the JSON property `image`
592
+ # @return [Google::Apis::PlusV1::Activity::Object::Attachment::Image]
593
+ attr_accessor :image
594
+
595
+ # The type of media object. Possible values include, but are not limited to, the
596
+ # following values:
597
+ # - "photo" - A photo.
598
+ # - "album" - A photo album.
599
+ # - "video" - A video.
600
+ # - "article" - An article, specified by a link.
601
+ # Corresponds to the JSON property `objectType`
602
+ # @return [String]
603
+ attr_accessor :object_type
604
+
605
+ # If the attachment is an album, this property is a list of potential additional
606
+ # thumbnails from the album.
607
+ # Corresponds to the JSON property `thumbnails`
608
+ # @return [Array<Google::Apis::PlusV1::Activity::Object::Attachment::Thumbnail>]
609
+ attr_accessor :thumbnails
610
+
611
+ # The link to the attachment, which should be of type text/html.
612
+ # Corresponds to the JSON property `url`
613
+ # @return [String]
614
+ attr_accessor :url
615
+
616
+ def initialize(**args)
617
+ update!(**args)
618
+ end
619
+
620
+ # Update properties of this object
621
+ def update!(**args)
622
+ @content = args[:content] if args.key?(:content)
623
+ @display_name = args[:display_name] if args.key?(:display_name)
624
+ @embed = args[:embed] if args.key?(:embed)
625
+ @full_image = args[:full_image] if args.key?(:full_image)
626
+ @id = args[:id] if args.key?(:id)
627
+ @image = args[:image] if args.key?(:image)
628
+ @object_type = args[:object_type] if args.key?(:object_type)
629
+ @thumbnails = args[:thumbnails] if args.key?(:thumbnails)
630
+ @url = args[:url] if args.key?(:url)
631
+ end
632
+
633
+ # If the attachment is a video, the embeddable link.
634
+ class Embed
635
+ include Google::Apis::Core::Hashable
636
+
637
+ # Media type of the link.
638
+ # Corresponds to the JSON property `type`
639
+ # @return [String]
640
+ attr_accessor :type
641
+
642
+ # URL of the link.
643
+ # Corresponds to the JSON property `url`
644
+ # @return [String]
645
+ attr_accessor :url
646
+
647
+ def initialize(**args)
648
+ update!(**args)
649
+ end
650
+
651
+ # Update properties of this object
652
+ def update!(**args)
653
+ @type = args[:type] if args.key?(:type)
654
+ @url = args[:url] if args.key?(:url)
655
+ end
656
+ end
657
+
658
+ # The full image URL for photo attachments.
659
+ class FullImage
660
+ include Google::Apis::Core::Hashable
661
+
662
+ # The height, in pixels, of the linked resource.
663
+ # Corresponds to the JSON property `height`
664
+ # @return [Fixnum]
665
+ attr_accessor :height
666
+
667
+ # Media type of the link.
668
+ # Corresponds to the JSON property `type`
669
+ # @return [String]
670
+ attr_accessor :type
671
+
672
+ # URL of the image.
673
+ # Corresponds to the JSON property `url`
674
+ # @return [String]
675
+ attr_accessor :url
676
+
677
+ # The width, in pixels, of the linked resource.
678
+ # Corresponds to the JSON property `width`
679
+ # @return [Fixnum]
680
+ attr_accessor :width
681
+
682
+ def initialize(**args)
683
+ update!(**args)
684
+ end
685
+
686
+ # Update properties of this object
687
+ def update!(**args)
688
+ @height = args[:height] if args.key?(:height)
689
+ @type = args[:type] if args.key?(:type)
690
+ @url = args[:url] if args.key?(:url)
691
+ @width = args[:width] if args.key?(:width)
692
+ end
693
+ end
694
+
695
+ # The preview image for photos or videos.
696
+ class Image
697
+ include Google::Apis::Core::Hashable
698
+
699
+ # The height, in pixels, of the linked resource.
700
+ # Corresponds to the JSON property `height`
701
+ # @return [Fixnum]
702
+ attr_accessor :height
703
+
704
+ # Media type of the link.
705
+ # Corresponds to the JSON property `type`
706
+ # @return [String]
707
+ attr_accessor :type
708
+
709
+ # Image URL.
710
+ # Corresponds to the JSON property `url`
711
+ # @return [String]
712
+ attr_accessor :url
713
+
714
+ # The width, in pixels, of the linked resource.
715
+ # Corresponds to the JSON property `width`
716
+ # @return [Fixnum]
717
+ attr_accessor :width
718
+
719
+ def initialize(**args)
720
+ update!(**args)
721
+ end
722
+
723
+ # Update properties of this object
724
+ def update!(**args)
725
+ @height = args[:height] if args.key?(:height)
726
+ @type = args[:type] if args.key?(:type)
727
+ @url = args[:url] if args.key?(:url)
728
+ @width = args[:width] if args.key?(:width)
729
+ end
730
+ end
731
+
732
+ #
733
+ class Thumbnail
734
+ include Google::Apis::Core::Hashable
735
+
736
+ # Potential name of the thumbnail.
737
+ # Corresponds to the JSON property `description`
738
+ # @return [String]
739
+ attr_accessor :description
740
+
741
+ # Image resource.
742
+ # Corresponds to the JSON property `image`
743
+ # @return [Google::Apis::PlusV1::Activity::Object::Attachment::Thumbnail::Image]
744
+ attr_accessor :image
745
+
746
+ # URL of the webpage containing the image.
747
+ # Corresponds to the JSON property `url`
748
+ # @return [String]
749
+ attr_accessor :url
750
+
751
+ def initialize(**args)
752
+ update!(**args)
753
+ end
754
+
755
+ # Update properties of this object
756
+ def update!(**args)
757
+ @description = args[:description] if args.key?(:description)
758
+ @image = args[:image] if args.key?(:image)
759
+ @url = args[:url] if args.key?(:url)
760
+ end
761
+
762
+ # Image resource.
763
+ class Image
764
+ include Google::Apis::Core::Hashable
765
+
766
+ # The height, in pixels, of the linked resource.
767
+ # Corresponds to the JSON property `height`
768
+ # @return [Fixnum]
769
+ attr_accessor :height
770
+
771
+ # Media type of the link.
772
+ # Corresponds to the JSON property `type`
773
+ # @return [String]
774
+ attr_accessor :type
775
+
776
+ # Image url.
777
+ # Corresponds to the JSON property `url`
778
+ # @return [String]
779
+ attr_accessor :url
780
+
781
+ # The width, in pixels, of the linked resource.
782
+ # Corresponds to the JSON property `width`
783
+ # @return [Fixnum]
784
+ attr_accessor :width
785
+
786
+ def initialize(**args)
787
+ update!(**args)
788
+ end
789
+
790
+ # Update properties of this object
791
+ def update!(**args)
792
+ @height = args[:height] if args.key?(:height)
793
+ @type = args[:type] if args.key?(:type)
794
+ @url = args[:url] if args.key?(:url)
795
+ @width = args[:width] if args.key?(:width)
796
+ end
797
+ end
798
+ end
799
+ end
800
+
801
+ # People who +1'd this activity.
802
+ class Plusoners
803
+ include Google::Apis::Core::Hashable
804
+
805
+ # The URL for the collection of people who +1'd this activity.
806
+ # Corresponds to the JSON property `selfLink`
807
+ # @return [String]
808
+ attr_accessor :self_link
809
+
810
+ # Total number of people who +1'd this activity.
811
+ # Corresponds to the JSON property `totalItems`
812
+ # @return [Fixnum]
813
+ attr_accessor :total_items
814
+
815
+ def initialize(**args)
816
+ update!(**args)
817
+ end
818
+
819
+ # Update properties of this object
820
+ def update!(**args)
821
+ @self_link = args[:self_link] if args.key?(:self_link)
822
+ @total_items = args[:total_items] if args.key?(:total_items)
823
+ end
824
+ end
825
+
826
+ # Comments in reply to this activity.
827
+ class Replies
828
+ include Google::Apis::Core::Hashable
829
+
830
+ # The URL for the collection of comments in reply to this activity.
831
+ # Corresponds to the JSON property `selfLink`
832
+ # @return [String]
833
+ attr_accessor :self_link
834
+
835
+ # Total number of comments on this activity.
836
+ # Corresponds to the JSON property `totalItems`
837
+ # @return [Fixnum]
838
+ attr_accessor :total_items
839
+
840
+ def initialize(**args)
841
+ update!(**args)
842
+ end
843
+
844
+ # Update properties of this object
845
+ def update!(**args)
846
+ @self_link = args[:self_link] if args.key?(:self_link)
847
+ @total_items = args[:total_items] if args.key?(:total_items)
848
+ end
849
+ end
850
+
851
+ # People who reshared this activity.
852
+ class Resharers
853
+ include Google::Apis::Core::Hashable
854
+
855
+ # The URL for the collection of resharers.
856
+ # Corresponds to the JSON property `selfLink`
857
+ # @return [String]
858
+ attr_accessor :self_link
859
+
860
+ # Total number of people who reshared this activity.
861
+ # Corresponds to the JSON property `totalItems`
862
+ # @return [Fixnum]
863
+ attr_accessor :total_items
864
+
865
+ def initialize(**args)
866
+ update!(**args)
867
+ end
868
+
869
+ # Update properties of this object
870
+ def update!(**args)
871
+ @self_link = args[:self_link] if args.key?(:self_link)
872
+ @total_items = args[:total_items] if args.key?(:total_items)
873
+ end
874
+ end
875
+ end
876
+
877
+ # The service provider that initially published this activity.
878
+ class Provider
879
+ include Google::Apis::Core::Hashable
880
+
881
+ # Name of the service provider.
882
+ # Corresponds to the JSON property `title`
883
+ # @return [String]
884
+ attr_accessor :title
885
+
886
+ def initialize(**args)
887
+ update!(**args)
888
+ end
889
+
890
+ # Update properties of this object
891
+ def update!(**args)
892
+ @title = args[:title] if args.key?(:title)
893
+ end
894
+ end
895
+ end
896
+
897
+ #
898
+ class ActivityFeed
899
+ include Google::Apis::Core::Hashable
900
+
901
+ # ETag of this response for caching purposes.
902
+ # Corresponds to the JSON property `etag`
903
+ # @return [String]
904
+ attr_accessor :etag
905
+
906
+ # The ID of this collection of activities. Deprecated.
907
+ # Corresponds to the JSON property `id`
908
+ # @return [String]
909
+ attr_accessor :id
910
+
911
+ # The activities in this page of results.
912
+ # Corresponds to the JSON property `items`
913
+ # @return [Array<Google::Apis::PlusV1::Activity>]
914
+ attr_accessor :items
915
+
916
+ # Identifies this resource as a collection of activities. Value: "plus#
917
+ # activityFeed".
918
+ # Corresponds to the JSON property `kind`
919
+ # @return [String]
920
+ attr_accessor :kind
921
+
922
+ # Link to the next page of activities.
923
+ # Corresponds to the JSON property `nextLink`
924
+ # @return [String]
925
+ attr_accessor :next_link
926
+
927
+ # The continuation token, which is used to page through large result sets.
928
+ # Provide this value in a subsequent request to return the next page of results.
929
+ # Corresponds to the JSON property `nextPageToken`
930
+ # @return [String]
931
+ attr_accessor :next_page_token
932
+
933
+ # Link to this activity resource.
934
+ # Corresponds to the JSON property `selfLink`
935
+ # @return [String]
936
+ attr_accessor :self_link
937
+
938
+ # The title of this collection of activities, which is a truncated portion of
939
+ # the content.
940
+ # Corresponds to the JSON property `title`
941
+ # @return [String]
942
+ attr_accessor :title
943
+
944
+ # The time at which this collection of activities was last updated. Formatted as
945
+ # an RFC 3339 timestamp.
946
+ # Corresponds to the JSON property `updated`
947
+ # @return [DateTime]
948
+ attr_accessor :updated
949
+
950
+ def initialize(**args)
951
+ update!(**args)
952
+ end
953
+
954
+ # Update properties of this object
955
+ def update!(**args)
956
+ @etag = args[:etag] if args.key?(:etag)
957
+ @id = args[:id] if args.key?(:id)
958
+ @items = args[:items] if args.key?(:items)
959
+ @kind = args[:kind] if args.key?(:kind)
960
+ @next_link = args[:next_link] if args.key?(:next_link)
961
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
962
+ @self_link = args[:self_link] if args.key?(:self_link)
963
+ @title = args[:title] if args.key?(:title)
964
+ @updated = args[:updated] if args.key?(:updated)
965
+ end
966
+ end
967
+
968
+ #
969
+ class Comment
970
+ include Google::Apis::Core::Hashable
971
+
972
+ # The person who posted this comment.
973
+ # Corresponds to the JSON property `actor`
974
+ # @return [Google::Apis::PlusV1::Comment::Actor]
975
+ attr_accessor :actor
976
+
977
+ # ETag of this response for caching purposes.
978
+ # Corresponds to the JSON property `etag`
979
+ # @return [String]
980
+ attr_accessor :etag
981
+
982
+ # The ID of this comment.
983
+ # Corresponds to the JSON property `id`
984
+ # @return [String]
985
+ attr_accessor :id
986
+
987
+ # The activity this comment replied to.
988
+ # Corresponds to the JSON property `inReplyTo`
989
+ # @return [Array<Google::Apis::PlusV1::Comment::InReplyTo>]
990
+ attr_accessor :in_reply_to
991
+
992
+ # Identifies this resource as a comment. Value: "plus#comment".
993
+ # Corresponds to the JSON property `kind`
994
+ # @return [String]
995
+ attr_accessor :kind
996
+
997
+ # The object of this comment.
998
+ # Corresponds to the JSON property `object`
999
+ # @return [Google::Apis::PlusV1::Comment::Object]
1000
+ attr_accessor :object
1001
+
1002
+ # People who +1'd this comment.
1003
+ # Corresponds to the JSON property `plusoners`
1004
+ # @return [Google::Apis::PlusV1::Comment::Plusoners]
1005
+ attr_accessor :plusoners
1006
+
1007
+ # The time at which this comment was initially published. Formatted as an RFC
1008
+ # 3339 timestamp.
1009
+ # Corresponds to the JSON property `published`
1010
+ # @return [DateTime]
1011
+ attr_accessor :published
1012
+
1013
+ # Link to this comment resource.
1014
+ # Corresponds to the JSON property `selfLink`
1015
+ # @return [String]
1016
+ attr_accessor :self_link
1017
+
1018
+ # The time at which this comment was last updated. Formatted as an RFC 3339
1019
+ # timestamp.
1020
+ # Corresponds to the JSON property `updated`
1021
+ # @return [DateTime]
1022
+ attr_accessor :updated
1023
+
1024
+ # This comment's verb, indicating what action was performed. Possible values are:
1025
+ #
1026
+ # - "post" - Publish content to the stream.
1027
+ # Corresponds to the JSON property `verb`
1028
+ # @return [String]
1029
+ attr_accessor :verb
1030
+
1031
+ def initialize(**args)
1032
+ update!(**args)
1033
+ end
1034
+
1035
+ # Update properties of this object
1036
+ def update!(**args)
1037
+ @actor = args[:actor] if args.key?(:actor)
1038
+ @etag = args[:etag] if args.key?(:etag)
1039
+ @id = args[:id] if args.key?(:id)
1040
+ @in_reply_to = args[:in_reply_to] if args.key?(:in_reply_to)
1041
+ @kind = args[:kind] if args.key?(:kind)
1042
+ @object = args[:object] if args.key?(:object)
1043
+ @plusoners = args[:plusoners] if args.key?(:plusoners)
1044
+ @published = args[:published] if args.key?(:published)
1045
+ @self_link = args[:self_link] if args.key?(:self_link)
1046
+ @updated = args[:updated] if args.key?(:updated)
1047
+ @verb = args[:verb] if args.key?(:verb)
1048
+ end
1049
+
1050
+ # The person who posted this comment.
1051
+ class Actor
1052
+ include Google::Apis::Core::Hashable
1053
+
1054
+ # Actor info specific to particular clients.
1055
+ # Corresponds to the JSON property `clientSpecificActorInfo`
1056
+ # @return [Google::Apis::PlusV1::Comment::Actor::ClientSpecificActorInfo]
1057
+ attr_accessor :client_specific_actor_info
1058
+
1059
+ # The name of this actor, suitable for display.
1060
+ # Corresponds to the JSON property `displayName`
1061
+ # @return [String]
1062
+ attr_accessor :display_name
1063
+
1064
+ # The ID of the actor.
1065
+ # Corresponds to the JSON property `id`
1066
+ # @return [String]
1067
+ attr_accessor :id
1068
+
1069
+ # The image representation of this actor.
1070
+ # Corresponds to the JSON property `image`
1071
+ # @return [Google::Apis::PlusV1::Comment::Actor::Image]
1072
+ attr_accessor :image
1073
+
1074
+ # A link to the Person resource for this actor.
1075
+ # Corresponds to the JSON property `url`
1076
+ # @return [String]
1077
+ attr_accessor :url
1078
+
1079
+ # Verification status of actor.
1080
+ # Corresponds to the JSON property `verification`
1081
+ # @return [Google::Apis::PlusV1::Comment::Actor::Verification]
1082
+ attr_accessor :verification
1083
+
1084
+ def initialize(**args)
1085
+ update!(**args)
1086
+ end
1087
+
1088
+ # Update properties of this object
1089
+ def update!(**args)
1090
+ @client_specific_actor_info = args[:client_specific_actor_info] if args.key?(:client_specific_actor_info)
1091
+ @display_name = args[:display_name] if args.key?(:display_name)
1092
+ @id = args[:id] if args.key?(:id)
1093
+ @image = args[:image] if args.key?(:image)
1094
+ @url = args[:url] if args.key?(:url)
1095
+ @verification = args[:verification] if args.key?(:verification)
1096
+ end
1097
+
1098
+ # Actor info specific to particular clients.
1099
+ class ClientSpecificActorInfo
1100
+ include Google::Apis::Core::Hashable
1101
+
1102
+ # Actor info specific to YouTube clients.
1103
+ # Corresponds to the JSON property `youtubeActorInfo`
1104
+ # @return [Google::Apis::PlusV1::Comment::Actor::ClientSpecificActorInfo::YoutubeActorInfo]
1105
+ attr_accessor :youtube_actor_info
1106
+
1107
+ def initialize(**args)
1108
+ update!(**args)
1109
+ end
1110
+
1111
+ # Update properties of this object
1112
+ def update!(**args)
1113
+ @youtube_actor_info = args[:youtube_actor_info] if args.key?(:youtube_actor_info)
1114
+ end
1115
+
1116
+ # Actor info specific to YouTube clients.
1117
+ class YoutubeActorInfo
1118
+ include Google::Apis::Core::Hashable
1119
+
1120
+ # ID of the YouTube channel owned by the Actor.
1121
+ # Corresponds to the JSON property `channelId`
1122
+ # @return [String]
1123
+ attr_accessor :channel_id
1124
+
1125
+ def initialize(**args)
1126
+ update!(**args)
1127
+ end
1128
+
1129
+ # Update properties of this object
1130
+ def update!(**args)
1131
+ @channel_id = args[:channel_id] if args.key?(:channel_id)
1132
+ end
1133
+ end
1134
+ end
1135
+
1136
+ # The image representation of this actor.
1137
+ class Image
1138
+ include Google::Apis::Core::Hashable
1139
+
1140
+ # The URL of the actor's profile photo. To resize the image and crop it to a
1141
+ # square, append the query string ?sz=x, where x is the dimension in pixels of
1142
+ # each side.
1143
+ # Corresponds to the JSON property `url`
1144
+ # @return [String]
1145
+ attr_accessor :url
1146
+
1147
+ def initialize(**args)
1148
+ update!(**args)
1149
+ end
1150
+
1151
+ # Update properties of this object
1152
+ def update!(**args)
1153
+ @url = args[:url] if args.key?(:url)
1154
+ end
1155
+ end
1156
+
1157
+ # Verification status of actor.
1158
+ class Verification
1159
+ include Google::Apis::Core::Hashable
1160
+
1161
+ # Verification for one-time or manual processes.
1162
+ # Corresponds to the JSON property `adHocVerified`
1163
+ # @return [String]
1164
+ attr_accessor :ad_hoc_verified
1165
+
1166
+ def initialize(**args)
1167
+ update!(**args)
1168
+ end
1169
+
1170
+ # Update properties of this object
1171
+ def update!(**args)
1172
+ @ad_hoc_verified = args[:ad_hoc_verified] if args.key?(:ad_hoc_verified)
1173
+ end
1174
+ end
1175
+ end
1176
+
1177
+ #
1178
+ class InReplyTo
1179
+ include Google::Apis::Core::Hashable
1180
+
1181
+ # The ID of the activity.
1182
+ # Corresponds to the JSON property `id`
1183
+ # @return [String]
1184
+ attr_accessor :id
1185
+
1186
+ # The URL of the activity.
1187
+ # Corresponds to the JSON property `url`
1188
+ # @return [String]
1189
+ attr_accessor :url
1190
+
1191
+ def initialize(**args)
1192
+ update!(**args)
1193
+ end
1194
+
1195
+ # Update properties of this object
1196
+ def update!(**args)
1197
+ @id = args[:id] if args.key?(:id)
1198
+ @url = args[:url] if args.key?(:url)
1199
+ end
1200
+ end
1201
+
1202
+ # The object of this comment.
1203
+ class Object
1204
+ include Google::Apis::Core::Hashable
1205
+
1206
+ # The HTML-formatted content, suitable for display.
1207
+ # Corresponds to the JSON property `content`
1208
+ # @return [String]
1209
+ attr_accessor :content
1210
+
1211
+ # The object type of this comment. Possible values are:
1212
+ # - "comment" - A comment in reply to an activity.
1213
+ # Corresponds to the JSON property `objectType`
1214
+ # @return [String]
1215
+ attr_accessor :object_type
1216
+
1217
+ # The content (text) as provided by the author, stored without any HTML
1218
+ # formatting. When creating or updating a comment, this value must be supplied
1219
+ # as plain text in the request.
1220
+ # Corresponds to the JSON property `originalContent`
1221
+ # @return [String]
1222
+ attr_accessor :original_content
1223
+
1224
+ def initialize(**args)
1225
+ update!(**args)
1226
+ end
1227
+
1228
+ # Update properties of this object
1229
+ def update!(**args)
1230
+ @content = args[:content] if args.key?(:content)
1231
+ @object_type = args[:object_type] if args.key?(:object_type)
1232
+ @original_content = args[:original_content] if args.key?(:original_content)
1233
+ end
1234
+ end
1235
+
1236
+ # People who +1'd this comment.
1237
+ class Plusoners
1238
+ include Google::Apis::Core::Hashable
1239
+
1240
+ # Total number of people who +1'd this comment.
1241
+ # Corresponds to the JSON property `totalItems`
1242
+ # @return [Fixnum]
1243
+ attr_accessor :total_items
1244
+
1245
+ def initialize(**args)
1246
+ update!(**args)
1247
+ end
1248
+
1249
+ # Update properties of this object
1250
+ def update!(**args)
1251
+ @total_items = args[:total_items] if args.key?(:total_items)
1252
+ end
1253
+ end
1254
+ end
1255
+
1256
+ #
1257
+ class CommentFeed
1258
+ include Google::Apis::Core::Hashable
1259
+
1260
+ # ETag of this response for caching purposes.
1261
+ # Corresponds to the JSON property `etag`
1262
+ # @return [String]
1263
+ attr_accessor :etag
1264
+
1265
+ # The ID of this collection of comments.
1266
+ # Corresponds to the JSON property `id`
1267
+ # @return [String]
1268
+ attr_accessor :id
1269
+
1270
+ # The comments in this page of results.
1271
+ # Corresponds to the JSON property `items`
1272
+ # @return [Array<Google::Apis::PlusV1::Comment>]
1273
+ attr_accessor :items
1274
+
1275
+ # Identifies this resource as a collection of comments. Value: "plus#commentFeed"
1276
+ # .
1277
+ # Corresponds to the JSON property `kind`
1278
+ # @return [String]
1279
+ attr_accessor :kind
1280
+
1281
+ # Link to the next page of activities.
1282
+ # Corresponds to the JSON property `nextLink`
1283
+ # @return [String]
1284
+ attr_accessor :next_link
1285
+
1286
+ # The continuation token, which is used to page through large result sets.
1287
+ # Provide this value in a subsequent request to return the next page of results.
1288
+ # Corresponds to the JSON property `nextPageToken`
1289
+ # @return [String]
1290
+ attr_accessor :next_page_token
1291
+
1292
+ # The title of this collection of comments.
1293
+ # Corresponds to the JSON property `title`
1294
+ # @return [String]
1295
+ attr_accessor :title
1296
+
1297
+ # The time at which this collection of comments was last updated. Formatted as
1298
+ # an RFC 3339 timestamp.
1299
+ # Corresponds to the JSON property `updated`
1300
+ # @return [DateTime]
1301
+ attr_accessor :updated
1302
+
1303
+ def initialize(**args)
1304
+ update!(**args)
1305
+ end
1306
+
1307
+ # Update properties of this object
1308
+ def update!(**args)
1309
+ @etag = args[:etag] if args.key?(:etag)
1310
+ @id = args[:id] if args.key?(:id)
1311
+ @items = args[:items] if args.key?(:items)
1312
+ @kind = args[:kind] if args.key?(:kind)
1313
+ @next_link = args[:next_link] if args.key?(:next_link)
1314
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1315
+ @title = args[:title] if args.key?(:title)
1316
+ @updated = args[:updated] if args.key?(:updated)
1317
+ end
1318
+ end
1319
+
1320
+ #
1321
+ class PeopleFeed
1322
+ include Google::Apis::Core::Hashable
1323
+
1324
+ # ETag of this response for caching purposes.
1325
+ # Corresponds to the JSON property `etag`
1326
+ # @return [String]
1327
+ attr_accessor :etag
1328
+
1329
+ # The people in this page of results. Each item includes the id, displayName,
1330
+ # image, and url for the person. To retrieve additional profile data, see the
1331
+ # people.get method.
1332
+ # Corresponds to the JSON property `items`
1333
+ # @return [Array<Google::Apis::PlusV1::Person>]
1334
+ attr_accessor :items
1335
+
1336
+ # Identifies this resource as a collection of people. Value: "plus#peopleFeed".
1337
+ # Corresponds to the JSON property `kind`
1338
+ # @return [String]
1339
+ attr_accessor :kind
1340
+
1341
+ # The continuation token, which is used to page through large result sets.
1342
+ # Provide this value in a subsequent request to return the next page of results.
1343
+ # Corresponds to the JSON property `nextPageToken`
1344
+ # @return [String]
1345
+ attr_accessor :next_page_token
1346
+
1347
+ # Link to this resource.
1348
+ # Corresponds to the JSON property `selfLink`
1349
+ # @return [String]
1350
+ attr_accessor :self_link
1351
+
1352
+ # The title of this collection of people.
1353
+ # Corresponds to the JSON property `title`
1354
+ # @return [String]
1355
+ attr_accessor :title
1356
+
1357
+ # The total number of people available in this list. The number of people in a
1358
+ # response might be smaller due to paging. This might not be set for all
1359
+ # collections.
1360
+ # Corresponds to the JSON property `totalItems`
1361
+ # @return [Fixnum]
1362
+ attr_accessor :total_items
1363
+
1364
+ def initialize(**args)
1365
+ update!(**args)
1366
+ end
1367
+
1368
+ # Update properties of this object
1369
+ def update!(**args)
1370
+ @etag = args[:etag] if args.key?(:etag)
1371
+ @items = args[:items] if args.key?(:items)
1372
+ @kind = args[:kind] if args.key?(:kind)
1373
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1374
+ @self_link = args[:self_link] if args.key?(:self_link)
1375
+ @title = args[:title] if args.key?(:title)
1376
+ @total_items = args[:total_items] if args.key?(:total_items)
1377
+ end
1378
+ end
1379
+
1380
+ #
1381
+ class Person
1382
+ include Google::Apis::Core::Hashable
1383
+
1384
+ # A short biography for this person.
1385
+ # Corresponds to the JSON property `aboutMe`
1386
+ # @return [String]
1387
+ attr_accessor :about_me
1388
+
1389
+ # The age range of the person. Valid ranges are 17 or younger, 18 to 20, and 21
1390
+ # or older. Age is determined from the user's birthday using Western age
1391
+ # reckoning.
1392
+ # Corresponds to the JSON property `ageRange`
1393
+ # @return [Google::Apis::PlusV1::Person::AgeRange]
1394
+ attr_accessor :age_range
1395
+
1396
+ # The person's date of birth, represented as YYYY-MM-DD.
1397
+ # Corresponds to the JSON property `birthday`
1398
+ # @return [String]
1399
+ attr_accessor :birthday
1400
+
1401
+ # The "bragging rights" line of this person.
1402
+ # Corresponds to the JSON property `braggingRights`
1403
+ # @return [String]
1404
+ attr_accessor :bragging_rights
1405
+
1406
+ # For followers who are visible, the number of people who have added this person
1407
+ # or page to a circle.
1408
+ # Corresponds to the JSON property `circledByCount`
1409
+ # @return [Fixnum]
1410
+ attr_accessor :circled_by_count
1411
+
1412
+ # The cover photo content.
1413
+ # Corresponds to the JSON property `cover`
1414
+ # @return [Google::Apis::PlusV1::Person::Cover]
1415
+ attr_accessor :cover
1416
+
1417
+ # (this field is not currently used)
1418
+ # Corresponds to the JSON property `currentLocation`
1419
+ # @return [String]
1420
+ attr_accessor :current_location
1421
+
1422
+ # The name of this person, which is suitable for display.
1423
+ # Corresponds to the JSON property `displayName`
1424
+ # @return [String]
1425
+ attr_accessor :display_name
1426
+
1427
+ # The hosted domain name for the user's Google Apps account. For instance,
1428
+ # example.com. The plus.profile.emails.read or email scope is needed to get this
1429
+ # domain name.
1430
+ # Corresponds to the JSON property `domain`
1431
+ # @return [String]
1432
+ attr_accessor :domain
1433
+
1434
+ # A list of email addresses that this person has, including their Google account
1435
+ # email address, and the public verified email addresses on their Google+
1436
+ # profile. The plus.profile.emails.read scope is needed to retrieve these email
1437
+ # addresses, or the email scope can be used to retrieve just the Google account
1438
+ # email address.
1439
+ # Corresponds to the JSON property `emails`
1440
+ # @return [Array<Google::Apis::PlusV1::Person::Email>]
1441
+ attr_accessor :emails
1442
+
1443
+ # ETag of this response for caching purposes.
1444
+ # Corresponds to the JSON property `etag`
1445
+ # @return [String]
1446
+ attr_accessor :etag
1447
+
1448
+ # The person's gender. Possible values include, but are not limited to, the
1449
+ # following values:
1450
+ # - "male" - Male gender.
1451
+ # - "female" - Female gender.
1452
+ # - "other" - Other.
1453
+ # Corresponds to the JSON property `gender`
1454
+ # @return [String]
1455
+ attr_accessor :gender
1456
+
1457
+ # The ID of this person.
1458
+ # Corresponds to the JSON property `id`
1459
+ # @return [String]
1460
+ attr_accessor :id
1461
+
1462
+ # The representation of the person's profile photo.
1463
+ # Corresponds to the JSON property `image`
1464
+ # @return [Google::Apis::PlusV1::Person::Image]
1465
+ attr_accessor :image
1466
+
1467
+ # Whether this user has signed up for Google+.
1468
+ # Corresponds to the JSON property `isPlusUser`
1469
+ # @return [Boolean]
1470
+ attr_accessor :is_plus_user
1471
+ alias_method :is_plus_user?, :is_plus_user
1472
+
1473
+ # Identifies this resource as a person. Value: "plus#person".
1474
+ # Corresponds to the JSON property `kind`
1475
+ # @return [String]
1476
+ attr_accessor :kind
1477
+
1478
+ # The user's preferred language for rendering.
1479
+ # Corresponds to the JSON property `language`
1480
+ # @return [String]
1481
+ attr_accessor :language
1482
+
1483
+ # An object representation of the individual components of a person's name.
1484
+ # Corresponds to the JSON property `name`
1485
+ # @return [Google::Apis::PlusV1::Person::Name]
1486
+ attr_accessor :name
1487
+
1488
+ # The nickname of this person.
1489
+ # Corresponds to the JSON property `nickname`
1490
+ # @return [String]
1491
+ attr_accessor :nickname
1492
+
1493
+ # Type of person within Google+. Possible values include, but are not limited to,
1494
+ # the following values:
1495
+ # - "person" - represents an actual person.
1496
+ # - "page" - represents a page.
1497
+ # Corresponds to the JSON property `objectType`
1498
+ # @return [String]
1499
+ attr_accessor :object_type
1500
+
1501
+ # The occupation of this person.
1502
+ # Corresponds to the JSON property `occupation`
1503
+ # @return [String]
1504
+ attr_accessor :occupation
1505
+
1506
+ # A list of current or past organizations with which this person is associated.
1507
+ # Corresponds to the JSON property `organizations`
1508
+ # @return [Array<Google::Apis::PlusV1::Person::Organization>]
1509
+ attr_accessor :organizations
1510
+
1511
+ # A list of places where this person has lived.
1512
+ # Corresponds to the JSON property `placesLived`
1513
+ # @return [Array<Google::Apis::PlusV1::Person::PlacesLived>]
1514
+ attr_accessor :places_lived
1515
+
1516
+ # If a Google+ Page, the number of people who have +1'd this page.
1517
+ # Corresponds to the JSON property `plusOneCount`
1518
+ # @return [Fixnum]
1519
+ attr_accessor :plus_one_count
1520
+
1521
+ # The person's relationship status. Possible values include, but are not limited
1522
+ # to, the following values:
1523
+ # - "single" - Person is single.
1524
+ # - "in_a_relationship" - Person is in a relationship.
1525
+ # - "engaged" - Person is engaged.
1526
+ # - "married" - Person is married.
1527
+ # - "its_complicated" - The relationship is complicated.
1528
+ # - "open_relationship" - Person is in an open relationship.
1529
+ # - "widowed" - Person is widowed.
1530
+ # - "in_domestic_partnership" - Person is in a domestic partnership.
1531
+ # - "in_civil_union" - Person is in a civil union.
1532
+ # Corresponds to the JSON property `relationshipStatus`
1533
+ # @return [String]
1534
+ attr_accessor :relationship_status
1535
+
1536
+ # The person's skills.
1537
+ # Corresponds to the JSON property `skills`
1538
+ # @return [String]
1539
+ attr_accessor :skills
1540
+
1541
+ # The brief description (tagline) of this person.
1542
+ # Corresponds to the JSON property `tagline`
1543
+ # @return [String]
1544
+ attr_accessor :tagline
1545
+
1546
+ # The URL of this person's profile.
1547
+ # Corresponds to the JSON property `url`
1548
+ # @return [String]
1549
+ attr_accessor :url
1550
+
1551
+ # A list of URLs for this person.
1552
+ # Corresponds to the JSON property `urls`
1553
+ # @return [Array<Google::Apis::PlusV1::Person::Url>]
1554
+ attr_accessor :urls
1555
+
1556
+ # Whether the person or Google+ Page has been verified.
1557
+ # Corresponds to the JSON property `verified`
1558
+ # @return [Boolean]
1559
+ attr_accessor :verified
1560
+ alias_method :verified?, :verified
1561
+
1562
+ def initialize(**args)
1563
+ update!(**args)
1564
+ end
1565
+
1566
+ # Update properties of this object
1567
+ def update!(**args)
1568
+ @about_me = args[:about_me] if args.key?(:about_me)
1569
+ @age_range = args[:age_range] if args.key?(:age_range)
1570
+ @birthday = args[:birthday] if args.key?(:birthday)
1571
+ @bragging_rights = args[:bragging_rights] if args.key?(:bragging_rights)
1572
+ @circled_by_count = args[:circled_by_count] if args.key?(:circled_by_count)
1573
+ @cover = args[:cover] if args.key?(:cover)
1574
+ @current_location = args[:current_location] if args.key?(:current_location)
1575
+ @display_name = args[:display_name] if args.key?(:display_name)
1576
+ @domain = args[:domain] if args.key?(:domain)
1577
+ @emails = args[:emails] if args.key?(:emails)
1578
+ @etag = args[:etag] if args.key?(:etag)
1579
+ @gender = args[:gender] if args.key?(:gender)
1580
+ @id = args[:id] if args.key?(:id)
1581
+ @image = args[:image] if args.key?(:image)
1582
+ @is_plus_user = args[:is_plus_user] if args.key?(:is_plus_user)
1583
+ @kind = args[:kind] if args.key?(:kind)
1584
+ @language = args[:language] if args.key?(:language)
1585
+ @name = args[:name] if args.key?(:name)
1586
+ @nickname = args[:nickname] if args.key?(:nickname)
1587
+ @object_type = args[:object_type] if args.key?(:object_type)
1588
+ @occupation = args[:occupation] if args.key?(:occupation)
1589
+ @organizations = args[:organizations] if args.key?(:organizations)
1590
+ @places_lived = args[:places_lived] if args.key?(:places_lived)
1591
+ @plus_one_count = args[:plus_one_count] if args.key?(:plus_one_count)
1592
+ @relationship_status = args[:relationship_status] if args.key?(:relationship_status)
1593
+ @skills = args[:skills] if args.key?(:skills)
1594
+ @tagline = args[:tagline] if args.key?(:tagline)
1595
+ @url = args[:url] if args.key?(:url)
1596
+ @urls = args[:urls] if args.key?(:urls)
1597
+ @verified = args[:verified] if args.key?(:verified)
1598
+ end
1599
+
1600
+ # The age range of the person. Valid ranges are 17 or younger, 18 to 20, and 21
1601
+ # or older. Age is determined from the user's birthday using Western age
1602
+ # reckoning.
1603
+ class AgeRange
1604
+ include Google::Apis::Core::Hashable
1605
+
1606
+ # The age range's upper bound, if any. Possible values include, but are not
1607
+ # limited to, the following:
1608
+ # - "17" - for age 17
1609
+ # - "20" - for age 20
1610
+ # Corresponds to the JSON property `max`
1611
+ # @return [Fixnum]
1612
+ attr_accessor :max
1613
+
1614
+ # The age range's lower bound, if any. Possible values include, but are not
1615
+ # limited to, the following:
1616
+ # - "21" - for age 21
1617
+ # - "18" - for age 18
1618
+ # Corresponds to the JSON property `min`
1619
+ # @return [Fixnum]
1620
+ attr_accessor :min
1621
+
1622
+ def initialize(**args)
1623
+ update!(**args)
1624
+ end
1625
+
1626
+ # Update properties of this object
1627
+ def update!(**args)
1628
+ @max = args[:max] if args.key?(:max)
1629
+ @min = args[:min] if args.key?(:min)
1630
+ end
1631
+ end
1632
+
1633
+ # The cover photo content.
1634
+ class Cover
1635
+ include Google::Apis::Core::Hashable
1636
+
1637
+ # Extra information about the cover photo.
1638
+ # Corresponds to the JSON property `coverInfo`
1639
+ # @return [Google::Apis::PlusV1::Person::Cover::CoverInfo]
1640
+ attr_accessor :cover_info
1641
+
1642
+ # The person's primary cover image.
1643
+ # Corresponds to the JSON property `coverPhoto`
1644
+ # @return [Google::Apis::PlusV1::Person::Cover::CoverPhoto]
1645
+ attr_accessor :cover_photo
1646
+
1647
+ # The layout of the cover art. Possible values include, but are not limited to,
1648
+ # the following values:
1649
+ # - "banner" - One large image banner.
1650
+ # Corresponds to the JSON property `layout`
1651
+ # @return [String]
1652
+ attr_accessor :layout
1653
+
1654
+ def initialize(**args)
1655
+ update!(**args)
1656
+ end
1657
+
1658
+ # Update properties of this object
1659
+ def update!(**args)
1660
+ @cover_info = args[:cover_info] if args.key?(:cover_info)
1661
+ @cover_photo = args[:cover_photo] if args.key?(:cover_photo)
1662
+ @layout = args[:layout] if args.key?(:layout)
1663
+ end
1664
+
1665
+ # Extra information about the cover photo.
1666
+ class CoverInfo
1667
+ include Google::Apis::Core::Hashable
1668
+
1669
+ # The difference between the left position of the cover image and the actual
1670
+ # displayed cover image. Only valid for banner layout.
1671
+ # Corresponds to the JSON property `leftImageOffset`
1672
+ # @return [Fixnum]
1673
+ attr_accessor :left_image_offset
1674
+
1675
+ # The difference between the top position of the cover image and the actual
1676
+ # displayed cover image. Only valid for banner layout.
1677
+ # Corresponds to the JSON property `topImageOffset`
1678
+ # @return [Fixnum]
1679
+ attr_accessor :top_image_offset
1680
+
1681
+ def initialize(**args)
1682
+ update!(**args)
1683
+ end
1684
+
1685
+ # Update properties of this object
1686
+ def update!(**args)
1687
+ @left_image_offset = args[:left_image_offset] if args.key?(:left_image_offset)
1688
+ @top_image_offset = args[:top_image_offset] if args.key?(:top_image_offset)
1689
+ end
1690
+ end
1691
+
1692
+ # The person's primary cover image.
1693
+ class CoverPhoto
1694
+ include Google::Apis::Core::Hashable
1695
+
1696
+ # The height of the image.
1697
+ # Corresponds to the JSON property `height`
1698
+ # @return [Fixnum]
1699
+ attr_accessor :height
1700
+
1701
+ # The URL of the image.
1702
+ # Corresponds to the JSON property `url`
1703
+ # @return [String]
1704
+ attr_accessor :url
1705
+
1706
+ # The width of the image.
1707
+ # Corresponds to the JSON property `width`
1708
+ # @return [Fixnum]
1709
+ attr_accessor :width
1710
+
1711
+ def initialize(**args)
1712
+ update!(**args)
1713
+ end
1714
+
1715
+ # Update properties of this object
1716
+ def update!(**args)
1717
+ @height = args[:height] if args.key?(:height)
1718
+ @url = args[:url] if args.key?(:url)
1719
+ @width = args[:width] if args.key?(:width)
1720
+ end
1721
+ end
1722
+ end
1723
+
1724
+ #
1725
+ class Email
1726
+ include Google::Apis::Core::Hashable
1727
+
1728
+ # The type of address. Possible values include, but are not limited to, the
1729
+ # following values:
1730
+ # - "account" - Google account email address.
1731
+ # - "home" - Home email address.
1732
+ # - "work" - Work email address.
1733
+ # - "other" - Other.
1734
+ # Corresponds to the JSON property `type`
1735
+ # @return [String]
1736
+ attr_accessor :type
1737
+
1738
+ # The email address.
1739
+ # Corresponds to the JSON property `value`
1740
+ # @return [String]
1741
+ attr_accessor :value
1742
+
1743
+ def initialize(**args)
1744
+ update!(**args)
1745
+ end
1746
+
1747
+ # Update properties of this object
1748
+ def update!(**args)
1749
+ @type = args[:type] if args.key?(:type)
1750
+ @value = args[:value] if args.key?(:value)
1751
+ end
1752
+ end
1753
+
1754
+ # The representation of the person's profile photo.
1755
+ class Image
1756
+ include Google::Apis::Core::Hashable
1757
+
1758
+ # Whether the person's profile photo is the default one
1759
+ # Corresponds to the JSON property `isDefault`
1760
+ # @return [Boolean]
1761
+ attr_accessor :is_default
1762
+ alias_method :is_default?, :is_default
1763
+
1764
+ # The URL of the person's profile photo. To resize the image and crop it to a
1765
+ # square, append the query string ?sz=x, where x is the dimension in pixels of
1766
+ # each side.
1767
+ # Corresponds to the JSON property `url`
1768
+ # @return [String]
1769
+ attr_accessor :url
1770
+
1771
+ def initialize(**args)
1772
+ update!(**args)
1773
+ end
1774
+
1775
+ # Update properties of this object
1776
+ def update!(**args)
1777
+ @is_default = args[:is_default] if args.key?(:is_default)
1778
+ @url = args[:url] if args.key?(:url)
1779
+ end
1780
+ end
1781
+
1782
+ # An object representation of the individual components of a person's name.
1783
+ class Name
1784
+ include Google::Apis::Core::Hashable
1785
+
1786
+ # The family name (last name) of this person.
1787
+ # Corresponds to the JSON property `familyName`
1788
+ # @return [String]
1789
+ attr_accessor :family_name
1790
+
1791
+ # The full name of this person, including middle names, suffixes, etc.
1792
+ # Corresponds to the JSON property `formatted`
1793
+ # @return [String]
1794
+ attr_accessor :formatted
1795
+
1796
+ # The given name (first name) of this person.
1797
+ # Corresponds to the JSON property `givenName`
1798
+ # @return [String]
1799
+ attr_accessor :given_name
1800
+
1801
+ # The honorific prefixes (such as "Dr." or "Mrs.") for this person.
1802
+ # Corresponds to the JSON property `honorificPrefix`
1803
+ # @return [String]
1804
+ attr_accessor :honorific_prefix
1805
+
1806
+ # The honorific suffixes (such as "Jr.") for this person.
1807
+ # Corresponds to the JSON property `honorificSuffix`
1808
+ # @return [String]
1809
+ attr_accessor :honorific_suffix
1810
+
1811
+ # The middle name of this person.
1812
+ # Corresponds to the JSON property `middleName`
1813
+ # @return [String]
1814
+ attr_accessor :middle_name
1815
+
1816
+ def initialize(**args)
1817
+ update!(**args)
1818
+ end
1819
+
1820
+ # Update properties of this object
1821
+ def update!(**args)
1822
+ @family_name = args[:family_name] if args.key?(:family_name)
1823
+ @formatted = args[:formatted] if args.key?(:formatted)
1824
+ @given_name = args[:given_name] if args.key?(:given_name)
1825
+ @honorific_prefix = args[:honorific_prefix] if args.key?(:honorific_prefix)
1826
+ @honorific_suffix = args[:honorific_suffix] if args.key?(:honorific_suffix)
1827
+ @middle_name = args[:middle_name] if args.key?(:middle_name)
1828
+ end
1829
+ end
1830
+
1831
+ #
1832
+ class Organization
1833
+ include Google::Apis::Core::Hashable
1834
+
1835
+ # The department within the organization. Deprecated.
1836
+ # Corresponds to the JSON property `department`
1837
+ # @return [String]
1838
+ attr_accessor :department
1839
+
1840
+ # A short description of the person's role in this organization. Deprecated.
1841
+ # Corresponds to the JSON property `description`
1842
+ # @return [String]
1843
+ attr_accessor :description
1844
+
1845
+ # The date that the person left this organization.
1846
+ # Corresponds to the JSON property `endDate`
1847
+ # @return [String]
1848
+ attr_accessor :end_date
1849
+
1850
+ # The location of this organization. Deprecated.
1851
+ # Corresponds to the JSON property `location`
1852
+ # @return [String]
1853
+ attr_accessor :location
1854
+
1855
+ # The name of the organization.
1856
+ # Corresponds to the JSON property `name`
1857
+ # @return [String]
1858
+ attr_accessor :name
1859
+
1860
+ # If "true", indicates this organization is the person's primary one, which is
1861
+ # typically interpreted as the current one.
1862
+ # Corresponds to the JSON property `primary`
1863
+ # @return [Boolean]
1864
+ attr_accessor :primary
1865
+ alias_method :primary?, :primary
1866
+
1867
+ # The date that the person joined this organization.
1868
+ # Corresponds to the JSON property `startDate`
1869
+ # @return [String]
1870
+ attr_accessor :start_date
1871
+
1872
+ # The person's job title or role within the organization.
1873
+ # Corresponds to the JSON property `title`
1874
+ # @return [String]
1875
+ attr_accessor :title
1876
+
1877
+ # The type of organization. Possible values include, but are not limited to, the
1878
+ # following values:
1879
+ # - "work" - Work.
1880
+ # - "school" - School.
1881
+ # Corresponds to the JSON property `type`
1882
+ # @return [String]
1883
+ attr_accessor :type
1884
+
1885
+ def initialize(**args)
1886
+ update!(**args)
1887
+ end
1888
+
1889
+ # Update properties of this object
1890
+ def update!(**args)
1891
+ @department = args[:department] if args.key?(:department)
1892
+ @description = args[:description] if args.key?(:description)
1893
+ @end_date = args[:end_date] if args.key?(:end_date)
1894
+ @location = args[:location] if args.key?(:location)
1895
+ @name = args[:name] if args.key?(:name)
1896
+ @primary = args[:primary] if args.key?(:primary)
1897
+ @start_date = args[:start_date] if args.key?(:start_date)
1898
+ @title = args[:title] if args.key?(:title)
1899
+ @type = args[:type] if args.key?(:type)
1900
+ end
1901
+ end
1902
+
1903
+ #
1904
+ class PlacesLived
1905
+ include Google::Apis::Core::Hashable
1906
+
1907
+ # If "true", this place of residence is this person's primary residence.
1908
+ # Corresponds to the JSON property `primary`
1909
+ # @return [Boolean]
1910
+ attr_accessor :primary
1911
+ alias_method :primary?, :primary
1912
+
1913
+ # A place where this person has lived. For example: "Seattle, WA", "Near Toronto"
1914
+ # .
1915
+ # Corresponds to the JSON property `value`
1916
+ # @return [String]
1917
+ attr_accessor :value
1918
+
1919
+ def initialize(**args)
1920
+ update!(**args)
1921
+ end
1922
+
1923
+ # Update properties of this object
1924
+ def update!(**args)
1925
+ @primary = args[:primary] if args.key?(:primary)
1926
+ @value = args[:value] if args.key?(:value)
1927
+ end
1928
+ end
1929
+
1930
+ #
1931
+ class Url
1932
+ include Google::Apis::Core::Hashable
1933
+
1934
+ # The label of the URL.
1935
+ # Corresponds to the JSON property `label`
1936
+ # @return [String]
1937
+ attr_accessor :label
1938
+
1939
+ # The type of URL. Possible values include, but are not limited to, the
1940
+ # following values:
1941
+ # - "otherProfile" - URL for another profile.
1942
+ # - "contributor" - URL to a site for which this person is a contributor.
1943
+ # - "website" - URL for this Google+ Page's primary website.
1944
+ # - "other" - Other URL.
1945
+ # Corresponds to the JSON property `type`
1946
+ # @return [String]
1947
+ attr_accessor :type
1948
+
1949
+ # The URL value.
1950
+ # Corresponds to the JSON property `value`
1951
+ # @return [String]
1952
+ attr_accessor :value
1953
+
1954
+ def initialize(**args)
1955
+ update!(**args)
1956
+ end
1957
+
1958
+ # Update properties of this object
1959
+ def update!(**args)
1960
+ @label = args[:label] if args.key?(:label)
1961
+ @type = args[:type] if args.key?(:type)
1962
+ @value = args[:value] if args.key?(:value)
1963
+ end
1964
+ end
1965
+ end
1966
+
1967
+ #
1968
+ class Place
1969
+ include Google::Apis::Core::Hashable
1970
+
1971
+ # The physical address of the place.
1972
+ # Corresponds to the JSON property `address`
1973
+ # @return [Google::Apis::PlusV1::Place::Address]
1974
+ attr_accessor :address
1975
+
1976
+ # The display name of the place.
1977
+ # Corresponds to the JSON property `displayName`
1978
+ # @return [String]
1979
+ attr_accessor :display_name
1980
+
1981
+ # The id of the place.
1982
+ # Corresponds to the JSON property `id`
1983
+ # @return [String]
1984
+ attr_accessor :id
1985
+
1986
+ # Identifies this resource as a place. Value: "plus#place".
1987
+ # Corresponds to the JSON property `kind`
1988
+ # @return [String]
1989
+ attr_accessor :kind
1990
+
1991
+ # The position of the place.
1992
+ # Corresponds to the JSON property `position`
1993
+ # @return [Google::Apis::PlusV1::Place::Position]
1994
+ attr_accessor :position
1995
+
1996
+ def initialize(**args)
1997
+ update!(**args)
1998
+ end
1999
+
2000
+ # Update properties of this object
2001
+ def update!(**args)
2002
+ @address = args[:address] if args.key?(:address)
2003
+ @display_name = args[:display_name] if args.key?(:display_name)
2004
+ @id = args[:id] if args.key?(:id)
2005
+ @kind = args[:kind] if args.key?(:kind)
2006
+ @position = args[:position] if args.key?(:position)
2007
+ end
2008
+
2009
+ # The physical address of the place.
2010
+ class Address
2011
+ include Google::Apis::Core::Hashable
2012
+
2013
+ # The formatted address for display.
2014
+ # Corresponds to the JSON property `formatted`
2015
+ # @return [String]
2016
+ attr_accessor :formatted
2017
+
2018
+ def initialize(**args)
2019
+ update!(**args)
2020
+ end
2021
+
2022
+ # Update properties of this object
2023
+ def update!(**args)
2024
+ @formatted = args[:formatted] if args.key?(:formatted)
2025
+ end
2026
+ end
2027
+
2028
+ # The position of the place.
2029
+ class Position
2030
+ include Google::Apis::Core::Hashable
2031
+
2032
+ # The latitude of this position.
2033
+ # Corresponds to the JSON property `latitude`
2034
+ # @return [Float]
2035
+ attr_accessor :latitude
2036
+
2037
+ # The longitude of this position.
2038
+ # Corresponds to the JSON property `longitude`
2039
+ # @return [Float]
2040
+ attr_accessor :longitude
2041
+
2042
+ def initialize(**args)
2043
+ update!(**args)
2044
+ end
2045
+
2046
+ # Update properties of this object
2047
+ def update!(**args)
2048
+ @latitude = args[:latitude] if args.key?(:latitude)
2049
+ @longitude = args[:longitude] if args.key?(:longitude)
2050
+ end
2051
+ end
2052
+ end
2053
+
2054
+ #
2055
+ class PlusAclentryResource
2056
+ include Google::Apis::Core::Hashable
2057
+
2058
+ # A descriptive name for this entry. Suitable for display.
2059
+ # Corresponds to the JSON property `displayName`
2060
+ # @return [String]
2061
+ attr_accessor :display_name
2062
+
2063
+ # The ID of the entry. For entries of type "person" or "circle", this is the ID
2064
+ # of the resource. For other types, this property is not set.
2065
+ # Corresponds to the JSON property `id`
2066
+ # @return [String]
2067
+ attr_accessor :id
2068
+
2069
+ # The type of entry describing to whom access is granted. Possible values are:
2070
+ # - "person" - Access to an individual.
2071
+ # - "circle" - Access to members of a circle.
2072
+ # - "myCircles" - Access to members of all the person's circles.
2073
+ # - "extendedCircles" - Access to members of all the person's circles, plus all
2074
+ # of the people in their circles.
2075
+ # - "domain" - Access to members of the person's Google Apps domain.
2076
+ # - "public" - Access to anyone on the web.
2077
+ # Corresponds to the JSON property `type`
2078
+ # @return [String]
2079
+ attr_accessor :type
2080
+
2081
+ def initialize(**args)
2082
+ update!(**args)
2083
+ end
2084
+
2085
+ # Update properties of this object
2086
+ def update!(**args)
2087
+ @display_name = args[:display_name] if args.key?(:display_name)
2088
+ @id = args[:id] if args.key?(:id)
2089
+ @type = args[:type] if args.key?(:type)
2090
+ end
2091
+ end
2092
+ end
2093
+ end
2094
+ end