google-api-client 0.10.3 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (385) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +12 -18
  3. data/CHANGELOG.md +22 -2
  4. data/Gemfile +5 -7
  5. data/MIGRATING.md +33 -0
  6. data/README.md +10 -2
  7. data/Rakefile +1 -0
  8. data/bin/generate-api +7 -1
  9. data/dl.rb +0 -0
  10. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +6 -6
  11. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +1 -1
  12. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -0
  13. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  14. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +759 -759
  15. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +152 -152
  16. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +376 -375
  17. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +58 -58
  18. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +45 -45
  19. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +22 -21
  20. data/generated/google/apis/adexchangeseller_v2_0/classes.rb +5 -5
  21. data/generated/google/apis/adexchangeseller_v2_0/representations.rb +5 -5
  22. data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -0
  23. data/generated/google/apis/admin_datatransfer_v1/classes.rb +2 -2
  24. data/generated/google/apis/admin_datatransfer_v1/representations.rb +2 -2
  25. data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -1
  26. data/generated/google/apis/admin_directory_v1/classes.rb +11 -11
  27. data/generated/google/apis/admin_directory_v1/representations.rb +11 -11
  28. data/generated/google/apis/admin_directory_v1/service.rb +1 -0
  29. data/generated/google/apis/admin_reports_v1/classes.rb +5 -5
  30. data/generated/google/apis/admin_reports_v1/representations.rb +4 -4
  31. data/generated/google/apis/admin_reports_v1/service.rb +1 -0
  32. data/generated/google/apis/adsense_v1_4.rb +1 -1
  33. data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
  34. data/generated/google/apis/adsense_v1_4/representations.rb +2 -2
  35. data/generated/google/apis/adsense_v1_4/service.rb +1 -0
  36. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  37. data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -1
  38. data/generated/google/apis/adsensehost_v4_1/representations.rb +1 -1
  39. data/generated/google/apis/adsensehost_v4_1/service.rb +1 -0
  40. data/generated/google/apis/analytics_v3/classes.rb +10 -10
  41. data/generated/google/apis/analytics_v3/representations.rb +10 -10
  42. data/generated/google/apis/analytics_v3/service.rb +1 -0
  43. data/generated/google/apis/analyticsreporting_v4/classes.rb +933 -933
  44. data/generated/google/apis/analyticsreporting_v4/representations.rb +197 -197
  45. data/generated/google/apis/analyticsreporting_v4/service.rb +5 -4
  46. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  47. data/generated/google/apis/androidenterprise_v1/classes.rb +1 -1
  48. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -1
  49. data/generated/google/apis/androidenterprise_v1/service.rb +1 -0
  50. data/generated/google/apis/androidpublisher_v2/classes.rb +13 -13
  51. data/generated/google/apis/androidpublisher_v2/representations.rb +13 -13
  52. data/generated/google/apis/androidpublisher_v2/service.rb +3 -2
  53. data/generated/google/apis/appengine_v1/classes.rb +2 -2
  54. data/generated/google/apis/appengine_v1/representations.rb +2 -2
  55. data/generated/google/apis/appengine_v1/service.rb +1 -0
  56. data/generated/google/apis/appsactivity_v1/classes.rb +1 -1
  57. data/generated/google/apis/appsactivity_v1/representations.rb +1 -1
  58. data/generated/google/apis/appsactivity_v1/service.rb +1 -0
  59. data/generated/google/apis/appsmarket_v2.rb +35 -0
  60. data/generated/google/apis/appsmarket_v2/classes.rb +396 -0
  61. data/generated/google/apis/appsmarket_v2/representations.rb +180 -0
  62. data/generated/google/apis/appsmarket_v2/service.rb +187 -0
  63. data/generated/google/apis/appstate_v1.rb +1 -1
  64. data/generated/google/apis/appstate_v1/service.rb +1 -0
  65. data/generated/google/apis/bigquery_v2/classes.rb +39 -39
  66. data/generated/google/apis/bigquery_v2/representations.rb +38 -38
  67. data/generated/google/apis/bigquery_v2/service.rb +3 -2
  68. data/generated/google/apis/blogger_v3/classes.rb +2 -2
  69. data/generated/google/apis/blogger_v3/representations.rb +2 -2
  70. data/generated/google/apis/blogger_v3/service.rb +1 -0
  71. data/generated/google/apis/books_v1/classes.rb +5 -5
  72. data/generated/google/apis/books_v1/representations.rb +4 -4
  73. data/generated/google/apis/books_v1/service.rb +1 -0
  74. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  75. data/generated/google/apis/calendar_v3/representations.rb +1 -1
  76. data/generated/google/apis/calendar_v3/service.rb +1 -0
  77. data/generated/google/apis/civicinfo_v2/classes.rb +6 -6
  78. data/generated/google/apis/civicinfo_v2/representations.rb +6 -6
  79. data/generated/google/apis/civicinfo_v2/service.rb +2 -1
  80. data/generated/google/apis/classroom_v1/service.rb +1 -0
  81. data/generated/google/apis/cloudbilling_v1/service.rb +1 -0
  82. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  83. data/generated/google/apis/cloudbuild_v1/classes.rb +626 -626
  84. data/generated/google/apis/cloudbuild_v1/representations.rb +109 -109
  85. data/generated/google/apis/cloudbuild_v1/service.rb +159 -158
  86. data/generated/google/apis/clouddebugger_v2/classes.rb +358 -358
  87. data/generated/google/apis/clouddebugger_v2/representations.rb +99 -99
  88. data/generated/google/apis/clouddebugger_v2/service.rb +42 -41
  89. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  90. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +220 -220
  91. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +52 -52
  92. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +59 -58
  93. data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -7
  94. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -1
  95. data/generated/google/apis/cloudfunctions_v1/service.rb +5 -4
  96. data/generated/google/apis/cloudkms_v1/classes.rb +311 -311
  97. data/generated/google/apis/cloudkms_v1/representations.rb +87 -87
  98. data/generated/google/apis/cloudkms_v1/service.rb +168 -167
  99. data/generated/google/apis/cloudmonitoring_v2beta2/classes.rb +4 -4
  100. data/generated/google/apis/cloudmonitoring_v2beta2/representations.rb +4 -4
  101. data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +1 -0
  102. data/generated/google/apis/cloudresourcemanager_v1.rb +3 -3
  103. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +341 -341
  104. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +62 -62
  105. data/generated/google/apis/cloudresourcemanager_v1/service.rb +458 -457
  106. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +327 -327
  107. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +71 -71
  108. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +237 -236
  109. data/generated/google/apis/cloudtrace_v1.rb +3 -3
  110. data/generated/google/apis/cloudtrace_v1/classes.rb +38 -38
  111. data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
  112. data/generated/google/apis/cloudtrace_v1/service.rb +14 -13
  113. data/generated/google/apis/clouduseraccounts_beta/classes.rb +4 -4
  114. data/generated/google/apis/clouduseraccounts_beta/representations.rb +4 -4
  115. data/generated/google/apis/clouduseraccounts_beta/service.rb +1 -0
  116. data/generated/google/apis/compute_beta/classes.rb +52 -52
  117. data/generated/google/apis/compute_beta/representations.rb +52 -52
  118. data/generated/google/apis/compute_beta/service.rb +2 -1
  119. data/generated/google/apis/compute_v1/classes.rb +48 -48
  120. data/generated/google/apis/compute_v1/representations.rb +48 -48
  121. data/generated/google/apis/compute_v1/service.rb +2 -1
  122. data/generated/google/apis/container_v1/service.rb +1 -0
  123. data/generated/google/apis/content_v2.rb +1 -1
  124. data/generated/google/apis/content_v2/classes.rb +38 -660
  125. data/generated/google/apis/content_v2/representations.rb +37 -303
  126. data/generated/google/apis/content_v2/service.rb +63 -279
  127. data/generated/google/apis/customsearch_v1/classes.rb +2 -2
  128. data/generated/google/apis/customsearch_v1/representations.rb +2 -2
  129. data/generated/google/apis/customsearch_v1/service.rb +1 -0
  130. data/generated/google/apis/dataflow_v1b3/classes.rb +3281 -3281
  131. data/generated/google/apis/dataflow_v1b3/representations.rb +777 -777
  132. data/generated/google/apis/dataflow_v1b3/service.rb +106 -105
  133. data/generated/google/apis/dataproc_v1/classes.rb +395 -395
  134. data/generated/google/apis/dataproc_v1/representations.rb +91 -91
  135. data/generated/google/apis/dataproc_v1/service.rb +356 -355
  136. data/generated/google/apis/datastore_v1/classes.rb +506 -506
  137. data/generated/google/apis/datastore_v1/representations.rb +147 -147
  138. data/generated/google/apis/datastore_v1/service.rb +46 -45
  139. data/generated/google/apis/deploymentmanager_v2/classes.rb +6 -6
  140. data/generated/google/apis/deploymentmanager_v2/representations.rb +6 -6
  141. data/generated/google/apis/deploymentmanager_v2/service.rb +1 -0
  142. data/generated/google/apis/dfareporting_v2_6/classes.rb +280 -280
  143. data/generated/google/apis/dfareporting_v2_6/representations.rb +266 -266
  144. data/generated/google/apis/dfareporting_v2_6/service.rb +421 -420
  145. data/generated/google/apis/dfareporting_v2_7/classes.rb +280 -280
  146. data/generated/google/apis/dfareporting_v2_7/representations.rb +266 -266
  147. data/generated/google/apis/dfareporting_v2_7/service.rb +423 -422
  148. data/generated/google/apis/discovery_v1/service.rb +1 -0
  149. data/generated/google/apis/dns_v1/classes.rb +2 -2
  150. data/generated/google/apis/dns_v1/representations.rb +2 -2
  151. data/generated/google/apis/dns_v1/service.rb +1 -0
  152. data/generated/google/apis/dns_v2beta1/classes.rb +2 -2
  153. data/generated/google/apis/dns_v2beta1/representations.rb +2 -2
  154. data/generated/google/apis/dns_v2beta1/service.rb +1 -0
  155. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +15 -15
  156. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +13 -13
  157. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +5 -4
  158. data/generated/google/apis/doubleclicksearch_v2/classes.rb +28 -28
  159. data/generated/google/apis/doubleclicksearch_v2/representations.rb +28 -28
  160. data/generated/google/apis/doubleclicksearch_v2/service.rb +13 -12
  161. data/generated/google/apis/drive_v2/classes.rb +17 -17
  162. data/generated/google/apis/drive_v2/representations.rb +17 -17
  163. data/generated/google/apis/drive_v2/service.rb +5 -4
  164. data/generated/google/apis/drive_v3/classes.rb +13 -13
  165. data/generated/google/apis/drive_v3/representations.rb +12 -12
  166. data/generated/google/apis/drive_v3/service.rb +1 -0
  167. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  168. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +81 -81
  169. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +24 -24
  170. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -0
  171. data/generated/google/apis/firebaserules_v1/classes.rb +201 -201
  172. data/generated/google/apis/firebaserules_v1/representations.rb +61 -61
  173. data/generated/google/apis/firebaserules_v1/service.rb +1 -0
  174. data/generated/google/apis/fitness_v1/classes.rb +18 -18
  175. data/generated/google/apis/fitness_v1/representations.rb +18 -18
  176. data/generated/google/apis/fitness_v1/service.rb +6 -5
  177. data/generated/google/apis/fusiontables_v2/classes.rb +2 -2
  178. data/generated/google/apis/fusiontables_v2/representations.rb +2 -2
  179. data/generated/google/apis/fusiontables_v2/service.rb +1 -0
  180. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  181. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
  182. data/generated/google/apis/games_configuration_v1configuration/representations.rb +2 -2
  183. data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -0
  184. data/generated/google/apis/games_management_v1management.rb +1 -1
  185. data/generated/google/apis/games_management_v1management/classes.rb +6 -6
  186. data/generated/google/apis/games_management_v1management/representations.rb +6 -6
  187. data/generated/google/apis/games_management_v1management/service.rb +1 -0
  188. data/generated/google/apis/games_v1.rb +1 -1
  189. data/generated/google/apis/games_v1/classes.rb +47 -47
  190. data/generated/google/apis/games_v1/representations.rb +47 -47
  191. data/generated/google/apis/games_v1/service.rb +58 -57
  192. data/generated/google/apis/genomics_v1.rb +6 -6
  193. data/generated/google/apis/genomics_v1/classes.rb +2354 -2354
  194. data/generated/google/apis/genomics_v1/representations.rb +487 -487
  195. data/generated/google/apis/genomics_v1/service.rb +1188 -1187
  196. data/generated/google/apis/gmail_v1/classes.rb +11 -11
  197. data/generated/google/apis/gmail_v1/representations.rb +11 -11
  198. data/generated/google/apis/gmail_v1/service.rb +2 -1
  199. data/generated/google/apis/groupsmigration_v1/service.rb +1 -0
  200. data/generated/google/apis/groupssettings_v1/service.rb +1 -0
  201. data/generated/google/apis/iam_v1/classes.rb +437 -437
  202. data/generated/google/apis/iam_v1/representations.rb +95 -95
  203. data/generated/google/apis/iam_v1/service.rb +87 -86
  204. data/generated/google/apis/identitytoolkit_v3/classes.rb +20 -20
  205. data/generated/google/apis/identitytoolkit_v3/representations.rb +20 -20
  206. data/generated/google/apis/identitytoolkit_v3/service.rb +1 -0
  207. data/generated/google/apis/kgsearch_v1/service.rb +9 -8
  208. data/generated/google/apis/language_v1.rb +1 -1
  209. data/generated/google/apis/language_v1/classes.rb +245 -245
  210. data/generated/google/apis/language_v1/representations.rb +65 -65
  211. data/generated/google/apis/language_v1/service.rb +1 -0
  212. data/generated/google/apis/language_v1beta1.rb +1 -1
  213. data/generated/google/apis/language_v1beta1/classes.rb +277 -277
  214. data/generated/google/apis/language_v1beta1/representations.rb +83 -83
  215. data/generated/google/apis/language_v1beta1/service.rb +31 -30
  216. data/generated/google/apis/licensing_v1/service.rb +1 -0
  217. data/generated/google/apis/logging_v2/classes.rb +408 -408
  218. data/generated/google/apis/logging_v2/representations.rb +93 -93
  219. data/generated/google/apis/logging_v2/service.rb +408 -407
  220. data/generated/google/apis/logging_v2beta1.rb +3 -3
  221. data/generated/google/apis/logging_v2beta1/classes.rb +892 -892
  222. data/generated/google/apis/logging_v2beta1/representations.rb +128 -128
  223. data/generated/google/apis/logging_v2beta1/service.rb +89 -88
  224. data/generated/google/apis/manufacturers_v1/classes.rb +309 -309
  225. data/generated/google/apis/manufacturers_v1/representations.rb +64 -64
  226. data/generated/google/apis/manufacturers_v1/service.rb +1 -0
  227. data/generated/google/apis/mirror_v1/service.rb +1 -0
  228. data/generated/google/apis/ml_v1/classes.rb +1185 -1185
  229. data/generated/google/apis/ml_v1/representations.rb +171 -171
  230. data/generated/google/apis/ml_v1/service.rb +282 -281
  231. data/generated/google/apis/monitoring_v3.rb +3 -3
  232. data/generated/google/apis/monitoring_v3/classes.rb +334 -334
  233. data/generated/google/apis/monitoring_v3/representations.rb +86 -86
  234. data/generated/google/apis/monitoring_v3/service.rb +344 -343
  235. data/generated/google/apis/mybusiness_v3/service.rb +1 -0
  236. data/generated/google/apis/oauth2_v2/service.rb +1 -0
  237. data/generated/google/apis/pagespeedonline_v2/classes.rb +8 -8
  238. data/generated/google/apis/pagespeedonline_v2/representations.rb +8 -8
  239. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -0
  240. data/generated/google/apis/partners_v2/classes.rb +1466 -1466
  241. data/generated/google/apis/partners_v2/representations.rb +371 -371
  242. data/generated/google/apis/partners_v2/service.rb +530 -529
  243. data/generated/google/apis/people_v1.rb +4 -4
  244. data/generated/google/apis/people_v1/classes.rb +1009 -1009
  245. data/generated/google/apis/people_v1/representations.rb +249 -249
  246. data/generated/google/apis/people_v1/service.rb +13 -12
  247. data/generated/google/apis/plus_domains_v1/classes.rb +2 -2
  248. data/generated/google/apis/plus_domains_v1/representations.rb +2 -2
  249. data/generated/google/apis/plus_domains_v1/service.rb +1 -0
  250. data/generated/google/apis/plus_v1/service.rb +1 -0
  251. data/generated/google/apis/prediction_v1_6/classes.rb +9 -9
  252. data/generated/google/apis/prediction_v1_6/representations.rb +9 -9
  253. data/generated/google/apis/prediction_v1_6/service.rb +1 -0
  254. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +221 -221
  255. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +55 -55
  256. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +378 -377
  257. data/generated/google/apis/pubsub_v1/classes.rb +99 -99
  258. data/generated/google/apis/pubsub_v1/representations.rb +25 -25
  259. data/generated/google/apis/pubsub_v1/service.rb +236 -235
  260. data/generated/google/apis/qpx_express_v1/service.rb +1 -0
  261. data/generated/google/apis/replicapool_v1beta2/classes.rb +3 -3
  262. data/generated/google/apis/replicapool_v1beta2/representations.rb +3 -3
  263. data/generated/google/apis/replicapool_v1beta2/service.rb +1 -0
  264. data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +2 -2
  265. data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +2 -2
  266. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -0
  267. data/generated/google/apis/reseller_v1/classes.rb +5 -5
  268. data/generated/google/apis/reseller_v1/representations.rb +5 -5
  269. data/generated/google/apis/reseller_v1/service.rb +1 -0
  270. data/generated/google/apis/resourceviews_v1beta2/classes.rb +2 -2
  271. data/generated/google/apis/resourceviews_v1beta2/representations.rb +2 -2
  272. data/generated/google/apis/resourceviews_v1beta2/service.rb +1 -0
  273. data/generated/google/apis/runtimeconfig_v1.rb +3 -3
  274. data/generated/google/apis/runtimeconfig_v1/classes.rb +28 -28
  275. data/generated/google/apis/runtimeconfig_v1/representations.rb +3 -3
  276. data/generated/google/apis/runtimeconfig_v1/service.rb +53 -52
  277. data/generated/google/apis/script_v1.rb +18 -18
  278. data/generated/google/apis/script_v1/classes.rb +84 -84
  279. data/generated/google/apis/script_v1/representations.rb +18 -18
  280. data/generated/google/apis/script_v1/service.rb +11 -10
  281. data/generated/google/apis/searchconsole_v1/classes.rb +75 -75
  282. data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
  283. data/generated/google/apis/searchconsole_v1/service.rb +11 -10
  284. data/generated/google/apis/servicecontrol_v1/classes.rb +582 -582
  285. data/generated/google/apis/servicecontrol_v1/representations.rb +113 -113
  286. data/generated/google/apis/servicecontrol_v1/service.rb +71 -70
  287. data/generated/google/apis/servicemanagement_v1.rb +3 -3
  288. data/generated/google/apis/servicemanagement_v1/classes.rb +3725 -3725
  289. data/generated/google/apis/servicemanagement_v1/representations.rb +255 -255
  290. data/generated/google/apis/servicemanagement_v1/service.rb +179 -178
  291. data/generated/google/apis/serviceuser_v1.rb +3 -3
  292. data/generated/google/apis/serviceuser_v1/classes.rb +2845 -2845
  293. data/generated/google/apis/serviceuser_v1/representations.rb +228 -228
  294. data/generated/google/apis/serviceuser_v1/service.rb +47 -46
  295. data/generated/google/apis/sheets_v4.rb +1 -1
  296. data/generated/google/apis/sheets_v4/classes.rb +4456 -4456
  297. data/generated/google/apis/sheets_v4/representations.rb +859 -859
  298. data/generated/google/apis/sheets_v4/service.rb +180 -179
  299. data/generated/google/apis/site_verification_v1/service.rb +1 -0
  300. data/generated/google/apis/slides_v1.rb +1 -1
  301. data/generated/google/apis/slides_v1/classes.rb +2856 -2856
  302. data/generated/google/apis/slides_v1/representations.rb +683 -683
  303. data/generated/google/apis/slides_v1/service.rb +27 -26
  304. data/generated/google/apis/sourcerepo_v1/classes.rb +281 -281
  305. data/generated/google/apis/sourcerepo_v1/representations.rb +79 -79
  306. data/generated/google/apis/sourcerepo_v1/service.rb +112 -111
  307. data/generated/google/apis/spanner_v1/classes.rb +2177 -2177
  308. data/generated/google/apis/spanner_v1/representations.rb +325 -325
  309. data/generated/google/apis/spanner_v1/service.rb +374 -373
  310. data/generated/google/apis/speech_v1beta1/classes.rb +197 -197
  311. data/generated/google/apis/speech_v1beta1/representations.rb +36 -36
  312. data/generated/google/apis/speech_v1beta1/service.rb +27 -26
  313. data/generated/google/apis/sqladmin_v1beta4/classes.rb +14 -14
  314. data/generated/google/apis/sqladmin_v1beta4/representations.rb +14 -14
  315. data/generated/google/apis/sqladmin_v1beta4/service.rb +3 -2
  316. data/generated/google/apis/storage_v1.rb +1 -1
  317. data/generated/google/apis/storage_v1/classes.rb +11 -11
  318. data/generated/google/apis/storage_v1/representations.rb +11 -11
  319. data/generated/google/apis/storage_v1/service.rb +65 -64
  320. data/generated/google/apis/storagetransfer_v1/classes.rb +239 -239
  321. data/generated/google/apis/storagetransfer_v1/representations.rb +79 -79
  322. data/generated/google/apis/storagetransfer_v1/service.rb +133 -132
  323. data/generated/google/apis/surveys_v2/classes.rb +4 -4
  324. data/generated/google/apis/surveys_v2/representations.rb +4 -4
  325. data/generated/google/apis/surveys_v2/service.rb +1 -0
  326. data/generated/google/apis/tagmanager_v1/classes.rb +7 -7
  327. data/generated/google/apis/tagmanager_v1/representations.rb +7 -7
  328. data/generated/google/apis/tagmanager_v1/service.rb +1 -0
  329. data/generated/google/apis/tagmanager_v2/classes.rb +6 -6
  330. data/generated/google/apis/tagmanager_v2/representations.rb +6 -6
  331. data/generated/google/apis/tagmanager_v2/service.rb +1 -0
  332. data/generated/google/apis/taskqueue_v1beta2/classes.rb +5 -5
  333. data/generated/google/apis/taskqueue_v1beta2/representations.rb +5 -5
  334. data/generated/google/apis/taskqueue_v1beta2/service.rb +1 -0
  335. data/generated/google/apis/tasks_v1/service.rb +3 -2
  336. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  337. data/generated/google/apis/toolresults_v1beta3/classes.rb +4 -4
  338. data/generated/google/apis/toolresults_v1beta3/representations.rb +4 -4
  339. data/generated/google/apis/toolresults_v1beta3/service.rb +1 -0
  340. data/generated/google/apis/tracing_v1/classes.rb +421 -421
  341. data/generated/google/apis/tracing_v1/representations.rb +86 -86
  342. data/generated/google/apis/tracing_v1/service.rb +60 -59
  343. data/generated/google/apis/translate_v2/service.rb +1 -0
  344. data/generated/google/apis/urlshortener_v1/classes.rb +3 -3
  345. data/generated/google/apis/urlshortener_v1/representations.rb +3 -3
  346. data/generated/google/apis/urlshortener_v1/service.rb +1 -0
  347. data/generated/google/apis/vision_v1/classes.rb +1290 -1290
  348. data/generated/google/apis/vision_v1/representations.rb +184 -184
  349. data/generated/google/apis/vision_v1/service.rb +11 -10
  350. data/generated/google/apis/webfonts_v1/service.rb +1 -0
  351. data/generated/google/apis/webmasters_v3/classes.rb +5 -5
  352. data/generated/google/apis/webmasters_v3/representations.rb +5 -5
  353. data/generated/google/apis/webmasters_v3/service.rb +1 -0
  354. data/generated/google/apis/youtube_analytics_v1/classes.rb +1 -1
  355. data/generated/google/apis/youtube_analytics_v1/representations.rb +1 -1
  356. data/generated/google/apis/youtube_analytics_v1/service.rb +1 -0
  357. data/generated/google/apis/youtube_partner_v1/classes.rb +13 -13
  358. data/generated/google/apis/youtube_partner_v1/representations.rb +13 -13
  359. data/generated/google/apis/youtube_partner_v1/service.rb +1 -0
  360. data/generated/google/apis/youtube_v3/classes.rb +31 -31
  361. data/generated/google/apis/youtube_v3/representations.rb +31 -31
  362. data/generated/google/apis/youtube_v3/service.rb +2 -1
  363. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  364. data/generated/google/apis/youtubereporting_v1/classes.rb +73 -73
  365. data/generated/google/apis/youtubereporting_v1/representations.rb +18 -18
  366. data/generated/google/apis/youtubereporting_v1/service.rb +77 -76
  367. data/google-api-client.gemspec +4 -6
  368. data/lib/google/apis/core/api_command.rb +8 -3
  369. data/lib/google/apis/core/base_service.rb +47 -18
  370. data/lib/google/apis/core/batch.rb +13 -18
  371. data/lib/google/apis/core/composite_io.rb +97 -0
  372. data/lib/google/apis/core/download.rb +24 -20
  373. data/lib/google/apis/core/http_command.rb +49 -38
  374. data/lib/google/apis/core/json_representation.rb +5 -1
  375. data/lib/google/apis/core/multipart.rb +43 -95
  376. data/lib/google/apis/core/upload.rb +59 -84
  377. data/lib/google/apis/generator/model.rb +2 -0
  378. data/lib/google/apis/generator/templates/_representation.tmpl +1 -1
  379. data/lib/google/apis/generator/templates/service.rb.tmpl +1 -0
  380. data/lib/google/apis/options.rb +24 -12
  381. data/lib/google/apis/version.rb +1 -1
  382. data/samples/web/Gemfile +0 -1
  383. metadata +39 -37
  384. data/lib/google/apis/core/http_client_adapter.rb +0 -82
  385. data/third_party/hurley_patches.rb +0 -103
