google-api-client 0.8.7 → 0.9.pre1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (397) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +20 -0
  3. data/.rspec +2 -0
  4. data/.rubocop.yml +7 -0
  5. data/.rubocop_todo.yml +63 -0
  6. data/.travis.yml +21 -0
  7. data/.yardopts +12 -0
  8. data/CHANGELOG.md +6 -3
  9. data/CONTRIBUTING.md +31 -0
  10. data/Gemfile +28 -2
  11. data/MIGRATING.md +171 -0
  12. data/README.md +158 -150
  13. data/Rakefile +1 -40
  14. data/api_names.yaml +872 -0
  15. data/api_names_out.yaml +20843 -0
  16. data/bin/generate-api +93 -0
  17. data/generated/google/apis/adexchangebuyer_v1_3.rb +35 -0
  18. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +1124 -0
  19. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +375 -0
  20. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +893 -0
  21. data/generated/google/apis/adexchangeseller_v2_0.rb +38 -0
  22. data/generated/google/apis/adexchangeseller_v2_0/classes.rb +792 -0
  23. data/generated/google/apis/adexchangeseller_v2_0/representations.rb +309 -0
  24. data/generated/google/apis/adexchangeseller_v2_0/service.rb +682 -0
  25. data/generated/google/apis/admin_directory_v1.rb +89 -0
  26. data/generated/google/apis/admin_directory_v1/classes.rb +2389 -0
  27. data/generated/google/apis/admin_directory_v1/representations.rb +780 -0
  28. data/generated/google/apis/admin_directory_v1/service.rb +2805 -0
  29. data/generated/google/apis/admin_reports_v1.rb +38 -0
  30. data/generated/google/apis/admin_reports_v1/classes.rb +582 -0
  31. data/generated/google/apis/admin_reports_v1/representations.rb +231 -0
  32. data/generated/google/apis/admin_reports_v1/service.rb +341 -0
  33. data/generated/google/apis/adsense_v1_4.rb +38 -0
  34. data/generated/google/apis/adsense_v1_4/classes.rb +1279 -0
  35. data/generated/google/apis/adsense_v1_4/representations.rb +493 -0
  36. data/generated/google/apis/adsense_v1_4/service.rb +1752 -0
  37. data/generated/google/apis/adsensehost_v4_1.rb +35 -0
  38. data/generated/google/apis/adsensehost_v4_1/classes.rb +834 -0
  39. data/generated/google/apis/adsensehost_v4_1/representations.rb +327 -0
  40. data/generated/google/apis/adsensehost_v4_1/service.rb +1190 -0
  41. data/generated/google/apis/analytics_v3.rb +49 -0
  42. data/generated/google/apis/analytics_v3/classes.rb +5113 -0
  43. data/generated/google/apis/analytics_v3/representations.rb +1661 -0
  44. data/generated/google/apis/analytics_v3/service.rb +3600 -0
  45. data/generated/google/apis/androidenterprise_v1.rb +34 -0
  46. data/generated/google/apis/androidenterprise_v1/classes.rb +1162 -0
  47. data/generated/google/apis/androidenterprise_v1/representations.rb +431 -0
  48. data/generated/google/apis/androidenterprise_v1/service.rb +1979 -0
  49. data/generated/google/apis/androidpublisher_v2.rb +34 -0
  50. data/generated/google/apis/androidpublisher_v2/classes.rb +1374 -0
  51. data/generated/google/apis/androidpublisher_v2/representations.rb +630 -0
  52. data/generated/google/apis/androidpublisher_v2/service.rb +2390 -0
  53. data/generated/google/apis/appsactivity_v1.rb +46 -0
  54. data/generated/google/apis/appsactivity_v1/classes.rb +392 -0
  55. data/generated/google/apis/appsactivity_v1/representations.rb +184 -0
  56. data/generated/google/apis/appsactivity_v1/service.rb +129 -0
  57. data/generated/google/apis/appstate_v1.rb +34 -0
  58. data/generated/google/apis/appstate_v1/classes.rb +154 -0
  59. data/generated/google/apis/appstate_v1/representations.rb +79 -0
  60. data/generated/google/apis/appstate_v1/service.rb +265 -0
  61. data/generated/google/apis/autoscaler_v1beta2.rb +38 -0
  62. data/generated/google/apis/autoscaler_v1beta2/classes.rb +747 -0
  63. data/generated/google/apis/autoscaler_v1beta2/representations.rb +281 -0
  64. data/generated/google/apis/autoscaler_v1beta2/service.rb +488 -0
  65. data/generated/google/apis/bigquery_v2.rb +49 -0
  66. data/generated/google/apis/bigquery_v2/classes.rb +2255 -0
  67. data/generated/google/apis/bigquery_v2/representations.rb +754 -0
  68. data/generated/google/apis/bigquery_v2/service.rb +1003 -0
  69. data/generated/google/apis/blogger_v3.rb +37 -0
  70. data/generated/google/apis/blogger_v3/classes.rb +1354 -0
  71. data/generated/google/apis/blogger_v3/representations.rb +562 -0
  72. data/generated/google/apis/blogger_v3/service.rb +1620 -0
  73. data/generated/google/apis/books_v1.rb +34 -0
  74. data/generated/google/apis/books_v1/classes.rb +3515 -0
  75. data/generated/google/apis/books_v1/representations.rb +1361 -0
  76. data/generated/google/apis/books_v1/service.rb +2170 -0
  77. data/generated/google/apis/calendar_v3.rb +37 -0
  78. data/generated/google/apis/calendar_v3/classes.rb +1702 -0
  79. data/generated/google/apis/calendar_v3/representations.rb +566 -0
  80. data/generated/google/apis/calendar_v3/service.rb +1943 -0
  81. data/generated/google/apis/civicinfo_v2.rb +31 -0
  82. data/generated/google/apis/civicinfo_v2/classes.rb +1057 -0
  83. data/generated/google/apis/civicinfo_v2/representations.rb +374 -0
  84. data/generated/google/apis/civicinfo_v2/service.rb +284 -0
  85. data/generated/google/apis/cloudmonitoring_v2beta2.rb +34 -0
  86. data/generated/google/apis/cloudmonitoring_v2beta2/classes.rb +679 -0
  87. data/generated/google/apis/cloudmonitoring_v2beta2/representations.rb +311 -0
  88. data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +458 -0
  89. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +38 -0
  90. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +139 -0
  91. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +65 -0
  92. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +301 -0
  93. data/generated/google/apis/compute_v1.rb +49 -0
  94. data/generated/google/apis/compute_v1/classes.rb +6391 -0
  95. data/generated/google/apis/compute_v1/representations.rb +2209 -0
  96. data/generated/google/apis/compute_v1/service.rb +6352 -0
  97. data/generated/google/apis/container_v1beta1.rb +35 -0
  98. data/generated/google/apis/container_v1beta1/classes.rb +466 -0
  99. data/generated/google/apis/container_v1beta1/representations.rb +177 -0
  100. data/generated/google/apis/container_v1beta1/service.rb +394 -0
  101. data/generated/google/apis/content_v2.rb +35 -0
  102. data/generated/google/apis/content_v2/classes.rb +3780 -0
  103. data/generated/google/apis/content_v2/representations.rb +1456 -0
  104. data/generated/google/apis/content_v2/service.rb +1706 -0
  105. data/generated/google/apis/coordinate_v1.rb +37 -0
  106. data/generated/google/apis/coordinate_v1/classes.rb +669 -0
  107. data/generated/google/apis/coordinate_v1/representations.rb +285 -0
  108. data/generated/google/apis/coordinate_v1/service.rb +687 -0
  109. data/{lib/google/api_client/auth/compute_service_account.rb → generated/google/apis/customsearch_v1.rb} +13 -10
  110. data/generated/google/apis/customsearch_v1/classes.rb +771 -0
  111. data/generated/google/apis/customsearch_v1/representations.rb +276 -0
  112. data/generated/google/apis/customsearch_v1/service.rb +208 -0
  113. data/generated/google/apis/datastore_v1beta2.rb +40 -0
  114. data/generated/google/apis/datastore_v1beta2/classes.rb +1186 -0
  115. data/generated/google/apis/datastore_v1beta2/representations.rb +526 -0
  116. data/generated/google/apis/datastore_v1beta2/service.rb +300 -0
  117. data/generated/google/apis/deploymentmanager_v2beta2.rb +41 -0
  118. data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +820 -0
  119. data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +303 -0
  120. data/generated/google/apis/deploymentmanager_v2beta2/service.rb +647 -0
  121. data/generated/google/apis/dfareporting_v2_1.rb +37 -0
  122. data/generated/google/apis/dfareporting_v2_1/classes.rb +10755 -0
  123. data/generated/google/apis/dfareporting_v2_1/representations.rb +3438 -0
  124. data/generated/google/apis/dfareporting_v2_1/service.rb +8775 -0
  125. data/generated/google/apis/discovery_v1.rb +32 -0
  126. data/generated/google/apis/discovery_v1/classes.rb +947 -0
  127. data/generated/google/apis/discovery_v1/representations.rb +355 -0
  128. data/generated/google/apis/discovery_v1/service.rb +144 -0
  129. data/generated/google/apis/dns_v1.rb +41 -0
  130. data/generated/google/apis/dns_v1/classes.rb +406 -0
  131. data/generated/google/apis/dns_v1/representations.rb +151 -0
  132. data/generated/google/apis/dns_v1/service.rb +460 -0
  133. data/{spec/google/api_client/request_spec.rb → generated/google/apis/doubleclickbidmanager_v1.rb} +15 -13
  134. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +709 -0
  135. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +297 -0
  136. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +349 -0
  137. data/generated/google/apis/doubleclicksearch_v2.rb +35 -0
  138. data/generated/google/apis/doubleclicksearch_v2/classes.rb +947 -0
  139. data/generated/google/apis/doubleclicksearch_v2/representations.rb +315 -0
  140. data/generated/google/apis/doubleclicksearch_v2/service.rb +490 -0
  141. data/generated/google/apis/drive_v2.rb +55 -0
  142. data/generated/google/apis/drive_v2/classes.rb +2519 -0
  143. data/generated/google/apis/drive_v2/representations.rb +781 -0
  144. data/generated/google/apis/drive_v2/service.rb +2685 -0
  145. data/generated/google/apis/fitness_v1.rb +49 -0
  146. data/generated/google/apis/fitness_v1/classes.rb +809 -0
  147. data/generated/google/apis/fitness_v1/representations.rb +295 -0
  148. data/generated/google/apis/fitness_v1/service.rb +684 -0
  149. data/generated/google/apis/fusiontables_v2.rb +37 -0
  150. data/generated/google/apis/fusiontables_v2/classes.rb +1048 -0
  151. data/generated/google/apis/fusiontables_v2/representations.rb +409 -0
  152. data/generated/google/apis/fusiontables_v2/service.rb +1496 -0
  153. data/generated/google/apis/games_configuration_v1configuration.rb +34 -0
  154. data/generated/google/apis/games_configuration_v1configuration/classes.rb +506 -0
  155. data/generated/google/apis/games_configuration_v1configuration/representations.rb +206 -0
  156. data/generated/google/apis/games_configuration_v1configuration/service.rb +578 -0
  157. data/generated/google/apis/games_v1.rb +40 -0
  158. data/generated/google/apis/games_v1/classes.rb +4578 -0
  159. data/generated/google/apis/games_v1/representations.rb +1570 -0
  160. data/generated/google/apis/games_v1/service.rb +2306 -0
  161. data/generated/google/apis/gan_v1beta1.rb +31 -0
  162. data/generated/google/apis/gan_v1beta1/classes.rb +1428 -0
  163. data/generated/google/apis/gan_v1beta1/representations.rb +428 -0
  164. data/generated/google/apis/gan_v1beta1/service.rb +692 -0
  165. data/generated/google/apis/genomics_v1beta2.rb +46 -0
  166. data/generated/google/apis/genomics_v1beta2/classes.rb +3288 -0
  167. data/generated/google/apis/genomics_v1beta2/representations.rb +1194 -0
  168. data/generated/google/apis/genomics_v1beta2/service.rb +2356 -0
  169. data/generated/google/apis/gmail_v1.rb +49 -0
  170. data/generated/google/apis/gmail_v1/classes.rb +794 -0
  171. data/generated/google/apis/gmail_v1/representations.rb +339 -0
  172. data/generated/google/apis/gmail_v1/service.rb +1502 -0
  173. data/generated/google/apis/groupsmigration_v1.rb +34 -0
  174. data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
  175. data/generated/google/apis/groupsmigration_v1/representations.rb +38 -0
  176. data/generated/google/apis/groupsmigration_v1/service.rb +111 -0
  177. data/generated/google/apis/groupssettings_v1.rb +34 -0
  178. data/generated/google/apis/groupssettings_v1/classes.rb +221 -0
  179. data/generated/google/apis/groupssettings_v1/representations.rb +64 -0
  180. data/generated/google/apis/groupssettings_v1/service.rb +179 -0
  181. data/generated/google/apis/identitytoolkit_v3.rb +31 -0
  182. data/generated/google/apis/identitytoolkit_v3/classes.rb +1229 -0
  183. data/generated/google/apis/identitytoolkit_v3/representations.rb +422 -0
  184. data/generated/google/apis/identitytoolkit_v3/service.rb +491 -0
  185. data/generated/google/apis/licensing_v1.rb +34 -0
  186. data/generated/google/apis/licensing_v1/classes.rb +132 -0
  187. data/generated/google/apis/licensing_v1/representations.rb +68 -0
  188. data/generated/google/apis/licensing_v1/service.rb +376 -0
  189. data/generated/google/apis/logging_v1beta3.rb +35 -0
  190. data/generated/google/apis/logging_v1beta3/classes.rb +505 -0
  191. data/generated/google/apis/logging_v1beta3/representations.rb +222 -0
  192. data/generated/google/apis/logging_v1beta3/service.rb +670 -0
  193. data/generated/google/apis/manager_v1beta2.rb +50 -0
  194. data/generated/google/apis/manager_v1beta2/classes.rb +1287 -0
  195. data/generated/google/apis/manager_v1beta2/representations.rb +536 -0
  196. data/generated/google/apis/manager_v1beta2/service.rb +380 -0
  197. data/generated/google/apis/mapsengine_v1.rb +38 -0
  198. data/generated/google/apis/mapsengine_v1/classes.rb +2873 -0
  199. data/generated/google/apis/mapsengine_v1/representations.rb +1235 -0
  200. data/generated/google/apis/mapsengine_v1/service.rb +3465 -0
  201. data/generated/google/apis/mirror_v1.rb +37 -0
  202. data/generated/google/apis/mirror_v1/classes.rb +1072 -0
  203. data/generated/google/apis/mirror_v1/representations.rb +350 -0
  204. data/generated/google/apis/mirror_v1/service.rb +1001 -0
  205. data/generated/google/apis/oauth2_v2.rb +43 -0
  206. data/generated/google/apis/oauth2_v2/classes.rb +245 -0
  207. data/generated/google/apis/oauth2_v2/representations.rb +94 -0
  208. data/generated/google/apis/oauth2_v2/service.rb +203 -0
  209. data/generated/google/apis/pagespeedonline_v2.rb +32 -0
  210. data/generated/google/apis/pagespeedonline_v2/classes.rb +614 -0
  211. data/generated/google/apis/pagespeedonline_v2/representations.rb +244 -0
  212. data/generated/google/apis/pagespeedonline_v2/service.rb +120 -0
  213. data/generated/google/apis/plus_domains_v1.rb +61 -0
  214. data/generated/google/apis/plus_domains_v1/classes.rb +2402 -0
  215. data/generated/google/apis/plus_domains_v1/representations.rb +873 -0
  216. data/generated/google/apis/plus_domains_v1/service.rb +924 -0
  217. data/generated/google/apis/plus_v1.rb +43 -0
  218. data/generated/google/apis/plus_v1/classes.rb +2384 -0
  219. data/generated/google/apis/plus_v1/representations.rb +812 -0
  220. data/generated/google/apis/plus_v1/service.rb +616 -0
  221. data/generated/google/apis/prediction_v1_6.rb +44 -0
  222. data/generated/google/apis/prediction_v1_6/classes.rb +751 -0
  223. data/generated/google/apis/prediction_v1_6/representations.rb +327 -0
  224. data/generated/google/apis/prediction_v1_6/service.rb +388 -0
  225. data/generated/google/apis/pubsub_v1beta2.rb +37 -0
  226. data/generated/google/apis/pubsub_v1beta2/classes.rb +824 -0
  227. data/generated/google/apis/pubsub_v1beta2/representations.rb +366 -0
  228. data/generated/google/apis/pubsub_v1beta2/service.rb +778 -0
  229. data/generated/google/apis/qpx_express_v1.rb +31 -0
  230. data/generated/google/apis/qpx_express_v1/classes.rb +1268 -0
  231. data/generated/google/apis/qpx_express_v1/representations.rb +424 -0
  232. data/generated/google/apis/qpx_express_v1/service.rb +101 -0
  233. data/generated/google/apis/replicapool_v1beta2.rb +41 -0
  234. data/generated/google/apis/replicapool_v1beta2/classes.rb +621 -0
  235. data/generated/google/apis/replicapool_v1beta2/representations.rb +235 -0
  236. data/generated/google/apis/replicapool_v1beta2/service.rb +620 -0
  237. data/generated/google/apis/replicapoolupdater_v1beta1.rb +41 -0
  238. data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +682 -0
  239. data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +247 -0
  240. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +472 -0
  241. data/generated/google/apis/reseller_v1.rb +37 -0
  242. data/generated/google/apis/reseller_v1/classes.rb +502 -0
  243. data/generated/google/apis/reseller_v1/representations.rb +199 -0
  244. data/generated/google/apis/reseller_v1/service.rb +637 -0
  245. data/generated/google/apis/resourceviews_v1beta2.rb +47 -0
  246. data/generated/google/apis/resourceviews_v1beta2/classes.rb +660 -0
  247. data/generated/google/apis/resourceviews_v1beta2/representations.rb +269 -0
  248. data/generated/google/apis/resourceviews_v1beta2/service.rb +574 -0
  249. data/generated/google/apis/site_verification_v1.rb +37 -0
  250. data/generated/google/apis/site_verification_v1/classes.rb +185 -0
  251. data/generated/google/apis/site_verification_v1/representations.rb +101 -0
  252. data/generated/google/apis/site_verification_v1/service.rb +322 -0
  253. data/generated/google/apis/sqladmin_v1beta4.rb +37 -0
  254. data/generated/google/apis/sqladmin_v1beta4/classes.rb +1817 -0
  255. data/generated/google/apis/sqladmin_v1beta4/representations.rb +688 -0
  256. data/generated/google/apis/sqladmin_v1beta4/service.rb +1534 -0
  257. data/generated/google/apis/storage_v1.rb +43 -0
  258. data/generated/google/apis/storage_v1/classes.rb +1177 -0
  259. data/generated/google/apis/storage_v1/representations.rb +427 -0
  260. data/generated/google/apis/storage_v1/service.rb +1920 -0
  261. data/generated/google/apis/tagmanager_v1.rb +52 -0
  262. data/generated/google/apis/tagmanager_v1/classes.rb +1226 -0
  263. data/generated/google/apis/tagmanager_v1/representations.rb +461 -0
  264. data/generated/google/apis/tagmanager_v1/service.rb +1978 -0
  265. data/generated/google/apis/taskqueue_v1beta2.rb +37 -0
  266. data/generated/google/apis/taskqueue_v1beta2/classes.rb +254 -0
  267. data/generated/google/apis/taskqueue_v1beta2/representations.rb +114 -0
  268. data/generated/google/apis/taskqueue_v1beta2/service.rb +416 -0
  269. data/generated/google/apis/tasks_v1.rb +37 -0
  270. data/generated/google/apis/tasks_v1/classes.rb +296 -0
  271. data/generated/google/apis/tasks_v1/representations.rb +115 -0
  272. data/generated/google/apis/tasks_v1/service.rb +657 -0
  273. data/generated/google/apis/translate_v2.rb +31 -0
  274. data/generated/google/apis/translate_v2/classes.rb +168 -0
  275. data/generated/google/apis/translate_v2/representations.rb +109 -0
  276. data/generated/google/apis/translate_v2/service.rb +185 -0
  277. data/generated/google/apis/urlshortener_v1.rb +34 -0
  278. data/generated/google/apis/urlshortener_v1/classes.rb +246 -0
  279. data/generated/google/apis/urlshortener_v1/representations.rb +111 -0
  280. data/generated/google/apis/urlshortener_v1/service.rb +179 -0
  281. data/generated/google/apis/webmasters_v3.rb +37 -0
  282. data/generated/google/apis/webmasters_v3/classes.rb +563 -0
  283. data/generated/google/apis/webmasters_v3/representations.rb +250 -0
  284. data/generated/google/apis/webmasters_v3/service.rb +587 -0
  285. data/generated/google/apis/youtube_analytics_v1.rb +46 -0
  286. data/generated/google/apis/youtube_analytics_v1/classes.rb +540 -0
  287. data/generated/google/apis/youtube_analytics_v1/representations.rb +242 -0
  288. data/generated/google/apis/youtube_analytics_v1/service.rb +567 -0
  289. data/generated/google/apis/youtube_v3.rb +49 -0
  290. data/generated/google/apis/youtube_v3/classes.rb +7225 -0
  291. data/generated/google/apis/youtube_v3/representations.rb +2529 -0
  292. data/generated/google/apis/youtube_v3/service.rb +4051 -0
  293. data/google-api-client.gemspec +27 -39
  294. data/lib/google/api_client/auth/storage.rb +3 -2
  295. data/lib/google/api_client/auth/storages/file_store.rb +1 -3
  296. data/lib/google/api_client/auth/storages/redis_store.rb +6 -2
  297. data/lib/google/apis.rb +48 -0
  298. data/lib/google/apis/core/api_command.rb +128 -0
  299. data/lib/google/apis/core/base_service.rb +314 -0
  300. data/lib/google/apis/core/batch.rb +222 -0
  301. data/lib/google/apis/core/download.rb +94 -0
  302. data/lib/google/apis/core/hashable.rb +44 -0
  303. data/lib/google/apis/core/http_command.rb +275 -0
  304. data/lib/google/apis/core/json_representation.rb +122 -0
  305. data/lib/google/{api_client/version.rb → apis/core/logging.rb} +12 -8
  306. data/lib/google/apis/core/multipart.rb +173 -0
  307. data/lib/google/apis/core/upload.rb +275 -0
  308. data/lib/google/{api_client → apis}/errors.rb +32 -28
  309. data/lib/google/apis/generator.rb +70 -0
  310. data/lib/google/apis/generator/annotator.rb +271 -0
  311. data/lib/google/apis/generator/helpers.rb +74 -0
  312. data/lib/google/apis/generator/model.rb +130 -0
  313. data/lib/google/apis/generator/template.rb +124 -0
  314. data/lib/google/apis/generator/templates/_class.tmpl +40 -0
  315. data/lib/google/apis/generator/templates/_method.tmpl +90 -0
  316. data/lib/google/apis/generator/templates/_representation.tmpl +51 -0
  317. data/lib/google/apis/generator/templates/_representation_stub.tmpl +15 -0
  318. data/lib/google/apis/generator/templates/_representation_type.tmpl +10 -0
  319. data/lib/google/{api_client/reference.rb → apis/generator/templates/classes.rb.tmpl} +11 -9
  320. data/lib/google/apis/generator/templates/module.rb.tmpl +40 -0
  321. data/lib/google/apis/generator/templates/representations.rb.tmpl +32 -0
  322. data/lib/google/apis/generator/templates/service.rb.tmpl +60 -0
  323. data/lib/google/apis/options.rb +79 -0
  324. data/lib/google/apis/version.rb +39 -0
  325. data/rakelib/metrics.rake +22 -0
  326. data/rakelib/rubocop.rake +10 -0
  327. data/rakelib/spec.rake +11 -0
  328. data/rakelib/yard.rake +11 -0
  329. data/samples/calendar/calendar.rb +43 -0
  330. data/samples/drive/drive.rb +40 -0
  331. data/samples/pubsub/pubsub.rb +52 -0
  332. data/{lib/google/api_client/discovery.rb → samples/translate/translate.rb} +14 -5
  333. data/script/generate +79 -0
  334. data/script/package +8 -0
  335. data/script/release +15 -0
  336. data/spec/fixtures/files/api_names.yaml +3 -0
  337. data/spec/fixtures/files/auth_stored_credentials.json +8 -0
  338. data/spec/fixtures/files/client_secrets.json +1 -0
  339. data/spec/fixtures/files/test.blah +1 -0
  340. data/spec/fixtures/files/test.txt +1 -0
  341. data/spec/fixtures/files/test_api.json +440 -0
  342. data/spec/google/api_client/auth/storage_spec.rb +1 -3
  343. data/spec/google/api_client/auth/storages/file_store_spec.rb +1 -2
  344. data/spec/google/api_client/auth/storages/redis_store_spec.rb +1 -3
  345. data/spec/google/apis/core/api_command_spec.rb +170 -0
  346. data/spec/google/apis/core/batch_spec.rb +128 -0
  347. data/spec/google/apis/core/download_spec.rb +90 -0
  348. data/spec/google/apis/core/hashable_spec.rb +60 -0
  349. data/spec/google/apis/core/http_command_spec.rb +238 -0
  350. data/spec/google/apis/core/json_representation_spec.rb +192 -0
  351. data/spec/google/apis/core/service_spec.rb +247 -0
  352. data/spec/google/apis/core/upload_spec.rb +238 -0
  353. data/{lib/google/api_client/service_account.rb → spec/google/apis/generated_spec.rb} +14 -8
  354. data/spec/google/apis/generator/generator_spec.rb +272 -0
  355. data/spec/google/apis/logging_spec.rb +45 -0
  356. data/spec/google/apis/options_spec.rb +40 -0
  357. data/spec/integration_tests/drive_spec.rb +35 -0
  358. data/spec/integration_tests/pubsub_spec.rb +48 -0
  359. data/spec/integration_tests/url_shortener_spec.rb +31 -0
  360. data/spec/spec_helper.rb +102 -46
  361. metadata +433 -178
  362. data/lib/compat/multi_json.rb +0 -19
  363. data/lib/google/api_client.rb +0 -750
  364. data/lib/google/api_client/auth/file_storage.rb +0 -59
  365. data/lib/google/api_client/auth/jwt_asserter.rb +0 -126
  366. data/lib/google/api_client/auth/key_utils.rb +0 -93
  367. data/lib/google/api_client/auth/pkcs12.rb +0 -41
  368. data/lib/google/api_client/batch.rb +0 -326
  369. data/lib/google/api_client/charset.rb +0 -33
  370. data/lib/google/api_client/discovery/api.rb +0 -310
  371. data/lib/google/api_client/discovery/media.rb +0 -77
  372. data/lib/google/api_client/discovery/method.rb +0 -363
  373. data/lib/google/api_client/discovery/resource.rb +0 -156
  374. data/lib/google/api_client/discovery/schema.rb +0 -117
  375. data/lib/google/api_client/environment.rb +0 -42
  376. data/lib/google/api_client/gzip.rb +0 -28
  377. data/lib/google/api_client/logging.rb +0 -32
  378. data/lib/google/api_client/media.rb +0 -259
  379. data/lib/google/api_client/railtie.rb +0 -18
  380. data/lib/google/api_client/request.rb +0 -350
  381. data/lib/google/api_client/result.rb +0 -255
  382. data/lib/google/api_client/service.rb +0 -233
  383. data/lib/google/api_client/service/batch.rb +0 -110
  384. data/lib/google/api_client/service/request.rb +0 -144
  385. data/lib/google/api_client/service/resource.rb +0 -40
  386. data/lib/google/api_client/service/result.rb +0 -162
  387. data/lib/google/api_client/service/simple_file_store.rb +0 -151
  388. data/lib/google/api_client/service/stub_generator.rb +0 -61
  389. data/spec/google/api_client/batch_spec.rb +0 -248
  390. data/spec/google/api_client/discovery_spec.rb +0 -708
  391. data/spec/google/api_client/gzip_spec.rb +0 -98
  392. data/spec/google/api_client/media_spec.rb +0 -178
  393. data/spec/google/api_client/result_spec.rb +0 -207
  394. data/spec/google/api_client/service_account_spec.rb +0 -169
  395. data/spec/google/api_client/service_spec.rb +0 -618
  396. data/spec/google/api_client/simple_file_store_spec.rb +0 -133
  397. data/spec/google/api_client_spec.rb +0 -352
