lemboy-google-api-client 0.9.26

Sign up to get free protection for your applications and to get access to all the features.
Files changed (555) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +20 -0
  3. data/.rspec +2 -0
  4. data/.rubocop.yml +7 -0
  5. data/.rubocop_todo.yml +63 -0
  6. data/.travis.yml +27 -0
  7. data/.yardopts +12 -0
  8. data/CHANGELOG.md +309 -0
  9. data/CONTRIBUTING.md +31 -0
  10. data/Gemfile +53 -0
  11. data/LICENSE +202 -0
  12. data/MIGRATING.md +171 -0
  13. data/README.md +327 -0
  14. data/Rakefile +2 -0
  15. data/api_names.yaml +36215 -0
  16. data/bin/generate-api +109 -0
  17. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +35 -0
  18. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +298 -0
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +122 -0
  20. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +458 -0
  21. data/generated/google/apis/adexchangebuyer_v1_3.rb +35 -0
  22. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +1335 -0
  23. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +446 -0
  24. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +872 -0
  25. data/generated/google/apis/adexchangebuyer_v1_4.rb +35 -0
  26. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +3550 -0
  27. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1421 -0
  28. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +1538 -0
  29. data/generated/google/apis/adexchangeseller_v2_0.rb +37 -0
  30. data/generated/google/apis/adexchangeseller_v2_0/classes.rb +792 -0
  31. data/generated/google/apis/adexchangeseller_v2_0/representations.rb +347 -0
  32. data/generated/google/apis/adexchangeseller_v2_0/service.rb +667 -0
  33. data/generated/google/apis/admin_datatransfer_v1.rb +37 -0
  34. data/generated/google/apis/admin_datatransfer_v1/classes.rb +267 -0
  35. data/generated/google/apis/admin_datatransfer_v1/representations.rb +130 -0
  36. data/generated/google/apis/admin_datatransfer_v1/service.rb +262 -0
  37. data/generated/google/apis/admin_directory_v1.rb +113 -0
  38. data/generated/google/apis/admin_directory_v1/classes.rb +3241 -0
  39. data/generated/google/apis/admin_directory_v1/representations.rb +1172 -0
  40. data/generated/google/apis/admin_directory_v1/service.rb +3857 -0
  41. data/generated/google/apis/admin_reports_v1.rb +38 -0
  42. data/generated/google/apis/admin_reports_v1/classes.rb +582 -0
  43. data/generated/google/apis/admin_reports_v1/representations.rb +257 -0
  44. data/generated/google/apis/admin_reports_v1/service.rb +336 -0
  45. data/generated/google/apis/adsense_v1_4.rb +37 -0
  46. data/generated/google/apis/adsense_v1_4/classes.rb +1280 -0
  47. data/generated/google/apis/adsense_v1_4/representations.rb +555 -0
  48. data/generated/google/apis/adsense_v1_4/service.rb +1713 -0
  49. data/generated/google/apis/adsensehost_v4_1.rb +35 -0
  50. data/generated/google/apis/adsensehost_v4_1/classes.rb +836 -0
  51. data/generated/google/apis/adsensehost_v4_1/representations.rb +367 -0
  52. data/generated/google/apis/adsensehost_v4_1/service.rb +1164 -0
  53. data/generated/google/apis/analytics_v3.rb +49 -0
  54. data/generated/google/apis/analytics_v3/classes.rb +5536 -0
  55. data/generated/google/apis/analytics_v3/representations.rb +1992 -0
  56. data/generated/google/apis/analytics_v3/service.rb +3785 -0
  57. data/generated/google/apis/analyticsreporting_v4.rb +37 -0
  58. data/generated/google/apis/analyticsreporting_v4/classes.rb +1420 -0
  59. data/generated/google/apis/analyticsreporting_v4/representations.rb +598 -0
  60. data/generated/google/apis/analyticsreporting_v4/service.rb +88 -0
  61. data/generated/google/apis/androidenterprise_v1.rb +34 -0
  62. data/generated/google/apis/androidenterprise_v1/classes.rb +2250 -0
  63. data/generated/google/apis/androidenterprise_v1/representations.rb +970 -0
  64. data/generated/google/apis/androidenterprise_v1/service.rb +3267 -0
  65. data/generated/google/apis/androidpublisher_v2.rb +34 -0
  66. data/generated/google/apis/androidpublisher_v2/classes.rb +1941 -0
  67. data/generated/google/apis/androidpublisher_v2/representations.rb +975 -0
  68. data/generated/google/apis/androidpublisher_v2/service.rb +2572 -0
  69. data/generated/google/apis/appengine_v1beta4.rb +35 -0
  70. data/generated/google/apis/appengine_v1beta4/classes.rb +1585 -0
  71. data/generated/google/apis/appengine_v1beta4/representations.rb +542 -0
  72. data/generated/google/apis/appengine_v1beta4/service.rb +477 -0
  73. data/generated/google/apis/appengine_v1beta5.rb +40 -0
  74. data/generated/google/apis/appengine_v1beta5/classes.rb +1984 -0
  75. data/generated/google/apis/appengine_v1beta5/representations.rb +765 -0
  76. data/generated/google/apis/appengine_v1beta5/service.rb +864 -0
  77. data/generated/google/apis/appsactivity_v1.rb +46 -0
  78. data/generated/google/apis/appsactivity_v1/classes.rb +415 -0
  79. data/generated/google/apis/appsactivity_v1/representations.rb +209 -0
  80. data/generated/google/apis/appsactivity_v1/service.rb +128 -0
  81. data/generated/google/apis/appstate_v1.rb +34 -0
  82. data/generated/google/apis/appstate_v1/classes.rb +154 -0
  83. data/generated/google/apis/appstate_v1/representations.rb +87 -0
  84. data/generated/google/apis/appstate_v1/service.rb +260 -0
  85. data/generated/google/apis/autoscaler_v1beta2.rb +38 -0
  86. data/generated/google/apis/autoscaler_v1beta2/classes.rb +710 -0
  87. data/generated/google/apis/autoscaler_v1beta2/representations.rb +296 -0
  88. data/generated/google/apis/autoscaler_v1beta2/service.rb +478 -0
  89. data/generated/google/apis/bigquery_v2.rb +52 -0
  90. data/generated/google/apis/bigquery_v2/classes.rb +3081 -0
  91. data/generated/google/apis/bigquery_v2/representations.rb +1094 -0
  92. data/generated/google/apis/bigquery_v2/service.rb +988 -0
  93. data/generated/google/apis/blogger_v3.rb +37 -0
  94. data/generated/google/apis/blogger_v3/classes.rb +1354 -0
  95. data/generated/google/apis/blogger_v3/representations.rb +632 -0
  96. data/generated/google/apis/blogger_v3/service.rb +1587 -0
  97. data/generated/google/apis/books_v1.rb +34 -0
  98. data/generated/google/apis/books_v1/classes.rb +4160 -0
  99. data/generated/google/apis/books_v1/representations.rb +1799 -0
  100. data/generated/google/apis/books_v1/service.rb +2300 -0
  101. data/generated/google/apis/calendar_v3.rb +37 -0
  102. data/generated/google/apis/calendar_v3/classes.rb +1742 -0
  103. data/generated/google/apis/calendar_v3/representations.rb +631 -0
  104. data/generated/google/apis/calendar_v3/service.rb +1968 -0
  105. data/generated/google/apis/civicinfo_v2.rb +32 -0
  106. data/generated/google/apis/civicinfo_v2/classes.rb +1499 -0
  107. data/generated/google/apis/civicinfo_v2/representations.rb +572 -0
  108. data/generated/google/apis/civicinfo_v2/service.rb +300 -0
  109. data/generated/google/apis/classroom_v1.rb +70 -0
  110. data/generated/google/apis/classroom_v1/classes.rb +1572 -0
  111. data/generated/google/apis/classroom_v1/representations.rb +729 -0
  112. data/generated/google/apis/classroom_v1/service.rb +1945 -0
  113. data/generated/google/apis/classroom_v1beta1.rb +49 -0
  114. data/generated/google/apis/classroom_v1beta1/classes.rb +447 -0
  115. data/generated/google/apis/classroom_v1beta1/representations.rb +190 -0
  116. data/generated/google/apis/classroom_v1beta1/service.rb +791 -0
  117. data/generated/google/apis/cloudbilling_v1.rb +35 -0
  118. data/generated/google/apis/cloudbilling_v1/classes.rb +169 -0
  119. data/generated/google/apis/cloudbilling_v1/representations.rb +87 -0
  120. data/generated/google/apis/cloudbilling_v1/service.rb +258 -0
  121. data/generated/google/apis/cloudbuild_v1.rb +34 -0
  122. data/generated/google/apis/cloudbuild_v1/classes.rb +919 -0
  123. data/generated/google/apis/cloudbuild_v1/representations.rb +364 -0
  124. data/generated/google/apis/cloudbuild_v1/service.rb +492 -0
  125. data/generated/google/apis/clouddebugger_v2.rb +38 -0
  126. data/generated/google/apis/clouddebugger_v2/classes.rb +1081 -0
  127. data/generated/google/apis/clouddebugger_v2/representations.rb +465 -0
  128. data/generated/google/apis/clouddebugger_v2/service.rb +396 -0
  129. data/generated/google/apis/cloudkms_v1beta1.rb +34 -0
  130. data/generated/google/apis/cloudkms_v1beta1/classes.rb +999 -0
  131. data/generated/google/apis/cloudkms_v1beta1/representations.rb +448 -0
  132. data/generated/google/apis/cloudkms_v1beta1/service.rb +932 -0
  133. data/generated/google/apis/cloudlatencytest_v2.rb +34 -0
  134. data/generated/google/apis/cloudlatencytest_v2/classes.rb +195 -0
  135. data/generated/google/apis/cloudlatencytest_v2/representations.rb +127 -0
  136. data/generated/google/apis/cloudlatencytest_v2/service.rb +135 -0
  137. data/generated/google/apis/cloudmonitoring_v2beta2.rb +37 -0
  138. data/generated/google/apis/cloudmonitoring_v2beta2/classes.rb +679 -0
  139. data/generated/google/apis/cloudmonitoring_v2beta2/representations.rb +353 -0
  140. data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +452 -0
  141. data/generated/google/apis/cloudresourcemanager_v1.rb +38 -0
  142. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +886 -0
  143. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +359 -0
  144. data/generated/google/apis/cloudresourcemanager_v1/service.rb +686 -0
  145. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +38 -0
  146. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +682 -0
  147. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +312 -0
  148. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +710 -0
  149. data/generated/google/apis/cloudtrace_v1.rb +43 -0
  150. data/generated/google/apis/cloudtrace_v1/classes.rb +188 -0
  151. data/generated/google/apis/cloudtrace_v1/representations.rb +102 -0
  152. data/generated/google/apis/cloudtrace_v1/service.rb +192 -0
  153. data/generated/google/apis/clouduseraccounts_beta.rb +44 -0
  154. data/generated/google/apis/clouduseraccounts_beta/classes.rb +845 -0
  155. data/generated/google/apis/clouduseraccounts_beta/representations.rb +352 -0
  156. data/generated/google/apis/clouduseraccounts_beta/service.rb +907 -0
  157. data/generated/google/apis/compute_beta.rb +49 -0
  158. data/generated/google/apis/compute_beta/classes.rb +12261 -0
  159. data/generated/google/apis/compute_beta/representations.rb +4615 -0
  160. data/generated/google/apis/compute_beta/service.rb +15330 -0
  161. data/generated/google/apis/compute_v1.rb +49 -0
  162. data/generated/google/apis/compute_v1/classes.rb +11179 -0
  163. data/generated/google/apis/compute_v1/representations.rb +4203 -0
  164. data/generated/google/apis/compute_v1/service.rb +12937 -0
  165. data/generated/google/apis/container_v1.rb +35 -0
  166. data/generated/google/apis/container_v1/classes.rb +1040 -0
  167. data/generated/google/apis/container_v1/representations.rb +415 -0
  168. data/generated/google/apis/container_v1/service.rb +659 -0
  169. data/generated/google/apis/container_v1beta1.rb +35 -0
  170. data/generated/google/apis/container_v1beta1/classes.rb +466 -0
  171. data/generated/google/apis/container_v1beta1/representations.rb +177 -0
  172. data/generated/google/apis/container_v1beta1/service.rb +394 -0
  173. data/generated/google/apis/content_v2.rb +35 -0
  174. data/generated/google/apis/content_v2/classes.rb +6887 -0
  175. data/generated/google/apis/content_v2/representations.rb +2963 -0
  176. data/generated/google/apis/content_v2/service.rb +2653 -0
  177. data/generated/google/apis/coordinate_v1.rb +37 -0
  178. data/generated/google/apis/coordinate_v1/classes.rb +669 -0
  179. data/generated/google/apis/coordinate_v1/representations.rb +321 -0
  180. data/generated/google/apis/coordinate_v1/service.rb +678 -0
  181. data/generated/google/apis/customsearch_v1.rb +31 -0
  182. data/generated/google/apis/customsearch_v1/classes.rb +771 -0
  183. data/generated/google/apis/customsearch_v1/representations.rb +302 -0
  184. data/generated/google/apis/customsearch_v1/service.rb +207 -0
  185. data/generated/google/apis/dataflow_v1b3.rb +37 -0
  186. data/generated/google/apis/dataflow_v1b3/classes.rb +4225 -0
  187. data/generated/google/apis/dataflow_v1b3/representations.rb +1809 -0
  188. data/generated/google/apis/dataflow_v1b3/service.rb +874 -0
  189. data/generated/google/apis/dataproc_v1.rb +34 -0
  190. data/generated/google/apis/dataproc_v1/classes.rb +1716 -0
  191. data/generated/google/apis/dataproc_v1/representations.rb +678 -0
  192. data/generated/google/apis/dataproc_v1/service.rb +670 -0
  193. data/generated/google/apis/datastore_v1.rb +38 -0
  194. data/generated/google/apis/datastore_v1/classes.rb +1289 -0
  195. data/generated/google/apis/datastore_v1/representations.rb +572 -0
  196. data/generated/google/apis/datastore_v1/service.rb +259 -0
  197. data/generated/google/apis/datastore_v1beta2.rb +40 -0
  198. data/generated/google/apis/datastore_v1beta2/classes.rb +1186 -0
  199. data/generated/google/apis/datastore_v1beta2/representations.rb +594 -0
  200. data/generated/google/apis/datastore_v1beta2/service.rb +294 -0
  201. data/generated/google/apis/datastore_v1beta3.rb +38 -0
  202. data/generated/google/apis/datastore_v1beta3/classes.rb +1284 -0
  203. data/generated/google/apis/datastore_v1beta3/representations.rb +572 -0
  204. data/generated/google/apis/datastore_v1beta3/service.rb +259 -0
  205. data/generated/google/apis/deploymentmanager_v2.rb +43 -0
  206. data/generated/google/apis/deploymentmanager_v2/classes.rb +1582 -0
  207. data/generated/google/apis/deploymentmanager_v2/representations.rb +686 -0
  208. data/generated/google/apis/deploymentmanager_v2/service.rb +1026 -0
  209. data/generated/google/apis/deploymentmanager_v2beta2.rb +44 -0
  210. data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +843 -0
  211. data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +306 -0
  212. data/generated/google/apis/deploymentmanager_v2beta2/service.rb +689 -0
  213. data/generated/google/apis/dfareporting_v2_1.rb +37 -0
  214. data/generated/google/apis/dfareporting_v2_1/classes.rb +10770 -0
  215. data/generated/google/apis/dfareporting_v2_1/representations.rb +3438 -0
  216. data/generated/google/apis/dfareporting_v2_1/service.rb +8585 -0
  217. data/generated/google/apis/dfareporting_v2_3.rb +37 -0
  218. data/generated/google/apis/dfareporting_v2_3/classes.rb +10839 -0
  219. data/generated/google/apis/dfareporting_v2_3/representations.rb +3829 -0
  220. data/generated/google/apis/dfareporting_v2_3/service.rb +8581 -0
  221. data/generated/google/apis/dfareporting_v2_5.rb +40 -0
  222. data/generated/google/apis/dfareporting_v2_5/classes.rb +11225 -0
  223. data/generated/google/apis/dfareporting_v2_5/representations.rb +3982 -0
  224. data/generated/google/apis/dfareporting_v2_5/service.rb +8755 -0
  225. data/generated/google/apis/dfareporting_v2_6.rb +40 -0
  226. data/generated/google/apis/dfareporting_v2_6/classes.rb +11586 -0
  227. data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
  228. data/generated/google/apis/dfareporting_v2_6/service.rb +9025 -0
  229. data/generated/google/apis/dfareporting_v2_7.rb +40 -0
  230. data/generated/google/apis/dfareporting_v2_7/classes.rb +11876 -0
  231. data/generated/google/apis/dfareporting_v2_7/representations.rb +4243 -0
  232. data/generated/google/apis/dfareporting_v2_7/service.rb +9095 -0
  233. data/generated/google/apis/discovery_v1.rb +32 -0
  234. data/generated/google/apis/discovery_v1/classes.rb +961 -0
  235. data/generated/google/apis/discovery_v1/representations.rb +397 -0
  236. data/generated/google/apis/discovery_v1/service.rb +142 -0
  237. data/generated/google/apis/dns_v1.rb +43 -0
  238. data/generated/google/apis/dns_v1/classes.rb +406 -0
  239. data/generated/google/apis/dns_v1/representations.rb +167 -0
  240. data/generated/google/apis/dns_v1/service.rb +453 -0
  241. data/generated/google/apis/dns_v2beta1.rb +43 -0
  242. data/generated/google/apis/dns_v2beta1/classes.rb +915 -0
  243. data/generated/google/apis/dns_v2beta1/representations.rb +368 -0
  244. data/generated/google/apis/dns_v2beta1/service.rb +768 -0
  245. data/generated/google/apis/doubleclickbidmanager_v1.rb +31 -0
  246. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +795 -0
  247. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +368 -0
  248. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +376 -0
  249. data/generated/google/apis/doubleclicksearch_v2.rb +35 -0
  250. data/generated/google/apis/doubleclicksearch_v2/classes.rb +960 -0
  251. data/generated/google/apis/doubleclicksearch_v2/representations.rb +350 -0
  252. data/generated/google/apis/doubleclicksearch_v2/service.rb +480 -0
  253. data/generated/google/apis/drive_v2.rb +59 -0
  254. data/generated/google/apis/drive_v2/classes.rb +2633 -0
  255. data/generated/google/apis/drive_v2/representations.rb +885 -0
  256. data/generated/google/apis/drive_v2/service.rb +2754 -0
  257. data/generated/google/apis/drive_v3.rb +56 -0
  258. data/generated/google/apis/drive_v3/classes.rb +1611 -0
  259. data/generated/google/apis/drive_v3/representations.rb +555 -0
  260. data/generated/google/apis/drive_v3/service.rb +1553 -0
  261. data/generated/google/apis/fitness_v1.rb +85 -0
  262. data/generated/google/apis/fitness_v1/classes.rb +943 -0
  263. data/generated/google/apis/fitness_v1/representations.rb +380 -0
  264. data/generated/google/apis/fitness_v1/service.rb +674 -0
  265. data/generated/google/apis/fusiontables_v2.rb +37 -0
  266. data/generated/google/apis/fusiontables_v2/classes.rb +1049 -0
  267. data/generated/google/apis/fusiontables_v2/representations.rb +457 -0
  268. data/generated/google/apis/fusiontables_v2/service.rb +1463 -0
  269. data/generated/google/apis/games_configuration_v1configuration.rb +34 -0
  270. data/generated/google/apis/games_configuration_v1configuration/classes.rb +506 -0
  271. data/generated/google/apis/games_configuration_v1configuration/representations.rb +228 -0
  272. data/generated/google/apis/games_configuration_v1configuration/service.rb +565 -0
  273. data/generated/google/apis/games_management_v1management.rb +37 -0
  274. data/generated/google/apis/games_management_v1management/classes.rb +567 -0
  275. data/generated/google/apis/games_management_v1management/representations.rb +278 -0
  276. data/generated/google/apis/games_management_v1management/service.rb +994 -0
  277. data/generated/google/apis/games_v1.rb +40 -0
  278. data/generated/google/apis/games_v1/classes.rb +4667 -0
  279. data/generated/google/apis/games_v1/representations.rb +1800 -0
  280. data/generated/google/apis/games_v1/service.rb +2449 -0
  281. data/generated/google/apis/gan_v1beta1.rb +31 -0
  282. data/generated/google/apis/gan_v1beta1/classes.rb +1428 -0
  283. data/generated/google/apis/gan_v1beta1/representations.rb +462 -0
  284. data/generated/google/apis/gan_v1beta1/service.rb +682 -0
  285. data/generated/google/apis/genomics_v1.rb +46 -0
  286. data/generated/google/apis/genomics_v1/classes.rb +3477 -0
  287. data/generated/google/apis/genomics_v1/representations.rb +1284 -0
  288. data/generated/google/apis/genomics_v1/service.rb +2207 -0
  289. data/generated/google/apis/genomics_v1beta2.rb +46 -0
  290. data/generated/google/apis/genomics_v1beta2/classes.rb +3288 -0
  291. data/generated/google/apis/genomics_v1beta2/representations.rb +1194 -0
  292. data/generated/google/apis/genomics_v1beta2/service.rb +2392 -0
  293. data/generated/google/apis/gmail_v1.rb +61 -0
  294. data/generated/google/apis/gmail_v1/classes.rb +1382 -0
  295. data/generated/google/apis/gmail_v1/representations.rb +624 -0
  296. data/generated/google/apis/gmail_v1/service.rb +2447 -0
  297. data/generated/google/apis/groupsmigration_v1.rb +34 -0
  298. data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
  299. data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
  300. data/generated/google/apis/groupsmigration_v1/service.rb +110 -0
  301. data/generated/google/apis/groupssettings_v1.rb +34 -0
  302. data/generated/google/apis/groupssettings_v1/classes.rb +240 -0
  303. data/generated/google/apis/groupssettings_v1/representations.rb +69 -0
  304. data/generated/google/apis/groupssettings_v1/service.rb +179 -0
  305. data/generated/google/apis/iam_v1.rb +36 -0
  306. data/generated/google/apis/iam_v1/classes.rb +640 -0
  307. data/generated/google/apis/iam_v1/representations.rb +316 -0
  308. data/generated/google/apis/iam_v1/service.rb +554 -0
  309. data/generated/google/apis/identitytoolkit_v3.rb +37 -0
  310. data/generated/google/apis/identitytoolkit_v3/classes.rb +2182 -0
  311. data/generated/google/apis/identitytoolkit_v3/representations.rb +742 -0
  312. data/generated/google/apis/identitytoolkit_v3/service.rb +657 -0
  313. data/generated/google/apis/kgsearch_v1.rb +31 -0
  314. data/generated/google/apis/kgsearch_v1/classes.rb +59 -0
  315. data/generated/google/apis/kgsearch_v1/representations.rb +41 -0
  316. data/generated/google/apis/kgsearch_v1/service.rb +113 -0
  317. data/generated/google/apis/language_v1beta1.rb +36 -0
  318. data/generated/google/apis/language_v1beta1/classes.rb +757 -0
  319. data/generated/google/apis/language_v1beta1/representations.rb +339 -0
  320. data/generated/google/apis/language_v1beta1/service.rb +184 -0
  321. data/generated/google/apis/licensing_v1.rb +34 -0
  322. data/generated/google/apis/licensing_v1/classes.rb +132 -0
  323. data/generated/google/apis/licensing_v1/representations.rb +74 -0
  324. data/generated/google/apis/licensing_v1/service.rb +369 -0
  325. data/generated/google/apis/logging_v1beta3.rb +47 -0
  326. data/generated/google/apis/logging_v1beta3/classes.rb +1079 -0
  327. data/generated/google/apis/logging_v1beta3/representations.rb +366 -0
  328. data/generated/google/apis/logging_v1beta3/service.rb +1001 -0
  329. data/generated/google/apis/logging_v2beta1.rb +46 -0
  330. data/generated/google/apis/logging_v2beta1/classes.rb +1254 -0
  331. data/generated/google/apis/logging_v2beta1/representations.rb +421 -0
  332. data/generated/google/apis/logging_v2beta1/service.rb +788 -0
  333. data/generated/google/apis/manager_v1beta2.rb +53 -0
  334. data/generated/google/apis/manager_v1beta2/classes.rb +1287 -0
  335. data/generated/google/apis/manager_v1beta2/representations.rb +606 -0
  336. data/generated/google/apis/manager_v1beta2/service.rb +372 -0
  337. data/generated/google/apis/manufacturers_v1.rb +34 -0
  338. data/generated/google/apis/manufacturers_v1/classes.rb +258 -0
  339. data/generated/google/apis/manufacturers_v1/representations.rb +103 -0
  340. data/generated/google/apis/manufacturers_v1/service.rb +138 -0
  341. data/generated/google/apis/mirror_v1.rb +37 -0
  342. data/generated/google/apis/mirror_v1/classes.rb +1072 -0
  343. data/generated/google/apis/mirror_v1/representations.rb +390 -0
  344. data/generated/google/apis/mirror_v1/service.rb +977 -0
  345. data/generated/google/apis/monitoring_v3.rb +45 -0
  346. data/generated/google/apis/monitoring_v3/classes.rb +1335 -0
  347. data/generated/google/apis/monitoring_v3/representations.rb +516 -0
  348. data/generated/google/apis/monitoring_v3/service.rb +706 -0
  349. data/generated/google/apis/mybusiness_v3.rb +32 -0
  350. data/generated/google/apis/mybusiness_v3/classes.rb +1864 -0
  351. data/generated/google/apis/mybusiness_v3/representations.rb +741 -0
  352. data/generated/google/apis/mybusiness_v3/service.rb +960 -0
  353. data/generated/google/apis/oauth2_v2.rb +43 -0
  354. data/generated/google/apis/oauth2_v2/classes.rb +245 -0
  355. data/generated/google/apis/oauth2_v2/representations.rb +102 -0
  356. data/generated/google/apis/oauth2_v2/service.rb +199 -0
  357. data/generated/google/apis/pagespeedonline_v2.rb +32 -0
  358. data/generated/google/apis/pagespeedonline_v2/classes.rb +614 -0
  359. data/generated/google/apis/pagespeedonline_v2/representations.rb +272 -0
  360. data/generated/google/apis/pagespeedonline_v2/service.rb +119 -0
  361. data/generated/google/apis/partners_v2.rb +32 -0
  362. data/generated/google/apis/partners_v2/classes.rb +942 -0
  363. data/generated/google/apis/partners_v2/representations.rb +454 -0
  364. data/generated/google/apis/partners_v2/service.rb +400 -0
  365. data/generated/google/apis/people_v1.rb +59 -0
  366. data/generated/google/apis/people_v1/classes.rb +1521 -0
  367. data/generated/google/apis/people_v1/representations.rb +663 -0
  368. data/generated/google/apis/people_v1/service.rb +189 -0
  369. data/generated/google/apis/plus_domains_v1.rb +61 -0
  370. data/generated/google/apis/plus_domains_v1/classes.rb +2609 -0
  371. data/generated/google/apis/plus_domains_v1/representations.rb +1111 -0
  372. data/generated/google/apis/plus_domains_v1/service.rb +904 -0
  373. data/generated/google/apis/plus_v1.rb +43 -0
  374. data/generated/google/apis/plus_v1/classes.rb +2094 -0
  375. data/generated/google/apis/plus_v1/representations.rb +907 -0
  376. data/generated/google/apis/plus_v1/service.rb +470 -0
  377. data/generated/google/apis/prediction_v1_6.rb +47 -0
  378. data/generated/google/apis/prediction_v1_6/classes.rb +751 -0
  379. data/generated/google/apis/prediction_v1_6/representations.rb +369 -0
  380. data/generated/google/apis/prediction_v1_6/service.rb +380 -0
  381. data/generated/google/apis/proximitybeacon_v1beta1.rb +34 -0
  382. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +786 -0
  383. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +347 -0
  384. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +806 -0
  385. data/generated/google/apis/pubsub_v1.rb +37 -0
  386. data/generated/google/apis/pubsub_v1/classes.rb +676 -0
  387. data/generated/google/apis/pubsub_v1/representations.rb +323 -0
  388. data/generated/google/apis/pubsub_v1/service.rb +900 -0
  389. data/generated/google/apis/pubsub_v1beta2.rb +37 -0
  390. data/generated/google/apis/pubsub_v1beta2/classes.rb +620 -0
  391. data/generated/google/apis/pubsub_v1beta2/representations.rb +282 -0
  392. data/generated/google/apis/pubsub_v1beta2/service.rb +774 -0
  393. data/generated/google/apis/qpx_express_v1.rb +31 -0
  394. data/generated/google/apis/qpx_express_v1/classes.rb +1274 -0
  395. data/generated/google/apis/qpx_express_v1/representations.rb +473 -0
  396. data/generated/google/apis/qpx_express_v1/service.rb +100 -0
  397. data/generated/google/apis/replicapool_v1beta2.rb +44 -0
  398. data/generated/google/apis/replicapool_v1beta2/classes.rb +631 -0
  399. data/generated/google/apis/replicapool_v1beta2/representations.rb +264 -0
  400. data/generated/google/apis/replicapool_v1beta2/service.rb +608 -0
  401. data/generated/google/apis/replicapoolupdater_v1beta1.rb +45 -0
  402. data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +733 -0
  403. data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +294 -0
  404. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +509 -0
  405. data/generated/google/apis/reseller_v1.rb +37 -0
  406. data/generated/google/apis/reseller_v1/classes.rb +540 -0
  407. data/generated/google/apis/reseller_v1/representations.rb +225 -0
  408. data/generated/google/apis/reseller_v1/service.rb +623 -0
  409. data/generated/google/apis/resourceviews_v1beta2.rb +50 -0
  410. data/generated/google/apis/resourceviews_v1beta2/classes.rb +660 -0
  411. data/generated/google/apis/resourceviews_v1beta2/representations.rb +301 -0
  412. data/generated/google/apis/resourceviews_v1beta2/service.rb +563 -0
  413. data/generated/google/apis/script_v1.rb +64 -0
  414. data/generated/google/apis/script_v1/classes.rb +265 -0
  415. data/generated/google/apis/script_v1/representations.rb +119 -0
  416. data/generated/google/apis/script_v1/service.rb +98 -0
  417. data/generated/google/apis/sheets_v4.rb +43 -0
  418. data/generated/google/apis/sheets_v4/classes.rb +6368 -0
  419. data/generated/google/apis/sheets_v4/representations.rb +2289 -0
  420. data/generated/google/apis/sheets_v4/service.rb +569 -0
  421. data/generated/google/apis/site_verification_v1.rb +37 -0
  422. data/generated/google/apis/site_verification_v1/classes.rb +185 -0
  423. data/generated/google/apis/site_verification_v1/representations.rb +113 -0
  424. data/generated/google/apis/site_verification_v1/service.rb +315 -0
  425. data/generated/google/apis/slides_v1.rb +49 -0
  426. data/generated/google/apis/slides_v1/classes.rb +4044 -0
  427. data/generated/google/apis/slides_v1/representations.rb +1765 -0
  428. data/generated/google/apis/slides_v1/service.rb +202 -0
  429. data/generated/google/apis/speech_v1beta1.rb +34 -0
  430. data/generated/google/apis/speech_v1beta1/classes.rb +513 -0
  431. data/generated/google/apis/speech_v1beta1/representations.rb +218 -0
  432. data/generated/google/apis/speech_v1beta1/service.rb +273 -0
  433. data/generated/google/apis/sqladmin_v1beta4.rb +38 -0
  434. data/generated/google/apis/sqladmin_v1beta4/classes.rb +2142 -0
  435. data/generated/google/apis/sqladmin_v1beta4/representations.rb +893 -0
  436. data/generated/google/apis/sqladmin_v1beta4/service.rb +1709 -0
  437. data/generated/google/apis/storage_v1.rb +46 -0
  438. data/generated/google/apis/storage_v1/classes.rb +1255 -0
  439. data/generated/google/apis/storage_v1/representations.rb +502 -0
  440. data/generated/google/apis/storage_v1/service.rb +1906 -0
  441. data/generated/google/apis/storagetransfer_v1.rb +35 -0
  442. data/generated/google/apis/storagetransfer_v1/classes.rb +1046 -0
  443. data/generated/google/apis/storagetransfer_v1/representations.rb +418 -0
  444. data/generated/google/apis/storagetransfer_v1/service.rb +473 -0
  445. data/generated/google/apis/tagmanager_v1.rb +52 -0
  446. data/generated/google/apis/tagmanager_v1/classes.rb +1494 -0
  447. data/generated/google/apis/tagmanager_v1/representations.rb +611 -0
  448. data/generated/google/apis/tagmanager_v1/service.rb +2119 -0
  449. data/generated/google/apis/taskqueue_v1beta2.rb +37 -0
  450. data/generated/google/apis/taskqueue_v1beta2/classes.rb +254 -0
  451. data/generated/google/apis/taskqueue_v1beta2/representations.rb +126 -0
  452. data/generated/google/apis/taskqueue_v1beta2/service.rb +408 -0
  453. data/generated/google/apis/tasks_v1.rb +37 -0
  454. data/generated/google/apis/tasks_v1/classes.rb +296 -0
  455. data/generated/google/apis/tasks_v1/representations.rb +125 -0
  456. data/generated/google/apis/tasks_v1/service.rb +643 -0
  457. data/generated/google/apis/translate_v2.rb +31 -0
  458. data/generated/google/apis/translate_v2/classes.rb +168 -0
  459. data/generated/google/apis/translate_v2/representations.rb +121 -0
  460. data/generated/google/apis/translate_v2/service.rb +182 -0
  461. data/generated/google/apis/urlshortener_v1.rb +34 -0
  462. data/generated/google/apis/urlshortener_v1/classes.rb +246 -0
  463. data/generated/google/apis/urlshortener_v1/representations.rb +121 -0
  464. data/generated/google/apis/urlshortener_v1/service.rb +176 -0
  465. data/generated/google/apis/vision_v1.rb +36 -0
  466. data/generated/google/apis/vision_v1/classes.rb +1267 -0
  467. data/generated/google/apis/vision_v1/representations.rb +418 -0
  468. data/generated/google/apis/vision_v1/service.rb +90 -0
  469. data/generated/google/apis/webmasters_v3.rb +37 -0
  470. data/generated/google/apis/webmasters_v3/classes.rb +570 -0
  471. data/generated/google/apis/webmasters_v3/representations.rb +283 -0
  472. data/generated/google/apis/webmasters_v3/service.rb +573 -0
  473. data/generated/google/apis/youtube_analytics_v1.rb +46 -0
  474. data/generated/google/apis/youtube_analytics_v1/classes.rb +337 -0
  475. data/generated/google/apis/youtube_analytics_v1/representations.rb +174 -0
  476. data/generated/google/apis/youtube_analytics_v1/service.rb +486 -0
  477. data/generated/google/apis/youtube_partner_v1.rb +37 -0
  478. data/generated/google/apis/youtube_partner_v1/classes.rb +3854 -0
  479. data/generated/google/apis/youtube_partner_v1/representations.rb +1537 -0
  480. data/generated/google/apis/youtube_partner_v1/service.rb +3269 -0
  481. data/generated/google/apis/youtube_v3.rb +50 -0
  482. data/generated/google/apis/youtube_v3/classes.rb +8375 -0
  483. data/generated/google/apis/youtube_v3/representations.rb +3273 -0
  484. data/generated/google/apis/youtube_v3/service.rb +4440 -0
  485. data/generated/google/apis/youtubereporting_v1.rb +38 -0
  486. data/generated/google/apis/youtubereporting_v1/classes.rb +302 -0
  487. data/generated/google/apis/youtubereporting_v1/representations.rb +149 -0
  488. data/generated/google/apis/youtubereporting_v1/service.rb +385 -0
  489. data/google-api-client.gemspec +33 -0
  490. data/lib/cacerts.pem +2183 -0
  491. data/lib/google/api_client/auth/installed_app.rb +128 -0
  492. data/lib/google/api_client/auth/key_utils.rb +94 -0
  493. data/lib/google/api_client/auth/storage.rb +104 -0
  494. data/lib/google/api_client/auth/storages/file_store.rb +57 -0
  495. data/lib/google/api_client/auth/storages/redis_store.rb +59 -0
  496. data/lib/google/api_client/client_secrets.rb +177 -0
  497. data/lib/google/apis.rb +58 -0
  498. data/lib/google/apis/core/api_command.rb +146 -0
  499. data/lib/google/apis/core/base_service.rb +401 -0
  500. data/lib/google/apis/core/batch.rb +239 -0
  501. data/lib/google/apis/core/download.rb +108 -0
  502. data/lib/google/apis/core/hashable.rb +44 -0
  503. data/lib/google/apis/core/http_client_adapter.rb +82 -0
  504. data/lib/google/apis/core/http_command.rb +332 -0
  505. data/lib/google/apis/core/json_representation.rb +145 -0
  506. data/lib/google/apis/core/logging.rb +30 -0
  507. data/lib/google/apis/core/multipart.rb +187 -0
  508. data/lib/google/apis/core/upload.rb +295 -0
  509. data/lib/google/apis/errors.rb +80 -0
  510. data/lib/google/apis/generator.rb +70 -0
  511. data/lib/google/apis/generator/annotator.rb +301 -0
  512. data/lib/google/apis/generator/helpers.rb +74 -0
  513. data/lib/google/apis/generator/model.rb +143 -0
  514. data/lib/google/apis/generator/template.rb +124 -0
  515. data/lib/google/apis/generator/templates/_class.tmpl +40 -0
  516. data/lib/google/apis/generator/templates/_method.tmpl +92 -0
  517. data/lib/google/apis/generator/templates/_representation.tmpl +51 -0
  518. data/lib/google/apis/generator/templates/_representation_stub.tmpl +17 -0
  519. data/lib/google/apis/generator/templates/_representation_type.tmpl +10 -0
  520. data/lib/google/apis/generator/templates/classes.rb.tmpl +29 -0
  521. data/lib/google/apis/generator/templates/module.rb.tmpl +40 -0
  522. data/lib/google/apis/generator/templates/representations.rb.tmpl +32 -0
  523. data/lib/google/apis/generator/templates/service.rb.tmpl +60 -0
  524. data/lib/google/apis/options.rb +85 -0
  525. data/lib/google/apis/version.rb +39 -0
  526. data/rakelib/metrics.rake +22 -0
  527. data/rakelib/rubocop.rake +10 -0
  528. data/rakelib/spec.rake +11 -0
  529. data/rakelib/yard.rake +11 -0
  530. data/samples/cli/.env +4 -0
  531. data/samples/cli/Gemfile +7 -0
  532. data/samples/cli/README.md +51 -0
  533. data/samples/cli/google-api-samples +32 -0
  534. data/samples/cli/lib/base_cli.rb +95 -0
  535. data/samples/cli/lib/samples/analytics.rb +62 -0
  536. data/samples/cli/lib/samples/androidpublisher.rb +47 -0
  537. data/samples/cli/lib/samples/bigquery.rb +101 -0
  538. data/samples/cli/lib/samples/calendar.rb +83 -0
  539. data/samples/cli/lib/samples/drive.rb +82 -0
  540. data/samples/cli/lib/samples/gmail.rb +124 -0
  541. data/samples/cli/lib/samples/pubsub.rb +114 -0
  542. data/samples/cli/lib/samples/sheets.rb +61 -0
  543. data/samples/cli/lib/samples/translate.rb +44 -0
  544. data/samples/cli/lib/samples/you_tube.rb +44 -0
  545. data/samples/web/.env +2 -0
  546. data/samples/web/Gemfile +7 -0
  547. data/samples/web/README.md +44 -0
  548. data/samples/web/app.rb +120 -0
  549. data/samples/web/views/calendar.erb +34 -0
  550. data/samples/web/views/drive.erb +33 -0
  551. data/samples/web/views/home.erb +34 -0
  552. data/samples/web/views/layout.erb +40 -0
  553. data/sync.rb +71 -0
  554. data/third_party/hurley_patches.rb +103 -0
  555. metadata +735 -0