@@ -22,888 +22,888 @@ module Google
22
22
  module Apis
23
23
  module PartnersV2
24
24
 
25
- class Certification
25
+ class LatLng
26
26
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
27
 
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
- class User
31
+ class Money
32
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
33
 
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
- class ListAnalyticsResponse
37
+ class AnalyticsSummary
38
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
39
 
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
- class ListLeadsResponse
43
+ class LogMessageRequest
44
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
45
 
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
- class Company
49
+ class DebugInfo
50
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
51
 
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
- class CreateLeadResponse
55
+ class Lead
56
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
57
 
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
- class GetCompanyResponse
61
+ class ListUserStatesResponse
62
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
63
 
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
- class Location
67
+ class CompanyRelation
68
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
69
 
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
- class ExamToken
73
+ class Date
74
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
75
 
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
- class CertificationExamStatus
79
+ class Empty
80
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
81
 
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
- class OptIns
85
+ class TrafficSource
86
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
87
 
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
- class Rank
91
+ class RequestMetadata
92
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
93
 
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
- class UserProfile
97
+ class CreateLeadRequest
98
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
99
 
100
100
  include Google::Apis::Core::JsonObjectSupport
101
101
  end
102
102
 
103
- class GetPartnersStatusResponse
103
+ class EventData
104
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
105
 
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
- class HistoricalOffer
109
+ class ExamStatus
110
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
111
 
