google-api-client 0.41.0 → 0.42.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (447) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +295 -0
  3. data/bin/generate-api +1 -3
  4. data/generated/google/apis/accessapproval_v1.rb +1 -1
  5. data/generated/google/apis/accessapproval_v1/service.rb +3 -0
  6. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  7. data/generated/google/apis/accessapproval_v1beta1/service.rb +3 -0
  8. data/generated/google/apis/admin_directory_v1.rb +1 -1
  9. data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
  10. data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
  11. data/generated/google/apis/admin_directory_v1/service.rb +3 -5
  12. data/generated/google/apis/admob_v1.rb +1 -1
  13. data/generated/google/apis/admob_v1/classes.rb +3 -1
  14. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  15. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +32 -26
  16. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  17. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  18. data/generated/google/apis/androidpublisher_v3/classes.rb +78 -0
  19. data/generated/google/apis/androidpublisher_v3/representations.rb +44 -0
  20. data/generated/google/apis/androidpublisher_v3/service.rb +149 -1
  21. data/generated/google/apis/apigee_v1.rb +1 -1
  22. data/generated/google/apis/apigee_v1/classes.rb +1475 -107
  23. data/generated/google/apis/apigee_v1/representations.rb +558 -0
  24. data/generated/google/apis/apigee_v1/service.rb +1175 -117
  25. data/generated/google/apis/appengine_v1.rb +1 -1
  26. data/generated/google/apis/appengine_v1/service.rb +6 -3
  27. data/generated/google/apis/appengine_v1beta.rb +1 -1
  28. data/generated/google/apis/appengine_v1beta/service.rb +6 -2
  29. data/generated/google/apis/appsmarket_v2.rb +1 -1
  30. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  31. data/generated/google/apis/bigquery_v2.rb +1 -1
  32. data/generated/google/apis/bigquery_v2/classes.rb +234 -9
  33. data/generated/google/apis/bigquery_v2/representations.rb +74 -0
  34. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  35. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
  36. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  37. data/generated/google/apis/bigqueryreservation_v1/classes.rb +34 -0
  38. data/generated/google/apis/bigqueryreservation_v1/representations.rb +16 -0
  39. data/generated/google/apis/bigqueryreservation_v1/service.rb +60 -0
  40. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  41. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +8 -0
  42. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
  43. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  44. data/generated/google/apis/bigtableadmin_v1/classes.rb +267 -0
  45. data/generated/google/apis/bigtableadmin_v1/representations.rb +100 -0
  46. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  47. data/generated/google/apis/bigtableadmin_v2/classes.rb +361 -6
  48. data/generated/google/apis/bigtableadmin_v2/representations.rb +146 -0
  49. data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
  50. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  51. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +28 -13
  52. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  53. data/generated/google/apis/blogger_v3.rb +1 -1
  54. data/generated/google/apis/books_v1.rb +1 -1
  55. data/generated/google/apis/books_v1/classes.rb +140 -159
  56. data/generated/google/apis/books_v1/service.rb +47 -49
  57. data/generated/google/apis/chat_v1.rb +1 -1
  58. data/generated/google/apis/chat_v1/classes.rb +130 -0
  59. data/generated/google/apis/chat_v1/representations.rb +63 -0
  60. data/generated/google/apis/chat_v1/service.rb +71 -0
  61. data/generated/google/apis/chromeuxreport_v1.rb +1 -1
  62. data/generated/google/apis/chromeuxreport_v1/classes.rb +22 -0
  63. data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
  64. data/generated/google/apis/civicinfo_v2.rb +2 -2
  65. data/generated/google/apis/civicinfo_v2/classes.rb +21 -801
  66. data/generated/google/apis/civicinfo_v2/representations.rb +1 -295
  67. data/generated/google/apis/civicinfo_v2/service.rb +28 -63
  68. data/generated/google/apis/classroom_v1.rb +1 -1
  69. data/generated/google/apis/classroom_v1/service.rb +9 -5
  70. data/generated/google/apis/cloudasset_v1.rb +1 -1
  71. data/generated/google/apis/cloudasset_v1/classes.rb +391 -3
  72. data/generated/google/apis/cloudasset_v1/representations.rb +101 -0
  73. data/generated/google/apis/cloudasset_v1/service.rb +178 -0
  74. data/generated/google/apis/{androidpublisher_v2.rb → cloudasset_v1p5beta1.rb} +11 -11
  75. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1537 -0
  76. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
  77. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +129 -0
  78. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  79. data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
  80. data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
  81. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  82. data/generated/google/apis/cloudbuild_v1/classes.rb +272 -12
  83. data/generated/google/apis/cloudbuild_v1/representations.rb +130 -4
  84. data/generated/google/apis/cloudbuild_v1/service.rb +0 -136
  85. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  86. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +284 -24
  87. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +135 -9
  88. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
  89. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  90. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +284 -24
  91. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +135 -9
  92. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
  93. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  94. data/generated/google/apis/cloudfunctions_v1/classes.rb +18 -49
  95. data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -17
  96. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  97. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  98. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +32 -1
  99. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +16 -0
  100. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  101. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -755
  102. data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
  103. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  104. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -430
  105. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
  106. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  107. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
  108. data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
  109. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  110. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
  111. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
  112. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  113. data/generated/google/apis/cloudscheduler_v1/classes.rb +18 -6
  114. data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
  115. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  116. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +18 -6
  117. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
  118. data/generated/google/apis/cloudshell_v1.rb +1 -1
  119. data/generated/google/apis/cloudshell_v1/classes.rb +2 -2
  120. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  121. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -5
  122. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  123. data/generated/google/apis/cloudtrace_v1/classes.rb +2 -3
  124. data/generated/google/apis/cloudtrace_v1/service.rb +1 -7
  125. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  126. data/generated/google/apis/cloudtrace_v2/classes.rb +6 -5
  127. data/generated/google/apis/cloudtrace_v2/service.rb +3 -6
  128. data/generated/google/apis/composer_v1beta1.rb +1 -1
  129. data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
  130. data/generated/google/apis/composer_v1beta1/service.rb +13 -0
  131. data/generated/google/apis/compute_alpha.rb +1 -1
  132. data/generated/google/apis/compute_alpha/classes.rb +99 -61
  133. data/generated/google/apis/compute_alpha/representations.rb +3 -0
  134. data/generated/google/apis/compute_alpha/service.rb +32 -33
  135. data/generated/google/apis/compute_beta.rb +1 -1
  136. data/generated/google/apis/compute_beta/classes.rb +596 -60
  137. data/generated/google/apis/compute_beta/representations.rb +162 -0
  138. data/generated/google/apis/compute_beta/service.rb +565 -33
  139. data/generated/google/apis/compute_v1.rb +1 -1
  140. data/generated/google/apis/compute_v1/classes.rb +967 -70
  141. data/generated/google/apis/compute_v1/representations.rb +289 -0
  142. data/generated/google/apis/compute_v1/service.rb +784 -38
  143. data/generated/google/apis/container_v1.rb +1 -1
  144. data/generated/google/apis/container_v1/classes.rb +132 -5
  145. data/generated/google/apis/container_v1/representations.rb +51 -0
  146. data/generated/google/apis/container_v1beta1.rb +1 -1
  147. data/generated/google/apis/container_v1beta1/classes.rb +136 -17
  148. data/generated/google/apis/container_v1beta1/representations.rb +39 -0
  149. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  150. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
  151. data/generated/google/apis/content_v2.rb +1 -1
  152. data/generated/google/apis/content_v2/classes.rb +8 -2
  153. data/generated/google/apis/content_v2/representations.rb +1 -0
  154. data/generated/google/apis/content_v2_1.rb +1 -1
  155. data/generated/google/apis/content_v2_1/classes.rb +182 -4
  156. data/generated/google/apis/content_v2_1/representations.rb +72 -0
  157. data/generated/google/apis/{androidpublisher_v1.rb → customsearch_v1.rb} +8 -8
  158. data/generated/google/apis/customsearch_v1/classes.rb +1610 -0
  159. data/generated/google/apis/customsearch_v1/representations.rb +372 -0
  160. data/generated/google/apis/customsearch_v1/service.rb +618 -0
  161. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  162. data/generated/google/apis/datacatalog_v1beta1/classes.rb +400 -565
  163. data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
  164. data/generated/google/apis/datacatalog_v1beta1/service.rb +351 -435
  165. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  166. data/generated/google/apis/dataflow_v1b3/classes.rb +21 -1
  167. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  168. data/generated/google/apis/dataflow_v1b3/service.rb +2 -2
  169. data/generated/google/apis/dataproc_v1.rb +1 -1
  170. data/generated/google/apis/dataproc_v1/classes.rb +15 -14
  171. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  172. data/generated/google/apis/dataproc_v1beta2/classes.rb +44 -14
  173. data/generated/google/apis/dataproc_v1beta2/representations.rb +4 -0
  174. data/generated/google/apis/datastore_v1.rb +1 -1
  175. data/generated/google/apis/datastore_v1/classes.rb +1 -1
  176. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  177. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  178. data/generated/google/apis/dfareporting_v3_4/classes.rb +421 -0
  179. data/generated/google/apis/dfareporting_v3_4/representations.rb +182 -0
  180. data/generated/google/apis/dialogflow_v2.rb +1 -1
  181. data/generated/google/apis/dialogflow_v2/classes.rb +416 -63
  182. data/generated/google/apis/dialogflow_v2/representations.rb +108 -0
  183. data/generated/google/apis/dialogflow_v2/service.rb +4 -0
  184. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  185. data/generated/google/apis/dialogflow_v2beta1/classes.rb +436 -66
  186. data/generated/google/apis/dialogflow_v2beta1/representations.rb +108 -0
  187. data/generated/google/apis/dialogflow_v2beta1/service.rb +58 -44
  188. data/generated/google/apis/displayvideo_v1.rb +7 -1
  189. data/generated/google/apis/displayvideo_v1/classes.rb +1727 -1680
  190. data/generated/google/apis/displayvideo_v1/representations.rb +275 -0
  191. data/generated/google/apis/displayvideo_v1/service.rb +1245 -924
  192. data/generated/google/apis/dlp_v2.rb +1 -1
  193. data/generated/google/apis/dlp_v2/classes.rb +5 -2
  194. data/generated/google/apis/dns_v1.rb +4 -4
  195. data/generated/google/apis/dns_v1/classes.rb +313 -162
  196. data/generated/google/apis/dns_v1/service.rb +247 -180
  197. data/generated/google/apis/dns_v1beta2.rb +4 -4
  198. data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
  199. data/generated/google/apis/dns_v1beta2/service.rb +247 -180
  200. data/generated/google/apis/dns_v2beta1.rb +4 -4
  201. data/generated/google/apis/dns_v2beta1/classes.rb +313 -162
  202. data/generated/google/apis/dns_v2beta1/service.rb +247 -180
  203. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  204. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  205. data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
  206. data/generated/google/apis/doubleclicksearch_v2/classes.rb +75 -76
  207. data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
  208. data/generated/google/apis/doubleclicksearch_v2/service.rb +43 -75
  209. data/generated/google/apis/drive_v2.rb +1 -1
  210. data/generated/google/apis/drive_v2/classes.rb +75 -2
  211. data/generated/google/apis/drive_v2/representations.rb +23 -0
  212. data/generated/google/apis/drive_v2/service.rb +23 -10
  213. data/generated/google/apis/drive_v3.rb +1 -1
  214. data/generated/google/apis/drive_v3/classes.rb +74 -2
  215. data/generated/google/apis/drive_v3/representations.rb +23 -0
  216. data/generated/google/apis/drive_v3/service.rb +8 -5
  217. data/generated/google/apis/fcm_v1.rb +1 -1
  218. data/generated/google/apis/fcm_v1/classes.rb +245 -393
  219. data/generated/google/apis/fcm_v1/service.rb +5 -6
  220. data/generated/google/apis/file_v1.rb +1 -1
  221. data/generated/google/apis/file_v1beta1.rb +1 -1
  222. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  223. data/generated/google/apis/firebase_v1beta1/classes.rb +10 -16
  224. data/generated/google/apis/{groupsmigration_v1.rb → firebasehosting_v1.rb} +10 -12
  225. data/generated/google/apis/firebasehosting_v1/classes.rb +186 -0
  226. data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
  227. data/generated/google/apis/firebasehosting_v1/service.rb +183 -0
  228. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  229. data/generated/google/apis/firebasehosting_v1beta1/service.rb +2 -0
  230. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  231. data/generated/google/apis/firebaseml_v1beta2/classes.rb +9 -0
  232. data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
  233. data/generated/google/apis/firestore_v1.rb +1 -1
  234. data/generated/google/apis/firestore_v1/classes.rb +152 -0
  235. data/generated/google/apis/firestore_v1/representations.rb +63 -0
  236. data/generated/google/apis/firestore_v1/service.rb +78 -0
  237. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  238. data/generated/google/apis/firestore_v1beta1/classes.rb +152 -0
  239. data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
  240. data/generated/google/apis/firestore_v1beta1/service.rb +78 -0
  241. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  242. data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
  243. data/generated/google/apis/games_management_v1management.rb +1 -1
  244. data/generated/google/apis/games_management_v1management/service.rb +2 -2
  245. data/generated/google/apis/games_v1.rb +6 -4
  246. data/generated/google/apis/games_v1/classes.rb +354 -2112
  247. data/generated/google/apis/games_v1/representations.rb +12 -647
  248. data/generated/google/apis/games_v1/service.rb +213 -1155
  249. data/generated/google/apis/{cloudfunctions_v1beta2.rb → gameservices_v1.rb} +9 -9
  250. data/generated/google/apis/gameservices_v1/classes.rb +2354 -0
  251. data/generated/google/apis/gameservices_v1/representations.rb +971 -0
  252. data/generated/google/apis/gameservices_v1/service.rb +1472 -0
  253. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  254. data/generated/google/apis/gameservices_v1beta/classes.rb +6 -6
  255. data/generated/google/apis/gmail_v1.rb +1 -1
  256. data/generated/google/apis/gmail_v1/classes.rb +55 -55
  257. data/generated/google/apis/gmail_v1/service.rb +74 -73
  258. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +36 -0
  259. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +306 -0
  260. data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
  261. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +236 -0
  262. data/generated/google/apis/groupssettings_v1.rb +1 -1
  263. data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
  264. data/generated/google/apis/healthcare_v1.rb +1 -1
  265. data/generated/google/apis/healthcare_v1/classes.rb +6 -6
  266. data/generated/google/apis/healthcare_v1/service.rb +48 -1
  267. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  268. data/generated/google/apis/healthcare_v1beta1/classes.rb +6 -6
  269. data/generated/google/apis/healthcare_v1beta1/service.rb +60 -1
  270. data/generated/google/apis/iam_v1.rb +1 -1
  271. data/generated/google/apis/iam_v1/classes.rb +22 -3
  272. data/generated/google/apis/iam_v1/service.rb +18 -6
  273. data/generated/google/apis/logging_v2.rb +1 -1
  274. data/generated/google/apis/logging_v2/classes.rb +69 -21
  275. data/generated/google/apis/managedidentities_v1.rb +1 -1
  276. data/generated/google/apis/managedidentities_v1/classes.rb +54 -10
  277. data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
  278. data/generated/google/apis/managedidentities_v1/service.rb +3 -0
  279. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  280. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -10
  281. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
  282. data/generated/google/apis/managedidentities_v1alpha1/service.rb +3 -0
  283. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  284. data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -10
  285. data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
  286. data/generated/google/apis/managedidentities_v1beta1/service.rb +3 -0
  287. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  288. data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
  289. data/generated/google/apis/ml_v1.rb +1 -1
  290. data/generated/google/apis/ml_v1/classes.rb +28 -14
  291. data/generated/google/apis/ml_v1/representations.rb +1 -0
  292. data/generated/google/apis/monitoring_v1.rb +1 -1
  293. data/generated/google/apis/monitoring_v1/classes.rb +2 -1
  294. data/generated/google/apis/monitoring_v3.rb +1 -1
  295. data/generated/google/apis/monitoring_v3/classes.rb +71 -38
  296. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  297. data/generated/google/apis/monitoring_v3/service.rb +13 -9
  298. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  299. data/generated/google/apis/networkmanagement_v1/classes.rb +6 -6
  300. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  301. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +6 -6
  302. data/generated/google/apis/osconfig_v1.rb +1 -1
  303. data/generated/google/apis/osconfig_v1/classes.rb +77 -2
  304. data/generated/google/apis/osconfig_v1/representations.rb +35 -0
  305. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  306. data/generated/google/apis/osconfig_v1beta/classes.rb +77 -2
  307. data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
  308. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  309. data/generated/google/apis/people_v1.rb +4 -1
  310. data/generated/google/apis/people_v1/classes.rb +243 -397
  311. data/generated/google/apis/people_v1/service.rb +156 -384
  312. data/generated/google/apis/{androidpublisher_v1/classes.rb → playablelocations_v3.rb} +11 -6
  313. data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
  314. data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
  315. data/generated/google/apis/playablelocations_v3/service.rb +157 -0
  316. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  317. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +19 -0
  318. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
  319. data/generated/google/apis/pubsub_v1.rb +1 -1
  320. data/generated/google/apis/pubsub_v1/classes.rb +49 -30
  321. data/generated/google/apis/pubsub_v1/representations.rb +2 -0
  322. data/generated/google/apis/pubsub_v1/service.rb +35 -44
  323. data/generated/google/apis/realtimebidding_v1.rb +40 -0
  324. data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
  325. data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
  326. data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
  327. data/generated/google/apis/recommendationengine_v1beta1.rb +36 -0
  328. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +2015 -0
  329. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +848 -0
  330. data/generated/google/apis/recommendationengine_v1beta1/service.rb +990 -0
  331. data/generated/google/apis/recommender_v1.rb +1 -1
  332. data/generated/google/apis/recommender_v1/classes.rb +211 -0
  333. data/generated/google/apis/recommender_v1/representations.rb +96 -0
  334. data/generated/google/apis/recommender_v1/service.rb +123 -0
  335. data/generated/google/apis/redis_v1.rb +1 -1
  336. data/generated/google/apis/redis_v1/classes.rb +398 -1
  337. data/generated/google/apis/redis_v1/representations.rb +139 -0
  338. data/generated/google/apis/redis_v1/service.rb +1 -1
  339. data/generated/google/apis/redis_v1beta1.rb +1 -1
  340. data/generated/google/apis/redis_v1beta1/classes.rb +398 -1
  341. data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
  342. data/generated/google/apis/redis_v1beta1/service.rb +1 -1
  343. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  344. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  345. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  346. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
  347. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  348. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
  349. data/generated/google/apis/reseller_v1.rb +4 -3
  350. data/generated/google/apis/reseller_v1/classes.rb +219 -160
  351. data/generated/google/apis/reseller_v1/service.rb +247 -252
  352. data/generated/google/apis/run_v1.rb +2 -2
  353. data/generated/google/apis/run_v1/classes.rb +835 -1245
  354. data/generated/google/apis/run_v1/service.rb +196 -246
  355. data/generated/google/apis/run_v1alpha1.rb +2 -2
  356. data/generated/google/apis/run_v1alpha1/classes.rb +934 -1331
  357. data/generated/google/apis/run_v1alpha1/service.rb +322 -378
  358. data/generated/google/apis/run_v1beta1.rb +2 -2
  359. data/generated/google/apis/run_v1beta1/classes.rb +209 -276
  360. data/generated/google/apis/run_v1beta1/service.rb +17 -19
  361. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  362. data/generated/google/apis/sasportal_v1alpha1/classes.rb +19 -0
  363. data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
  364. data/generated/google/apis/searchconsole_v1.rb +4 -3
  365. data/generated/google/apis/searchconsole_v1/service.rb +3 -2
  366. data/generated/google/apis/secretmanager_v1.rb +1 -1
  367. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  368. data/generated/google/apis/securitycenter_v1.rb +1 -1
  369. data/generated/google/apis/securitycenter_v1/service.rb +4 -5
  370. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  371. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +2 -5
  372. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  373. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +3 -3
  374. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +7 -7
  375. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  376. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +2 -2
  377. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  378. data/generated/google/apis/servicecontrol_v1/classes.rb +12 -6
  379. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  380. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  381. data/generated/google/apis/servicemanagement_v1/classes.rb +3 -2
  382. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  383. data/generated/google/apis/servicenetworking_v1/classes.rb +2 -2
  384. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  385. data/generated/google/apis/servicenetworking_v1beta/classes.rb +2 -2
  386. data/generated/google/apis/serviceusage_v1.rb +1 -1
  387. data/generated/google/apis/serviceusage_v1/classes.rb +2 -2
  388. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  389. data/generated/google/apis/serviceusage_v1beta1/classes.rb +2 -2
  390. data/generated/google/apis/sheets_v4.rb +1 -1
  391. data/generated/google/apis/sheets_v4/classes.rb +118 -28
  392. data/generated/google/apis/spanner_v1.rb +1 -1
  393. data/generated/google/apis/spanner_v1/classes.rb +25 -20
  394. data/generated/google/apis/spanner_v1/service.rb +7 -0
  395. data/generated/google/apis/speech_v1.rb +1 -1
  396. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  397. data/generated/google/apis/sql_v1beta4.rb +1 -1
  398. data/generated/google/apis/sql_v1beta4/classes.rb +207 -200
  399. data/generated/google/apis/sql_v1beta4/representations.rb +2 -1
  400. data/generated/google/apis/sql_v1beta4/service.rb +2 -2
  401. data/generated/google/apis/storage_v1.rb +1 -1
  402. data/generated/google/apis/storage_v1/service.rb +2 -3
  403. data/generated/google/apis/testing_v1.rb +1 -1
  404. data/generated/google/apis/testing_v1/classes.rb +80 -6
  405. data/generated/google/apis/testing_v1/representations.rb +33 -0
  406. data/generated/google/apis/texttospeech_v1.rb +1 -1
  407. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  408. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  409. data/generated/google/apis/toolresults_v1beta3/classes.rb +9 -0
  410. data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
  411. data/generated/google/apis/toolresults_v1beta3/service.rb +498 -498
  412. data/generated/google/apis/{androidpublisher_v1/representations.rb → vectortile_v1.rb} +11 -6
  413. data/generated/google/apis/vectortile_v1/classes.rb +881 -0
  414. data/generated/google/apis/{cloudfunctions_v1beta2 → vectortile_v1}/representations.rb +105 -121
  415. data/generated/google/apis/vectortile_v1/service.rb +268 -0
  416. data/generated/google/apis/vision_v1.rb +1 -1
  417. data/generated/google/apis/vision_v1/classes.rb +2 -0
  418. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  419. data/generated/google/apis/vision_v1p1beta1/classes.rb +2 -0
  420. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  421. data/generated/google/apis/vision_v1p2beta1/classes.rb +2 -0
  422. data/generated/google/apis/webfonts_v1.rb +5 -5
  423. data/generated/google/apis/webfonts_v1/classes.rb +4 -3
  424. data/generated/google/apis/webfonts_v1/representations.rb +1 -2
  425. data/generated/google/apis/webfonts_v1/service.rb +15 -22
  426. data/generated/google/apis/youtube_partner_v1.rb +4 -3
  427. data/generated/google/apis/youtube_partner_v1/classes.rb +1106 -690
  428. data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
  429. data/generated/google/apis/youtube_partner_v1/service.rb +526 -1086
  430. data/generated/google/apis/youtube_v3.rb +1 -1
  431. data/generated/google/apis/youtube_v3/classes.rb +562 -2
  432. data/generated/google/apis/youtube_v3/representations.rb +282 -0
  433. data/generated/google/apis/youtube_v3/service.rb +270 -10
  434. data/lib/google/apis/version.rb +1 -1
  435. metadata +39 -23
  436. data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
  437. data/generated/google/apis/androidpublisher_v1_1.rb +0 -34
  438. data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
  439. data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
  440. data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
  441. data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
  442. data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
  443. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -841
  444. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +0 -486
  445. data/generated/google/apis/groupsmigration_v1/classes.rb +0 -51
  446. data/generated/google/apis/groupsmigration_v1/representations.rb +0 -40
  447. data/generated/google/apis/groupsmigration_v1/service.rb +0 -100