@@ -0,0 +1,189 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'google/apis/core/base_service'
16
+ require 'google/apis/core/json_representation'
17
+ require 'google/apis/core/hashable'
18
+ require 'google/apis/errors'
19
+
20
+ module Google
21
+ module Apis
22
+ module PeopleV1
23
+ # Google People API
24
+ #
25
+ # The Google People API service gives access to information about profiles and
26
+ # contacts.
27
+ #
28
+ # @example
29
+ # require 'google/apis/people_v1'
30
+ #
31
+ # People = Google::Apis::PeopleV1 # Alias the module
32
+ # service = People::PeopleService.new
33
+ #
34
+ # @see https://developers.google.com/people/
35
+ class PeopleService < Google::Apis::Core::BaseService
36
+ # @return [String]
37
+ # API key. Your API key identifies your project and provides you with API access,
38
+ # quota, and reports. Required unless you provide an OAuth 2.0 token.
39
+ attr_accessor :key
40
+
41
+ # @return [String]
42
+ # Available to use for quota purposes for server-side applications. Can be any
43
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
44
+ attr_accessor :quota_user
45
+
46
+ def initialize
47
+ super('https://people.googleapis.com/', '')
48
+ end
49
+
50
+ # Provides information about a person resource for a resource name. Use `people/
51
+ # me` to indicate the authenticated user.
52
+ # @param [String] resource_name
53
+ # The resource name of the person to provide information about. - To get
54
+ # information about the authenticated user, specify `people/me`. - To get
55
+ # information about any user, specify the resource name that identifies the user,
56
+ # such as the resource names returned by [`people.connections.list`](/people/
57
+ # api/rest/v1/people.connections/list).
58
+ # @param [String] request_mask_include_field
59
+ # Comma-separated list of fields to be included in the response. Omitting this
60
+ # field will include all fields. Each path should start with `person.`: for
61
+ # example, `person.names` or `person.photos`.
62
+ # @param [String] fields
63
+ # Selector specifying which fields to include in a partial response.
64
+ # @param [String] quota_user
65
+ # Available to use for quota purposes for server-side applications. Can be any
66
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
67
+ # @param [Google::Apis::RequestOptions] options
68
+ # Request-specific options
69
+ #
70
+ # @yield [result, err] Result & error if block supplied
71
+ # @yieldparam result [Google::Apis::PeopleV1::Person] parsed result object
72
+ # @yieldparam err [StandardError] error object if request failed
73
+ #
74
+ # @return [Google::Apis::PeopleV1::Person]
75
+ #
76
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
77
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
78
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
79
+ def get_person(resource_name, request_mask_include_field: nil, fields: nil, quota_user: nil, options: nil, &block)
80
+ command = make_simple_command(:get, 'v1/{+resourceName}', options)
81
+ command.response_representation = Google::Apis::PeopleV1::Person::Representation
82
+ command.response_class = Google::Apis::PeopleV1::Person
83
+ command.params['resourceName'] = resource_name unless resource_name.nil?
84
+ command.query['requestMask.includeField'] = request_mask_include_field unless request_mask_include_field.nil?
85
+ command.query['fields'] = fields unless fields.nil?
86
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
87
+ execute_or_queue_command(command, &block)
88
+ end
89
+
90
+ # Provides information about a list of specific people by specifying a list of
91
+ # requested resource names. Use `people/me` to indicate the authenticated user.
92
+ # @param [Array<String>, String] resource_names
93
+ # The resource name, such as one returned by [`people.connections.list`](/people/
94
+ # api/rest/v1/people.connections/list), of one of the people to provide
95
+ # information about. You can include this parameter up to 50 times in one
96
+ # request.
97
+ # @param [String] request_mask_include_field
98
+ # Comma-separated list of fields to be included in the response. Omitting this
99
+ # field will include all fields. Each path should start with `person.`: for
100
+ # example, `person.names` or `person.photos`.
101
+ # @param [String] fields
102
+ # Selector specifying which fields to include in a partial response.
103
+ # @param [String] quota_user
104
+ # Available to use for quota purposes for server-side applications. Can be any
105
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
106
+ # @param [Google::Apis::RequestOptions] options
107
+ # Request-specific options
108
+ #
109
+ # @yield [result, err] Result & error if block supplied
110
+ # @yieldparam result [Google::Apis::PeopleV1::GetPeopleResponse] parsed result object
111
+ # @yieldparam err [StandardError] error object if request failed
112
+ #
113
+ # @return [Google::Apis::PeopleV1::GetPeopleResponse]
114
+ #
115
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
116
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
117
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
118
+ def get_people(resource_names: nil, request_mask_include_field: nil, fields: nil, quota_user: nil, options: nil, &block)
119
+ command = make_simple_command(:get, 'v1/people:batchGet', options)
120
+ command.response_representation = Google::Apis::PeopleV1::GetPeopleResponse::Representation
121
+ command.response_class = Google::Apis::PeopleV1::GetPeopleResponse
122
+ command.query['resourceNames'] = resource_names unless resource_names.nil?
123
+ command.query['requestMask.includeField'] = request_mask_include_field unless request_mask_include_field.nil?
124
+ command.query['fields'] = fields unless fields.nil?
125
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
126
+ execute_or_queue_command(command, &block)
127
+ end
128
+
129
+ # Provides a list of the authenticated user's contacts merged with any linked
130
+ # profiles.
131
+ # @param [String] resource_name
132
+ # The resource name to return connections for. Only `people/me` is valid.
133
+ # @param [String] page_token
134
+ # The token of the page to be returned.
135
+ # @param [Fixnum] page_size
136
+ # The number of connections to include in the response. Valid values are between
137
+ # 1 and 500, inclusive. Defaults to 100.
138
+ # @param [String] sort_order
139
+ # The order in which the connections should be sorted. Defaults to `
140
+ # LAST_MODIFIED_ASCENDING`.
141
+ # @param [String] sync_token
142
+ # A sync token, returned by a previous call to `people.connections.list`. Only
143
+ # resources changed since the sync token was created are returned.
144
+ # @param [String] request_mask_include_field
145
+ # Comma-separated list of fields to be included in the response. Omitting this
146
+ # field will include all fields. Each path should start with `person.`: for
147
+ # example, `person.names` or `person.photos`.
148
+ # @param [String] fields
149
+ # Selector specifying which fields to include in a partial response.
150
+ # @param [String] quota_user
151
+ # Available to use for quota purposes for server-side applications. Can be any
152
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
153
+ # @param [Google::Apis::RequestOptions] options
154
+ # Request-specific options
155
+ #
156
+ # @yield [result, err] Result & error if block supplied
157
+ # @yieldparam result [Google::Apis::PeopleV1::ListConnectionsResponse] parsed result object
158
+ # @yieldparam err [StandardError] error object if request failed
159
+ #
160
+ # @return [Google::Apis::PeopleV1::ListConnectionsResponse]
161
+ #
162
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
163
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
164
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
165
+ def list_person_connections(resource_name, page_token: nil, page_size: nil, sort_order: nil, sync_token: nil, request_mask_include_field: nil, fields: nil, quota_user: nil, options: nil, &block)
166
+ command = make_simple_command(:get, 'v1/{+resourceName}/connections', options)
167
+ command.response_representation = Google::Apis::PeopleV1::ListConnectionsResponse::Representation
168
+ command.response_class = Google::Apis::PeopleV1::ListConnectionsResponse
169
+ command.params['resourceName'] = resource_name unless resource_name.nil?
170
+ command.query['pageToken'] = page_token unless page_token.nil?
171
+ command.query['pageSize'] = page_size unless page_size.nil?
172
+ command.query['sortOrder'] = sort_order unless sort_order.nil?
173
+ command.query['syncToken'] = sync_token unless sync_token.nil?
174
+ command.query['requestMask.includeField'] = request_mask_include_field unless request_mask_include_field.nil?
175
+ command.query['fields'] = fields unless fields.nil?
176
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
177
+ execute_or_queue_command(command, &block)
178
+ end
179
+
180
+ protected
181
+
182
+ def apply_command_defaults(command)
183
+ command.query['key'] = key unless key.nil?
184
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
185
+ end
186
+ end
187
+ end
188
+ end
189
+ end
@@ -0,0 +1,61 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'google/apis/plus_domains_v1/service.rb'
16
+ require 'google/apis/plus_domains_v1/classes.rb'
17
+ require 'google/apis/plus_domains_v1/representations.rb'
18
+
19
+ module Google
20
+ module Apis
21
+ # Google+ Domains API
22
+ #
23
+ # Builds on top of the Google+ platform for Google Apps Domains.
24
+ #
25
+ # @see https://developers.google.com/+/domains/
26
+ module PlusDomainsV1
27
+ VERSION = 'V1'
28
+ REVISION = '20170124'
29
+
30
+ # View your circles and the people and pages in them
31
+ AUTH_PLUS_CIRCLES_READ = 'https://www.googleapis.com/auth/plus.circles.read'
32
+
33
+ # Manage your circles and add people and pages. People and pages you add to your circles will be notified. Others may see this information publicly. People you add to circles can use Hangouts with you.
34
+ AUTH_PLUS_CIRCLES_WRITE = 'https://www.googleapis.com/auth/plus.circles.write'
35
+
36
+ # Know the list of people in your circles, your age range, and language
37
+ AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'
38
+
39
+ # Know who you are on Google
40
+ AUTH_PLUS_ME = 'https://www.googleapis.com/auth/plus.me'
41
+
42
+ # Send your photos and videos to Google+
43
+ AUTH_PLUS_MEDIA_UPLOAD = 'https://www.googleapis.com/auth/plus.media.upload'
44
+
45
+ # View your own Google+ profile and profiles visible to you
46
+ AUTH_PLUS_PROFILES_READ = 'https://www.googleapis.com/auth/plus.profiles.read'
47
+
48
+ # View your Google+ posts, comments, and stream
49
+ AUTH_PLUS_STREAM_READ = 'https://www.googleapis.com/auth/plus.stream.read'
50
+
51
+ # Manage your Google+ posts, comments, and stream
52
+ AUTH_PLUS_STREAM_WRITE = 'https://www.googleapis.com/auth/plus.stream.write'
53
+
54
+ # View your email address
55
+ AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
56
+
57
+ # View your basic profile info
58
+ AUTH_USERINFO_PROFILE = 'https://www.googleapis.com/auth/userinfo.profile'
59
+ end
60
+ end
61
+ end
@@ -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] if args.key?(:description)
57
+ @domain_restricted = args[:domain_restricted] if args.key?(:domain_restricted)
58
+ @items = args[:items] if args.key?(:items)
59
+ @kind = args[:kind] if args.key?(:kind)
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] if args.key?(:access)
183
+ @actor = args[:actor] if args.key?(:actor)
184
+ @address = args[:address] if args.key?(:address)
185
+ @annotation = args[:annotation] if args.key?(:annotation)
186
+ @crosspost_source = args[:crosspost_source] if args.key?(:crosspost_source)
187
+ @etag = args[:etag] if args.key?(:etag)
188
+ @geocode = args[:geocode] if args.key?(:geocode)
189
+ @id = args[:id] if args.key?(:id)
190
+ @kind = args[:kind] if args.key?(:kind)
191
+ @location = args[:location] if args.key?(:location)
192
+ @object = args[:object] if args.key?(:object)
193
+ @place_id = args[:place_id] if args.key?(:place_id)
194
+ @place_name = args[:place_name] if args.key?(:place_name)
195
+ @provider = args[:provider] if args.key?(:provider)
196
+ @published = args[:published] if args.key?(:published)
197
+ @radius = args[:radius] if args.key?(:radius)
198
+ @title = args[:title] if args.key?(:title)
199
+ @updated = args[:updated] if args.key?(:updated)
200
+ @url = args[:url] if args.key?(:url)
201
+ @verb = args[:verb] if args.key?(:verb)
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] if args.key?(:client_specific_actor_info)
250
+ @display_name = args[:display_name] if args.key?(:display_name)
251
+ @id = args[:id] if args.key?(:id)
252
+ @image = args[:image] if args.key?(:image)
253
+ @name = args[:name] if args.key?(:name)
254
+ @url = args[:url] if args.key?(:url)
255
+ @verification = args[:verification] if args.key?(:verification)
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] if args.key?(:youtube_actor_info)
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] if args.key?(:channel_id)
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] if args.key?(:url)
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] if args.key?(:family_name)
338
+ @given_name = args[:given_name] if args.key?(:given_name)
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] if args.key?(:ad_hoc_verified)
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] if args.key?(:actor)
435
+ @attachments = args[:attachments] if args.key?(:attachments)
436
+ @content = args[:content] if args.key?(:content)
437
+ @id = args[:id] if args.key?(:id)
438
+ @object_type = args[:object_type] if args.key?(:object_type)
439
+ @original_content = args[:original_content] if args.key?(:original_content)
440
+ @plusoners = args[:plusoners] if args.key?(:plusoners)
441
+ @replies = args[:replies] if args.key?(:replies)
442
+ @resharers = args[:resharers] if args.key?(:resharers)
443
+ @status_for_viewer = args[:status_for_viewer] if args.key?(:status_for_viewer)
444
+ @url = args[:url] if args.key?(:url)
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] if args.key?(:client_specific_actor_info)
489
+ @display_name = args[:display_name] if args.key?(:display_name)
490
+ @id = args[:id] if args.key?(:id)
491
+ @image = args[:image] if args.key?(:image)
492
+ @url = args[:url] if args.key?(:url)
493
+ @verification = args[:verification] if args.key?(:verification)
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] if args.key?(:youtube_actor_info)
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] if args.key?(:channel_id)
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] if args.key?(:url)
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] if args.key?(:ad_hoc_verified)
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] if args.key?(:content)
643
+ @display_name = args[:display_name] if args.key?(:display_name)
644
+ @embed = args[:embed] if args.key?(:embed)
645
+ @full_image = args[:full_image] if args.key?(:full_image)
646
+ @id = args[:id] if args.key?(:id)
647
+ @image = args[:image] if args.key?(:image)
648
+ @object_type = args[:object_type] if args.key?(:object_type)
649
+ @preview_thumbnails = args[:preview_thumbnails] if args.key?(:preview_thumbnails)
650
+ @thumbnails = args[:thumbnails] if args.key?(:thumbnails)
651
+ @url = args[:url] if args.key?(:url)
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] if args.key?(:type)
675
+ @url = args[:url] if args.key?(:url)
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] if args.key?(:height)
710
+ @type = args[:type] if args.key?(:type)
711
+ @url = args[:url] if args.key?(:url)
712
+ @width = args[:width] if args.key?(:width)
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] if args.key?(:height)
747
+ @type = args[:type] if args.key?(:type)
748
+ @url = args[:url] if args.key?(:url)
749
+ @width = args[:width] if args.key?(:width)
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] if args.key?(:url)
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] if args.key?(:description)
798
+ @image = args[:image] if args.key?(:image)
799
+ @url = args[:url] if args.key?(:url)
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] if args.key?(:height)
833
+ @type = args[:type] if args.key?(:type)
834
+ @url = args[:url] if args.key?(:url)
835
+ @width = args[:width] if args.key?(:width)
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] if args.key?(:self_link)
862
+ @total_items = args[:total_items] if args.key?(:total_items)
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] if args.key?(:self_link)
887
+ @total_items = args[:total_items] if args.key?(:total_items)
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] if args.key?(:self_link)
912
+ @total_items = args[:total_items] if args.key?(:total_items)
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] if args.key?(:can_comment)
957
+ @can_plusone = args[:can_plusone] if args.key?(:can_plusone)
958
+ @can_update = args[:can_update] if args.key?(:can_update)
959
+ @is_plus_oned = args[:is_plus_oned] if args.key?(:is_plus_oned)
960
+ @resharing_disabled = args[:resharing_disabled] if args.key?(:resharing_disabled)
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] if args.key?(:title)
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] if args.key?(:etag)
1045
+ @id = args[:id] if args.key?(:id)
1046
+ @items = args[:items] if args.key?(:items)
1047
+ @kind = args[:kind] if args.key?(:kind)
1048
+ @next_link = args[:next_link] if args.key?(:next_link)
1049
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1050
+ @self_link = args[:self_link] if args.key?(:self_link)
1051
+ @title = args[:title] if args.key?(:title)
1052
+ @updated = args[:updated] if args.key?(:updated)
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] if args.key?(:etag)
1097
+ @item = args[:item] if args.key?(:item)
1098
+ @kind = args[:kind] if args.key?(:kind)
1099
+ @member_count = args[:member_count] if args.key?(:member_count)
1100
+ @visibility = args[:visibility] if args.key?(:visibility)
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] if args.key?(:etag)
1143
+ @items = args[:items] if args.key?(:items)
1144
+ @kind = args[:kind] if args.key?(:kind)
1145
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1146
+ @total_items = args[:total_items] if args.key?(:total_items)
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] if args.key?(:description)
1196
+ @display_name = args[:display_name] if args.key?(:display_name)
1197
+ @etag = args[:etag] if args.key?(:etag)
1198
+ @id = args[:id] if args.key?(:id)
1199
+ @kind = args[:kind] if args.key?(:kind)
1200
+ @people = args[:people] if args.key?(:people)
1201
+ @self_link = args[:self_link] if args.key?(:self_link)
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] if args.key?(:total_items)
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] if args.key?(:etag)
1277
+ @items = args[:items] if args.key?(:items)
1278
+ @kind = args[:kind] if args.key?(:kind)
1279
+ @next_link = args[:next_link] if args.key?(:next_link)
1280
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1281
+ @self_link = args[:self_link] if args.key?(:self_link)
1282
+ @title = args[:title] if args.key?(:title)
1283
+ @total_items = args[:total_items] if args.key?(:total_items)
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] if args.key?(:actor)
1357
+ @etag = args[:etag] if args.key?(:etag)
1358
+ @id = args[:id] if args.key?(:id)
1359
+ @in_reply_to = args[:in_reply_to] if args.key?(:in_reply_to)
1360
+ @kind = args[:kind] if args.key?(:kind)
1361
+ @object = args[:object] if args.key?(:object)
1362
+ @plusoners = args[:plusoners] if args.key?(:plusoners)
1363
+ @published = args[:published] if args.key?(:published)
1364
+ @self_link = args[:self_link] if args.key?(:self_link)
1365
+ @updated = args[:updated] if args.key?(:updated)
1366
+ @verb = args[:verb] if args.key?(:verb)
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] if args.key?(:client_specific_actor_info)
1410
+ @display_name = args[:display_name] if args.key?(:display_name)
1411
+ @id = args[:id] if args.key?(:id)
1412
+ @image = args[:image] if args.key?(:image)
1413
+ @url = args[:url] if args.key?(:url)
1414
+ @verification = args[:verification] if args.key?(:verification)
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] if args.key?(:youtube_actor_info)
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] if args.key?(:channel_id)
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] if args.key?(:url)
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] if args.key?(:ad_hoc_verified)
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] if args.key?(:id)
1517
+ @url = args[:url] if args.key?(:url)
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] if args.key?(:content)
1550
+ @object_type = args[:object_type] if args.key?(:object_type)
1551
+ @original_content = args[:original_content] if args.key?(:original_content)
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] if args.key?(:total_items)
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] if args.key?(:etag)
1629
+ @id = args[:id] if args.key?(:id)
1630
+ @items = args[:items] if args.key?(:items)
1631
+ @kind = args[:kind] if args.key?(:kind)
1632
+ @next_link = args[:next_link] if args.key?(:next_link)
1633
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1634
+ @title = args[:title] if args.key?(:title)
1635
+ @updated = args[:updated] if args.key?(:updated)
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] if args.key?(:author)
1748
+ @display_name = args[:display_name] if args.key?(:display_name)
1749
+ @etag = args[:etag] if args.key?(:etag)
1750
+ @exif = args[:exif] if args.key?(:exif)
1751
+ @height = args[:height] if args.key?(:height)
1752
+ @id = args[:id] if args.key?(:id)
1753
+ @kind = args[:kind] if args.key?(:kind)
1754
+ @media_created_time = args[:media_created_time] if args.key?(:media_created_time)
1755
+ @media_url = args[:media_url] if args.key?(:media_url)
1756
+ @published = args[:published] if args.key?(:published)
1757
+ @size_bytes = args[:size_bytes] if args.key?(:size_bytes)
1758
+ @streams = args[:streams] if args.key?(:streams)
1759
+ @summary = args[:summary] if args.key?(:summary)
1760
+ @updated = args[:updated] if args.key?(:updated)
1761
+ @url = args[:url] if args.key?(:url)
1762
+ @video_duration = args[:video_duration] if args.key?(:video_duration)
1763
+ @video_status = args[:video_status] if args.key?(:video_status)
1764
+ @width = args[:width] if args.key?(:width)
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] if args.key?(:display_name)
1798
+ @id = args[:id] if args.key?(:id)
1799
+ @image = args[:image] if args.key?(:image)
1800
+ @url = args[:url] if args.key?(:url)
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] if args.key?(:url)
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] if args.key?(:time)
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] if args.key?(:etag)
1896
+ @items = args[:items] if args.key?(:items)
1897
+ @kind = args[:kind] if args.key?(:kind)
1898
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1899
+ @self_link = args[:self_link] if args.key?(:self_link)
1900
+ @title = args[:title] if args.key?(:title)
1901
+ @total_items = args[:total_items] if args.key?(:total_items)
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] if args.key?(:about_me)
2082
+ @birthday = args[:birthday] if args.key?(:birthday)
2083
+ @bragging_rights = args[:bragging_rights] if args.key?(:bragging_rights)
2084
+ @circled_by_count = args[:circled_by_count] if args.key?(:circled_by_count)
2085
+ @cover = args[:cover] if args.key?(:cover)
2086
+ @current_location = args[:current_location] if args.key?(:current_location)
2087
+ @display_name = args[:display_name] if args.key?(:display_name)
2088
+ @domain = args[:domain] if args.key?(:domain)
2089
+ @emails = args[:emails] if args.key?(:emails)
2090
+ @etag = args[:etag] if args.key?(:etag)
2091
+ @gender = args[:gender] if args.key?(:gender)
2092
+ @id = args[:id] if args.key?(:id)
2093
+ @image = args[:image] if args.key?(:image)
2094
+ @is_plus_user = args[:is_plus_user] if args.key?(:is_plus_user)
2095
+ @kind = args[:kind] if args.key?(:kind)
2096
+ @name = args[:name] if args.key?(:name)
2097
+ @nickname = args[:nickname] if args.key?(:nickname)
2098
+ @object_type = args[:object_type] if args.key?(:object_type)
2099
+ @occupation = args[:occupation] if args.key?(:occupation)
2100
+ @organizations = args[:organizations] if args.key?(:organizations)
2101
+ @places_lived = args[:places_lived] if args.key?(:places_lived)
2102
+ @plus_one_count = args[:plus_one_count] if args.key?(:plus_one_count)
2103
+ @relationship_status = args[:relationship_status] if args.key?(:relationship_status)
2104
+ @skills = args[:skills] if args.key?(:skills)
2105
+ @tagline = args[:tagline] if args.key?(:tagline)
2106
+ @url = args[:url] if args.key?(:url)
2107
+ @urls = args[:urls] if args.key?(:urls)
2108
+ @verified = args[:verified] if args.key?(:verified)
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] if args.key?(:cover_info)
2139
+ @cover_photo = args[:cover_photo] if args.key?(:cover_photo)
2140
+ @layout = args[:layout] if args.key?(:layout)
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] if args.key?(:left_image_offset)
2166
+ @top_image_offset = args[:top_image_offset] if args.key?(:top_image_offset)
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] if args.key?(:height)
2196
+ @url = args[:url] if args.key?(:url)
2197
+ @width = args[:width] if args.key?(:width)
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] if args.key?(:type)
2228
+ @value = args[:value] if args.key?(:value)
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] if args.key?(:is_default)
2256
+ @url = args[:url] if args.key?(:url)
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] if args.key?(:family_name)
2301
+ @formatted = args[:formatted] if args.key?(:formatted)
2302
+ @given_name = args[:given_name] if args.key?(:given_name)
2303
+ @honorific_prefix = args[:honorific_prefix] if args.key?(:honorific_prefix)
2304
+ @honorific_suffix = args[:honorific_suffix] if args.key?(:honorific_suffix)
2305
+ @middle_name = args[:middle_name] if args.key?(:middle_name)
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] if args.key?(:department)
2370
+ @description = args[:description] if args.key?(:description)
2371
+ @end_date = args[:end_date] if args.key?(:end_date)
2372
+ @location = args[:location] if args.key?(:location)
2373
+ @name = args[:name] if args.key?(:name)
2374
+ @primary = args[:primary] if args.key?(:primary)
2375
+ @start_date = args[:start_date] if args.key?(:start_date)
2376
+ @title = args[:title] if args.key?(:title)
2377
+ @type = args[:type] if args.key?(:type)
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] if args.key?(:primary)
2404
+ @value = args[:value] if args.key?(:value)
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] if args.key?(:label)
2439
+ @type = args[:type] if args.key?(:type)
2440
+ @value = args[:value] if args.key?(:value)
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] if args.key?(:address)
2481
+ @display_name = args[:display_name] if args.key?(:display_name)
2482
+ @id = args[:id] if args.key?(:id)
2483
+ @kind = args[:kind] if args.key?(:kind)
2484
+ @position = args[:position] if args.key?(:position)
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] if args.key?(:formatted)
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] if args.key?(:latitude)
2527
+ @longitude = args[:longitude] if args.key?(:longitude)
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] if args.key?(:display_name)
2566
+ @id = args[:id] if args.key?(:id)
2567
+ @type = args[:type] if args.key?(:type)
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] if args.key?(:height)
2602
+ @type = args[:type] if args.key?(:type)
2603
+ @url = args[:url] if args.key?(:url)
2604
+ @width = args[:width] if args.key?(:width)
2605
+ end
2606
+ end
2607
+ end
2608
+ end
2609
+ end