112
112
  include Google::Apis::Core::JsonObjectSupport
113
113
  end
114
114
 
115
- class UserOverrides
115
+ class ListOffersResponse
116
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
117
 
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
- class LogUserEventRequest
121
+ class CountryOfferInfo
122
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
123
 
124
124
  include Google::Apis::Core::JsonObjectSupport
125
125
  end
126
126
 
127
- class AnalyticsDataPoint
127
+ class ListCompaniesResponse
128
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
129
 
130
130
  include Google::Apis::Core::JsonObjectSupport
131
131
  end
132
132
 
133
- class Analytics
133
+ class OfferCustomer
134
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
135
 
136
136
  include Google::Apis::Core::JsonObjectSupport
137
137
  end
138
138
 
139
- class PublicProfile
139
+ class CertificationStatus
140
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
141
 
142
142
  include Google::Apis::Core::JsonObjectSupport
143
143
  end
144
144
 
145
- class AdWordsManagerAccountInfo
145
+ class LocalizedCompanyInfo
146
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
147
 
148
148
  include Google::Apis::Core::JsonObjectSupport
149
149
  end
150
150
 
151
- class ResponseMetadata
151
+ class LogUserEventResponse
152
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
153
 
154
154
  include Google::Apis::Core::JsonObjectSupport
155
155
  end
156
156
 
157
- class RecaptchaChallenge
157
+ class ListOffersHistoryResponse
158
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
159
 
160
160
  include Google::Apis::Core::JsonObjectSupport
161
161
  end
162
162
 
163
- class AvailableOffer
163
+ class LogMessageResponse
164
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
165
 
166
166
  include Google::Apis::Core::JsonObjectSupport
167
167
  end
168
168
 
169
- class LatLng
169
+ class SpecializationStatus
170
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
171
 
172
172
  include Google::Apis::Core::JsonObjectSupport
173
173
  end
174
174
 
175
- class Money
175
+ class Certification
176
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
177
 
178
178
  include Google::Apis::Core::JsonObjectSupport
179
179
  end
180
180
 
181
- class AnalyticsSummary
181
+ class User
182
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
183
 