@@ -20,9 +20,10 @@ require 'google/apis/errors'
20
20
  module Google
21
21
  module Apis
22
22
  module ResellerV1
23
- # Enterprise Apps Reseller API
23
+ # Google Apps Reseller API
24
24
  #
25
- # Creates and manages your customers and their subscriptions.
25
+ # Perform common functions that are available on the Google Apps Reseller
26
+ # Console at scale like placing orders and viewing customer information
26
27
  #
27
28
  # @example
28
29
  # require 'google/apis/reseller_v1'
@@ -38,32 +39,27 @@ module Google
38
39
  attr_accessor :key
39
40
 
40
41
  # @return [String]
41
- # An opaque string that represents a user for quota purposes. Must not exceed 40
42
- # characters.
42
+ # Available to use for quota purposes for server-side applications. Can be any
43
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
43
44
  attr_accessor :quota_user
44
45
 
45
- # @return [String]
46
- # Deprecated. Please use quotaUser instead.
47
- attr_accessor :user_ip
48
-
49
46
  def initialize
50
- super('https://www.googleapis.com/', 'apps/reseller/v1/')
47
+ super('https://www.googleapis.com/', '')
51
48
  @batch_path = 'batch/reseller/v1'
52
49
  end
53
50
 
54
51
  # Get a customer account.