@@ -0,0 +1,1661 @@
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 AnalyticsV3
24
+
25
+ class Account
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ class ChildLink
29
+ class Representation < Google::Apis::Core::JsonRepresentation; end
30
+ end
31
+
32
+ class Permissions
33
+ class Representation < Google::Apis::Core::JsonRepresentation; end
34
+ end
35
+ end
36
+
37
+ class AccountRef
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+ end
40
+
41
+ class AccountSummaries
42
+ class Representation < Google::Apis::Core::JsonRepresentation; end
43
+ end
44
+
45
+ class AccountSummary
46
+ class Representation < Google::Apis::Core::JsonRepresentation; end
47
+ end
48
+
49
+ class AccountTicket
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+ end
52
+
53
+ class Accounts
54
+ class Representation < Google::Apis::Core::JsonRepresentation; end
55
+ end
56
+
57
+ class AdWordsAccount
58
+ class Representation < Google::Apis::Core::JsonRepresentation; end
59
+ end
60
+
61
+ class DeleteUploadDataRequest
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+ end
64
+
65
+ class Column
66
+ class Representation < Google::Apis::Core::JsonRepresentation; end
67
+ end
68
+
69
+ class Columns
70
+ class Representation < Google::Apis::Core::JsonRepresentation; end
71
+ end
72
+
73
+ class CustomDataSource
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ class ChildLink
77
+ class Representation < Google::Apis::Core::JsonRepresentation; end
78
+ end
79
+
80
+ class ParentLink
81
+ class Representation < Google::Apis::Core::JsonRepresentation; end
82
+ end
83
+ end
84
+
85
+ class CustomDataSources
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+ end
88
+
89
+ class CustomDimension
90
+ class Representation < Google::Apis::Core::JsonRepresentation; end
91
+
92
+ class ParentLink
93
+ class Representation < Google::Apis::Core::JsonRepresentation; end
94
+ end
95
+ end
96
+
97
+ class CustomDimensions
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+ end
100
+
101
+ class CustomMetric
102
+ class Representation < Google::Apis::Core::JsonRepresentation; end
103
+
104
+ class ParentLink
105
+ class Representation < Google::Apis::Core::JsonRepresentation; end
106
+ end
107
+ end
108
+
109
+ class CustomMetrics
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+ end
112
+
113
+ class EntityAdWordsLink
114
+ class Representation < Google::Apis::Core::JsonRepresentation; end
115
+
116
+ class Entity
117
+ class Representation < Google::Apis::Core::JsonRepresentation; end
118
+ end
119
+ end
120
+
121
+ class EntityAdWordsLinks
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+ end
124
+
125
+ class EntityUserLink
126
+ class Representation < Google::Apis::Core::JsonRepresentation; end
127
+
128
+ class Entity
129
+ class Representation < Google::Apis::Core::JsonRepresentation; end
130
+ end
131
+
132
+ class Permissions
133
+ class Representation < Google::Apis::Core::JsonRepresentation; end
134
+ end
135
+ end
136
+
137
+ class EntityUserLinks
138
+ class Representation < Google::Apis::Core::JsonRepresentation; end
139
+ end
140
+
141
+ class Experiment
142
+ class Representation < Google::Apis::Core::JsonRepresentation; end
143
+
144
+ class ParentLink
145
+ class Representation < Google::Apis::Core::JsonRepresentation; end
146
+ end
147
+
148
+ class Variation
149
+ class Representation < Google::Apis::Core::JsonRepresentation; end
150
+ end
151
+ end
152
+
153
+ class Experiments
154
+ class Representation < Google::Apis::Core::JsonRepresentation; end
155
+ end
156
+
157
+ class Filter
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ class AdvancedDetails
161
+ class Representation < Google::Apis::Core::JsonRepresentation; end
162
+ end
163
+
164
+ class LowercaseDetails
165
+ class Representation < Google::Apis::Core::JsonRepresentation; end
166
+ end
167
+
168
+ class ParentLink
169
+ class Representation < Google::Apis::Core::JsonRepresentation; end
170
+ end
171
+
172
+ class SearchAndReplaceDetails
173
+ class Representation < Google::Apis::Core::JsonRepresentation; end
174
+ end
175
+
176
+ class UppercaseDetails
177
+ class Representation < Google::Apis::Core::JsonRepresentation; end
178
+ end
179
+ end
180
+
181
+ class FilterExpression
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+ end
184
+
185
+ class FilterRef
186
+ class Representation < Google::Apis::Core::JsonRepresentation; end
187
+ end
188
+
189
+ class Filters
190
+ class Representation < Google::Apis::Core::JsonRepresentation; end
191
+ end
192
+
193
+ class GaData
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ class ColumnHeader
197
+ class Representation < Google::Apis::Core::JsonRepresentation; end
198
+ end
199
+
200
+ class DataTable
201
+ class Representation < Google::Apis::Core::JsonRepresentation; end
202
+
203
+ class Col
204
+ class Representation < Google::Apis::Core::JsonRepresentation; end
205
+ end
206
+
207
+ class Row
208
+ class Representation < Google::Apis::Core::JsonRepresentation; end
209
+
210
+ class C
211
+ class Representation < Google::Apis::Core::JsonRepresentation; end
212
+ end
213
+ end
214
+ end
215
+
216
+ class ProfileInfo
217
+ class Representation < Google::Apis::Core::JsonRepresentation; end
218
+ end
219
+
220
+ class Query
221
+ class Representation < Google::Apis::Core::JsonRepresentation; end
222
+ end
223
+ end
224
+
225
+ class Goal
226
+ class Representation < Google::Apis::Core::JsonRepresentation; end
227
+
228
+ class EventDetails
229
+ class Representation < Google::Apis::Core::JsonRepresentation; end
230
+
231
+ class EventCondition
232
+ class Representation < Google::Apis::Core::JsonRepresentation; end
233
+ end
234
+ end
235
+
236
+ class ParentLink
237
+ class Representation < Google::Apis::Core::JsonRepresentation; end
238
+ end
239
+
240
+ class UrlDestinationDetails
241
+ class Representation < Google::Apis::Core::JsonRepresentation; end
242
+
243
+ class Step
244
+ class Representation < Google::Apis::Core::JsonRepresentation; end
245
+ end
246
+ end
247
+
248
+ class VisitNumPagesDetails
249
+ class Representation < Google::Apis::Core::JsonRepresentation; end
250
+ end
251
+
252
+ class VisitTimeOnSiteDetails
253
+ class Representation < Google::Apis::Core::JsonRepresentation; end
254
+ end
255
+ end
256
+
257
+ class Goals
258
+ class Representation < Google::Apis::Core::JsonRepresentation; end
259
+ end
260
+
261
+ class McfData
262
+ class Representation < Google::Apis::Core::JsonRepresentation; end
263
+
264
+ class ColumnHeader
265
+ class Representation < Google::Apis::Core::JsonRepresentation; end
266
+ end
267
+
268
+ class ProfileInfo
269
+ class Representation < Google::Apis::Core::JsonRepresentation; end
270
+ end
271
+
272
+ class Query
273
+ class Representation < Google::Apis::Core::JsonRepresentation; end
274
+ end
275
+
276
+ class Row
277
+ class Representation < Google::Apis::Core::JsonRepresentation; end
278
+
279
+ class ConversionPathValue
280
+ class Representation < Google::Apis::Core::JsonRepresentation; end
281
+ end
282
+ end
283
+ end
284
+
285
+ class Profile
286
+ class Representation < Google::Apis::Core::JsonRepresentation; end
287
+
288
+ class ChildLink
289
+ class Representation < Google::Apis::Core::JsonRepresentation; end
290
+ end
291
+
292
+ class ParentLink
293
+ class Representation < Google::Apis::Core::JsonRepresentation; end
294
+ end
295
+
296
+ class Permissions
297
+ class Representation < Google::Apis::Core::JsonRepresentation; end
298
+ end
299
+ end
300
+
301
+ class ProfileFilterLink
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+ end
304
+
305
+ class ProfileFilterLinks
306
+ class Representation < Google::Apis::Core::JsonRepresentation; end
307
+ end
308
+
309
+ class ProfileRef
310
+ class Representation < Google::Apis::Core::JsonRepresentation; end
311
+ end
312
+
313
+ class ProfileSummary
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+ end
316
+
317
+ class Profiles
318
+ class Representation < Google::Apis::Core::JsonRepresentation; end
319
+ end
320
+
321
+ class RealtimeData
322
+ class Representation < Google::Apis::Core::JsonRepresentation; end
323
+
324
+ class ColumnHeader
325
+ class Representation < Google::Apis::Core::JsonRepresentation; end
326
+ end
327
+
328
+ class ProfileInfo
329
+ class Representation < Google::Apis::Core::JsonRepresentation; end
330
+ end
331
+
332
+ class Query
333
+ class Representation < Google::Apis::Core::JsonRepresentation; end
334
+ end
335
+ end
336
+
337
+ class Segment
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+ end
340
+
341
+ class Segments
342
+ class Representation < Google::Apis::Core::JsonRepresentation; end
343
+ end
344
+
345
+ class UnsampledReport
346
+ class Representation < Google::Apis::Core::JsonRepresentation; end
347
+
348
+ class CloudStorageDownloadDetails
349
+ class Representation < Google::Apis::Core::JsonRepresentation; end
350
+ end
351
+
352
+ class DriveDownloadDetails
353
+ class Representation < Google::Apis::Core::JsonRepresentation; end
354
+ end
355
+ end
356
+
357
+ class UnsampledReports
358
+ class Representation < Google::Apis::Core::JsonRepresentation; end
359
+ end
360
+
361
+ class Upload
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+ end
364
+
365
+ class Uploads
366
+ class Representation < Google::Apis::Core::JsonRepresentation; end
367
+ end
368
+
369
+ class UserRef
370
+ class Representation < Google::Apis::Core::JsonRepresentation; end
371
+ end
372
+
373
+ class WebPropertyRef
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+ end
376
+
377
+ class WebPropertySummary
378
+ class Representation < Google::Apis::Core::JsonRepresentation; end
379
+ end
380
+
381
+ class Webproperties
382
+ class Representation < Google::Apis::Core::JsonRepresentation; end
383
+ end
384
+
385
+ class Webproperty
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ class ChildLink
389
+ class Representation < Google::Apis::Core::JsonRepresentation; end
390
+ end
391
+
392
+ class ParentLink
393
+ class Representation < Google::Apis::Core::JsonRepresentation; end
394
+ end
395
+
396
+ class Permissions
397
+ class Representation < Google::Apis::Core::JsonRepresentation; end
398
+ end
399
+ end
400
+
401
+ class Account
402
+ # @private
403
+ class Representation < Google::Apis::Core::JsonRepresentation
404
+ property :child_link, as: 'childLink', class: Google::Apis::AnalyticsV3::Account::ChildLink, decorator: Google::Apis::AnalyticsV3::Account::ChildLink::Representation
405
+
406
+ property :created, as: 'created', type: DateTime
407
+
408
+ property :id, as: 'id'
409
+ property :kind, as: 'kind'
410
+ property :name, as: 'name'
411
+ property :permissions, as: 'permissions', class: Google::Apis::AnalyticsV3::Account::Permissions, decorator: Google::Apis::AnalyticsV3::Account::Permissions::Representation
412
+
413
+ property :self_link, as: 'selfLink'
414
+ property :updated, as: 'updated', type: DateTime
415
+
416
+ end
417
+
418
+ class ChildLink
419
+ # @private
420
+ class Representation < Google::Apis::Core::JsonRepresentation
421
+ property :href, as: 'href'
422
+ property :type, as: 'type'
423
+ end
424
+ end
425
+
426
+ class Permissions
427
+ # @private
428
+ class Representation < Google::Apis::Core::JsonRepresentation
429
+ collection :effective, as: 'effective'
430
+ end
431
+ end
432
+ end
433
+
434
+ class AccountRef
435
+ # @private
436
+ class Representation < Google::Apis::Core::JsonRepresentation
437
+ property :href, as: 'href'
438
+ property :id, as: 'id'
439
+ property :kind, as: 'kind'
440
+ property :name, as: 'name'
441
+ end
442
+ end
443
+
444
+ class AccountSummaries
445
+ # @private
446
+ class Representation < Google::Apis::Core::JsonRepresentation
447
+ collection :items, as: 'items', class: Google::Apis::AnalyticsV3::AccountSummary, decorator: Google::Apis::AnalyticsV3::AccountSummary::Representation
448
+
449
+ property :items_per_page, as: 'itemsPerPage'
450
+ property :kind, as: 'kind'
451
+ property :next_link, as: 'nextLink'
452
+ property :previous_link, as: 'previousLink'
453
+ property :start_index, as: 'startIndex'
454
+ property :total_results, as: 'totalResults'
455
+ property :username, as: 'username'
456
+ end
457
+ end
458
+
459
+ class AccountSummary
460
+ # @private
461
+ class Representation < Google::Apis::Core::JsonRepresentation
462
+ property :id, as: 'id'
463
+ property :kind, as: 'kind'
464
+ property :name, as: 'name'
465
+ collection :web_properties, as: 'webProperties', class: Google::Apis::AnalyticsV3::WebPropertySummary, decorator: Google::Apis::AnalyticsV3::WebPropertySummary::Representation
466
+
467
+ end
468
+ end
469
+
470
+ class AccountTicket
471
+ # @private
472
+ class Representation < Google::Apis::Core::JsonRepresentation
473
+ property :account, as: 'account', class: Google::Apis::AnalyticsV3::Account, decorator: Google::Apis::AnalyticsV3::Account::Representation
474
+
475
+ property :id, as: 'id'
476
+ property :kind, as: 'kind'
477
+ property :profile, as: 'profile', class: Google::Apis::AnalyticsV3::Profile, decorator: Google::Apis::AnalyticsV3::Profile::Representation
478
+
479
+ property :redirect_uri, as: 'redirectUri'
480
+ property :webproperty, as: 'webproperty', class: Google::Apis::AnalyticsV3::Webproperty, decorator: Google::Apis::AnalyticsV3::Webproperty::Representation
481
+
482
+ end
483
+ end
484
+
485
+ class Accounts
486
+ # @private
487
+ class Representation < Google::Apis::Core::JsonRepresentation
488
+ collection :items, as: 'items', class: Google::Apis::AnalyticsV3::Account, decorator: Google::Apis::AnalyticsV3::Account::Representation
489
+
490
+ property :items_per_page, as: 'itemsPerPage'
491
+ property :kind, as: 'kind'
492
+ property :next_link, as: 'nextLink'
493
+ property :previous_link, as: 'previousLink'
494
+ property :start_index, as: 'startIndex'
495
+ property :total_results, as: 'totalResults'
496
+ property :username, as: 'username'
497
+ end
498
+ end
499
+
500
+ class AdWordsAccount
501
+ # @private
502
+ class Representation < Google::Apis::Core::JsonRepresentation
503
+ property :auto_tagging_enabled, as: 'autoTaggingEnabled'
504
+ property :customer_id, as: 'customerId'
505
+ property :kind, as: 'kind'
506
+ end
507
+ end
508
+
509
+ class DeleteUploadDataRequest
510
+ # @private
511
+ class Representation < Google::Apis::Core::JsonRepresentation
512
+ collection :custom_data_import_uids, as: 'customDataImportUids'
513
+ end
514
+ end
515
+
516
+ class Column
517
+ # @private
518
+ class Representation < Google::Apis::Core::JsonRepresentation
519
+ hash :attributes, as: 'attributes'
520
+ property :id, as: 'id'
521
+ property :kind, as: 'kind'
522
+ end
523
+ end
524
+
525
+ class Columns
526
+ # @private
527
+ class Representation < Google::Apis::Core::JsonRepresentation
528
+ collection :attribute_names, as: 'attributeNames'
529
+ property :etag, as: 'etag'
530
+ collection :items, as: 'items', class: Google::Apis::AnalyticsV3::Column, decorator: Google::Apis::AnalyticsV3::Column::Representation
531
+
532
+ property :kind, as: 'kind'
533
+ property :total_results, as: 'totalResults'
534
+ end
535
+ end
536
+
537
+ class CustomDataSource
538
+ # @private
539
+ class Representation < Google::Apis::Core::JsonRepresentation
540
+ property :account_id, as: 'accountId'
541
+ property :child_link, as: 'childLink', class: Google::Apis::AnalyticsV3::CustomDataSource::ChildLink, decorator: Google::Apis::AnalyticsV3::CustomDataSource::ChildLink::Representation
542
+
543
+ property :created, as: 'created', type: DateTime
544
+
545
+ property :description, as: 'description'
546
+ property :id, as: 'id'
547
+ property :import_behavior, as: 'importBehavior'
548
+ property :kind, as: 'kind'
549
+ property :name, as: 'name'
550
+ property :parent_link, as: 'parentLink', class: Google::Apis::AnalyticsV3::CustomDataSource::ParentLink, decorator: Google::Apis::AnalyticsV3::CustomDataSource::ParentLink::Representation
551
+
552
+ collection :profiles_linked, as: 'profilesLinked'
553
+ property :self_link, as: 'selfLink'
554
+ property :type, as: 'type'
555
+ property :updated, as: 'updated', type: DateTime
556
+
557
+ property :upload_type, as: 'uploadType'
558
+ property :web_property_id, as: 'webPropertyId'
559
+ end
560
+
561
+ class ChildLink
562
+ # @private
563
+ class Representation < Google::Apis::Core::JsonRepresentation
564
+ property :href, as: 'href'
565
+ property :type, as: 'type'
566
+ end
567
+ end
568
+
569
+ class ParentLink
570
+ # @private
571
+ class Representation < Google::Apis::Core::JsonRepresentation
572
+ property :href, as: 'href'
573
+ property :type, as: 'type'
574
+ end
575
+ end
576
+ end
577
+
578
+ class CustomDataSources
579
+ # @private
580
+ class Representation < Google::Apis::Core::JsonRepresentation
581
+ collection :items, as: 'items', class: Google::Apis::AnalyticsV3::CustomDataSource, decorator: Google::Apis::AnalyticsV3::CustomDataSource::Representation
582
+
583
+ property :items_per_page, as: 'itemsPerPage'
584
+ property :kind, as: 'kind'
585
+ property :next_link, as: 'nextLink'
586
+ property :previous_link, as: 'previousLink'
587
+ property :start_index, as: 'startIndex'
588
+ property :total_results, as: 'totalResults'
589
+ property :username, as: 'username'
590
+ end
591
+ end
592
+
593
+ class CustomDimension
594
+ # @private
595
+ class Representation < Google::Apis::Core::JsonRepresentation
596
+ property :account_id, as: 'accountId'
597
+ property :active, as: 'active'
598
+ property :created, as: 'created', type: DateTime
599
+
600
+ property :id, as: 'id'
601
+ property :index, as: 'index'
602
+ property :kind, as: 'kind'
603
+ property :name, as: 'name'
604
+ property :parent_link, as: 'parentLink', class: Google::Apis::AnalyticsV3::CustomDimension::ParentLink, decorator: Google::Apis::AnalyticsV3::CustomDimension::ParentLink::Representation
605
+
606
+ property :scope, as: 'scope'
607
+ property :self_link, as: 'selfLink'
608
+ property :updated, as: 'updated', type: DateTime
609
+
610
+ property :web_property_id, as: 'webPropertyId'
611
+ end
612
+
613
+ class ParentLink
614
+ # @private
615
+ class Representation < Google::Apis::Core::JsonRepresentation
616
+ property :href, as: 'href'
617
+ property :type, as: 'type'
618
+ end
619
+ end
620
+ end
621
+
622
+ class CustomDimensions
623
+ # @private
624
+ class Representation < Google::Apis::Core::JsonRepresentation
625
+ collection :items, as: 'items', class: Google::Apis::AnalyticsV3::CustomDimension, decorator: Google::Apis::AnalyticsV3::CustomDimension::Representation
626
+
627
+ property :items_per_page, as: 'itemsPerPage'
628
+ property :kind, as: 'kind'
629
+ property :next_link, as: 'nextLink'
630
+ property :previous_link, as: 'previousLink'
631
+ property :start_index, as: 'startIndex'
632
+ property :total_results, as: 'totalResults'
633
+ property :username, as: 'username'
634
+ end
635
+ end
636
+
637
+ class CustomMetric
638
+ # @private
639
+ class Representation < Google::Apis::Core::JsonRepresentation
640
+ property :account_id, as: 'accountId'
641
+ property :active, as: 'active'
642
+ property :created, as: 'created', type: DateTime
643
+
644
+ property :id, as: 'id'
645
+ property :index, as: 'index'
646
+ property :kind, as: 'kind'
647
+ property :max_value, as: 'max_value'
648
+ property :min_value, as: 'min_value'
649
+ property :name, as: 'name'
650
+ property :parent_link, as: 'parentLink', class: Google::Apis::AnalyticsV3::CustomMetric::ParentLink, decorator: Google::Apis::AnalyticsV3::CustomMetric::ParentLink::Representation
651
+
652
+ property :scope, as: 'scope'
653
+ property :self_link, as: 'selfLink'
654
+ property :type, as: 'type'
655
+ property :updated, as: 'updated', type: DateTime
656
+
657
+ property :web_property_id, as: 'webPropertyId'
658
+ end
659
+
660
+ class ParentLink
661
+ # @private
662
+ class Representation < Google::Apis::Core::JsonRepresentation
663
+ property :href, as: 'href'
664
+ property :type, as: 'type'
665
+ end
666
+ end
667
+ end
668
+
669
+ class CustomMetrics
670
+ # @private
671
+ class Representation < Google::Apis::Core::JsonRepresentation
672
+ collection :items, as: 'items', class: Google::Apis::AnalyticsV3::CustomMetric, decorator: Google::Apis::AnalyticsV3::CustomMetric::Representation
673
+
674
+ property :items_per_page, as: 'itemsPerPage'
675
+ property :kind, as: 'kind'
676
+ property :next_link, as: 'nextLink'
677
+ property :previous_link, as: 'previousLink'
678
+ property :start_index, as: 'startIndex'
679
+ property :total_results, as: 'totalResults'
680
+ property :username, as: 'username'
681
+ end
682
+ end
683
+
684
+ class EntityAdWordsLink
685
+ # @private
686
+ class Representation < Google::Apis::Core::JsonRepresentation
687
+ collection :ad_words_accounts, as: 'adWordsAccounts', class: Google::Apis::AnalyticsV3::AdWordsAccount, decorator: Google::Apis::AnalyticsV3::AdWordsAccount::Representation
688
+
689
+ property :entity, as: 'entity', class: Google::Apis::AnalyticsV3::EntityAdWordsLink::Entity, decorator: Google::Apis::AnalyticsV3::EntityAdWordsLink::Entity::Representation
690
+
691
+ property :id, as: 'id'
692
+ property :kind, as: 'kind'
693
+ property :name, as: 'name'
694
+ collection :profile_ids, as: 'profileIds'
695
+ property :self_link, as: 'selfLink'
696
+ end
697
+
698
+ class Entity
699
+ # @private
700
+ class Representation < Google::Apis::Core::JsonRepresentation
701
+ property :web_property_ref, as: 'webPropertyRef', class: Google::Apis::AnalyticsV3::WebPropertyRef, decorator: Google::Apis::AnalyticsV3::WebPropertyRef::Representation
702
+
703
+ end
704
+ end
705
+ end
706
+
707
+ class EntityAdWordsLinks
708
+ # @private
709
+ class Representation < Google::Apis::Core::JsonRepresentation
710
+ collection :items, as: 'items', class: Google::Apis::AnalyticsV3::EntityAdWordsLink, decorator: Google::Apis::AnalyticsV3::EntityAdWordsLink::Representation
711
+
712
+ property :items_per_page, as: 'itemsPerPage'
713
+ property :kind, as: 'kind'
714
+ property :next_link, as: 'nextLink'
715
+ property :previous_link, as: 'previousLink'
716
+ property :start_index, as: 'startIndex'
717
+ property :total_results, as: 'totalResults'
718
+ end
719
+ end
720
+
721
+ class EntityUserLink
722
+ # @private
723
+ class Representation < Google::Apis::Core::JsonRepresentation
724
+ property :entity, as: 'entity', class: Google::Apis::AnalyticsV3::EntityUserLink::Entity, decorator: Google::Apis::AnalyticsV3::EntityUserLink::Entity::Representation
725
+
726
+ property :id, as: 'id'
727
+ property :kind, as: 'kind'
728
+ property :permissions, as: 'permissions', class: Google::Apis::AnalyticsV3::EntityUserLink::Permissions, decorator: Google::Apis::AnalyticsV3::EntityUserLink::Permissions::Representation
729
+
730
+ property :self_link, as: 'selfLink'
731
+ property :user_ref, as: 'userRef', class: Google::Apis::AnalyticsV3::UserRef, decorator: Google::Apis::AnalyticsV3::UserRef::Representation
732
+
733
+ end
734
+
735
+ class Entity
736
+ # @private
737
+ class Representation < Google::Apis::Core::JsonRepresentation
738
+ property :account_ref, as: 'accountRef', class: Google::Apis::AnalyticsV3::AccountRef, decorator: Google::Apis::AnalyticsV3::AccountRef::Representation
739
+
740
+ property :profile_ref, as: 'profileRef', class: Google::Apis::AnalyticsV3::ProfileRef, decorator: Google::Apis::AnalyticsV3::ProfileRef::Representation
741
+
742
+ property :web_property_ref, as: 'webPropertyRef', class: Google::Apis::AnalyticsV3::WebPropertyRef, decorator: Google::Apis::AnalyticsV3::WebPropertyRef::Representation
743
+
744
+ end
745
+ end
746
+
747
+ class Permissions
748
+ # @private
749
+ class Representation < Google::Apis::Core::JsonRepresentation
750
+ collection :effective, as: 'effective'
751
+ collection :local, as: 'local'
752
+ end
753
+ end
754
+ end
755
+
756
+ class EntityUserLinks
757
+ # @private
758
+ class Representation < Google::Apis::Core::JsonRepresentation
759
+ collection :items, as: 'items', class: Google::Apis::AnalyticsV3::EntityUserLink, decorator: Google::Apis::AnalyticsV3::EntityUserLink::Representation
760
+
761
+ property :items_per_page, as: 'itemsPerPage'
762
+ property :kind, as: 'kind'
763
+ property :next_link, as: 'nextLink'
764
+ property :previous_link, as: 'previousLink'
765
+ property :start_index, as: 'startIndex'
766
+ property :total_results, as: 'totalResults'
767
+ end
768
+ end
769
+
770
+ class Experiment
771
+ # @private
772
+ class Representation < Google::Apis::Core::JsonRepresentation
773
+ property :account_id, as: 'accountId'
774
+ property :created, as: 'created', type: DateTime
775
+
776
+ property :description, as: 'description'
777
+ property :editable_in_ga_ui, as: 'editableInGaUi'
778
+ property :end_time, as: 'endTime', type: DateTime
779
+
780
+ property :equal_weighting, as: 'equalWeighting'
781
+ property :id, as: 'id'
782
+ property :internal_web_property_id, as: 'internalWebPropertyId'
783
+ property :kind, as: 'kind'
784
+ property :minimum_experiment_length_in_days, as: 'minimumExperimentLengthInDays'
785
+ property :name, as: 'name'
786
+ property :objective_metric, as: 'objectiveMetric'
787
+ property :optimization_type, as: 'optimizationType'
788
+ property :parent_link, as: 'parentLink', class: Google::Apis::AnalyticsV3::Experiment::ParentLink, decorator: Google::Apis::AnalyticsV3::Experiment::ParentLink::Representation
789
+
790
+ property :profile_id, as: 'profileId'
791
+ property :reason_experiment_ended, as: 'reasonExperimentEnded'
792
+ property :rewrite_variation_urls_as_original, as: 'rewriteVariationUrlsAsOriginal'
793
+ property :self_link, as: 'selfLink'
794
+ property :serving_framework, as: 'servingFramework'
795
+ property :snippet, as: 'snippet'
796
+ property :start_time, as: 'startTime', type: DateTime
797
+
798
+ property :status, as: 'status'
799
+ property :traffic_coverage, as: 'trafficCoverage'
800
+ property :updated, as: 'updated', type: DateTime
801
+
802
+ collection :variations, as: 'variations', class: Google::Apis::AnalyticsV3::Experiment::Variation, decorator: Google::Apis::AnalyticsV3::Experiment::Variation::Representation
803
+
804
+ property :web_property_id, as: 'webPropertyId'
805
+ property :winner_confidence_level, as: 'winnerConfidenceLevel'
806
+ property :winner_found, as: 'winnerFound'
807
+ end
808
+
809
+ class ParentLink
810
+ # @private
811
+ class Representation < Google::Apis::Core::JsonRepresentation
812
+ property :href, as: 'href'
813
+ property :type, as: 'type'
814
+ end
815
+ end
816
+
817
+ class Variation
818
+ # @private
819
+ class Representation < Google::Apis::Core::JsonRepresentation
820
+ property :name, as: 'name'
821
+ property :status, as: 'status'
822
+ property :url, as: 'url'
823
+ property :weight, as: 'weight'
824
+ property :won, as: 'won'
825
+ end
826
+ end
827
+ end
828
+
829
+ class Experiments
830
+ # @private
831
+ class Representation < Google::Apis::Core::JsonRepresentation
832
+ collection :items, as: 'items', class: Google::Apis::AnalyticsV3::Experiment, decorator: Google::Apis::AnalyticsV3::Experiment::Representation
833
+
834
+ property :items_per_page, as: 'itemsPerPage'
835
+ property :kind, as: 'kind'
836
+ property :next_link, as: 'nextLink'
837
+ property :previous_link, as: 'previousLink'
838
+ property :start_index, as: 'startIndex'
839
+ property :total_results, as: 'totalResults'
840
+ property :username, as: 'username'
841
+ end
842
+ end
843
+
844
+ class Filter
845
+ # @private
846
+ class Representation < Google::Apis::Core::JsonRepresentation
847
+ property :account_id, as: 'accountId'
848
+ property :advanced_details, as: 'advancedDetails', class: Google::Apis::AnalyticsV3::Filter::AdvancedDetails, decorator: Google::Apis::AnalyticsV3::Filter::AdvancedDetails::Representation
849
+
850
+ property :created, as: 'created', type: DateTime
851
+
852
+ property :exclude_details, as: 'excludeDetails', class: Google::Apis::AnalyticsV3::FilterExpression, decorator: Google::Apis::AnalyticsV3::FilterExpression::Representation
853
+
854
+ property :id, as: 'id'
855
+ property :include_details, as: 'includeDetails', class: Google::Apis::AnalyticsV3::FilterExpression, decorator: Google::Apis::AnalyticsV3::FilterExpression::Representation
856
+
857
+ property :kind, as: 'kind'
858
+ property :lowercase_details, as: 'lowercaseDetails', class: Google::Apis::AnalyticsV3::Filter::LowercaseDetails, decorator: Google::Apis::AnalyticsV3::Filter::LowercaseDetails::Representation
859
+
860
+ property :name, as: 'name'
861
+ property :parent_link, as: 'parentLink', class: Google::Apis::AnalyticsV3::Filter::ParentLink, decorator: Google::Apis::AnalyticsV3::Filter::ParentLink::Representation
862
+
863
+ property :search_and_replace_details, as: 'searchAndReplaceDetails', class: Google::Apis::AnalyticsV3::Filter::SearchAndReplaceDetails, decorator: Google::Apis::AnalyticsV3::Filter::SearchAndReplaceDetails::Representation
864
+
865
+ property :self_link, as: 'selfLink'
866
+ property :type, as: 'type'
867
+ property :updated, as: 'updated', type: DateTime
868
+
869
+ property :uppercase_details, as: 'uppercaseDetails', class: Google::Apis::AnalyticsV3::Filter::UppercaseDetails, decorator: Google::Apis::AnalyticsV3::Filter::UppercaseDetails::Representation
870
+
871
+ end
872
+
873
+ class AdvancedDetails
874
+ # @private
875
+ class Representation < Google::Apis::Core::JsonRepresentation
876
+ property :case_sensitive, as: 'caseSensitive'
877
+ property :extract_a, as: 'extractA'
878
+ property :extract_b, as: 'extractB'
879
+ property :field_a, as: 'fieldA'
880
+ property :field_a_index, as: 'fieldAIndex'
881
+ property :field_a_required, as: 'fieldARequired'
882
+ property :field_b, as: 'fieldB'
883
+ property :field_b_index, as: 'fieldBIndex'
884
+ property :field_b_required, as: 'fieldBRequired'
885
+ property :output_constructor, as: 'outputConstructor'
886
+ property :output_to_field, as: 'outputToField'
887
+ property :output_to_field_index, as: 'outputToFieldIndex'
888
+ property :override_output_field, as: 'overrideOutputField'
889
+ end
890
+ end
891
+
892
+ class LowercaseDetails
893
+ # @private
894
+ class Representation < Google::Apis::Core::JsonRepresentation
895
+ property :field, as: 'field'
896
+ property :field_index, as: 'fieldIndex'
897
+ end
898
+ end
899
+
900
+ class ParentLink
901
+ # @private
902
+ class Representation < Google::Apis::Core::JsonRepresentation
903
+ property :href, as: 'href'
904
+ property :type, as: 'type'
905
+ end
906
+ end
907
+
908
+ class SearchAndReplaceDetails
909
+ # @private
910
+ class Representation < Google::Apis::Core::JsonRepresentation
911
+ property :case_sensitive, as: 'caseSensitive'
912
+ property :field, as: 'field'
913
+ property :field_index, as: 'fieldIndex'
914
+ property :replace_string, as: 'replaceString'
915
+ property :search_string, as: 'searchString'
916
+ end
917
+ end
918
+
919
+ class UppercaseDetails
920
+ # @private
921
+ class Representation < Google::Apis::Core::JsonRepresentation
922
+ property :field, as: 'field'
923
+ property :field_index, as: 'fieldIndex'
924
+ end
925
+ end
926
+ end
927
+
928
+ class FilterExpression
929
+ # @private
930
+ class Representation < Google::Apis::Core::JsonRepresentation
931
+ property :case_sensitive, as: 'caseSensitive'
932
+ property :expression_value, as: 'expressionValue'
933
+ property :field, as: 'field'
934
+ property :field_index, as: 'fieldIndex'
935
+ property :kind, as: 'kind'
936
+ property :match_type, as: 'matchType'
937
+ end
938
+ end
939
+
940
+ class FilterRef
941
+ # @private
942
+ class Representation < Google::Apis::Core::JsonRepresentation
943
+ property :account_id, as: 'accountId'
944
+ property :href, as: 'href'
945
+ property :id, as: 'id'
946
+ property :kind, as: 'kind'
947
+ property :name, as: 'name'
948
+ end
949
+ end
950
+
951
+ class Filters
952
+ # @private
953
+ class Representation < Google::Apis::Core::JsonRepresentation
954
+ collection :items, as: 'items', class: Google::Apis::AnalyticsV3::Filter, decorator: Google::Apis::AnalyticsV3::Filter::Representation
955
+
956
+ property :items_per_page, as: 'itemsPerPage'
957
+ property :kind, as: 'kind'
958
+ property :next_link, as: 'nextLink'
959
+ property :previous_link, as: 'previousLink'
960
+ property :start_index, as: 'startIndex'
961
+ property :total_results, as: 'totalResults'
962
+ property :username, as: 'username'
963
+ end
964
+ end
965
+
966
+ class GaData
967
+ # @private
968
+ class Representation < Google::Apis::Core::JsonRepresentation
969
+ collection :column_headers, as: 'columnHeaders', class: Google::Apis::AnalyticsV3::GaData::ColumnHeader, decorator: Google::Apis::AnalyticsV3::GaData::ColumnHeader::Representation
970
+
971
+ property :contains_sampled_data, as: 'containsSampledData'
972
+ property :data_table, as: 'dataTable', class: Google::Apis::AnalyticsV3::GaData::DataTable, decorator: Google::Apis::AnalyticsV3::GaData::DataTable::Representation
973
+
974
+ property :id, as: 'id'
975
+ property :items_per_page, as: 'itemsPerPage'
976
+ property :kind, as: 'kind'
977
+ property :next_link, as: 'nextLink'
978
+ property :previous_link, as: 'previousLink'
979
+ property :profile_info, as: 'profileInfo', class: Google::Apis::AnalyticsV3::GaData::ProfileInfo, decorator: Google::Apis::AnalyticsV3::GaData::ProfileInfo::Representation
980
+
981
+ property :query, as: 'query', class: Google::Apis::AnalyticsV3::GaData::Query, decorator: Google::Apis::AnalyticsV3::GaData::Query::Representation
982
+
983
+ collection :rows, as: 'rows', :class => Array do
984
+ include Representable::JSON::Collection
985
+ items
986
+ end
987
+
988
+ property :sample_size, as: 'sampleSize'
989
+ property :sample_space, as: 'sampleSpace'
990
+ property :self_link, as: 'selfLink'
991
+ property :total_results, as: 'totalResults'
992
+ hash :totals_for_all_results, as: 'totalsForAllResults'
993
+ end
994
+
995
+ class ColumnHeader
996
+ # @private
997
+ class Representation < Google::Apis::Core::JsonRepresentation
998
+ property :column_type, as: 'columnType'
999
+ property :data_type, as: 'dataType'
1000
+ property :name, as: 'name'
1001
+ end
1002
+ end
1003
+
1004
+ class DataTable
1005
+ # @private
1006
+ class Representation < Google::Apis::Core::JsonRepresentation
1007
+ collection :cols, as: 'cols', class: Google::Apis::AnalyticsV3::GaData::DataTable::Col, decorator: Google::Apis::AnalyticsV3::GaData::DataTable::Col::Representation
1008
+
1009
+ collection :rows, as: 'rows', class: Google::Apis::AnalyticsV3::GaData::DataTable::Row, decorator: Google::Apis::AnalyticsV3::GaData::DataTable::Row::Representation
1010
+
1011
+ end
1012
+
1013
+ class Col
1014
+ # @private
1015
+ class Representation < Google::Apis::Core::JsonRepresentation
1016
+ property :id, as: 'id'
1017
+ property :label, as: 'label'
1018
+ property :type, as: 'type'
1019
+ end
1020
+ end
1021
+
1022
+ class Row
1023
+ # @private
1024
+ class Representation < Google::Apis::Core::JsonRepresentation
1025
+ collection :c, as: 'c', class: Google::Apis::AnalyticsV3::GaData::DataTable::Row::C, decorator: Google::Apis::AnalyticsV3::GaData::DataTable::Row::C::Representation
1026
+
1027
+ end
1028
+
1029
+ class C
1030
+ # @private
1031
+ class Representation < Google::Apis::Core::JsonRepresentation
1032
+ property :v, as: 'v'
1033
+ end
1034
+ end
1035
+ end
1036
+ end
1037
+
1038
+ class ProfileInfo
1039
+ # @private
1040
+ class Representation < Google::Apis::Core::JsonRepresentation
1041
+ property :account_id, as: 'accountId'
1042
+ property :internal_web_property_id, as: 'internalWebPropertyId'
1043
+ property :profile_id, as: 'profileId'
1044
+ property :profile_name, as: 'profileName'
1045
+ property :table_id, as: 'tableId'
1046
+ property :web_property_id, as: 'webPropertyId'
1047
+ end
1048
+ end
1049
+
1050
+ class Query
1051
+ # @private
1052
+ class Representation < Google::Apis::Core::JsonRepresentation
1053
+ property :dimensions, as: 'dimensions'
1054
+ property :end_date, as: 'end-date'
1055
+ property :filters, as: 'filters'
1056
+ property :ids, as: 'ids'
1057
+ property :max_results, as: 'max-results'
1058
+ collection :metrics, as: 'metrics'
1059
+ property :sampling_level, as: 'samplingLevel'
1060
+ property :segment, as: 'segment'
1061
+ collection :sort, as: 'sort'
1062
+ property :start_date, as: 'start-date'
1063
+ property :start_index, as: 'start-index'
1064
+ end
1065
+ end
1066
+ end
1067
+
1068
+ class Goal
1069
+ # @private
1070
+ class Representation < Google::Apis::Core::JsonRepresentation
1071
+ property :account_id, as: 'accountId'
1072
+ property :active, as: 'active'
1073
+ property :created, as: 'created', type: DateTime
1074
+
1075
+ property :event_details, as: 'eventDetails', class: Google::Apis::AnalyticsV3::Goal::EventDetails, decorator: Google::Apis::AnalyticsV3::Goal::EventDetails::Representation
1076
+
1077
+ property :id, as: 'id'
1078
+ property :internal_web_property_id, as: 'internalWebPropertyId'
1079
+ property :kind, as: 'kind'
1080
+ property :name, as: 'name'
1081
+ property :parent_link, as: 'parentLink', class: Google::Apis::AnalyticsV3::Goal::ParentLink, decorator: Google::Apis::AnalyticsV3::Goal::ParentLink::Representation
1082
+
1083
+ property :profile_id, as: 'profileId'
1084
+ property :self_link, as: 'selfLink'
1085
+ property :type, as: 'type'
1086
+ property :updated, as: 'updated', type: DateTime
1087
+
1088
+ property :url_destination_details, as: 'urlDestinationDetails', class: Google::Apis::AnalyticsV3::Goal::UrlDestinationDetails, decorator: Google::Apis::AnalyticsV3::Goal::UrlDestinationDetails::Representation
1089
+
1090
+ property :value, as: 'value'
1091
+ property :visit_num_pages_details, as: 'visitNumPagesDetails', class: Google::Apis::AnalyticsV3::Goal::VisitNumPagesDetails, decorator: Google::Apis::AnalyticsV3::Goal::VisitNumPagesDetails::Representation
1092
+
1093
+ property :visit_time_on_site_details, as: 'visitTimeOnSiteDetails', class: Google::Apis::AnalyticsV3::Goal::VisitTimeOnSiteDetails, decorator: Google::Apis::AnalyticsV3::Goal::VisitTimeOnSiteDetails::Representation
1094
+
1095
+ property :web_property_id, as: 'webPropertyId'
1096
+ end
1097
+
1098
+ class EventDetails
1099
+ # @private
1100
+ class Representation < Google::Apis::Core::JsonRepresentation
1101
+ collection :event_conditions, as: 'eventConditions', class: Google::Apis::AnalyticsV3::Goal::EventDetails::EventCondition, decorator: Google::Apis::AnalyticsV3::Goal::EventDetails::EventCondition::Representation
1102
+
1103
+ property :use_event_value, as: 'useEventValue'
1104
+ end
1105
+
1106
+ class EventCondition
1107
+ # @private
1108
+ class Representation < Google::Apis::Core::JsonRepresentation
1109
+ property :comparison_type, as: 'comparisonType'
1110
+ property :comparison_value, as: 'comparisonValue'
1111
+ property :expression, as: 'expression'
1112
+ property :match_type, as: 'matchType'
1113
+ property :type, as: 'type'
1114
+ end
1115
+ end
1116
+ end
1117
+
1118
+ class ParentLink
1119
+ # @private
1120
+ class Representation < Google::Apis::Core::JsonRepresentation
1121
+ property :href, as: 'href'
1122
+ property :type, as: 'type'
1123
+ end
1124
+ end
1125
+
1126
+ class UrlDestinationDetails
1127
+ # @private
1128
+ class Representation < Google::Apis::Core::JsonRepresentation
1129
+ property :case_sensitive, as: 'caseSensitive'
1130
+ property :first_step_required, as: 'firstStepRequired'
1131
+ property :match_type, as: 'matchType'
1132
+ collection :steps, as: 'steps', class: Google::Apis::AnalyticsV3::Goal::UrlDestinationDetails::Step, decorator: Google::Apis::AnalyticsV3::Goal::UrlDestinationDetails::Step::Representation
1133
+
1134
+ property :url, as: 'url'
1135
+ end
1136
+
1137
+ class Step
1138
+ # @private
1139
+ class Representation < Google::Apis::Core::JsonRepresentation
1140
+ property :name, as: 'name'
1141
+ property :number, as: 'number'
1142
+ property :url, as: 'url'
1143
+ end
1144
+ end
1145
+ end
1146
+
1147
+ class VisitNumPagesDetails
1148
+ # @private
1149
+ class Representation < Google::Apis::Core::JsonRepresentation
1150
+ property :comparison_type, as: 'comparisonType'
1151
+ property :comparison_value, as: 'comparisonValue'
1152
+ end
1153
+ end
1154
+
1155
+ class VisitTimeOnSiteDetails
1156
+ # @private
1157
+ class Representation < Google::Apis::Core::JsonRepresentation
1158
+ property :comparison_type, as: 'comparisonType'
1159
+ property :comparison_value, as: 'comparisonValue'
1160
+ end
1161
+ end
1162
+ end
1163
+
1164
+ class Goals
1165
+ # @private
1166
+ class Representation < Google::Apis::Core::JsonRepresentation
1167
+ collection :items, as: 'items', class: Google::Apis::AnalyticsV3::Goal, decorator: Google::Apis::AnalyticsV3::Goal::Representation
1168
+
1169
+ property :items_per_page, as: 'itemsPerPage'
1170
+ property :kind, as: 'kind'
1171
+ property :next_link, as: 'nextLink'
1172
+ property :previous_link, as: 'previousLink'
1173
+ property :start_index, as: 'startIndex'
1174
+ property :total_results, as: 'totalResults'
1175
+ property :username, as: 'username'
1176
+ end
1177
+ end
1178
+
1179
+ class McfData
1180
+ # @private
1181
+ class Representation < Google::Apis::Core::JsonRepresentation
1182
+ collection :column_headers, as: 'columnHeaders', class: Google::Apis::AnalyticsV3::McfData::ColumnHeader, decorator: Google::Apis::AnalyticsV3::McfData::ColumnHeader::Representation
1183
+
1184
+ property :contains_sampled_data, as: 'containsSampledData'
1185
+ property :id, as: 'id'
1186
+ property :items_per_page, as: 'itemsPerPage'
1187
+ property :kind, as: 'kind'
1188
+ property :next_link, as: 'nextLink'
1189
+ property :previous_link, as: 'previousLink'
1190
+ property :profile_info, as: 'profileInfo', class: Google::Apis::AnalyticsV3::McfData::ProfileInfo, decorator: Google::Apis::AnalyticsV3::McfData::ProfileInfo::Representation
1191
+
1192
+ property :query, as: 'query', class: Google::Apis::AnalyticsV3::McfData::Query, decorator: Google::Apis::AnalyticsV3::McfData::Query::Representation
1193
+
1194
+ collection :rows, as: 'rows', :class => Array do
1195
+ include Representable::JSON::Collection
1196
+ items class: Google::Apis::AnalyticsV3::McfData::Row, decorator: Google::Apis::AnalyticsV3::McfData::Row::Representation
1197
+
1198
+ end
1199
+
1200
+ property :sample_size, as: 'sampleSize'
1201
+ property :sample_space, as: 'sampleSpace'
1202
+ property :self_link, as: 'selfLink'
1203
+ property :total_results, as: 'totalResults'
1204
+ hash :totals_for_all_results, as: 'totalsForAllResults'
1205
+ end
1206
+
1207
+ class ColumnHeader
1208
+ # @private
1209
+ class Representation < Google::Apis::Core::JsonRepresentation
1210
+ property :column_type, as: 'columnType'
1211
+ property :data_type, as: 'dataType'
1212
+ property :name, as: 'name'
1213
+ end
1214
+ end
1215
+
1216
+ class ProfileInfo
1217
+ # @private
1218
+ class Representation < Google::Apis::Core::JsonRepresentation
1219
+ property :account_id, as: 'accountId'
1220
+ property :internal_web_property_id, as: 'internalWebPropertyId'
1221
+ property :profile_id, as: 'profileId'
1222
+ property :profile_name, as: 'profileName'
1223
+ property :table_id, as: 'tableId'
1224
+ property :web_property_id, as: 'webPropertyId'
1225
+ end
1226
+ end
1227
+
1228
+ class Query
1229
+ # @private
1230
+ class Representation < Google::Apis::Core::JsonRepresentation
1231
+ property :dimensions, as: 'dimensions'
1232
+ property :end_date, as: 'end-date'
1233
+ property :filters, as: 'filters'
1234
+ property :ids, as: 'ids'
1235
+ property :max_results, as: 'max-results'
1236
+ collection :metrics, as: 'metrics'
1237
+ property :sampling_level, as: 'samplingLevel'
1238
+ property :segment, as: 'segment'
1239
+ collection :sort, as: 'sort'
1240
+ property :start_date, as: 'start-date'
1241
+ property :start_index, as: 'start-index'
1242
+ end
1243
+ end
1244
+
1245
+ class Row
1246
+ # @private
1247
+ class Representation < Google::Apis::Core::JsonRepresentation
1248
+ collection :conversion_path_value, as: 'conversionPathValue', class: Google::Apis::AnalyticsV3::McfData::Row::ConversionPathValue, decorator: Google::Apis::AnalyticsV3::McfData::Row::ConversionPathValue::Representation
1249
+
1250
+ property :primitive_value, as: 'primitiveValue'
1251
+ end
1252
+
1253
+ class ConversionPathValue
1254
+ # @private
1255
+ class Representation < Google::Apis::Core::JsonRepresentation
1256
+ property :interaction_type, as: 'interactionType'
1257
+ property :node_value, as: 'nodeValue'
1258
+ end
1259
+ end
1260
+ end
1261
+ end
1262
+
1263
+ class Profile
1264
+ # @private
1265
+ class Representation < Google::Apis::Core::JsonRepresentation
1266
+ property :account_id, as: 'accountId'
1267
+ property :child_link, as: 'childLink', class: Google::Apis::AnalyticsV3::Profile::ChildLink, decorator: Google::Apis::AnalyticsV3::Profile::ChildLink::Representation
1268
+
1269
+ property :created, as: 'created', type: DateTime
1270
+
1271
+ property :currency, as: 'currency'
1272
+ property :default_page, as: 'defaultPage'
1273
+ property :e_commerce_tracking, as: 'eCommerceTracking'
1274
+ property :enhanced_e_commerce_tracking, as: 'enhancedECommerceTracking'
1275
+ property :exclude_query_parameters, as: 'excludeQueryParameters'
1276
+ property :id, as: 'id'
1277
+ property :internal_web_property_id, as: 'internalWebPropertyId'
1278
+ property :kind, as: 'kind'
1279
+ property :name, as: 'name'
1280
+ property :parent_link, as: 'parentLink', class: Google::Apis::AnalyticsV3::Profile::ParentLink, decorator: Google::Apis::AnalyticsV3::Profile::ParentLink::Representation
1281
+
1282
+ property :permissions, as: 'permissions', class: Google::Apis::AnalyticsV3::Profile::Permissions, decorator: Google::Apis::AnalyticsV3::Profile::Permissions::Representation
1283
+
1284
+ property :self_link, as: 'selfLink'
1285
+ property :site_search_category_parameters, as: 'siteSearchCategoryParameters'
1286
+ property :site_search_query_parameters, as: 'siteSearchQueryParameters'
1287
+ property :strip_site_search_category_parameters, as: 'stripSiteSearchCategoryParameters'
1288
+ property :strip_site_search_query_parameters, as: 'stripSiteSearchQueryParameters'
1289
+ property :timezone, as: 'timezone'
1290
+ property :type, as: 'type'
1291
+ property :updated, as: 'updated', type: DateTime
1292
+
1293
+ property :web_property_id, as: 'webPropertyId'
1294
+ property :website_url, as: 'websiteUrl'
1295
+ end
1296
+
1297
+ class ChildLink
1298
+ # @private
1299
+ class Representation < Google::Apis::Core::JsonRepresentation
1300
+ property :href, as: 'href'
1301
+ property :type, as: 'type'
1302
+ end
1303
+ end
1304
+
1305
+ class ParentLink
1306
+ # @private
1307
+ class Representation < Google::Apis::Core::JsonRepresentation
1308
+ property :href, as: 'href'
1309
+ property :type, as: 'type'
1310
+ end
1311
+ end
1312
+
1313
+ class Permissions
1314
+ # @private
1315
+ class Representation < Google::Apis::Core::JsonRepresentation
1316
+ collection :effective, as: 'effective'
1317
+ end
1318
+ end
1319
+ end
1320
+
1321
+ class ProfileFilterLink
1322
+ # @private
1323
+ class Representation < Google::Apis::Core::JsonRepresentation
1324
+ property :filter_ref, as: 'filterRef', class: Google::Apis::AnalyticsV3::FilterRef, decorator: Google::Apis::AnalyticsV3::FilterRef::Representation
1325
+
1326
+ property :id, as: 'id'
1327
+ property :kind, as: 'kind'
1328
+ property :profile_ref, as: 'profileRef', class: Google::Apis::AnalyticsV3::ProfileRef, decorator: Google::Apis::AnalyticsV3::ProfileRef::Representation
1329
+
1330
+ property :rank, as: 'rank'
1331
+ property :self_link, as: 'selfLink'
1332
+ end
1333
+ end
1334
+
1335
+ class ProfileFilterLinks
1336
+ # @private
1337
+ class Representation < Google::Apis::Core::JsonRepresentation
1338
+ collection :items, as: 'items', class: Google::Apis::AnalyticsV3::ProfileFilterLink, decorator: Google::Apis::AnalyticsV3::ProfileFilterLink::Representation
1339
+
1340
+ property :items_per_page, as: 'itemsPerPage'
1341
+ property :kind, as: 'kind'
1342
+ property :next_link, as: 'nextLink'
1343
+ property :previous_link, as: 'previousLink'
1344
+ property :start_index, as: 'startIndex'
1345
+ property :total_results, as: 'totalResults'
1346
+ property :username, as: 'username'
1347
+ end
1348
+ end
1349
+
1350
+ class ProfileRef
1351
+ # @private
1352
+ class Representation < Google::Apis::Core::JsonRepresentation
1353
+ property :account_id, as: 'accountId'
1354
+ property :href, as: 'href'
1355
+ property :id, as: 'id'
1356
+ property :internal_web_property_id, as: 'internalWebPropertyId'
1357
+ property :kind, as: 'kind'
1358
+ property :name, as: 'name'
1359
+ property :web_property_id, as: 'webPropertyId'
1360
+ end
1361
+ end
1362
+
1363
+ class ProfileSummary
1364
+ # @private
1365
+ class Representation < Google::Apis::Core::JsonRepresentation
1366
+ property :id, as: 'id'
1367
+ property :kind, as: 'kind'
1368
+ property :name, as: 'name'
1369
+ property :type, as: 'type'
1370
+ end
1371
+ end
1372
+
1373
+ class Profiles
1374
+ # @private
1375
+ class Representation < Google::Apis::Core::JsonRepresentation
1376
+ collection :items, as: 'items', class: Google::Apis::AnalyticsV3::Profile, decorator: Google::Apis::AnalyticsV3::Profile::Representation
1377
+
1378
+ property :items_per_page, as: 'itemsPerPage'
1379
+ property :kind, as: 'kind'
1380
+ property :next_link, as: 'nextLink'
1381
+ property :previous_link, as: 'previousLink'
1382
+ property :start_index, as: 'startIndex'
1383
+ property :total_results, as: 'totalResults'
1384
+ property :username, as: 'username'
1385
+ end
1386
+ end
1387
+
1388
+ class RealtimeData
1389
+ # @private
1390
+ class Representation < Google::Apis::Core::JsonRepresentation
1391
+ collection :column_headers, as: 'columnHeaders', class: Google::Apis::AnalyticsV3::RealtimeData::ColumnHeader, decorator: Google::Apis::AnalyticsV3::RealtimeData::ColumnHeader::Representation
1392
+
1393
+ property :id, as: 'id'
1394
+ property :kind, as: 'kind'
1395
+ property :profile_info, as: 'profileInfo', class: Google::Apis::AnalyticsV3::RealtimeData::ProfileInfo, decorator: Google::Apis::AnalyticsV3::RealtimeData::ProfileInfo::Representation
1396
+
1397
+ property :query, as: 'query', class: Google::Apis::AnalyticsV3::RealtimeData::Query, decorator: Google::Apis::AnalyticsV3::RealtimeData::Query::Representation
1398
+
1399
+ collection :rows, as: 'rows', :class => Array do
1400
+ include Representable::JSON::Collection
1401
+ items
1402
+ end
1403
+
1404
+ property :self_link, as: 'selfLink'
1405
+ property :total_results, as: 'totalResults'
1406
+ hash :totals_for_all_results, as: 'totalsForAllResults'
1407
+ end
1408
+
1409
+ class ColumnHeader
1410
+ # @private
1411
+ class Representation < Google::Apis::Core::JsonRepresentation
1412
+ property :column_type, as: 'columnType'
1413
+ property :data_type, as: 'dataType'
1414
+ property :name, as: 'name'
1415
+ end
1416
+ end
1417
+
1418
+ class ProfileInfo
1419
+ # @private
1420
+ class Representation < Google::Apis::Core::JsonRepresentation
1421
+ property :account_id, as: 'accountId'
1422
+ property :internal_web_property_id, as: 'internalWebPropertyId'
1423
+ property :profile_id, as: 'profileId'
1424
+ property :profile_name, as: 'profileName'
1425
+ property :table_id, as: 'tableId'
1426
+ property :web_property_id, as: 'webPropertyId'
1427
+ end
1428
+ end
1429
+
1430
+ class Query
1431
+ # @private
1432
+ class Representation < Google::Apis::Core::JsonRepresentation
1433
+ property :dimensions, as: 'dimensions'
1434
+ property :filters, as: 'filters'
1435
+ property :ids, as: 'ids'
1436
+ property :max_results, as: 'max-results'
1437
+ collection :metrics, as: 'metrics'
1438
+ collection :sort, as: 'sort'
1439
+ end
1440
+ end
1441
+ end
1442
+
1443
+ class Segment
1444
+ # @private
1445
+ class Representation < Google::Apis::Core::JsonRepresentation
1446
+ property :created, as: 'created', type: DateTime
1447
+
1448
+ property :definition, as: 'definition'
1449
+ property :id, as: 'id'
1450
+ property :kind, as: 'kind'
1451
+ property :name, as: 'name'
1452
+ property :segment_id, as: 'segmentId'
1453
+ property :self_link, as: 'selfLink'
1454
+ property :type, as: 'type'
1455
+ property :updated, as: 'updated', type: DateTime
1456
+
1457
+ end
1458
+ end
1459
+
1460
+ class Segments
1461
+ # @private
1462
+ class Representation < Google::Apis::Core::JsonRepresentation
1463
+ collection :items, as: 'items', class: Google::Apis::AnalyticsV3::Segment, decorator: Google::Apis::AnalyticsV3::Segment::Representation
1464
+
1465
+ property :items_per_page, as: 'itemsPerPage'
1466
+ property :kind, as: 'kind'
1467
+ property :next_link, as: 'nextLink'
1468
+ property :previous_link, as: 'previousLink'
1469
+ property :start_index, as: 'startIndex'
1470
+ property :total_results, as: 'totalResults'
1471
+ property :username, as: 'username'
1472
+ end
1473
+ end
1474
+
1475
+ class UnsampledReport
1476
+ # @private
1477
+ class Representation < Google::Apis::Core::JsonRepresentation
1478
+ property :account_id, as: 'accountId'
1479
+ property :cloud_storage_download_details, as: 'cloudStorageDownloadDetails', class: Google::Apis::AnalyticsV3::UnsampledReport::CloudStorageDownloadDetails, decorator: Google::Apis::AnalyticsV3::UnsampledReport::CloudStorageDownloadDetails::Representation
1480
+
1481
+ property :created, as: 'created', type: DateTime
1482
+
1483
+ property :dimensions, as: 'dimensions'
1484
+ property :download_type, as: 'downloadType'
1485
+ property :drive_download_details, as: 'driveDownloadDetails', class: Google::Apis::AnalyticsV3::UnsampledReport::DriveDownloadDetails, decorator: Google::Apis::AnalyticsV3::UnsampledReport::DriveDownloadDetails::Representation
1486
+
1487
+ property :end_date, as: 'end-date'
1488
+ property :filters, as: 'filters'
1489
+ property :id, as: 'id'
1490
+ property :kind, as: 'kind'
1491
+ property :metrics, as: 'metrics'
1492
+ property :profile_id, as: 'profileId'
1493
+ property :segment, as: 'segment'
1494
+ property :self_link, as: 'selfLink'
1495
+ property :start_date, as: 'start-date'
1496
+ property :status, as: 'status'
1497
+ property :title, as: 'title'
1498
+ property :updated, as: 'updated', type: DateTime
1499
+
1500
+ property :web_property_id, as: 'webPropertyId'
1501
+ end
1502
+
1503
+ class CloudStorageDownloadDetails
1504
+ # @private
1505
+ class Representation < Google::Apis::Core::JsonRepresentation
1506
+ property :bucket_id, as: 'bucketId'
1507
+ property :obj_id, as: 'objectId'
1508
+ end
1509
+ end
1510
+
1511
+ class DriveDownloadDetails
1512
+ # @private
1513
+ class Representation < Google::Apis::Core::JsonRepresentation
1514
+ property :document_id, as: 'documentId'
1515
+ end
1516
+ end
1517
+ end
1518
+
1519
+ class UnsampledReports
1520
+ # @private
1521
+ class Representation < Google::Apis::Core::JsonRepresentation
1522
+ collection :items, as: 'items', class: Google::Apis::AnalyticsV3::UnsampledReport, decorator: Google::Apis::AnalyticsV3::UnsampledReport::Representation
1523
+
1524
+ property :items_per_page, as: 'itemsPerPage'
1525
+ property :kind, as: 'kind'
1526
+ property :next_link, as: 'nextLink'
1527
+ property :previous_link, as: 'previousLink'
1528
+ property :start_index, as: 'startIndex'
1529
+ property :total_results, as: 'totalResults'
1530
+ property :username, as: 'username'
1531
+ end
1532
+ end
1533
+
1534
+ class Upload
1535
+ # @private
1536
+ class Representation < Google::Apis::Core::JsonRepresentation
1537
+ property :account_id, as: 'accountId'
1538
+ property :custom_data_source_id, as: 'customDataSourceId'
1539
+ collection :errors, as: 'errors'
1540
+ property :id, as: 'id'
1541
+ property :kind, as: 'kind'
1542
+ property :status, as: 'status'
1543
+ end
1544
+ end
1545
+
1546
+ class Uploads
1547
+ # @private
1548
+ class Representation < Google::Apis::Core::JsonRepresentation
1549
+ collection :items, as: 'items', class: Google::Apis::AnalyticsV3::Upload, decorator: Google::Apis::AnalyticsV3::Upload::Representation
1550
+
1551
+ property :items_per_page, as: 'itemsPerPage'
1552
+ property :kind, as: 'kind'
1553
+ property :next_link, as: 'nextLink'
1554
+ property :previous_link, as: 'previousLink'
1555
+ property :start_index, as: 'startIndex'
1556
+ property :total_results, as: 'totalResults'
1557
+ end
1558
+ end
1559
+
1560
+ class UserRef
1561
+ # @private
1562
+ class Representation < Google::Apis::Core::JsonRepresentation
1563
+ property :email, as: 'email'
1564
+ property :id, as: 'id'
1565
+ property :kind, as: 'kind'
1566
+ end
1567
+ end
1568
+
1569
+ class WebPropertyRef
1570
+ # @private
1571
+ class Representation < Google::Apis::Core::JsonRepresentation
1572
+ property :account_id, as: 'accountId'
1573
+ property :href, as: 'href'
1574
+ property :id, as: 'id'
1575
+ property :internal_web_property_id, as: 'internalWebPropertyId'
1576
+ property :kind, as: 'kind'
1577
+ property :name, as: 'name'
1578
+ end
1579
+ end
1580
+
1581
+ class WebPropertySummary
1582
+ # @private
1583
+ class Representation < Google::Apis::Core::JsonRepresentation
1584
+ property :id, as: 'id'
1585
+ property :internal_web_property_id, as: 'internalWebPropertyId'
1586
+ property :kind, as: 'kind'
1587
+ property :level, as: 'level'
1588
+ property :name, as: 'name'
1589
+ collection :profiles, as: 'profiles', class: Google::Apis::AnalyticsV3::ProfileSummary, decorator: Google::Apis::AnalyticsV3::ProfileSummary::Representation
1590
+
1591
+ property :website_url, as: 'websiteUrl'
1592
+ end
1593
+ end
1594
+
1595
+ class Webproperties
1596
+ # @private
1597
+ class Representation < Google::Apis::Core::JsonRepresentation
1598
+ collection :items, as: 'items', class: Google::Apis::AnalyticsV3::Webproperty, decorator: Google::Apis::AnalyticsV3::Webproperty::Representation
1599
+
1600
+ property :items_per_page, as: 'itemsPerPage'
1601
+ property :kind, as: 'kind'
1602
+ property :next_link, as: 'nextLink'
1603
+ property :previous_link, as: 'previousLink'
1604
+ property :start_index, as: 'startIndex'
1605
+ property :total_results, as: 'totalResults'
1606
+ property :username, as: 'username'
1607
+ end
1608
+ end
1609
+
1610
+ class Webproperty
1611
+ # @private
1612
+ class Representation < Google::Apis::Core::JsonRepresentation
1613
+ property :account_id, as: 'accountId'
1614
+ property :child_link, as: 'childLink', class: Google::Apis::AnalyticsV3::Webproperty::ChildLink, decorator: Google::Apis::AnalyticsV3::Webproperty::ChildLink::Representation
1615
+
1616
+ property :created, as: 'created', type: DateTime
1617
+
1618
+ property :default_profile_id, as: 'defaultProfileId'
1619
+ property :id, as: 'id'
1620
+ property :industry_vertical, as: 'industryVertical'
1621
+ property :internal_web_property_id, as: 'internalWebPropertyId'
1622
+ property :kind, as: 'kind'
1623
+ property :level, as: 'level'
1624
+ property :name, as: 'name'
1625
+ property :parent_link, as: 'parentLink', class: Google::Apis::AnalyticsV3::Webproperty::ParentLink, decorator: Google::Apis::AnalyticsV3::Webproperty::ParentLink::Representation
1626
+
1627
+ property :permissions, as: 'permissions', class: Google::Apis::AnalyticsV3::Webproperty::Permissions, decorator: Google::Apis::AnalyticsV3::Webproperty::Permissions::Representation
1628
+
1629
+ property :profile_count, as: 'profileCount'
1630
+ property :self_link, as: 'selfLink'
1631
+ property :updated, as: 'updated', type: DateTime
1632
+
1633
+ property :website_url, as: 'websiteUrl'
1634
+ end
1635
+
1636
+ class ChildLink
1637
+ # @private
1638
+ class Representation < Google::Apis::Core::JsonRepresentation
1639
+ property :href, as: 'href'
1640
+ property :type, as: 'type'
1641
+ end
1642
+ end
1643
+
1644
+ class ParentLink
1645
+ # @private
1646
+ class Representation < Google::Apis::Core::JsonRepresentation
1647
+ property :href, as: 'href'
1648
+ property :type, as: 'type'
1649
+ end
1650
+ end
1651
+
1652
+ class Permissions
1653
+ # @private
1654
+ class Representation < Google::Apis::Core::JsonRepresentation
1655
+ collection :effective, as: 'effective'
1656
+ end
1657
+ end
1658
+ end
1659
+ end
1660
+ end
1661
+ end