184
184
  include Google::Apis::Core::JsonObjectSupport
185
185
  end
186
186
 
187
- class LogMessageRequest
187
+ class ListAnalyticsResponse
188
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
189
 
190
190
  include Google::Apis::Core::JsonObjectSupport
191
191
  end
192
192
 
193
- class Lead
193
+ class ListLeadsResponse
194
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
195
 
196
196
  include Google::Apis::Core::JsonObjectSupport
197
197
  end
198
198
 
199
- class DebugInfo
199
+ class Company
200
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
201
 
202
202
  include Google::Apis::Core::JsonObjectSupport
203
203
  end
204
204
 
205
- class ListUserStatesResponse
205
+ class CreateLeadResponse
206
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
207
 
208
208
  include Google::Apis::Core::JsonObjectSupport
209
209
  end
210
210
 
211
- class CompanyRelation
211
+ class GetCompanyResponse
212
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
213
 
214
214
  include Google::Apis::Core::JsonObjectSupport
215
215
  end
216
216
 
217
- class Date
217
+ class Location
218
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
219
 
220
220
  include Google::Apis::Core::JsonObjectSupport
221
221
  end
222
222
 
223
- class Empty
223
+ class CertificationExamStatus
224
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
225
 
226
226
  include Google::Apis::Core::JsonObjectSupport
227
227
  end
228
228
 
229
- class TrafficSource
229
+ class ExamToken
230
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
231
 
232
232
  include Google::Apis::Core::JsonObjectSupport
233
233
  end
234
234
 
235
- class RequestMetadata
235
+ class OptIns
236
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
237
 
238
238
  include Google::Apis::Core::JsonObjectSupport
239
239
  end
240
240
 
241
- class CreateLeadRequest
241
+ class Rank
242
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
243
 
244
244
  include Google::Apis::Core::JsonObjectSupport
245
245
  end
246
246
 
247
- class EventData
247
+ class UserProfile
248
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
249
 
250
250
  include Google::Apis::Core::JsonObjectSupport
251
251
  end
252
252
 
253
- class ExamStatus
253
+ class GetPartnersStatusResponse
254
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
255
 
256
256
  include Google::Apis::Core::JsonObjectSupport
257
257
  end
258
258
 
259
- class ListOffersResponse
259
+ class HistoricalOffer
260
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
261
261
 
262
262
  include Google::Apis::Core::JsonObjectSupport
263
263
  end
264
264
 
265
- class CountryOfferInfo
265
+ class UserOverrides
266
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
267
 
268
268
  include Google::Apis::Core::JsonObjectSupport
269
269
  end
270
270
 
271
- class ListCompaniesResponse
271
+ class LogUserEventRequest
272
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
273
273
 
274
274
  include Google::Apis::Core::JsonObjectSupport
275
275
  end
276
276
 
277
- class OfferCustomer
277
+ class AnalyticsDataPoint
278
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
279
 
280
280
  include Google::Apis::Core::JsonObjectSupport
281
281
  end
282
282
 
283
- class CertificationStatus
283
+ class Analytics
284
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
285
 
286
286
  include Google::Apis::Core::JsonObjectSupport
287
287
  end
288
288
 
289
- class LocalizedCompanyInfo
289
+ class PublicProfile
290
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
291
 
292
292
  include Google::Apis::Core::JsonObjectSupport
293
293
  end
294
294
 
295
- class LogUserEventResponse
295
+ class AdWordsManagerAccountInfo
296
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
297
 
298
298
  include Google::Apis::Core::JsonObjectSupport
299
299
  end
300
300
 
301
- class ListOffersHistoryResponse
301
+ class ResponseMetadata
302
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
303
303
 
304
304
  include Google::Apis::Core::JsonObjectSupport
305
305
  end
306
306
 
307
- class LogMessageResponse
307
+ class RecaptchaChallenge
308
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
309
 
310
310
  include Google::Apis::Core::JsonObjectSupport
311
311
  end
312
312
 
313
- class SpecializationStatus
313
+ class AvailableOffer
314
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
315
 
316
316
  include Google::Apis::Core::JsonObjectSupport
317
317
  end
318
318
 
319
- class Certification
319
+ class LatLng
320
320
  # @private
321
321
  class Representation < Google::Apis::Core::JsonRepresentation
322
- property :last_achieved, as: 'lastAchieved'
323
- property :achieved, as: 'achieved'
324
- property :expiration, as: 'expiration'
325
- property :warning, as: 'warning'
326
- property :certification_type, as: 'certificationType'
322
+ property :latitude, as: 'latitude'
323
+ property :longitude, as: 'longitude'
327
324
  end
328
325
  end
329
326
 
330
- class User
327
+ class Money
331
328
  # @private
332
329
  class Representation < Google::Apis::Core::JsonRepresentation
333
- collection :exam_status, as: 'examStatus', class: Google::Apis::PartnersV2::ExamStatus, decorator: Google::Apis::PartnersV2::ExamStatus::Representation
334
-
335
- property :id, as: 'id'
336
- property :public_profile, as: 'publicProfile', class: Google::Apis::PartnersV2::PublicProfile, decorator: Google::Apis::PartnersV2::PublicProfile::Representation
337
-
338
- collection :certification_status, as: 'certificationStatus', class: Google::Apis::PartnersV2::Certification, decorator: Google::Apis::PartnersV2::Certification::Representation
339
-
340
- property :company_verification_email, as: 'companyVerificationEmail'
341
- property :company, as: 'company', class: Google::Apis::PartnersV2::CompanyRelation, decorator: Google::Apis::PartnersV2::CompanyRelation::Representation
342
-
343
- property :profile, as: 'profile', class: Google::Apis::PartnersV2::UserProfile, decorator: Google::Apis::PartnersV2::UserProfile::Representation
344
-
345
- property :last_access_time, as: 'lastAccessTime'
346
- collection :primary_emails, as: 'primaryEmails'
347
- collection :available_adwords_manager_accounts, as: 'availableAdwordsManagerAccounts', class: Google::Apis::PartnersV2::AdWordsManagerAccountInfo, decorator: Google::Apis::PartnersV2::AdWordsManagerAccountInfo::Representation
348
-
330
+ property :units, :numeric_string => true, as: 'units'
331
+ property :currency_code, as: 'currencyCode'
332
+ property :nanos, as: 'nanos'
349
333
  end
350
334
  end
351
335
 
352
- class ListAnalyticsResponse
336
+ class AnalyticsSummary
353
337
  # @private
354
338
  class Representation < Google::Apis::Core::JsonRepresentation
355
- property :next_page_token, as: 'nextPageToken'
356
- property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
357
-
358
- property :analytics_summary, as: 'analyticsSummary', class: Google::Apis::PartnersV2::AnalyticsSummary, decorator: Google::Apis::PartnersV2::AnalyticsSummary::Representation
359
-
360
- collection :analytics, as: 'analytics', class: Google::Apis::PartnersV2::Analytics, decorator: Google::Apis::PartnersV2::Analytics::Representation
361
-
339
+ property :search_views_count, as: 'searchViewsCount'
340
+ property :contacts_count, as: 'contactsCount'
341
+ property :profile_views_count, as: 'profileViewsCount'
362
342
  end
363
343
  end
364
344
 
365
- class ListLeadsResponse
345
+ class LogMessageRequest
366
346
  # @private
367
347
  class Representation < Google::Apis::Core::JsonRepresentation
368
- property :next_page_token, as: 'nextPageToken'
369
- property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
370
-
371
- property :total_size, as: 'totalSize'
372
- collection :leads, as: 'leads', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation
348
+ property :level, as: 'level'
349
+ property :details, as: 'details'
350
+ hash :client_info, as: 'clientInfo'
351
+ property :request_metadata, as: 'requestMetadata', class: Google::Apis::PartnersV2::RequestMetadata, decorator: Google::Apis::PartnersV2::RequestMetadata::Representation
373
352
 
374
353
  end
375
354
  end
376
355
 
377
- class Company
356
+ class DebugInfo
378
357
  # @private
379
358
  class Representation < Google::Apis::Core::JsonRepresentation
380
- property :converted_min_monthly_budget, as: 'convertedMinMonthlyBudget', class: Google::Apis::PartnersV2::Money, decorator: Google::Apis::PartnersV2::Money::Representation
381
-
382
- collection :industries, as: 'industries'
383
- property :website_url, as: 'websiteUrl'
384
- collection :additional_websites, as: 'additionalWebsites'
385
- property :primary_adwords_manager_account_id, as: 'primaryAdwordsManagerAccountId'
386
- property :name, as: 'name'
387
- collection :localized_infos, as: 'localizedInfos', class: Google::Apis::PartnersV2::LocalizedCompanyInfo, decorator: Google::Apis::PartnersV2::LocalizedCompanyInfo::Representation
388
-
389
- collection :certification_statuses, as: 'certificationStatuses', class: Google::Apis::PartnersV2::CertificationStatus, decorator: Google::Apis::PartnersV2::CertificationStatus::Representation
390
-
391
- property :id, as: 'id'
392
- property :original_min_monthly_budget, as: 'originalMinMonthlyBudget', class: Google::Apis::PartnersV2::Money, decorator: Google::Apis::PartnersV2::Money::Representation
393
-
394
- property :public_profile, as: 'publicProfile', class: Google::Apis::PartnersV2::PublicProfile, decorator: Google::Apis::PartnersV2::PublicProfile::Representation
395
-
396
- property :primary_location, as: 'primaryLocation', class: Google::Apis::PartnersV2::Location, decorator: Google::Apis::PartnersV2::Location::Representation
397
-
398
- collection :services, as: 'services'
399
- collection :ranks, as: 'ranks', class: Google::Apis::PartnersV2::Rank, decorator: Google::Apis::PartnersV2::Rank::Representation
400
-
401
- collection :specialization_status, as: 'specializationStatus', class: Google::Apis::PartnersV2::SpecializationStatus, decorator: Google::Apis::PartnersV2::SpecializationStatus::Representation
402
-
403
- property :badge_tier, as: 'badgeTier'
404
- collection :company_types, as: 'companyTypes'
405
- collection :auto_approval_email_domains, as: 'autoApprovalEmailDomains'
406
- property :primary_language_code, as: 'primaryLanguageCode'
407
- property :profile_status, as: 'profileStatus'
408
- collection :locations, as: 'locations', class: Google::Apis::PartnersV2::Location, decorator: Google::Apis::PartnersV2::Location::Representation
409
-
359
+ property :server_info, as: 'serverInfo'
360
+ property :server_trace_info, as: 'serverTraceInfo'
361
+ property :service_url, as: 'serviceUrl'
410
362
  end
