google-api-client 0.9.8 → 0.10.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (320) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +15 -8
  3. data/CHANGELOG.md +84 -0
  4. data/Gemfile +10 -2
  5. data/README.md +10 -2
  6. data/api_names.yaml +37172 -135
  7. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +35 -0
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1200 -0
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +526 -0
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +844 -0
  11. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  12. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +310 -28
  13. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +84 -0
  14. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +60 -8
  15. data/generated/google/apis/adexchangeseller_v2_0.rb +2 -3
  16. data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -2
  17. data/generated/google/apis/admin_directory_v1.rb +1 -1
  18. data/generated/google/apis/admin_directory_v1/classes.rb +206 -0
  19. data/generated/google/apis/admin_directory_v1/representations.rb +63 -0
  20. data/generated/google/apis/admin_directory_v1/service.rb +41 -2
  21. data/generated/google/apis/admin_reports_v1.rb +5 -5
  22. data/generated/google/apis/admin_reports_v1/service.rb +6 -6
  23. data/generated/google/apis/adsense_v1_4.rb +1 -1
  24. data/generated/google/apis/adsense_v1_4/classes.rb +1 -1
  25. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  26. data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -2
  27. data/generated/google/apis/analytics_v3.rb +1 -1
  28. data/generated/google/apis/analytics_v3/classes.rb +379 -3
  29. data/generated/google/apis/analytics_v3/representations.rb +136 -0
  30. data/generated/google/apis/analytics_v3/service.rb +256 -0
  31. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  32. data/generated/google/apis/analyticsreporting_v4/classes.rb +858 -823
  33. data/generated/google/apis/analyticsreporting_v4/representations.rb +194 -193
  34. data/generated/google/apis/analyticsreporting_v4/service.rb +4 -4
  35. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  36. data/generated/google/apis/androidenterprise_v1/classes.rb +913 -220
  37. data/generated/google/apis/androidenterprise_v1/representations.rb +337 -30
  38. data/generated/google/apis/androidenterprise_v1/service.rb +1163 -561
  39. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  40. data/generated/google/apis/androidpublisher_v2/classes.rb +230 -8
  41. data/generated/google/apis/androidpublisher_v2/representations.rb +90 -0
  42. data/generated/google/apis/androidpublisher_v2/service.rb +116 -3
  43. data/generated/google/apis/appengine_v1beta5.rb +7 -1
  44. data/generated/google/apis/appengine_v1beta5/classes.rb +810 -395
  45. data/generated/google/apis/appengine_v1beta5/representations.rb +188 -22
  46. data/generated/google/apis/appengine_v1beta5/service.rb +343 -39
  47. data/generated/google/apis/appsactivity_v1.rb +3 -3
  48. data/generated/google/apis/appsactivity_v1/classes.rb +7 -0
  49. data/generated/google/apis/appsactivity_v1/representations.rb +1 -0
  50. data/generated/google/apis/appsactivity_v1/service.rb +1 -1
  51. data/generated/google/apis/appstate_v1.rb +1 -1
  52. data/generated/google/apis/bigquery_v2.rb +1 -1
  53. data/generated/google/apis/bigquery_v2/classes.rb +360 -38
  54. data/generated/google/apis/bigquery_v2/representations.rb +106 -0
  55. data/generated/google/apis/bigquery_v2/service.rb +18 -4
  56. data/generated/google/apis/books_v1.rb +2 -2
  57. data/generated/google/apis/books_v1/classes.rb +83 -0
  58. data/generated/google/apis/books_v1/representations.rb +35 -0
  59. data/generated/google/apis/books_v1/service.rb +7 -3
  60. data/generated/google/apis/calendar_v3.rb +1 -1
  61. data/generated/google/apis/calendar_v3/classes.rb +208 -5
  62. data/generated/google/apis/calendar_v3/representations.rb +97 -0
  63. data/generated/google/apis/civicinfo_v2.rb +3 -2
  64. data/generated/google/apis/civicinfo_v2/classes.rb +377 -5
  65. data/generated/google/apis/civicinfo_v2/representations.rb +149 -0
  66. data/generated/google/apis/civicinfo_v2/service.rb +27 -6
  67. data/generated/google/apis/classroom_v1.rb +22 -25
  68. data/generated/google/apis/classroom_v1/classes.rb +998 -761
  69. data/generated/google/apis/classroom_v1/representations.rb +263 -198
  70. data/generated/google/apis/classroom_v1/service.rb +1349 -672
  71. data/generated/google/apis/cloudbilling_v1.rb +3 -3
  72. data/generated/google/apis/cloudbilling_v1/classes.rb +76 -75
  73. data/generated/google/apis/cloudbilling_v1/representations.rb +17 -17
  74. data/generated/google/apis/cloudbilling_v1/service.rb +117 -110
  75. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  76. data/generated/google/apis/cloudbuild_v1/classes.rb +661 -264
  77. data/generated/google/apis/cloudbuild_v1/representations.rb +198 -48
  78. data/generated/google/apis/cloudbuild_v1/service.rb +259 -44
  79. data/generated/google/apis/clouddebugger_v2.rb +5 -8
  80. data/generated/google/apis/clouddebugger_v2/classes.rb +686 -616
  81. data/generated/google/apis/clouddebugger_v2/representations.rb +151 -151
  82. data/generated/google/apis/clouddebugger_v2/service.rb +165 -159
  83. data/generated/google/apis/cloudkms_v1.rb +35 -0
  84. data/generated/google/apis/cloudkms_v1/classes.rb +1022 -0
  85. data/generated/google/apis/cloudkms_v1/representations.rb +448 -0
  86. data/generated/google/apis/cloudkms_v1/service.rb +933 -0
  87. data/generated/google/apis/cloudkms_v1beta1.rb +35 -0
  88. data/generated/google/apis/cloudkms_v1beta1/classes.rb +1039 -0
  89. data/generated/google/apis/cloudkms_v1beta1/representations.rb +448 -0
  90. data/generated/google/apis/cloudkms_v1beta1/service.rb +933 -0
  91. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  92. data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
  93. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1529 -167
  94. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +491 -26
  95. data/generated/google/apis/cloudresourcemanager_v1/service.rb +1593 -135
  96. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  97. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1155 -235
  98. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +344 -44
  99. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +702 -310
  100. data/generated/google/apis/cloudtrace_v1.rb +9 -9
  101. data/generated/google/apis/cloudtrace_v1/classes.rb +98 -92
  102. data/generated/google/apis/cloudtrace_v1/representations.rb +24 -24
  103. data/generated/google/apis/cloudtrace_v1/service.rb +42 -37
  104. data/generated/google/apis/compute_beta.rb +1 -1
  105. data/generated/google/apis/compute_beta/classes.rb +7007 -3648
  106. data/generated/google/apis/compute_beta/representations.rb +1459 -120
  107. data/generated/google/apis/compute_beta/service.rb +7943 -3726
  108. data/generated/google/apis/compute_v1.rb +1 -1
  109. data/generated/google/apis/compute_v1/classes.rb +2567 -370
  110. data/generated/google/apis/compute_v1/representations.rb +855 -0
  111. data/generated/google/apis/compute_v1/service.rb +6388 -2908
  112. data/generated/google/apis/container_v1.rb +1 -1
  113. data/generated/google/apis/container_v1/classes.rb +287 -16
  114. data/generated/google/apis/container_v1/representations.rb +113 -2
  115. data/generated/google/apis/container_v1/service.rb +130 -0
  116. data/generated/google/apis/content_v2.rb +1 -1
  117. data/generated/google/apis/content_v2/classes.rb +778 -10
  118. data/generated/google/apis/content_v2/representations.rb +339 -0
  119. data/generated/google/apis/content_v2/service.rb +364 -49
  120. data/generated/google/apis/dataflow_v1b3.rb +37 -0
  121. data/generated/google/apis/dataflow_v1b3/classes.rb +4941 -0
  122. data/generated/google/apis/dataflow_v1b3/representations.rb +2037 -0
  123. data/generated/google/apis/dataflow_v1b3/service.rb +957 -0
  124. data/generated/google/apis/dataproc_v1.rb +1 -1
  125. data/generated/google/apis/dataproc_v1/classes.rb +1235 -963
  126. data/generated/google/apis/dataproc_v1/representations.rb +299 -225
  127. data/generated/google/apis/dataproc_v1/service.rb +277 -192
  128. data/generated/google/apis/datastore_v1.rb +38 -0
  129. data/generated/google/apis/datastore_v1/classes.rb +1289 -0
  130. data/generated/google/apis/datastore_v1/representations.rb +572 -0
  131. data/generated/google/apis/datastore_v1/service.rb +259 -0
  132. data/generated/google/apis/datastore_v1beta3.rb +38 -0
  133. data/generated/google/apis/datastore_v1beta3/classes.rb +1284 -0
  134. data/generated/google/apis/datastore_v1beta3/representations.rb +572 -0
  135. data/generated/google/apis/datastore_v1beta3/service.rb +259 -0
  136. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  137. data/generated/google/apis/deploymentmanager_v2/classes.rb +436 -3
  138. data/generated/google/apis/deploymentmanager_v2/representations.rb +178 -0
  139. data/generated/google/apis/deploymentmanager_v2/service.rb +226 -61
  140. data/generated/google/apis/dfareporting_v2_5.rb +40 -0
  141. data/generated/google/apis/dfareporting_v2_5/classes.rb +11225 -0
  142. data/generated/google/apis/dfareporting_v2_5/representations.rb +3982 -0
  143. data/generated/google/apis/dfareporting_v2_5/service.rb +8755 -0
  144. data/generated/google/apis/dfareporting_v2_6.rb +40 -0
  145. data/generated/google/apis/dfareporting_v2_6/classes.rb +11586 -0
  146. data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
  147. data/generated/google/apis/dfareporting_v2_6/service.rb +9025 -0
  148. data/generated/google/apis/dfareporting_v2_7.rb +40 -0
  149. data/generated/google/apis/dfareporting_v2_7/classes.rb +11876 -0
  150. data/generated/google/apis/dfareporting_v2_7/representations.rb +4243 -0
  151. data/generated/google/apis/dfareporting_v2_7/service.rb +9095 -0
  152. data/generated/google/apis/dns_v1.rb +1 -1
  153. data/generated/google/apis/dns_v1/classes.rb +1 -1
  154. data/generated/google/apis/dns_v2beta1.rb +43 -0
  155. data/generated/google/apis/dns_v2beta1/classes.rb +915 -0
  156. data/generated/google/apis/dns_v2beta1/representations.rb +368 -0
  157. data/generated/google/apis/dns_v2beta1/service.rb +768 -0
  158. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  159. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +79 -86
  160. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +25 -28
  161. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +10 -8
  162. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  163. data/generated/google/apis/doubleclicksearch_v2/classes.rb +6 -4
  164. data/generated/google/apis/drive_v2.rb +1 -1
  165. data/generated/google/apis/drive_v2/classes.rb +595 -37
  166. data/generated/google/apis/drive_v2/representations.rb +140 -0
  167. data/generated/google/apis/drive_v2/service.rb +406 -40
  168. data/generated/google/apis/drive_v3.rb +1 -1
  169. data/generated/google/apis/drive_v3/classes.rb +507 -40
  170. data/generated/google/apis/drive_v3/representations.rb +105 -0
  171. data/generated/google/apis/drive_v3/service.rb +326 -29
  172. data/generated/google/apis/fitness_v1.rb +38 -2
  173. data/generated/google/apis/fitness_v1/classes.rb +65 -7
  174. data/generated/google/apis/fitness_v1/representations.rb +20 -0
  175. data/generated/google/apis/fitness_v1/service.rb +17 -18
  176. data/generated/google/apis/fusiontables_v2.rb +1 -1
  177. data/generated/google/apis/fusiontables_v2/classes.rb +4 -3
  178. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  179. data/generated/google/apis/games_management_v1management.rb +1 -1
  180. data/generated/google/apis/games_v1.rb +1 -1
  181. data/generated/google/apis/genomics_v1.rb +10 -12
  182. data/generated/google/apis/genomics_v1/classes.rb +2276 -2165
  183. data/generated/google/apis/genomics_v1/representations.rb +468 -496
  184. data/generated/google/apis/genomics_v1/service.rb +978 -882
  185. data/generated/google/apis/gmail_v1.rb +11 -2
  186. data/generated/google/apis/gmail_v1/classes.rb +655 -5
  187. data/generated/google/apis/gmail_v1/representations.rb +261 -0
  188. data/generated/google/apis/gmail_v1/service.rb +1211 -48
  189. data/generated/google/apis/groupssettings_v1.rb +2 -2
  190. data/generated/google/apis/groupssettings_v1/classes.rb +12 -0
  191. data/generated/google/apis/groupssettings_v1/representations.rb +2 -0
  192. data/generated/google/apis/iam_v1.rb +2 -2
  193. data/generated/google/apis/iam_v1/classes.rb +446 -368
  194. data/generated/google/apis/iam_v1/representations.rb +109 -91
  195. data/generated/google/apis/iam_v1/service.rb +249 -162
  196. data/generated/google/apis/identitytoolkit_v3.rb +7 -1
  197. data/generated/google/apis/identitytoolkit_v3/classes.rb +254 -2
  198. data/generated/google/apis/identitytoolkit_v3/representations.rb +38 -0
  199. data/generated/google/apis/kgsearch_v1.rb +2 -3
  200. data/generated/google/apis/kgsearch_v1/classes.rb +13 -13
  201. data/generated/google/apis/kgsearch_v1/representations.rb +2 -2
  202. data/generated/google/apis/kgsearch_v1/service.rb +26 -24
  203. data/generated/google/apis/language_v1beta1.rb +36 -0
  204. data/generated/google/apis/language_v1beta1/classes.rb +757 -0
  205. data/generated/google/apis/language_v1beta1/representations.rb +339 -0
  206. data/generated/google/apis/language_v1beta1/service.rb +185 -0
  207. data/generated/google/apis/licensing_v1.rb +3 -3
  208. data/generated/google/apis/licensing_v1/classes.rb +14 -2
  209. data/generated/google/apis/licensing_v1/representations.rb +2 -0
  210. data/generated/google/apis/licensing_v1/service.rb +1 -1
  211. data/generated/google/apis/logging_v2beta1.rb +6 -6
  212. data/generated/google/apis/logging_v2beta1/classes.rb +900 -775
  213. data/generated/google/apis/logging_v2beta1/representations.rb +163 -142
  214. data/generated/google/apis/logging_v2beta1/service.rb +427 -155
  215. data/generated/google/apis/manufacturers_v1.rb +34 -0
  216. data/generated/google/apis/manufacturers_v1/classes.rb +605 -0
  217. data/generated/google/apis/manufacturers_v1/representations.rb +223 -0
  218. data/generated/google/apis/manufacturers_v1/service.rb +138 -0
  219. data/generated/google/apis/mirror_v1.rb +2 -2
  220. data/generated/google/apis/mirror_v1/service.rb +1 -1
  221. data/generated/google/apis/monitoring_v3.rb +45 -0
  222. data/generated/google/apis/monitoring_v3/classes.rb +1333 -0
  223. data/generated/google/apis/monitoring_v3/representations.rb +516 -0
  224. data/generated/google/apis/monitoring_v3/service.rb +706 -0
  225. data/generated/google/apis/oauth2_v2.rb +1 -1
  226. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  227. data/generated/google/apis/partners_v2.rb +3 -3
  228. data/generated/google/apis/partners_v2/classes.rb +1831 -477
  229. data/generated/google/apis/partners_v2/representations.rb +571 -114
  230. data/generated/google/apis/partners_v2/service.rb +898 -167
  231. data/generated/google/apis/people_v1.rb +15 -16
  232. data/generated/google/apis/people_v1/classes.rb +1047 -859
  233. data/generated/google/apis/people_v1/representations.rb +252 -213
  234. data/generated/google/apis/people_v1/service.rb +75 -62
  235. data/generated/google/apis/plus_domains_v1.rb +1 -1
  236. data/generated/google/apis/plus_v1.rb +1 -1
  237. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  238. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +527 -456
  239. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +101 -100
  240. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +467 -343
  241. data/generated/google/apis/pubsub_v1.rb +1 -1
  242. data/generated/google/apis/pubsub_v1/classes.rb +363 -310
  243. data/generated/google/apis/pubsub_v1/representations.rb +76 -76
  244. data/generated/google/apis/pubsub_v1/service.rb +464 -335
  245. data/generated/google/apis/qpx_express_v1.rb +1 -1
  246. data/generated/google/apis/qpx_express_v1/classes.rb +6 -0
  247. data/generated/google/apis/qpx_express_v1/representations.rb +1 -0
  248. data/generated/google/apis/replicapool_v1beta2.rb +1 -1
  249. data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -2
  250. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +3 -1
  251. data/generated/google/apis/reseller_v1.rb +1 -1
  252. data/generated/google/apis/reseller_v1/classes.rb +222 -61
  253. data/generated/google/apis/reseller_v1/representations.rb +28 -0
  254. data/generated/google/apis/reseller_v1/service.rb +240 -47
  255. data/generated/google/apis/script_v1.rb +19 -19
  256. data/generated/google/apis/script_v1/classes.rb +151 -137
  257. data/generated/google/apis/script_v1/representations.rb +26 -26
  258. data/generated/google/apis/script_v1/service.rb +9 -8
  259. data/generated/google/apis/sheets_v4.rb +7 -7
  260. data/generated/google/apis/sheets_v4/classes.rb +4530 -3506
  261. data/generated/google/apis/sheets_v4/representations.rb +988 -737
  262. data/generated/google/apis/sheets_v4/service.rb +266 -99
  263. data/generated/google/apis/site_verification_v1.rb +1 -1
  264. data/generated/google/apis/slides_v1.rb +49 -0
  265. data/generated/google/apis/slides_v1/classes.rb +4480 -0
  266. data/generated/google/apis/slides_v1/representations.rb +1926 -0
  267. data/generated/google/apis/slides_v1/service.rb +245 -0
  268. data/generated/google/apis/speech_v1beta1.rb +34 -0
  269. data/generated/google/apis/speech_v1beta1/classes.rb +498 -0
  270. data/generated/google/apis/speech_v1beta1/representations.rb +206 -0
  271. data/generated/google/apis/speech_v1beta1/service.rb +270 -0
  272. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  273. data/generated/google/apis/sqladmin_v1beta4/classes.rb +131 -10
  274. data/generated/google/apis/sqladmin_v1beta4/representations.rb +50 -0
  275. data/generated/google/apis/sqladmin_v1beta4/service.rb +92 -2
  276. data/generated/google/apis/storage_v1.rb +1 -1
  277. data/generated/google/apis/storage_v1/classes.rb +205 -21
  278. data/generated/google/apis/storage_v1/representations.rb +51 -1
  279. data/generated/google/apis/storage_v1/service.rb +263 -9
  280. data/generated/google/apis/tagmanager_v1.rb +5 -5
  281. data/generated/google/apis/translate_v2.rb +2 -2
  282. data/generated/google/apis/translate_v2/service.rb +1 -1
  283. data/generated/google/apis/vision_v1.rb +1 -1
  284. data/generated/google/apis/vision_v1/classes.rb +1275 -731
  285. data/generated/google/apis/vision_v1/representations.rb +378 -111
  286. data/generated/google/apis/vision_v1/service.rb +4 -4
  287. data/generated/google/apis/webmasters_v3.rb +1 -1
  288. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  289. data/generated/google/apis/youtube_analytics_v1/classes.rb +0 -209
  290. data/generated/google/apis/youtube_analytics_v1/representations.rb +0 -99
  291. data/generated/google/apis/youtube_analytics_v1/service.rb +5 -77
  292. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  293. data/generated/google/apis/youtube_partner_v1/classes.rb +155 -0
  294. data/generated/google/apis/youtube_partner_v1/representations.rb +69 -0
  295. data/generated/google/apis/youtube_partner_v1/service.rb +107 -3
  296. data/generated/google/apis/youtube_v3.rb +1 -1
  297. data/generated/google/apis/youtube_v3/classes.rb +430 -22
  298. data/generated/google/apis/youtube_v3/representations.rb +171 -4
  299. data/generated/google/apis/youtube_v3/service.rb +100 -9
  300. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  301. data/generated/google/apis/youtubereporting_v1/classes.rb +140 -131
  302. data/generated/google/apis/youtubereporting_v1/representations.rb +37 -37
  303. data/generated/google/apis/youtubereporting_v1/service.rb +139 -135
  304. data/google-api-client.gemspec +4 -3
  305. data/lib/google/apis/core/api_command.rb +16 -6
  306. data/lib/google/apis/core/base_service.rb +17 -9
  307. data/lib/google/apis/core/download.rb +7 -2
  308. data/lib/google/apis/core/http_command.rb +5 -1
  309. data/lib/google/apis/core/json_representation.rb +2 -2
  310. data/lib/google/apis/core/upload.rb +7 -1
  311. data/lib/google/apis/errors.rb +6 -2
  312. data/lib/google/apis/generator/annotator.rb +6 -0
  313. data/lib/google/apis/version.rb +1 -1
  314. data/samples/cli/lib/samples/bigquery.rb +101 -0
  315. data/samples/cli/lib/samples/calendar.rb +1 -1
  316. data/samples/cli/lib/samples/gmail.rb +74 -0
  317. data/samples/cli/lib/samples/sheets.rb +61 -0
  318. data/samples/cli/lib/samples/you_tube.rb +4 -1
  319. data/sync.rb +71 -0
  320. metadata +86 -18
