google-api-client 0.8.3 → 0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (497) hide show
  1. checksums.yaml +4 -4
  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 +22 -0
  7. data/.yardopts +12 -0
  8. data/CHANGELOG.md +52 -2
  9. data/CONTRIBUTING.md +31 -0
  10. data/Gemfile +35 -1
  11. data/MIGRATING.md +171 -0
  12. data/README.md +181 -148
  13. data/Rakefile +1 -40
  14. data/api_names.yaml +1036 -0
  15. data/api_names_out.yaml +26053 -0
  16. data/bin/generate-api +95 -0
  17. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +1335 -0
  18. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +446 -0
  19. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +872 -0
  20. data/generated/google/apis/adexchangebuyer_v1_3.rb +35 -0
  21. data/generated/google/apis/adexchangeseller_v2_0/classes.rb +792 -0
  22. data/generated/google/apis/adexchangeseller_v2_0/representations.rb +309 -0
  23. data/generated/google/apis/adexchangeseller_v2_0/service.rb +668 -0
  24. data/generated/google/apis/adexchangeseller_v2_0.rb +38 -0
  25. data/generated/google/apis/admin_datatransfer_v1/classes.rb +267 -0
  26. data/generated/google/apis/admin_datatransfer_v1/representations.rb +118 -0
  27. data/generated/google/apis/admin_datatransfer_v1/service.rb +262 -0
  28. data/generated/google/apis/admin_datatransfer_v1.rb +37 -0
  29. data/generated/google/apis/admin_directory_v1/classes.rb +3141 -0
  30. data/generated/google/apis/admin_directory_v1/representations.rb +1029 -0
  31. data/generated/google/apis/admin_directory_v1/service.rb +3818 -0
  32. data/generated/google/apis/admin_directory_v1.rb +113 -0
  33. data/generated/google/apis/admin_reports_v1/classes.rb +582 -0
  34. data/generated/google/apis/admin_reports_v1/representations.rb +231 -0
  35. data/generated/google/apis/admin_reports_v1/service.rb +336 -0
  36. data/generated/google/apis/admin_reports_v1.rb +38 -0
  37. data/generated/google/apis/adsense_v1_4/classes.rb +1285 -0
  38. data/generated/google/apis/adsense_v1_4/representations.rb +494 -0
  39. data/generated/google/apis/adsense_v1_4/service.rb +1714 -0
  40. data/generated/google/apis/adsense_v1_4.rb +38 -0
  41. data/generated/google/apis/adsensehost_v4_1/classes.rb +834 -0
  42. data/generated/google/apis/adsensehost_v4_1/representations.rb +327 -0
  43. data/generated/google/apis/adsensehost_v4_1/service.rb +1164 -0
  44. data/generated/google/apis/adsensehost_v4_1.rb +35 -0
  45. data/generated/google/apis/analytics_v3/classes.rb +5118 -0
  46. data/generated/google/apis/analytics_v3/representations.rb +1662 -0
  47. data/generated/google/apis/analytics_v3/service.rb +3568 -0
  48. data/generated/google/apis/analytics_v3.rb +49 -0
  49. data/generated/google/apis/androidenterprise_v1/classes.rb +1443 -0
  50. data/generated/google/apis/androidenterprise_v1/representations.rb +538 -0
  51. data/generated/google/apis/androidenterprise_v1/service.rb +2602 -0
  52. data/generated/google/apis/androidenterprise_v1.rb +35 -0
  53. data/generated/google/apis/androidpublisher_v2/classes.rb +1411 -0
  54. data/generated/google/apis/androidpublisher_v2/representations.rb +646 -0
  55. data/generated/google/apis/androidpublisher_v2/service.rb +2338 -0
  56. data/generated/google/apis/androidpublisher_v2.rb +34 -0
  57. data/generated/google/apis/appengine_v1beta4/classes.rb +1532 -0
  58. data/generated/google/apis/appengine_v1beta4/representations.rb +526 -0
  59. data/generated/google/apis/appengine_v1beta4/service.rb +476 -0
  60. data/generated/google/apis/appengine_v1beta4.rb +35 -0
  61. data/generated/google/apis/appsactivity_v1/classes.rb +392 -0
  62. data/generated/google/apis/appsactivity_v1/representations.rb +184 -0
  63. data/generated/google/apis/appsactivity_v1/service.rb +128 -0
  64. data/generated/google/apis/appsactivity_v1.rb +46 -0
  65. data/generated/google/apis/appstate_v1/classes.rb +154 -0
  66. data/generated/google/apis/appstate_v1/representations.rb +79 -0
  67. data/generated/google/apis/appstate_v1/service.rb +260 -0
  68. data/generated/google/apis/appstate_v1.rb +34 -0
  69. data/generated/google/apis/autoscaler_v1beta2/classes.rb +747 -0
  70. data/generated/google/apis/autoscaler_v1beta2/representations.rb +281 -0
  71. data/generated/google/apis/autoscaler_v1beta2/service.rb +478 -0
  72. data/generated/google/apis/autoscaler_v1beta2.rb +38 -0
  73. data/generated/google/apis/bigquery_v2/classes.rb +2471 -0
  74. data/generated/google/apis/bigquery_v2/representations.rb +816 -0
  75. data/generated/google/apis/bigquery_v2/service.rb +982 -0
  76. data/generated/google/apis/bigquery_v2.rb +52 -0
  77. data/generated/google/apis/blogger_v3/classes.rb +1354 -0
  78. data/generated/google/apis/blogger_v3/representations.rb +562 -0
  79. data/generated/google/apis/blogger_v3/service.rb +1587 -0
  80. data/generated/google/apis/blogger_v3.rb +37 -0
  81. data/generated/google/apis/books_v1/classes.rb +3956 -0
  82. data/generated/google/apis/books_v1/representations.rb +1538 -0
  83. data/generated/google/apis/books_v1/service.rb +2290 -0
  84. data/generated/google/apis/books_v1.rb +34 -0
  85. data/generated/google/apis/calendar_v3/classes.rb +1742 -0
  86. data/generated/google/apis/calendar_v3/representations.rb +567 -0
  87. data/generated/google/apis/calendar_v3/service.rb +1968 -0
  88. data/generated/google/apis/calendar_v3.rb +37 -0
  89. data/generated/google/apis/civicinfo_v2/classes.rb +1127 -0
  90. data/generated/google/apis/civicinfo_v2/representations.rb +383 -0
  91. data/generated/google/apis/civicinfo_v2/service.rb +279 -0
  92. data/{lib/google/api_client/service_account.rb → generated/google/apis/civicinfo_v2.rb} +18 -8
  93. data/generated/google/apis/classroom_v1/classes.rb +512 -0
  94. data/generated/google/apis/classroom_v1/representations.rb +217 -0
  95. data/generated/google/apis/classroom_v1/service.rb +970 -0
  96. data/generated/google/apis/classroom_v1.rb +49 -0
  97. data/generated/google/apis/classroom_v1beta1/classes.rb +447 -0
  98. data/generated/google/apis/classroom_v1beta1/representations.rb +190 -0
  99. data/generated/google/apis/classroom_v1beta1/service.rb +791 -0
  100. data/generated/google/apis/classroom_v1beta1.rb +49 -0
  101. data/generated/google/apis/cloudbilling_v1/classes.rb +169 -0
  102. data/generated/google/apis/cloudbilling_v1/representations.rb +79 -0
  103. data/generated/google/apis/cloudbilling_v1/service.rb +258 -0
  104. data/generated/google/apis/cloudbilling_v1.rb +35 -0
  105. data/generated/google/apis/clouddebugger_v2/classes.rb +1004 -0
  106. data/generated/google/apis/clouddebugger_v2/representations.rb +410 -0
  107. data/generated/google/apis/clouddebugger_v2/service.rb +370 -0
  108. data/generated/google/apis/clouddebugger_v2.rb +41 -0
  109. data/generated/google/apis/cloudmonitoring_v2beta2/classes.rb +679 -0
  110. data/generated/google/apis/cloudmonitoring_v2beta2/representations.rb +311 -0
  111. data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +452 -0
  112. data/generated/google/apis/cloudmonitoring_v2beta2.rb +37 -0
  113. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +437 -0
  114. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +188 -0
  115. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +623 -0
  116. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +38 -0
  117. data/generated/google/apis/cloudtrace_v1/classes.rb +188 -0
  118. data/generated/google/apis/cloudtrace_v1/representations.rb +92 -0
  119. data/generated/google/apis/cloudtrace_v1/service.rb +190 -0
  120. data/generated/google/apis/cloudtrace_v1.rb +35 -0
  121. data/generated/google/apis/clouduseraccounts_beta/classes.rb +823 -0
  122. data/generated/google/apis/clouduseraccounts_beta/representations.rb +313 -0
  123. data/generated/google/apis/clouduseraccounts_beta/service.rb +854 -0
  124. data/generated/google/apis/clouduseraccounts_beta.rb +43 -0
  125. data/generated/google/apis/compute_beta/classes.rb +9128 -0
  126. data/generated/google/apis/compute_beta/representations.rb +3048 -0
  127. data/generated/google/apis/compute_beta/service.rb +10154 -0
  128. data/generated/google/apis/compute_beta.rb +49 -0
  129. data/generated/google/apis/compute_v1/classes.rb +8681 -0
  130. data/generated/google/apis/compute_v1/representations.rb +2895 -0
  131. data/generated/google/apis/compute_v1/service.rb +9252 -0
  132. data/generated/google/apis/compute_v1.rb +49 -0
  133. data/generated/google/apis/container_v1/classes.rb +463 -0
  134. data/generated/google/apis/container_v1/representations.rb +175 -0
  135. data/generated/google/apis/container_v1/service.rb +367 -0
  136. data/generated/google/apis/container_v1.rb +35 -0
  137. data/generated/google/apis/container_v1beta1/classes.rb +466 -0
  138. data/generated/google/apis/container_v1beta1/representations.rb +177 -0
  139. data/generated/google/apis/container_v1beta1/service.rb +394 -0
  140. data/generated/google/apis/container_v1beta1.rb +35 -0
  141. data/generated/google/apis/content_v2/classes.rb +5986 -0
  142. data/generated/google/apis/content_v2/representations.rb +2288 -0
  143. data/generated/google/apis/content_v2/service.rb +2338 -0
  144. data/generated/google/apis/content_v2.rb +35 -0
  145. data/generated/google/apis/coordinate_v1/classes.rb +669 -0
  146. data/generated/google/apis/coordinate_v1/representations.rb +285 -0
  147. data/generated/google/apis/coordinate_v1/service.rb +678 -0
  148. data/generated/google/apis/coordinate_v1.rb +37 -0
  149. data/generated/google/apis/customsearch_v1/classes.rb +771 -0
  150. data/generated/google/apis/customsearch_v1/representations.rb +276 -0
  151. data/generated/google/apis/customsearch_v1/service.rb +207 -0
  152. data/{lib/google/api_client/auth/compute_service_account.rb → generated/google/apis/customsearch_v1.rb} +13 -10
  153. data/generated/google/apis/datastore_v1beta2/classes.rb +1186 -0
  154. data/generated/google/apis/datastore_v1beta2/representations.rb +526 -0
  155. data/generated/google/apis/datastore_v1beta2/service.rb +294 -0
  156. data/generated/google/apis/datastore_v1beta2.rb +40 -0
  157. data/generated/google/apis/deploymentmanager_v2/classes.rb +1091 -0
  158. data/generated/google/apis/deploymentmanager_v2/representations.rb +422 -0
  159. data/generated/google/apis/deploymentmanager_v2/service.rb +857 -0
  160. data/generated/google/apis/deploymentmanager_v2.rb +44 -0
  161. data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +843 -0
  162. data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +306 -0
  163. data/generated/google/apis/deploymentmanager_v2beta2/service.rb +689 -0
  164. data/generated/google/apis/deploymentmanager_v2beta2.rb +44 -0
  165. data/generated/google/apis/dfareporting_v2_1/classes.rb +10770 -0
  166. data/generated/google/apis/dfareporting_v2_1/representations.rb +3438 -0
  167. data/generated/google/apis/dfareporting_v2_1/service.rb +8585 -0
  168. data/generated/google/apis/dfareporting_v2_1.rb +37 -0
  169. data/generated/google/apis/discovery_v1/classes.rb +961 -0
  170. data/generated/google/apis/discovery_v1/representations.rb +357 -0
  171. data/generated/google/apis/discovery_v1/service.rb +142 -0
  172. data/generated/google/apis/discovery_v1.rb +32 -0
  173. data/generated/google/apis/dns_v1/classes.rb +406 -0
  174. data/generated/google/apis/dns_v1/representations.rb +151 -0
  175. data/generated/google/apis/dns_v1/service.rb +454 -0
  176. data/generated/google/apis/dns_v1.rb +44 -0
  177. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +716 -0
  178. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +298 -0
  179. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +341 -0
  180. data/generated/google/apis/doubleclickbidmanager_v1.rb +31 -0
  181. data/generated/google/apis/doubleclicksearch_v2/classes.rb +956 -0
  182. data/generated/google/apis/doubleclicksearch_v2/representations.rb +316 -0
  183. data/generated/google/apis/doubleclicksearch_v2/service.rb +480 -0
  184. data/generated/google/apis/doubleclicksearch_v2.rb +35 -0
  185. data/generated/google/apis/drive_v2/classes.rb +2562 -0
  186. data/generated/google/apis/drive_v2/representations.rb +795 -0
  187. data/generated/google/apis/drive_v2/service.rb +2696 -0
  188. data/generated/google/apis/drive_v2.rb +58 -0
  189. data/generated/google/apis/drive_v3/classes.rb +1534 -0
  190. data/generated/google/apis/drive_v3/representations.rb +497 -0
  191. data/generated/google/apis/drive_v3/service.rb +1541 -0
  192. data/generated/google/apis/drive_v3.rb +55 -0
  193. data/generated/google/apis/fitness_v1/classes.rb +885 -0
  194. data/generated/google/apis/fitness_v1/representations.rb +320 -0
  195. data/generated/google/apis/fitness_v1/service.rb +675 -0
  196. data/generated/google/apis/fitness_v1.rb +49 -0
  197. data/generated/google/apis/fusiontables_v2/classes.rb +1048 -0
  198. data/generated/google/apis/fusiontables_v2/representations.rb +409 -0
  199. data/generated/google/apis/fusiontables_v2/service.rb +1463 -0
  200. data/generated/google/apis/fusiontables_v2.rb +37 -0
  201. data/generated/google/apis/games_configuration_v1configuration/classes.rb +506 -0
  202. data/generated/google/apis/games_configuration_v1configuration/representations.rb +206 -0
  203. data/generated/google/apis/games_configuration_v1configuration/service.rb +565 -0
  204. data/generated/google/apis/games_configuration_v1configuration.rb +34 -0
  205. data/generated/google/apis/games_management_v1management/classes.rb +524 -0
  206. data/generated/google/apis/games_management_v1management/representations.rb +231 -0
  207. data/generated/google/apis/games_management_v1management/service.rb +994 -0
  208. data/generated/google/apis/games_management_v1management.rb +37 -0
  209. data/generated/google/apis/games_v1/classes.rb +4617 -0
  210. data/generated/google/apis/games_v1/representations.rb +1584 -0
  211. data/generated/google/apis/games_v1/service.rb +2290 -0
  212. data/generated/google/apis/games_v1.rb +40 -0
  213. data/generated/google/apis/gan_v1beta1/classes.rb +1428 -0
  214. data/generated/google/apis/gan_v1beta1/representations.rb +428 -0
  215. data/generated/google/apis/gan_v1beta1/service.rb +682 -0
  216. data/generated/google/apis/gan_v1beta1.rb +31 -0
  217. data/generated/google/apis/genomics_v1/classes.rb +2609 -0
  218. data/generated/google/apis/genomics_v1/representations.rb +909 -0
  219. data/generated/google/apis/genomics_v1/service.rb +1676 -0
  220. data/generated/google/apis/genomics_v1.rb +49 -0
  221. data/generated/google/apis/genomics_v1beta2/classes.rb +3288 -0
  222. data/generated/google/apis/genomics_v1beta2/representations.rb +1194 -0
  223. data/generated/google/apis/genomics_v1beta2/service.rb +2392 -0
  224. data/generated/google/apis/genomics_v1beta2.rb +46 -0
  225. data/generated/google/apis/gmail_v1/classes.rb +794 -0
  226. data/generated/google/apis/gmail_v1/representations.rb +339 -0
  227. data/generated/google/apis/gmail_v1/service.rb +1470 -0
  228. data/generated/google/apis/gmail_v1.rb +52 -0
  229. data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
  230. data/generated/google/apis/groupsmigration_v1/representations.rb +38 -0
  231. data/generated/google/apis/groupsmigration_v1/service.rb +110 -0
  232. data/generated/google/apis/groupsmigration_v1.rb +34 -0
  233. data/generated/google/apis/groupssettings_v1/classes.rb +221 -0
  234. data/generated/google/apis/groupssettings_v1/representations.rb +64 -0
  235. data/generated/google/apis/groupssettings_v1/service.rb +179 -0
  236. data/generated/google/apis/groupssettings_v1.rb +34 -0
  237. data/generated/google/apis/identitytoolkit_v3/classes.rb +1466 -0
  238. data/generated/google/apis/identitytoolkit_v3/representations.rb +509 -0
  239. data/generated/google/apis/identitytoolkit_v3/service.rb +581 -0
  240. data/generated/google/apis/identitytoolkit_v3.rb +31 -0
  241. data/generated/google/apis/kgsearch_v1/classes.rb +59 -0
  242. data/generated/google/apis/kgsearch_v1/representations.rb +39 -0
  243. data/generated/google/apis/kgsearch_v1/service.rb +111 -0
  244. data/{spec/google/api_client/request_spec.rb → generated/google/apis/kgsearch_v1.rb} +16 -13
  245. data/generated/google/apis/licensing_v1/classes.rb +132 -0
  246. data/generated/google/apis/licensing_v1/representations.rb +68 -0
  247. data/generated/google/apis/licensing_v1/service.rb +369 -0
  248. data/generated/google/apis/licensing_v1.rb +34 -0
  249. data/generated/google/apis/logging_v1beta3/classes.rb +1079 -0
  250. data/generated/google/apis/logging_v1beta3/representations.rb +366 -0
  251. data/generated/google/apis/logging_v1beta3/service.rb +1001 -0
  252. data/generated/google/apis/logging_v1beta3.rb +47 -0
  253. data/generated/google/apis/manager_v1beta2/classes.rb +1287 -0
  254. data/generated/google/apis/manager_v1beta2/representations.rb +536 -0
  255. data/generated/google/apis/manager_v1beta2/service.rb +372 -0
  256. data/generated/google/apis/manager_v1beta2.rb +53 -0
  257. data/generated/google/apis/mapsengine_v1/classes.rb +2873 -0
  258. data/generated/google/apis/mapsengine_v1/representations.rb +1235 -0
  259. data/generated/google/apis/mapsengine_v1/service.rb +3388 -0
  260. data/generated/google/apis/mapsengine_v1.rb +38 -0
  261. data/generated/google/apis/mirror_v1/classes.rb +1072 -0
  262. data/generated/google/apis/mirror_v1/representations.rb +350 -0
  263. data/generated/google/apis/mirror_v1/service.rb +977 -0
  264. data/generated/google/apis/mirror_v1.rb +37 -0
  265. data/generated/google/apis/oauth2_v2/classes.rb +245 -0
  266. data/generated/google/apis/oauth2_v2/representations.rb +94 -0
  267. data/generated/google/apis/oauth2_v2/service.rb +199 -0
  268. data/generated/google/apis/oauth2_v2.rb +43 -0
  269. data/generated/google/apis/pagespeedonline_v2/classes.rb +614 -0
  270. data/generated/google/apis/pagespeedonline_v2/representations.rb +244 -0
  271. data/generated/google/apis/pagespeedonline_v2/service.rb +119 -0
  272. data/generated/google/apis/pagespeedonline_v2.rb +32 -0
  273. data/generated/google/apis/partners_v2/classes.rb +942 -0
  274. data/generated/google/apis/partners_v2/representations.rb +402 -0
  275. data/generated/google/apis/partners_v2/service.rb +400 -0
  276. data/generated/google/apis/partners_v2.rb +32 -0
  277. data/generated/google/apis/plus_domains_v1/classes.rb +2609 -0
  278. data/generated/google/apis/plus_domains_v1/representations.rb +987 -0
  279. data/generated/google/apis/plus_domains_v1/service.rb +904 -0
  280. data/generated/google/apis/plus_domains_v1.rb +61 -0
  281. data/generated/google/apis/plus_v1/classes.rb +2094 -0
  282. data/generated/google/apis/plus_v1/representations.rb +805 -0
  283. data/generated/google/apis/plus_v1/service.rb +470 -0
  284. data/generated/google/apis/plus_v1.rb +43 -0
  285. data/generated/google/apis/prediction_v1_6/classes.rb +751 -0
  286. data/generated/google/apis/prediction_v1_6/representations.rb +327 -0
  287. data/generated/google/apis/prediction_v1_6/service.rb +380 -0
  288. data/generated/google/apis/prediction_v1_6.rb +44 -0
  289. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +639 -0
  290. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +274 -0
  291. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +591 -0
  292. data/generated/google/apis/proximitybeacon_v1beta1.rb +31 -0
  293. data/generated/google/apis/pubsub_v1/classes.rb +614 -0
  294. data/generated/google/apis/pubsub_v1/representations.rb +281 -0
  295. data/generated/google/apis/pubsub_v1/service.rb +774 -0
  296. data/generated/google/apis/pubsub_v1.rb +37 -0
  297. data/generated/google/apis/pubsub_v1beta2/classes.rb +620 -0
  298. data/generated/google/apis/pubsub_v1beta2/representations.rb +282 -0
  299. data/generated/google/apis/pubsub_v1beta2/service.rb +774 -0
  300. data/generated/google/apis/pubsub_v1beta2.rb +37 -0
  301. data/generated/google/apis/qpx_express_v1/classes.rb +1268 -0
  302. data/generated/google/apis/qpx_express_v1/representations.rb +424 -0
  303. data/generated/google/apis/qpx_express_v1/service.rb +100 -0
  304. data/generated/google/apis/qpx_express_v1.rb +31 -0
  305. data/generated/google/apis/replicapool_v1beta2/classes.rb +631 -0
  306. data/generated/google/apis/replicapool_v1beta2/representations.rb +236 -0
  307. data/generated/google/apis/replicapool_v1beta2/service.rb +608 -0
  308. data/generated/google/apis/replicapool_v1beta2.rb +44 -0
  309. data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +733 -0
  310. data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +264 -0
  311. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +508 -0
  312. data/generated/google/apis/replicapoolupdater_v1beta1.rb +44 -0
  313. data/generated/google/apis/reseller_v1/classes.rb +520 -0
  314. data/generated/google/apis/reseller_v1/representations.rb +200 -0
  315. data/generated/google/apis/reseller_v1/service.rb +623 -0
  316. data/generated/google/apis/reseller_v1.rb +37 -0
  317. data/generated/google/apis/resourceviews_v1beta2/classes.rb +660 -0
  318. data/generated/google/apis/resourceviews_v1beta2/representations.rb +269 -0
  319. data/generated/google/apis/resourceviews_v1beta2/service.rb +563 -0
  320. data/generated/google/apis/resourceviews_v1beta2.rb +50 -0
  321. data/generated/google/apis/script_v1/classes.rb +259 -0
  322. data/generated/google/apis/script_v1/representations.rb +106 -0
  323. data/generated/google/apis/script_v1/service.rb +98 -0
  324. data/generated/google/apis/script_v1.rb +61 -0
  325. data/generated/google/apis/site_verification_v1/classes.rb +185 -0
  326. data/generated/google/apis/site_verification_v1/representations.rb +101 -0
  327. data/generated/google/apis/site_verification_v1/service.rb +315 -0
  328. data/generated/google/apis/site_verification_v1.rb +37 -0
  329. data/generated/google/apis/sqladmin_v1beta4/classes.rb +2001 -0
  330. data/generated/google/apis/sqladmin_v1beta4/representations.rb +758 -0
  331. data/generated/google/apis/sqladmin_v1beta4/service.rb +1625 -0
  332. data/generated/google/apis/sqladmin_v1beta4.rb +37 -0
  333. data/generated/google/apis/storage_v1/classes.rb +1222 -0
  334. data/generated/google/apis/storage_v1/representations.rb +445 -0
  335. data/generated/google/apis/storage_v1/service.rb +1903 -0
  336. data/generated/google/apis/storage_v1.rb +46 -0
  337. data/generated/google/apis/storagetransfer_v1/classes.rb +1046 -0
  338. data/generated/google/apis/storagetransfer_v1/representations.rb +370 -0
  339. data/generated/google/apis/storagetransfer_v1/service.rb +473 -0
  340. data/generated/google/apis/storagetransfer_v1.rb +35 -0
  341. data/generated/google/apis/tagmanager_v1/classes.rb +1384 -0
  342. data/generated/google/apis/tagmanager_v1/representations.rb +515 -0
  343. data/generated/google/apis/tagmanager_v1/service.rb +1817 -0
  344. data/generated/google/apis/tagmanager_v1.rb +52 -0
  345. data/generated/google/apis/taskqueue_v1beta2/classes.rb +254 -0
  346. data/generated/google/apis/taskqueue_v1beta2/representations.rb +114 -0
  347. data/generated/google/apis/taskqueue_v1beta2/service.rb +408 -0
  348. data/generated/google/apis/taskqueue_v1beta2.rb +37 -0
  349. data/generated/google/apis/tasks_v1/classes.rb +296 -0
  350. data/generated/google/apis/tasks_v1/representations.rb +115 -0
  351. data/generated/google/apis/tasks_v1/service.rb +643 -0
  352. data/generated/google/apis/tasks_v1.rb +37 -0
  353. data/generated/google/apis/translate_v2/classes.rb +168 -0
  354. data/generated/google/apis/translate_v2/representations.rb +109 -0
  355. data/generated/google/apis/translate_v2/service.rb +182 -0
  356. data/generated/google/apis/translate_v2.rb +31 -0
  357. data/generated/google/apis/urlshortener_v1/classes.rb +246 -0
  358. data/generated/google/apis/urlshortener_v1/representations.rb +111 -0
  359. data/generated/google/apis/urlshortener_v1/service.rb +176 -0
  360. data/generated/google/apis/urlshortener_v1.rb +34 -0
  361. data/generated/google/apis/webmasters_v3/classes.rb +563 -0
  362. data/generated/google/apis/webmasters_v3/representations.rb +250 -0
  363. data/generated/google/apis/webmasters_v3/service.rb +573 -0
  364. data/generated/google/apis/webmasters_v3.rb +37 -0
  365. data/generated/google/apis/youtube_analytics_v1/classes.rb +546 -0
  366. data/generated/google/apis/youtube_analytics_v1/representations.rb +243 -0
  367. data/generated/google/apis/youtube_analytics_v1/service.rb +562 -0
  368. data/generated/google/apis/youtube_analytics_v1.rb +46 -0
  369. data/generated/google/apis/youtube_v3/classes.rb +8136 -0
  370. data/generated/google/apis/youtube_v3/representations.rb +2838 -0
  371. data/generated/google/apis/youtube_v3/service.rb +4403 -0
  372. data/generated/google/apis/youtube_v3.rb +49 -0
  373. data/generated/google/apis/youtubereporting_v1/classes.rb +258 -0
  374. data/generated/google/apis/youtubereporting_v1/representations.rb +128 -0
  375. data/generated/google/apis/youtubereporting_v1/service.rb +364 -0
  376. data/generated/google/apis/youtubereporting_v1.rb +38 -0
  377. data/google-api-client.gemspec +27 -39
  378. data/lib/google/api_client/auth/installed_app.rb +7 -5
  379. data/lib/google/api_client/auth/key_utils.rb +12 -11
  380. data/lib/google/api_client/auth/storage.rb +5 -2
  381. data/lib/google/api_client/auth/storages/file_store.rb +2 -3
  382. data/lib/google/api_client/auth/storages/redis_store.rb +7 -2
  383. data/lib/google/api_client/client_secrets.rb +4 -5
  384. data/lib/google/apis/core/api_command.rb +135 -0
  385. data/lib/google/apis/core/base_service.rb +317 -0
  386. data/lib/google/apis/core/batch.rb +239 -0
  387. data/lib/google/apis/core/download.rb +94 -0
  388. data/lib/google/apis/core/hashable.rb +44 -0
  389. data/lib/google/apis/core/http_client_adapter.rb +82 -0
  390. data/lib/google/apis/core/http_command.rb +312 -0
  391. data/lib/google/apis/core/json_representation.rb +127 -0
  392. data/lib/google/{api_client/version.rb → apis/core/logging.rb} +12 -8
  393. data/lib/google/apis/core/multipart.rb +187 -0
  394. data/lib/google/apis/core/upload.rb +288 -0
  395. data/lib/google/{api_client → apis}/errors.rb +39 -28
  396. data/lib/google/apis/generator/annotator.rb +295 -0
  397. data/lib/google/apis/generator/helpers.rb +74 -0
  398. data/lib/google/apis/generator/model.rb +143 -0
  399. data/lib/google/apis/generator/template.rb +124 -0
  400. data/lib/google/apis/generator/templates/_class.tmpl +40 -0
  401. data/lib/google/apis/generator/templates/_method.tmpl +92 -0
  402. data/lib/google/apis/generator/templates/_representation.tmpl +51 -0
  403. data/lib/google/apis/generator/templates/_representation_stub.tmpl +15 -0
  404. data/lib/google/apis/generator/templates/_representation_type.tmpl +10 -0
  405. data/lib/google/{api_client/reference.rb → apis/generator/templates/classes.rb.tmpl} +11 -9
  406. data/lib/google/apis/generator/templates/module.rb.tmpl +40 -0
  407. data/lib/google/apis/generator/templates/representations.rb.tmpl +32 -0
  408. data/lib/google/apis/generator/templates/service.rb.tmpl +60 -0
  409. data/lib/google/apis/generator.rb +70 -0
  410. data/lib/google/apis/options.rb +85 -0
  411. data/lib/google/apis/version.rb +39 -0
  412. data/lib/google/apis.rb +48 -0
  413. data/rakelib/metrics.rake +22 -0
  414. data/rakelib/rubocop.rake +10 -0
  415. data/rakelib/spec.rake +11 -0
  416. data/rakelib/yard.rake +11 -0
  417. data/samples/Gemfile +7 -0
  418. data/samples/README.md +51 -0
  419. data/samples/google-api-samples +32 -0
  420. data/samples/lib/base_cli.rb +94 -0
  421. data/samples/lib/samples/analytics.rb +62 -0
  422. data/samples/lib/samples/calendar.rb +83 -0
  423. data/samples/lib/samples/drive.rb +82 -0
  424. data/samples/lib/samples/gmail.rb +50 -0
  425. data/samples/lib/samples/pubsub.rb +114 -0
  426. data/samples/lib/samples/translate.rb +44 -0
  427. data/samples/lib/samples/you_tube.rb +44 -0
  428. data/script/generate +95 -0
  429. data/script/package +8 -0
  430. data/script/release +15 -0
  431. data/spec/fixtures/files/api_names.yaml +3 -0
  432. data/spec/fixtures/files/auth_stored_credentials.json +8 -0
  433. data/spec/fixtures/files/child/.gitignore +0 -0
  434. data/spec/fixtures/files/client_secrets.json +1 -0
  435. data/spec/fixtures/files/invalid.json +1 -0
  436. data/spec/fixtures/files/test.blah +1 -0
  437. data/spec/fixtures/files/test.txt +1 -0
  438. data/spec/fixtures/files/test_api.json +440 -0
  439. data/spec/google/api_client/auth/storage_spec.rb +1 -3
  440. data/spec/google/api_client/auth/storages/file_store_spec.rb +1 -2
  441. data/spec/google/api_client/auth/storages/redis_store_spec.rb +1 -3
  442. data/spec/google/api_client/client_secrets_spec.rb +38 -1
  443. data/spec/google/apis/core/api_command_spec.rb +209 -0
  444. data/spec/google/apis/core/batch_spec.rb +142 -0
  445. data/spec/google/apis/core/download_spec.rb +103 -0
  446. data/spec/google/apis/core/hashable_spec.rb +60 -0
  447. data/spec/google/apis/core/http_command_spec.rb +284 -0
  448. data/spec/google/apis/core/json_representation_spec.rb +192 -0
  449. data/spec/google/apis/core/service_spec.rb +247 -0
  450. data/spec/google/apis/core/upload_spec.rb +300 -0
  451. data/{lib/google/api_client/discovery.rb → spec/google/apis/generated_spec.rb} +13 -5
  452. data/spec/google/apis/generator/generator_spec.rb +272 -0
  453. data/spec/google/apis/logging_spec.rb +45 -0
  454. data/spec/google/apis/options_spec.rb +40 -0
  455. data/spec/integration_tests/adsense_spec.rb +29 -0
  456. data/spec/integration_tests/drive_spec.rb +35 -0
  457. data/spec/integration_tests/pubsub_spec.rb +48 -0
  458. data/spec/integration_tests/url_shortener_spec.rb +45 -0
  459. data/spec/spec_helper/load_path_spec.rb +33 -0
  460. data/spec/spec_helper.rb +131 -44
  461. data/third_party/hurley_patches.rb +103 -0
  462. metadata +533 -170
  463. data/lib/compat/multi_json.rb +0 -19
  464. data/lib/google/api_client/auth/file_storage.rb +0 -59
  465. data/lib/google/api_client/auth/jwt_asserter.rb +0 -126
  466. data/lib/google/api_client/auth/pkcs12.rb +0 -41
  467. data/lib/google/api_client/batch.rb +0 -325
  468. data/lib/google/api_client/charset.rb +0 -33
  469. data/lib/google/api_client/discovery/api.rb +0 -300
  470. data/lib/google/api_client/discovery/media.rb +0 -77
  471. data/lib/google/api_client/discovery/method.rb +0 -363
  472. data/lib/google/api_client/discovery/resource.rb +0 -156
  473. data/lib/google/api_client/discovery/schema.rb +0 -119
  474. data/lib/google/api_client/environment.rb +0 -42
  475. data/lib/google/api_client/gzip.rb +0 -28
  476. data/lib/google/api_client/logging.rb +0 -32
  477. data/lib/google/api_client/media.rb +0 -259
  478. data/lib/google/api_client/railtie.rb +0 -18
  479. data/lib/google/api_client/request.rb +0 -350
  480. data/lib/google/api_client/result.rb +0 -255
  481. data/lib/google/api_client/service/batch.rb +0 -110
  482. data/lib/google/api_client/service/request.rb +0 -144
  483. data/lib/google/api_client/service/resource.rb +0 -40
  484. data/lib/google/api_client/service/result.rb +0 -162
  485. data/lib/google/api_client/service/simple_file_store.rb +0 -151
  486. data/lib/google/api_client/service/stub_generator.rb +0 -61
  487. data/lib/google/api_client/service.rb +0 -233
  488. data/lib/google/api_client.rb +0 -750
  489. data/spec/google/api_client/batch_spec.rb +0 -248
  490. data/spec/google/api_client/discovery_spec.rb +0 -662
  491. data/spec/google/api_client/gzip_spec.rb +0 -98
  492. data/spec/google/api_client/media_spec.rb +0 -178
  493. data/spec/google/api_client/result_spec.rb +0 -207
  494. data/spec/google/api_client/service_account_spec.rb +0 -169
  495. data/spec/google/api_client/service_spec.rb +0 -618
  496. data/spec/google/api_client/simple_file_store_spec.rb +0 -133
  497. data/spec/google/api_client_spec.rb +0 -352