411
363
  end
412
364
 
413
- class CreateLeadResponse
365
+ class Lead
414
366
  # @private
415
367
  class Representation < Google::Apis::Core::JsonRepresentation
416
- property :lead, as: 'lead', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation
417
-
418
- property :recaptcha_status, as: 'recaptchaStatus'
419
- property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
368
+ property :marketing_opt_in, as: 'marketingOptIn'
369
+ property :type, as: 'type'
370
+ property :min_monthly_budget, as: 'minMonthlyBudget', class: Google::Apis::PartnersV2::Money, decorator: Google::Apis::PartnersV2::Money::Representation
420
371
 
372
+ property :given_name, as: 'givenName'
373
+ property :language_code, as: 'languageCode'
374
+ property :website_url, as: 'websiteUrl'
375
+ collection :gps_motivations, as: 'gpsMotivations'
376
+ property :state, as: 'state'
377
+ property :email, as: 'email'
378
+ property :family_name, as: 'familyName'
379
+ property :id, as: 'id'
380
+ property :comments, as: 'comments'
381
+ property :adwords_customer_id, :numeric_string => true, as: 'adwordsCustomerId'
382
+ property :phone_number, as: 'phoneNumber'
383
+ property :create_time, as: 'createTime'
421
384
  end
422
385
  end
423
386
 
424
- class GetCompanyResponse
387
+ class ListUserStatesResponse
425
388
  # @private
426
389
  class Representation < Google::Apis::Core::JsonRepresentation
427
- property :company, as: 'company', class: Google::Apis::PartnersV2::Company, decorator: Google::Apis::PartnersV2::Company::Representation
428
-
390
+ collection :user_states, as: 'userStates'
429
391
  property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
430
392
 
431
393
  end
432
394
  end
433
395
 
434
- class Location
396
+ class CompanyRelation
435
397
  # @private
436
398
  class Representation < Google::Apis::Core::JsonRepresentation
437
- property :language_code, as: 'languageCode'
438
- property :sorting_code, as: 'sortingCode'
439
- collection :address_line, as: 'addressLine'
440
- property :administrative_area, as: 'administrativeArea'
441
- property :locality, as: 'locality'
442
- property :lat_lng, as: 'latLng', class: Google::Apis::PartnersV2::LatLng, decorator: Google::Apis::PartnersV2::LatLng::Representation
443
-
444
- property :dependent_locality, as: 'dependentLocality'
445
- property :region_code, as: 'regionCode'
399
+ property :resolved_timestamp, as: 'resolvedTimestamp'
400
+ property :company_admin, as: 'companyAdmin'
446
401
  property :address, as: 'address'
447
- property :postal_code, as: 'postalCode'
402
+ property :is_pending, as: 'isPending'
403
+ property :creation_time, as: 'creationTime'
404
+ property :state, as: 'state'
405
+ property :name, as: 'name'
406
+ property :manager_account, :numeric_string => true, as: 'managerAccount'
407
+ collection :segment, as: 'segment'
408
+ property :badge_tier, as: 'badgeTier'
409
+ collection :specialization_status, as: 'specializationStatus', class: Google::Apis::PartnersV2::SpecializationStatus, decorator: Google::Apis::PartnersV2::SpecializationStatus::Representation
410
+
411
+ property :phone_number, as: 'phoneNumber'
412
+ property :website, as: 'website'
413
+ property :company_id, as: 'companyId'
414
+ property :logo_url, as: 'logoUrl'
448
415
  end
449
416
  end
450
417
 
451
- class ExamToken
418
+ class Date
452
419
  # @private
453
420
  class Representation < Google::Apis::Core::JsonRepresentation
454
- property :token, as: 'token'
455
- property :exam_type, as: 'examType'
456
- property :exam_id, as: 'examId'
421
+ property :year, as: 'year'
422
+ property :day, as: 'day'
423
+ property :month, as: 'month'
457
424
  end
458
425
  end
459
426
 
460
- class CertificationExamStatus
427
+ class Empty
461
428
  # @private
462
429
  class Representation < Google::Apis::Core::JsonRepresentation
463
- property :number_users_pass, as: 'numberUsersPass'
464
- property :type, as: 'type'
465
430
  end
466
431
  end
467
432
 
468
- class OptIns
433
+ class TrafficSource
469
434
  # @private
470
435
  class Representation < Google::Apis::Core::JsonRepresentation
471
- property :market_comm, as: 'marketComm'
472
- property :special_offers, as: 'specialOffers'
473
- property :performance_suggestions, as: 'performanceSuggestions'
474
- property :physical_mail, as: 'physicalMail'
475
- property :phone_contact, as: 'phoneContact'
436
+ property :traffic_source_id, as: 'trafficSourceId'
437
+ property :traffic_sub_id, as: 'trafficSubId'
476
438
  end
477
439
  end
478
440
 
479
- class Rank
441
+ class RequestMetadata
480
442
  # @private
481
443
  class Representation < Google::Apis::Core::JsonRepresentation
482
- property :type, as: 'type'
483
- property :value, as: 'value'
444
+ collection :experiment_ids, as: 'experimentIds'
445
+ property :traffic_source, as: 'trafficSource', class: Google::Apis::PartnersV2::TrafficSource, decorator: Google::Apis::PartnersV2::TrafficSource::Representation
446
+
447
+ property :locale, as: 'locale'
448
+ property :user_overrides, as: 'userOverrides', class: Google::Apis::PartnersV2::UserOverrides, decorator: Google::Apis::PartnersV2::UserOverrides::Representation
449
+
450
+ property :partners_session_id, as: 'partnersSessionId'
484
451
  end
485
452
  end
486
453
 
487
- class UserProfile
454
+ class CreateLeadRequest
488
455
  # @private
489
456
  class Representation < Google::Apis::Core::JsonRepresentation
490
- property :family_name, as: 'familyName'
491
- collection :languages, as: 'languages'
492
- property :email_opt_ins, as: 'emailOptIns', class: Google::Apis::PartnersV2::OptIns, decorator: Google::Apis::PartnersV2::OptIns::Representation
457
+ property :request_metadata, as: 'requestMetadata', class: Google::Apis::PartnersV2::RequestMetadata, decorator: Google::Apis::PartnersV2::RequestMetadata::Representation
493
458
 
494
- collection :markets, as: 'markets'
495
- property :adwords_manager_account, as: 'adwordsManagerAccount'
496
- property :phone_number, as: 'phoneNumber'
497
- property :primary_country_code, as: 'primaryCountryCode'
498
- property :email_address, as: 'emailAddress'
499
- property :profile_public, as: 'profilePublic'
500
- collection :channels, as: 'channels'
501
- collection :job_functions, as: 'jobFunctions'
502
- property :given_name, as: 'givenName'
503
- property :address, as: 'address', class: Google::Apis::PartnersV2::Location, decorator: Google::Apis::PartnersV2::Location::Representation
459
+ property :lead, as: 'lead', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation
460
+
461
+ property :recaptcha_challenge, as: 'recaptchaChallenge', class: Google::Apis::PartnersV2::RecaptchaChallenge, decorator: Google::Apis::PartnersV2::RecaptchaChallenge::Representation
504
462
 
505
- collection :industries, as: 'industries'
506
463
  end
507
464
  end
508
465
 
509
- class GetPartnersStatusResponse
466
+ class EventData
510
467
  # @private
511
468
  class Representation < Google::Apis::Core::JsonRepresentation
512
- property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
513
-
469
+ property :key, as: 'key'
470
+ collection :values, as: 'values'
514
471
  end
515
472
  end
516
473
 
517
- class HistoricalOffer
474
+ class ExamStatus
518
475
  # @private
519
476
  class Representation < Google::Apis::Core::JsonRepresentation
520
- property :client_name, as: 'clientName'
521
- property :last_modified_time, as: 'lastModifiedTime'
522
- property :adwords_url, as: 'adwordsUrl'
523
- property :offer_type, as: 'offerType'
524
- property :sender_name, as: 'senderName'
525
- property :offer_country_code, as: 'offerCountryCode'
526
- property :expiration_time, as: 'expirationTime'
527
- property :offer_code, as: 'offerCode'
528
- property :creation_time, as: 'creationTime'
529
- property :status, as: 'status'
530
- property :client_email, as: 'clientEmail'
531
- property :client_id, as: 'clientId'
477
+ property :taken, as: 'taken'
478
+ property :passed, as: 'passed'
479
+ property :expiration, as: 'expiration'
480
+ property :warning, as: 'warning'
481
+ property :last_passed, as: 'lastPassed'
482
+ property :exam_type, as: 'examType'
532
483
  end
533
484
  end
534
485
 
535
- class UserOverrides
486
+ class ListOffersResponse
536
487
  # @private
537
488
  class Representation < Google::Apis::Core::JsonRepresentation
538
- property :ip_address, as: 'ipAddress'
539
- property :user_id, as: 'userId'
489
+ property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
490
+
491
+ property :no_offer_reason, as: 'noOfferReason'
492
+ collection :available_offers, as: 'availableOffers', class: Google::Apis::PartnersV2::AvailableOffer, decorator: Google::Apis::PartnersV2::AvailableOffer::Representation
493
+
540
494
  end
541
495
  end
542
496
 
543
- class LogUserEventRequest
497
+ class CountryOfferInfo
544
498
  # @private
545
499
  class Representation < Google::Apis::Core::JsonRepresentation