@@ -46,6 +46,18 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
+ class ResellernotifyGetwatchdetailsResponse
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class ResellernotifyResource
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
49
61
  class Seats
50
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
63
 
@@ -139,6 +151,21 @@ module Google
139
151
  end
140
152
  end
141
153
 
154
+ class ResellernotifyGetwatchdetailsResponse
155
+ # @private
156
+ class Representation < Google::Apis::Core::JsonRepresentation
157
+ collection :service_account_email_addresses, as: 'serviceAccountEmailAddresses'
158
+ property :topic_name, as: 'topicName'
159
+ end
160
+ end
161
+
162
+ class ResellernotifyResource
163
+ # @private
164
+ class Representation < Google::Apis::Core::JsonRepresentation
165
+ property :topic_name, as: 'topicName'
166
+ end
167
+ end
168
+
142
169
  class Seats
143
170
  # @private
144
171
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -167,6 +194,7 @@ module Google
167
194
  property :seats, as: 'seats', class: Google::Apis::ResellerV1::Seats, decorator: Google::Apis::ResellerV1::Seats::Representation
168
195
 
169
196
  property :sku_id, as: 'skuId'
197
+ property :sku_name, as: 'skuName'
170
198
  property :status, as: 'status'
171
199
  property :subscription_id, as: 'subscriptionId'