55
52
  # @param [String] customer_id
56
- # Either the customer's primary domain name or the customer's unique identifier.
57
- # If using the domain name, we do not recommend using a customerId as a key for
58
- # persistent data. If the domain name for a customerId is changed, the Google
59
- # system automatically updates.
53
+ # Either the customer's primary domain name or the customer's unique
54
+ # identifier. If using the domain name, we do not recommend using a
55
+ # <code>customerId</code> as a key for persistent data. If the domain name
56
+ # for a <code>customerId</code> is changed, the Google system automatically
57
+ # updates.
60
58
  # @param [String] fields
61
59
  # Selector specifying which fields to include in a partial response.
62
60
  # @param [String] quota_user
63
- # An opaque string that represents a user for quota purposes. Must not exceed 40
64
- # characters.
65
- # @param [String] user_ip
66
- # Deprecated. Please use quotaUser instead.
61
+ # Available to use for quota purposes for server-side applications. Can be any
62
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
67
63
  # @param [Google::Apis::RequestOptions] options
68
64
  # Request-specific options
69
65
  #
@@ -76,32 +72,31 @@ module Google
76
72
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
77
73
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
78
74
  # @raise [Google::Apis::AuthorizationError] Authorization is required
79
- def get_customer(customer_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
80
- command = make_simple_command(:get, 'customers/{customerId}', options)
75
+ def get_customer(customer_id, fields: nil, quota_user: nil, options: nil, &block)
76
+ command = make_simple_command(:get, 'apps/reseller/v1/customers/{customerId}', options)
81
77
  command.response_representation = Google::Apis::ResellerV1::Customer::Representation
82
78
  command.response_class = Google::Apis::ResellerV1::Customer
83
79
  command.params['customerId'] = customer_id unless customer_id.nil?
84
80
  command.query['fields'] = fields unless fields.nil?
85
81
  command.query['quotaUser'] = quota_user unless quota_user.nil?
86
- command.query['userIp'] = user_ip unless user_ip.nil?
87
82
  execute_or_queue_command(command, &block)
88
83
  end
89
84
 
90
85
  # Order a new customer's account.
91
86
  # @param [Google::Apis::ResellerV1::Customer] customer_object
92
87
  # @param [String] customer_auth_token
93
- # The customerAuthToken query string is required when creating a resold account
94
- # that transfers a direct customer's subscription or transfers another reseller
95
- # customer's subscription to your reseller management. This is a hexadecimal
96
- # authentication token needed to complete the subscription transfer. For more
97
- # information, see the administrator help center.
88
+ # The <code>customerAuthToken</code> query string is required when creating a
89
+ # resold account that transfers a direct customer&#39;s subscription or
90
+ # transfers another reseller customer&#39;s subscription to your reseller
91
+ # management. This is a hexadecimal authentication token needed to complete
92
+ # the subscription transfer. For more information, see the <a
93
+ # href="//support.google.com/a/bin/answer.py?answer=142336">administrator
94
+ # help center</a>.
98
95
  # @param [String] fields
99
96
  # Selector specifying which fields to include in a partial response.
100
97
  # @param [String] quota_user
101
- # An opaque string that represents a user for quota purposes. Must not exceed 40
102
- # characters.
103
- # @param [String] user_ip
104
- # Deprecated. Please use quotaUser instead.
98
+ # Available to use for quota purposes for server-side applications. Can be any
99
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
105
100
  # @param [Google::Apis::RequestOptions] options
106
101
  # Request-specific options
107
102
  #
@@ -114,8 +109,8 @@ module Google
114
109
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
115
110
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
116
111
  # @raise [Google::Apis::AuthorizationError] Authorization is required
117
- def insert_customer(customer_object = nil, customer_auth_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
118
- command = make_simple_command(:post, 'customers', options)
112
+ def insert_customer(customer_object = nil, customer_auth_token: nil, fields: nil, quota_user: nil, options: nil, &block)
113
+ command = make_simple_command(:post, 'apps/reseller/v1/customers', options)
119
114
  command.request_representation = Google::Apis::ResellerV1::Customer::Representation
120
115
  command.request_object = customer_object
121
116
  command.response_representation = Google::Apis::ResellerV1::Customer::Representation
@@ -123,24 +118,22 @@ module Google
123
118
  command.query['customerAuthToken'] = customer_auth_token unless customer_auth_token.nil?
124
119
  command.query['fields'] = fields unless fields.nil?
125
120
  command.query['quotaUser'] = quota_user unless quota_user.nil?
126
- command.query['userIp'] = user_ip unless user_ip.nil?
127
121
  execute_or_queue_command(command, &block)
128
122
  end
129
123
 
130
- # Update a customer account's settings. This method supports patch semantics.
124
+ # Patch a customer account's settings via Apiary Patch Orchestration
131
125
  # @param [String] customer_id
132
- # Either the customer's primary domain name or the customer's unique identifier.
133
- # If using the domain name, we do not recommend using a customerId as a key for
134
- # persistent data. If the domain name for a customerId is changed, the Google
135
- # system automatically updates.
126
+ # Either the customer&#39;s primary domain name or the customer's unique
127
+ # identifier. If using the domain name, we do not recommend using a
128
+ # <code>customerId</code> as a key for persistent data. If the domain name
129
+ # for a <code>customerId</code> is changed, the Google system automatically
130
+ # updates.
136
131
  # @param [Google::Apis::ResellerV1::Customer] customer_object
137
132
  # @param [String] fields
138
133
  # Selector specifying which fields to include in a partial response.
139
134
  # @param [String] quota_user
140
- # An opaque string that represents a user for quota purposes. Must not exceed 40
141
- # characters.
142
- # @param [String] user_ip
143
- # Deprecated. Please use quotaUser instead.
135
+ # Available to use for quota purposes for server-side applications. Can be any
136
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
144
137
  # @param [Google::Apis::RequestOptions] options
145
138
  # Request-specific options
146
139
  #
@@ -153,8 +146,8 @@ module Google
153
146
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
154
147
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
155
148
  # @raise [Google::Apis::AuthorizationError] Authorization is required
156
- def patch_customer(customer_id, customer_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
157
- command = make_simple_command(:patch, 'customers/{customerId}', options)
149
+ def patch_customer(customer_id, customer_object = nil, fields: nil, quota_user: nil, options: nil, &block)
150
+ command = make_simple_command(:patch, 'apps/reseller/v1/customers/{customerId}', options)
158
151
  command.request_representation = Google::Apis::ResellerV1::Customer::Representation
159
152
  command.request_object = customer_object
160
153
  command.response_representation = Google::Apis::ResellerV1::Customer::Representation
@@ -162,24 +155,22 @@ module Google
162
155
  command.params['customerId'] = customer_id unless customer_id.nil?
163
156
  command.query['fields'] = fields unless fields.nil?
164
157
  command.query['quotaUser'] = quota_user unless quota_user.nil?
165
- command.query['userIp'] = user_ip unless user_ip.nil?
166
158
  execute_or_queue_command(command, &block)
167
159
  end
168
160
 
169
161
  # Update a customer account's settings.
170
162
  # @param [String] customer_id
171
- # Either the customer's primary domain name or the customer's unique identifier.
172
- # If using the domain name, we do not recommend using a customerId as a key for
173
- # persistent data. If the domain name for a customerId is changed, the Google
174
- # system automatically updates.
163
+ # Either the customer&#39;s primary domain name or the customer's unique
164
+ # identifier. If using the domain name, we do not recommend using a
165
+ # <code>customerId</code> as a key for persistent data. If the domain name
166
+ # for a <code>customerId</code> is changed, the Google system automatically
167
+ # updates.
175
168
  # @param [Google::Apis::ResellerV1::Customer] customer_object
176
169
  # @param [String] fields
177
170
  # Selector specifying which fields to include in a partial response.
178
171
  # @param [String] quota_user
179
- # An opaque string that represents a user for quota purposes. Must not exceed 40
180
- # characters.
181
- # @param [String] user_ip
182
- # Deprecated. Please use quotaUser instead.
172
+ # Available to use for quota purposes for server-side applications. Can be any
173
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
183
174
  # @param [Google::Apis::RequestOptions] options
184
175
  # Request-specific options
185
176
  #
@@ -192,8 +183,8 @@ module Google
192
183
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
193
184
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
194
185
  # @raise [Google::Apis::AuthorizationError] Authorization is required
195
- def update_customer(customer_id, customer_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
196
- command = make_simple_command(:put, 'customers/{customerId}', options)
186
+ def update_customer(customer_id, customer_object = nil, fields: nil, quota_user: nil, options: nil, &block)
187
+ command = make_simple_command(:put, 'apps/reseller/v1/customers/{customerId}', options)
197
188
  command.request_representation = Google::Apis::ResellerV1::Customer::Representation
198
189
  command.request_object = customer_object
199
190
  command.response_representation = Google::Apis::ResellerV1::Customer::Representation
@@ -201,7 +192,6 @@ module Google
201
192
  command.params['customerId'] = customer_id unless customer_id.nil?
202
193
  command.query['fields'] = fields unless fields.nil?
203
194
  command.query['quotaUser'] = quota_user unless quota_user.nil?
204
- command.query['userIp'] = user_ip unless user_ip.nil?
205
195
  execute_or_queue_command(command, &block)
206
196
  end
207
197
 
@@ -209,10 +199,8 @@ module Google
209
199
  # @param [String] fields
210
200
  # Selector specifying which fields to include in a partial response.
211
201
  # @param [String] quota_user
212
- # An opaque string that represents a user for quota purposes. Must not exceed 40
213
- # characters.
214
- # @param [String] user_ip
215
- # Deprecated. Please use quotaUser instead.
202
+ # Available to use for quota purposes for server-side applications. Can be any
203
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
216
204
  # @param [Google::Apis::RequestOptions] options
217
205
  # Request-specific options
218
206
  #
@@ -225,13 +213,12 @@ module Google
225
213
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
226
214
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
227
215
  # @raise [Google::Apis::AuthorizationError] Authorization is required
228
- def getwatchdetails_resellernotify(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
229
- command = make_simple_command(:get, 'resellernotify/getwatchdetails', options)
216
+ def getwatchdetails_resellernotify(fields: nil, quota_user: nil, options: nil, &block)
217
+ command = make_simple_command(:get, 'apps/reseller/v1/resellernotify/getwatchdetails', options)
230
218
  command.response_representation = Google::Apis::ResellerV1::ResellernotifyGetwatchdetailsResponse::Representation
231
219
  command.response_class = Google::Apis::ResellerV1::ResellernotifyGetwatchdetailsResponse
232
220
  command.query['fields'] = fields unless fields.nil?
233
221
  command.query['quotaUser'] = quota_user unless quota_user.nil?
234
- command.query['userIp'] = user_ip unless user_ip.nil?
235
222
  execute_or_queue_command(command, &block)
236
223
  end
237
224
 
@@ -241,10 +228,8 @@ module Google
241
228
  # @param [String] fields
242
229
  # Selector specifying which fields to include in a partial response.
243
230
  # @param [String] quota_user
244
- # An opaque string that represents a user for quota purposes. Must not exceed 40
245
- # characters.
246
- # @param [String] user_ip
247
- # Deprecated. Please use quotaUser instead.
231
+ # Available to use for quota purposes for server-side applications. Can be any
232
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
248
233
  # @param [Google::Apis::RequestOptions] options
249
234
  # Request-specific options
250
235
  #
@@ -257,14 +242,13 @@ module Google
257
242
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
258
243
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
259
244
  # @raise [Google::Apis::AuthorizationError] Authorization is required
260
- def register_resellernotify(service_account_email_address: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
261
- command = make_simple_command(:post, 'resellernotify/register', options)
245
+ def register_resellernotify(service_account_email_address: nil, fields: nil, quota_user: nil, options: nil, &block)
246
+ command = make_simple_command(:post, 'apps/reseller/v1/resellernotify/register', options)
262
247
  command.response_representation = Google::Apis::ResellerV1::ResellernotifyResource::Representation
263
248
  command.response_class = Google::Apis::ResellerV1::ResellernotifyResource
264
249
  command.query['serviceAccountEmailAddress'] = service_account_email_address unless service_account_email_address.nil?
265
250
  command.query['fields'] = fields unless fields.nil?
266
251
  command.query['quotaUser'] = quota_user unless quota_user.nil?
267
- command.query['userIp'] = user_ip unless user_ip.nil?
268
252
  execute_or_queue_command(command, &block)
269
253
  end
270
254
 
@@ -274,10 +258,8 @@ module Google
274
258
  # @param [String] fields
275
259
  # Selector specifying which fields to include in a partial response.
276
260
  # @param [String] quota_user
277
- # An opaque string that represents a user for quota purposes. Must not exceed 40
278
- # characters.
279
- # @param [String] user_ip
280
- # Deprecated. Please use quotaUser instead.
261
+ # Available to use for quota purposes for server-side applications. Can be any
262
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
281
263
  # @param [Google::Apis::RequestOptions] options
282
264
  # Request-specific options
283
265
  #
@@ -290,36 +272,37 @@ module Google
290
272
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
291
273
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
292
274
  # @raise [Google::Apis::AuthorizationError] Authorization is required
293
- def unregister_resellernotify(service_account_email_address: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
294
- command = make_simple_command(:post, 'resellernotify/unregister', options)
275
+ def unregister_resellernotify(service_account_email_address: nil, fields: nil, quota_user: nil, options: nil, &block)
276
+ command = make_simple_command(:post, 'apps/reseller/v1/resellernotify/unregister', options)
295
277
  command.response_representation = Google::Apis::ResellerV1::ResellernotifyResource::Representation
296
278
  command.response_class = Google::Apis::ResellerV1::ResellernotifyResource
297
279
  command.query['serviceAccountEmailAddress'] = service_account_email_address unless service_account_email_address.nil?
298
280
  command.query['fields'] = fields unless fields.nil?
299
281
  command.query['quotaUser'] = quota_user unless quota_user.nil?
300
- command.query['userIp'] = user_ip unless user_ip.nil?
301
282
  execute_or_queue_command(command, &block)
302
283
  end
303
284
 
304
285
  # Activates a subscription previously suspended by the reseller
305
286
  # @param [String] customer_id
306
- # Either the customer's primary domain name or the customer's unique identifier.
307
- # If using the domain name, we do not recommend using a customerId as a key for
308
- # persistent data. If the domain name for a customerId is changed, the Google
309
- # system automatically updates.
287
+ # Either the customer&#39;s primary domain name or the customer's unique
288
+ # identifier. If using the domain name, we do not recommend using a
289
+ # <code>customerId</code> as a key for persistent data. If the domain name
290
+ # for a <code>customerId</code> is changed, the Google system automatically
291
+ # updates.
310
292
  # @param [String] subscription_id
311
- # This is a required property. The subscriptionId is the subscription identifier
312
- # and is unique for each customer. Since a subscriptionId changes when a
313
- # subscription is updated, we recommend to not use this ID as a key for
314
- # persistent data. And the subscriptionId can be found using the retrieve all
315
- # reseller subscriptions method.
293
+ # This is a required property. The <code>subscriptionId</code> is the
294
+ # subscription identifier and is unique for each customer. Since a
295
+ # <code>subscriptionId</code> changes when a subscription is updated, we
296
+ # recommend to not use this ID as a key for persistent data. And the
297
+ # <code>subscriptionId</code> can be found using the <a
298
+ # href="/admin-sdk/reseller/v1/how-tos/manage_subscriptions#
299
+ # get_all_subscriptions">retrieve
300
+ # all reseller subscriptions</a> method.
316
301
  # @param [String] fields
317
302
  # Selector specifying which fields to include in a partial response.
318
303
  # @param [String] quota_user
319
- # An opaque string that represents a user for quota purposes. Must not exceed 40
320
- # characters.
321
- # @param [String] user_ip
322
- # Deprecated. Please use quotaUser instead.
304
+ # Available to use for quota purposes for server-side applications. Can be any
305
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
323
306
  # @param [Google::Apis::RequestOptions] options
324
307
  # Request-specific options
325
308
  #
@@ -332,15 +315,14 @@ module Google
332
315
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
333
316
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
334
317
  # @raise [Google::Apis::AuthorizationError] Authorization is required
335
- def activate_subscription(customer_id, subscription_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
336
- command = make_simple_command(:post, 'customers/{customerId}/subscriptions/{subscriptionId}/activate', options)
318
+ def activate_subscription(customer_id, subscription_id, fields: nil, quota_user: nil, options: nil, &block)
319
+ command = make_simple_command(:post, 'apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/activate', options)
337
320
  command.response_representation = Google::Apis::ResellerV1::Subscription::Representation
338
321
  command.response_class = Google::Apis::ResellerV1::Subscription
339
322
  command.params['customerId'] = customer_id unless customer_id.nil?
340
323
  command.params['subscriptionId'] = subscription_id unless subscription_id.nil?
341
324
  command.query['fields'] = fields unless fields.nil?
342
325
  command.query['quotaUser'] = quota_user unless quota_user.nil?
343
- command.query['userIp'] = user_ip unless user_ip.nil?
344
326
  execute_or_queue_command(command, &block)
345
327
  end
346
328
 
@@ -348,24 +330,26 @@ module Google
348
330
  # trial or a flexible plan subscription to an annual commitment plan with
349
331
  # monthly or yearly payments.
350
332
  # @param [String] customer_id
351
- # Either the customer's primary domain name or the customer's unique identifier.
352
- # If using the domain name, we do not recommend using a customerId as a key for
353
- # persistent data. If the domain name for a customerId is changed, the Google
354
- # system automatically updates.
333
+ # Either the customer&#39;s primary domain name or the customer's unique
334
+ # identifier. If using the domain name, we do not recommend using a
335
+ # <code>customerId</code> as a key for persistent data. If the domain name
336
+ # for a <code>customerId</code> is changed, the Google system automatically
337
+ # updates.
355
338
  # @param [String] subscription_id
356
- # This is a required property. The subscriptionId is the subscription identifier
357
- # and is unique for each customer. Since a subscriptionId changes when a
358
- # subscription is updated, we recommend to not use this ID as a key for
359
- # persistent data. And the subscriptionId can be found using the retrieve all
360
- # reseller subscriptions method.
339
+ # This is a required property. The <code>subscriptionId</code> is the
340
+ # subscription identifier and is unique for each customer. Since a
341
+ # <code>subscriptionId</code> changes when a subscription is updated, we
342
+ # recommend to not use this ID as a key for persistent data. And the
343
+ # <code>subscriptionId</code> can be found using the <a
344
+ # href="/admin-sdk/reseller/v1/how-tos/manage_subscriptions#
345
+ # get_all_subscriptions">retrieve
346
+ # all reseller subscriptions</a> method.
361
347
  # @param [Google::Apis::ResellerV1::ChangePlanRequest] change_plan_request_object
362
348
  # @param [String] fields
363
349
  # Selector specifying which fields to include in a partial response.
364
350
  # @param [String] quota_user
365
- # An opaque string that represents a user for quota purposes. Must not exceed 40
366
- # characters.
367
- # @param [String] user_ip
368
- # Deprecated. Please use quotaUser instead.
351
+ # Available to use for quota purposes for server-side applications. Can be any
352
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
369
353
  # @param [Google::Apis::RequestOptions] options
370
354
  # Request-specific options
371
355
  #
@@ -378,8 +362,8 @@ module Google
378
362
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
379
363
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
380
364
  # @raise [Google::Apis::AuthorizationError] Authorization is required
381
- def change_subscription_plan(customer_id, subscription_id, change_plan_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
382
- command = make_simple_command(:post, 'customers/{customerId}/subscriptions/{subscriptionId}/changePlan', options)
365
+ def change_subscription_plan(customer_id, subscription_id, change_plan_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
366
+ command = make_simple_command(:post, 'apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/changePlan', options)
383
367
  command.request_representation = Google::Apis::ResellerV1::ChangePlanRequest::Representation
384
368
  command.request_object = change_plan_request_object
385
369
  command.response_representation = Google::Apis::ResellerV1::Subscription::Representation
@@ -388,31 +372,32 @@ module Google
388
372
  command.params['subscriptionId'] = subscription_id unless subscription_id.nil?
389
373
  command.query['fields'] = fields unless fields.nil?
390
374
  command.query['quotaUser'] = quota_user unless quota_user.nil?
391
- command.query['userIp'] = user_ip unless user_ip.nil?
392
375
  execute_or_queue_command(command, &block)
393
376
  end
394
377
 
395
- # Update a user license's renewal settings. This is applicable for accounts with
396
- # annual commitment plans only.
378
+ # Update a user license&#39;s renewal settings. This is applicable for
379
+ # accounts with annual commitment plans only.
397
380
  # @param [String] customer_id
398
- # Either the customer's primary domain name or the customer's unique identifier.
399
- # If using the domain name, we do not recommend using a customerId as a key for
400
- # persistent data. If the domain name for a customerId is changed, the Google
401
- # system automatically updates.
381
+ # Either the customer&#39;s primary domain name or the customer's unique
382
+ # identifier. If using the domain name, we do not recommend using a
383
+ # <code>customerId</code> as a key for persistent data. If the domain name
384
+ # for a <code>customerId</code> is changed, the Google system automatically
385
+ # updates.
402
386
  # @param [String] subscription_id
403
- # This is a required property. The subscriptionId is the subscription identifier
404
- # and is unique for each customer. Since a subscriptionId changes when a
405
- # subscription is updated, we recommend to not use this ID as a key for
406
- # persistent data. And the subscriptionId can be found using the retrieve all
407
- # reseller subscriptions method.
387
+ # This is a required property. The <code>subscriptionId</code> is the
388
+ # subscription identifier and is unique for each customer. Since a
389
+ # <code>subscriptionId</code> changes when a subscription is updated, we
390
+ # recommend to not use this ID as a key for persistent data. And the
391
+ # <code>subscriptionId</code> can be found using the <a
392
+ # href="/admin-sdk/reseller/v1/how-tos/manage_subscriptions#
393
+ # get_all_subscriptions">retrieve
394
+ # all reseller subscriptions</a> method.
408
395
  # @param [Google::Apis::ResellerV1::RenewalSettings] renewal_settings_object
409
396
  # @param [String] fields
410
397
  # Selector specifying which fields to include in a partial response.
411
398
  # @param [String] quota_user
412
- # An opaque string that represents a user for quota purposes. Must not exceed 40
413
- # characters.
414
- # @param [String] user_ip
415
- # Deprecated. Please use quotaUser instead.
399
+ # Available to use for quota purposes for server-side applications. Can be any
400
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
416
401
  # @param [Google::Apis::RequestOptions] options
417
402
  # Request-specific options
418
403
  #
@@ -425,8 +410,8 @@ module Google
425
410
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
426
411
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
427
412
  # @raise [Google::Apis::AuthorizationError] Authorization is required
428
- def change_subscription_renewal_settings(customer_id, subscription_id, renewal_settings_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
429
- command = make_simple_command(:post, 'customers/{customerId}/subscriptions/{subscriptionId}/changeRenewalSettings', options)
413
+ def change_subscription_renewal_settings(customer_id, subscription_id, renewal_settings_object = nil, fields: nil, quota_user: nil, options: nil, &block)
414
+ command = make_simple_command(:post, 'apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/changeRenewalSettings', options)
430
415
  command.request_representation = Google::Apis::ResellerV1::RenewalSettings::Representation
431
416
  command.request_object = renewal_settings_object
432
417
  command.response_representation = Google::Apis::ResellerV1::Subscription::Representation
@@ -435,30 +420,31 @@ module Google
435
420
  command.params['subscriptionId'] = subscription_id unless subscription_id.nil?
436
421
  command.query['fields'] = fields unless fields.nil?
437
422
  command.query['quotaUser'] = quota_user unless quota_user.nil?
438
- command.query['userIp'] = user_ip unless user_ip.nil?
439
423
  execute_or_queue_command(command, &block)
440
424
  end
441
425
 
442
- # Update a subscription's user license settings.
426
+ # Update a subscription&#39;s user license settings.
443
427
  # @param [String] customer_id
444
- # Either the customer's primary domain name or the customer's unique identifier.
445
- # If using the domain name, we do not recommend using a customerId as a key for
446
- # persistent data. If the domain name for a customerId is changed, the Google
447
- # system automatically updates.
428
+ # Either the customer&#39;s primary domain name or the customer's unique
429
+ # identifier. If using the domain name, we do not recommend using a
430
+ # <code>customerId</code> as a key for persistent data. If the domain name
431
+ # for a <code>customerId</code> is changed, the Google system automatically
432
+ # updates.
448
433
  # @param [String] subscription_id
449
- # This is a required property. The subscriptionId is the subscription identifier
450
- # and is unique for each customer. Since a subscriptionId changes when a
451
- # subscription is updated, we recommend to not use this ID as a key for
452
- # persistent data. And the subscriptionId can be found using the retrieve all
453
- # reseller subscriptions method.
434
+ # This is a required property. The <code>subscriptionId</code> is the
435
+ # subscription identifier and is unique for each customer. Since a
436
+ # <code>subscriptionId</code> changes when a subscription is updated, we
437
+ # recommend to not use this ID as a key for persistent data. And the
438
+ # <code>subscriptionId</code> can be found using the <a
439
+ # href="/admin-sdk/reseller/v1/how-tos/manage_subscriptions#
440
+ # get_all_subscriptions">retrieve
441
+ # all reseller subscriptions</a> method.
454
442
  # @param [Google::Apis::ResellerV1::Seats] seats_object
455
443
  # @param [String] fields
456
444
  # Selector specifying which fields to include in a partial response.
457
445
  # @param [String] quota_user
458
- # An opaque string that represents a user for quota purposes. Must not exceed 40
459
- # characters.
460
- # @param [String] user_ip
461
- # Deprecated. Please use quotaUser instead.
446
+ # Available to use for quota purposes for server-side applications. Can be any
447
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
462
448
  # @param [Google::Apis::RequestOptions] options
463
449
  # Request-specific options
464
450
  #
@@ -471,8 +457,8 @@ module Google
471
457
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
472
458
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
473
459
  # @raise [Google::Apis::AuthorizationError] Authorization is required
474
- def change_subscription_seats(customer_id, subscription_id, seats_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
475
- command = make_simple_command(:post, 'customers/{customerId}/subscriptions/{subscriptionId}/changeSeats', options)
460
+ def change_subscription_seats(customer_id, subscription_id, seats_object = nil, fields: nil, quota_user: nil, options: nil, &block)
461
+ command = make_simple_command(:post, 'apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/changeSeats', options)
476
462
  command.request_representation = Google::Apis::ResellerV1::Seats::Representation
477
463
  command.request_object = seats_object
478
464
  command.response_representation = Google::Apis::ResellerV1::Subscription::Representation
@@ -481,32 +467,33 @@ module Google
481
467
  command.params['subscriptionId'] = subscription_id unless subscription_id.nil?
482
468
  command.query['fields'] = fields unless fields.nil?
483
469
  command.query['quotaUser'] = quota_user unless quota_user.nil?
484
- command.query['userIp'] = user_ip unless user_ip.nil?
485
470
  execute_or_queue_command(command, &block)
486
471
  end
487
472
 
488
473
  # Cancel, suspend, or transfer a subscription to direct.
489
474
  # @param [String] customer_id
490
- # Either the customer's primary domain name or the customer's unique identifier.
491
- # If using the domain name, we do not recommend using a customerId as a key for
492
- # persistent data. If the domain name for a customerId is changed, the Google
493
- # system automatically updates.
475
+ # Either the customer&#39;s primary domain name or the customer's unique
476
+ # identifier. If using the domain name, we do not recommend using a
477
+ # <code>customerId</code> as a key for persistent data. If the domain name
478
+ # for a <code>customerId</code> is changed, the Google system automatically
479
+ # updates.
494
480
  # @param [String] subscription_id
495
- # This is a required property. The subscriptionId is the subscription identifier
496
- # and is unique for each customer. Since a subscriptionId changes when a
497
- # subscription is updated, we recommend to not use this ID as a key for
498
- # persistent data. And the subscriptionId can be found using the retrieve all
499
- # reseller subscriptions method.
481
+ # This is a required property. The <code>subscriptionId</code> is the
482
+ # subscription identifier and is unique for each customer. Since a
483
+ # <code>subscriptionId</code> changes when a subscription is updated, we
484
+ # recommend to not use this ID as a key for persistent data. And the
485
+ # <code>subscriptionId</code> can be found using the <a
486
+ # href="/admin-sdk/reseller/v1/how-tos/manage_subscriptions#
487
+ # get_all_subscriptions">retrieve
488
+ # all reseller subscriptions</a> method.
500
489
  # @param [String] deletion_type
501
- # The deletionType query string enables the cancellation, downgrade, or
502
- # suspension of a subscription.
490
+ # The <code>deletionType</code> query string enables the cancellation,
491
+ # downgrade, or suspension of a subscription.
503
492
  # @param [String] fields
504
493
  # Selector specifying which fields to include in a partial response.
505
494
  # @param [String] quota_user
506
- # An opaque string that represents a user for quota purposes. Must not exceed 40
507
- # characters.
508
- # @param [String] user_ip
509
- # Deprecated. Please use quotaUser instead.
495
+ # Available to use for quota purposes for server-side applications. Can be any
496
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
510
497
  # @param [Google::Apis::RequestOptions] options
511
498
  # Request-specific options
512
499
  #
@@ -519,36 +506,37 @@ module Google
519
506
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
520
507
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
521
508
  # @raise [Google::Apis::AuthorizationError] Authorization is required
522
- def delete_subscription(customer_id, subscription_id, deletion_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
523
- command = make_simple_command(:delete, 'customers/{customerId}/subscriptions/{subscriptionId}', options)
509
+ def delete_subscription(customer_id, subscription_id, deletion_type, fields: nil, quota_user: nil, options: nil, &block)
510
+ command = make_simple_command(:delete, 'apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}', options)
524
511
  command.params['customerId'] = customer_id unless customer_id.nil?
525
512
  command.params['subscriptionId'] = subscription_id unless subscription_id.nil?
526
513
  command.query['deletionType'] = deletion_type unless deletion_type.nil?
527
514
  command.query['fields'] = fields unless fields.nil?
528
515
  command.query['quotaUser'] = quota_user unless quota_user.nil?
529
- command.query['userIp'] = user_ip unless user_ip.nil?
530
516
  execute_or_queue_command(command, &block)
531
517
  end
532
518
 
533
519
  # Get a specific subscription.
534
520
  # @param [String] customer_id
535
- # Either the customer's primary domain name or the customer's unique identifier.
536
- # If using the domain name, we do not recommend using a customerId as a key for
537
- # persistent data. If the domain name for a customerId is changed, the Google
538
- # system automatically updates.
521
+ # Either the customer&#39;s primary domain name or the customer's unique
522
+ # identifier. If using the domain name, we do not recommend using a
523
+ # <code>customerId</code> as a key for persistent data. If the domain name
524
+ # for a <code>customerId</code> is changed, the Google system automatically
525
+ # updates.
539
526
  # @param [String] subscription_id
540
- # This is a required property. The subscriptionId is the subscription identifier
541
- # and is unique for each customer. Since a subscriptionId changes when a
542
- # subscription is updated, we recommend to not use this ID as a key for
543
- # persistent data. And the subscriptionId can be found using the retrieve all
544
- # reseller subscriptions method.
527
+ # This is a required property. The <code>subscriptionId</code> is the
528
+ # subscription identifier and is unique for each customer. Since a
529
+ # <code>subscriptionId</code> changes when a subscription is updated, we
530
+ # recommend to not use this ID as a key for persistent data. And the
531
+ # <code>subscriptionId</code> can be found using the <a
532
+ # href="/admin-sdk/reseller/v1/how-tos/manage_subscriptions#
533
+ # get_all_subscriptions">retrieve
534
+ # all reseller subscriptions</a> method.
545
535
  # @param [String] fields
546
536
  # Selector specifying which fields to include in a partial response.
547
537
  # @param [String] quota_user
548
- # An opaque string that represents a user for quota purposes. Must not exceed 40
549
- # characters.
550
- # @param [String] user_ip
551
- # Deprecated. Please use quotaUser instead.
538
+ # Available to use for quota purposes for server-side applications. Can be any
539
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
552
540
  # @param [Google::Apis::RequestOptions] options
553
541
  # Request-specific options
554
542
  #
@@ -561,38 +549,39 @@ module Google
561
549
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
562
550
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
563
551
  # @raise [Google::Apis::AuthorizationError] Authorization is required
564
- def get_subscription(customer_id, subscription_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
565
- command = make_simple_command(:get, 'customers/{customerId}/subscriptions/{subscriptionId}', options)
552
+ def get_subscription(customer_id, subscription_id, fields: nil, quota_user: nil, options: nil, &block)
553
+ command = make_simple_command(:get, 'apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}', options)
566
554
  command.response_representation = Google::Apis::ResellerV1::Subscription::Representation
567
555
  command.response_class = Google::Apis::ResellerV1::Subscription
568
556
  command.params['customerId'] = customer_id unless customer_id.nil?
569
557
  command.params['subscriptionId'] = subscription_id unless subscription_id.nil?
570
558
  command.query['fields'] = fields unless fields.nil?
571
559
  command.query['quotaUser'] = quota_user unless quota_user.nil?
572
- command.query['userIp'] = user_ip unless user_ip.nil?
573
560
  execute_or_queue_command(command, &block)
574
561
  end
575
562
 
576
563
  # Create or transfer a subscription.
577
564
  # @param [String] customer_id
578
- # Either the customer's primary domain name or the customer's unique identifier.
579
- # If using the domain name, we do not recommend using a customerId as a key for
580
- # persistent data. If the domain name for a customerId is changed, the Google
581
- # system automatically updates.
565
+ # Either the customer&#39;s primary domain name or the customer's unique
566
+ # identifier. If using the domain name, we do not recommend using a
567
+ # <code>customerId</code> as a key for persistent data. If the domain name
568
+ # for a <code>customerId</code> is changed, the Google system automatically
569
+ # updates.
582
570
  # @param [Google::Apis::ResellerV1::Subscription] subscription_object
583
571
  # @param [String] customer_auth_token
584
- # The customerAuthToken query string is required when creating a resold account
585
- # that transfers a direct customer's subscription or transfers another reseller
586
- # customer's subscription to your reseller management. This is a hexadecimal
572
+ # The <code>customerAuthToken</code> query string is required when creating a
573
+ # resold account that transfers a direct
574
+ # customer's subscription or transfers another reseller customer's
575
+ # subscription to your reseller management. This is a hexadecimal
587
576
  # authentication token needed to complete the subscription transfer. For more
588
- # information, see the administrator help center.
577
+ # information, see the <a
578
+ # href="//support.google.com/a/bin/answer.py?answer=142336">administrator
579
+ # help center</a>.
589
580
  # @param [String] fields
590
581
  # Selector specifying which fields to include in a partial response.
591
582
  # @param [String] quota_user
592
- # An opaque string that represents a user for quota purposes. Must not exceed 40
593
- # characters.
594
- # @param [String] user_ip
595
- # Deprecated. Please use quotaUser instead.
583
+ # Available to use for quota purposes for server-side applications. Can be any
584
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
596
585
  # @param [Google::Apis::RequestOptions] options
597
586
  # Request-specific options
598
587
  #
@@ -605,8 +594,8 @@ module Google
605
594
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
606
595
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
607
596
  # @raise [Google::Apis::AuthorizationError] Authorization is required
608
- def insert_subscription(customer_id, subscription_object = nil, customer_auth_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
609
- command = make_simple_command(:post, 'customers/{customerId}/subscriptions', options)
597
+ def insert_subscription(customer_id, subscription_object = nil, customer_auth_token: nil, fields: nil, quota_user: nil, options: nil, &block)
598
+ command = make_simple_command(:post, 'apps/reseller/v1/customers/{customerId}/subscriptions', options)
610
599
  command.request_representation = Google::Apis::ResellerV1::Subscription::Representation
611
600
  command.request_object = subscription_object
612
601
  command.response_representation = Google::Apis::ResellerV1::Subscription::Representation
@@ -615,45 +604,51 @@ module Google
615
604
  command.query['customerAuthToken'] = customer_auth_token unless customer_auth_token.nil?
616
605
  command.query['fields'] = fields unless fields.nil?
617
606
  command.query['quotaUser'] = quota_user unless quota_user.nil?
618
- command.query['userIp'] = user_ip unless user_ip.nil?
619
607
  execute_or_queue_command(command, &block)
620
608
  end
621
609
 
622
610
  # List of subscriptions managed by the reseller. The list can be all
623
- # subscriptions, all of a customer's subscriptions, or all of a customer's
624
- # transferable subscriptions.
611
+ # subscriptions, all of a customer&#39;s subscriptions, or all of a
612
+ # customer&#39;s transferable subscriptions.
625
613
  # @param [String] customer_auth_token
626
- # The customerAuthToken query string is required when creating a resold account
627
- # that transfers a direct customer's subscription or transfers another reseller
628
- # customer's subscription to your reseller management. This is a hexadecimal
614
+ # The <code>customerAuthToken</code> query string is required when creating a
615
+ # resold account that transfers a direct
616
+ # customer's subscription or transfers another reseller customer's
617
+ # subscription to your reseller management. This is a hexadecimal
629
618
  # authentication token needed to complete the subscription transfer. For more
630
- # information, see the administrator help center.
619
+ # information, see the <a
620
+ # href="//support.google.com/a/bin/answer.py?answer=142336">administrator
621
+ # help center</a>.
631
622
  # @param [String] customer_id
632
- # Either the customer's primary domain name or the customer's unique identifier.
633
- # If using the domain name, we do not recommend using a customerId as a key for
634
- # persistent data. If the domain name for a customerId is changed, the Google
635
- # system automatically updates.
623
+ # Either the customer&#39;s primary domain name or the customer's unique
624
+ # identifier. If using the domain name, we do not recommend using a
625
+ # <code>customerId</code> as a key for persistent data. If the domain name
626
+ # for a <code>customerId</code> is changed, the Google system automatically
627
+ # updates.
636
628
  # @param [String] customer_name_prefix
637
- # When retrieving all of your subscriptions and filtering for specific customers,
638
- # you can enter a prefix for a customer name. Using an example customer group
639
- # that includes exam.com, example20.com and example.com:
640
- # - exa -- Returns all customer names that start with 'exa' which could include
641
- # exam.com, example20.com, and example.com. A name prefix is similar to using a
642
- # regular expression's asterisk, exa*.
643
- # - example -- Returns example20.com and example.com.
629
+ # When retrieving all of your subscriptions and filtering for specific
630
+ # customers, you can enter a prefix for a customer name. Using an example
631
+ # customer group that includes <code>exam.com</code>,
632
+ # <code>example20.com</code> and <code>example.com</code>:
633
+ # <ul>
634
+ # <li><code>exa</code> -- Returns all customer names that start with
635
+ # &#39;exa&#39; which could include <code>exam.com</code>,
636
+ # <code>example20.com</code>, and <code>example.com</code>. A name prefix is
637
+ # similar to using a regular expression&#39;s asterisk, exa*.</li>
638
+ # <li><code>example</code> -- Returns <code>example20.com</code> and
639
+ # <code>example.com</code>.</li>
640
+ # </ul>
644
641
  # @param [Fixnum] max_results
645
- # When retrieving a large list, the maxResults is the maximum number of results
646
- # per page. The nextPageToken value takes you to the next page. The default is
647
- # 20.
642
+ # When retrieving a large list, the <code>maxResults</code> is the maximum
643
+ # number of results per page. The <code>nextPageToken</code> value takes you
644
+ # to the next page. The default is 20.
648
645
  # @param [String] page_token
649
646
  # Token to specify next page in the list
650
647
  # @param [String] fields
651
648
  # Selector specifying which fields to include in a partial response.
652
649
  # @param [String] quota_user
653
- # An opaque string that represents a user for quota purposes. Must not exceed 40
654
- # characters.
655
- # @param [String] user_ip
656
- # Deprecated. Please use quotaUser instead.
650
+ # Available to use for quota purposes for server-side applications. Can be any
651
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
657
652
  # @param [Google::Apis::RequestOptions] options
658
653
  # Request-specific options
659
654
  #
@@ -666,8 +661,8 @@ module Google
666
661
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
667
662
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
668
663
  # @raise [Google::Apis::AuthorizationError] Authorization is required
669
- def list_subscriptions(customer_auth_token: nil, customer_id: nil, customer_name_prefix: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
670
- command = make_simple_command(:get, 'subscriptions', options)
664
+ def list_subscriptions(customer_auth_token: nil, customer_id: nil, customer_name_prefix: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
665
+ command = make_simple_command(:get, 'apps/reseller/v1/subscriptions', options)
671
666
  command.response_representation = Google::Apis::ResellerV1::Subscriptions::Representation
672
667
  command.response_class = Google::Apis::ResellerV1::Subscriptions
673
668
  command.query['customerAuthToken'] = customer_auth_token unless customer_auth_token.nil?
@@ -677,30 +672,31 @@ module Google
677
672
  command.query['pageToken'] = page_token unless page_token.nil?
678
673
  command.query['fields'] = fields unless fields.nil?
679
674
  command.query['quotaUser'] = quota_user unless quota_user.nil?
680
- command.query['userIp'] = user_ip unless user_ip.nil?
681
675
  execute_or_queue_command(command, &block)
682
676
  end
683
677
 
684
678
  # Immediately move a 30-day free trial subscription to a paid service
685
679
  # subscription.
686
680
  # @param [String] customer_id
687
- # Either the customer's primary domain name or the customer's unique identifier.
688
- # If using the domain name, we do not recommend using a customerId as a key for
689
- # persistent data. If the domain name for a customerId is changed, the Google
690
- # system automatically updates.
681
+ # Either the customer&#39;s primary domain name or the customer's unique
682
+ # identifier. If using the domain name, we do not recommend using a
683
+ # <code>customerId</code> as a key for persistent data. If the domain name
684
+ # for a <code>customerId</code> is changed, the Google system automatically
685
+ # updates.
691
686
  # @param [String] subscription_id
692
- # This is a required property. The subscriptionId is the subscription identifier
693
- # and is unique for each customer. Since a subscriptionId changes when a
694
- # subscription is updated, we recommend to not use this ID as a key for
695
- # persistent data. And the subscriptionId can be found using the retrieve all
696
- # reseller subscriptions method.
687
+ # This is a required property. The <code>subscriptionId</code> is the
688
+ # subscription identifier and is unique for each customer. Since a
689
+ # <code>subscriptionId</code> changes when a subscription is updated, we
690
+ # recommend to not use this ID as a key for persistent data. And the
691
+ # <code>subscriptionId</code> can be found using the <a
692
+ # href="/admin-sdk/reseller/v1/how-tos/manage_subscriptions#
693
+ # get_all_subscriptions">retrieve
694
+ # all reseller subscriptions</a> method.
697
695
  # @param [String] fields
698
696
  # Selector specifying which fields to include in a partial response.
699
697
  # @param [String] quota_user
700
- # An opaque string that represents a user for quota purposes. Must not exceed 40
701
- # characters.
702
- # @param [String] user_ip
703
- # Deprecated. Please use quotaUser instead.
698
+ # Available to use for quota purposes for server-side applications. Can be any
699
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
704
700
  # @param [Google::Apis::RequestOptions] options
705
701
  # Request-specific options
706
702
  #
@@ -713,37 +709,38 @@ module Google
713
709
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
714
710
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
715
711
  # @raise [Google::Apis::AuthorizationError] Authorization is required
716
- def start_subscription_paid_service(customer_id, subscription_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
717
- command = make_simple_command(:post, 'customers/{customerId}/subscriptions/{subscriptionId}/startPaidService', options)
712
+ def start_subscription_paid_service(customer_id, subscription_id, fields: nil, quota_user: nil, options: nil, &block)
713
+ command = make_simple_command(:post, 'apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/startPaidService', options)
718
714
  command.response_representation = Google::Apis::ResellerV1::Subscription::Representation
719
715
  command.response_class = Google::Apis::ResellerV1::Subscription
720
716
  command.params['customerId'] = customer_id unless customer_id.nil?
721
717
  command.params['subscriptionId'] = subscription_id unless subscription_id.nil?
722
718
  command.query['fields'] = fields unless fields.nil?
723
719
  command.query['quotaUser'] = quota_user unless quota_user.nil?
724
- command.query['userIp'] = user_ip unless user_ip.nil?
725
720
  execute_or_queue_command(command, &block)
726
721
  end
727
722
 
728
723
  # Suspends an active subscription.
729
724
  # @param [String] customer_id
730
- # Either the customer's primary domain name or the customer's unique identifier.
731
- # If using the domain name, we do not recommend using a customerId as a key for
732
- # persistent data. If the domain name for a customerId is changed, the Google
733
- # system automatically updates.
725
+ # Either the customer&#39;s primary domain name or the customer's unique
726
+ # identifier. If using the domain name, we do not recommend using a
727
+ # <code>customerId</code> as a key for persistent data. If the domain name
728
+ # for a <code>customerId</code> is changed, the Google system automatically
729
+ # updates.
734
730
  # @param [String] subscription_id
735
- # This is a required property. The subscriptionId is the subscription identifier
736
- # and is unique for each customer. Since a subscriptionId changes when a
737
- # subscription is updated, we recommend to not use this ID as a key for
738
- # persistent data. And the subscriptionId can be found using the retrieve all
739
- # reseller subscriptions method.
731
+ # This is a required property. The <code>subscriptionId</code> is the
732
+ # subscription identifier and is unique for each customer. Since a
733
+ # <code>subscriptionId</code> changes when a subscription is updated, we
734
+ # recommend to not use this ID as a key for persistent data. And the
735
+ # <code>subscriptionId</code> can be found using the <a
736
+ # href="/admin-sdk/reseller/v1/how-tos/manage_subscriptions#
737
+ # get_all_subscriptions">retrieve
738
+ # all reseller subscriptions</a> method.
740
739
  # @param [String] fields
741
740
  # Selector specifying which fields to include in a partial response.
742
741
  # @param [String] quota_user
743
- # An opaque string that represents a user for quota purposes. Must not exceed 40
744
- # characters.
745
- # @param [String] user_ip
746
- # Deprecated. Please use quotaUser instead.
742
+ # Available to use for quota purposes for server-side applications. Can be any
743
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
747
744
  # @param [Google::Apis::RequestOptions] options
748
745
  # Request-specific options
749
746
  #
@@ -756,15 +753,14 @@ module Google
756
753
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
757
754
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
758
755
  # @raise [Google::Apis::AuthorizationError] Authorization is required
759
- def suspend_subscription(customer_id, subscription_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
760
- command = make_simple_command(:post, 'customers/{customerId}/subscriptions/{subscriptionId}/suspend', options)
756
+ def suspend_subscription(customer_id, subscription_id, fields: nil, quota_user: nil, options: nil, &block)
757
+ command = make_simple_command(:post, 'apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/suspend', options)
761
758
  command.response_representation = Google::Apis::ResellerV1::Subscription::Representation
762
759
  command.response_class = Google::Apis::ResellerV1::Subscription
763
760
  command.params['customerId'] = customer_id unless customer_id.nil?
764
761
  command.params['subscriptionId'] = subscription_id unless subscription_id.nil?
765
762
  command.query['fields'] = fields unless fields.nil?
766
763
  command.query['quotaUser'] = quota_user unless quota_user.nil?
767
- command.query['userIp'] = user_ip unless user_ip.nil?
768
764
  execute_or_queue_command(command, &block)
769
765
  end
770
766
 
@@ -773,7 +769,6 @@ module Google
773
769
  def apply_command_defaults(command)
774
770
  command.query['key'] = key unless key.nil?
775
771
  command.query['quotaUser'] = quota_user unless quota_user.nil?
776
- command.query['userIp'] = user_ip unless user_ip.nil?
777
772
  end
778
773
  end
779
774
  end