546
- property :url, as: 'url'
547
- property :request_metadata, as: 'requestMetadata', class: Google::Apis::PartnersV2::RequestMetadata, decorator: Google::Apis::PartnersV2::RequestMetadata::Representation
500
+ property :offer_country_code, as: 'offerCountryCode'
501
+ property :spend_x_amount, as: 'spendXAmount'
502
+ property :offer_type, as: 'offerType'
503
+ property :get_y_amount, as: 'getYAmount'
504
+ end
505
+ end
548
506
 
549
- property :event_scope, as: 'eventScope'
550
- collection :event_datas, as: 'eventDatas', class: Google::Apis::PartnersV2::EventData, decorator: Google::Apis::PartnersV2::EventData::Representation
507
+ class ListCompaniesResponse
508
+ # @private
509
+ class Representation < Google::Apis::Core::JsonRepresentation
510
+ property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
551
511
 
552
- property :event_category, as: 'eventCategory'
553
- property :lead, as: 'lead', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation
512
+ collection :companies, as: 'companies', class: Google::Apis::PartnersV2::Company, decorator: Google::Apis::PartnersV2::Company::Representation
554
513
 
555
- property :event_action, as: 'eventAction'
514
+ property :next_page_token, as: 'nextPageToken'
556
515
  end
557
516
  end
558
517
 
559
- class AnalyticsDataPoint
518
+ class OfferCustomer
560
519
  # @private
561
520
  class Representation < Google::Apis::Core::JsonRepresentation
562
- property :event_count, as: 'eventCount'
563
- collection :event_locations, as: 'eventLocations', class: Google::Apis::PartnersV2::LatLng, decorator: Google::Apis::PartnersV2::LatLng::Representation
564
-
521
+ property :get_y_amount, as: 'getYAmount'
522
+ property :name, as: 'name'
523
+ property :spend_x_amount, as: 'spendXAmount'
524
+ property :adwords_url, as: 'adwordsUrl'
525
+ property :offer_type, as: 'offerType'
526
+ property :country_code, as: 'countryCode'
527
+ property :external_cid, :numeric_string => true, as: 'externalCid'
528
+ property :eligibility_days_left, as: 'eligibilityDaysLeft'
529
+ property :creation_time, as: 'creationTime'
565
530
  end
566
531
  end
567
532
 
568
- class Analytics
533
+ class CertificationStatus
569
534
  # @private
570
535
  class Representation < Google::Apis::Core::JsonRepresentation
571
- property :event_date, as: 'eventDate', class: Google::Apis::PartnersV2::Date, decorator: Google::Apis::PartnersV2::Date::Representation
572
-
573
- property :profile_views, as: 'profileViews', class: Google::Apis::PartnersV2::AnalyticsDataPoint, decorator: Google::Apis::PartnersV2::AnalyticsDataPoint::Representation
574
-
575
- property :search_views, as: 'searchViews', class: Google::Apis::PartnersV2::AnalyticsDataPoint, decorator: Google::Apis::PartnersV2::AnalyticsDataPoint::Representation
576
-
577
- property :contacts, as: 'contacts', class: Google::Apis::PartnersV2::AnalyticsDataPoint, decorator: Google::Apis::PartnersV2::AnalyticsDataPoint::Representation
536
+ collection :exam_statuses, as: 'examStatuses', class: Google::Apis::PartnersV2::CertificationExamStatus, decorator: Google::Apis::PartnersV2::CertificationExamStatus::Representation
578
537
 
538
+ property :type, as: 'type'
539
+ property :user_count, as: 'userCount'
540
+ property :is_certified, as: 'isCertified'
579
541
  end
580
542
  end
581
543
 
582
- class PublicProfile
544
+ class LocalizedCompanyInfo
583
545
  # @private
584
546
  class Representation < Google::Apis::Core::JsonRepresentation
547
+ collection :country_codes, as: 'countryCodes'
548
+ property :overview, as: 'overview'
585
549
  property :display_name, as: 'displayName'
586
- property :display_image_url, as: 'displayImageUrl'
587
- property :id, as: 'id'
588
- property :url, as: 'url'
589
- property :profile_image, as: 'profileImage'
550
+ property :language_code, as: 'languageCode'
590
551
  end
591
552
  end
592
553
 
593
- class AdWordsManagerAccountInfo
554
+ class LogUserEventResponse
594
555
  # @private
595
556
  class Representation < Google::Apis::Core::JsonRepresentation
596
- property :id, as: 'id'
597
- property :customer_name, as: 'customerName'
557
+ property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
558
+
598
559
  end
599
560
  end
600
561
 
601
- class ResponseMetadata
562
+ class ListOffersHistoryResponse
602
563
  # @private
603
564
  class Representation < Google::Apis::Core::JsonRepresentation
604
- property :debug_info, as: 'debugInfo', class: Google::Apis::PartnersV2::DebugInfo, decorator: Google::Apis::PartnersV2::DebugInfo::Representation
565
+ property :can_show_entire_company, as: 'canShowEntireCompany'
566
+ property :total_results, as: 'totalResults'
567
+ property :showing_entire_company, as: 'showingEntireCompany'
568
+ collection :offers, as: 'offers', class: Google::Apis::PartnersV2::HistoricalOffer, decorator: Google::Apis::PartnersV2::HistoricalOffer::Representation
569
+
570
+ property :next_page_token, as: 'nextPageToken'
571
+ property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
605
572
 
606
573
  end
607
574
  end
608
575
 
609
- class RecaptchaChallenge
576
+ class LogMessageResponse
610
577
  # @private
611
578
  class Representation < Google::Apis::Core::JsonRepresentation
612
- property :id, as: 'id'
613
- property :response, as: 'response'
579
+ property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
580
+
614
581
  end
615
582
  end
616
583
 
617
- class AvailableOffer
584
+ class SpecializationStatus
618
585
  # @private
619
586
  class Representation < Google::Apis::Core::JsonRepresentation
620
- property :offer_type, as: 'offerType'
621
- property :max_account_age, as: 'maxAccountAge'
622
- collection :qualified_customer, as: 'qualifiedCustomer', class: Google::Apis::PartnersV2::OfferCustomer, decorator: Google::Apis::PartnersV2::OfferCustomer::Representation
623
-
624
- property :terms, as: 'terms'
625
- property :show_special_offer_copy, as: 'showSpecialOfferCopy'
626
- property :available, as: 'available'
627
- property :description, as: 'description'
628
- property :offer_level, as: 'offerLevel'
629
- property :name, as: 'name'
630
- property :qualified_customers_complete, as: 'qualifiedCustomersComplete'
631
- property :id, as: 'id'
632
- collection :country_offer_infos, as: 'countryOfferInfos', class: Google::Apis::PartnersV2::CountryOfferInfo, decorator: Google::Apis::PartnersV2::CountryOfferInfo::Representation
633
-
587
+ property :badge_specialization, as: 'badgeSpecialization'
588
+ property :badge_specialization_state, as: 'badgeSpecializationState'
634
589
  end
635
590
  end
636
591
 
637
- class LatLng
592
+ class Certification
638
593
  # @private
639
594
  class Representation < Google::Apis::Core::JsonRepresentation
640
- property :latitude, as: 'latitude'
641
- property :longitude, as: 'longitude'
595
+ property :last_achieved, as: 'lastAchieved'
596
+ property :achieved, as: 'achieved'
597
+ property :expiration, as: 'expiration'
598
+ property :warning, as: 'warning'
599
+ property :certification_type, as: 'certificationType'
642
600
  end
643
601
  end
644
602
 
645
- class Money
603
+ class User
646
604
  # @private
647
605
  class Representation < Google::Apis::Core::JsonRepresentation
648
- property :nanos, as: 'nanos'
649
- property :units, as: 'units'
650
- property :currency_code, as: 'currencyCode'
606
+ collection :available_adwords_manager_accounts, as: 'availableAdwordsManagerAccounts', class: Google::Apis::PartnersV2::AdWordsManagerAccountInfo, decorator: Google::Apis::PartnersV2::AdWordsManagerAccountInfo::Representation
607
+
608
+ collection :primary_emails, as: 'primaryEmails'
609
+ collection :exam_status, as: 'examStatus', class: Google::Apis::PartnersV2::ExamStatus, decorator: Google::Apis::PartnersV2::ExamStatus::Representation
610
+
611
+ property :id, as: 'id'
612
+ property :public_profile, as: 'publicProfile', class: Google::Apis::PartnersV2::PublicProfile, decorator: Google::Apis::PartnersV2::PublicProfile::Representation
613
+
614
+ property :company_verification_email, as: 'companyVerificationEmail'
615
+ collection :certification_status, as: 'certificationStatus', class: Google::Apis::PartnersV2::Certification, decorator: Google::Apis::PartnersV2::Certification::Representation
616
+
617
+ property :company, as: 'company', class: Google::Apis::PartnersV2::CompanyRelation, decorator: Google::Apis::PartnersV2::CompanyRelation::Representation
618
+
619
+ property :profile, as: 'profile', class: Google::Apis::PartnersV2::UserProfile, decorator: Google::Apis::PartnersV2::UserProfile::Representation
620
+
621
+ property :last_access_time, as: 'lastAccessTime'
651
622
  end
652
623
  end
653
624
 
654
- class AnalyticsSummary
625
+ class ListAnalyticsResponse
655
626
  # @private
656
627
  class Representation < Google::Apis::Core::JsonRepresentation
657
- property :contacts_count, as: 'contactsCount'
658
- property :profile_views_count, as: 'profileViewsCount'
659
- property :search_views_count, as: 'searchViewsCount'
628
+ property :next_page_token, as: 'nextPageToken'
629
+ property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
630
+
631
+ property :analytics_summary, as: 'analyticsSummary', class: Google::Apis::PartnersV2::AnalyticsSummary, decorator: Google::Apis::PartnersV2::AnalyticsSummary::Representation
632
+
633
+ collection :analytics, as: 'analytics', class: Google::Apis::PartnersV2::Analytics, decorator: Google::Apis::PartnersV2::Analytics::Representation
634
+
660
635
  end
661
636
  end
662
637
 