172
200
  collection :suspension_reasons, as: 'suspensionReasons'
@@ -52,9 +52,12 @@ module Google
52
52
  super('https://www.googleapis.com/', 'apps/reseller/v1/')
53
53
  end
54
54
 
55
- # Gets a customer resource if one exists and is owned by the reseller.
55
+ # Get a customer account.
56
56
  # @param [String] customer_id
57
- # Id of the Customer
57
+ # Either the customer's primary domain name or the customer's unique identifier.
58
+ # If using the domain name, we do not recommend using a customerId as a key for
59
+ # persistent data. If the domain name for a customerId is changed, the Google
60
+ # system automatically updates.
58
61
  # @param [String] fields
59
62
  # Selector specifying which fields to include in a partial response.
60
63
  # @param [String] quota_user
@@ -87,11 +90,14 @@ module Google
87
90
  execute_or_queue_command(command, &block)
88
91
  end
89
92
 
90
- # Creates a customer resource if one does not already exist.
93
+ # Order a new customer's account.
91
94
  # @param [Google::Apis::ResellerV1::Customer] customer_object
92
95
  # @param [String] customer_auth_token
93
- # An auth token needed for inserting a customer for which domain already exists.
94
- # Can be generated at https://admin.google.com/TransferToken. Optional.
96
+ # The customerAuthToken query string is required when creating a resold account
97
+ # that transfers a direct customer's subscription or transfers another reseller
98
+ # customer's subscription to your reseller management. This is a hexadecimal
99
+ # authentication token needed to complete the subscription transfer. For more
100
+ # information, see the administrator help center.
95
101
  # @param [String] fields