@@ -0,0 +1,2609 @@
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 PlusDomainsV1
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
+ # Whether access is restricted to the domain.
35
+ # Corresponds to the JSON property `domainRestricted`
36
+ # @return [Boolean]
37
+ attr_accessor :domain_restricted
38
+ alias_method :domain_restricted?, :domain_restricted
39
+
40
+ # The list of access entries.
41
+ # Corresponds to the JSON property `items`
42
+ # @return [Array<Google::Apis::PlusDomainsV1::PlusDomainsAclentryResource>]
43
+ attr_accessor :items
44
+
45
+ # Identifies this resource as a collection of access controls. Value: "plus#acl".
46
+ # Corresponds to the JSON property `kind`
47
+ # @return [String]
48
+ attr_accessor :kind
49
+
50
+ def initialize(**args)
51
+ update!(**args)
52
+ end
53
+
54
+ # Update properties of this object
55
+ def update!(**args)
56
+ @description = args[:description] unless args[:description].nil?
57
+ @domain_restricted = args[:domain_restricted] unless args[:domain_restricted].nil?
58
+ @items = args[:items] unless args[:items].nil?
59
+ @kind = args[:kind] unless args[:kind].nil?
60
+ end
61
+ end
62
+
63
+ #
64
+ class Activity
65
+ include Google::Apis::Core::Hashable
66
+
67
+ # Identifies who has access to see this activity.
68
+ # Corresponds to the JSON property `access`
69
+ # @return [Google::Apis::PlusDomainsV1::Acl]
70
+ attr_accessor :access
71
+
72
+ # The person who performed this activity.
73
+ # Corresponds to the JSON property `actor`
74
+ # @return [Google::Apis::PlusDomainsV1::Activity::Actor]
75
+ attr_accessor :actor
76
+
77
+ # Street address where this activity occurred.
78
+ # Corresponds to the JSON property `address`
79
+ # @return [String]
80
+ attr_accessor :address
81
+
82
+ # Additional content added by the person who shared this activity, applicable
83
+ # only when resharing an activity.
84
+ # Corresponds to the JSON property `annotation`
85
+ # @return [String]
86
+ attr_accessor :annotation
87
+
88
+ # If this activity is a crosspost from another system, this property specifies
89
+ # the ID of the original activity.
90
+ # Corresponds to the JSON property `crosspostSource`
91
+ # @return [String]
92
+ attr_accessor :crosspost_source
93
+
94
+ # ETag of this response for caching purposes.
95
+ # Corresponds to the JSON property `etag`
96
+ # @return [String]
97
+ attr_accessor :etag
98
+
99
+ # Latitude and longitude where this activity occurred. Format is latitude
100
+ # followed by longitude, space separated.
101
+ # Corresponds to the JSON property `geocode`
102
+ # @return [String]
103
+ attr_accessor :geocode
104
+
105
+ # The ID of this activity.
106
+ # Corresponds to the JSON property `id`
107
+ # @return [String]
108
+ attr_accessor :id
109
+
110
+ # Identifies this resource as an activity. Value: "plus#activity".
111
+ # Corresponds to the JSON property `kind`
112
+ # @return [String]
113
+ attr_accessor :kind
114
+
115
+ # The location where this activity occurred.
116
+ # Corresponds to the JSON property `location`
117
+ # @return [Google::Apis::PlusDomainsV1::Place]
118
+ attr_accessor :location
119
+
120
+ # The object of this activity.
121
+ # Corresponds to the JSON property `object`
122
+ # @return [Google::Apis::PlusDomainsV1::Activity::Object]
123
+ attr_accessor :object
124
+
125
+ # ID of the place where this activity occurred.
126
+ # Corresponds to the JSON property `placeId`
127
+ # @return [String]
128
+ attr_accessor :place_id
129
+
130
+ # Name of the place where this activity occurred.
131
+ # Corresponds to the JSON property `placeName`
132
+ # @return [String]
133
+ attr_accessor :place_name
134
+
135
+ # The service provider that initially published this activity.
136
+ # Corresponds to the JSON property `provider`
137
+ # @return [Google::Apis::PlusDomainsV1::Activity::Provider]
138
+ attr_accessor :provider
139
+
140
+ # The time at which this activity was initially published. Formatted as an RFC
141
+ # 3339 timestamp.
142
+ # Corresponds to the JSON property `published`
143
+ # @return [DateTime]
144
+ attr_accessor :published
145
+
146
+ # Radius, in meters, of the region where this activity occurred, centered at the
147
+ # latitude and longitude identified in geocode.
148
+ # Corresponds to the JSON property `radius`
149
+ # @return [String]
150
+ attr_accessor :radius
151
+
152
+ # Title of this activity.
153
+ # Corresponds to the JSON property `title`
154
+ # @return [String]
155
+ attr_accessor :title
156
+
157
+ # The time at which this activity was last updated. Formatted as an RFC 3339
158
+ # timestamp.
159
+ # Corresponds to the JSON property `updated`
160
+ # @return [DateTime]
161
+ attr_accessor :updated
162
+
163
+ # The link to this activity.
164
+ # Corresponds to the JSON property `url`
165
+ # @return [String]
166
+ attr_accessor :url
167
+
168
+ # This activity's verb, which indicates the action that was performed. Possible
169
+ # values include, but are not limited to, the following values:
170
+ # - "post" - Publish content to the stream.
171
+ # - "share" - Reshare an activity.
172
+ # Corresponds to the JSON property `verb`
173
+ # @return [String]
174
+ attr_accessor :verb
175
+
176
+ def initialize(**args)
177
+ update!(**args)
178
+ end
179
+
180
+ # Update properties of this object
181
+ def update!(**args)
182
+ @access = args[:access] unless args[:access].nil?
183
+ @actor = args[:actor] unless args[:actor].nil?
184
+ @address = args[:address] unless args[:address].nil?
185
+ @annotation = args[:annotation] unless args[:annotation].nil?
186
+ @crosspost_source = args[:crosspost_source] unless args[:crosspost_source].nil?
187
+ @etag = args[:etag] unless args[:etag].nil?
188
+ @geocode = args[:geocode] unless args[:geocode].nil?
189
+ @id = args[:id] unless args[:id].nil?
190
+ @kind = args[:kind] unless args[:kind].nil?
191
+ @location = args[:location] unless args[:location].nil?
192
+ @object = args[:object] unless args[:object].nil?
193
+ @place_id = args[:place_id] unless args[:place_id].nil?
194
+ @place_name = args[:place_name] unless args[:place_name].nil?
195
+ @provider = args[:provider] unless args[:provider].nil?
196
+ @published = args[:published] unless args[:published].nil?
197
+ @radius = args[:radius] unless args[:radius].nil?
198
+ @title = args[:title] unless args[:title].nil?
199
+ @updated = args[:updated] unless args[:updated].nil?
200
+ @url = args[:url] unless args[:url].nil?
201
+ @verb = args[:verb] unless args[:verb].nil?
202
+ end
203
+
204
+ # The person who performed this activity.
205
+ class Actor
206
+ include Google::Apis::Core::Hashable
207
+
208
+ # Actor info specific to particular clients.
209
+ # Corresponds to the JSON property `clientSpecificActorInfo`
210
+ # @return [Google::Apis::PlusDomainsV1::Activity::Actor::ClientSpecificActorInfo]
211
+ attr_accessor :client_specific_actor_info
212
+
213
+ # The name of the actor, suitable for display.
214
+ # Corresponds to the JSON property `displayName`
215
+ # @return [String]
216
+ attr_accessor :display_name
217
+
218
+ # The ID of the actor's Person resource.
219
+ # Corresponds to the JSON property `id`
220
+ # @return [String]
221
+ attr_accessor :id
222
+
223
+ # The image representation of the actor.
224
+ # Corresponds to the JSON property `image`
225
+ # @return [Google::Apis::PlusDomainsV1::Activity::Actor::Image]
226
+ attr_accessor :image
227
+
228
+ # An object representation of the individual components of name.
229
+ # Corresponds to the JSON property `name`
230
+ # @return [Google::Apis::PlusDomainsV1::Activity::Actor::Name]
231
+ attr_accessor :name
232
+
233
+ # The link to the actor's Google profile.
234
+ # Corresponds to the JSON property `url`
235
+ # @return [String]
236
+ attr_accessor :url
237
+
238
+ # Verification status of actor.
239
+ # Corresponds to the JSON property `verification`
240
+ # @return [Google::Apis::PlusDomainsV1::Activity::Actor::Verification]
241
+ attr_accessor :verification
242
+
243
+ def initialize(**args)
244
+ update!(**args)
245
+ end
246
+
247
+ # Update properties of this object
248
+ def update!(**args)
249
+ @client_specific_actor_info = args[:client_specific_actor_info] unless args[:client_specific_actor_info].nil?
250
+ @display_name = args[:display_name] unless args[:display_name].nil?
251
+ @id = args[:id] unless args[:id].nil?
252
+ @image = args[:image] unless args[:image].nil?
253
+ @name = args[:name] unless args[:name].nil?
254
+ @url = args[:url] unless args[:url].nil?
255
+ @verification = args[:verification] unless args[:verification].nil?
256
+ end
257
+
258
+ # Actor info specific to particular clients.
259
+ class ClientSpecificActorInfo
260
+ include Google::Apis::Core::Hashable
261
+
262
+ # Actor info specific to YouTube clients.
263
+ # Corresponds to the JSON property `youtubeActorInfo`
264
+ # @return [Google::Apis::PlusDomainsV1::Activity::Actor::ClientSpecificActorInfo::YoutubeActorInfo]
265
+ attr_accessor :youtube_actor_info
266
+
267
+ def initialize(**args)
268
+ update!(**args)
269
+ end
270
+
271
+ # Update properties of this object
272
+ def update!(**args)
273
+ @youtube_actor_info = args[:youtube_actor_info] unless args[:youtube_actor_info].nil?
274
+ end
275
+
276
+ # Actor info specific to YouTube clients.
277
+ class YoutubeActorInfo
278
+ include Google::Apis::Core::Hashable
279
+
280
+ # ID of the YouTube channel owned by the Actor.
281
+ # Corresponds to the JSON property `channelId`
282
+ # @return [String]
283
+ attr_accessor :channel_id
284
+
285
+ def initialize(**args)
286
+ update!(**args)
287
+ end
288
+
289
+ # Update properties of this object
290
+ def update!(**args)
291
+ @channel_id = args[:channel_id] unless args[:channel_id].nil?
292
+ end
293
+ end
294
+ end
295
+
296
+ # The image representation of the actor.
297
+ class Image
298
+ include Google::Apis::Core::Hashable
299
+
300
+ # The URL of the actor's profile photo. To resize the image and crop it to a
301
+ # square, append the query string ?sz=x, where x is the dimension in pixels of
302
+ # each side.
303
+ # Corresponds to the JSON property `url`
304
+ # @return [String]
305
+ attr_accessor :url
306
+
307
+ def initialize(**args)
308
+ update!(**args)
309
+ end
310
+
311
+ # Update properties of this object
312
+ def update!(**args)
313
+ @url = args[:url] unless args[:url].nil?
314
+ end
315
+ end
316
+
317
+ # An object representation of the individual components of name.
318
+ class Name
319
+ include Google::Apis::Core::Hashable
320
+
321
+ # The family name ("last name") of the actor.
322
+ # Corresponds to the JSON property `familyName`
323
+ # @return [String]
324
+ attr_accessor :family_name
325
+
326
+ # The given name ("first name") of the actor.
327
+ # Corresponds to the JSON property `givenName`
328
+ # @return [String]
329
+ attr_accessor :given_name
330
+
331
+ def initialize(**args)
332
+ update!(**args)
333
+ end
334
+
335
+ # Update properties of this object
336
+ def update!(**args)
337
+ @family_name = args[:family_name] unless args[:family_name].nil?
338
+ @given_name = args[:given_name] unless args[:given_name].nil?
339
+ end
340
+ end
341
+
342
+ # Verification status of actor.
343
+ class Verification
344
+ include Google::Apis::Core::Hashable
345
+
346
+ # Verification for one-time or manual processes.
347
+ # Corresponds to the JSON property `adHocVerified`
348
+ # @return [String]
349
+ attr_accessor :ad_hoc_verified
350
+
351
+ def initialize(**args)
352
+ update!(**args)
353
+ end
354
+
355
+ # Update properties of this object
356
+ def update!(**args)
357
+ @ad_hoc_verified = args[:ad_hoc_verified] unless args[:ad_hoc_verified].nil?
358
+ end
359
+ end
360
+ end
361
+
362
+ # The object of this activity.
363
+ class Object
364
+ include Google::Apis::Core::Hashable
365
+
366
+ # If this activity's object is itself another activity, such as when a person
367
+ # reshares an activity, this property specifies the original activity's actor.
368
+ # Corresponds to the JSON property `actor`
369
+ # @return [Google::Apis::PlusDomainsV1::Activity::Object::Actor]
370
+ attr_accessor :actor
371
+
372
+ # The media objects attached to this activity.
373
+ # Corresponds to the JSON property `attachments`
374
+ # @return [Array<Google::Apis::PlusDomainsV1::Activity::Object::Attachment>]
375
+ attr_accessor :attachments
376
+
377
+ # The HTML-formatted content, which is suitable for display.
378
+ # Corresponds to the JSON property `content`
379
+ # @return [String]
380
+ attr_accessor :content
381
+
382
+ # The ID of the object. When resharing an activity, this is the ID of the
383
+ # activity that is being reshared.
384
+ # Corresponds to the JSON property `id`
385
+ # @return [String]
386
+ attr_accessor :id
387
+
388
+ # The type of the object. Possible values include, but are not limited to, the
389
+ # following values:
390
+ # - "note" - Textual content.
391
+ # - "activity" - A Google+ activity.
392
+ # Corresponds to the JSON property `objectType`
393
+ # @return [String]
394
+ attr_accessor :object_type
395
+
396
+ # The content (text) as provided by the author, which is stored without any HTML
397
+ # formatting. When creating or updating an activity, this value must be supplied
398
+ # as plain text in the request.
399
+ # Corresponds to the JSON property `originalContent`
400
+ # @return [String]
401
+ attr_accessor :original_content
402
+
403
+ # People who +1'd this activity.
404
+ # Corresponds to the JSON property `plusoners`
405
+ # @return [Google::Apis::PlusDomainsV1::Activity::Object::Plusoners]
406
+ attr_accessor :plusoners
407
+
408
+ # Comments in reply to this activity.
409
+ # Corresponds to the JSON property `replies`
410
+ # @return [Google::Apis::PlusDomainsV1::Activity::Object::Replies]
411
+ attr_accessor :replies
412
+
413
+ # People who reshared this activity.
414
+ # Corresponds to the JSON property `resharers`
415
+ # @return [Google::Apis::PlusDomainsV1::Activity::Object::Resharers]
416
+ attr_accessor :resharers
417
+
418
+ # Status of the activity as seen by the viewer.
419
+ # Corresponds to the JSON property `statusForViewer`
420
+ # @return [Google::Apis::PlusDomainsV1::Activity::Object::StatusForViewer]
421
+ attr_accessor :status_for_viewer
422
+
423
+ # The URL that points to the linked resource.
424
+ # Corresponds to the JSON property `url`
425
+ # @return [String]
426
+ attr_accessor :url
427
+
428
+ def initialize(**args)
429
+ update!(**args)
430
+ end
431
+
432
+ # Update properties of this object
433
+ def update!(**args)
434
+ @actor = args[:actor] unless args[:actor].nil?
435
+ @attachments = args[:attachments] unless args[:attachments].nil?
436
+ @content = args[:content] unless args[:content].nil?
437
+ @id = args[:id] unless args[:id].nil?
438
+ @object_type = args[:object_type] unless args[:object_type].nil?
439
+ @original_content = args[:original_content] unless args[:original_content].nil?
440
+ @plusoners = args[:plusoners] unless args[:plusoners].nil?
441
+ @replies = args[:replies] unless args[:replies].nil?
442
+ @resharers = args[:resharers] unless args[:resharers].nil?
443
+ @status_for_viewer = args[:status_for_viewer] unless args[:status_for_viewer].nil?
444
+ @url = args[:url] unless args[:url].nil?
445
+ end
446
+
447
+ # If this activity's object is itself another activity, such as when a person
448
+ # reshares an activity, this property specifies the original activity's actor.
449
+ class Actor
450
+ include Google::Apis::Core::Hashable
451
+
452
+ # Actor info specific to particular clients.
453
+ # Corresponds to the JSON property `clientSpecificActorInfo`
454
+ # @return [Google::Apis::PlusDomainsV1::Activity::Object::Actor::ClientSpecificActorInfo]
455
+ attr_accessor :client_specific_actor_info
456
+
457
+ # The original actor's name, which is suitable for display.
458
+ # Corresponds to the JSON property `displayName`
459
+ # @return [String]
460
+ attr_accessor :display_name
461
+
462
+ # ID of the original actor.
463
+ # Corresponds to the JSON property `id`
464
+ # @return [String]
465
+ attr_accessor :id
466
+
467
+ # The image representation of the original actor.
468
+ # Corresponds to the JSON property `image`
469
+ # @return [Google::Apis::PlusDomainsV1::Activity::Object::Actor::Image]
470
+ attr_accessor :image
471
+
472
+ # A link to the original actor's Google profile.
473
+ # Corresponds to the JSON property `url`
474
+ # @return [String]
475
+ attr_accessor :url
476
+
477
+ # Verification status of actor.
478
+ # Corresponds to the JSON property `verification`
479
+ # @return [Google::Apis::PlusDomainsV1::Activity::Object::Actor::Verification]
480
+ attr_accessor :verification
481
+
482
+ def initialize(**args)
483
+ update!(**args)
484
+ end
485
+
486
+ # Update properties of this object
487
+ def update!(**args)
488
+ @client_specific_actor_info = args[:client_specific_actor_info] unless args[:client_specific_actor_info].nil?
489
+ @display_name = args[:display_name] unless args[:display_name].nil?
490
+ @id = args[:id] unless args[:id].nil?
491
+ @image = args[:image] unless args[:image].nil?
492
+ @url = args[:url] unless args[:url].nil?
493
+ @verification = args[:verification] unless args[:verification].nil?
494
+ end
495
+
496
+ # Actor info specific to particular clients.
497
+ class ClientSpecificActorInfo
498
+ include Google::Apis::Core::Hashable
499
+
500
+ # Actor info specific to YouTube clients.
501
+ # Corresponds to the JSON property `youtubeActorInfo`
502
+ # @return [Google::Apis::PlusDomainsV1::Activity::Object::Actor::ClientSpecificActorInfo::YoutubeActorInfo]
503
+ attr_accessor :youtube_actor_info
504
+
505
+ def initialize(**args)
506
+ update!(**args)
507
+ end
508
+
509
+ # Update properties of this object
510
+ def update!(**args)
511
+ @youtube_actor_info = args[:youtube_actor_info] unless args[:youtube_actor_info].nil?
512
+ end
513
+
514
+ # Actor info specific to YouTube clients.
515
+ class YoutubeActorInfo
516
+ include Google::Apis::Core::Hashable
517
+
518
+ # ID of the YouTube channel owned by the Actor.
519
+ # Corresponds to the JSON property `channelId`
520
+ # @return [String]
521
+ attr_accessor :channel_id
522
+
523
+ def initialize(**args)
524
+ update!(**args)
525
+ end
526
+
527
+ # Update properties of this object
528
+ def update!(**args)
529
+ @channel_id = args[:channel_id] unless args[:channel_id].nil?
530
+ end
531
+ end
532
+ end
533
+
534
+ # The image representation of the original actor.
535
+ class Image
536
+ include Google::Apis::Core::Hashable
537
+
538
+ # A URL that points to a thumbnail photo of the original actor.
539
+ # Corresponds to the JSON property `url`
540
+ # @return [String]
541
+ attr_accessor :url
542
+
543
+ def initialize(**args)
544
+ update!(**args)
545
+ end
546
+
547
+ # Update properties of this object
548
+ def update!(**args)
549
+ @url = args[:url] unless args[:url].nil?
550
+ end
551
+ end
552
+
553
+ # Verification status of actor.
554
+ class Verification
555
+ include Google::Apis::Core::Hashable
556
+
557
+ # Verification for one-time or manual processes.
558
+ # Corresponds to the JSON property `adHocVerified`
559
+ # @return [String]
560
+ attr_accessor :ad_hoc_verified
561
+
562
+ def initialize(**args)
563
+ update!(**args)
564
+ end
565
+
566
+ # Update properties of this object
567
+ def update!(**args)
568
+ @ad_hoc_verified = args[:ad_hoc_verified] unless args[:ad_hoc_verified].nil?
569
+ end
570
+ end
571
+ end
572
+
573
+ #
574
+ class Attachment
575
+ include Google::Apis::Core::Hashable
576
+
577
+ # If the attachment is an article, this property contains a snippet of text from
578
+ # the article. It can also include descriptions for other types.
579
+ # Corresponds to the JSON property `content`
580
+ # @return [String]
581
+ attr_accessor :content
582
+
583
+ # The title of the attachment, such as a photo caption or an article title.
584
+ # Corresponds to the JSON property `displayName`
585
+ # @return [String]
586
+ attr_accessor :display_name
587
+
588
+ # If the attachment is a video, the embeddable link.
589
+ # Corresponds to the JSON property `embed`
590
+ # @return [Google::Apis::PlusDomainsV1::Activity::Object::Attachment::Embed]
591
+ attr_accessor :embed
592
+
593
+ # The full image URL for photo attachments.
594
+ # Corresponds to the JSON property `fullImage`
595
+ # @return [Google::Apis::PlusDomainsV1::Activity::Object::Attachment::FullImage]
596
+ attr_accessor :full_image
597
+
598
+ # The ID of the attachment.
599
+ # Corresponds to the JSON property `id`
600
+ # @return [String]
601
+ attr_accessor :id
602
+
603
+ # The preview image for photos or videos.
604
+ # Corresponds to the JSON property `image`
605
+ # @return [Google::Apis::PlusDomainsV1::Activity::Object::Attachment::Image]
606
+ attr_accessor :image
607
+
608
+ # The type of media object. Possible values include, but are not limited to, the
609
+ # following values:
610
+ # - "photo" - A photo.
611
+ # - "album" - A photo album.
612
+ # - "video" - A video.
613
+ # - "article" - An article, specified by a link.
614
+ # Corresponds to the JSON property `objectType`
615
+ # @return [String]
616
+ attr_accessor :object_type
617
+
618
+ # When previewing, these are the optional thumbnails for the post. When posting
619
+ # an article, choose one by setting the attachment.image.url property. If you
620
+ # don't choose one, one will be chosen for you.
621
+ # Corresponds to the JSON property `previewThumbnails`
622
+ # @return [Array<Google::Apis::PlusDomainsV1::Activity::Object::Attachment::PreviewThumbnail>]
623
+ attr_accessor :preview_thumbnails
624
+
625
+ # If the attachment is an album, this property is a list of potential additional
626
+ # thumbnails from the album.
627
+ # Corresponds to the JSON property `thumbnails`
628
+ # @return [Array<Google::Apis::PlusDomainsV1::Activity::Object::Attachment::Thumbnail>]
629
+ attr_accessor :thumbnails
630
+
631
+ # The link to the attachment, which should be of type text/html.
632
+ # Corresponds to the JSON property `url`
633
+ # @return [String]
634
+ attr_accessor :url
635
+
636
+ def initialize(**args)
637
+ update!(**args)
638
+ end
639
+
640
+ # Update properties of this object
641
+ def update!(**args)
642
+ @content = args[:content] unless args[:content].nil?
643
+ @display_name = args[:display_name] unless args[:display_name].nil?
644
+ @embed = args[:embed] unless args[:embed].nil?
645
+ @full_image = args[:full_image] unless args[:full_image].nil?
646
+ @id = args[:id] unless args[:id].nil?
647
+ @image = args[:image] unless args[:image].nil?
648
+ @object_type = args[:object_type] unless args[:object_type].nil?
649
+ @preview_thumbnails = args[:preview_thumbnails] unless args[:preview_thumbnails].nil?
650
+ @thumbnails = args[:thumbnails] unless args[:thumbnails].nil?
651
+ @url = args[:url] unless args[:url].nil?
652
+ end
653
+
654
+ # If the attachment is a video, the embeddable link.
655
+ class Embed
656
+ include Google::Apis::Core::Hashable
657
+
658
+ # Media type of the link.
659
+ # Corresponds to the JSON property `type`
660
+ # @return [String]
661
+ attr_accessor :type
662
+
663
+ # URL of the link.
664
+ # Corresponds to the JSON property `url`
665
+ # @return [String]
666
+ attr_accessor :url
667
+
668
+ def initialize(**args)
669
+ update!(**args)
670
+ end
671
+
672
+ # Update properties of this object
673
+ def update!(**args)
674
+ @type = args[:type] unless args[:type].nil?
675
+ @url = args[:url] unless args[:url].nil?
676
+ end
677
+ end
678
+
679
+ # The full image URL for photo attachments.
680
+ class FullImage
681
+ include Google::Apis::Core::Hashable
682
+
683
+ # The height, in pixels, of the linked resource.
684
+ # Corresponds to the JSON property `height`
685
+ # @return [Fixnum]
686
+ attr_accessor :height
687
+
688
+ # Media type of the link.
689
+ # Corresponds to the JSON property `type`
690
+ # @return [String]
691
+ attr_accessor :type
692
+
693
+ # URL of the image.
694
+ # Corresponds to the JSON property `url`
695
+ # @return [String]
696
+ attr_accessor :url
697
+
698
+ # The width, in pixels, of the linked resource.
699
+ # Corresponds to the JSON property `width`
700
+ # @return [Fixnum]
701
+ attr_accessor :width
702
+
703
+ def initialize(**args)
704
+ update!(**args)
705
+ end
706
+
707
+ # Update properties of this object
708
+ def update!(**args)
709
+ @height = args[:height] unless args[:height].nil?
710
+ @type = args[:type] unless args[:type].nil?
711
+ @url = args[:url] unless args[:url].nil?
712
+ @width = args[:width] unless args[:width].nil?
713
+ end
714
+ end
715
+
716
+ # The preview image for photos or videos.
717
+ class Image
718
+ include Google::Apis::Core::Hashable
719
+
720
+ # The height, in pixels, of the linked resource.
721
+ # Corresponds to the JSON property `height`
722
+ # @return [Fixnum]
723
+ attr_accessor :height
724
+
725
+ # Media type of the link.
726
+ # Corresponds to the JSON property `type`
727
+ # @return [String]
728
+ attr_accessor :type
729
+
730
+ # Image URL.
731
+ # Corresponds to the JSON property `url`
732
+ # @return [String]
733
+ attr_accessor :url
734
+
735
+ # The width, in pixels, of the linked resource.
736
+ # Corresponds to the JSON property `width`
737
+ # @return [Fixnum]
738
+ attr_accessor :width
739
+
740
+ def initialize(**args)
741
+ update!(**args)
742
+ end
743
+
744
+ # Update properties of this object
745
+ def update!(**args)
746
+ @height = args[:height] unless args[:height].nil?
747
+ @type = args[:type] unless args[:type].nil?
748
+ @url = args[:url] unless args[:url].nil?
749
+ @width = args[:width] unless args[:width].nil?
750
+ end
751
+ end
752
+
753
+ #
754
+ class PreviewThumbnail
755
+ include Google::Apis::Core::Hashable
756
+
757
+ # URL of the thumbnail image.
758
+ # Corresponds to the JSON property `url`
759
+ # @return [String]
760
+ attr_accessor :url
761
+
762
+ def initialize(**args)
763
+ update!(**args)
764
+ end
765
+
766
+ # Update properties of this object
767
+ def update!(**args)
768
+ @url = args[:url] unless args[:url].nil?
769
+ end
770
+ end
771
+
772
+ #
773
+ class Thumbnail
774
+ include Google::Apis::Core::Hashable
775
+
776
+ # Potential name of the thumbnail.
777
+ # Corresponds to the JSON property `description`
778
+ # @return [String]
779
+ attr_accessor :description
780
+
781
+ # Image resource.
782
+ # Corresponds to the JSON property `image`
783
+ # @return [Google::Apis::PlusDomainsV1::Activity::Object::Attachment::Thumbnail::Image]
784
+ attr_accessor :image
785
+
786
+ # URL of the webpage containing the image.
787
+ # Corresponds to the JSON property `url`
788
+ # @return [String]
789
+ attr_accessor :url
790
+
791
+ def initialize(**args)
792
+ update!(**args)
793
+ end
794
+
795
+ # Update properties of this object
796
+ def update!(**args)
797
+ @description = args[:description] unless args[:description].nil?
798
+ @image = args[:image] unless args[:image].nil?
799
+ @url = args[:url] unless args[:url].nil?
800
+ end
801
+
802
+ # Image resource.
803
+ class Image
804
+ include Google::Apis::Core::Hashable
805
+
806
+ # The height, in pixels, of the linked resource.
807
+ # Corresponds to the JSON property `height`
808
+ # @return [Fixnum]
809
+ attr_accessor :height
810
+
811
+ # Media type of the link.
812
+ # Corresponds to the JSON property `type`
813
+ # @return [String]
814
+ attr_accessor :type
815
+
816
+ # Image url.
817
+ # Corresponds to the JSON property `url`
818
+ # @return [String]
819
+ attr_accessor :url
820
+
821
+ # The width, in pixels, of the linked resource.
822
+ # Corresponds to the JSON property `width`
823
+ # @return [Fixnum]
824
+ attr_accessor :width
825
+
826
+ def initialize(**args)
827
+ update!(**args)
828
+ end
829
+
830
+ # Update properties of this object
831
+ def update!(**args)
832
+ @height = args[:height] unless args[:height].nil?
833
+ @type = args[:type] unless args[:type].nil?
834
+ @url = args[:url] unless args[:url].nil?
835
+ @width = args[:width] unless args[:width].nil?
836
+ end
837
+ end
838
+ end
839
+ end
840
+
841
+ # People who +1'd this activity.
842
+ class Plusoners
843
+ include Google::Apis::Core::Hashable
844
+
845
+ # The URL for the collection of people who +1'd this activity.
846
+ # Corresponds to the JSON property `selfLink`
847
+ # @return [String]
848
+ attr_accessor :self_link
849
+
850
+ # Total number of people who +1'd this activity.
851
+ # Corresponds to the JSON property `totalItems`
852
+ # @return [Fixnum]
853
+ attr_accessor :total_items
854
+
855
+ def initialize(**args)
856
+ update!(**args)
857
+ end
858
+
859
+ # Update properties of this object
860
+ def update!(**args)
861
+ @self_link = args[:self_link] unless args[:self_link].nil?
862
+ @total_items = args[:total_items] unless args[:total_items].nil?
863
+ end
864
+ end
865
+
866
+ # Comments in reply to this activity.
867
+ class Replies
868
+ include Google::Apis::Core::Hashable
869
+
870
+ # The URL for the collection of comments in reply to this activity.
871
+ # Corresponds to the JSON property `selfLink`
872
+ # @return [String]
873
+ attr_accessor :self_link
874
+
875
+ # Total number of comments on this activity.
876
+ # Corresponds to the JSON property `totalItems`
877
+ # @return [Fixnum]
878
+ attr_accessor :total_items
879
+
880
+ def initialize(**args)
881
+ update!(**args)
882
+ end
883
+
884
+ # Update properties of this object
885
+ def update!(**args)
886
+ @self_link = args[:self_link] unless args[:self_link].nil?
887
+ @total_items = args[:total_items] unless args[:total_items].nil?
888
+ end
889
+ end
890
+
891
+ # People who reshared this activity.
892
+ class Resharers
893
+ include Google::Apis::Core::Hashable
894
+
895
+ # The URL for the collection of resharers.
896
+ # Corresponds to the JSON property `selfLink`
897
+ # @return [String]
898
+ attr_accessor :self_link
899
+
900
+ # Total number of people who reshared this activity.
901
+ # Corresponds to the JSON property `totalItems`
902
+ # @return [Fixnum]
903
+ attr_accessor :total_items
904
+
905
+ def initialize(**args)
906
+ update!(**args)
907
+ end
908
+
909
+ # Update properties of this object
910
+ def update!(**args)
911
+ @self_link = args[:self_link] unless args[:self_link].nil?
912
+ @total_items = args[:total_items] unless args[:total_items].nil?
913
+ end
914
+ end
915
+
916
+ # Status of the activity as seen by the viewer.
917
+ class StatusForViewer
918
+ include Google::Apis::Core::Hashable
919
+
920
+ # Whether the viewer can comment on the activity.
921
+ # Corresponds to the JSON property `canComment`
922
+ # @return [Boolean]
923
+ attr_accessor :can_comment
924
+ alias_method :can_comment?, :can_comment
925
+
926
+ # Whether the viewer can +1 the activity.
927
+ # Corresponds to the JSON property `canPlusone`
928
+ # @return [Boolean]
929
+ attr_accessor :can_plusone
930
+ alias_method :can_plusone?, :can_plusone
931
+
932
+ # Whether the viewer can edit or delete the activity.
933
+ # Corresponds to the JSON property `canUpdate`
934
+ # @return [Boolean]
935
+ attr_accessor :can_update
936
+ alias_method :can_update?, :can_update
937
+
938
+ # Whether the viewer has +1'd the activity.
939
+ # Corresponds to the JSON property `isPlusOned`
940
+ # @return [Boolean]
941
+ attr_accessor :is_plus_oned
942
+ alias_method :is_plus_oned?, :is_plus_oned
943
+
944
+ # Whether reshares are disabled for the activity.
945
+ # Corresponds to the JSON property `resharingDisabled`
946
+ # @return [Boolean]
947
+ attr_accessor :resharing_disabled
948
+ alias_method :resharing_disabled?, :resharing_disabled
949
+
950
+ def initialize(**args)
951
+ update!(**args)
952
+ end
953
+
954
+ # Update properties of this object
955
+ def update!(**args)
956
+ @can_comment = args[:can_comment] unless args[:can_comment].nil?
957
+ @can_plusone = args[:can_plusone] unless args[:can_plusone].nil?
958
+ @can_update = args[:can_update] unless args[:can_update].nil?
959
+ @is_plus_oned = args[:is_plus_oned] unless args[:is_plus_oned].nil?
960
+ @resharing_disabled = args[:resharing_disabled] unless args[:resharing_disabled].nil?
961
+ end
962
+ end
963
+ end
964
+
965
+ # The service provider that initially published this activity.
966
+ class Provider
967
+ include Google::Apis::Core::Hashable
968
+
969
+ # Name of the service provider.
970
+ # Corresponds to the JSON property `title`
971
+ # @return [String]
972
+ attr_accessor :title
973
+
974
+ def initialize(**args)
975
+ update!(**args)
976
+ end
977
+
978
+ # Update properties of this object
979
+ def update!(**args)
980
+ @title = args[:title] unless args[:title].nil?
981
+ end
982
+ end
983
+ end
984
+
985
+ #
986
+ class ActivityFeed
987
+ include Google::Apis::Core::Hashable
988
+
989
+ # ETag of this response for caching purposes.
990
+ # Corresponds to the JSON property `etag`
991
+ # @return [String]
992
+ attr_accessor :etag
993
+
994
+ # The ID of this collection of activities. Deprecated.
995
+ # Corresponds to the JSON property `id`
996
+ # @return [String]
997
+ attr_accessor :id
998
+
999
+ # The activities in this page of results.
1000
+ # Corresponds to the JSON property `items`
1001
+ # @return [Array<Google::Apis::PlusDomainsV1::Activity>]
1002
+ attr_accessor :items
1003
+
1004
+ # Identifies this resource as a collection of activities. Value: "plus#
1005
+ # activityFeed".
1006
+ # Corresponds to the JSON property `kind`
1007
+ # @return [String]
1008
+ attr_accessor :kind
1009
+
1010
+ # Link to the next page of activities.
1011
+ # Corresponds to the JSON property `nextLink`
1012
+ # @return [String]
1013
+ attr_accessor :next_link
1014
+
1015
+ # The continuation token, which is used to page through large result sets.
1016
+ # Provide this value in a subsequent request to return the next page of results.
1017
+ # Corresponds to the JSON property `nextPageToken`
1018
+ # @return [String]
1019
+ attr_accessor :next_page_token
1020
+
1021
+ # Link to this activity resource.
1022
+ # Corresponds to the JSON property `selfLink`
1023
+ # @return [String]
1024
+ attr_accessor :self_link
1025
+
1026
+ # The title of this collection of activities, which is a truncated portion of
1027
+ # the content.
1028
+ # Corresponds to the JSON property `title`
1029
+ # @return [String]
1030
+ attr_accessor :title
1031
+
1032
+ # The time at which this collection of activities was last updated. Formatted as
1033
+ # an RFC 3339 timestamp.
1034
+ # Corresponds to the JSON property `updated`
1035
+ # @return [DateTime]
1036
+ attr_accessor :updated
1037
+
1038
+ def initialize(**args)
1039
+ update!(**args)
1040
+ end
1041
+
1042
+ # Update properties of this object
1043
+ def update!(**args)
1044
+ @etag = args[:etag] unless args[:etag].nil?
1045
+ @id = args[:id] unless args[:id].nil?
1046
+ @items = args[:items] unless args[:items].nil?
1047
+ @kind = args[:kind] unless args[:kind].nil?
1048
+ @next_link = args[:next_link] unless args[:next_link].nil?
1049
+ @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
1050
+ @self_link = args[:self_link] unless args[:self_link].nil?
1051
+ @title = args[:title] unless args[:title].nil?
1052
+ @updated = args[:updated] unless args[:updated].nil?
1053
+ end
1054
+ end
1055
+
1056
+ #
1057
+ class Audience
1058
+ include Google::Apis::Core::Hashable
1059
+
1060
+ # ETag of this response for caching purposes.
1061
+ # Corresponds to the JSON property `etag`
1062
+ # @return [String]
1063
+ attr_accessor :etag
1064
+
1065
+ # The access control list entry.
1066
+ # Corresponds to the JSON property `item`
1067
+ # @return [Google::Apis::PlusDomainsV1::PlusDomainsAclentryResource]
1068
+ attr_accessor :item
1069
+
1070
+ # Identifies this resource as an audience. Value: "plus#audience".
1071
+ # Corresponds to the JSON property `kind`
1072
+ # @return [String]
1073
+ attr_accessor :kind
1074
+
1075
+ # The number of people in this circle. This only applies if entity_type is
1076
+ # CIRCLE.
1077
+ # Corresponds to the JSON property `memberCount`
1078
+ # @return [Fixnum]
1079
+ attr_accessor :member_count
1080
+
1081
+ # The circle members' visibility as chosen by the owner of the circle. This only
1082
+ # applies for items with "item.type" equals "circle". Possible values are:
1083
+ # - "public" - Members are visible to the public.
1084
+ # - "limited" - Members are visible to a limited audience.
1085
+ # - "private" - Members are visible to the owner only.
1086
+ # Corresponds to the JSON property `visibility`
1087
+ # @return [String]
1088
+ attr_accessor :visibility
1089
+
1090
+ def initialize(**args)
1091
+ update!(**args)
1092
+ end
1093
+
1094
+ # Update properties of this object
1095
+ def update!(**args)
1096
+ @etag = args[:etag] unless args[:etag].nil?
1097
+ @item = args[:item] unless args[:item].nil?
1098
+ @kind = args[:kind] unless args[:kind].nil?
1099
+ @member_count = args[:member_count] unless args[:member_count].nil?
1100
+ @visibility = args[:visibility] unless args[:visibility].nil?
1101
+ end
1102
+ end
1103
+
1104
+ #
1105
+ class AudiencesFeed
1106
+ include Google::Apis::Core::Hashable
1107
+
1108
+ # ETag of this response for caching purposes.
1109
+ # Corresponds to the JSON property `etag`
1110
+ # @return [String]
1111
+ attr_accessor :etag
1112
+
1113
+ # The audiences in this result.
1114
+ # Corresponds to the JSON property `items`
1115
+ # @return [Array<Google::Apis::PlusDomainsV1::Audience>]
1116
+ attr_accessor :items
1117
+
1118
+ # Identifies this resource as a collection of audiences. Value: "plus#
1119
+ # audienceFeed".
1120
+ # Corresponds to the JSON property `kind`
1121
+ # @return [String]
1122
+ attr_accessor :kind
1123
+
1124
+ # The continuation token, which is used to page through large result sets.
1125
+ # Provide this value in a subsequent request to return the next page of results.
1126
+ # Corresponds to the JSON property `nextPageToken`
1127
+ # @return [String]
1128
+ attr_accessor :next_page_token
1129
+
1130
+ # The total number of ACL entries. The number of entries in this response may be
1131
+ # smaller due to paging.
1132
+ # Corresponds to the JSON property `totalItems`
1133
+ # @return [Fixnum]
1134
+ attr_accessor :total_items
1135
+
1136
+ def initialize(**args)
1137
+ update!(**args)
1138
+ end
1139
+
1140
+ # Update properties of this object
1141
+ def update!(**args)
1142
+ @etag = args[:etag] unless args[:etag].nil?
1143
+ @items = args[:items] unless args[:items].nil?
1144
+ @kind = args[:kind] unless args[:kind].nil?
1145
+ @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
1146
+ @total_items = args[:total_items] unless args[:total_items].nil?
1147
+ end
1148
+ end
1149
+
1150
+ #
1151
+ class Circle
1152
+ include Google::Apis::Core::Hashable
1153
+
1154
+ # The description of this circle.
1155
+ # Corresponds to the JSON property `description`
1156
+ # @return [String]
1157
+ attr_accessor :description
1158
+
1159
+ # The circle name.
1160
+ # Corresponds to the JSON property `displayName`
1161
+ # @return [String]
1162
+ attr_accessor :display_name
1163
+
1164
+ # ETag of this response for caching purposes.
1165
+ # Corresponds to the JSON property `etag`
1166
+ # @return [String]
1167
+ attr_accessor :etag
1168
+
1169
+ # The ID of the circle.
1170
+ # Corresponds to the JSON property `id`
1171
+ # @return [String]
1172
+ attr_accessor :id
1173
+
1174
+ # Identifies this resource as a circle. Value: "plus#circle".
1175
+ # Corresponds to the JSON property `kind`
1176
+ # @return [String]
1177
+ attr_accessor :kind
1178
+
1179
+ # The people in this circle.
1180
+ # Corresponds to the JSON property `people`
1181
+ # @return [Google::Apis::PlusDomainsV1::Circle::People]
1182
+ attr_accessor :people
1183
+
1184
+ # Link to this circle resource
1185
+ # Corresponds to the JSON property `selfLink`
1186
+ # @return [String]
1187
+ attr_accessor :self_link
1188
+
1189
+ def initialize(**args)
1190
+ update!(**args)
1191
+ end
1192
+
1193
+ # Update properties of this object
1194
+ def update!(**args)
1195
+ @description = args[:description] unless args[:description].nil?
1196
+ @display_name = args[:display_name] unless args[:display_name].nil?
1197
+ @etag = args[:etag] unless args[:etag].nil?
1198
+ @id = args[:id] unless args[:id].nil?
1199
+ @kind = args[:kind] unless args[:kind].nil?
1200
+ @people = args[:people] unless args[:people].nil?
1201
+ @self_link = args[:self_link] unless args[:self_link].nil?
1202
+ end
1203
+
1204
+ # The people in this circle.
1205
+ class People
1206
+ include Google::Apis::Core::Hashable
1207
+
1208
+ # The total number of people in this circle.
1209
+ # Corresponds to the JSON property `totalItems`
1210
+ # @return [Fixnum]
1211
+ attr_accessor :total_items
1212
+
1213
+ def initialize(**args)
1214
+ update!(**args)
1215
+ end
1216
+
1217
+ # Update properties of this object
1218
+ def update!(**args)
1219
+ @total_items = args[:total_items] unless args[:total_items].nil?
1220
+ end
1221
+ end
1222
+ end
1223
+
1224
+ #
1225
+ class CircleFeed
1226
+ include Google::Apis::Core::Hashable
1227
+
1228
+ # ETag of this response for caching purposes.
1229
+ # Corresponds to the JSON property `etag`
1230
+ # @return [String]
1231
+ attr_accessor :etag
1232
+
1233
+ # The circles in this page of results.
1234
+ # Corresponds to the JSON property `items`
1235
+ # @return [Array<Google::Apis::PlusDomainsV1::Circle>]
1236
+ attr_accessor :items
1237
+
1238
+ # Identifies this resource as a collection of circles. Value: "plus#circleFeed".
1239
+ # Corresponds to the JSON property `kind`
1240
+ # @return [String]
1241
+ attr_accessor :kind
1242
+
1243
+ # Link to the next page of circles.
1244
+ # Corresponds to the JSON property `nextLink`
1245
+ # @return [String]
1246
+ attr_accessor :next_link
1247
+
1248
+ # The continuation token, which is used to page through large result sets.
1249
+ # Provide this value in a subsequent request to return the next page of results.
1250
+ # Corresponds to the JSON property `nextPageToken`
1251
+ # @return [String]
1252
+ attr_accessor :next_page_token
1253
+
1254
+ # Link to this page of circles.
1255
+ # Corresponds to the JSON property `selfLink`
1256
+ # @return [String]
1257
+ attr_accessor :self_link
1258
+
1259
+ # The title of this list of resources.
1260
+ # Corresponds to the JSON property `title`
1261
+ # @return [String]
1262
+ attr_accessor :title
1263
+
1264
+ # The total number of circles. The number of circles in this response may be
1265
+ # smaller due to paging.
1266
+ # Corresponds to the JSON property `totalItems`
1267
+ # @return [Fixnum]
1268
+ attr_accessor :total_items
1269
+
1270
+ def initialize(**args)
1271
+ update!(**args)
1272
+ end
1273
+
1274
+ # Update properties of this object
1275
+ def update!(**args)
1276
+ @etag = args[:etag] unless args[:etag].nil?
1277
+ @items = args[:items] unless args[:items].nil?
1278
+ @kind = args[:kind] unless args[:kind].nil?
1279
+ @next_link = args[:next_link] unless args[:next_link].nil?
1280
+ @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
1281
+ @self_link = args[:self_link] unless args[:self_link].nil?
1282
+ @title = args[:title] unless args[:title].nil?
1283
+ @total_items = args[:total_items] unless args[:total_items].nil?
1284
+ end
1285
+ end
1286
+
1287
+ #
1288
+ class Comment
1289
+ include Google::Apis::Core::Hashable
1290
+
1291
+ # The person who posted this comment.
1292
+ # Corresponds to the JSON property `actor`
1293
+ # @return [Google::Apis::PlusDomainsV1::Comment::Actor]
1294
+ attr_accessor :actor
1295
+
1296
+ # ETag of this response for caching purposes.
1297
+ # Corresponds to the JSON property `etag`
1298
+ # @return [String]
1299
+ attr_accessor :etag
1300
+
1301
+ # The ID of this comment.
1302
+ # Corresponds to the JSON property `id`
1303
+ # @return [String]
1304
+ attr_accessor :id
1305
+
1306
+ # The activity this comment replied to.
1307
+ # Corresponds to the JSON property `inReplyTo`
1308
+ # @return [Array<Google::Apis::PlusDomainsV1::Comment::InReplyTo>]
1309
+ attr_accessor :in_reply_to
1310
+
1311
+ # Identifies this resource as a comment. Value: "plus#comment".
1312
+ # Corresponds to the JSON property `kind`
1313
+ # @return [String]
1314
+ attr_accessor :kind
1315
+
1316
+ # The object of this comment.
1317
+ # Corresponds to the JSON property `object`
1318
+ # @return [Google::Apis::PlusDomainsV1::Comment::Object]
1319
+ attr_accessor :object
1320
+
1321
+ # People who +1'd this comment.
1322
+ # Corresponds to the JSON property `plusoners`
1323
+ # @return [Google::Apis::PlusDomainsV1::Comment::Plusoners]
1324
+ attr_accessor :plusoners
1325
+
1326
+ # The time at which this comment was initially published. Formatted as an RFC
1327
+ # 3339 timestamp.
1328
+ # Corresponds to the JSON property `published`
1329
+ # @return [DateTime]
1330
+ attr_accessor :published
1331
+
1332
+ # Link to this comment resource.
1333
+ # Corresponds to the JSON property `selfLink`
1334
+ # @return [String]
1335
+ attr_accessor :self_link
1336
+
1337
+ # The time at which this comment was last updated. Formatted as an RFC 3339
1338
+ # timestamp.
1339
+ # Corresponds to the JSON property `updated`
1340
+ # @return [DateTime]
1341
+ attr_accessor :updated
1342
+
1343
+ # This comment's verb, indicating what action was performed. Possible values are:
1344
+ #
1345
+ # - "post" - Publish content to the stream.
1346
+ # Corresponds to the JSON property `verb`
1347
+ # @return [String]
1348
+ attr_accessor :verb
1349
+
1350
+ def initialize(**args)
1351
+ update!(**args)
1352
+ end
1353
+
1354
+ # Update properties of this object
1355
+ def update!(**args)
1356
+ @actor = args[:actor] unless args[:actor].nil?
1357
+ @etag = args[:etag] unless args[:etag].nil?
1358
+ @id = args[:id] unless args[:id].nil?
1359
+ @in_reply_to = args[:in_reply_to] unless args[:in_reply_to].nil?
1360
+ @kind = args[:kind] unless args[:kind].nil?
1361
+ @object = args[:object] unless args[:object].nil?
1362
+ @plusoners = args[:plusoners] unless args[:plusoners].nil?
1363
+ @published = args[:published] unless args[:published].nil?
1364
+ @self_link = args[:self_link] unless args[:self_link].nil?
1365
+ @updated = args[:updated] unless args[:updated].nil?
1366
+ @verb = args[:verb] unless args[:verb].nil?
1367
+ end
1368
+
1369
+ # The person who posted this comment.
1370
+ class Actor
1371
+ include Google::Apis::Core::Hashable
1372
+
1373
+ # Actor info specific to particular clients.
1374
+ # Corresponds to the JSON property `clientSpecificActorInfo`
1375
+ # @return [Google::Apis::PlusDomainsV1::Comment::Actor::ClientSpecificActorInfo]
1376
+ attr_accessor :client_specific_actor_info
1377
+
1378
+ # The name of this actor, suitable for display.
1379
+ # Corresponds to the JSON property `displayName`
1380
+ # @return [String]
1381
+ attr_accessor :display_name
1382
+
1383
+ # The ID of the actor.
1384
+ # Corresponds to the JSON property `id`
1385
+ # @return [String]
1386
+ attr_accessor :id
1387
+
1388
+ # The image representation of this actor.
1389
+ # Corresponds to the JSON property `image`
1390
+ # @return [Google::Apis::PlusDomainsV1::Comment::Actor::Image]
1391
+ attr_accessor :image
1392
+
1393
+ # A link to the Person resource for this actor.
1394
+ # Corresponds to the JSON property `url`
1395
+ # @return [String]
1396
+ attr_accessor :url
1397
+
1398
+ # Verification status of actor.
1399
+ # Corresponds to the JSON property `verification`
1400
+ # @return [Google::Apis::PlusDomainsV1::Comment::Actor::Verification]
1401
+ attr_accessor :verification
1402
+
1403
+ def initialize(**args)
1404
+ update!(**args)
1405
+ end
1406
+
1407
+ # Update properties of this object
1408
+ def update!(**args)
1409
+ @client_specific_actor_info = args[:client_specific_actor_info] unless args[:client_specific_actor_info].nil?
1410
+ @display_name = args[:display_name] unless args[:display_name].nil?
1411
+ @id = args[:id] unless args[:id].nil?
1412
+ @image = args[:image] unless args[:image].nil?
1413
+ @url = args[:url] unless args[:url].nil?
1414
+ @verification = args[:verification] unless args[:verification].nil?
1415
+ end
1416
+
1417
+ # Actor info specific to particular clients.
1418
+ class ClientSpecificActorInfo
1419
+ include Google::Apis::Core::Hashable
1420
+
1421
+ # Actor info specific to YouTube clients.
1422
+ # Corresponds to the JSON property `youtubeActorInfo`
1423
+ # @return [Google::Apis::PlusDomainsV1::Comment::Actor::ClientSpecificActorInfo::YoutubeActorInfo]
1424
+ attr_accessor :youtube_actor_info
1425
+
1426
+ def initialize(**args)
1427
+ update!(**args)
1428
+ end
1429
+
1430
+ # Update properties of this object
1431
+ def update!(**args)
1432
+ @youtube_actor_info = args[:youtube_actor_info] unless args[:youtube_actor_info].nil?
1433
+ end
1434
+
1435
+ # Actor info specific to YouTube clients.
1436
+ class YoutubeActorInfo
1437
+ include Google::Apis::Core::Hashable
1438
+
1439
+ # ID of the YouTube channel owned by the Actor.
1440
+ # Corresponds to the JSON property `channelId`
1441
+ # @return [String]
1442
+ attr_accessor :channel_id
1443
+
1444
+ def initialize(**args)
1445
+ update!(**args)
1446
+ end
1447
+
1448
+ # Update properties of this object
1449
+ def update!(**args)
1450
+ @channel_id = args[:channel_id] unless args[:channel_id].nil?
1451
+ end
1452
+ end
1453
+ end
1454
+
1455
+ # The image representation of this actor.
1456
+ class Image
1457
+ include Google::Apis::Core::Hashable
1458
+
1459
+ # The URL of the actor's profile photo. To resize the image and crop it to a
1460
+ # square, append the query string ?sz=x, where x is the dimension in pixels of
1461
+ # each side.
1462
+ # Corresponds to the JSON property `url`
1463
+ # @return [String]
1464
+ attr_accessor :url
1465
+
1466
+ def initialize(**args)
1467
+ update!(**args)
1468
+ end
1469
+
1470
+ # Update properties of this object
1471
+ def update!(**args)
1472
+ @url = args[:url] unless args[:url].nil?
1473
+ end
1474
+ end
1475
+
1476
+ # Verification status of actor.
1477
+ class Verification
1478
+ include Google::Apis::Core::Hashable
1479
+
1480
+ # Verification for one-time or manual processes.
1481
+ # Corresponds to the JSON property `adHocVerified`
1482
+ # @return [String]
1483
+ attr_accessor :ad_hoc_verified
1484
+
1485
+ def initialize(**args)
1486
+ update!(**args)
1487
+ end
1488
+
1489
+ # Update properties of this object
1490
+ def update!(**args)
1491
+ @ad_hoc_verified = args[:ad_hoc_verified] unless args[:ad_hoc_verified].nil?
1492
+ end
1493
+ end
1494
+ end
1495
+
1496
+ #
1497
+ class InReplyTo
1498
+ include Google::Apis::Core::Hashable
1499
+
1500
+ # The ID of the activity.
1501
+ # Corresponds to the JSON property `id`
1502
+ # @return [String]
1503
+ attr_accessor :id
1504
+
1505
+ # The URL of the activity.
1506
+ # Corresponds to the JSON property `url`
1507
+ # @return [String]
1508
+ attr_accessor :url
1509
+
1510
+ def initialize(**args)
1511
+ update!(**args)
1512
+ end
1513
+
1514
+ # Update properties of this object
1515
+ def update!(**args)
1516
+ @id = args[:id] unless args[:id].nil?
1517
+ @url = args[:url] unless args[:url].nil?
1518
+ end
1519
+ end
1520
+
1521
+ # The object of this comment.
1522
+ class Object
1523
+ include Google::Apis::Core::Hashable
1524
+
1525
+ # The HTML-formatted content, suitable for display.
1526
+ # Corresponds to the JSON property `content`
1527
+ # @return [String]
1528
+ attr_accessor :content
1529
+
1530
+ # The object type of this comment. Possible values are:
1531
+ # - "comment" - A comment in reply to an activity.
1532
+ # Corresponds to the JSON property `objectType`
1533
+ # @return [String]
1534
+ attr_accessor :object_type
1535
+
1536
+ # The content (text) as provided by the author, stored without any HTML
1537
+ # formatting. When creating or updating a comment, this value must be supplied
1538
+ # as plain text in the request.
1539
+ # Corresponds to the JSON property `originalContent`
1540
+ # @return [String]
1541
+ attr_accessor :original_content
1542
+
1543
+ def initialize(**args)
1544
+ update!(**args)
1545
+ end
1546
+
1547
+ # Update properties of this object
1548
+ def update!(**args)
1549
+ @content = args[:content] unless args[:content].nil?
1550
+ @object_type = args[:object_type] unless args[:object_type].nil?
1551
+ @original_content = args[:original_content] unless args[:original_content].nil?
1552
+ end
1553
+ end
1554
+
1555
+ # People who +1'd this comment.
1556
+ class Plusoners
1557
+ include Google::Apis::Core::Hashable
1558
+
1559
+ # Total number of people who +1'd this comment.
1560
+ # Corresponds to the JSON property `totalItems`
1561
+ # @return [Fixnum]
1562
+ attr_accessor :total_items
1563
+
1564
+ def initialize(**args)
1565
+ update!(**args)
1566
+ end
1567
+
1568
+ # Update properties of this object
1569
+ def update!(**args)
1570
+ @total_items = args[:total_items] unless args[:total_items].nil?
1571
+ end
1572
+ end
1573
+ end
1574
+
1575
+ #
1576
+ class CommentFeed
1577
+ include Google::Apis::Core::Hashable
1578
+
1579
+ # ETag of this response for caching purposes.
1580
+ # Corresponds to the JSON property `etag`
1581
+ # @return [String]
1582
+ attr_accessor :etag
1583
+
1584
+ # The ID of this collection of comments.
1585
+ # Corresponds to the JSON property `id`
1586
+ # @return [String]
1587
+ attr_accessor :id
1588
+
1589
+ # The comments in this page of results.
1590
+ # Corresponds to the JSON property `items`
1591
+ # @return [Array<Google::Apis::PlusDomainsV1::Comment>]
1592
+ attr_accessor :items
1593
+
1594
+ # Identifies this resource as a collection of comments. Value: "plus#commentFeed"
1595
+ # .
1596
+ # Corresponds to the JSON property `kind`
1597
+ # @return [String]
1598
+ attr_accessor :kind
1599
+
1600
+ # Link to the next page of activities.
1601
+ # Corresponds to the JSON property `nextLink`
1602
+ # @return [String]
1603
+ attr_accessor :next_link
1604
+
1605
+ # The continuation token, which is used to page through large result sets.
1606
+ # Provide this value in a subsequent request to return the next page of results.
1607
+ # Corresponds to the JSON property `nextPageToken`
1608
+ # @return [String]
1609
+ attr_accessor :next_page_token
1610
+
1611
+ # The title of this collection of comments.
1612
+ # Corresponds to the JSON property `title`
1613
+ # @return [String]
1614
+ attr_accessor :title
1615
+
1616
+ # The time at which this collection of comments was last updated. Formatted as
1617
+ # an RFC 3339 timestamp.
1618
+ # Corresponds to the JSON property `updated`
1619
+ # @return [DateTime]
1620
+ attr_accessor :updated
1621
+
1622
+ def initialize(**args)
1623
+ update!(**args)
1624
+ end
1625
+
1626
+ # Update properties of this object
1627
+ def update!(**args)
1628
+ @etag = args[:etag] unless args[:etag].nil?
1629
+ @id = args[:id] unless args[:id].nil?
1630
+ @items = args[:items] unless args[:items].nil?
1631
+ @kind = args[:kind] unless args[:kind].nil?
1632
+ @next_link = args[:next_link] unless args[:next_link].nil?
1633
+ @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
1634
+ @title = args[:title] unless args[:title].nil?
1635
+ @updated = args[:updated] unless args[:updated].nil?
1636
+ end
1637
+ end
1638
+
1639
+ #
1640
+ class Media
1641
+ include Google::Apis::Core::Hashable
1642
+
1643
+ # The person who uploaded this media.
1644
+ # Corresponds to the JSON property `author`
1645
+ # @return [Google::Apis::PlusDomainsV1::Media::Author]
1646
+ attr_accessor :author
1647
+
1648
+ # The display name for this media.
1649
+ # Corresponds to the JSON property `displayName`
1650
+ # @return [String]
1651
+ attr_accessor :display_name
1652
+
1653
+ # ETag of this response for caching purposes.
1654
+ # Corresponds to the JSON property `etag`
1655
+ # @return [String]
1656
+ attr_accessor :etag
1657
+
1658
+ # Exif information of the media item.
1659
+ # Corresponds to the JSON property `exif`
1660
+ # @return [Google::Apis::PlusDomainsV1::Media::Exif]
1661
+ attr_accessor :exif
1662
+
1663
+ # The height in pixels of the original image.
1664
+ # Corresponds to the JSON property `height`
1665
+ # @return [Fixnum]
1666
+ attr_accessor :height
1667
+
1668
+ # ID of this media, which is generated by the API.
1669
+ # Corresponds to the JSON property `id`
1670
+ # @return [String]
1671
+ attr_accessor :id
1672
+
1673
+ # The type of resource.
1674
+ # Corresponds to the JSON property `kind`
1675
+ # @return [String]
1676
+ attr_accessor :kind
1677
+
1678
+ # The time at which this media was originally created in UTC. Formatted as an
1679
+ # RFC 3339 timestamp that matches this example: 2010-11-25T14:30:27.655Z
1680
+ # Corresponds to the JSON property `mediaCreatedTime`
1681
+ # @return [DateTime]
1682
+ attr_accessor :media_created_time
1683
+
1684
+ # The URL of this photo or video's still image.
1685
+ # Corresponds to the JSON property `mediaUrl`
1686
+ # @return [String]
1687
+ attr_accessor :media_url
1688
+
1689
+ # The time at which this media was uploaded. Formatted as an RFC 3339 timestamp.
1690
+ # Corresponds to the JSON property `published`
1691
+ # @return [DateTime]
1692
+ attr_accessor :published
1693
+
1694
+ # The size in bytes of this video.
1695
+ # Corresponds to the JSON property `sizeBytes`
1696
+ # @return [String]
1697
+ attr_accessor :size_bytes
1698
+
1699
+ # The list of video streams for this video. There might be several different
1700
+ # streams available for a single video, either Flash or MPEG, of various sizes
1701
+ # Corresponds to the JSON property `streams`
1702
+ # @return [Array<Google::Apis::PlusDomainsV1::Videostream>]
1703
+ attr_accessor :streams
1704
+
1705
+ # A description, or caption, for this media.
1706
+ # Corresponds to the JSON property `summary`
1707
+ # @return [String]
1708
+ attr_accessor :summary
1709
+
1710
+ # The time at which this media was last updated. This includes changes to media
1711
+ # metadata. Formatted as an RFC 3339 timestamp.
1712
+ # Corresponds to the JSON property `updated`
1713
+ # @return [DateTime]
1714
+ attr_accessor :updated
1715
+
1716
+ # The URL for the page that hosts this media.
1717
+ # Corresponds to the JSON property `url`
1718
+ # @return [String]
1719
+ attr_accessor :url
1720
+
1721
+ # The duration in milliseconds of this video.
1722
+ # Corresponds to the JSON property `videoDuration`
1723
+ # @return [String]
1724
+ attr_accessor :video_duration
1725
+
1726
+ # The encoding status of this video. Possible values are:
1727
+ # - "UPLOADING" - Not all the video bytes have been received.
1728
+ # - "PENDING" - Video not yet processed.
1729
+ # - "FAILED" - Video processing failed.
1730
+ # - "READY" - A single video stream is playable.
1731
+ # - "FINAL" - All video streams are playable.
1732
+ # Corresponds to the JSON property `videoStatus`
1733
+ # @return [String]
1734
+ attr_accessor :video_status
1735
+
1736
+ # The width in pixels of the original image.
1737
+ # Corresponds to the JSON property `width`
1738
+ # @return [Fixnum]
1739
+ attr_accessor :width
1740
+
1741
+ def initialize(**args)
1742
+ update!(**args)
1743
+ end
1744
+
1745
+ # Update properties of this object
1746
+ def update!(**args)
1747
+ @author = args[:author] unless args[:author].nil?
1748
+ @display_name = args[:display_name] unless args[:display_name].nil?
1749
+ @etag = args[:etag] unless args[:etag].nil?
1750
+ @exif = args[:exif] unless args[:exif].nil?
1751
+ @height = args[:height] unless args[:height].nil?
1752
+ @id = args[:id] unless args[:id].nil?
1753
+ @kind = args[:kind] unless args[:kind].nil?
1754
+ @media_created_time = args[:media_created_time] unless args[:media_created_time].nil?
1755
+ @media_url = args[:media_url] unless args[:media_url].nil?
1756
+ @published = args[:published] unless args[:published].nil?
1757
+ @size_bytes = args[:size_bytes] unless args[:size_bytes].nil?
1758
+ @streams = args[:streams] unless args[:streams].nil?
1759
+ @summary = args[:summary] unless args[:summary].nil?
1760
+ @updated = args[:updated] unless args[:updated].nil?
1761
+ @url = args[:url] unless args[:url].nil?
1762
+ @video_duration = args[:video_duration] unless args[:video_duration].nil?
1763
+ @video_status = args[:video_status] unless args[:video_status].nil?
1764
+ @width = args[:width] unless args[:width].nil?
1765
+ end
1766
+
1767
+ # The person who uploaded this media.
1768
+ class Author
1769
+ include Google::Apis::Core::Hashable
1770
+
1771
+ # The author's name.
1772
+ # Corresponds to the JSON property `displayName`
1773
+ # @return [String]
1774
+ attr_accessor :display_name
1775
+
1776
+ # ID of the author.
1777
+ # Corresponds to the JSON property `id`
1778
+ # @return [String]
1779
+ attr_accessor :id
1780
+
1781
+ # The author's Google profile image.
1782
+ # Corresponds to the JSON property `image`
1783
+ # @return [Google::Apis::PlusDomainsV1::Media::Author::Image]
1784
+ attr_accessor :image
1785
+
1786
+ # A link to the author's Google profile.
1787
+ # Corresponds to the JSON property `url`
1788
+ # @return [String]
1789
+ attr_accessor :url
1790
+
1791
+ def initialize(**args)
1792
+ update!(**args)
1793
+ end
1794
+
1795
+ # Update properties of this object
1796
+ def update!(**args)
1797
+ @display_name = args[:display_name] unless args[:display_name].nil?
1798
+ @id = args[:id] unless args[:id].nil?
1799
+ @image = args[:image] unless args[:image].nil?
1800
+ @url = args[:url] unless args[:url].nil?
1801
+ end
1802
+
1803
+ # The author's Google profile image.
1804
+ class Image
1805
+ include Google::Apis::Core::Hashable
1806
+
1807
+ # The URL of the author's profile photo. To resize the image and crop it to a
1808
+ # square, append the query string ?sz=x, where x is the dimension in pixels of
1809
+ # each side.
1810
+ # Corresponds to the JSON property `url`
1811
+ # @return [String]
1812
+ attr_accessor :url
1813
+
1814
+ def initialize(**args)
1815
+ update!(**args)
1816
+ end
1817
+
1818
+ # Update properties of this object
1819
+ def update!(**args)
1820
+ @url = args[:url] unless args[:url].nil?
1821
+ end
1822
+ end
1823
+ end
1824
+
1825
+ # Exif information of the media item.
1826
+ class Exif
1827
+ include Google::Apis::Core::Hashable
1828
+
1829
+ # The time the media was captured. Formatted as an RFC 3339 timestamp.
1830
+ # Corresponds to the JSON property `time`
1831
+ # @return [DateTime]
1832
+ attr_accessor :time
1833
+
1834
+ def initialize(**args)
1835
+ update!(**args)
1836
+ end
1837
+
1838
+ # Update properties of this object
1839
+ def update!(**args)
1840
+ @time = args[:time] unless args[:time].nil?
1841
+ end
1842
+ end
1843
+ end
1844
+
1845
+ #
1846
+ class PeopleFeed
1847
+ include Google::Apis::Core::Hashable
1848
+
1849
+ # ETag of this response for caching purposes.
1850
+ # Corresponds to the JSON property `etag`
1851
+ # @return [String]
1852
+ attr_accessor :etag
1853
+
1854
+ # The people in this page of results. Each item includes the id, displayName,
1855
+ # image, and url for the person. To retrieve additional profile data, see the
1856
+ # people.get method.
1857
+ # Corresponds to the JSON property `items`
1858
+ # @return [Array<Google::Apis::PlusDomainsV1::Person>]
1859
+ attr_accessor :items
1860
+
1861
+ # Identifies this resource as a collection of people. Value: "plus#peopleFeed".
1862
+ # Corresponds to the JSON property `kind`
1863
+ # @return [String]
1864
+ attr_accessor :kind
1865
+
1866
+ # The continuation token, which is used to page through large result sets.
1867
+ # Provide this value in a subsequent request to return the next page of results.
1868
+ # Corresponds to the JSON property `nextPageToken`
1869
+ # @return [String]
1870
+ attr_accessor :next_page_token
1871
+
1872
+ # Link to this resource.
1873
+ # Corresponds to the JSON property `selfLink`
1874
+ # @return [String]
1875
+ attr_accessor :self_link
1876
+
1877
+ # The title of this collection of people.
1878
+ # Corresponds to the JSON property `title`
1879
+ # @return [String]
1880
+ attr_accessor :title
1881
+
1882
+ # The total number of people available in this list. The number of people in a
1883
+ # response might be smaller due to paging. This might not be set for all
1884
+ # collections.
1885
+ # Corresponds to the JSON property `totalItems`
1886
+ # @return [Fixnum]
1887
+ attr_accessor :total_items
1888
+
1889
+ def initialize(**args)
1890
+ update!(**args)
1891
+ end
1892
+
1893
+ # Update properties of this object
1894
+ def update!(**args)
1895
+ @etag = args[:etag] unless args[:etag].nil?
1896
+ @items = args[:items] unless args[:items].nil?
1897
+ @kind = args[:kind] unless args[:kind].nil?
1898
+ @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
1899
+ @self_link = args[:self_link] unless args[:self_link].nil?
1900
+ @title = args[:title] unless args[:title].nil?
1901
+ @total_items = args[:total_items] unless args[:total_items].nil?
1902
+ end
1903
+ end
1904
+
1905
+ #
1906
+ class Person
1907
+ include Google::Apis::Core::Hashable
1908
+
1909
+ # A short biography for this person.
1910
+ # Corresponds to the JSON property `aboutMe`
1911
+ # @return [String]
1912
+ attr_accessor :about_me
1913
+
1914
+ # The person's date of birth, represented as YYYY-MM-DD.
1915
+ # Corresponds to the JSON property `birthday`
1916
+ # @return [String]
1917
+ attr_accessor :birthday
1918
+
1919
+ # The "bragging rights" line of this person.
1920
+ # Corresponds to the JSON property `braggingRights`
1921
+ # @return [String]
1922
+ attr_accessor :bragging_rights
1923
+
1924
+ # For followers who are visible, the number of people who have added this person
1925
+ # or page to a circle.
1926
+ # Corresponds to the JSON property `circledByCount`
1927
+ # @return [Fixnum]
1928
+ attr_accessor :circled_by_count
1929
+
1930
+ # The cover photo content.
1931
+ # Corresponds to the JSON property `cover`
1932
+ # @return [Google::Apis::PlusDomainsV1::Person::Cover]
1933
+ attr_accessor :cover
1934
+
1935
+ # (this field is not currently used)
1936
+ # Corresponds to the JSON property `currentLocation`
1937
+ # @return [String]
1938
+ attr_accessor :current_location
1939
+
1940
+ # The name of this person, which is suitable for display.
1941
+ # Corresponds to the JSON property `displayName`
1942
+ # @return [String]
1943
+ attr_accessor :display_name
1944
+
1945
+ # The hosted domain name for the user's Google Apps account. For instance,
1946
+ # example.com. The plus.profile.emails.read or email scope is needed to get this
1947
+ # domain name.
1948
+ # Corresponds to the JSON property `domain`
1949
+ # @return [String]
1950
+ attr_accessor :domain
1951
+
1952
+ # A list of email addresses that this person has, including their Google account
1953
+ # email address, and the public verified email addresses on their Google+
1954
+ # profile. The plus.profile.emails.read scope is needed to retrieve these email
1955
+ # addresses, or the email scope can be used to retrieve just the Google account
1956
+ # email address.
1957
+ # Corresponds to the JSON property `emails`
1958
+ # @return [Array<Google::Apis::PlusDomainsV1::Person::Email>]
1959
+ attr_accessor :emails
1960
+
1961
+ # ETag of this response for caching purposes.
1962
+ # Corresponds to the JSON property `etag`
1963
+ # @return [String]
1964
+ attr_accessor :etag
1965
+
1966
+ # The person's gender. Possible values include, but are not limited to, the
1967
+ # following values:
1968
+ # - "male" - Male gender.
1969
+ # - "female" - Female gender.
1970
+ # - "other" - Other.
1971
+ # Corresponds to the JSON property `gender`
1972
+ # @return [String]
1973
+ attr_accessor :gender
1974
+
1975
+ # The ID of this person.
1976
+ # Corresponds to the JSON property `id`
1977
+ # @return [String]
1978
+ attr_accessor :id
1979
+
1980
+ # The representation of the person's profile photo.
1981
+ # Corresponds to the JSON property `image`
1982
+ # @return [Google::Apis::PlusDomainsV1::Person::Image]
1983
+ attr_accessor :image
1984
+
1985
+ # Whether this user has signed up for Google+.
1986
+ # Corresponds to the JSON property `isPlusUser`
1987
+ # @return [Boolean]
1988
+ attr_accessor :is_plus_user
1989
+ alias_method :is_plus_user?, :is_plus_user
1990
+
1991
+ # Identifies this resource as a person. Value: "plus#person".
1992
+ # Corresponds to the JSON property `kind`
1993
+ # @return [String]
1994
+ attr_accessor :kind
1995
+
1996
+ # An object representation of the individual components of a person's name.
1997
+ # Corresponds to the JSON property `name`
1998
+ # @return [Google::Apis::PlusDomainsV1::Person::Name]
1999
+ attr_accessor :name
2000
+
2001
+ # The nickname of this person.
2002
+ # Corresponds to the JSON property `nickname`
2003
+ # @return [String]
2004
+ attr_accessor :nickname
2005
+
2006
+ # Type of person within Google+. Possible values include, but are not limited to,
2007
+ # the following values:
2008
+ # - "person" - represents an actual person.
2009
+ # - "page" - represents a page.
2010
+ # Corresponds to the JSON property `objectType`
2011
+ # @return [String]
2012
+ attr_accessor :object_type
2013
+
2014
+ # The occupation of this person.
2015
+ # Corresponds to the JSON property `occupation`
2016
+ # @return [String]
2017
+ attr_accessor :occupation
2018
+
2019
+ # A list of current or past organizations with which this person is associated.
2020
+ # Corresponds to the JSON property `organizations`
2021
+ # @return [Array<Google::Apis::PlusDomainsV1::Person::Organization>]
2022
+ attr_accessor :organizations
2023
+
2024
+ # A list of places where this person has lived.
2025
+ # Corresponds to the JSON property `placesLived`
2026
+ # @return [Array<Google::Apis::PlusDomainsV1::Person::PlacesLived>]
2027
+ attr_accessor :places_lived
2028
+
2029
+ # If a Google+ Page, the number of people who have +1'd this page.
2030
+ # Corresponds to the JSON property `plusOneCount`
2031
+ # @return [Fixnum]
2032
+ attr_accessor :plus_one_count
2033
+
2034
+ # The person's relationship status. Possible values include, but are not limited
2035
+ # to, the following values:
2036
+ # - "single" - Person is single.
2037
+ # - "in_a_relationship" - Person is in a relationship.
2038
+ # - "engaged" - Person is engaged.
2039
+ # - "married" - Person is married.
2040
+ # - "its_complicated" - The relationship is complicated.
2041
+ # - "open_relationship" - Person is in an open relationship.
2042
+ # - "widowed" - Person is widowed.
2043
+ # - "in_domestic_partnership" - Person is in a domestic partnership.
2044
+ # - "in_civil_union" - Person is in a civil union.
2045
+ # Corresponds to the JSON property `relationshipStatus`
2046
+ # @return [String]
2047
+ attr_accessor :relationship_status
2048
+
2049
+ # The person's skills.
2050
+ # Corresponds to the JSON property `skills`
2051
+ # @return [String]
2052
+ attr_accessor :skills
2053
+
2054
+ # The brief description (tagline) of this person.
2055
+ # Corresponds to the JSON property `tagline`
2056
+ # @return [String]
2057
+ attr_accessor :tagline
2058
+
2059
+ # The URL of this person's profile.
2060
+ # Corresponds to the JSON property `url`
2061
+ # @return [String]
2062
+ attr_accessor :url
2063
+
2064
+ # A list of URLs for this person.
2065
+ # Corresponds to the JSON property `urls`
2066
+ # @return [Array<Google::Apis::PlusDomainsV1::Person::Url>]
2067
+ attr_accessor :urls
2068
+
2069
+ # Whether the person or Google+ Page has been verified.
2070
+ # Corresponds to the JSON property `verified`
2071
+ # @return [Boolean]
2072
+ attr_accessor :verified
2073
+ alias_method :verified?, :verified
2074
+
2075
+ def initialize(**args)
2076
+ update!(**args)
2077
+ end
2078
+
2079
+ # Update properties of this object
2080
+ def update!(**args)
2081
+ @about_me = args[:about_me] unless args[:about_me].nil?
2082
+ @birthday = args[:birthday] unless args[:birthday].nil?
2083
+ @bragging_rights = args[:bragging_rights] unless args[:bragging_rights].nil?
2084
+ @circled_by_count = args[:circled_by_count] unless args[:circled_by_count].nil?
2085
+ @cover = args[:cover] unless args[:cover].nil?
2086
+ @current_location = args[:current_location] unless args[:current_location].nil?
2087
+ @display_name = args[:display_name] unless args[:display_name].nil?
2088
+ @domain = args[:domain] unless args[:domain].nil?
2089
+ @emails = args[:emails] unless args[:emails].nil?
2090
+ @etag = args[:etag] unless args[:etag].nil?
2091
+ @gender = args[:gender] unless args[:gender].nil?
2092
+ @id = args[:id] unless args[:id].nil?
2093
+ @image = args[:image] unless args[:image].nil?
2094
+ @is_plus_user = args[:is_plus_user] unless args[:is_plus_user].nil?
2095
+ @kind = args[:kind] unless args[:kind].nil?
2096
+ @name = args[:name] unless args[:name].nil?
2097
+ @nickname = args[:nickname] unless args[:nickname].nil?
2098
+ @object_type = args[:object_type] unless args[:object_type].nil?
2099
+ @occupation = args[:occupation] unless args[:occupation].nil?
2100
+ @organizations = args[:organizations] unless args[:organizations].nil?
2101
+ @places_lived = args[:places_lived] unless args[:places_lived].nil?
2102
+ @plus_one_count = args[:plus_one_count] unless args[:plus_one_count].nil?
2103
+ @relationship_status = args[:relationship_status] unless args[:relationship_status].nil?
2104
+ @skills = args[:skills] unless args[:skills].nil?
2105
+ @tagline = args[:tagline] unless args[:tagline].nil?
2106
+ @url = args[:url] unless args[:url].nil?
2107
+ @urls = args[:urls] unless args[:urls].nil?
2108
+ @verified = args[:verified] unless args[:verified].nil?
2109
+ end
2110
+
2111
+ # The cover photo content.
2112
+ class Cover
2113
+ include Google::Apis::Core::Hashable
2114
+
2115
+ # Extra information about the cover photo.
2116
+ # Corresponds to the JSON property `coverInfo`
2117
+ # @return [Google::Apis::PlusDomainsV1::Person::Cover::CoverInfo]
2118
+ attr_accessor :cover_info
2119
+
2120
+ # The person's primary cover image.
2121
+ # Corresponds to the JSON property `coverPhoto`
2122
+ # @return [Google::Apis::PlusDomainsV1::Person::Cover::CoverPhoto]
2123
+ attr_accessor :cover_photo
2124
+
2125
+ # The layout of the cover art. Possible values include, but are not limited to,
2126
+ # the following values:
2127
+ # - "banner" - One large image banner.
2128
+ # Corresponds to the JSON property `layout`
2129
+ # @return [String]
2130
+ attr_accessor :layout
2131
+
2132
+ def initialize(**args)
2133
+ update!(**args)
2134
+ end
2135
+
2136
+ # Update properties of this object
2137
+ def update!(**args)
2138
+ @cover_info = args[:cover_info] unless args[:cover_info].nil?
2139
+ @cover_photo = args[:cover_photo] unless args[:cover_photo].nil?
2140
+ @layout = args[:layout] unless args[:layout].nil?
2141
+ end
2142
+
2143
+ # Extra information about the cover photo.
2144
+ class CoverInfo
2145
+ include Google::Apis::Core::Hashable
2146
+
2147
+ # The difference between the left position of the cover image and the actual
2148
+ # displayed cover image. Only valid for banner layout.
2149
+ # Corresponds to the JSON property `leftImageOffset`
2150
+ # @return [Fixnum]
2151
+ attr_accessor :left_image_offset
2152
+
2153
+ # The difference between the top position of the cover image and the actual
2154
+ # displayed cover image. Only valid for banner layout.
2155
+ # Corresponds to the JSON property `topImageOffset`
2156
+ # @return [Fixnum]
2157
+ attr_accessor :top_image_offset
2158
+
2159
+ def initialize(**args)
2160
+ update!(**args)
2161
+ end
2162
+
2163
+ # Update properties of this object
2164
+ def update!(**args)
2165
+ @left_image_offset = args[:left_image_offset] unless args[:left_image_offset].nil?
2166
+ @top_image_offset = args[:top_image_offset] unless args[:top_image_offset].nil?
2167
+ end
2168
+ end
2169
+
2170
+ # The person's primary cover image.
2171
+ class CoverPhoto
2172
+ include Google::Apis::Core::Hashable
2173
+
2174
+ # The height of the image.
2175
+ # Corresponds to the JSON property `height`
2176
+ # @return [Fixnum]
2177
+ attr_accessor :height
2178
+
2179
+ # The URL of the image.
2180
+ # Corresponds to the JSON property `url`
2181
+ # @return [String]
2182
+ attr_accessor :url
2183
+
2184
+ # The width of the image.
2185
+ # Corresponds to the JSON property `width`
2186
+ # @return [Fixnum]
2187
+ attr_accessor :width
2188
+
2189
+ def initialize(**args)
2190
+ update!(**args)
2191
+ end
2192
+
2193
+ # Update properties of this object
2194
+ def update!(**args)
2195
+ @height = args[:height] unless args[:height].nil?
2196
+ @url = args[:url] unless args[:url].nil?
2197
+ @width = args[:width] unless args[:width].nil?
2198
+ end
2199
+ end
2200
+ end
2201
+
2202
+ #
2203
+ class Email
2204
+ include Google::Apis::Core::Hashable
2205
+
2206
+ # The type of address. Possible values include, but are not limited to, the
2207
+ # following values:
2208
+ # - "account" - Google account email address.
2209
+ # - "home" - Home email address.
2210
+ # - "work" - Work email address.
2211
+ # - "other" - Other.
2212
+ # Corresponds to the JSON property `type`
2213
+ # @return [String]
2214
+ attr_accessor :type
2215
+
2216
+ # The email address.
2217
+ # Corresponds to the JSON property `value`
2218
+ # @return [String]
2219
+ attr_accessor :value
2220
+
2221
+ def initialize(**args)
2222
+ update!(**args)
2223
+ end
2224
+
2225
+ # Update properties of this object
2226
+ def update!(**args)
2227
+ @type = args[:type] unless args[:type].nil?
2228
+ @value = args[:value] unless args[:value].nil?
2229
+ end
2230
+ end
2231
+
2232
+ # The representation of the person's profile photo.
2233
+ class Image
2234
+ include Google::Apis::Core::Hashable
2235
+
2236
+ # Whether the person's profile photo is the default one
2237
+ # Corresponds to the JSON property `isDefault`
2238
+ # @return [Boolean]
2239
+ attr_accessor :is_default
2240
+ alias_method :is_default?, :is_default
2241
+
2242
+ # The URL of the person's profile photo. To resize the image and crop it to a
2243
+ # square, append the query string ?sz=x, where x is the dimension in pixels of
2244
+ # each side.
2245
+ # Corresponds to the JSON property `url`
2246
+ # @return [String]
2247
+ attr_accessor :url
2248
+
2249
+ def initialize(**args)
2250
+ update!(**args)
2251
+ end
2252
+
2253
+ # Update properties of this object
2254
+ def update!(**args)
2255
+ @is_default = args[:is_default] unless args[:is_default].nil?
2256
+ @url = args[:url] unless args[:url].nil?
2257
+ end
2258
+ end
2259
+
2260
+ # An object representation of the individual components of a person's name.
2261
+ class Name
2262
+ include Google::Apis::Core::Hashable
2263
+
2264
+ # The family name (last name) of this person.
2265
+ # Corresponds to the JSON property `familyName`
2266
+ # @return [String]
2267
+ attr_accessor :family_name
2268
+
2269
+ # The full name of this person, including middle names, suffixes, etc.
2270
+ # Corresponds to the JSON property `formatted`
2271
+ # @return [String]
2272
+ attr_accessor :formatted
2273
+
2274
+ # The given name (first name) of this person.
2275
+ # Corresponds to the JSON property `givenName`
2276
+ # @return [String]
2277
+ attr_accessor :given_name
2278
+
2279
+ # The honorific prefixes (such as "Dr." or "Mrs.") for this person.
2280
+ # Corresponds to the JSON property `honorificPrefix`
2281
+ # @return [String]
2282
+ attr_accessor :honorific_prefix
2283
+
2284
+ # The honorific suffixes (such as "Jr.") for this person.
2285
+ # Corresponds to the JSON property `honorificSuffix`
2286
+ # @return [String]
2287
+ attr_accessor :honorific_suffix
2288
+
2289
+ # The middle name of this person.
2290
+ # Corresponds to the JSON property `middleName`
2291
+ # @return [String]
2292
+ attr_accessor :middle_name
2293
+
2294
+ def initialize(**args)
2295
+ update!(**args)
2296
+ end
2297
+
2298
+ # Update properties of this object
2299
+ def update!(**args)
2300
+ @family_name = args[:family_name] unless args[:family_name].nil?
2301
+ @formatted = args[:formatted] unless args[:formatted].nil?
2302
+ @given_name = args[:given_name] unless args[:given_name].nil?
2303
+ @honorific_prefix = args[:honorific_prefix] unless args[:honorific_prefix].nil?
2304
+ @honorific_suffix = args[:honorific_suffix] unless args[:honorific_suffix].nil?
2305
+ @middle_name = args[:middle_name] unless args[:middle_name].nil?
2306
+ end
2307
+ end
2308
+
2309
+ #
2310
+ class Organization
2311
+ include Google::Apis::Core::Hashable
2312
+
2313
+ # The department within the organization. Deprecated.
2314
+ # Corresponds to the JSON property `department`
2315
+ # @return [String]
2316
+ attr_accessor :department
2317
+
2318
+ # A short description of the person's role in this organization. Deprecated.
2319
+ # Corresponds to the JSON property `description`
2320
+ # @return [String]
2321
+ attr_accessor :description
2322
+
2323
+ # The date that the person left this organization.
2324
+ # Corresponds to the JSON property `endDate`
2325
+ # @return [String]
2326
+ attr_accessor :end_date
2327
+
2328
+ # The location of this organization. Deprecated.
2329
+ # Corresponds to the JSON property `location`
2330
+ # @return [String]
2331
+ attr_accessor :location
2332
+
2333
+ # The name of the organization.
2334
+ # Corresponds to the JSON property `name`
2335
+ # @return [String]
2336
+ attr_accessor :name
2337
+
2338
+ # If "true", indicates this organization is the person's primary one, which is
2339
+ # typically interpreted as the current one.
2340
+ # Corresponds to the JSON property `primary`
2341
+ # @return [Boolean]
2342
+ attr_accessor :primary
2343
+ alias_method :primary?, :primary
2344
+
2345
+ # The date that the person joined this organization.
2346
+ # Corresponds to the JSON property `startDate`
2347
+ # @return [String]
2348
+ attr_accessor :start_date
2349
+
2350
+ # The person's job title or role within the organization.
2351
+ # Corresponds to the JSON property `title`
2352
+ # @return [String]
2353
+ attr_accessor :title
2354
+
2355
+ # The type of organization. Possible values include, but are not limited to, the
2356
+ # following values:
2357
+ # - "work" - Work.
2358
+ # - "school" - School.
2359
+ # Corresponds to the JSON property `type`
2360
+ # @return [String]
2361
+ attr_accessor :type
2362
+
2363
+ def initialize(**args)
2364
+ update!(**args)
2365
+ end
2366
+
2367
+ # Update properties of this object
2368
+ def update!(**args)
2369
+ @department = args[:department] unless args[:department].nil?
2370
+ @description = args[:description] unless args[:description].nil?
2371
+ @end_date = args[:end_date] unless args[:end_date].nil?
2372
+ @location = args[:location] unless args[:location].nil?
2373
+ @name = args[:name] unless args[:name].nil?
2374
+ @primary = args[:primary] unless args[:primary].nil?
2375
+ @start_date = args[:start_date] unless args[:start_date].nil?
2376
+ @title = args[:title] unless args[:title].nil?
2377
+ @type = args[:type] unless args[:type].nil?
2378
+ end
2379
+ end
2380
+
2381
+ #
2382
+ class PlacesLived
2383
+ include Google::Apis::Core::Hashable
2384
+
2385
+ # If "true", this place of residence is this person's primary residence.
2386
+ # Corresponds to the JSON property `primary`
2387
+ # @return [Boolean]
2388
+ attr_accessor :primary
2389
+ alias_method :primary?, :primary
2390
+
2391
+ # A place where this person has lived. For example: "Seattle, WA", "Near Toronto"
2392
+ # .
2393
+ # Corresponds to the JSON property `value`
2394
+ # @return [String]
2395
+ attr_accessor :value
2396
+
2397
+ def initialize(**args)
2398
+ update!(**args)
2399
+ end
2400
+
2401
+ # Update properties of this object
2402
+ def update!(**args)
2403
+ @primary = args[:primary] unless args[:primary].nil?
2404
+ @value = args[:value] unless args[:value].nil?
2405
+ end
2406
+ end
2407
+
2408
+ #
2409
+ class Url
2410
+ include Google::Apis::Core::Hashable
2411
+
2412
+ # The label of the URL.
2413
+ # Corresponds to the JSON property `label`
2414
+ # @return [String]
2415
+ attr_accessor :label
2416
+
2417
+ # The type of URL. Possible values include, but are not limited to, the
2418
+ # following values:
2419
+ # - "otherProfile" - URL for another profile.
2420
+ # - "contributor" - URL to a site for which this person is a contributor.
2421
+ # - "website" - URL for this Google+ Page's primary website.
2422
+ # - "other" - Other URL.
2423
+ # Corresponds to the JSON property `type`
2424
+ # @return [String]
2425
+ attr_accessor :type
2426
+
2427
+ # The URL value.
2428
+ # Corresponds to the JSON property `value`
2429
+ # @return [String]
2430
+ attr_accessor :value
2431
+
2432
+ def initialize(**args)
2433
+ update!(**args)
2434
+ end
2435
+
2436
+ # Update properties of this object
2437
+ def update!(**args)
2438
+ @label = args[:label] unless args[:label].nil?
2439
+ @type = args[:type] unless args[:type].nil?
2440
+ @value = args[:value] unless args[:value].nil?
2441
+ end
2442
+ end
2443
+ end
2444
+
2445
+ #
2446
+ class Place
2447
+ include Google::Apis::Core::Hashable
2448
+
2449
+ # The physical address of the place.
2450
+ # Corresponds to the JSON property `address`
2451
+ # @return [Google::Apis::PlusDomainsV1::Place::Address]
2452
+ attr_accessor :address
2453
+
2454
+ # The display name of the place.
2455
+ # Corresponds to the JSON property `displayName`
2456
+ # @return [String]
2457
+ attr_accessor :display_name
2458
+
2459
+ # The id of the place.
2460
+ # Corresponds to the JSON property `id`
2461
+ # @return [String]
2462
+ attr_accessor :id
2463
+
2464
+ # Identifies this resource as a place. Value: "plus#place".
2465
+ # Corresponds to the JSON property `kind`
2466
+ # @return [String]
2467
+ attr_accessor :kind
2468
+
2469
+ # The position of the place.
2470
+ # Corresponds to the JSON property `position`
2471
+ # @return [Google::Apis::PlusDomainsV1::Place::Position]
2472
+ attr_accessor :position
2473
+
2474
+ def initialize(**args)
2475
+ update!(**args)
2476
+ end
2477
+
2478
+ # Update properties of this object
2479
+ def update!(**args)
2480
+ @address = args[:address] unless args[:address].nil?
2481
+ @display_name = args[:display_name] unless args[:display_name].nil?
2482
+ @id = args[:id] unless args[:id].nil?
2483
+ @kind = args[:kind] unless args[:kind].nil?
2484
+ @position = args[:position] unless args[:position].nil?
2485
+ end
2486
+
2487
+ # The physical address of the place.
2488
+ class Address
2489
+ include Google::Apis::Core::Hashable
2490
+
2491
+ # The formatted address for display.
2492
+ # Corresponds to the JSON property `formatted`
2493
+ # @return [String]
2494
+ attr_accessor :formatted
2495
+
2496
+ def initialize(**args)
2497
+ update!(**args)
2498
+ end
2499
+
2500
+ # Update properties of this object
2501
+ def update!(**args)
2502
+ @formatted = args[:formatted] unless args[:formatted].nil?
2503
+ end
2504
+ end
2505
+
2506
+ # The position of the place.
2507
+ class Position
2508
+ include Google::Apis::Core::Hashable
2509
+
2510
+ # The latitude of this position.
2511
+ # Corresponds to the JSON property `latitude`
2512
+ # @return [Float]
2513
+ attr_accessor :latitude
2514
+
2515
+ # The longitude of this position.
2516
+ # Corresponds to the JSON property `longitude`
2517
+ # @return [Float]
2518
+ attr_accessor :longitude
2519
+
2520
+ def initialize(**args)
2521
+ update!(**args)
2522
+ end
2523
+
2524
+ # Update properties of this object
2525
+ def update!(**args)
2526
+ @latitude = args[:latitude] unless args[:latitude].nil?
2527
+ @longitude = args[:longitude] unless args[:longitude].nil?
2528
+ end
2529
+ end
2530
+ end
2531
+
2532
+ #
2533
+ class PlusDomainsAclentryResource
2534
+ include Google::Apis::Core::Hashable
2535
+
2536
+ # A descriptive name for this entry. Suitable for display.
2537
+ # Corresponds to the JSON property `displayName`
2538
+ # @return [String]
2539
+ attr_accessor :display_name
2540
+
2541
+ # The ID of the entry. For entries of type "person" or "circle", this is the ID
2542
+ # of the resource. For other types, this property is not set.
2543
+ # Corresponds to the JSON property `id`
2544
+ # @return [String]
2545
+ attr_accessor :id
2546
+
2547
+ # The type of entry describing to whom access is granted. Possible values are:
2548
+ # - "person" - Access to an individual.
2549
+ # - "circle" - Access to members of a circle.
2550
+ # - "myCircles" - Access to members of all the person's circles.
2551
+ # - "extendedCircles" - Access to members of all the person's circles, plus all
2552
+ # of the people in their circles.
2553
+ # - "domain" - Access to members of the person's Google Apps domain.
2554
+ # - "public" - Access to anyone on the web.
2555
+ # Corresponds to the JSON property `type`
2556
+ # @return [String]
2557
+ attr_accessor :type
2558
+
2559
+ def initialize(**args)
2560
+ update!(**args)
2561
+ end
2562
+
2563
+ # Update properties of this object
2564
+ def update!(**args)
2565
+ @display_name = args[:display_name] unless args[:display_name].nil?
2566
+ @id = args[:id] unless args[:id].nil?
2567
+ @type = args[:type] unless args[:type].nil?
2568
+ end
2569
+ end
2570
+
2571
+ #
2572
+ class Videostream
2573
+ include Google::Apis::Core::Hashable
2574
+
2575
+ # The height, in pixels, of the video resource.
2576
+ # Corresponds to the JSON property `height`
2577
+ # @return [Fixnum]
2578
+ attr_accessor :height
2579
+
2580
+ # MIME type of the video stream.
2581
+ # Corresponds to the JSON property `type`
2582
+ # @return [String]
2583
+ attr_accessor :type
2584
+
2585
+ # URL of the video stream.
2586
+ # Corresponds to the JSON property `url`
2587
+ # @return [String]
2588
+ attr_accessor :url
2589
+
2590
+ # The width, in pixels, of the video resource.
2591
+ # Corresponds to the JSON property `width`
2592
+ # @return [Fixnum]
2593
+ attr_accessor :width
2594
+
2595
+ def initialize(**args)
2596
+ update!(**args)
2597
+ end
2598
+
2599
+ # Update properties of this object
2600
+ def update!(**args)
2601
+ @height = args[:height] unless args[:height].nil?
2602
+ @type = args[:type] unless args[:type].nil?
2603
+ @url = args[:url] unless args[:url].nil?
2604
+ @width = args[:width] unless args[:width].nil?
2605
+ end
2606
+ end
2607
+ end
2608
+ end
2609
+ end