663
- class LogMessageRequest
638
+ class ListLeadsResponse
664
639
  # @private
665
640
  class Representation < Google::Apis::Core::JsonRepresentation
666
- hash :client_info, as: 'clientInfo'
667
- property :request_metadata, as: 'requestMetadata', class: Google::Apis::PartnersV2::RequestMetadata, decorator: Google::Apis::PartnersV2::RequestMetadata::Representation
641
+ property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
668
642
 
669
- property :level, as: 'level'
670
- property :details, as: 'details'
643
+ property :total_size, as: 'totalSize'
644
+ collection :leads, as: 'leads', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation
645
+
646
+ property :next_page_token, as: 'nextPageToken'
671
647
  end
672
648
  end
673
649
 
674
- class Lead
650
+ class Company
675
651
  # @private
676
652
  class Representation < Google::Apis::Core::JsonRepresentation
677
- property :create_time, as: 'createTime'
678
- property :marketing_opt_in, as: 'marketingOptIn'
679
- property :type, as: 'type'
680
- property :min_monthly_budget, as: 'minMonthlyBudget', class: Google::Apis::PartnersV2::Money, decorator: Google::Apis::PartnersV2::Money::Representation
653
+ collection :locations, as: 'locations', class: Google::Apis::PartnersV2::Location, decorator: Google::Apis::PartnersV2::Location::Representation
681
654
 
682
- property :given_name, as: 'givenName'
683
- property :language_code, as: 'languageCode'
655
+ property :converted_min_monthly_budget, as: 'convertedMinMonthlyBudget', class: Google::Apis::PartnersV2::Money, decorator: Google::Apis::PartnersV2::Money::Representation
656
+
657
+ collection :industries, as: 'industries'
684
658
  property :website_url, as: 'websiteUrl'
685
- property :state, as: 'state'
686
- collection :gps_motivations, as: 'gpsMotivations'
687
- property :email, as: 'email'
688
- property :family_name, as: 'familyName'
659
+ collection :additional_websites, as: 'additionalWebsites'
660
+ property :primary_adwords_manager_account_id, :numeric_string => true, as: 'primaryAdwordsManagerAccountId'
661
+ property :name, as: 'name'
662
+ collection :localized_infos, as: 'localizedInfos', class: Google::Apis::PartnersV2::LocalizedCompanyInfo, decorator: Google::Apis::PartnersV2::LocalizedCompanyInfo::Representation
663
+
689
664
  property :id, as: 'id'
690
- property :comments, as: 'comments'
691
- property :phone_number, as: 'phoneNumber'
692
- property :adwords_customer_id, as: 'adwordsCustomerId'
665
+ collection :certification_statuses, as: 'certificationStatuses', class: Google::Apis::PartnersV2::CertificationStatus, decorator: Google::Apis::PartnersV2::CertificationStatus::Representation
666
+
667
+ property :public_profile, as: 'publicProfile', class: Google::Apis::PartnersV2::PublicProfile, decorator: Google::Apis::PartnersV2::PublicProfile::Representation
668
+
669
+ property :primary_location, as: 'primaryLocation', class: Google::Apis::PartnersV2::Location, decorator: Google::Apis::PartnersV2::Location::Representation
670
+
671
+ collection :services, as: 'services'
672
+ property :original_min_monthly_budget, as: 'originalMinMonthlyBudget', class: Google::Apis::PartnersV2::Money, decorator: Google::Apis::PartnersV2::Money::Representation
673
+
674
+ collection :ranks, as: 'ranks', class: Google::Apis::PartnersV2::Rank, decorator: Google::Apis::PartnersV2::Rank::Representation
675
+
676
+ property :badge_tier, as: 'badgeTier'
677
+ collection :specialization_status, as: 'specializationStatus', class: Google::Apis::PartnersV2::SpecializationStatus, decorator: Google::Apis::PartnersV2::SpecializationStatus::Representation
678
+
679
+ collection :company_types, as: 'companyTypes'
680
+ collection :auto_approval_email_domains, as: 'autoApprovalEmailDomains'
681
+ property :primary_language_code, as: 'primaryLanguageCode'
682
+ property :profile_status, as: 'profileStatus'
693
683
  end
694
684
  end
695
685
 
696
- class DebugInfo
686
+ class CreateLeadResponse
697
687
  # @private
698
688
  class Representation < Google::Apis::Core::JsonRepresentation
699
- property :server_info, as: 'serverInfo'
700
- property :server_trace_info, as: 'serverTraceInfo'
701
- property :service_url, as: 'serviceUrl'
689
+ property :lead, as: 'lead', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation
690
+
691
+ property :recaptcha_status, as: 'recaptchaStatus'
692
+ property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
693
+
702
694
  end
703
695
  end
704
696
 
705
- class ListUserStatesResponse
697
+ class GetCompanyResponse
706
698
  # @private
707
699
  class Representation < Google::Apis::Core::JsonRepresentation
708
- collection :user_states, as: 'userStates'
700
+ property :company, as: 'company', class: Google::Apis::PartnersV2::Company, decorator: Google::Apis::PartnersV2::Company::Representation
701
+
709
702
  property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
710
703
 
711
704
  end
712
705
  end
713
706
 
714
- class CompanyRelation
707
+ class Location
715
708
  # @private
716
709
  class Representation < Google::Apis::Core::JsonRepresentation
717
- property :state, as: 'state'
718
- property :name, as: 'name'
719
- property :manager_account, as: 'managerAccount'
720
- collection :segment, as: 'segment'
721
- collection :specialization_status, as: 'specializationStatus', class: Google::Apis::PartnersV2::SpecializationStatus, decorator: Google::Apis::PartnersV2::SpecializationStatus::Representation
710
+ collection :address_line, as: 'addressLine'
711
+ property :locality, as: 'locality'
712
+ property :administrative_area, as: 'administrativeArea'
713
+ property :lat_lng, as: 'latLng', class: Google::Apis::PartnersV2::LatLng, decorator: Google::Apis::PartnersV2::LatLng::Representation
722
714
 
723
- property :badge_tier, as: 'badgeTier'
724
- property :website, as: 'website'
725
- property :phone_number, as: 'phoneNumber'
726
- property :company_id, as: 'companyId'
727
- property :logo_url, as: 'logoUrl'
728
- property :resolved_timestamp, as: 'resolvedTimestamp'
729
- property :company_admin, as: 'companyAdmin'
730
715
  property :address, as: 'address'
731
- property :is_pending, as: 'isPending'
732
- property :creation_time, as: 'creationTime'
716
+ property :region_code, as: 'regionCode'
717
+ property :dependent_locality, as: 'dependentLocality'
718
+ property :postal_code, as: 'postalCode'
719
+ property :sorting_code, as: 'sortingCode'
720
+ property :language_code, as: 'languageCode'
733
721
  end
734
722
  end
735
723
 
736
- class Date
724
+ class CertificationExamStatus
737
725
  # @private
738
726
  class Representation < Google::Apis::Core::JsonRepresentation
739
- property :year, as: 'year'
740
- property :day, as: 'day'
741
- property :month, as: 'month'
727
+ property :number_users_pass, as: 'numberUsersPass'
728
+ property :type, as: 'type'
742
729
  end
743
730
  end
744
731
 
745
- class Empty
732
+ class ExamToken
746
733
  # @private
747
734
  class Representation < Google::Apis::Core::JsonRepresentation
735
+ property :exam_id, :numeric_string => true, as: 'examId'
736
+ property :token, as: 'token'
737
+ property :exam_type, as: 'examType'
748
738
  end
749
739
  end
750
740
 
751
- class TrafficSource
741
+ class OptIns
752
742
  # @private
753
743
  class Representation < Google::Apis::Core::JsonRepresentation
754
- property :traffic_source_id, as: 'trafficSourceId'
755
- property :traffic_sub_id, as: 'trafficSubId'
744
+ property :physical_mail, as: 'physicalMail'
745
+ property :phone_contact, as: 'phoneContact'
746
+ property :market_comm, as: 'marketComm'
747
+ property :special_offers, as: 'specialOffers'
748
+ property :performance_suggestions, as: 'performanceSuggestions'
756
749
  end
757
750
  end
758
751
 
759
- class RequestMetadata
752
+ class Rank
760
753
  # @private
761
754
  class Representation < Google::Apis::Core::JsonRepresentation
762
- property :locale, as: 'locale'
763
- property :user_overrides, as: 'userOverrides', class: Google::Apis::PartnersV2::UserOverrides, decorator: Google::Apis::PartnersV2::UserOverrides::Representation
764
-
765
- property :partners_session_id, as: 'partnersSessionId'
766
- collection :experiment_ids, as: 'experimentIds'
767
- property :traffic_source, as: 'trafficSource', class: Google::Apis::PartnersV2::TrafficSource, decorator: Google::Apis::PartnersV2::TrafficSource::Representation
768
-
755
+ property :value, as: 'value'
756
+ property :type, as: 'type'
769
757
  end
770
758
  end
771
759
 
772
- class CreateLeadRequest
760
+ class UserProfile
773
761
  # @private
774
762
  class Representation < Google::Apis::Core::JsonRepresentation
775
- property :lead, as: 'lead', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation
776
-
777
- property :recaptcha_challenge, as: 'recaptchaChallenge', class: Google::Apis::PartnersV2::RecaptchaChallenge, decorator: Google::Apis::PartnersV2::RecaptchaChallenge::Representation
763
+ property :address, as: 'address', class: Google::Apis::PartnersV2::Location, decorator: Google::Apis::PartnersV2::Location::Representation
778
764
 
779
- property :request_metadata, as: 'requestMetadata', class: Google::Apis::PartnersV2::RequestMetadata, decorator: Google::Apis::PartnersV2::RequestMetadata::Representation
765
+ collection :industries, as: 'industries'
766
+ collection :languages, as: 'languages'
767
+ property :family_name, as: 'familyName'
768
+ property :email_opt_ins, as: 'emailOptIns', class: Google::Apis::PartnersV2::OptIns, decorator: Google::Apis::PartnersV2::OptIns::Representation
780
769
 