96
102
  # Selector specifying which fields to include in a partial response.
97
103
  # @param [String] quota_user
@@ -126,10 +132,12 @@ module Google
126
132
  execute_or_queue_command(command, &block)
127
133
  end
128
134
 
129
- # Update a customer resource if one it exists and is owned by the reseller. This
130
- # method supports patch semantics.
135
+ # Update a customer account's settings. This method supports patch semantics.
131
136
  # @param [String] customer_id
132
- # Id of the Customer
137
+ # Either the customer's primary domain name or the customer's unique identifier.
138
+ # If using the domain name, we do not recommend using a customerId as a key for
139
+ # persistent data. If the domain name for a customerId is changed, the Google
140
+ # system automatically updates.
133
141
  # @param [Google::Apis::ResellerV1::Customer] customer_object
134
142
  # @param [String] fields
135
143
  # Selector specifying which fields to include in a partial response.
@@ -165,9 +173,12 @@ module Google
165
173
  execute_or_queue_command(command, &block)
166
174
  end
167
175
 
168
- # Update a customer resource if one it exists and is owned by the reseller.
176
+ # Update a customer account's settings.
169
177
  # @param [String] customer_id
170
- # Id of the Customer
178
+ # Either the customer's primary domain name or the customer's unique identifier.
179
+ # If using the domain name, we do not recommend using a customerId as a key for
180
+ # persistent data. If the domain name for a customerId is changed, the Google
181
+ # system automatically updates.
171
182
  # @param [Google::Apis::ResellerV1::Customer] customer_object
