google-api-client 0.12.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (315) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -0
  3. data/api_names.yaml +945 -41609
  4. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +12 -12
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +2 -2
  6. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1437 -412
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +516 -71
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +1098 -422
  10. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +6 -6
  11. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +3 -3
  12. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +3 -3
  13. data/generated/google/apis/adexchangeseller_v2_0/service.rb +10 -10
  14. data/generated/google/apis/admin_directory_v1/service.rb +26 -26
  15. data/generated/google/apis/adsense_v1_4.rb +1 -1
  16. data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
  17. data/generated/google/apis/adsense_v1_4/representations.rb +3 -3
  18. data/generated/google/apis/adsense_v1_4/service.rb +44 -44
  19. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  20. data/generated/google/apis/adsensehost_v4_1/service.rb +22 -22
  21. data/generated/google/apis/analytics_v3/classes.rb +3 -3
  22. data/generated/google/apis/analytics_v3/representations.rb +3 -3
  23. data/generated/google/apis/analytics_v3/service.rb +82 -82
  24. data/generated/google/apis/analyticsreporting_v4/classes.rb +937 -937
  25. data/generated/google/apis/analyticsreporting_v4/representations.rb +128 -128
  26. data/generated/google/apis/analyticsreporting_v4/service.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  28. data/generated/google/apis/androidenterprise_v1/classes.rb +10 -10
  29. data/generated/google/apis/androidenterprise_v1/representations.rb +20 -20
  30. data/generated/google/apis/androidenterprise_v1/service.rb +43 -43
  31. data/generated/google/apis/androidpublisher_v2/classes.rb +26 -26
  32. data/generated/google/apis/androidpublisher_v2/representations.rb +46 -46
  33. data/generated/google/apis/androidpublisher_v2/service.rb +95 -95
  34. data/generated/google/apis/appengine_v1.rb +4 -4
  35. data/generated/google/apis/appengine_v1/classes.rb +1570 -1512
  36. data/generated/google/apis/appengine_v1/representations.rb +362 -343
  37. data/generated/google/apis/appengine_v1/service.rb +220 -220
  38. data/generated/google/apis/appstate_v1.rb +1 -1
  39. data/generated/google/apis/bigquery_v2.rb +1 -1
  40. data/generated/google/apis/bigquery_v2/classes.rb +5 -5
  41. data/generated/google/apis/bigquery_v2/representations.rb +8 -8
  42. data/generated/google/apis/bigquery_v2/service.rb +13 -13
  43. data/generated/google/apis/blogger_v3/service.rb +3 -3
  44. data/generated/google/apis/books_v1/classes.rb +55 -55
  45. data/generated/google/apis/books_v1/representations.rb +67 -67
  46. data/generated/google/apis/books_v1/service.rb +82 -82
  47. data/generated/google/apis/calendar_v3.rb +1 -1
  48. data/generated/google/apis/calendar_v3/classes.rb +6 -6
  49. data/generated/google/apis/calendar_v3/representations.rb +3 -3
  50. data/generated/google/apis/calendar_v3/service.rb +2 -2
  51. data/generated/google/apis/civicinfo_v2/classes.rb +2 -2
  52. data/generated/google/apis/civicinfo_v2/representations.rb +4 -4
  53. data/generated/google/apis/civicinfo_v2/service.rb +12 -12
  54. data/generated/google/apis/classroom_v1.rb +7 -7
  55. data/generated/google/apis/classroom_v1/classes.rb +1013 -991
  56. data/generated/google/apis/classroom_v1/representations.rb +207 -204
  57. data/generated/google/apis/classroom_v1/service.rb +709 -709
  58. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  59. data/generated/google/apis/cloudbuild_v1/classes.rb +307 -307
  60. data/generated/google/apis/cloudbuild_v1/representations.rb +84 -84
  61. data/generated/google/apis/cloudbuild_v1/service.rb +125 -125
  62. data/generated/google/apis/clouddebugger_v2/classes.rb +673 -673
  63. data/generated/google/apis/clouddebugger_v2/representations.rb +152 -152
  64. data/generated/google/apis/clouddebugger_v2/service.rb +55 -55
  65. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  66. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +121 -121
  67. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +25 -25
  68. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +74 -74
  69. data/generated/google/apis/cloudkms_v1.rb +1 -1
  70. data/generated/google/apis/cloudkms_v1/classes.rb +668 -613
  71. data/generated/google/apis/cloudkms_v1/representations.rb +151 -133
  72. data/generated/google/apis/cloudkms_v1/service.rb +267 -267
  73. data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
  74. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1167 -1168
  75. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +193 -193
  76. data/generated/google/apis/cloudresourcemanager_v1/service.rb +470 -469
  77. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  78. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +508 -509
  79. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +94 -94
  80. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +157 -156
  81. data/generated/google/apis/cloudtrace_v1/service.rb +34 -34
  82. data/generated/google/apis/compute_beta.rb +1 -1
  83. data/generated/google/apis/compute_beta/classes.rb +163 -15
  84. data/generated/google/apis/compute_beta/representations.rb +54 -14
  85. data/generated/google/apis/compute_beta/service.rb +2258 -482
  86. data/generated/google/apis/compute_v1.rb +1 -1
  87. data/generated/google/apis/compute_v1/classes.rb +465 -13
  88. data/generated/google/apis/compute_v1/representations.rb +202 -16
  89. data/generated/google/apis/compute_v1/service.rb +573 -309
  90. data/generated/google/apis/container_v1.rb +1 -1
  91. data/generated/google/apis/container_v1/classes.rb +635 -589
  92. data/generated/google/apis/container_v1/representations.rb +139 -111
  93. data/generated/google/apis/container_v1/service.rb +272 -227
  94. data/generated/google/apis/content_v2.rb +1 -1
  95. data/generated/google/apis/content_v2/classes.rb +86 -74
  96. data/generated/google/apis/content_v2/representations.rb +107 -105
  97. data/generated/google/apis/content_v2/service.rb +131 -130
  98. data/generated/google/apis/customsearch_v1.rb +2 -2
  99. data/generated/google/apis/customsearch_v1/classes.rb +0 -6
  100. data/generated/google/apis/customsearch_v1/representations.rb +0 -1
  101. data/generated/google/apis/customsearch_v1/service.rb +2 -5
  102. data/generated/google/apis/dataflow_v1b3.rb +7 -4
  103. data/generated/google/apis/dataflow_v1b3/classes.rb +3405 -3405
  104. data/generated/google/apis/dataflow_v1b3/representations.rb +834 -834
  105. data/generated/google/apis/dataflow_v1b3/service.rb +244 -244
  106. data/generated/google/apis/dataproc_v1.rb +1 -1
  107. data/generated/google/apis/dataproc_v1/classes.rb +543 -691
  108. data/generated/google/apis/dataproc_v1/representations.rb +129 -185
  109. data/generated/google/apis/dataproc_v1/service.rb +347 -347
  110. data/generated/google/apis/datastore_v1.rb +4 -4
  111. data/generated/google/apis/datastore_v1/classes.rb +833 -833
  112. data/generated/google/apis/datastore_v1/representations.rb +182 -182
  113. data/generated/google/apis/datastore_v1/service.rb +45 -45
  114. data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
  115. data/generated/google/apis/deploymentmanager_v2/representations.rb +10 -10
  116. data/generated/google/apis/deploymentmanager_v2/service.rb +20 -20
  117. data/generated/google/apis/discovery_v1/classes.rb +4 -4
  118. data/generated/google/apis/discovery_v1/representations.rb +2 -2
  119. data/generated/google/apis/discovery_v1/service.rb +1 -1
  120. data/generated/google/apis/dns_v1.rb +1 -1
  121. data/generated/google/apis/dns_v1/classes.rb +3 -3
  122. data/generated/google/apis/dns_v1/representations.rb +6 -6
  123. data/generated/google/apis/dns_v1/service.rb +12 -12
  124. data/generated/google/apis/dns_v2beta1.rb +1 -1
  125. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -8
  126. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  127. data/generated/google/apis/drive_v2.rb +1 -1
  128. data/generated/google/apis/drive_v2/classes.rb +1 -1
  129. data/generated/google/apis/drive_v2/service.rb +1 -1
  130. data/generated/google/apis/drive_v3.rb +1 -1
  131. data/generated/google/apis/drive_v3/service.rb +1 -1
  132. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  133. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +160 -110
  134. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +60 -31
  135. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +38 -3
  136. data/generated/google/apis/firebaserules_v1/classes.rb +354 -354
  137. data/generated/google/apis/firebaserules_v1/representations.rb +87 -87
  138. data/generated/google/apis/firebaserules_v1/service.rb +103 -103
  139. data/generated/google/apis/fusiontables_v2/service.rb +2 -2
  140. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  141. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
  142. data/generated/google/apis/games_configuration_v1configuration/representations.rb +4 -4
  143. data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
  144. data/generated/google/apis/games_management_v1management.rb +1 -1
  145. data/generated/google/apis/games_v1.rb +1 -1
  146. data/generated/google/apis/games_v1/classes.rb +23 -23
  147. data/generated/google/apis/games_v1/representations.rb +43 -43
  148. data/generated/google/apis/games_v1/service.rb +72 -72
  149. data/generated/google/apis/genomics_v1.rb +1 -1
  150. data/generated/google/apis/genomics_v1/classes.rb +2316 -2316
  151. data/generated/google/apis/genomics_v1/representations.rb +291 -291
  152. data/generated/google/apis/genomics_v1/service.rb +821 -821
  153. data/generated/google/apis/gmail_v1.rb +1 -1
  154. data/generated/google/apis/groupsmigration_v1.rb +1 -1
  155. data/generated/google/apis/groupssettings_v1.rb +1 -1
  156. data/generated/google/apis/groupssettings_v1/classes.rb +2 -2
  157. data/generated/google/apis/groupssettings_v1/service.rb +3 -0
  158. data/generated/google/apis/iam_v1/classes.rb +338 -338
  159. data/generated/google/apis/iam_v1/representations.rb +98 -98
  160. data/generated/google/apis/iam_v1/service.rb +35 -35
  161. data/generated/google/apis/identitytoolkit_v3/classes.rb +15 -15
  162. data/generated/google/apis/identitytoolkit_v3/representations.rb +30 -30
  163. data/generated/google/apis/identitytoolkit_v3/service.rb +64 -64
  164. data/generated/google/apis/kgsearch_v1/service.rb +13 -13
  165. data/generated/google/apis/language_v1.rb +1 -1
  166. data/generated/google/apis/language_v1/classes.rb +374 -374
  167. data/generated/google/apis/language_v1/representations.rb +97 -97
  168. data/generated/google/apis/language_v1/service.rb +16 -16
  169. data/generated/google/apis/language_v1beta1.rb +1 -1
  170. data/generated/google/apis/language_v1beta1/classes.rb +441 -441
  171. data/generated/google/apis/language_v1beta1/representations.rb +108 -108
  172. data/generated/google/apis/language_v1beta1/service.rb +30 -30
  173. data/generated/google/apis/licensing_v1/service.rb +2 -2
  174. data/generated/google/apis/logging_v2.rb +1 -1
  175. data/generated/google/apis/logging_v2/classes.rb +712 -712
  176. data/generated/google/apis/logging_v2/representations.rb +109 -109
  177. data/generated/google/apis/logging_v2/service.rb +543 -539
  178. data/generated/google/apis/logging_v2beta1.rb +1 -1
  179. data/generated/google/apis/logging_v2beta1/classes.rb +752 -752
  180. data/generated/google/apis/logging_v2beta1/representations.rb +94 -94
  181. data/generated/google/apis/logging_v2beta1/service.rb +257 -256
  182. data/generated/google/apis/manufacturers_v1/classes.rb +130 -130
  183. data/generated/google/apis/manufacturers_v1/representations.rb +28 -28
  184. data/generated/google/apis/mirror_v1/classes.rb +5 -5
  185. data/generated/google/apis/mirror_v1/representations.rb +10 -10
  186. data/generated/google/apis/mirror_v1/service.rb +20 -20
  187. data/generated/google/apis/ml_v1.rb +1 -1
  188. data/generated/google/apis/ml_v1/classes.rb +1830 -1210
  189. data/generated/google/apis/ml_v1/representations.rb +342 -120
  190. data/generated/google/apis/ml_v1/service.rb +365 -258
  191. data/generated/google/apis/monitoring_v3.rb +4 -4
  192. data/generated/google/apis/monitoring_v3/classes.rb +889 -889
  193. data/generated/google/apis/monitoring_v3/representations.rb +174 -174
  194. data/generated/google/apis/monitoring_v3/service.rb +119 -119
  195. data/generated/google/apis/mybusiness_v3/service.rb +5 -5
  196. data/generated/google/apis/oauth2_v2/service.rb +1 -1
  197. data/generated/google/apis/pagespeedonline_v2/classes.rb +11 -11
  198. data/generated/google/apis/pagespeedonline_v2/representations.rb +13 -13
  199. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
  200. data/generated/google/apis/partners_v2.rb +1 -1
  201. data/generated/google/apis/partners_v2/classes.rb +550 -536
  202. data/generated/google/apis/partners_v2/representations.rb +118 -116
  203. data/generated/google/apis/partners_v2/service.rb +439 -439
  204. data/generated/google/apis/people_v1.rb +4 -4
  205. data/generated/google/apis/people_v1/classes.rb +414 -413
  206. data/generated/google/apis/people_v1/representations.rb +85 -85
  207. data/generated/google/apis/people_v1/service.rb +111 -18
  208. data/generated/google/apis/plus_domains_v1.rb +1 -1
  209. data/generated/google/apis/plus_domains_v1/service.rb +4 -4
  210. data/generated/google/apis/plus_v1.rb +1 -1
  211. data/generated/google/apis/plus_v1/service.rb +1 -1
  212. data/generated/google/apis/prediction_v1_6/service.rb +8 -8
  213. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  214. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +443 -443
  215. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +92 -92
  216. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +152 -152
  217. data/generated/google/apis/pubsub_v1/classes.rb +249 -249
  218. data/generated/google/apis/pubsub_v1/representations.rb +80 -80
  219. data/generated/google/apis/pubsub_v1/service.rb +415 -415
  220. data/generated/google/apis/qpx_express_v1/classes.rb +2 -2
  221. data/generated/google/apis/qpx_express_v1/representations.rb +4 -4
  222. data/generated/google/apis/qpx_express_v1/service.rb +8 -8
  223. data/generated/google/apis/replicapool_v1beta2/classes.rb +5 -5
  224. data/generated/google/apis/replicapool_v1beta2/representations.rb +10 -10
  225. data/generated/google/apis/replicapool_v1beta2/service.rb +21 -21
  226. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -1
  227. data/generated/google/apis/resourceviews_v1beta2/classes.rb +5 -5
  228. data/generated/google/apis/resourceviews_v1beta2/representations.rb +10 -10
  229. data/generated/google/apis/resourceviews_v1beta2/service.rb +20 -20
  230. data/generated/google/apis/runtimeconfig_v1.rb +4 -4
  231. data/generated/google/apis/runtimeconfig_v1/classes.rb +15 -15
  232. data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
  233. data/generated/google/apis/runtimeconfig_v1/service.rb +4 -4
  234. data/generated/google/apis/script_v1.rb +17 -17
  235. data/generated/google/apis/script_v1/classes.rb +27 -27
  236. data/generated/google/apis/script_v1/representations.rb +5 -5
  237. data/generated/google/apis/script_v1/service.rb +4 -4
  238. data/generated/google/apis/searchconsole_v1.rb +1 -1
  239. data/generated/google/apis/searchconsole_v1/classes.rb +53 -53
  240. data/generated/google/apis/searchconsole_v1/representations.rb +23 -23
  241. data/generated/google/apis/searchconsole_v1/service.rb +4 -4
  242. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  243. data/generated/google/apis/servicecontrol_v1/classes.rb +1175 -1175
  244. data/generated/google/apis/servicecontrol_v1/representations.rb +206 -206
  245. data/generated/google/apis/servicecontrol_v1/service.rb +116 -116
  246. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  247. data/generated/google/apis/servicemanagement_v1/classes.rb +1186 -1125
  248. data/generated/google/apis/servicemanagement_v1/representations.rb +241 -223
  249. data/generated/google/apis/servicemanagement_v1/service.rb +201 -201
  250. data/generated/google/apis/serviceuser_v1.rb +1 -1
  251. data/generated/google/apis/serviceuser_v1/classes.rb +2645 -2641
  252. data/generated/google/apis/serviceuser_v1/representations.rb +234 -234
  253. data/generated/google/apis/serviceuser_v1/service.rb +37 -37
  254. data/generated/google/apis/sheets_v4.rb +1 -1
  255. data/generated/google/apis/sheets_v4/classes.rb +5042 -4111
  256. data/generated/google/apis/sheets_v4/representations.rb +994 -824
  257. data/generated/google/apis/sheets_v4/service.rb +80 -80
  258. data/generated/google/apis/site_verification_v1/classes.rb +6 -6
  259. data/generated/google/apis/site_verification_v1/representations.rb +8 -8
  260. data/generated/google/apis/site_verification_v1/service.rb +12 -12
  261. data/generated/google/apis/slides_v1.rb +1 -1
  262. data/generated/google/apis/slides_v1/classes.rb +2885 -2885
  263. data/generated/google/apis/slides_v1/representations.rb +310 -310
  264. data/generated/google/apis/slides_v1/service.rb +54 -54
  265. data/generated/google/apis/sourcerepo_v1/classes.rb +206 -206
  266. data/generated/google/apis/sourcerepo_v1/representations.rb +52 -52
  267. data/generated/google/apis/sourcerepo_v1/service.rb +5 -5
  268. data/generated/google/apis/spanner_v1.rb +1 -1
  269. data/generated/google/apis/spanner_v1/classes.rb +2142 -2141
  270. data/generated/google/apis/spanner_v1/representations.rb +174 -174
  271. data/generated/google/apis/spanner_v1/service.rb +497 -497
  272. data/generated/google/apis/speech_v1beta1.rb +1 -1
  273. data/generated/google/apis/speech_v1beta1/classes.rb +227 -227
  274. data/generated/google/apis/speech_v1beta1/representations.rb +50 -50
  275. data/generated/google/apis/speech_v1beta1/service.rb +33 -33
  276. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  277. data/generated/google/apis/sqladmin_v1beta4/classes.rb +21 -21
  278. data/generated/google/apis/sqladmin_v1beta4/representations.rb +29 -29
  279. data/generated/google/apis/sqladmin_v1beta4/service.rb +56 -56
  280. data/generated/google/apis/storage_v1.rb +1 -1
  281. data/generated/google/apis/storage_v1/classes.rb +40 -6
  282. data/generated/google/apis/storage_v1/representations.rb +20 -4
  283. data/generated/google/apis/storage_v1/service.rb +61 -46
  284. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  285. data/generated/google/apis/storagetransfer_v1/classes.rb +184 -184
  286. data/generated/google/apis/storagetransfer_v1/representations.rb +35 -35
  287. data/generated/google/apis/storagetransfer_v1/service.rb +70 -70
  288. data/generated/google/apis/tagmanager_v1/service.rb +33 -33
  289. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  290. data/generated/google/apis/translate_v2/classes.rb +12 -12
  291. data/generated/google/apis/translate_v2/representations.rb +10 -10
  292. data/generated/google/apis/translate_v2/service.rb +62 -62
  293. data/generated/google/apis/vision_v1.rb +1 -1
  294. data/generated/google/apis/vision_v1/classes.rb +1267 -1267
  295. data/generated/google/apis/vision_v1/representations.rb +200 -200
  296. data/generated/google/apis/vision_v1/service.rb +10 -10
  297. data/generated/google/apis/webmasters_v3.rb +1 -1
  298. data/generated/google/apis/webmasters_v3/classes.rb +4 -4
  299. data/generated/google/apis/webmasters_v3/representations.rb +8 -8
  300. data/generated/google/apis/webmasters_v3/service.rb +21 -21
  301. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  302. data/generated/google/apis/youtube_analytics_v1/classes.rb +2 -2
  303. data/generated/google/apis/youtube_analytics_v1/representations.rb +4 -4
  304. data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
  305. data/generated/google/apis/youtube_v3/classes.rb +20 -20
  306. data/generated/google/apis/youtube_v3/representations.rb +40 -40
  307. data/generated/google/apis/youtube_v3/service.rb +80 -80
  308. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  309. data/generated/google/apis/youtubereporting_v1/classes.rb +129 -129
  310. data/generated/google/apis/youtubereporting_v1/representations.rb +38 -38
  311. data/generated/google/apis/youtubereporting_v1/service.rb +97 -97
  312. data/lib/google/apis/generator/annotator.rb +2 -2
  313. data/lib/google/apis/generator/model.rb +2 -2
  314. data/lib/google/apis/version.rb +1 -1
  315. metadata +2 -2