770
+ collection :markets, as: 'markets'
771
+ property :adwords_manager_account, :numeric_string => true, as: 'adwordsManagerAccount'
772
+ property :phone_number, as: 'phoneNumber'
773
+ property :primary_country_code, as: 'primaryCountryCode'
774
+ property :email_address, as: 'emailAddress'
775
+ property :profile_public, as: 'profilePublic'
776
+ collection :channels, as: 'channels'
777
+ collection :job_functions, as: 'jobFunctions'
778
+ property :given_name, as: 'givenName'
781
779
  end
782
780
  end
783
781
 
784
- class EventData
782
+ class GetPartnersStatusResponse
785
783
  # @private
786
784
  class Representation < Google::Apis::Core::JsonRepresentation
787
- collection :values, as: 'values'
788
- property :key, as: 'key'
789
- end
790
- end
785
+ property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
791
786
 
792
- class ExamStatus
793
- # @private
794
- class Representation < Google::Apis::Core::JsonRepresentation
795
- property :warning, as: 'warning'
796
- property :expiration, as: 'expiration'
797
- property :last_passed, as: 'lastPassed'
798
- property :exam_type, as: 'examType'
799
- property :passed, as: 'passed'
800
- property :taken, as: 'taken'
801
787
  end
802
788
  end
803
789
 
804
- class ListOffersResponse
790
+ class HistoricalOffer
805
791
  # @private
806
792
  class Representation < Google::Apis::Core::JsonRepresentation
807
- property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
808
-
809
- property :no_offer_reason, as: 'noOfferReason'
810
- collection :available_offers, as: 'availableOffers', class: Google::Apis::PartnersV2::AvailableOffer, decorator: Google::Apis::PartnersV2::AvailableOffer::Representation
811
-
793
+ property :sender_name, as: 'senderName'
794
+ property :offer_country_code, as: 'offerCountryCode'
795
+ property :expiration_time, as: 'expirationTime'
796
+ property :offer_code, as: 'offerCode'
797
+ property :creation_time, as: 'creationTime'
798
+ property :client_email, as: 'clientEmail'
799
+ property :status, as: 'status'
800
+ property :client_id, :numeric_string => true, as: 'clientId'
801
+ property :client_name, as: 'clientName'
802
+ property :last_modified_time, as: 'lastModifiedTime'
803
+ property :adwords_url, as: 'adwordsUrl'
804
+ property :offer_type, as: 'offerType'
812
805
  end
813
806
  end
814
807
 
815
- class CountryOfferInfo
808
+ class UserOverrides
816
809
  # @private
817
810
  class Representation < Google::Apis::Core::JsonRepresentation
818
- property :get_y_amount, as: 'getYAmount'
819
- property :offer_country_code, as: 'offerCountryCode'
820
- property :spend_x_amount, as: 'spendXAmount'
821
- property :offer_type, as: 'offerType'
811
+ property :user_id, as: 'userId'
812
+ property :ip_address, as: 'ipAddress'
822
813
  end
823
814
  end
824
815
 
825
- class ListCompaniesResponse
816
+ class LogUserEventRequest
826
817
  # @private
827
818
  class Representation < Google::Apis::Core::JsonRepresentation
828
- property :next_page_token, as: 'nextPageToken'
829
- property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
819
+ property :event_category, as: 'eventCategory'
820
+ property :lead, as: 'lead', class: Google::Apis::PartnersV2::Lead, decorator: Google::Apis::PartnersV2::Lead::Representation
830
821
 
831
- collection :companies, as: 'companies', class: Google::Apis::PartnersV2::Company, decorator: Google::Apis::PartnersV2::Company::Representation
822
+ property :event_action, as: 'eventAction'
823
+ property :url, as: 'url'
824
+ property :request_metadata, as: 'requestMetadata', class: Google::Apis::PartnersV2::RequestMetadata, decorator: Google::Apis::PartnersV2::RequestMetadata::Representation
832
825
 
826
+ collection :event_datas, as: 'eventDatas', class: Google::Apis::PartnersV2::EventData, decorator: Google::Apis::PartnersV2::EventData::Representation
827
+
828
+ property :event_scope, as: 'eventScope'
833
829
  end
834
830
  end
835
831
 
836
- class OfferCustomer
832
+ class AnalyticsDataPoint
837
833
  # @private
838
834
  class Representation < Google::Apis::Core::JsonRepresentation
839
- property :spend_x_amount, as: 'spendXAmount'
840
- property :adwords_url, as: 'adwordsUrl'
841
- property :country_code, as: 'countryCode'
842
- property :external_cid, as: 'externalCid'
843
- property :creation_time, as: 'creationTime'
844
- property :eligibility_days_left, as: 'eligibilityDaysLeft'
845
- property :offer_type, as: 'offerType'
846
- property :get_y_amount, as: 'getYAmount'
847
- property :name, as: 'name'
835
+ property :event_count, as: 'eventCount'
836
+ collection :event_locations, as: 'eventLocations', class: Google::Apis::PartnersV2::LatLng, decorator: Google::Apis::PartnersV2::LatLng::Representation
837
+
848
838
  end
849
839
  end
850
840
 
851
- class CertificationStatus
841
+ class Analytics
852
842
  # @private
853
843
  class Representation < Google::Apis::Core::JsonRepresentation
854
- property :type, as: 'type'
855
- property :user_count, as: 'userCount'
856
- property :is_certified, as: 'isCertified'
857
- collection :exam_statuses, as: 'examStatuses', class: Google::Apis::PartnersV2::CertificationExamStatus, decorator: Google::Apis::PartnersV2::CertificationExamStatus::Representation
844
+ property :contacts, as: 'contacts', class: Google::Apis::PartnersV2::AnalyticsDataPoint, decorator: Google::Apis::PartnersV2::AnalyticsDataPoint::Representation
845
+
846
+ property :event_date, as: 'eventDate', class: Google::Apis::PartnersV2::Date, decorator: Google::Apis::PartnersV2::Date::Representation
847
+
848
+ property :profile_views, as: 'profileViews', class: Google::Apis::PartnersV2::AnalyticsDataPoint, decorator: Google::Apis::PartnersV2::AnalyticsDataPoint::Representation
849
+
850
+ property :search_views, as: 'searchViews', class: Google::Apis::PartnersV2::AnalyticsDataPoint, decorator: Google::Apis::PartnersV2::AnalyticsDataPoint::Representation
858
851
 
859
852
  end
860
853
  end
861
854
 
862
- class LocalizedCompanyInfo
855
+ class PublicProfile
863
856
  # @private
864
857
  class Representation < Google::Apis::Core::JsonRepresentation
858
+ property :id, as: 'id'
859
+ property :url, as: 'url'
860
+ property :profile_image, as: 'profileImage'
865
861
  property :display_name, as: 'displayName'
866
- property :language_code, as: 'languageCode'
867
- collection :country_codes, as: 'countryCodes'
868
- property :overview, as: 'overview'
862
+ property :display_image_url, as: 'displayImageUrl'
869
863
  end
870
864
  end
871
865
 
872
- class LogUserEventResponse
866
+ class AdWordsManagerAccountInfo
873
867
  # @private
874
868
  class Representation < Google::Apis::Core::JsonRepresentation
875
- property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
876
-
869
+ property :id, :numeric_string => true, as: 'id'
870
+ property :customer_name, as: 'customerName'
877
871
  end
878
872
  end
879
873
 
880
- class ListOffersHistoryResponse
874
+ class ResponseMetadata
881
875
  # @private
882
876
  class Representation < Google::Apis::Core::JsonRepresentation
883
- property :can_show_entire_company, as: 'canShowEntireCompany'
884
- property :total_results, as: 'totalResults'
885
- property :showing_entire_company, as: 'showingEntireCompany'
886
- collection :offers, as: 'offers', class: Google::Apis::PartnersV2::HistoricalOffer, decorator: Google::Apis::PartnersV2::HistoricalOffer::Representation
887
-
888
- property :next_page_token, as: 'nextPageToken'
889
- property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
877
+ property :debug_info, as: 'debugInfo', class: Google::Apis::PartnersV2::DebugInfo, decorator: Google::Apis::PartnersV2::DebugInfo::Representation
890
878
 
891
879
  end
892
880
  end
893
881
 
894
- class LogMessageResponse
882
+ class RecaptchaChallenge
895
883
  # @private
896
884
  class Representation < Google::Apis::Core::JsonRepresentation
897
- property :response_metadata, as: 'responseMetadata', class: Google::Apis::PartnersV2::ResponseMetadata, decorator: Google::Apis::PartnersV2::ResponseMetadata::Representation
898
-
885
+ property :id, as: 'id'
886
+ property :response, as: 'response'
899
887
  end
900
888
  end
901
889
 
902
- class SpecializationStatus
890
+ class AvailableOffer
903
891
  # @private
904
892
  class Representation < Google::Apis::Core::JsonRepresentation
905
- property :badge_specialization, as: 'badgeSpecialization'
906
- property :badge_specialization_state, as: 'badgeSpecializationState'
893
+ property :offer_level, as: 'offerLevel'
894
+ property :name, as: 'name'
895
+ property :id, :numeric_string => true, as: 'id'
896
+ property :qualified_customers_complete, as: 'qualifiedCustomersComplete'
897
+ collection :country_offer_infos, as: 'countryOfferInfos', class: Google::Apis::PartnersV2::CountryOfferInfo, decorator: Google::Apis::PartnersV2::CountryOfferInfo::Representation
898
+
899
+ property :offer_type, as: 'offerType'
900
+ property :max_account_age, as: 'maxAccountAge'
901
+ collection :qualified_customer, as: 'qualifiedCustomer', class: Google::Apis::PartnersV2::OfferCustomer, decorator: Google::Apis::PartnersV2::OfferCustomer::Representation
902
+
903
+ property :terms, as: 'terms'
904
+ property :show_special_offer_copy, as: 'showSpecialOfferCopy'
905
+ property :available, as: 'available'
906
+ property :description, as: 'description'
907
907
  end
908
908
  end
909
909
  end