172
183
  # @param [String] fields
173
184
  # Selector specifying which fields to include in a partial response.
@@ -203,11 +214,120 @@ module Google
203
214
  execute_or_queue_command(command, &block)
204
215
  end
205
216
 
217
+ # Returns all the details of the watch corresponding to the reseller.
218
+ # @param [String] fields
219
+ # Selector specifying which fields to include in a partial response.
220
+ # @param [String] quota_user
221
+ # Available to use for quota purposes for server-side applications. Can be any
222
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
223
+ # Overrides userIp if both are provided.
224
+ # @param [String] user_ip
225
+ # IP address of the site where the request originates. Use this if you want to
226
+ # enforce per-user limits.
227
+ # @param [Google::Apis::RequestOptions] options
228
+ # Request-specific options
229
+ #
230
+ # @yield [result, err] Result & error if block supplied
231
+ # @yieldparam result [Google::Apis::ResellerV1::ResellernotifyGetwatchdetailsResponse] parsed result object
232
+ # @yieldparam err [StandardError] error object if request failed
233
+ #
234
+ # @return [Google::Apis::ResellerV1::ResellernotifyGetwatchdetailsResponse]
235
+ #
236
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
237
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
238
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
239
+ def getwatchdetails_resellernotify(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
240
+ command = make_simple_command(:get, 'resellernotify/getwatchdetails', options)
241
+ command.response_representation = Google::Apis::ResellerV1::ResellernotifyGetwatchdetailsResponse::Representation
242
+ command.response_class = Google::Apis::ResellerV1::ResellernotifyGetwatchdetailsResponse
243
+ command.query['fields'] = fields unless fields.nil?
244
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
245
+ command.query['userIp'] = user_ip unless user_ip.nil?
246
+ execute_or_queue_command(command, &block)
247
+ end
248
+
249
+ # Registers a Reseller for receiving notifications.
250
+ # @param [String] service_account_email_address
251
+ # The service account which will own the created Cloud-PubSub topic.
252
+ # @param [String] fields
253
+ # Selector specifying which fields to include in a partial response.
254
+ # @param [String] quota_user
255
+ # Available to use for quota purposes for server-side applications. Can be any
256
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
257
+ # Overrides userIp if both are provided.
258
+ # @param [String] user_ip
259
+ # IP address of the site where the request originates. Use this if you want to
260
+ # enforce per-user limits.
261
+ # @param [Google::Apis::RequestOptions] options
262
+ # Request-specific options
263
+ #
264
+ # @yield [result, err] Result & error if block supplied
265
+ # @yieldparam result [Google::Apis::ResellerV1::ResellernotifyResource] parsed result object
266
+ # @yieldparam err [StandardError] error object if request failed
267
+ #
268
+ # @return [Google::Apis::ResellerV1::ResellernotifyResource]
269
+ #
270
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
271
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
272
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
273
+ def register_resellernotify(service_account_email_address: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
274
+ command = make_simple_command(:post, 'resellernotify/register', options)
275
+ command.response_representation = Google::Apis::ResellerV1::ResellernotifyResource::Representation
276
+ command.response_class = Google::Apis::ResellerV1::ResellernotifyResource
277
+ command.query['serviceAccountEmailAddress'] = service_account_email_address unless service_account_email_address.nil?
278
+ command.query['fields'] = fields unless fields.nil?
279
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
280
+ command.query['userIp'] = user_ip unless user_ip.nil?
281
+ execute_or_queue_command(command, &block)
282
+ end
283
+
284
+ # Unregisters a Reseller for receiving notifications.
285
+ # @param [String] service_account_email_address
286
+ # The service account which owns the Cloud-PubSub topic.
287
+ # @param [String] fields
288
+ # Selector specifying which fields to include in a partial response.
289
+ # @param [String] quota_user
290
+ # Available to use for quota purposes for server-side applications. Can be any
291
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
292
+ # Overrides userIp if both are provided.
293
+ # @param [String] user_ip
294
+ # IP address of the site where the request originates. Use this if you want to
295
+ # enforce per-user limits.
296
+ # @param [Google::Apis::RequestOptions] options
297
+ # Request-specific options
298
+ #
299
+ # @yield [result, err] Result & error if block supplied
300
+ # @yieldparam result [Google::Apis::ResellerV1::ResellernotifyResource] parsed result object
301
+ # @yieldparam err [StandardError] error object if request failed
302
+ #
303
+ # @return [Google::Apis::ResellerV1::ResellernotifyResource]
304
+ #
305
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
306
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
307
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
308
+ def unregister_resellernotify(service_account_email_address: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
309
+ command = make_simple_command(:post, 'resellernotify/unregister', options)
310
+ command.response_representation = Google::Apis::ResellerV1::ResellernotifyResource::Representation
311
+ command.response_class = Google::Apis::ResellerV1::ResellernotifyResource
312
+ command.query['serviceAccountEmailAddress'] = service_account_email_address unless service_account_email_address.nil?
313
+ command.query['fields'] = fields unless fields.nil?
314
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
315
+ command.query['userIp'] = user_ip unless user_ip.nil?
316
+ execute_or_queue_command(command, &block)
317
+ end
318
+
206
319
  # Activates a subscription previously suspended by the reseller
207
320
  # @param [String] customer_id
208
- # Id of the Customer
321
+ # Either the customer's primary domain name or the customer's unique identifier.
322
+ # If using the domain name, we do not recommend using a customerId as a key for
323
+ # persistent data. If the domain name for a customerId is changed, the Google
324
+ # system automatically updates.
209
325
  # @param [String] subscription_id
210
- # Id of the subscription, which is unique for a customer
326
+ # This is a required property. The subscriptionId is the subscription identifier
327
+ # and is unique for each customer. Since a subscriptionId changes when a
328
+ # subscription is updated, we recommend to not use this ID as a key for
329
+ # persistent data. And the subscriptionId can be found using the retrieve all
330
+ # reseller subscriptions method.
211
331
  # @param [String] fields
212
332
  # Selector specifying which fields to include in a partial response.
213
333
  # @param [String] quota_user
@@ -241,11 +361,20 @@ module Google
241
361
  execute_or_queue_command(command, &block)
242
362
  end
243
363
 
244
- # Changes the plan of a subscription
364
+ # Update a subscription plan. Use this method to update a plan for a 30-day
365
+ # trial or a flexible plan subscription to an annual commitment plan with
366
+ # monthly or yearly payments.
245
367
  # @param [String] customer_id
246
- # Id of the Customer
368
+ # Either the customer's primary domain name or the customer's unique identifier.
369
+ # If using the domain name, we do not recommend using a customerId as a key for
370
+ # persistent data. If the domain name for a customerId is changed, the Google
371
+ # system automatically updates.
247
372
  # @param [String] subscription_id
248
- # Id of the subscription, which is unique for a customer
373
+ # This is a required property. The subscriptionId is the subscription identifier
374
+ # and is unique for each customer. Since a subscriptionId changes when a
375
+ # subscription is updated, we recommend to not use this ID as a key for
376
+ # persistent data. And the subscriptionId can be found using the retrieve all
377
+ # reseller subscriptions method.
249
378
  # @param [Google::Apis::ResellerV1::ChangePlanRequest] change_plan_request_object
250
379
  # @param [String] fields
251
380
  # Selector specifying which fields to include in a partial response.
@@ -282,11 +411,19 @@ module Google
282
411
  execute_or_queue_command(command, &block)
283
412
  end
284
413
 
285
- # Changes the renewal settings of a subscription
414
+ # Update a user license's renewal settings. This is applicable for accounts with
415
+ # annual commitment plans only.
286
416
  # @param [String] customer_id
287
- # Id of the Customer
417
+ # Either the customer's primary domain name or the customer's unique identifier.
418
+ # If using the domain name, we do not recommend using a customerId as a key for
419
+ # persistent data. If the domain name for a customerId is changed, the Google
420
+ # system automatically updates.
288
421
  # @param [String] subscription_id
289
- # Id of the subscription, which is unique for a customer
422
+ # This is a required property. The subscriptionId is the subscription identifier
423
+ # and is unique for each customer. Since a subscriptionId changes when a
424
+ # subscription is updated, we recommend to not use this ID as a key for
425
+ # persistent data. And the subscriptionId can be found using the retrieve all
426
+ # reseller subscriptions method.
290
427
  # @param [Google::Apis::ResellerV1::RenewalSettings] renewal_settings_object
291
428
  # @param [String] fields
292
429
  # Selector specifying which fields to include in a partial response.
@@ -323,11 +460,18 @@ module Google
323
460
  execute_or_queue_command(command, &block)
324
461
  end
325
462
 
326
- # Changes the seats configuration of a subscription
463
+ # Update a subscription's user license settings.
327
464
  # @param [String] customer_id
328
- # Id of the Customer
465
+ # Either the customer's primary domain name or the customer's unique identifier.
466
+ # If using the domain name, we do not recommend using a customerId as a key for
467
+ # persistent data. If the domain name for a customerId is changed, the Google
468
+ # system automatically updates.
329
469
  # @param [String] subscription_id
330
- # Id of the subscription, which is unique for a customer
470
+ # This is a required property. The subscriptionId is the subscription identifier
471
+ # and is unique for each customer. Since a subscriptionId changes when a
472
+ # subscription is updated, we recommend to not use this ID as a key for
473
+ # persistent data. And the subscriptionId can be found using the retrieve all
474
+ # reseller subscriptions method.
331
475
  # @param [Google::Apis::ResellerV1::Seats] seats_object
332
476
  # @param [String] fields
333
477
  # Selector specifying which fields to include in a partial response.
@@ -364,13 +508,21 @@ module Google
364
508
  execute_or_queue_command(command, &block)
365
509
  end
366
510
 
367
- # Cancels/Downgrades a subscription.
511
+ # Cancel, suspend or transfer a subscription to direct.
368
512
  # @param [String] customer_id
369
- # Id of the Customer
513
+ # Either the customer's primary domain name or the customer's unique identifier.
514
+ # If using the domain name, we do not recommend using a customerId as a key for
515
+ # persistent data. If the domain name for a customerId is changed, the Google
516
+ # system automatically updates.
370
517
  # @param [String] subscription_id
371
- # Id of the subscription, which is unique for a customer
518
+ # This is a required property. The subscriptionId is the subscription identifier
519
+ # and is unique for each customer. Since a subscriptionId changes when a
520
+ # subscription is updated, we recommend to not use this ID as a key for
521
+ # persistent data. And the subscriptionId can be found using the retrieve all
522
+ # reseller subscriptions method.
372
523
  # @param [String] deletion_type
373
- # Whether the subscription is to be fully cancelled or downgraded
524
+ # The deletionType query string enables the cancellation, downgrade, or
525
+ # suspension of a subscription.
374
526
  # @param [String] fields
375
527
  # Selector specifying which fields to include in a partial response.
376
528
  # @param [String] quota_user
@@ -403,11 +555,18 @@ module Google
403
555
  execute_or_queue_command(command, &block)
404
556
  end
405
557
 
406
- # Gets a subscription of the customer.
558
+ # Get a specific subscription.
407
559
  # @param [String] customer_id
408
- # Id of the Customer
560
+ # Either the customer's primary domain name or the customer's unique identifier.
561
+ # If using the domain name, we do not recommend using a customerId as a key for
562
+ # persistent data. If the domain name for a customerId is changed, the Google
563
+ # system automatically updates.
409
564
  # @param [String] subscription_id
410
- # Id of the subscription, which is unique for a customer
565
+ # This is a required property. The subscriptionId is the subscription identifier
566
+ # and is unique for each customer. Since a subscriptionId changes when a
567
+ # subscription is updated, we recommend to not use this ID as a key for
568
+ # persistent data. And the subscriptionId can be found using the retrieve all
569
+ # reseller subscriptions method.
411
570
  # @param [String] fields
412
571
  # Selector specifying which fields to include in a partial response.
413
572
  # @param [String] quota_user
@@ -441,13 +600,19 @@ module Google
441
600
  execute_or_queue_command(command, &block)
442
601
  end
443
602
 
444
- # Creates/Transfers a subscription for the customer.
603
+ # Create or transfer a subscription.
445
604
  # @param [String] customer_id
446
- # Id of the Customer
605
+ # Either the customer's primary domain name or the customer's unique identifier.
606
+ # If using the domain name, we do not recommend using a customerId as a key for
607
+ # persistent data. If the domain name for a customerId is changed, the Google
608
+ # system automatically updates.
447
609
  # @param [Google::Apis::ResellerV1::Subscription] subscription_object
448
610
  # @param [String] customer_auth_token
449
- # An auth token needed for transferring a subscription. Can be generated at
450
- # https://www.google.com/a/cpanel/customer-domain/TransferToken. Optional.
611
+ # The customerAuthToken query string is required when creating a resold account
612
+ # that transfers a direct customer's subscription or transfers another reseller
613
+ # customer's subscription to your reseller management. This is a hexadecimal
614
+ # authentication token needed to complete the subscription transfer. For more
615
+ # information, see the administrator help center.
451
616
  # @param [String] fields
452
617
  # Selector specifying which fields to include in a partial response.
453
618
  # @param [String] quota_user
@@ -483,19 +648,32 @@ module Google
483
648
  execute_or_queue_command(command, &block)
484
649
  end
485
650
 
486
- # Lists subscriptions of a reseller, optionally filtered by a customer name
487
- # prefix.
651
+ # List of subscriptions managed by the reseller. The list can be all
652
+ # subscriptions, all of a customer's subscriptions, or all of a customer's
653
+ # transferable subscriptions.
488
654
  # @param [String] customer_auth_token
489
- # An auth token needed if the customer is not a resold customer of this reseller.
490
- # Can be generated at https://www.google.com/a/cpanel/customer-domain/
491
- # TransferToken.Optional.
655
+ # The customerAuthToken query string is required when creating a resold account
656
+ # that transfers a direct customer's subscription or transfers another reseller
657
+ # customer's subscription to your reseller management. This is a hexadecimal
658
+ # authentication token needed to complete the subscription transfer. For more
659
+ # information, see the administrator help center.
492
660
  # @param [String] customer_id
493
- # Id of the Customer
661
+ # Either the customer's primary domain name or the customer's unique identifier.
662
+ # If using the domain name, we do not recommend using a customerId as a key for
663
+ # persistent data. If the domain name for a customerId is changed, the Google
664
+ # system automatically updates.
494
665
  # @param [String] customer_name_prefix
495
- # Prefix of the customer's domain name by which the subscriptions should be
496
- # filtered. Optional
666
+ # When retrieving all of your subscriptions and filtering for specific customers,
667
+ # you can enter a prefix for a customer name. Using an example customer group
668
+ # that includes exam.com, example20.com and example.com:
669
+ # - exa -- Returns all customer names that start with 'exa' which could include
670
+ # exam.com, example20.com, and example.com. A name prefix is similar to using a
671
+ # regular expression's asterisk, exa*.
672
+ # - example -- Returns example20.com and example.com.
497
673
  # @param [Fixnum] max_results
498
- # Maximum number of results to return
674
+ # When retrieving a large list, the maxResults is the maximum number of results
675
+ # per page. The nextPageToken value takes you to the next page. The default is
676
+ # 20.
499
677
  # @param [String] page_token
500
678
  # Token to specify next page in the list
501
679
  # @param [String] fields
@@ -534,11 +712,19 @@ module Google
534
712
  execute_or_queue_command(command, &block)
535
713
  end
536
714
 
537
- # Starts paid service of a trial subscription
715
+ # Immediately move a 30-day free trial subscription to a paid service
716
+ # subscription.
538
717
  # @param [String] customer_id
539
- # Id of the Customer
718
+ # Either the customer's primary domain name or the customer's unique identifier.
719
+ # If using the domain name, we do not recommend using a customerId as a key for
720
+ # persistent data. If the domain name for a customerId is changed, the Google
721
+ # system automatically updates.
540
722
  # @param [String] subscription_id
541
- # Id of the subscription, which is unique for a customer
723
+ # This is a required property. The subscriptionId is the subscription identifier
724
+ # and is unique for each customer. Since a subscriptionId changes when a
725
+ # subscription is updated, we recommend to not use this ID as a key for
726
+ # persistent data. And the subscriptionId can be found using the retrieve all
727
+ # reseller subscriptions method.
542
728
  # @param [String] fields
543
729
  # Selector specifying which fields to include in a partial response.
544
730
  # @param [String] quota_user
@@ -572,11 +758,18 @@ module Google
572
758
  execute_or_queue_command(command, &block)
573
759
  end
574
760
 
575
- # Suspends an active subscription
761
+ # Suspends an active subscription.
576
762
  # @param [String] customer_id
577
- # Id of the Customer
763
+ # Either the customer's primary domain name or the customer's unique identifier.
764
+ # If using the domain name, we do not recommend using a customerId as a key for
765
+ # persistent data. If the domain name for a customerId is changed, the Google
766
+ # system automatically updates.
578
767
  # @param [String] subscription_id
579
- # Id of the subscription, which is unique for a customer
768
+ # This is a required property. The subscriptionId is the subscription identifier
769
+ # and is unique for each customer. Since a subscriptionId changes when a
770
+ # subscription is updated, we recommend to not use this ID as a key for
771
+ # persistent data. And the subscriptionId can be found using the retrieve all
772
+ # reseller subscriptions method.
580
773
  # @param [String] fields
581
774
  # Selector specifying which fields to include in a partial response.
582
775
  # @param [String] quota_user