@@ -22,7 +22,7 @@ module Google
22
22
  module Apis
23
23
  module PagespeedonlineV2
24
24
 
25
- class PagespeedApiFormatStringV2
25
+ class FormatString
26
26
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
27
 
28
28
  class Arg
@@ -46,7 +46,7 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
- class PagespeedApiImageV2
49
+ class Image
50
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
51
 
52
52
  class PageRect
@@ -106,10 +106,10 @@ module Google
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
- class PagespeedApiFormatStringV2
109
+ class FormatString
110
110
  # @private
111
111
  class Representation < Google::Apis::Core::JsonRepresentation
112
- collection :args, as: 'args', class: Google::Apis::PagespeedonlineV2::PagespeedApiFormatStringV2::Arg, decorator: Google::Apis::PagespeedonlineV2::PagespeedApiFormatStringV2::Arg::Representation
112
+ collection :args, as: 'args', class: Google::Apis::PagespeedonlineV2::FormatString::Arg, decorator: Google::Apis::PagespeedonlineV2::FormatString::Arg::Representation
113
113
 
114
114
  property :format, as: 'format'
115
115
  end
@@ -118,9 +118,9 @@ module Google
118
118
  # @private
119
119
  class Representation < Google::Apis::Core::JsonRepresentation
120
120
  property :key, as: 'key'
121
- collection :rects, as: 'rects', class: Google::Apis::PagespeedonlineV2::PagespeedApiFormatStringV2::Arg::Rect, decorator: Google::Apis::PagespeedonlineV2::PagespeedApiFormatStringV2::Arg::Rect::Representation
121
+ collection :rects, as: 'rects', class: Google::Apis::PagespeedonlineV2::FormatString::Arg::Rect, decorator: Google::Apis::PagespeedonlineV2::FormatString::Arg::Rect::Representation
122
122
 
123
- collection :secondary_rects, as: 'secondary_rects', class: Google::Apis::PagespeedonlineV2::PagespeedApiFormatStringV2::Arg::SecondaryRect, decorator: Google::Apis::PagespeedonlineV2::PagespeedApiFormatStringV2::Arg::SecondaryRect::Representation
123
+ collection :secondary_rects, as: 'secondary_rects', class: Google::Apis::PagespeedonlineV2::FormatString::Arg::SecondaryRect, decorator: Google::Apis::PagespeedonlineV2::FormatString::Arg::SecondaryRect::Representation
124
124
 
125
125
  property :type, as: 'type'
126
126
  property :value, as: 'value'
@@ -148,14 +148,14 @@ module Google
148
148
  end
149
149
  end
150
150
 
151
- class PagespeedApiImageV2
151
+ class Image
152
152
  # @private
153
153
  class Representation < Google::Apis::Core::JsonRepresentation
154
154
  property :data, :base64 => true, as: 'data'
155
155
  property :height, as: 'height'
156
156
  property :key, as: 'key'
157
157
  property :mime_type, as: 'mime_type'
158
- property :page_rect, as: 'page_rect', class: Google::Apis::PagespeedonlineV2::PagespeedApiImageV2::PageRect, decorator: Google::Apis::PagespeedonlineV2::PagespeedApiImageV2::PageRect::Representation
158
+ property :page_rect, as: 'page_rect', class: Google::Apis::PagespeedonlineV2::Image::PageRect, decorator: Google::Apis::PagespeedonlineV2::Image::PageRect::Representation
159
159
 
160
160
  property :width, as: 'width'
161
161
  end
@@ -184,7 +184,7 @@ module Google
184
184
  property :response_code, as: 'responseCode'
185
185
  hash :rule_groups, as: 'ruleGroups', class: Google::Apis::PagespeedonlineV2::Result::RuleGroup, decorator: Google::Apis::PagespeedonlineV2::Result::RuleGroup::Representation
186
186
 
187
- property :screenshot, as: 'screenshot', class: Google::Apis::PagespeedonlineV2::PagespeedApiImageV2, decorator: Google::Apis::PagespeedonlineV2::PagespeedApiImageV2::Representation
187
+ property :screenshot, as: 'screenshot', class: Google::Apis::PagespeedonlineV2::Image, decorator: Google::Apis::PagespeedonlineV2::Image::Representation
188
188
 
189
189
  property :title, as: 'title'
190
190
  property :version, as: 'version', class: Google::Apis::PagespeedonlineV2::Result::Version, decorator: Google::Apis::PagespeedonlineV2::Result::Version::Representation
@@ -205,7 +205,7 @@ module Google
205
205
  collection :groups, as: 'groups'
206
206
  property :localized_rule_name, as: 'localizedRuleName'
207
207
  property :rule_impact, as: 'ruleImpact'
208
- property :summary, as: 'summary', class: Google::Apis::PagespeedonlineV2::PagespeedApiFormatStringV2, decorator: Google::Apis::PagespeedonlineV2::PagespeedApiFormatStringV2::Representation
208
+ property :summary, as: 'summary', class: Google::Apis::PagespeedonlineV2::FormatString, decorator: Google::Apis::PagespeedonlineV2::FormatString::Representation
209
209
 
210
210
  collection :url_blocks, as: 'urlBlocks', class: Google::Apis::PagespeedonlineV2::Result::FormattedResults::RuleResult::UrlBlock, decorator: Google::Apis::PagespeedonlineV2::Result::FormattedResults::RuleResult::UrlBlock::Representation
211
211
 
@@ -214,7 +214,7 @@ module Google
214
214
  class UrlBlock
215
215
  # @private
216
216
  class Representation < Google::Apis::Core::JsonRepresentation
217
- property :header, as: 'header', class: Google::Apis::PagespeedonlineV2::PagespeedApiFormatStringV2, decorator: Google::Apis::PagespeedonlineV2::PagespeedApiFormatStringV2::Representation
217
+ property :header, as: 'header', class: Google::Apis::PagespeedonlineV2::FormatString, decorator: Google::Apis::PagespeedonlineV2::FormatString::Representation
218
218
 
219
219
  collection :urls, as: 'urls', class: Google::Apis::PagespeedonlineV2::Result::FormattedResults::RuleResult::UrlBlock::Url, decorator: Google::Apis::PagespeedonlineV2::Result::FormattedResults::RuleResult::UrlBlock::Url::Representation
