google-api-client 0.41.0 → 0.42.2

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -0,0 +1,661 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'google/apis/core/base_service'
16
+ require 'google/apis/core/json_representation'
17
+ require 'google/apis/core/hashable'
18
+ require 'google/apis/errors'
19
+
20
+ module Google
21
+ module Apis
22
+ module RealtimebiddingV1
23
+ # Real-time Bidding API
24
+ #
25
+ # Allows external bidders to manage their RTB integration with Google. This
26
+ # includes managing bidder endpoints, QPS quotas, configuring what ad inventory
27
+ # to receive via pretargeting, submitting creatives for verification, and
28
+ # accessing creative metadata such as approval status.
29
+ #
30
+ # @example
31
+ # require 'google/apis/realtimebidding_v1'
32
+ #
33
+ # Realtimebidding = Google::Apis::RealtimebiddingV1 # Alias the module
34
+ # service = Realtimebidding::RealtimeBiddingService.new
35
+ #
36
+ # @see https://developers.google.com/authorized-buyers/apis/realtimebidding/reference/rest/
37
+ class RealtimeBiddingService < Google::Apis::Core::BaseService
38
+ # @return [String]
39
+ # API key. Your API key identifies your project and provides you with API access,
40
+ # quota, and reports. Required unless you provide an OAuth 2.0 token.
41
+ attr_accessor :key
42
+
43
+ # @return [String]
44
+ # Available to use for quota purposes for server-side applications. Can be any
45
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
46
+ attr_accessor :quota_user
47
+
48
+ def initialize
49
+ super('https://realtimebidding.googleapis.com/', '')
50
+ @batch_path = 'batch'
51
+ end
52
+
53
+ # Lists creatives.
54
+ # @param [String] parent
55
+ # Required. Name of the parent buyer that owns the creatives.
56
+ # The pattern for this resource is either `buyers/`buyerAccountId`` or
57
+ # `bidders/`bidderAccountId``.
58
+ # For `buyers/`buyerAccountId``, the `buyerAccountId` can be one of the
59
+ # following:
60
+ # 1. The ID of the buyer that is accessing their own creatives.
61
+ # 2. The ID of the child seat buyer under a bidder account.
62
+ # So for listing creatives pertaining to the child seat buyer (`456`)
63
+ # under bidder account (`123`), you would use the pattern: `buyers/456`.
64
+ # 3. The ID of the bidder itself.
65
+ # So for listing creatives pertaining to bidder (`123`),
66
+ # you would use `buyers/123`.
67
+ # If you want to access all creatives pertaining to both the bidder and all
68
+ # of its child seat accounts, you would use `bidders/`bidderAccountId``,
69
+ # e.g., for all creatives pertaining to bidder (`123`), use `bidders/123`.
70
+ # @param [String] filter
71
+ # Query string to filter creatives. If no filter is specified,
72
+ # all active creatives will be returned.
73
+ # Example: 'accountId=12345 AND (dealsStatus:DISAPPROVED AND
74
+ # disapprovalReason:UNACCEPTABLE_CONTENT) OR
75
+ # declaredAttributes:IS_COOKIE_TARGETED'
76
+ # @param [Fixnum] page_size
77
+ # Requested page size. The server may return fewer creatives than requested
78
+ # (due to timeout constraint) even if more are available via another call.
79
+ # If unspecified, server will pick an appropriate default.
80
+ # Acceptable values are 1 to 1000, inclusive.
81
+ # @param [String] page_token
82
+ # A token identifying a page of results the server should return.
83
+ # Typically, this is the value of
84
+ # ListCreativesResponse.nextPageToken
85
+ # returned from the previous call to the 'ListCreatives' method.
86
+ # @param [String] view
87
+ # Controls the amount of information included in the response.
88
+ # By default only
89
+ # creativeServingDecision
90
+ # is included. To retrieve the entire creative
91
+ # resource (including the declared
92
+ # fields and the creative content) specify the view as "FULL".
93
+ # @param [String] fields
94
+ # Selector specifying which fields to include in a partial response.
95
+ # @param [String] quota_user
96
+ # Available to use for quota purposes for server-side applications. Can be any
97
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
98
+ # @param [Google::Apis::RequestOptions] options
99
+ # Request-specific options
100
+ #
101
+ # @yield [result, err] Result & error if block supplied
102
+ # @yieldparam result [Google::Apis::RealtimebiddingV1::ListCreativesResponse] parsed result object
103
+ # @yieldparam err [StandardError] error object if request failed
104
+ #
105
+ # @return [Google::Apis::RealtimebiddingV1::ListCreativesResponse]
106
+ #
107
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
108
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
109
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
110
+ def list_bidder_creatives(parent, filter: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
111
+ command = make_simple_command(:get, 'v1/{+parent}/creatives', options)
112
+ command.response_representation = Google::Apis::RealtimebiddingV1::ListCreativesResponse::Representation
113
+ command.response_class = Google::Apis::RealtimebiddingV1::ListCreativesResponse
114
+ command.params['parent'] = parent unless parent.nil?
115
+ command.query['filter'] = filter unless filter.nil?
116
+ command.query['pageSize'] = page_size unless page_size.nil?
117
+ command.query['pageToken'] = page_token unless page_token.nil?
118
+ command.query['view'] = view unless view.nil?
119
+ command.query['fields'] = fields unless fields.nil?
120
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
121
+ execute_or_queue_command(command, &block)
122
+ end
123
+
124
+ # Watches all creatives pertaining to a bidder. It is sufficient to invoke
125
+ # this endpoint once per bidder. A Pub/Sub topic will be created and
126
+ # notifications will be pushed to the topic when any of the bidder's
127
+ # creatives change status. All of the bidder's service accounts will have
128
+ # access to read from the topic.
129
+ # Subsequent invocations of this method will return the existing
130
+ # Pub/Sub configuration.
131
+ # @param [String] parent
132
+ # Required. To watch all creatives pertaining to the bidder and all its child
133
+ # seat
134
+ # accounts, the bidder must follow the pattern `bidders/`bidderAccountId``.
135
+ # @param [Google::Apis::RealtimebiddingV1::WatchCreativesRequest] watch_creatives_request_object
136
+ # @param [String] fields
137
+ # Selector specifying which fields to include in a partial response.
138
+ # @param [String] quota_user
139
+ # Available to use for quota purposes for server-side applications. Can be any
140
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
141
+ # @param [Google::Apis::RequestOptions] options
142
+ # Request-specific options
143
+ #
144
+ # @yield [result, err] Result & error if block supplied
145
+ # @yieldparam result [Google::Apis::RealtimebiddingV1::WatchCreativesResponse] parsed result object
146
+ # @yieldparam err [StandardError] error object if request failed
147
+ #
148
+ # @return [Google::Apis::RealtimebiddingV1::WatchCreativesResponse]
149
+ #
150
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
151
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
152
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
153
+ def watch_creatives(parent, watch_creatives_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
154
+ command = make_simple_command(:post, 'v1/{+parent}/creatives:watch', options)
155
+ command.request_representation = Google::Apis::RealtimebiddingV1::WatchCreativesRequest::Representation
156
+ command.request_object = watch_creatives_request_object
157
+ command.response_representation = Google::Apis::RealtimebiddingV1::WatchCreativesResponse::Representation
158
+ command.response_class = Google::Apis::RealtimebiddingV1::WatchCreativesResponse
159
+ command.params['parent'] = parent unless parent.nil?
160
+ command.query['fields'] = fields unless fields.nil?
161
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
162
+ execute_or_queue_command(command, &block)
163
+ end
164
+
165
+ # Gets remarketing tag for a buyer. A remarketing tag is a piece of
166
+ # JavaScript code that can be placed on a web page. When a user
167
+ # visits a page containing a remarketing tag, Google adds the user to a user
168
+ # list.
169
+ # @param [String] name
170
+ # Required. To fetch remarketing tag for an account, name must follow the
171
+ # pattern
172
+ # `buyers/`accountId`` where ``accountId``
173
+ # represents ID of a buyer that owns the remarketing tag. For a
174
+ # bidder accessing remarketing tag on behalf of a child seat buyer,
175
+ # ``accountId`` should represent the ID of the child seat buyer.
176
+ # To fetch remarketing tag for a specific user list, name
177
+ # must follow the pattern
178
+ # `buyers/`accountId`/userLists/`userListId``. See
179
+ # UserList.name.
180
+ # @param [String] fields
181
+ # Selector specifying which fields to include in a partial response.
182
+ # @param [String] quota_user
183
+ # Available to use for quota purposes for server-side applications. Can be any
184
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
185
+ # @param [Google::Apis::RequestOptions] options
186
+ # Request-specific options
187
+ #
188
+ # @yield [result, err] Result & error if block supplied
189
+ # @yieldparam result [Google::Apis::RealtimebiddingV1::GetRemarketingTagResponse] parsed result object
190
+ # @yieldparam err [StandardError] error object if request failed
191
+ #
192
+ # @return [Google::Apis::RealtimebiddingV1::GetRemarketingTagResponse]
193
+ #
194
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
195
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
196
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
197
+ def get_buyer_remarketing_tag(name, fields: nil, quota_user: nil, options: nil, &block)
198
+ command = make_simple_command(:get, 'v1/{+name}:getRemarketingTag', options)
199
+ command.response_representation = Google::Apis::RealtimebiddingV1::GetRemarketingTagResponse::Representation
200
+ command.response_class = Google::Apis::RealtimebiddingV1::GetRemarketingTagResponse
201
+ command.params['name'] = name unless name.nil?
202
+ command.query['fields'] = fields unless fields.nil?
203
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
204
+ execute_or_queue_command(command, &block)
205
+ end
206
+
207
+ # Creates a creative.
208
+ # @param [String] parent
209
+ # Required. The name of the parent buyer that the new creative belongs to that
210
+ # must
211
+ # follow the pattern `buyers/`buyerAccountId``, where ``buyerAccountId``
212
+ # represents the account ID of the buyer who owns a creative. For a bidder
213
+ # accessing creatives on behalf of a child seat buyer, ``buyerAccountId``
214
+ # should represent the account ID of the child seat buyer.
215
+ # @param [Google::Apis::RealtimebiddingV1::Creative] creative_object
216
+ # @param [String] fields
217
+ # Selector specifying which fields to include in a partial response.
218
+ # @param [String] quota_user
219
+ # Available to use for quota purposes for server-side applications. Can be any
220
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
221
+ # @param [Google::Apis::RequestOptions] options
222
+ # Request-specific options
223
+ #
224
+ # @yield [result, err] Result & error if block supplied
225
+ # @yieldparam result [Google::Apis::RealtimebiddingV1::Creative] parsed result object
226
+ # @yieldparam err [StandardError] error object if request failed
227
+ #
228
+ # @return [Google::Apis::RealtimebiddingV1::Creative]
229
+ #
230
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
231
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
232
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
233
+ def create_buyer_creative(parent, creative_object = nil, fields: nil, quota_user: nil, options: nil, &block)
234
+ command = make_simple_command(:post, 'v1/{+parent}/creatives', options)
235
+ command.request_representation = Google::Apis::RealtimebiddingV1::Creative::Representation
236
+ command.request_object = creative_object
237
+ command.response_representation = Google::Apis::RealtimebiddingV1::Creative::Representation
238
+ command.response_class = Google::Apis::RealtimebiddingV1::Creative
239
+ command.params['parent'] = parent unless parent.nil?
240
+ command.query['fields'] = fields unless fields.nil?
241
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
242
+ execute_or_queue_command(command, &block)
243
+ end
244
+
245
+ # Gets a creative.
246
+ # @param [String] name
247
+ # Required. Name of the creative to retrieve. See
248
+ # creative.name.
249
+ # @param [String] view
250
+ # Controls the amount of information included in the response.
251
+ # By default only
252
+ # creativeServingDecision
253
+ # is included. To retrieve the entire creative
254
+ # resource (including the declared
255
+ # fields and the creative content) specify the view as "FULL".
256
+ # @param [String] fields
257
+ # Selector specifying which fields to include in a partial response.
258
+ # @param [String] quota_user
259
+ # Available to use for quota purposes for server-side applications. Can be any
260
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
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::RealtimebiddingV1::Creative] parsed result object
266
+ # @yieldparam err [StandardError] error object if request failed
267
+ #
268
+ # @return [Google::Apis::RealtimebiddingV1::Creative]
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 get_buyer_creative(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
274
+ command = make_simple_command(:get, 'v1/{+name}', options)
275
+ command.response_representation = Google::Apis::RealtimebiddingV1::Creative::Representation
276
+ command.response_class = Google::Apis::RealtimebiddingV1::Creative
277
+ command.params['name'] = name unless name.nil?
278
+ command.query['view'] = view unless view.nil?
279
+ command.query['fields'] = fields unless fields.nil?
280
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
281
+ execute_or_queue_command(command, &block)
282
+ end
283
+
284
+ # Lists creatives.
285
+ # @param [String] parent
286
+ # Required. Name of the parent buyer that owns the creatives.
287
+ # The pattern for this resource is either `buyers/`buyerAccountId`` or
288
+ # `bidders/`bidderAccountId``.
289
+ # For `buyers/`buyerAccountId``, the `buyerAccountId` can be one of the
290
+ # following:
291
+ # 1. The ID of the buyer that is accessing their own creatives.
292
+ # 2. The ID of the child seat buyer under a bidder account.
293
+ # So for listing creatives pertaining to the child seat buyer (`456`)
294
+ # under bidder account (`123`), you would use the pattern: `buyers/456`.
295
+ # 3. The ID of the bidder itself.
296
+ # So for listing creatives pertaining to bidder (`123`),
297
+ # you would use `buyers/123`.
298
+ # If you want to access all creatives pertaining to both the bidder and all
299
+ # of its child seat accounts, you would use `bidders/`bidderAccountId``,
300
+ # e.g., for all creatives pertaining to bidder (`123`), use `bidders/123`.
301
+ # @param [String] filter
302
+ # Query string to filter creatives. If no filter is specified,
303
+ # all active creatives will be returned.
304
+ # Example: 'accountId=12345 AND (dealsStatus:DISAPPROVED AND
305
+ # disapprovalReason:UNACCEPTABLE_CONTENT) OR
306
+ # declaredAttributes:IS_COOKIE_TARGETED'
307
+ # @param [Fixnum] page_size
308
+ # Requested page size. The server may return fewer creatives than requested
309
+ # (due to timeout constraint) even if more are available via another call.
310
+ # If unspecified, server will pick an appropriate default.
311
+ # Acceptable values are 1 to 1000, inclusive.
312
+ # @param [String] page_token
313
+ # A token identifying a page of results the server should return.
314
+ # Typically, this is the value of
315
+ # ListCreativesResponse.nextPageToken
316
+ # returned from the previous call to the 'ListCreatives' method.
317
+ # @param [String] view
318
+ # Controls the amount of information included in the response.
319
+ # By default only
320
+ # creativeServingDecision
321
+ # is included. To retrieve the entire creative
322
+ # resource (including the declared
323
+ # fields and the creative content) specify the view as "FULL".
324
+ # @param [String] fields
325
+ # Selector specifying which fields to include in a partial response.
326
+ # @param [String] quota_user
327
+ # Available to use for quota purposes for server-side applications. Can be any
328
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
329
+ # @param [Google::Apis::RequestOptions] options
330
+ # Request-specific options
331
+ #
332
+ # @yield [result, err] Result & error if block supplied
333
+ # @yieldparam result [Google::Apis::RealtimebiddingV1::ListCreativesResponse] parsed result object
334
+ # @yieldparam err [StandardError] error object if request failed
335
+ #
336
+ # @return [Google::Apis::RealtimebiddingV1::ListCreativesResponse]
337
+ #
338
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
339
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
340
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
341
+ def list_buyer_creatives(parent, filter: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
342
+ command = make_simple_command(:get, 'v1/{+parent}/creatives', options)
343
+ command.response_representation = Google::Apis::RealtimebiddingV1::ListCreativesResponse::Representation
344
+ command.response_class = Google::Apis::RealtimebiddingV1::ListCreativesResponse
345
+ command.params['parent'] = parent unless parent.nil?
346
+ command.query['filter'] = filter unless filter.nil?
347
+ command.query['pageSize'] = page_size unless page_size.nil?
348
+ command.query['pageToken'] = page_token unless page_token.nil?
349
+ command.query['view'] = view unless view.nil?
350
+ command.query['fields'] = fields unless fields.nil?
351
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
352
+ execute_or_queue_command(command, &block)
353
+ end
354
+
355
+ # Updates a creative.
356
+ # @param [String] name
357
+ # Name of the creative to update. See
358
+ # creative.name.
359
+ # @param [Google::Apis::RealtimebiddingV1::Creative] creative_object
360
+ # @param [String] update_mask
361
+ # Field mask to use for partial in-place updates.
362
+ # @param [String] fields
363
+ # Selector specifying which fields to include in a partial response.
364
+ # @param [String] quota_user
365
+ # Available to use for quota purposes for server-side applications. Can be any
366
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
367
+ # @param [Google::Apis::RequestOptions] options
368
+ # Request-specific options
369
+ #
370
+ # @yield [result, err] Result & error if block supplied
371
+ # @yieldparam result [Google::Apis::RealtimebiddingV1::Creative] parsed result object
372
+ # @yieldparam err [StandardError] error object if request failed
373
+ #
374
+ # @return [Google::Apis::RealtimebiddingV1::Creative]
375
+ #
376
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
377
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
378
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
379
+ def patch_buyer_creative(name, creative_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
380
+ command = make_simple_command(:patch, 'v1/{+name}', options)
381
+ command.request_representation = Google::Apis::RealtimebiddingV1::Creative::Representation
382
+ command.request_object = creative_object
383
+ command.response_representation = Google::Apis::RealtimebiddingV1::Creative::Representation
384
+ command.response_class = Google::Apis::RealtimebiddingV1::Creative
385
+ command.params['name'] = name unless name.nil?
386
+ command.query['updateMask'] = update_mask unless update_mask.nil?
387
+ command.query['fields'] = fields unless fields.nil?
388
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
389
+ execute_or_queue_command(command, &block)
390
+ end
391
+
392
+ # Change the status of a user list to CLOSED. This prevents new users from
393
+ # being added to the user list.
394
+ # @param [String] name
395
+ # Required. The name of the user list to close.
396
+ # See UserList.name
397
+ # @param [Google::Apis::RealtimebiddingV1::CloseUserListRequest] close_user_list_request_object
398
+ # @param [String] fields
399
+ # Selector specifying which fields to include in a partial response.
400
+ # @param [String] quota_user
401
+ # Available to use for quota purposes for server-side applications. Can be any
402
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
403
+ # @param [Google::Apis::RequestOptions] options
404
+ # Request-specific options
405
+ #
406
+ # @yield [result, err] Result & error if block supplied
407
+ # @yieldparam result [Google::Apis::RealtimebiddingV1::UserList] parsed result object
408
+ # @yieldparam err [StandardError] error object if request failed
409
+ #
410
+ # @return [Google::Apis::RealtimebiddingV1::UserList]
411
+ #
412
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
413
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
414
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
415
+ def close_user_list(name, close_user_list_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
416
+ command = make_simple_command(:post, 'v1/{+name}:close', options)
417
+ command.request_representation = Google::Apis::RealtimebiddingV1::CloseUserListRequest::Representation
418
+ command.request_object = close_user_list_request_object
419
+ command.response_representation = Google::Apis::RealtimebiddingV1::UserList::Representation
420
+ command.response_class = Google::Apis::RealtimebiddingV1::UserList
421
+ command.params['name'] = name unless name.nil?
422
+ command.query['fields'] = fields unless fields.nil?
423
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
424
+ execute_or_queue_command(command, &block)
425
+ end
426
+
427
+ # Create a new user list.
428
+ # @param [String] parent
429
+ # Required. The name of the parent buyer of the user list to be retrieved that
430
+ # must follow the pattern `buyers/`buyerAccountId``, where ``buyerAccountId``
431
+ # represents the account ID of the buyer who owns user lists. For a bidder
432
+ # accessing user lists on behalf of a child seat buyer , ``buyerAccountId``
433
+ # should represent the account ID of the child seat buyer.
434
+ # @param [Google::Apis::RealtimebiddingV1::UserList] user_list_object
435
+ # @param [String] fields
436
+ # Selector specifying which fields to include in a partial response.
437
+ # @param [String] quota_user
438
+ # Available to use for quota purposes for server-side applications. Can be any
439
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
440
+ # @param [Google::Apis::RequestOptions] options
441
+ # Request-specific options
442
+ #
443
+ # @yield [result, err] Result & error if block supplied
444
+ # @yieldparam result [Google::Apis::RealtimebiddingV1::UserList] parsed result object
445
+ # @yieldparam err [StandardError] error object if request failed
446
+ #
447
+ # @return [Google::Apis::RealtimebiddingV1::UserList]
448
+ #
449
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
450
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
451
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
452
+ def create_buyer_user_list(parent, user_list_object = nil, fields: nil, quota_user: nil, options: nil, &block)
453
+ command = make_simple_command(:post, 'v1/{+parent}/userLists', options)
454
+ command.request_representation = Google::Apis::RealtimebiddingV1::UserList::Representation
455
+ command.request_object = user_list_object
456
+ command.response_representation = Google::Apis::RealtimebiddingV1::UserList::Representation
457
+ command.response_class = Google::Apis::RealtimebiddingV1::UserList
458
+ command.params['parent'] = parent unless parent.nil?
459
+ command.query['fields'] = fields unless fields.nil?
460
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
461
+ execute_or_queue_command(command, &block)
462
+ end
463
+
464
+ # Gets a user list by its name.
465
+ # @param [String] name
466
+ # Required. The name of the user list to be retrieved. See
467
+ # UserList.name.
468
+ # @param [String] fields
469
+ # Selector specifying which fields to include in a partial response.
470
+ # @param [String] quota_user
471
+ # Available to use for quota purposes for server-side applications. Can be any
472
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
473
+ # @param [Google::Apis::RequestOptions] options
474
+ # Request-specific options
475
+ #
476
+ # @yield [result, err] Result & error if block supplied
477
+ # @yieldparam result [Google::Apis::RealtimebiddingV1::UserList] parsed result object
478
+ # @yieldparam err [StandardError] error object if request failed
479
+ #
480
+ # @return [Google::Apis::RealtimebiddingV1::UserList]
481
+ #
482
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
483
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
484
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
485
+ def get_buyer_user_list(name, fields: nil, quota_user: nil, options: nil, &block)
486
+ command = make_simple_command(:get, 'v1/{+name}', options)
487
+ command.response_representation = Google::Apis::RealtimebiddingV1::UserList::Representation
488
+ command.response_class = Google::Apis::RealtimebiddingV1::UserList
489
+ command.params['name'] = name unless name.nil?
490
+ command.query['fields'] = fields unless fields.nil?
491
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
492
+ execute_or_queue_command(command, &block)
493
+ end
494
+
495
+ # Gets remarketing tag for a buyer. A remarketing tag is a piece of
496
+ # JavaScript code that can be placed on a web page. When a user
497
+ # visits a page containing a remarketing tag, Google adds the user to a user
498
+ # list.
499
+ # @param [String] name
500
+ # Required. To fetch remarketing tag for an account, name must follow the
501
+ # pattern
502
+ # `buyers/`accountId`` where ``accountId``
503
+ # represents ID of a buyer that owns the remarketing tag. For a
504
+ # bidder accessing remarketing tag on behalf of a child seat buyer,
505
+ # ``accountId`` should represent the ID of the child seat buyer.
506
+ # To fetch remarketing tag for a specific user list, name
507
+ # must follow the pattern
508
+ # `buyers/`accountId`/userLists/`userListId``. See
509
+ # UserList.name.
510
+ # @param [String] fields
511
+ # Selector specifying which fields to include in a partial response.
512
+ # @param [String] quota_user
513
+ # Available to use for quota purposes for server-side applications. Can be any
514
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
515
+ # @param [Google::Apis::RequestOptions] options
516
+ # Request-specific options
517
+ #
518
+ # @yield [result, err] Result & error if block supplied
519
+ # @yieldparam result [Google::Apis::RealtimebiddingV1::GetRemarketingTagResponse] parsed result object
520
+ # @yieldparam err [StandardError] error object if request failed
521
+ #
522
+ # @return [Google::Apis::RealtimebiddingV1::GetRemarketingTagResponse]
523
+ #
524
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
525
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
526
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
527
+ def get_buyer_user_list_remarketing_tag(name, fields: nil, quota_user: nil, options: nil, &block)
528
+ command = make_simple_command(:get, 'v1/{+name}:getRemarketingTag', options)
529
+ command.response_representation = Google::Apis::RealtimebiddingV1::GetRemarketingTagResponse::Representation
530
+ command.response_class = Google::Apis::RealtimebiddingV1::GetRemarketingTagResponse
531
+ command.params['name'] = name unless name.nil?
532
+ command.query['fields'] = fields unless fields.nil?
533
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
534
+ execute_or_queue_command(command, &block)
535
+ end
536
+
537
+ # Lists the user lists visible to the current user.
538
+ # @param [String] parent
539
+ # Required. The name of the parent buyer for the user lists to be returned that
540
+ # must
541
+ # follow the pattern `buyers/`buyerAccountId``, where ``buyerAccountId``
542
+ # represents the account ID of the buyer who owns user lists. For a bidder
543
+ # accessing user lists on behalf of a child seat buyer , ``buyerAccountId``
544
+ # should represent the account ID of the child seat buyer.
545
+ # @param [Fixnum] page_size
546
+ # The number of results to return per page.
547
+ # @param [String] page_token
548
+ # Continuation page token (as received from a previous response).
549
+ # @param [String] fields
550
+ # Selector specifying which fields to include in a partial response.
551
+ # @param [String] quota_user
552
+ # Available to use for quota purposes for server-side applications. Can be any
553
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
554
+ # @param [Google::Apis::RequestOptions] options
555
+ # Request-specific options
556
+ #
557
+ # @yield [result, err] Result & error if block supplied
558
+ # @yieldparam result [Google::Apis::RealtimebiddingV1::ListUserListsResponse] parsed result object
559
+ # @yieldparam err [StandardError] error object if request failed
560
+ #
561
+ # @return [Google::Apis::RealtimebiddingV1::ListUserListsResponse]
562
+ #
563
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
564
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
565
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
566
+ def list_buyer_user_lists(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
567
+ command = make_simple_command(:get, 'v1/{+parent}/userLists', options)
568
+ command.response_representation = Google::Apis::RealtimebiddingV1::ListUserListsResponse::Representation
569
+ command.response_class = Google::Apis::RealtimebiddingV1::ListUserListsResponse
570
+ command.params['parent'] = parent unless parent.nil?
571
+ command.query['pageSize'] = page_size unless page_size.nil?
572
+ command.query['pageToken'] = page_token unless page_token.nil?
573
+ command.query['fields'] = fields unless fields.nil?
574
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
575
+ execute_or_queue_command(command, &block)
576
+ end
577
+
578
+ # Change the status of a user list to OPEN. This allows new users to be added
579
+ # to the user list.
580
+ # @param [String] name
581
+ # Required. The name of the user list to open.
582
+ # See UserList.name
583
+ # @param [Google::Apis::RealtimebiddingV1::OpenUserListRequest] open_user_list_request_object
584
+ # @param [String] fields
585
+ # Selector specifying which fields to include in a partial response.
586
+ # @param [String] quota_user
587
+ # Available to use for quota purposes for server-side applications. Can be any
588
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
589
+ # @param [Google::Apis::RequestOptions] options
590
+ # Request-specific options
591
+ #
592
+ # @yield [result, err] Result & error if block supplied
593
+ # @yieldparam result [Google::Apis::RealtimebiddingV1::UserList] parsed result object
594
+ # @yieldparam err [StandardError] error object if request failed
595
+ #
596
+ # @return [Google::Apis::RealtimebiddingV1::UserList]
597
+ #
598
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
599
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
600
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
601
+ def open_user_list(name, open_user_list_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
602
+ command = make_simple_command(:post, 'v1/{+name}:open', options)
603
+ command.request_representation = Google::Apis::RealtimebiddingV1::OpenUserListRequest::Representation
604
+ command.request_object = open_user_list_request_object
605
+ command.response_representation = Google::Apis::RealtimebiddingV1::UserList::Representation
606
+ command.response_class = Google::Apis::RealtimebiddingV1::UserList
607
+ command.params['name'] = name unless name.nil?
608
+ command.query['fields'] = fields unless fields.nil?
609
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
610
+ execute_or_queue_command(command, &block)
611
+ end
612
+
613
+ # Update the given user list. Only user lists with URLRestrictions can be
614
+ # updated.
615
+ # @param [String] name
616
+ # Output only. Name of the user list that must follow the pattern
617
+ # `buyers/`buyer`/userLists/`user_list``, where ``buyer`` represents
618
+ # the account ID of the buyer who owns the user list. For a bidder accessing
619
+ # user lists on behalf of a child seat buyer, ``buyer`` represents
620
+ # the account ID of the child seat buyer. ``user_list`` is an int64
621
+ # identifier assigned by Google to uniquely identify a user list.
622
+ # @param [Google::Apis::RealtimebiddingV1::UserList] user_list_object
623
+ # @param [String] fields
624
+ # Selector specifying which fields to include in a partial response.
625
+ # @param [String] quota_user
626
+ # Available to use for quota purposes for server-side applications. Can be any
627
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
628
+ # @param [Google::Apis::RequestOptions] options
629
+ # Request-specific options
630
+ #
631
+ # @yield [result, err] Result & error if block supplied
632
+ # @yieldparam result [Google::Apis::RealtimebiddingV1::UserList] parsed result object
633
+ # @yieldparam err [StandardError] error object if request failed
634
+ #
635
+ # @return [Google::Apis::RealtimebiddingV1::UserList]
636
+ #
637
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
638
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
639
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
640
+ def update_buyer_user_list(name, user_list_object = nil, fields: nil, quota_user: nil, options: nil, &block)
641
+ command = make_simple_command(:put, 'v1/{+name}', options)
642
+ command.request_representation = Google::Apis::RealtimebiddingV1::UserList::Representation
643
+ command.request_object = user_list_object
644
+ command.response_representation = Google::Apis::RealtimebiddingV1::UserList::Representation
645
+ command.response_class = Google::Apis::RealtimebiddingV1::UserList
646
+ command.params['name'] = name unless name.nil?
647
+ command.query['fields'] = fields unless fields.nil?
648
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
649
+ execute_or_queue_command(command, &block)
650
+ end
651
+
652
+ protected
653
+
654
+ def apply_command_defaults(command)
655
+ command.query['key'] = key unless key.nil?
656
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
657
+ end
658
+ end
659
+ end
660
+ end
661
+ end