220
220
 
@@ -223,9 +223,9 @@ module Google
223
223
  class Url
224
224
  # @private
225
225
  class Representation < Google::Apis::Core::JsonRepresentation
226
- collection :details, as: 'details', class: Google::Apis::PagespeedonlineV2::PagespeedApiFormatStringV2, decorator: Google::Apis::PagespeedonlineV2::PagespeedApiFormatStringV2::Representation
226
+ collection :details, as: 'details', class: Google::Apis::PagespeedonlineV2::FormatString, decorator: Google::Apis::PagespeedonlineV2::FormatString::Representation
227
227
 
228
- property :result, as: 'result', class: Google::Apis::PagespeedonlineV2::PagespeedApiFormatStringV2, decorator: Google::Apis::PagespeedonlineV2::PagespeedApiFormatStringV2::Representation
228
+ property :result, as: 'result', class: Google::Apis::PagespeedonlineV2::FormatString, decorator: Google::Apis::PagespeedonlineV2::FormatString::Representation
229
229
 
230
230
  end
231
231
  end
@@ -91,7 +91,7 @@ module Google
91
91
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
92
92
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
93
93
  # @raise [Google::Apis::AuthorizationError] Authorization is required
94
- def runpagespeed_pagespeedapi(url, filter_third_party_resources: nil, locale: nil, rule: nil, screenshot: nil, strategy: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
94
+ def run_pagespeed(url, filter_third_party_resources: nil, locale: nil, rule: nil, screenshot: nil, strategy: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
95
95
  command = make_simple_command(:get, 'runPagespeed', options)
96
96
  command.response_representation = Google::Apis::PagespeedonlineV2::Result::Representation
97
97
  command.response_class = Google::Apis::PagespeedonlineV2::Result
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/partners/
27
27
  module PartnersV2
28
28
  VERSION = 'V2'
29
- REVISION = '20170530'
29
+ REVISION = '20170605'
30
30
  end
31
31
  end
32
32
  end
@@ -26,6 +26,12 @@ module Google
26
26
  class AnalyticsSummary
27
27
  include Google::Apis::Core::Hashable
28
28
 
29
+ # Aggregated number of times users contacted the `Company`
30
+ # for given date range.
31
+ # Corresponds to the JSON property `contactsCount`
32
+ # @return [Fixnum]
33
+ attr_accessor :contacts_count
34
+
29
35
  # Aggregated number of profile views for the `Company` for given date range.
30
36
  # Corresponds to the JSON property `profileViewsCount`
31
37
  # @return [Fixnum]
@@ -37,21 +43,15 @@ module Google
37
43
  # @return [Fixnum]
38
44
  attr_accessor :search_views_count
39
45
 
40
- # Aggregated number of times users contacted the `Company`
41
- # for given date range.
42
- # Corresponds to the JSON property `contactsCount`
43
- # @return [Fixnum]
44
- attr_accessor :contacts_count
45
-
46
46
  def initialize(**args)
47
47
  update!(**args)
48
48
  end
49
49
 
50
50
  # Update properties of this object
51
51
  def update!(**args)
52
+ @contacts_count = args[:contacts_count] if args.key?(:contacts_count)
52
53
  @profile_views_count = args[:profile_views_count] if args.key?(:profile_views_count)
53
54
  @search_views_count = args[:search_views_count] if args.key?(:search_views_count)
54
- @contacts_count = args[:contacts_count] if args.key?(:contacts_count)
55
55
  end
56
56
  end
57
57
 
@@ -93,25 +93,41 @@ module Google
93
93
  end
94
94
  end
95
95
 
96
- # A lead resource that represents an advertiser contact for a `Company`. These
97
- # are usually generated via Google Partner Search (the advertiser portal).
98
- class Lead
96
+ # Debug information about this request.
97
+ class DebugInfo
99
98
  include Google::Apis::Core::Hashable
100
99
 
101
- # Phone number of lead source.
102
- # Corresponds to the JSON property `phoneNumber`
100
+ # Info about the server that serviced this request.
101
+ # Corresponds to the JSON property `serverInfo`
103
102
  # @return [String]
104
- attr_accessor :phone_number
103
+ attr_accessor :server_info
105
104
 
106
- # The AdWords Customer ID of the lead.
107
- # Corresponds to the JSON property `adwordsCustomerId`
108
- # @return [Fixnum]
109
- attr_accessor :adwords_customer_id
105
+ # Server-side debug stack trace.
106
+ # Corresponds to the JSON property `serverTraceInfo`
107
+ # @return [String]
108
+ attr_accessor :server_trace_info
110
109
 
111
- # Timestamp of when this lead was created.
112
- # Corresponds to the JSON property `createTime`
110
+ # URL of the service that handled this request.
111
+ # Corresponds to the JSON property `serviceUrl`
113
112
  # @return [String]
114
- attr_accessor :create_time
113
+ attr_accessor :service_url
114
+
115
+ def initialize(**args)
116
+ update!(**args)
117
+ end
118
+
119
+ # Update properties of this object
120
+ def update!(**args)
121
+ @server_info = args[:server_info] if args.key?(:server_info)
122
+ @server_trace_info = args[:server_trace_info] if args.key?(:server_trace_info)
123
+ @service_url = args[:service_url] if args.key?(:service_url)
124
+ end
125
+ end
126
+
127
+ # A lead resource that represents an advertiser contact for a `Company`. These
128
+ # are usually generated via Google Partner Search (the advertiser portal).
129
+ class Lead
130
+ include Google::Apis::Core::Hashable
115
131
 
116
132
  # Whether or not the lead signed up for marketing emails
117
133
  # Corresponds to the JSON property `marketingOptIn`
@@ -124,20 +140,15 @@ module Google
124
140
  # @return [String]
125
141
  attr_accessor :type
126
142
 
127
- # Represents an amount of money with its currency type.
128
- # Corresponds to the JSON property `minMonthlyBudget`
129
- # @return [Google::Apis::PartnersV2::Money]
130
- attr_accessor :min_monthly_budget
131
-
132
143
  # First name of lead source.
133
144
  # Corresponds to the JSON property `givenName`
134
145
  # @return [String]
135
146
  attr_accessor :given_name
136
147
 
137
- # Website URL of lead source.
138
- # Corresponds to the JSON property `websiteUrl`
139
- # @return [String]
140
- attr_accessor :website_url
148
+ # Represents an amount of money with its currency type.
149
+ # Corresponds to the JSON property `minMonthlyBudget`
150
+ # @return [Google::Apis::PartnersV2::Money]
151
+ attr_accessor :min_monthly_budget
141
152
 
142
153
  # Language code of the lead's language preference, as defined by
143
154
  # <a href="https://tools.ietf.org/html/bcp47">BCP 47</a>
@@ -146,6 +157,11 @@ module Google
146
157
  # @return [String]
147
158
  attr_accessor :language_code
148
159
 
160
+ # Website URL of lead source.
161
+ # Corresponds to the JSON property `websiteUrl`
162
+ # @return [String]
163
+ attr_accessor :website_url
164
+
149
165
  # The lead's state in relation to the company.
150
166
  # Corresponds to the JSON property `state`
151
167
  # @return [String]
@@ -176,58 +192,42 @@ module Google
176
192
  # @return [String]
177
193
  attr_accessor :comments
178
194
 
195
+ # Phone number of lead source.
196
+ # Corresponds to the JSON property `phoneNumber`
197
+ # @return [String]
198
+ attr_accessor :phone_number
199
+
200
+ # The AdWords Customer ID of the lead.
201
+ # Corresponds to the JSON property `adwordsCustomerId`
202
+ # @return [Fixnum]
203
+ attr_accessor :adwords_customer_id
204
+
205
+ # Timestamp of when this lead was created.
206
+ # Corresponds to the JSON property `createTime`
207
+ # @return [String]
208
+ attr_accessor :create_time
209
+
179
210
  def initialize(**args)
180
211
  update!(**args)
181
212
  end
182
213
 
183
214
  # Update properties of this object
184
215
  def update!(**args)
185
- @phone_number = args[:phone_number] if args.key?(:phone_number)
186
- @adwords_customer_id = args[:adwords_customer_id] if args.key?(:adwords_customer_id)
187
- @create_time = args[:create_time] if args.key?(:create_time)
188
216
  @marketing_opt_in = args[:marketing_opt_in] if args.key?(:marketing_opt_in)
189
217
  @type = args[:type] if args.key?(:type)
190
- @min_monthly_budget = args[:min_monthly_budget] if args.key?(:min_monthly_budget)
191
218
  @given_name = args[:given_name] if args.key?(:given_name)
192
- @website_url = args[:website_url] if args.key?(:website_url)
219
+ @min_monthly_budget = args[:min_monthly_budget] if args.key?(:min_monthly_budget)
193
220
  @language_code = args[:language_code] if args.key?(:language_code)
221
+ @website_url = args[:website_url] if args.key?(:website_url)
194
222
  @state = args[:state] if args.key?(:state)
195
223
  @gps_motivations = args[:gps_motivations] if args.key?(:gps_motivations)
196
224
  @email = args[:email] if args.key?(:email)
197
225
  @family_name = args[:family_name] if args.key?(:family_name)
198
226
  @id = args[:id] if args.key?(:id)
199
227
  @comments = args[:comments] if args.key?(:comments)
200
- end
201
- end
202
-
203
- # Debug information about this request.
204
- class DebugInfo
205
- include Google::Apis::Core::Hashable
206
-
207
- # Info about the server that serviced this request.
208
- # Corresponds to the JSON property `serverInfo`
209
- # @return [String]
210
- attr_accessor :server_info
211
-
212
- # Server-side debug stack trace.
213
- # Corresponds to the JSON property `serverTraceInfo`
214
- # @return [String]
215
- attr_accessor :server_trace_info
216
-
217
- # URL of the service that handled this request.
218
- # Corresponds to the JSON property `serviceUrl`
219
- # @return [String]
220
- attr_accessor :service_url
221
-
222
- def initialize(**args)
223
- update!(**args)
224
- end
225
-
226
- # Update properties of this object
227
- def update!(**args)
228
- @server_info = args[:server_info] if args.key?(:server_info)
229
- @server_trace_info = args[:server_trace_info] if args.key?(:server_trace_info)
230
- @service_url = args[:service_url] if args.key?(:service_url)
228
+ @phone_number = args[:phone_number] if args.key?(:phone_number)
229
+ @adwords_customer_id = args[:adwords_customer_id] if args.key?(:adwords_customer_id)
230
+ @create_time = args[:create_time] if args.key?(:create_time)
231
231
  end
232
232
  end
233
233
 
@@ -236,24 +236,24 @@ module Google
236
236
  class ListUserStatesResponse
237
237
  include Google::Apis::Core::Hashable
238
238
 
239
- # User's states.
240
- # Corresponds to the JSON property `userStates`
241
- # @return [Array<String>]
242
- attr_accessor :user_states
243
-
244
239
  # Common data that is in each API response.
245
240
  # Corresponds to the JSON property `responseMetadata`
246
241
  # @return [Google::Apis::PartnersV2::ResponseMetadata]
247
242
  attr_accessor :response_metadata
248
243
 
244
+ # User's states.
245
+ # Corresponds to the JSON property `userStates`
246
+ # @return [Array<String>]
247
+ attr_accessor :user_states
248
+
249
249
  def initialize(**args)
250
250
  update!(**args)
251
251
  end
252
252
 
253
253
  # Update properties of this object
254
254
  def update!(**args)
255
- @user_states = args[:user_states] if args.key?(:user_states)
256
255
  @response_metadata = args[:response_metadata] if args.key?(:response_metadata)
256
+ @user_states = args[:user_states] if args.key?(:user_states)
257
257
  end
258
258
  end
259
259
 
@@ -262,36 +262,6 @@ module Google
262
262
  class CompanyRelation
263
263
  include Google::Apis::Core::Hashable
264
264
 
265
- # The segment the company is classified as.
266
- # Corresponds to the JSON property `segment`
267
- # @return [Array<String>]
268
- attr_accessor :segment
269
-
270
- # The list of Google Partners specialization statuses for the company.
271
- # Corresponds to the JSON property `specializationStatus`
272
- # @return [Array<Google::Apis::PartnersV2::SpecializationStatus>]
273
- attr_accessor :specialization_status
274
-
275
- # Whether the company is a Partner.
276
- # Corresponds to the JSON property `badgeTier`
277
- # @return [String]
278
- attr_accessor :badge_tier
279
-
280
- # The phone number for the company's primary address.
281
- # Corresponds to the JSON property `phoneNumber`
282
- # @return [String]
283
- attr_accessor :phone_number
284
-
285
- # The website URL for this company.
286
- # Corresponds to the JSON property `website`
287
- # @return [String]
288
- attr_accessor :website
289
-
290
- # The primary country code of the company.
291
- # Corresponds to the JSON property `primaryCountryCode`
292
- # @return [String]
293
- attr_accessor :primary_country_code
294
-
295
265
  # The ID of the company. There may be no id if this is a
296
266
  # pending company.5
297
267
  # Corresponds to the JSON property `companyId`
@@ -320,17 +290,17 @@ module Google
320
290
  attr_accessor :company_admin
321
291
  alias_method :company_admin?, :company_admin
322
292
 
293
+ # The primary address for this company.
294
+ # Corresponds to the JSON property `address`
295
+ # @return [String]
296
+ attr_accessor :address
297
+
323
298
  # The flag that indicates if the company is pending verification.
324
299
  # Corresponds to the JSON property `isPending`
325
300
  # @return [Boolean]
326
301
  attr_accessor :is_pending
327
302
  alias_method :is_pending?, :is_pending
328
303
 
329
- # The primary address for this company.
330
- # Corresponds to the JSON property `address`
331
- # @return [String]
332
- attr_accessor :address
333
-
334
304
  # The timestamp of when affiliation was requested.
335
305
  # @OutputOnly
336
306
  # Corresponds to the JSON property `creationTime`
@@ -348,15 +318,51 @@ module Google
348
318
  # @return [Google::Apis::PartnersV2::Location]
349
319
  attr_accessor :primary_address
350
320
 
321
+ # The AdWords manager account # associated this company.
322
+ # Corresponds to the JSON property `managerAccount`
323
+ # @return [Fixnum]
324
+ attr_accessor :manager_account
325
+
351
326
  # The name (in the company's primary language) for the company.
352
327
  # Corresponds to the JSON property `name`
353
328
  # @return [String]
354
329
  attr_accessor :name
355
330
 
356
- # The AdWords manager account # associated this company.
357
- # Corresponds to the JSON property `managerAccount`
358
- # @return [Fixnum]
359
- attr_accessor :manager_account
331
+ # The segment the company is classified as.
332
+ # Corresponds to the JSON property `segment`
333
+ # @return [Array<String>]
334
+ attr_accessor :segment
335
+
336
+ # The internal company ID.
337
+ # Only available for a whitelisted set of api clients.
338
+ # Corresponds to the JSON property `internalCompanyId`
339
+ # @return [String]
340
+ attr_accessor :internal_company_id
341
+
342
+ # Whether the company is a Partner.
343
+ # Corresponds to the JSON property `badgeTier`
344
+ # @return [String]
345
+ attr_accessor :badge_tier
346
+
347
+ # The list of Google Partners specialization statuses for the company.
348
+ # Corresponds to the JSON property `specializationStatus`
349
+ # @return [Array<Google::Apis::PartnersV2::SpecializationStatus>]
350
+ attr_accessor :specialization_status
351
+
352
+ # The phone number for the company's primary address.
353
+ # Corresponds to the JSON property `phoneNumber`
354
+ # @return [String]
355
+ attr_accessor :phone_number
356
+
357
+ # The website URL for this company.
358
+ # Corresponds to the JSON property `website`
359
+ # @return [String]
360
+ attr_accessor :website
361
+
362
+ # The primary country code of the company.
363
+ # Corresponds to the JSON property `primaryCountryCode`
364
+ # @return [String]
365
+ attr_accessor :primary_country_code
360
366
 
361
367
  def initialize(**args)
362
368
  update!(**args)
@@ -364,24 +370,25 @@ module Google
364
370
 
365
371
  # Update properties of this object
366
372
  def update!(**args)
367
- @segment = args[:segment] if args.key?(:segment)
368
- @specialization_status = args[:specialization_status] if args.key?(:specialization_status)
369
- @badge_tier = args[:badge_tier] if args.key?(:badge_tier)
370
- @phone_number = args[:phone_number] if args.key?(:phone_number)
371
- @website = args[:website] if args.key?(:website)
372
- @primary_country_code = args[:primary_country_code] if args.key?(:primary_country_code)
373
373
  @company_id = args[:company_id] if args.key?(:company_id)
374
374
  @primary_language_code = args[:primary_language_code] if args.key?(:primary_language_code)
375
375
  @logo_url = args[:logo_url] if args.key?(:logo_url)
376
376
  @resolved_timestamp = args[:resolved_timestamp] if args.key?(:resolved_timestamp)
377
377
  @company_admin = args[:company_admin] if args.key?(:company_admin)
378
- @is_pending = args[:is_pending] if args.key?(:is_pending)
379
378
  @address = args[:address] if args.key?(:address)
379
+ @is_pending = args[:is_pending] if args.key?(:is_pending)
380
380
  @creation_time = args[:creation_time] if args.key?(:creation_time)
381
381
  @state = args[:state] if args.key?(:state)
382
382
  @primary_address = args[:primary_address] if args.key?(:primary_address)
383
- @name = args[:name] if args.key?(:name)
384
383
  @manager_account = args[:manager_account] if args.key?(:manager_account)
384
+ @name = args[:name] if args.key?(:name)
385
+ @segment = args[:segment] if args.key?(:segment)
386
+ @internal_company_id = args[:internal_company_id] if args.key?(:internal_company_id)
387
+ @badge_tier = args[:badge_tier] if args.key?(:badge_tier)
388
+ @specialization_status = args[:specialization_status] if args.key?(:specialization_status)
389
+ @phone_number = args[:phone_number] if args.key?(:phone_number)
390
+ @website = args[:website] if args.key?(:website)
391
+ @primary_country_code = args[:primary_country_code] if args.key?(:primary_country_code)
385
392
  end
386
393
  end
387
394
 
@@ -395,11 +402,6 @@ module Google
395
402
  class Date
396
403
  include Google::Apis::Core::Hashable
397
404
 
398
- # Month of year. Must be from 1 to 12.
399
- # Corresponds to the JSON property `month`
400
- # @return [Fixnum]
401
- attr_accessor :month
402
-
403
405
  # Year of date. Must be from 1 to 9999, or 0 if specifying a date without
404
406
  # a year.
405
407
  # Corresponds to the JSON property `year`
@@ -412,15 +414,20 @@ module Google
412
414
  # @return [Fixnum]
413
415
  attr_accessor :day
414
416
 
417
+ # Month of year. Must be from 1 to 12.
418
+ # Corresponds to the JSON property `month`
419
+ # @return [Fixnum]
420
+ attr_accessor :month
421
+
415
422
  def initialize(**args)
416
423
  update!(**args)
417
424
  end
418
425
 
419
426
  # Update properties of this object
420
427
  def update!(**args)
421
- @month = args[:month] if args.key?(:month)
422
428
  @year = args[:year] if args.key?(:year)
423
429
  @day = args[:day] if args.key?(:day)
430
+ @month = args[:month] if args.key?(:month)
424
431
  end
425
432
  end
426
433
 
@@ -476,6 +483,11 @@ module Google
476
483
  class CreateLeadRequest
477
484
  include Google::Apis::Core::Hashable
478
485
 
486
+ # Common data that is in each API request.
487
+ # Corresponds to the JSON property `requestMetadata`
488
+ # @return [Google::Apis::PartnersV2::RequestMetadata]
489
+ attr_accessor :request_metadata
490
+
479
491
  # A lead resource that represents an advertiser contact for a `Company`. These
480
492
  # are usually generated via Google Partner Search (the advertiser portal).
481
493
  # Corresponds to the JSON property `lead`
@@ -487,20 +499,15 @@ module Google
487
499
  # @return [Google::Apis::PartnersV2::RecaptchaChallenge]
488
500
  attr_accessor :recaptcha_challenge
489
501
 
490
- # Common data that is in each API request.
491
- # Corresponds to the JSON property `requestMetadata`
492
- # @return [Google::Apis::PartnersV2::RequestMetadata]
493
- attr_accessor :request_metadata
494
-
495
502
  def initialize(**args)
496
503
  update!(**args)
497
504
  end
498
505
 
499
506
  # Update properties of this object
500
507
  def update!(**args)
508
+ @request_metadata = args[:request_metadata] if args.key?(:request_metadata)
501
509
  @lead = args[:lead] if args.key?(:lead)
502
510
  @recaptcha_challenge = args[:recaptcha_challenge] if args.key?(:recaptcha_challenge)
503
- @request_metadata = args[:request_metadata] if args.key?(:request_metadata)
504
511
  end
505
512
  end
506
513
 
@@ -508,6 +515,17 @@ module Google
508
515
  class RequestMetadata
509
516
  include Google::Apis::Core::Hashable
510
517
 
518
+ # Values to use instead of the user's respective defaults. These are only
519
+ # honored by whitelisted products.
520
+ # Corresponds to the JSON property `userOverrides`
521
+ # @return [Google::Apis::PartnersV2::UserOverrides]
522
+ attr_accessor :user_overrides
523
+
524
+ # Google Partners session ID.
525
+ # Corresponds to the JSON property `partnersSessionId`
526
+ # @return [String]
527
+ attr_accessor :partners_session_id
528
+
511
529
  # Experiment IDs the current request belongs to.
512
530
  # Corresponds to the JSON property `experimentIds`
513
531
  # @return [Array<String>]
@@ -523,28 +541,17 @@ module Google
523
541
  # @return [String]
524
542
  attr_accessor :locale
525
543
 
526
- # Values to use instead of the user's respective defaults. These are only
527
- # honored by whitelisted products.
528
- # Corresponds to the JSON property `userOverrides`
529
- # @return [Google::Apis::PartnersV2::UserOverrides]
530
- attr_accessor :user_overrides
531
-
532
- # Google Partners session ID.
533
- # Corresponds to the JSON property `partnersSessionId`
534
- # @return [String]
535
- attr_accessor :partners_session_id
536
-
537
544
  def initialize(**args)
538
545
  update!(**args)
539
546
  end
540
547
 
541
548
  # Update properties of this object
542
549
  def update!(**args)
550
+ @user_overrides = args[:user_overrides] if args.key?(:user_overrides)
551
+ @partners_session_id = args[:partners_session_id] if args.key?(:partners_session_id)
543
552
  @experiment_ids = args[:experiment_ids] if args.key?(:experiment_ids)
544
553
  @traffic_source = args[:traffic_source] if args.key?(:traffic_source)
545
554
  @locale = args[:locale] if args.key?(:locale)
546
- @user_overrides = args[:user_overrides] if args.key?(:user_overrides)
547
- @partners_session_id = args[:partners_session_id] if args.key?(:partners_session_id)
548
555
  end
549
556
  end
550
557
 
@@ -552,30 +559,46 @@ module Google
552
559
  class EventData
553
560
  include Google::Apis::Core::Hashable
554
561
 
555
- # Data values.
556
- # Corresponds to the JSON property `values`
557
- # @return [Array<String>]
558
- attr_accessor :values
559
-
560
562
  # Data type.
561
563
  # Corresponds to the JSON property `key`
562
564
  # @return [String]
563
565
  attr_accessor :key
564
566
 
567
+ # Data values.
568
+ # Corresponds to the JSON property `values`
569
+ # @return [Array<String>]
570
+ attr_accessor :values
571
+
565
572
  def initialize(**args)
566
573
  update!(**args)
567
574
  end
568
575
 
569
576
  # Update properties of this object
570
577
  def update!(**args)
571
- @values = args[:values] if args.key?(:values)
572
578
  @key = args[:key] if args.key?(:key)
579
+ @values = args[:values] if args.key?(:values)
573
580
  end
574
581
  end
575
582
 
576
- # A user's information on a specific exam.
577
- class ExamStatus
578
- include Google::Apis::Core::Hashable
583
+ # A user's information on a specific exam.
584
+ class ExamStatus
585
+ include Google::Apis::Core::Hashable
586
+
587
+ # Date this exam is due to expire.
588
+ # Corresponds to the JSON property `expiration`
589
+ # @return [String]
590
+ attr_accessor :expiration
591
+
592
+ # Whether this exam is in the state of warning.
593
+ # Corresponds to the JSON property `warning`
594
+ # @return [Boolean]
595
+ attr_accessor :warning
596
+ alias_method :warning?, :warning
597
+
598
+ # The date the user last passed this exam.
599
+ # Corresponds to the JSON property `lastPassed`
600
+ # @return [String]
601
+ attr_accessor :last_passed
579
602
 
580
603
  # The type of the exam.
581
604
  # Corresponds to the JSON property `examType`
@@ -593,34 +616,18 @@ module Google
593
616
  # @return [String]
594
617
  attr_accessor :taken
595
618
 
596
- # Whether this exam is in the state of warning.
597
- # Corresponds to the JSON property `warning`
598
- # @return [Boolean]
599
- attr_accessor :warning
600
- alias_method :warning?, :warning
601
-
602
- # Date this exam is due to expire.
603
- # Corresponds to the JSON property `expiration`
604
- # @return [String]
605
- attr_accessor :expiration
606
-
607
- # The date the user last passed this exam.
608
- # Corresponds to the JSON property `lastPassed`
609
- # @return [String]
610
- attr_accessor :last_passed
611
-
612
619
  def initialize(**args)
613
620
  update!(**args)
614
621
  end
615
622
 
616
623
  # Update properties of this object
617
624
  def update!(**args)
625
+ @expiration = args[:expiration] if args.key?(:expiration)
626
+ @warning = args[:warning] if args.key?(:warning)
627
+ @last_passed = args[:last_passed] if args.key?(:last_passed)
618
628
  @exam_type = args[:exam_type] if args.key?(:exam_type)
619
629
  @passed = args[:passed] if args.key?(:passed)
620
630
  @taken = args[:taken] if args.key?(:taken)
621
- @warning = args[:warning] if args.key?(:warning)
622
- @expiration = args[:expiration] if args.key?(:expiration)
623
- @last_passed = args[:last_passed] if args.key?(:last_passed)
624
631
  end
625
632
  end
626
633
 
@@ -628,6 +635,11 @@ module Google
628
635
  class ListOffersResponse
629
636
  include Google::Apis::Core::Hashable
630
637
 
638
+ # Available Offers to be distributed.
639
+ # Corresponds to the JSON property `availableOffers`
640
+ # @return [Array<Google::Apis::PartnersV2::AvailableOffer>]
641
+ attr_accessor :available_offers
642
+
631
643
  # Common data that is in each API response.
632
644
  # Corresponds to the JSON property `responseMetadata`
633
645
  # @return [Google::Apis::PartnersV2::ResponseMetadata]
@@ -638,20 +650,15 @@ module Google
638
650
  # @return [String]
639
651
  attr_accessor :no_offer_reason
640
652
 
641
- # Available Offers to be distributed.
642
- # Corresponds to the JSON property `availableOffers`
643
- # @return [Array<Google::Apis::PartnersV2::AvailableOffer>]
644
- attr_accessor :available_offers
645
-
646
653
  def initialize(**args)
647
654
  update!(**args)
648
655
  end
649
656
 
650
657
  # Update properties of this object
651
658
  def update!(**args)
659
+ @available_offers = args[:available_offers] if args.key?(:available_offers)
652
660
  @response_metadata = args[:response_metadata] if args.key?(:response_metadata)
653
661
  @no_offer_reason = args[:no_offer_reason] if args.key?(:no_offer_reason)
654
- @available_offers = args[:available_offers] if args.key?(:available_offers)
655
662
  end
656
663
  end
657
664
 
@@ -659,11 +666,6 @@ module Google
659
666
  class CountryOfferInfo
660
667
  include Google::Apis::Core::Hashable
661
668
 
662
- # (localized) Get Y amount for that country's offer.
663
- # Corresponds to the JSON property `getYAmount`
664
- # @return [String]
665
- attr_accessor :get_y_amount
666
-
667
669
  # Country code for which offer codes may be requested.
668
670
  # Corresponds to the JSON property `offerCountryCode`
669
671
  # @return [String]
@@ -679,16 +681,21 @@ module Google
679
681
  # @return [String]
680
682
  attr_accessor :offer_type
681
683
 
684
+ # (localized) Get Y amount for that country's offer.
685
+ # Corresponds to the JSON property `getYAmount`
686
+ # @return [String]
687
+ attr_accessor :get_y_amount
688
+
682
689
  def initialize(**args)
683
690
  update!(**args)
684
691
  end
685
692
 
686
693
  # Update properties of this object
687
694
  def update!(**args)
688
- @get_y_amount = args[:get_y_amount] if args.key?(:get_y_amount)
689
695
  @offer_country_code = args[:offer_country_code] if args.key?(:offer_country_code)
690
696
  @spend_x_amount = args[:spend_x_amount] if args.key?(:spend_x_amount)
691
697
  @offer_type = args[:offer_type] if args.key?(:offer_type)
698
+ @get_y_amount = args[:get_y_amount] if args.key?(:get_y_amount)
692
699
  end
693
700
  end
694
701
 
@@ -732,11 +739,36 @@ module Google
732
739
  class OfferCustomer
733
740
  include Google::Apis::Core::Hashable
734
741
 
742
+ # Formatted Get Y amount with currency code.
743
+ # Corresponds to the JSON property `getYAmount`
744
+ # @return [String]
745
+ attr_accessor :get_y_amount
746
+
747
+ # Name of the customer.
748
+ # Corresponds to the JSON property `name`
749
+ # @return [String]
750
+ attr_accessor :name
751
+
752
+ # Formatted Spend X amount with currency code.
753
+ # Corresponds to the JSON property `spendXAmount`
754
+ # @return [String]
755
+ attr_accessor :spend_x_amount
756
+
735
757
  # URL to the customer's AdWords page.
736
758
  # Corresponds to the JSON property `adwordsUrl`
737
759
  # @return [String]
738
760
  attr_accessor :adwords_url
739
761
 
762
+ # Country code of the customer.
763
+ # Corresponds to the JSON property `countryCode`
764
+ # @return [String]
765
+ attr_accessor :country_code
766
+
767
+ # External CID for the customer.
768
+ # Corresponds to the JSON property `externalCid`
769
+ # @return [Fixnum]
770
+ attr_accessor :external_cid
771
+
740
772
  # Time the customer was created.
741
773
  # Corresponds to the JSON property `creationTime`
742
774
  # @return [String]
@@ -752,46 +784,21 @@ module Google
752
784
  # @return [String]
753
785
  attr_accessor :offer_type
754
786
 
755
- # External CID for the customer.
756
- # Corresponds to the JSON property `externalCid`
757
- # @return [Fixnum]
758
- attr_accessor :external_cid
759
-
760
- # Country code of the customer.
761
- # Corresponds to the JSON property `countryCode`
762
- # @return [String]
763
- attr_accessor :country_code
764
-
765
- # Formatted Get Y amount with currency code.
766
- # Corresponds to the JSON property `getYAmount`
767
- # @return [String]
768
- attr_accessor :get_y_amount
769
-
770
- # Name of the customer.
771
- # Corresponds to the JSON property `name`
772
- # @return [String]
773
- attr_accessor :name
774
-
775
- # Formatted Spend X amount with currency code.
776
- # Corresponds to the JSON property `spendXAmount`
777
- # @return [String]
778
- attr_accessor :spend_x_amount
779
-
780
787
  def initialize(**args)
781
788
  update!(**args)
782
789
  end
783
790
 
784
791
  # Update properties of this object
785
792
  def update!(**args)
793
+ @get_y_amount = args[:get_y_amount] if args.key?(:get_y_amount)
794
+ @name = args[:name] if args.key?(:name)
795
+ @spend_x_amount = args[:spend_x_amount] if args.key?(:spend_x_amount)
786
796
  @adwords_url = args[:adwords_url] if args.key?(:adwords_url)
797
+ @country_code = args[:country_code] if args.key?(:country_code)
798
+ @external_cid = args[:external_cid] if args.key?(:external_cid)
787
799
  @creation_time = args[:creation_time] if args.key?(:creation_time)
788
800
  @eligibility_days_left = args[:eligibility_days_left] if args.key?(:eligibility_days_left)
789
801
  @offer_type = args[:offer_type] if args.key?(:offer_type)
790
- @external_cid = args[:external_cid] if args.key?(:external_cid)
791
- @country_code = args[:country_code] if args.key?(:country_code)
792
- @get_y_amount = args[:get_y_amount] if args.key?(:get_y_amount)
793
- @name = args[:name] if args.key?(:name)
794
- @spend_x_amount = args[:spend_x_amount] if args.key?(:spend_x_amount)
795
802
  end
796
803
  end
797
804
 
@@ -1037,26 +1044,11 @@ module Google
1037
1044
  class User
1038
1045
  include Google::Apis::Core::Hashable
1039
1046
 
1040
- # The most recent time the user interacted with the Partners site.
1041
- # @OutputOnly
1042
- # Corresponds to the JSON property `lastAccessTime`
1047
+ # The internal user ID.
1048
+ # Only available for a whitelisted set of api clients.
1049
+ # Corresponds to the JSON property `internalId`
1043
1050
  # @return [String]
1044
- attr_accessor :last_access_time
1045
-
1046
- # The list of emails the user has access to/can select as primary.
1047
- # @OutputOnly
1048
- # Corresponds to the JSON property `primaryEmails`
1049
- # @return [Array<String>]
1050
- attr_accessor :primary_emails
1051
-
1052
- # This is the list of AdWords Manager Accounts the user has edit access to.
1053
- # If the user has edit access to multiple accounts, the user can choose the
1054
- # preferred account and we use this when a personal account is needed. Can
1055
- # be empty meaning the user has access to no accounts.
1056
- # @OutputOnly
1057
- # Corresponds to the JSON property `availableAdwordsManagerAccounts`
1058
- # @return [Array<Google::Apis::PartnersV2::AdWordsManagerAccountInfo>]
1059
- attr_accessor :available_adwords_manager_accounts
1051
+ attr_accessor :internal_id
1060
1052
 
1061
1053
  # The list of exams the user ever taken. For each type of exam, only one
1062
1054
  # entry is listed.
@@ -1074,6 +1066,12 @@ module Google
1074
1066
  # @return [Google::Apis::PartnersV2::PublicProfile]
1075
1067
  attr_accessor :public_profile
1076
1068
 
1069
+ # The email address used by the user used for company verification.
1070
+ # @OutputOnly
1071
+ # Corresponds to the JSON property `companyVerificationEmail`
1072
+ # @return [String]
1073
+ attr_accessor :company_verification_email
1074
+
1077
1075
  # The list of achieved certifications. These are calculated based on exam
1078
1076
  # results and other requirements.
1079
1077
  # @OutputOnly
@@ -1081,12 +1079,6 @@ module Google
1081
1079
  # @return [Array<Google::Apis::PartnersV2::Certification>]
1082
1080
  attr_accessor :certification_status
1083
1081
 
1084
- # The email address used by the user used for company verification.
1085
- # @OutputOnly
1086
- # Corresponds to the JSON property `companyVerificationEmail`
1087
- # @return [String]
1088
- attr_accessor :company_verification_email
1089
-
1090
1082
  # The profile information of a Partners user.
1091
1083
  # Corresponds to the JSON property `profile`
1092
1084
  # @return [Google::Apis::PartnersV2::UserProfile]
@@ -1098,22 +1090,44 @@ module Google
1098
1090
  # @return [Google::Apis::PartnersV2::CompanyRelation]
1099
1091
  attr_accessor :company
1100
1092
 
1093
+ # The most recent time the user interacted with the Partners site.
1094
+ # @OutputOnly
1095
+ # Corresponds to the JSON property `lastAccessTime`
1096
+ # @return [String]
1097
+ attr_accessor :last_access_time
1098
+
1099
+ # This is the list of AdWords Manager Accounts the user has edit access to.
1100
+ # If the user has edit access to multiple accounts, the user can choose the
1101
+ # preferred account and we use this when a personal account is needed. Can
1102
+ # be empty meaning the user has access to no accounts.
1103
+ # @OutputOnly
1104
+ # Corresponds to the JSON property `availableAdwordsManagerAccounts`
1105
+ # @return [Array<Google::Apis::PartnersV2::AdWordsManagerAccountInfo>]
1106
+ attr_accessor :available_adwords_manager_accounts
1107
+
1108
+ # The list of emails the user has access to/can select as primary.
1109
+ # @OutputOnly
1110
+ # Corresponds to the JSON property `primaryEmails`
1111
+ # @return [Array<String>]
1112
+ attr_accessor :primary_emails
1113
+
1101
1114
  def initialize(**args)
1102
1115
  update!(**args)
1103
1116
  end
1104
1117
 
1105
1118
  # Update properties of this object
1106
1119
  def update!(**args)
1107
- @last_access_time = args[:last_access_time] if args.key?(:last_access_time)
1108
- @primary_emails = args[:primary_emails] if args.key?(:primary_emails)
1109
- @available_adwords_manager_accounts = args[:available_adwords_manager_accounts] if args.key?(:available_adwords_manager_accounts)
1120
+ @internal_id = args[:internal_id] if args.key?(:internal_id)
1110
1121
  @exam_status = args[:exam_status] if args.key?(:exam_status)
1111
1122
  @id = args[:id] if args.key?(:id)
1112
1123
  @public_profile = args[:public_profile] if args.key?(:public_profile)
1113
- @certification_status = args[:certification_status] if args.key?(:certification_status)
1114
1124
  @company_verification_email = args[:company_verification_email] if args.key?(:company_verification_email)
1125
+ @certification_status = args[:certification_status] if args.key?(:certification_status)
1115
1126
  @profile = args[:profile] if args.key?(:profile)
1116
1127
  @company = args[:company] if args.key?(:company)
1128
+ @last_access_time = args[:last_access_time] if args.key?(:last_access_time)
1129
+ @available_adwords_manager_accounts = args[:available_adwords_manager_accounts] if args.key?(:available_adwords_manager_accounts)
1130
+ @primary_emails = args[:primary_emails] if args.key?(:primary_emails)
1117
1131
  end
1118
1132
  end
1119
1133
 
@@ -1122,13 +1136,6 @@ module Google
1122
1136
  class ListAnalyticsResponse
1123
1137
  include Google::Apis::Core::Hashable
1124
1138
 
1125
- # The list of analytics.
1126
- # Sorted in ascending order of
1127
- # Analytics.event_date.
1128
- # Corresponds to the JSON property `analytics`
1129
- # @return [Array<Google::Apis::PartnersV2::Analytics>]
1130
- attr_accessor :analytics
1131
-
1132
1139
  # A token to retrieve next page of results.
1133
1140
  # Pass this value in the `ListAnalyticsRequest.page_token` field in the
1134
1141
  # subsequent call to
@@ -1148,46 +1155,12 @@ module Google
1148
1155
  # @return [Google::Apis::PartnersV2::AnalyticsSummary]
1149
1156
  attr_accessor :analytics_summary
1150
1157
 
1151
- def initialize(**args)
1152
- update!(**args)
1153
- end
1154
-
1155
- # Update properties of this object
1156
- def update!(**args)
1157
- @analytics = args[:analytics] if args.key?(:analytics)
1158
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1159
- @response_metadata = args[:response_metadata] if args.key?(:response_metadata)
1160
- @analytics_summary = args[:analytics_summary] if args.key?(:analytics_summary)
1161
- end
1162
- end
1163
-
1164
- # Response message for ListLeads.
1165
- class ListLeadsResponse
1166
- include Google::Apis::Core::Hashable
1167
-
1168
- # A token to retrieve next page of results.
1169
- # Pass this value in the `ListLeadsRequest.page_token` field in the
1170
- # subsequent call to
1171
- # ListLeads to retrieve the
1172
- # next page of results.
1173
- # Corresponds to the JSON property `nextPageToken`
1174
- # @return [String]
1175
- attr_accessor :next_page_token
1176
-
1177
- # Common data that is in each API response.
1178
- # Corresponds to the JSON property `responseMetadata`
1179
- # @return [Google::Apis::PartnersV2::ResponseMetadata]
1180
- attr_accessor :response_metadata
1181
-
1182
- # The total count of leads for the given company.
1183
- # Corresponds to the JSON property `totalSize`
1184
- # @return [Fixnum]
1185
- attr_accessor :total_size
1186
-
1187
- # The list of leads.
1188
- # Corresponds to the JSON property `leads`
1189
- # @return [Array<Google::Apis::PartnersV2::Lead>]
1190
- attr_accessor :leads
1158
+ # The list of analytics.
1159
+ # Sorted in ascending order of
1160
+ # Analytics.event_date.
1161
+ # Corresponds to the JSON property `analytics`
1162
+ # @return [Array<Google::Apis::PartnersV2::Analytics>]
1163
+ attr_accessor :analytics
1191
1164
 
1192
1165
  def initialize(**args)
1193
1166
  update!(**args)
@@ -1197,8 +1170,8 @@ module Google
1197
1170
  def update!(**args)
1198
1171
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1199
1172
  @response_metadata = args[:response_metadata] if args.key?(:response_metadata)
1200
- @total_size = args[:total_size] if args.key?(:total_size)
1201
- @leads = args[:leads] if args.key?(:leads)
1173
+ @analytics_summary = args[:analytics_summary] if args.key?(:analytics_summary)
1174
+ @analytics = args[:analytics] if args.key?(:analytics)
1202
1175
  end
1203
1176
  end
1204
1177
 
@@ -1207,21 +1180,36 @@ module Google
1207
1180
  class Company
1208
1181
  include Google::Apis::Core::Hashable
1209
1182
 
1210
- # A location with address and geographic coordinates. May optionally contain a
1211
- # detailed (multi-field) version of the address.
1212
- # Corresponds to the JSON property `primaryLocation`
1213
- # @return [Google::Apis::PartnersV2::Location]
1214
- attr_accessor :primary_location
1183
+ # The list of localized info for the company.
1184
+ # Corresponds to the JSON property `localizedInfos`
1185
+ # @return [Array<Google::Apis::PartnersV2::LocalizedCompanyInfo>]
1186
+ attr_accessor :localized_infos
1187
+
1188
+ # The ID of the company.
1189
+ # Corresponds to the JSON property `id`
1190
+ # @return [String]
1191
+ attr_accessor :id
1192
+
1193
+ # The list of Google Partners certification statuses for the company.
1194
+ # Corresponds to the JSON property `certificationStatuses`
1195
+ # @return [Array<Google::Apis::PartnersV2::CertificationStatus>]
1196
+ attr_accessor :certification_statuses
1197
+
1198
+ # Represents an amount of money with its currency type.
1199
+ # Corresponds to the JSON property `originalMinMonthlyBudget`
1200
+ # @return [Google::Apis::PartnersV2::Money]
1201
+ attr_accessor :original_min_monthly_budget
1215
1202
 
1216
1203
  # Services the company can help with.
1217
1204
  # Corresponds to the JSON property `services`
1218
1205
  # @return [Array<String>]
1219
1206
  attr_accessor :services
1220
1207
 
1221
- # Represents an amount of money with its currency type.
1222
- # Corresponds to the JSON property `originalMinMonthlyBudget`
1223
- # @return [Google::Apis::PartnersV2::Money]
1224
- attr_accessor :original_min_monthly_budget
1208
+ # A location with address and geographic coordinates. May optionally contain a
1209
+ # detailed (multi-field) version of the address.
1210
+ # Corresponds to the JSON property `primaryLocation`
1211
+ # @return [Google::Apis::PartnersV2::Location]
1212
+ attr_accessor :primary_location
1225
1213
 
1226
1214
  # Basic information from a public profile.
1227
1215
  # Corresponds to the JSON property `publicProfile`
@@ -1244,17 +1232,22 @@ module Google
1244
1232
  # @return [String]
1245
1233
  attr_accessor :badge_tier
1246
1234
 
1247
- # Company type labels listed on the company's profile.
1248
- # Corresponds to the JSON property `companyTypes`
1249
- # @return [Array<String>]
1250
- attr_accessor :company_types
1251
-
1252
1235
  # Email domains that allow users with a matching email address to get
1253
1236
  # auto-approved for associating with this company.
1254
1237
  # Corresponds to the JSON property `autoApprovalEmailDomains`
1255
1238
  # @return [Array<String>]
1256
1239
  attr_accessor :auto_approval_email_domains
1257
1240
 
1241
+ # Company type labels listed on the company's profile.
1242
+ # Corresponds to the JSON property `companyTypes`
1243
+ # @return [Array<String>]
1244
+ attr_accessor :company_types
1245
+
1246
+ # The public viewability status of the company's profile.
1247
+ # Corresponds to the JSON property `profileStatus`
1248
+ # @return [String]
1249
+ attr_accessor :profile_status
1250
+
1258
1251
  # The primary language code of the company, as defined by
1259
1252
  # <a href="https://tools.ietf.org/html/bcp47">BCP 47</a>
1260
1253
  # (IETF BCP 47, "Tags for Identifying Languages").
@@ -1262,11 +1255,6 @@ module Google
1262
1255
  # @return [String]
1263
1256
  attr_accessor :primary_language_code
1264
1257
 
1265
- # The public viewability status of the company's profile.
1266
- # Corresponds to the JSON property `profileStatus`
1267
- # @return [String]
1268
- attr_accessor :profile_status
1269
-
1270
1258
  # The list of all company locations.
1271
1259
  # If set, must include the
1272
1260
  # primary_location
@@ -1285,6 +1273,11 @@ module Google
1285
1273
  # @return [Array<String>]
1286
1274
  attr_accessor :industries
1287
1275
 
1276
+ # URL of the company's website.
1277
+ # Corresponds to the JSON property `websiteUrl`
1278
+ # @return [String]
1279
+ attr_accessor :website_url
1280
+
1288
1281
  # URL of the company's additional websites used to verify the dynamic badges.
1289
1282
  # These are stored as full URLs as entered by the user, but only the TLD will
1290
1283
  # be used for the actual verification.
@@ -1292,11 +1285,6 @@ module Google
1292
1285
  # @return [Array<String>]
1293
1286
  attr_accessor :additional_websites
1294
1287
 
1295
- # URL of the company's website.
1296
- # Corresponds to the JSON property `websiteUrl`
1297
- # @return [String]
1298
- attr_accessor :website_url
1299
-
1300
1288
  # The Primary AdWords Manager Account id.
1301
1289
  # Corresponds to the JSON property `primaryAdwordsManagerAccountId`
1302
1290
  # @return [Fixnum]
@@ -1307,48 +1295,74 @@ module Google
1307
1295
  # @return [String]
1308
1296
  attr_accessor :name
1309
1297
 
1310
- # The list of localized info for the company.
1311
- # Corresponds to the JSON property `localizedInfos`
1312
- # @return [Array<Google::Apis::PartnersV2::LocalizedCompanyInfo>]
1313
- attr_accessor :localized_infos
1314
-
1315
- # The ID of the company.
1316
- # Corresponds to the JSON property `id`
1317
- # @return [String]
1318
- attr_accessor :id
1319
-
1320
- # The list of Google Partners certification statuses for the company.
1321
- # Corresponds to the JSON property `certificationStatuses`
1322
- # @return [Array<Google::Apis::PartnersV2::CertificationStatus>]
1323
- attr_accessor :certification_statuses
1324
-
1325
1298
  def initialize(**args)
1326
1299
  update!(**args)
1327
1300
  end
1328
1301
 
1329
1302
  # Update properties of this object
1330
1303
  def update!(**args)
1331
- @primary_location = args[:primary_location] if args.key?(:primary_location)
1332
- @services = args[:services] if args.key?(:services)
1304
+ @localized_infos = args[:localized_infos] if args.key?(:localized_infos)
1305
+ @id = args[:id] if args.key?(:id)
1306
+ @certification_statuses = args[:certification_statuses] if args.key?(:certification_statuses)
1333
1307
  @original_min_monthly_budget = args[:original_min_monthly_budget] if args.key?(:original_min_monthly_budget)
1308
+ @services = args[:services] if args.key?(:services)
1309
+ @primary_location = args[:primary_location] if args.key?(:primary_location)
1334
1310
  @public_profile = args[:public_profile] if args.key?(:public_profile)
1335
1311
  @ranks = args[:ranks] if args.key?(:ranks)
1336
1312
  @specialization_status = args[:specialization_status] if args.key?(:specialization_status)
1337
1313
  @badge_tier = args[:badge_tier] if args.key?(:badge_tier)
1338
- @company_types = args[:company_types] if args.key?(:company_types)
1339
1314
  @auto_approval_email_domains = args[:auto_approval_email_domains] if args.key?(:auto_approval_email_domains)
1340
- @primary_language_code = args[:primary_language_code] if args.key?(:primary_language_code)
1315
+ @company_types = args[:company_types] if args.key?(:company_types)
1341
1316
  @profile_status = args[:profile_status] if args.key?(:profile_status)
1317
+ @primary_language_code = args[:primary_language_code] if args.key?(:primary_language_code)
1342
1318
  @locations = args[:locations] if args.key?(:locations)
1343
1319
  @converted_min_monthly_budget = args[:converted_min_monthly_budget] if args.key?(:converted_min_monthly_budget)
1344
1320
  @industries = args[:industries] if args.key?(:industries)
1345
- @additional_websites = args[:additional_websites] if args.key?(:additional_websites)
1346
1321
  @website_url = args[:website_url] if args.key?(:website_url)
1322
+ @additional_websites = args[:additional_websites] if args.key?(:additional_websites)
1347
1323
  @primary_adwords_manager_account_id = args[:primary_adwords_manager_account_id] if args.key?(:primary_adwords_manager_account_id)
1348
1324
  @name = args[:name] if args.key?(:name)
1349
- @localized_infos = args[:localized_infos] if args.key?(:localized_infos)
1350
- @id = args[:id] if args.key?(:id)
1351
- @certification_statuses = args[:certification_statuses] if args.key?(:certification_statuses)
1325
+ end
1326
+ end
1327
+
1328
+ # Response message for ListLeads.
1329
+ class ListLeadsResponse
1330
+ include Google::Apis::Core::Hashable
1331
+
1332
+ # A token to retrieve next page of results.
1333
+ # Pass this value in the `ListLeadsRequest.page_token` field in the
1334
+ # subsequent call to
1335
+ # ListLeads to retrieve the
1336
+ # next page of results.
1337
+ # Corresponds to the JSON property `nextPageToken`
1338
+ # @return [String]
1339
+ attr_accessor :next_page_token
1340
+
1341
+ # Common data that is in each API response.
1342
+ # Corresponds to the JSON property `responseMetadata`
1343
+ # @return [Google::Apis::PartnersV2::ResponseMetadata]
1344
+ attr_accessor :response_metadata
1345
+
1346
+ # The total count of leads for the given company.
1347
+ # Corresponds to the JSON property `totalSize`
1348
+ # @return [Fixnum]
1349
+ attr_accessor :total_size
1350
+
1351
+ # The list of leads.
1352
+ # Corresponds to the JSON property `leads`
1353
+ # @return [Array<Google::Apis::PartnersV2::Lead>]
1354
+ attr_accessor :leads
1355
+
1356
+ def initialize(**args)
1357
+ update!(**args)
1358
+ end
1359
+
1360
+ # Update properties of this object
1361
+ def update!(**args)
1362
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1363
+ @response_metadata = args[:response_metadata] if args.key?(:response_metadata)
1364
+ @total_size = args[:total_size] if args.key?(:total_size)
1365
+ @leads = args[:leads] if args.key?(:leads)
1352
1366
  end
1353
1367
  end
1354
1368
 
@@ -1416,16 +1430,22 @@ module Google
1416
1430
  class Location
1417
1431
  include Google::Apis::Core::Hashable
1418
1432
 
1419
- # Generally refers to the city/town portion of an address.
1420
- # Corresponds to the JSON property `locality`
1421
- # @return [String]
1422
- attr_accessor :locality
1433
+ # The following address lines represent the most specific part of any
1434
+ # address.
1435
+ # Corresponds to the JSON property `addressLine`
1436
+ # @return [Array<String>]
1437
+ attr_accessor :address_line
1423
1438
 
1424
1439
  # Top-level administrative subdivision of this country.
1425
1440
  # Corresponds to the JSON property `administrativeArea`
1426
1441
  # @return [String]
1427
1442
  attr_accessor :administrative_area
1428
1443
 
1444
+ # Generally refers to the city/town portion of an address.
1445
+ # Corresponds to the JSON property `locality`
1446
+ # @return [String]
1447
+ attr_accessor :locality
1448
+
1429
1449
  # An object representing a latitude/longitude pair. This is expressed as a pair
1430
1450
  # of doubles representing degrees latitude and degrees longitude. Unless
1431
1451
  # specified otherwise, this must conform to the
@@ -1465,6 +1485,11 @@ module Google
1465
1485
  # @return [Google::Apis::PartnersV2::LatLng]
1466
1486
  attr_accessor :lat_lng
1467
1487
 
1488
+ # CLDR (Common Locale Data Repository) region code .
1489
+ # Corresponds to the JSON property `regionCode`
1490
+ # @return [String]
1491
+ attr_accessor :region_code
1492
+
1468
1493
  # The single string version of the address.
1469
1494
  # Corresponds to the JSON property `address`
1470
1495
  # @return [String]
@@ -1476,11 +1501,6 @@ module Google
1476
1501
  # @return [String]
1477
1502
  attr_accessor :dependent_locality
1478
1503
 
1479
- # CLDR (Common Locale Data Repository) region code .
1480
- # Corresponds to the JSON property `regionCode`
1481
- # @return [String]
1482
- attr_accessor :region_code
1483
-
1484
1504
  # Values are frequently alphanumeric.
1485
1505
  # Corresponds to the JSON property `postalCode`
1486
1506
  # @return [String]
@@ -1497,49 +1517,38 @@ module Google
1497
1517
  # @return [String]
1498
1518
  attr_accessor :sorting_code
1499
1519
 
1500
- # The following address lines represent the most specific part of any
1501
- # address.
1502
- # Corresponds to the JSON property `addressLine`
1503
- # @return [Array<String>]
1504
- attr_accessor :address_line
1505
-
1506
1520
  def initialize(**args)
1507
1521
  update!(**args)
1508
1522
  end
1509
1523
 
1510
1524
  # Update properties of this object
1511
1525
  def update!(**args)
1512
- @locality = args[:locality] if args.key?(:locality)
1526
+ @address_line = args[:address_line] if args.key?(:address_line)
1513
1527
  @administrative_area = args[:administrative_area] if args.key?(:administrative_area)
1528
+ @locality = args[:locality] if args.key?(:locality)
1514
1529
  @lat_lng = args[:lat_lng] if args.key?(:lat_lng)
1530
+ @region_code = args[:region_code] if args.key?(:region_code)
1515
1531
  @address = args[:address] if args.key?(:address)
1516
1532
  @dependent_locality = args[:dependent_locality] if args.key?(:dependent_locality)
1517
- @region_code = args[:region_code] if args.key?(:region_code)
1518
1533
  @postal_code = args[:postal_code] if args.key?(:postal_code)
1519
1534
  @language_code = args[:language_code] if args.key?(:language_code)
1520
1535
  @sorting_code = args[:sorting_code] if args.key?(:sorting_code)
1521
- @address_line = args[:address_line] if args.key?(:address_line)
1522
1536
  end
1523
1537
  end
1524
1538
 
1525
- # A token that allows a user to take an exam.
1526
- class ExamToken
1539
+ # Status for a Google Partners certification exam.
1540
+ class CertificationExamStatus
1527
1541
  include Google::Apis::Core::Hashable
1528
1542
 
1529
- # The id of the exam the token is for.
1530
- # Corresponds to the JSON property `examId`
1543
+ # The number of people who have passed the certification exam.
1544
+ # Corresponds to the JSON property `numberUsersPass`
1531
1545
  # @return [Fixnum]
1532
- attr_accessor :exam_id
1533
-
1534
- # The token, only present if the user has access to the exam.
1535
- # Corresponds to the JSON property `token`
1536
- # @return [String]
1537
- attr_accessor :token
1546
+ attr_accessor :number_users_pass
1538
1547
 
1539
- # The type of the exam the token belongs to.
1540
- # Corresponds to the JSON property `examType`
1548
+ # The type of certification exam.
1549
+ # Corresponds to the JSON property `type`
1541
1550
  # @return [String]
1542
- attr_accessor :exam_type
1551
+ attr_accessor :type
1543
1552
 
1544
1553
  def initialize(**args)
1545
1554
  update!(**args)
@@ -1547,25 +1556,29 @@ module Google
1547
1556
 
1548
1557
  # Update properties of this object
1549
1558
  def update!(**args)
1550
- @exam_id = args[:exam_id] if args.key?(:exam_id)
1551
- @token = args[:token] if args.key?(:token)
1552
- @exam_type = args[:exam_type] if args.key?(:exam_type)
1559
+ @number_users_pass = args[:number_users_pass] if args.key?(:number_users_pass)
1560
+ @type = args[:type] if args.key?(:type)
1553
1561
  end
1554
1562
  end
1555
1563
 
1556
- # Status for a Google Partners certification exam.
1557
- class CertificationExamStatus
1564
+ # A token that allows a user to take an exam.
1565
+ class ExamToken
1558
1566
  include Google::Apis::Core::Hashable
1559
1567
 
1560
- # The type of certification exam.
1561
- # Corresponds to the JSON property `type`
1568
+ # The token, only present if the user has access to the exam.
1569
+ # Corresponds to the JSON property `token`
1562
1570
  # @return [String]
1563
- attr_accessor :type
1571
+ attr_accessor :token
1564
1572
 
1565
- # The number of people who have passed the certification exam.
1566
- # Corresponds to the JSON property `numberUsersPass`
1573
+ # The type of the exam the token belongs to.
1574
+ # Corresponds to the JSON property `examType`
1575
+ # @return [String]
1576
+ attr_accessor :exam_type
1577
+
1578
+ # The id of the exam the token is for.
1579
+ # Corresponds to the JSON property `examId`
1567
1580
  # @return [Fixnum]
1568
- attr_accessor :number_users_pass
1581
+ attr_accessor :exam_id
1569
1582
 
1570
1583
  def initialize(**args)
1571
1584
  update!(**args)
@@ -1573,8 +1586,9 @@ module Google
1573
1586
 
1574
1587
  # Update properties of this object
1575
1588
  def update!(**args)
1576
- @type = args[:type] if args.key?(:type)
1577
- @number_users_pass = args[:number_users_pass] if args.key?(:number_users_pass)
1589
+ @token = args[:token] if args.key?(:token)
1590
+ @exam_type = args[:exam_type] if args.key?(:exam_type)
1591
+ @exam_id = args[:exam_id] if args.key?(:exam_id)
1578
1592
  end
1579
1593
  end
1580
1594
 
@@ -1642,20 +1656,77 @@ module Google
1642
1656
  # @return [Float]
1643
1657
  attr_accessor :value
1644
1658
 
1645
- def initialize(**args)
1646
- update!(**args)
1647
- end
1659
+ def initialize(**args)
1660
+ update!(**args)
1661
+ end
1662
+
1663
+ # Update properties of this object
1664
+ def update!(**args)
1665
+ @type = args[:type] if args.key?(:type)
1666
+ @value = args[:value] if args.key?(:value)
1667
+ end
1668
+ end
1669
+
1670
+ # Response message for
1671
+ # GetPartnersStatus.
1672
+ class GetPartnersStatusResponse
1673
+ include Google::Apis::Core::Hashable
1674
+
1675
+ # Common data that is in each API response.
1676
+ # Corresponds to the JSON property `responseMetadata`
1677
+ # @return [Google::Apis::PartnersV2::ResponseMetadata]
1678
+ attr_accessor :response_metadata
1679
+
1680
+ def initialize(**args)
1681
+ update!(**args)
1682
+ end
1683
+
1684
+ # Update properties of this object
1685
+ def update!(**args)
1686
+ @response_metadata = args[:response_metadata] if args.key?(:response_metadata)
1687
+ end
1688
+ end
1689
+
1690
+ # The profile information of a Partners user.
1691
+ class UserProfile
1692
+ include Google::Apis::Core::Hashable
1693
+
1694
+ # The user's family name.
1695
+ # Corresponds to the JSON property `familyName`
1696
+ # @return [String]
1697
+ attr_accessor :family_name
1698
+
1699
+ # The list of languages this user understands.
1700
+ # Corresponds to the JSON property `languages`
1701
+ # @return [Array<String>]
1702
+ attr_accessor :languages
1703
+
1704
+ # A set of opt-ins for a user.
1705
+ # Corresponds to the JSON property `emailOptIns`
1706
+ # @return [Google::Apis::PartnersV2::OptIns]
1707
+ attr_accessor :email_opt_ins
1708
+
1709
+ # A list of ids representing which markets the user was interested in.
1710
+ # Corresponds to the JSON property `markets`
1711
+ # @return [Array<String>]
1712
+ attr_accessor :markets
1713
+
1714
+ # The user's phone number.
1715
+ # Corresponds to the JSON property `phoneNumber`
1716
+ # @return [String]
1717
+ attr_accessor :phone_number
1648
1718
 
1649
- # Update properties of this object
1650
- def update!(**args)
1651
- @type = args[:type] if args.key?(:type)
1652
- @value = args[:value] if args.key?(:value)
1653
- end
1654
- end
1719
+ # If the user has edit access to multiple accounts, the user can choose the
1720
+ # preferred account and it is used when a personal account is needed. Can
1721
+ # be empty.
1722
+ # Corresponds to the JSON property `adwordsManagerAccount`
1723
+ # @return [Fixnum]
1724
+ attr_accessor :adwords_manager_account
1655
1725
 
1656
- # The profile information of a Partners user.
1657
- class UserProfile
1658
- include Google::Apis::Core::Hashable
1726
+ # The user's primary country, an ISO 2-character code.
1727
+ # Corresponds to the JSON property `primaryCountryCode`
1728
+ # @return [String]
1729
+ attr_accessor :primary_country_code
1659
1730
 
1660
1731
  # The email address the user has selected on the Partners site as primary.
1661
1732
  # Corresponds to the JSON property `emailAddress`
@@ -1694,49 +1765,19 @@ module Google
1694
1765
  # @return [Array<String>]
1695
1766
  attr_accessor :industries
1696
1767
 
1697
- # The list of languages this user understands.
1698
- # Corresponds to the JSON property `languages`
1699
- # @return [Array<String>]
1700
- attr_accessor :languages
1701
-
1702
- # The user's family name.
1703
- # Corresponds to the JSON property `familyName`
1704
- # @return [String]
1705
- attr_accessor :family_name
1706
-
1707
- # A set of opt-ins for a user.
1708
- # Corresponds to the JSON property `emailOptIns`
1709
- # @return [Google::Apis::PartnersV2::OptIns]
1710
- attr_accessor :email_opt_ins
1711
-
1712
- # A list of ids representing which markets the user was interested in.
1713
- # Corresponds to the JSON property `markets`
1714
- # @return [Array<String>]
1715
- attr_accessor :markets
1716
-
1717
- # The user's phone number.
1718
- # Corresponds to the JSON property `phoneNumber`
1719
- # @return [String]
1720
- attr_accessor :phone_number
1721
-
1722
- # If the user has edit access to multiple accounts, the user can choose the
1723
- # preferred account and it is used when a personal account is needed. Can
1724
- # be empty.
1725
- # Corresponds to the JSON property `adwordsManagerAccount`
1726
- # @return [Fixnum]
1727
- attr_accessor :adwords_manager_account
1728
-
1729
- # The user's primary country, an ISO 2-character code.
1730
- # Corresponds to the JSON property `primaryCountryCode`
1731
- # @return [String]
1732
- attr_accessor :primary_country_code
1733
-
1734
1768
  def initialize(**args)
1735
1769
  update!(**args)
1736
1770
  end
1737
1771
 
1738
1772
  # Update properties of this object
1739
1773
  def update!(**args)
1774
+ @family_name = args[:family_name] if args.key?(:family_name)
1775
+ @languages = args[:languages] if args.key?(:languages)
1776
+ @email_opt_ins = args[:email_opt_ins] if args.key?(:email_opt_ins)
1777
+ @markets = args[:markets] if args.key?(:markets)
1778
+ @phone_number = args[:phone_number] if args.key?(:phone_number)
1779
+ @adwords_manager_account = args[:adwords_manager_account] if args.key?(:adwords_manager_account)
1780
+ @primary_country_code = args[:primary_country_code] if args.key?(:primary_country_code)
1740
1781
  @email_address = args[:email_address] if args.key?(:email_address)
1741
1782
  @profile_public = args[:profile_public] if args.key?(:profile_public)
1742
1783
  @channels = args[:channels] if args.key?(:channels)
@@ -1744,33 +1785,6 @@ module Google
1744
1785
  @given_name = args[:given_name] if args.key?(:given_name)
1745
1786
  @address = args[:address] if args.key?(:address)
1746
1787
  @industries = args[:industries] if args.key?(:industries)
1747
- @languages = args[:languages] if args.key?(:languages)
1748
- @family_name = args[:family_name] if args.key?(:family_name)
1749
- @email_opt_ins = args[:email_opt_ins] if args.key?(:email_opt_ins)
1750
- @markets = args[:markets] if args.key?(:markets)
1751
- @phone_number = args[:phone_number] if args.key?(:phone_number)
1752
- @adwords_manager_account = args[:adwords_manager_account] if args.key?(:adwords_manager_account)
1753
- @primary_country_code = args[:primary_country_code] if args.key?(:primary_country_code)
1754
- end
1755
- end
1756
-
1757
- # Response message for
1758
- # GetPartnersStatus.
1759
- class GetPartnersStatusResponse
1760
- include Google::Apis::Core::Hashable
1761
-
1762
- # Common data that is in each API response.
1763
- # Corresponds to the JSON property `responseMetadata`
1764
- # @return [Google::Apis::PartnersV2::ResponseMetadata]
1765
- attr_accessor :response_metadata
1766
-
1767
- def initialize(**args)
1768
- update!(**args)
1769
- end
1770
-
1771
- # Update properties of this object
1772
- def update!(**args)
1773
- @response_metadata = args[:response_metadata] if args.key?(:response_metadata)
1774
1788
  end
1775
1789
  end
1776
1790
 
@@ -1778,6 +1792,16 @@ module Google
1778
1792
  class HistoricalOffer
1779
1793
  include Google::Apis::Core::Hashable
1780
1794
 
1795
+ # Type of offer.
1796
+ # Corresponds to the JSON property `offerType`
1797
+ # @return [String]
1798
+ attr_accessor :offer_type
1799
+
1800
+ # Name (First + Last) of the partners user to whom the incentive is allocated.
1801
+ # Corresponds to the JSON property `senderName`
1802
+ # @return [String]
1803
+ attr_accessor :sender_name
1804
+
1781
1805
  # Country Code for the offer country.
1782
1806
  # Corresponds to the JSON property `offerCountryCode`
1783
1807
  # @return [String]
@@ -1828,22 +1852,14 @@ module Google
1828
1852
  # @return [String]
1829
1853
  attr_accessor :adwords_url
1830
1854
 
1831
- # Type of offer.
1832
- # Corresponds to the JSON property `offerType`
1833
- # @return [String]
1834
- attr_accessor :offer_type
1835
-
1836
- # Name (First + Last) of the partners user to whom the incentive is allocated.
1837
- # Corresponds to the JSON property `senderName`
1838
- # @return [String]
1839
- attr_accessor :sender_name
1840
-
1841
1855
  def initialize(**args)
1842
1856
  update!(**args)
1843
1857
  end
1844
1858
 
1845
1859
  # Update properties of this object
1846
1860
  def update!(**args)
1861
+ @offer_type = args[:offer_type] if args.key?(:offer_type)
1862
+ @sender_name = args[:sender_name] if args.key?(:sender_name)
1847
1863
  @offer_country_code = args[:offer_country_code] if args.key?(:offer_country_code)
1848
1864
  @expiration_time = args[:expiration_time] if args.key?(:expiration_time)
1849
1865
  @offer_code = args[:offer_code] if args.key?(:offer_code)
@@ -1854,8 +1870,6 @@ module Google
1854
1870
  @client_name = args[:client_name] if args.key?(:client_name)
1855
1871
  @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time)
1856
1872
  @adwords_url = args[:adwords_url] if args.key?(:adwords_url)
1857
- @offer_type = args[:offer_type] if args.key?(:offer_type)
1858
- @sender_name = args[:sender_name] if args.key?(:sender_name)
1859
1873
  end
1860
1874
  end
1861
1875
 
@@ -1864,6 +1878,22 @@ module Google
1864
1878
  class LogUserEventRequest
1865
1879
  include Google::Apis::Core::Hashable
1866
1880
 
1881
+ # The category the action belongs to.
1882
+ # Corresponds to the JSON property `eventCategory`
1883
+ # @return [String]
1884
+ attr_accessor :event_category
1885
+
1886
+ # A lead resource that represents an advertiser contact for a `Company`. These
1887
+ # are usually generated via Google Partner Search (the advertiser portal).
1888
+ # Corresponds to the JSON property `lead`
1889
+ # @return [Google::Apis::PartnersV2::Lead]
1890
+ attr_accessor :lead
1891
+
1892
+ # The action that occurred.
1893
+ # Corresponds to the JSON property `eventAction`
1894
+ # @return [String]
1895
+ attr_accessor :event_action
1896
+
1867
1897
  # Common data that is in each API request.
1868
1898
  # Corresponds to the JSON property `requestMetadata`
1869
1899
  # @return [Google::Apis::PartnersV2::RequestMetadata]
@@ -1884,35 +1914,19 @@ module Google
1884
1914
  # @return [String]
1885
1915
  attr_accessor :event_scope
1886
1916
 
1887
- # The category the action belongs to.
1888
- # Corresponds to the JSON property `eventCategory`
1889
- # @return [String]
1890
- attr_accessor :event_category
1891
-
1892
- # A lead resource that represents an advertiser contact for a `Company`. These
1893
- # are usually generated via Google Partner Search (the advertiser portal).
1894
- # Corresponds to the JSON property `lead`
1895
- # @return [Google::Apis::PartnersV2::Lead]
1896
- attr_accessor :lead
1897
-
1898
- # The action that occurred.
1899
- # Corresponds to the JSON property `eventAction`
1900
- # @return [String]
1901
- attr_accessor :event_action
1902
-
1903
1917
  def initialize(**args)
1904
1918
  update!(**args)
1905
1919
  end
1906
1920
 
1907
1921
  # Update properties of this object
1908
1922
  def update!(**args)
1923
+ @event_category = args[:event_category] if args.key?(:event_category)
1924
+ @lead = args[:lead] if args.key?(:lead)
1925
+ @event_action = args[:event_action] if args.key?(:event_action)
1909
1926
  @request_metadata = args[:request_metadata] if args.key?(:request_metadata)
1910
1927
  @url = args[:url] if args.key?(:url)
1911
1928
  @event_datas = args[:event_datas] if args.key?(:event_datas)
1912
1929
  @event_scope = args[:event_scope] if args.key?(:event_scope)
1913
- @event_category = args[:event_category] if args.key?(:event_category)
1914
- @lead = args[:lead] if args.key?(:lead)
1915
- @event_action = args[:event_action] if args.key?(:event_action)
1916
1930
  end
1917
1931
  end
1918
1932
 
@@ -1921,24 +1935,24 @@ module Google
1921
1935
  class UserOverrides
1922
1936
  include Google::Apis::Core::Hashable
1923
1937
 
1924
- # Logged-in user ID to impersonate instead of the user's ID.
1925
- # Corresponds to the JSON property `userId`
1926
- # @return [String]
1927
- attr_accessor :user_id
1928
-
1929
1938
  # IP address to use instead of the user's geo-located IP address.
1930
1939
  # Corresponds to the JSON property `ipAddress`
1931
1940
  # @return [String]
1932
1941
  attr_accessor :ip_address
1933
1942
 
1943
+ # Logged-in user ID to impersonate instead of the user's ID.
1944
+ # Corresponds to the JSON property `userId`
1945
+ # @return [String]
1946
+ attr_accessor :user_id
1947
+
1934
1948
  def initialize(**args)
1935
1949
  update!(**args)
1936
1950
  end
1937
1951
 
1938
1952
  # Update properties of this object
1939
1953
  def update!(**args)
1940
- @user_id = args[:user_id] if args.key?(:user_id)
1941
1954
  @ip_address = args[:ip_address] if args.key?(:ip_address)
1955
+ @user_id = args[:user_id] if args.key?(:user_id)
1942
1956
  end
1943
1957
  end
1944
1958
 
@@ -2016,24 +2030,24 @@ module Google
2016
2030
  class AdWordsManagerAccountInfo
2017
2031
  include Google::Apis::Core::Hashable
2018
2032
 
2019
- # The AdWords Manager Account id.
2020
- # Corresponds to the JSON property `id`
2021
- # @return [Fixnum]
2022
- attr_accessor :id
2023
-
2024
2033
  # Name of the customer this account represents.
2025
2034
  # Corresponds to the JSON property `customerName`
2026
2035
  # @return [String]
2027
2036
  attr_accessor :customer_name
2028
2037
 
2038
+ # The AdWords Manager Account id.
2039
+ # Corresponds to the JSON property `id`
2040
+ # @return [Fixnum]
2041
+ attr_accessor :id
2042
+
2029
2043
  def initialize(**args)
2030
2044
  update!(**args)
2031
2045
  end
2032
2046
 
2033
2047
  # Update properties of this object
2034
2048
  def update!(**args)
2035
- @id = args[:id] if args.key?(:id)
2036
2049
  @customer_name = args[:customer_name] if args.key?(:customer_name)
2050
+ @id = args[:id] if args.key?(:id)
2037
2051
  end
2038
2052
  end
2039
2053
 
@@ -2041,6 +2055,16 @@ module Google
2041
2055
  class PublicProfile
2042
2056
  include Google::Apis::Core::Hashable
2043
2057
 
2058
+ # The display name of the public profile.
2059
+ # Corresponds to the JSON property `displayName`
2060
+ # @return [String]
2061
+ attr_accessor :display_name
2062
+
2063
+ # The URL to the main display image of the public profile. Being deprecated.
2064
+ # Corresponds to the JSON property `displayImageUrl`
2065
+ # @return [String]
2066
+ attr_accessor :display_image_url
2067
+
2044
2068
  # The ID which can be used to retrieve more details about the public profile.
2045
2069
  # Corresponds to the JSON property `id`
2046
2070
  # @return [String]
@@ -2056,27 +2080,17 @@ module Google
2056
2080
  # @return [String]
2057
2081
  attr_accessor :profile_image
2058
2082
 
2059
- # The display name of the public profile.
2060
- # Corresponds to the JSON property `displayName`
2061
- # @return [String]
2062
- attr_accessor :display_name
2063
-
2064
- # The URL to the main display image of the public profile. Being deprecated.
2065
- # Corresponds to the JSON property `displayImageUrl`
2066
- # @return [String]
2067
- attr_accessor :display_image_url
2068
-
2069
2083
  def initialize(**args)
2070
2084
  update!(**args)
2071
2085
  end
2072
2086
 
2073
2087
  # Update properties of this object
2074
2088
  def update!(**args)
2089
+ @display_name = args[:display_name] if args.key?(:display_name)
2090
+ @display_image_url = args[:display_image_url] if args.key?(:display_image_url)
2075
2091
  @id = args[:id] if args.key?(:id)
2076
2092
  @url = args[:url] if args.key?(:url)
2077
2093
  @profile_image = args[:profile_image] if args.key?(:profile_image)
2078
- @display_name = args[:display_name] if args.key?(:display_name)
2079
- @display_image_url = args[:display_image_url] if args.key?(:display_image_url)
2080
2094
  end
2081
2095
  end
2082
2096
 
@@ -2103,24 +2117,24 @@ module Google
2103
2117
  class RecaptchaChallenge
2104
2118
  include Google::Apis::Core::Hashable
2105
2119
 
2106
- # The response to the reCaptcha challenge.
2107
- # Corresponds to the JSON property `response`
2108
- # @return [String]
2109
- attr_accessor :response
2110
-
2111
2120
  # The ID of the reCaptcha challenge.
2112
2121
  # Corresponds to the JSON property `id`
2113
2122
  # @return [String]
2114
2123
  attr_accessor :id
2115
2124
 
2125
+ # The response to the reCaptcha challenge.
2126
+ # Corresponds to the JSON property `response`
2127
+ # @return [String]
2128
+ attr_accessor :response
2129
+
2116
2130
  def initialize(**args)
2117
2131
  update!(**args)
2118
2132
  end
2119
2133
 
2120
2134
  # Update properties of this object
2121
2135
  def update!(**args)
2122
- @response = args[:response] if args.key?(:response)
2123
2136
  @id = args[:id] if args.key?(:id)
2137
+ @response = args[:response] if args.key?(:response)
2124
2138
  end
2125
2139
  end
2126
2140
 
@@ -2249,24 +2263,24 @@ module Google
2249
2263
  class LatLng
2250
2264
  include Google::Apis::Core::Hashable
2251
2265
 
2252
- # The longitude in degrees. It must be in the range [-180.0, +180.0].
2253
- # Corresponds to the JSON property `longitude`
2254
- # @return [Float]
2255
- attr_accessor :longitude
2256
-
2257
2266
  # The latitude in degrees. It must be in the range [-90.0, +90.0].
2258
2267
  # Corresponds to the JSON property `latitude`
2259
2268
  # @return [Float]
2260
2269
  attr_accessor :latitude
2261
2270
 
2271
+ # The longitude in degrees. It must be in the range [-180.0, +180.0].
2272
+ # Corresponds to the JSON property `longitude`
2273
+ # @return [Float]
2274
+ attr_accessor :longitude
2275
+
2262
2276
  def initialize(**args)
2263
2277
  update!(**args)
2264
2278
  end
2265
2279
 
2266
2280
  # Update properties of this object
2267
2281
  def update!(**args)
2268
- @longitude = args[:longitude] if args.key?(:longitude)
2269
2282
  @latitude = args[:latitude] if args.key?(:latitude)
2283
+ @longitude = args[:longitude] if args.key?(:longitude)
2270
2284
  end
2271
2285
  end
2272
2286
 
@@ -2274,6 +2288,16 @@ module Google
2274
2288
  class Money
2275
2289
  include Google::Apis::Core::Hashable
2276
2290
 
2291
+ # Number of nano (10^-9) units of the amount.
2292
+ # The value must be between -999,999,999 and +999,999,999 inclusive.
2293
+ # If `units` is positive, `nanos` must be positive or zero.
2294
+ # If `units` is zero, `nanos` can be positive, zero, or negative.
2295
+ # If `units` is negative, `nanos` must be negative or zero.
2296
+ # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
2297
+ # Corresponds to the JSON property `nanos`
2298
+ # @return [Fixnum]
2299
+ attr_accessor :nanos
2300
+
2277
2301
  # The whole units of the amount.
2278
2302
  # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar.
2279
2303
  # Corresponds to the JSON property `units`
@@ -2285,25 +2309,15 @@ module Google
2285
2309
  # @return [String]
2286
2310
  attr_accessor :currency_code
2287
2311
 
2288
- # Number of nano (10^-9) units of the amount.
2289
- # The value must be between -999,999,999 and +999,999,999 inclusive.
2290
- # If `units` is positive, `nanos` must be positive or zero.
2291
- # If `units` is zero, `nanos` can be positive, zero, or negative.
2292
- # If `units` is negative, `nanos` must be negative or zero.
2293
- # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000.
2294
- # Corresponds to the JSON property `nanos`
2295
- # @return [Fixnum]
2296
- attr_accessor :nanos
2297
-
2298
2312
  def initialize(**args)
2299
2313
  update!(**args)
2300
2314
  end
2301
2315
 
2302
2316
  # Update properties of this object
2303
2317
  def update!(**args)
2318
+ @nanos = args[:nanos] if args.key?(:nanos)
2304
2319
  @units = args[:units] if args.key?(:units)
2305
2320
  @currency_code = args[:currency_code] if args.key?(:currency_code)
2306
- @nanos = args[:nanos] if args.key?(:nanos)
2307
2321
  end
2308
2322
  end
2309
2323
  end