google-api-client 0.42.1 → 0.43.0

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 (470) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +205 -0
  3. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
  4. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
  5. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
  6. data/generated/google/apis/accessapproval_v1.rb +1 -1
  7. data/generated/google/apis/accessapproval_v1/classes.rb +9 -0
  8. data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
  9. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +523 -653
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
  12. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  13. data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
  14. data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
  15. data/generated/google/apis/admob_v1.rb +1 -1
  16. data/generated/google/apis/admob_v1/classes.rb +139 -268
  17. data/generated/google/apis/admob_v1/service.rb +11 -13
  18. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  19. data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
  20. data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
  21. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  22. data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
  23. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  24. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +193 -220
  25. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
  26. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
  28. data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
  29. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  30. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  31. data/generated/google/apis/androidpublisher_v3/classes.rb +281 -342
  32. data/generated/google/apis/androidpublisher_v3/service.rb +125 -153
  33. data/generated/google/apis/apigee_v1.rb +6 -7
  34. data/generated/google/apis/apigee_v1/classes.rb +739 -1192
  35. data/generated/google/apis/apigee_v1/representations.rb +1 -2
  36. data/generated/google/apis/apigee_v1/service.rb +885 -1126
  37. data/generated/google/apis/appengine_v1.rb +1 -1
  38. data/generated/google/apis/appengine_v1/service.rb +6 -3
  39. data/generated/google/apis/appengine_v1beta.rb +1 -1
  40. data/generated/google/apis/appengine_v1beta/service.rb +6 -2
  41. data/generated/google/apis/appsmarket_v2.rb +1 -1
  42. data/generated/google/apis/bigquery_v2.rb +1 -1
  43. data/generated/google/apis/bigquery_v2/classes.rb +198 -3
  44. data/generated/google/apis/bigquery_v2/representations.rb +70 -0
  45. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  46. data/generated/google/apis/bigtableadmin_v1/classes.rb +267 -0
  47. data/generated/google/apis/bigtableadmin_v1/representations.rb +100 -0
  48. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  49. data/generated/google/apis/bigtableadmin_v2/classes.rb +355 -0
  50. data/generated/google/apis/bigtableadmin_v2/representations.rb +146 -0
  51. data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
  52. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  53. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +97 -118
  54. data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
  55. data/generated/google/apis/blogger_v2.rb +2 -3
  56. data/generated/google/apis/blogger_v2/classes.rb +1 -2
  57. data/generated/google/apis/blogger_v2/service.rb +1 -2
  58. data/generated/google/apis/blogger_v3.rb +2 -3
  59. data/generated/google/apis/blogger_v3/classes.rb +1 -2
  60. data/generated/google/apis/blogger_v3/service.rb +1 -2
  61. data/generated/google/apis/books_v1.rb +1 -1
  62. data/generated/google/apis/books_v1/classes.rb +140 -159
  63. data/generated/google/apis/books_v1/service.rb +47 -49
  64. data/generated/google/apis/chat_v1.rb +1 -1
  65. data/generated/google/apis/chat_v1/classes.rb +19 -0
  66. data/generated/google/apis/chat_v1/representations.rb +13 -0
  67. data/generated/google/apis/chat_v1/service.rb +39 -0
  68. data/generated/google/apis/chromeuxreport_v1.rb +1 -1
  69. data/generated/google/apis/chromeuxreport_v1/classes.rb +68 -57
  70. data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
  71. data/generated/google/apis/classroom_v1.rb +1 -1
  72. data/generated/google/apis/classroom_v1/classes.rb +250 -365
  73. data/generated/google/apis/classroom_v1/service.rb +643 -902
  74. data/generated/google/apis/cloudasset_v1.rb +1 -1
  75. data/generated/google/apis/cloudasset_v1/classes.rb +15 -11
  76. data/generated/google/apis/cloudasset_v1/service.rb +62 -45
  77. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  78. data/generated/google/apis/cloudasset_v1beta1/classes.rb +3 -1
  79. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  80. data/generated/google/apis/cloudasset_v1p5beta1.rb +34 -0
  81. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1539 -0
  82. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
  83. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +129 -0
  84. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  85. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  86. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  87. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  88. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +7 -0
  89. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
  90. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  91. data/generated/google/apis/cloudfunctions_v1/classes.rb +0 -45
  92. data/generated/google/apis/cloudfunctions_v1/representations.rb +0 -17
  93. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  94. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -754
  95. data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
  96. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  97. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
  98. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
  99. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  100. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
  101. data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
  102. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  103. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
  104. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
  105. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  106. data/generated/google/apis/cloudscheduler_v1/classes.rb +11 -0
  107. data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
  108. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  109. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +11 -0
  110. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
  111. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  112. data/generated/google/apis/cloudsearch_v1/classes.rb +1 -2
  113. data/generated/google/apis/cloudshell_v1.rb +1 -1
  114. data/generated/google/apis/cloudshell_v1/classes.rb +2 -2
  115. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  116. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -5
  117. data/generated/google/apis/compute_alpha.rb +1 -1
  118. data/generated/google/apis/compute_alpha/classes.rb +350 -20
  119. data/generated/google/apis/compute_alpha/representations.rb +100 -0
  120. data/generated/google/apis/compute_alpha/service.rb +15 -7
  121. data/generated/google/apis/compute_beta.rb +1 -1
  122. data/generated/google/apis/compute_beta/classes.rb +39 -14
  123. data/generated/google/apis/compute_beta/representations.rb +2 -0
  124. data/generated/google/apis/compute_beta/service.rb +15 -7
  125. data/generated/google/apis/compute_v1.rb +1 -1
  126. data/generated/google/apis/compute_v1/classes.rb +65 -42
  127. data/generated/google/apis/compute_v1/representations.rb +18 -15
  128. data/generated/google/apis/compute_v1/service.rb +63 -19
  129. data/generated/google/apis/container_v1.rb +1 -1
  130. data/generated/google/apis/container_v1/classes.rb +26 -0
  131. data/generated/google/apis/container_v1/representations.rb +15 -0
  132. data/generated/google/apis/content_v2.rb +1 -1
  133. data/generated/google/apis/content_v2/classes.rb +15 -0
  134. data/generated/google/apis/content_v2/representations.rb +1 -0
  135. data/generated/google/apis/content_v2_1.rb +1 -1
  136. data/generated/google/apis/content_v2_1/classes.rb +15 -0
  137. data/generated/google/apis/content_v2_1/representations.rb +1 -0
  138. data/generated/google/apis/customsearch_v1.rb +1 -1
  139. data/generated/google/apis/customsearch_v1/classes.rb +303 -488
  140. data/generated/google/apis/customsearch_v1/service.rb +186 -343
  141. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  142. data/generated/google/apis/datacatalog_v1beta1/classes.rb +6 -3
  143. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  144. data/generated/google/apis/dataflow_v1b3/classes.rb +2 -1
  145. data/generated/google/apis/datafusion_v1.rb +43 -0
  146. data/generated/google/apis/datafusion_v1/classes.rb +1154 -0
  147. data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +138 -94
  148. data/generated/google/apis/datafusion_v1/service.rb +680 -0
  149. data/generated/google/apis/dataproc_v1.rb +1 -1
  150. data/generated/google/apis/dataproc_v1/classes.rb +192 -316
  151. data/generated/google/apis/dataproc_v1/service.rb +134 -168
  152. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  153. data/generated/google/apis/dataproc_v1beta2/classes.rb +198 -317
  154. data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
  155. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  156. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  157. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  158. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  159. data/generated/google/apis/dfareporting_v3_4/classes.rb +421 -0
  160. data/generated/google/apis/dfareporting_v3_4/representations.rb +182 -0
  161. data/generated/google/apis/dialogflow_v2.rb +1 -1
  162. data/generated/google/apis/dialogflow_v2/classes.rb +1301 -1539
  163. data/generated/google/apis/dialogflow_v2/representations.rb +15 -0
  164. data/generated/google/apis/dialogflow_v2/service.rb +324 -444
  165. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  166. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1379 -1619
  167. data/generated/google/apis/dialogflow_v2beta1/representations.rb +15 -0
  168. data/generated/google/apis/dialogflow_v2beta1/service.rb +742 -990
  169. data/generated/google/apis/displayvideo_v1.rb +7 -1
  170. data/generated/google/apis/displayvideo_v1/classes.rb +1775 -1731
  171. data/generated/google/apis/displayvideo_v1/representations.rb +300 -0
  172. data/generated/google/apis/displayvideo_v1/service.rb +1277 -926
  173. data/generated/google/apis/dlp_v2.rb +1 -1
  174. data/generated/google/apis/dlp_v2/classes.rb +5 -4
  175. data/generated/google/apis/dns_v1.rb +1 -1
  176. data/generated/google/apis/dns_v1/classes.rb +7 -7
  177. data/generated/google/apis/dns_v1beta2.rb +1 -1
  178. data/generated/google/apis/dns_v1beta2/classes.rb +7 -7
  179. data/generated/google/apis/dns_v2beta1.rb +1 -1
  180. data/generated/google/apis/dns_v2beta1/classes.rb +7 -7
  181. data/generated/google/apis/domainsrdap_v1.rb +1 -1
  182. data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
  183. data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
  184. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  185. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
  186. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +4 -2
  187. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  188. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +196 -1
  189. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
  190. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +4 -2
  191. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  192. data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
  193. data/generated/google/apis/doubleclicksearch_v2/service.rb +3 -4
  194. data/generated/google/apis/drive_v2.rb +1 -1
  195. data/generated/google/apis/drive_v2/classes.rb +3 -1
  196. data/generated/google/apis/drive_v3.rb +1 -1
  197. data/generated/google/apis/drive_v3/classes.rb +9 -1
  198. data/generated/google/apis/drive_v3/representations.rb +1 -0
  199. data/generated/google/apis/driveactivity_v2.rb +1 -1
  200. data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
  201. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  202. data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
  203. data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
  204. data/generated/google/apis/fcm_v1.rb +1 -1
  205. data/generated/google/apis/fcm_v1/classes.rb +245 -393
  206. data/generated/google/apis/fcm_v1/service.rb +5 -6
  207. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  208. data/generated/google/apis/firebase_v1beta1/classes.rb +313 -351
  209. data/generated/google/apis/firebase_v1beta1/representations.rb +1 -0
  210. data/generated/google/apis/firebase_v1beta1/service.rb +356 -420
  211. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  212. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
  213. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
  214. data/generated/google/apis/firebasehosting_v1.rb +1 -1
  215. data/generated/google/apis/firebasehosting_v1/classes.rb +36 -40
  216. data/generated/google/apis/firebasehosting_v1/service.rb +19 -22
  217. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  218. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +148 -177
  219. data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -145
  220. data/generated/google/apis/firebaseml_v1.rb +1 -1
  221. data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
  222. data/generated/google/apis/firebaseml_v1/service.rb +19 -22
  223. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  224. data/generated/google/apis/firebaseml_v1beta2/classes.rb +67 -68
  225. data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
  226. data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
  227. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  228. data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
  229. data/generated/google/apis/games_management_v1management.rb +1 -1
  230. data/generated/google/apis/games_management_v1management/service.rb +2 -2
  231. data/generated/google/apis/games_v1.rb +1 -1
  232. data/generated/google/apis/games_v1/classes.rb +1 -1
  233. data/generated/google/apis/games_v1/service.rb +2 -2
  234. data/generated/google/apis/gameservices_v1.rb +1 -1
  235. data/generated/google/apis/gameservices_v1/classes.rb +344 -523
  236. data/generated/google/apis/gameservices_v1/service.rb +167 -207
  237. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  238. data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
  239. data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
  240. data/generated/google/apis/genomics_v1.rb +1 -1
  241. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  242. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  243. data/generated/google/apis/genomics_v2alpha1/classes.rb +3 -75
  244. data/generated/google/apis/genomics_v2alpha1/representations.rb +0 -27
  245. data/generated/google/apis/genomics_v2alpha1/service.rb +0 -34
  246. data/generated/google/apis/gmail_v1.rb +3 -3
  247. data/generated/google/apis/gmail_v1/classes.rb +216 -269
  248. data/generated/google/apis/gmail_v1/service.rb +257 -285
  249. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +4 -1
  250. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
  251. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +34 -40
  252. data/generated/google/apis/healthcare_v1.rb +1 -1
  253. data/generated/google/apis/healthcare_v1/service.rb +26 -14
  254. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  255. data/generated/google/apis/healthcare_v1beta1/classes.rb +85 -17
  256. data/generated/google/apis/healthcare_v1beta1/representations.rb +39 -0
  257. data/generated/google/apis/healthcare_v1beta1/service.rb +87 -16
  258. data/generated/google/apis/language_v1.rb +1 -1
  259. data/generated/google/apis/language_v1/classes.rb +93 -111
  260. data/generated/google/apis/language_v1/service.rb +4 -4
  261. data/generated/google/apis/language_v1beta1.rb +1 -1
  262. data/generated/google/apis/language_v1beta1/classes.rb +78 -90
  263. data/generated/google/apis/language_v1beta1/service.rb +2 -2
  264. data/generated/google/apis/language_v1beta2.rb +1 -1
  265. data/generated/google/apis/language_v1beta2/classes.rb +95 -112
  266. data/generated/google/apis/language_v1beta2/service.rb +4 -4
  267. data/generated/google/apis/libraryagent_v1.rb +1 -1
  268. data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
  269. data/generated/google/apis/libraryagent_v1/service.rb +13 -16
  270. data/generated/google/apis/logging_v2.rb +1 -1
  271. data/generated/google/apis/logging_v2/classes.rb +6 -6
  272. data/generated/google/apis/managedidentities_v1.rb +1 -1
  273. data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
  274. data/generated/google/apis/managedidentities_v1/service.rb +78 -99
  275. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  276. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +336 -457
  277. data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
  278. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  279. data/generated/google/apis/managedidentities_v1beta1/classes.rb +332 -456
  280. data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
  281. data/generated/google/apis/{cloudfunctions_v1beta2.rb → memcache_v1.rb} +10 -9
  282. data/generated/google/apis/memcache_v1/classes.rb +1157 -0
  283. data/generated/google/apis/memcache_v1/representations.rb +471 -0
  284. data/generated/google/apis/{cloudfunctions_v1beta2 → memcache_v1}/service.rb +268 -196
  285. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  286. data/generated/google/apis/memcache_v1beta2/classes.rb +41 -502
  287. data/generated/google/apis/memcache_v1beta2/representations.rb +9 -110
  288. data/generated/google/apis/memcache_v1beta2/service.rb +0 -119
  289. data/generated/google/apis/monitoring_v1.rb +1 -1
  290. data/generated/google/apis/monitoring_v1/classes.rb +14 -12
  291. data/generated/google/apis/monitoring_v3.rb +1 -1
  292. data/generated/google/apis/monitoring_v3/classes.rb +36 -18
  293. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  294. data/generated/google/apis/monitoring_v3/service.rb +5 -4
  295. data/generated/google/apis/osconfig_v1.rb +1 -1
  296. data/generated/google/apis/osconfig_v1/classes.rb +796 -0
  297. data/generated/google/apis/osconfig_v1/representations.rb +372 -0
  298. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  299. data/generated/google/apis/osconfig_v1beta/classes.rb +75 -0
  300. data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
  301. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  302. data/generated/google/apis/people_v1.rb +1 -1
  303. data/generated/google/apis/people_v1/classes.rb +382 -401
  304. data/generated/google/apis/people_v1/representations.rb +57 -0
  305. data/generated/google/apis/people_v1/service.rb +169 -385
  306. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  307. data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
  308. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  309. data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
  310. data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
  311. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  312. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
  313. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
  314. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  315. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +122 -219
  316. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +0 -32
  317. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -526
  318. data/generated/google/apis/pubsub_v1.rb +1 -1
  319. data/generated/google/apis/pubsub_v1/classes.rb +21 -0
  320. data/generated/google/apis/pubsub_v1/representations.rb +2 -0
  321. data/generated/google/apis/realtimebidding_v1.rb +1 -4
  322. data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
  323. data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
  324. data/generated/google/apis/recommendationengine_v1beta1.rb +2 -2
  325. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +10 -8
  326. data/generated/google/apis/recommendationengine_v1beta1/service.rb +1 -1
  327. data/generated/google/apis/recommender_v1.rb +1 -1
  328. data/generated/google/apis/recommender_v1/classes.rb +76 -100
  329. data/generated/google/apis/recommender_v1/service.rb +43 -58
  330. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  331. data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
  332. data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
  333. data/generated/google/apis/redis_v1.rb +1 -1
  334. data/generated/google/apis/redis_v1/classes.rb +397 -0
  335. data/generated/google/apis/redis_v1/representations.rb +139 -0
  336. data/generated/google/apis/redis_v1beta1.rb +1 -1
  337. data/generated/google/apis/redis_v1beta1/classes.rb +397 -0
  338. data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
  339. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  340. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  341. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  342. data/generated/google/apis/run_v1.rb +1 -1
  343. data/generated/google/apis/run_v1/classes.rb +835 -1248
  344. data/generated/google/apis/run_v1/service.rb +233 -247
  345. data/generated/google/apis/run_v1alpha1.rb +1 -1
  346. data/generated/google/apis/run_v1alpha1/classes.rb +934 -1331
  347. data/generated/google/apis/run_v1alpha1/service.rb +321 -377
  348. data/generated/google/apis/run_v1beta1.rb +1 -1
  349. data/generated/google/apis/run_v1beta1/classes.rb +209 -276
  350. data/generated/google/apis/run_v1beta1/service.rb +16 -18
  351. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  352. data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
  353. data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
  354. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  355. data/generated/google/apis/sasportal_v1alpha1/classes.rb +122 -219
  356. data/generated/google/apis/sasportal_v1alpha1/representations.rb +0 -32
  357. data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -526
  358. data/generated/google/apis/searchconsole_v1.rb +1 -1
  359. data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
  360. data/generated/google/apis/securitycenter_v1.rb +1 -1
  361. data/generated/google/apis/securitycenter_v1/classes.rb +574 -826
  362. data/generated/google/apis/securitycenter_v1/service.rb +250 -332
  363. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  364. data/generated/google/apis/securitycenter_v1beta1/classes.rb +521 -746
  365. data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
  366. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  367. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +176 -208
  368. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +21 -25
  369. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  370. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +545 -791
  371. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +247 -330
  372. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  373. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1150 -1784
  374. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +114 -141
  375. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  376. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1137 -1774
  377. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
  378. data/generated/google/apis/servicecontrol_v2.rb +38 -0
  379. data/generated/google/apis/servicecontrol_v2/classes.rb +1121 -0
  380. data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
  381. data/generated/google/apis/servicecontrol_v2/service.rb +165 -0
  382. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  383. data/generated/google/apis/servicemanagement_v1/classes.rb +49 -1
  384. data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
  385. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  386. data/generated/google/apis/servicenetworking_v1/classes.rb +1119 -1758
  387. data/generated/google/apis/servicenetworking_v1/service.rb +94 -114
  388. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  389. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1065 -1684
  390. data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
  391. data/generated/google/apis/serviceusage_v1.rb +1 -1
  392. data/generated/google/apis/serviceusage_v1/classes.rb +1140 -1823
  393. data/generated/google/apis/serviceusage_v1/service.rb +63 -80
  394. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  395. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1235 -1986
  396. data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
  397. data/generated/google/apis/spanner_v1.rb +1 -1
  398. data/generated/google/apis/spanner_v1/classes.rb +3 -2
  399. data/generated/google/apis/sql_v1beta4.rb +1 -1
  400. data/generated/google/apis/sql_v1beta4/classes.rb +207 -200
  401. data/generated/google/apis/sql_v1beta4/representations.rb +2 -1
  402. data/generated/google/apis/sql_v1beta4/service.rb +2 -2
  403. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  404. data/generated/google/apis/storagetransfer_v1/classes.rb +8 -10
  405. data/generated/google/apis/storagetransfer_v1/service.rb +26 -2
  406. data/generated/google/apis/tagmanager_v1.rb +2 -3
  407. data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
  408. data/generated/google/apis/tagmanager_v1/service.rb +20 -21
  409. data/generated/google/apis/tagmanager_v2.rb +2 -3
  410. data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
  411. data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
  412. data/generated/google/apis/tagmanager_v2/service.rb +187 -283
  413. data/generated/google/apis/testing_v1.rb +1 -1
  414. data/generated/google/apis/testing_v1/classes.rb +63 -0
  415. data/generated/google/apis/testing_v1/representations.rb +32 -0
  416. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  417. data/generated/google/apis/toolresults_v1beta3/classes.rb +671 -928
  418. data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
  419. data/generated/google/apis/toolresults_v1beta3/service.rb +522 -640
  420. data/generated/google/apis/tpu_v1.rb +1 -1
  421. data/generated/google/apis/tpu_v1/classes.rb +68 -78
  422. data/generated/google/apis/tpu_v1/service.rb +21 -25
  423. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  424. data/generated/google/apis/tpu_v1alpha1/classes.rb +68 -78
  425. data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
  426. data/generated/google/apis/translate_v3.rb +1 -1
  427. data/generated/google/apis/translate_v3/service.rb +14 -1
  428. data/generated/google/apis/translate_v3beta1.rb +1 -1
  429. data/generated/google/apis/translate_v3beta1/service.rb +14 -1
  430. data/generated/google/apis/vision_v1.rb +1 -1
  431. data/generated/google/apis/vision_v1/classes.rb +1304 -1870
  432. data/generated/google/apis/vision_v1/service.rb +254 -340
  433. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  434. data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1790
  435. data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
  436. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  437. data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1790
  438. data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
  439. data/generated/google/apis/webfonts_v1.rb +1 -1
  440. data/generated/google/apis/webfonts_v1/service.rb +2 -2
  441. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  442. data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
  443. data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
  444. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  445. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
  446. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
  447. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  448. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
  449. data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
  450. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  451. data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
  452. data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
  453. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  454. data/generated/google/apis/youtube_partner_v1/classes.rb +637 -761
  455. data/generated/google/apis/youtube_partner_v1/service.rb +521 -661
  456. data/generated/google/apis/youtube_v3.rb +1 -1
  457. data/generated/google/apis/youtube_v3/classes.rb +943 -1175
  458. data/generated/google/apis/youtube_v3/representations.rb +1 -0
  459. data/generated/google/apis/youtube_v3/service.rb +1007 -1316
  460. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  461. data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
  462. data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
  463. data/lib/google/apis/core/base_service.rb +7 -1
  464. data/lib/google/apis/version.rb +1 -1
  465. metadata +19 -11
  466. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -848
  467. data/generated/google/apis/fitness_v1.rb +0 -85
  468. data/generated/google/apis/fitness_v1/classes.rb +0 -1020
  469. data/generated/google/apis/fitness_v1/representations.rb +0 -398
  470. data/generated/google/apis/fitness_v1/service.rb +0 -647
@@ -48,10 +48,47 @@ module Google
48
48
  @batch_path = 'batch'
49
49
  end
50
50
 
51
- # Bulk edits targeting options under a single advertiser.
52
- # The operation will delete the assigned targeting options provided in
53
- # BulkEditAdvertiserAssignedTargetingOptionsRequest.delete_requests and
54
- # then create the assigned targeting options provided in
51
+ # Audits an advertiser. Returns the counts of used entities per resource type
52
+ # under the advertiser provided. Used entities count towards their [respective
53
+ # resource limit]: (https://support.google.com/displayvideo/answer/6071450?hl=en)
54
+ # @param [Fixnum] advertiser_id
55
+ # Required. The ID of the advertiser to audit.
56
+ # @param [String] read_mask
57
+ # Optional. The specific fields to return. If no mask is specified, all fields
58
+ # in the response proto will be filled. Valid values are: * usedLineItemsCount *
59
+ # usedInsertionOrdersCount * usedCampaignsCount
60
+ # @param [String] fields
61
+ # Selector specifying which fields to include in a partial response.
62
+ # @param [String] quota_user
63
+ # Available to use for quota purposes for server-side applications. Can be any
64
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
65
+ # @param [Google::Apis::RequestOptions] options
66
+ # Request-specific options
67
+ #
68
+ # @yield [result, err] Result & error if block supplied
69
+ # @yieldparam result [Google::Apis::DisplayvideoV1::AuditAdvertiserResponse] parsed result object
70
+ # @yieldparam err [StandardError] error object if request failed
71
+ #
72
+ # @return [Google::Apis::DisplayvideoV1::AuditAdvertiserResponse]
73
+ #
74
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
75
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
76
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
77
+ def audit_advertiser(advertiser_id, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
78
+ command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}:audit', options)
79
+ command.response_representation = Google::Apis::DisplayvideoV1::AuditAdvertiserResponse::Representation
80
+ command.response_class = Google::Apis::DisplayvideoV1::AuditAdvertiserResponse
81
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
82
+ command.query['readMask'] = read_mask unless read_mask.nil?
83
+ command.query['fields'] = fields unless fields.nil?
84
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
85
+ execute_or_queue_command(command, &block)
86
+ end
87
+
88
+ # Bulk edits targeting options under a single advertiser. The operation will
89
+ # delete the assigned targeting options provided in
90
+ # BulkEditAdvertiserAssignedTargetingOptionsRequest.delete_requests and then
91
+ # create the assigned targeting options provided in
55
92
  # BulkEditAdvertiserAssignedTargetingOptionsRequest.create_requests .
56
93
  # @param [Fixnum] advertiser_id
57
94
  # Required. The ID of the advertiser.
@@ -89,37 +126,27 @@ module Google
89
126
  # @param [Fixnum] advertiser_id
90
127
  # Required. The ID of the advertiser the line item belongs to.
91
128
  # @param [String] filter
92
- # Allows filtering by assigned targeting option properties.
93
- # Supported syntax:
94
- # * Filter expressions are made up of one or more restrictions.
95
- # * Restrictions can be combined by the logical operator `OR`..
96
- # * A restriction has the form of ``field` `operator` `value``.
97
- # * The operator must be `EQUALS (=)`.
98
- # * Supported fields:
99
- # - `targetingType`
100
- # Examples:
101
- # * targetingType with value TARGETING_TYPE_CHANNEL
102
- # `targetingType="TARGETING_TYPE_CHANNEL"`
103
- # The length of this field should be no more than 500 characters.
129
+ # Allows filtering by assigned targeting option properties. Supported syntax: *
130
+ # Filter expressions are made up of one or more restrictions. * Restrictions can
131
+ # be combined by the logical operator `OR`.. * A restriction has the form of ``
132
+ # field` `operator` `value``. * The operator must be `EQUALS (=)`. * Supported
133
+ # fields: - `targetingType` Examples: * targetingType with value
134
+ # TARGETING_TYPE_CHANNEL `targetingType="TARGETING_TYPE_CHANNEL"` The length of
135
+ # this field should be no more than 500 characters.
104
136
  # @param [String] order_by
105
- # Field by which to sort the list.
106
- # Acceptable values are:
107
- # * `targetingType` (default)
108
- # The default sorting order is ascending. To specify descending order for
109
- # a field, a suffix "desc" should be added to the field name. Example:
110
- # `targetingType desc`.
137
+ # Field by which to sort the list. Acceptable values are: * `targetingType` (
138
+ # default) The default sorting order is ascending. To specify descending order
139
+ # for a field, a suffix "desc" should be added to the field name. Example: `
140
+ # targetingType desc`.
111
141
  # @param [Fixnum] page_size
112
- # Requested page size.
113
- # The size must be an integer between `1` and `5000`. If unspecified,
114
- # the default is '5000'. Returns error code `INVALID_ARGUMENT` if an invalid
115
- # value is specified.
142
+ # Requested page size. The size must be an integer between `1` and `5000`. If
143
+ # unspecified, the default is '5000'. Returns error code `INVALID_ARGUMENT` if
144
+ # an invalid value is specified.
116
145
  # @param [String] page_token
117
- # A token that lets the client fetch the next page of results.
118
- # Typically, this is the value of
119
- # next_page_token
120
- # returned from the previous call to
121
- # `BulkListAdvertiserAssignedTargetingOptions` method.
122
- # If not specified, the first page of results will be returned.
146
+ # A token that lets the client fetch the next page of results. Typically, this
147
+ # is the value of next_page_token returned from the previous call to `
148
+ # BulkListAdvertiserAssignedTargetingOptions` method. If not specified, the
149
+ # first page of results will be returned.
123
150
  # @param [String] fields
124
151
  # Selector specifying which fields to include in a partial response.
125
152
  # @param [String] quota_user
@@ -151,8 +178,7 @@ module Google
151
178
  execute_or_queue_command(command, &block)
152
179
  end
153
180
 
154
- # Creates a new advertiser.
155
- # Returns the newly created advertiser if successful.
181
+ # Creates a new advertiser. Returns the newly created advertiser if successful.
156
182
  # This method can take up to 180 seconds to complete.
157
183
  # @param [Google::Apis::DisplayvideoV1::Advertiser] advertiser_object
158
184
  # @param [String] fields
@@ -183,10 +209,9 @@ module Google
183
209
  execute_or_queue_command(command, &block)
184
210
  end
185
211
 
186
- # Deletes an advertiser.
187
- # Deleting an advertiser will delete all of its child resources, for example,
188
- # campaigns, insertion orders and line items.
189
- # A deleted advertiser cannot be recovered.
212
+ # Deletes an advertiser. Deleting an advertiser will delete all of its child
213
+ # resources, for example, campaigns, insertion orders and line items. A deleted
214
+ # advertiser cannot be recovered.
190
215
  # @param [Fixnum] advertiser_id
191
216
  # The ID of the advertiser we need to delete.
192
217
  # @param [String] fields
@@ -246,46 +271,34 @@ module Google
246
271
  execute_or_queue_command(command, &block)
247
272
  end
248
273
 
249
- # Lists advertisers that are accessible to the current user.
250
- # The order is defined by the order_by
251
- # parameter.
252
- # A single partner_id is required.
253
- # Cross-partner listing is not supported.
274
+ # Lists advertisers that are accessible to the current user. The order is
275
+ # defined by the order_by parameter. A single partner_id is required. Cross-
276
+ # partner listing is not supported.
254
277
  # @param [String] filter
255
- # Allows filtering by advertiser properties.
256
- # Supported syntax:
257
- # * Filter expressions are made up of one or more restrictions.
258
- # * Restrictions can be combined by `AND` or `OR` logical operators. A
259
- # sequence of restrictions implicitly uses `AND`.
260
- # * A restriction has the form of ``field` `operator` `value``.
261
- # * The operator must be `EQUALS (=)`.
262
- # * Supported fields:
263
- # - `entityStatus`
264
- # Examples:
265
- # * All active advertisers under a partner:
266
- # `entityStatus="ENTITY_STATUS_ACTIVE"`
267
- # The length of this field should be no more than 500 characters.
278
+ # Allows filtering by advertiser properties. Supported syntax: * Filter
279
+ # expressions are made up of one or more restrictions. * Restrictions can be
280
+ # combined by `AND` or `OR` logical operators. A sequence of restrictions
281
+ # implicitly uses `AND`. * A restriction has the form of ``field` `operator` `
282
+ # value``. * The operator must be `EQUALS (=)`. * Supported fields: - `
283
+ # entityStatus` Examples: * All active advertisers under a partner: `
284
+ # entityStatus="ENTITY_STATUS_ACTIVE"` The length of this field should be no
285
+ # more than 500 characters.
268
286
  # @param [String] order_by
269
- # Field by which to sort the list.
270
- # Acceptable values are:
271
- # * `displayName` (default)
272
- # * `entityStatus`
273
- # The default sorting order is ascending. To specify descending order for
274
- # a field, a suffix "desc" should be added to the field name. For example,
275
- # `displayName desc`.
287
+ # Field by which to sort the list. Acceptable values are: * `displayName` (
288
+ # default) * `entityStatus` The default sorting order is ascending. To specify
289
+ # descending order for a field, a suffix "desc" should be added to the field
290
+ # name. For example, `displayName desc`.
276
291
  # @param [Fixnum] page_size
277
292
  # Requested page size. Must be between `1` and `100`. If unspecified will
278
293
  # default to `100`.
279
294
  # @param [String] page_token
280
- # A token identifying a page of results the server should return.
281
- # Typically, this is the value of
282
- # next_page_token
283
- # returned from the previous call to `ListAdvertisers` method.
284
- # If not specified, the first page of results will be returned.
295
+ # A token identifying a page of results the server should return. Typically,
296
+ # this is the value of next_page_token returned from the previous call to `
297
+ # ListAdvertisers` method. If not specified, the first page of results will be
298
+ # returned.
285
299
  # @param [Fixnum] partner_id
286
300
  # Required. The ID of the partner that the fetched advertisers should all belong
287
- # to.
288
- # The system only supports listing advertisers for one partner at a time.
301
+ # to. The system only supports listing advertisers for one partner at a time.
289
302
  # @param [String] fields
290
303
  # Selector specifying which fields to include in a partial response.
291
304
  # @param [String] quota_user
@@ -317,8 +330,7 @@ module Google
317
330
  execute_or_queue_command(command, &block)
318
331
  end
319
332
 
320
- # Updates an existing advertiser.
321
- # Returns the updated advertiser if successful.
333
+ # Updates an existing advertiser. Returns the updated advertiser if successful.
322
334
  # @param [Fixnum] advertiser_id
323
335
  # Output only. The unique ID of the advertiser. Assigned by the system.
324
336
  # @param [Google::Apis::DisplayvideoV1::Advertiser] advertiser_object
@@ -354,10 +366,9 @@ module Google
354
366
  execute_or_queue_command(command, &block)
355
367
  end
356
368
 
357
- # Uploads an asset.
358
- # Returns the ID of the newly uploaded asset if successful.
359
- # The asset file size should be no more than 10 MB for images, 200 MB for
360
- # ZIP files, and 1 GB for videos.
369
+ # Uploads an asset. Returns the ID of the newly uploaded asset if successful.
370
+ # The asset file size should be no more than 10 MB for images, 200 MB for ZIP
371
+ # files, and 1 GB for videos.
361
372
  # @param [Fixnum] advertiser_id
362
373
  # Required. The ID of the advertiser this asset belongs to.
363
374
  # @param [Google::Apis::DisplayvideoV1::CreateAssetRequest] create_asset_request_object
@@ -400,8 +411,7 @@ module Google
400
411
  execute_or_queue_command(command, &block)
401
412
  end
402
413
 
403
- # Creates a new campaign.
404
- # Returns the newly created campaign if successful.
414
+ # Creates a new campaign. Returns the newly created campaign if successful.
405
415
  # @param [Fixnum] advertiser_id
406
416
  # Output only. The unique ID of the advertiser the campaign belongs to.
407
417
  # @param [Google::Apis::DisplayvideoV1::Campaign] campaign_object
@@ -434,10 +444,9 @@ module Google
434
444
  execute_or_queue_command(command, &block)
435
445
  end
436
446
 
437
- # Permanently deletes a campaign. A deleted campaign cannot be recovered.
438
- # The campaign should be archived first, i.e. set
439
- # entity_status to `ENTITY_STATUS_ARCHIVED`, to be
440
- # able to delete it.
447
+ # Permanently deletes a campaign. A deleted campaign cannot be recovered. The
448
+ # campaign should be archived first, i.e. set entity_status to `
449
+ # ENTITY_STATUS_ARCHIVED`, to be able to delete it.
441
450
  # @param [Fixnum] advertiser_id
442
451
  # The ID of the advertiser this campaign belongs to.
443
452
  # @param [Fixnum] campaign_id
@@ -503,47 +512,34 @@ module Google
503
512
  execute_or_queue_command(command, &block)
504
513
  end
505
514
 
506
- # Lists campaigns in an advertiser.
507
- # The order is defined by the order_by
508
- # parameter.
509
- # If a filter by
510
- # entity_status is not specified, campaigns with
511
- # `ENTITY_STATUS_ARCHIVED` will not be included in the results.
515
+ # Lists campaigns in an advertiser. The order is defined by the order_by
516
+ # parameter. If a filter by entity_status is not specified, campaigns with `
517
+ # ENTITY_STATUS_ARCHIVED` will not be included in the results.
512
518
  # @param [Fixnum] advertiser_id
513
519
  # The ID of the advertiser to list campaigns for.
514
520
  # @param [String] filter
515
- # Allows filtering by campaign properties.
516
- # Supported syntax:
517
- # * Filter expressions are made up of one or more restrictions.
518
- # * Restrictions can be combined by `AND` or `OR` logical operators. A
519
- # sequence of restrictions implicitly uses `AND`.
520
- # * A restriction has the form of ``field` `operator` `value``.
521
- # * The operator must be `EQUALS (=)`.
522
- # * Supported fields:
523
- # - `entityStatus`
524
- # Examples:
525
- # * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` campaigns under an
526
- # advertiser:
527
- # `(entityStatus="ENTITY_STATUS_ACTIVE" OR
528
- # entityStatus="ENTITY_STATUS_PAUSED")`
529
- # The length of this field should be no more than 500 characters.
521
+ # Allows filtering by campaign properties. Supported syntax: * Filter
522
+ # expressions are made up of one or more restrictions. * Restrictions can be
523
+ # combined by `AND` or `OR` logical operators. A sequence of restrictions
524
+ # implicitly uses `AND`. * A restriction has the form of ``field` `operator` `
525
+ # value``. * The operator must be `EQUALS (=)`. * Supported fields: - `
526
+ # entityStatus` Examples: * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED`
527
+ # campaigns under an advertiser: `(entityStatus="ENTITY_STATUS_ACTIVE" OR
528
+ # entityStatus="ENTITY_STATUS_PAUSED")` The length of this field should be no
529
+ # more than 500 characters.
530
530
  # @param [String] order_by
531
- # Field by which to sort the list.
532
- # Acceptable values are:
533
- # * `displayName` (default)
534
- # * `entityStatus`
535
- # The default sorting order is ascending. To specify descending order for
536
- # a field, a suffix "desc" should be added to the field name. Example:
537
- # `displayName desc`.
531
+ # Field by which to sort the list. Acceptable values are: * `displayName` (
532
+ # default) * `entityStatus` The default sorting order is ascending. To specify
533
+ # descending order for a field, a suffix "desc" should be added to the field
534
+ # name. Example: `displayName desc`.
538
535
  # @param [Fixnum] page_size
539
536
  # Requested page size. Must be between `1` and `100`. If unspecified will
540
537
  # default to `100`.
541
538
  # @param [String] page_token
542
- # A token identifying a page of results the server should return.
543
- # Typically, this is the value of
544
- # next_page_token returned from the
545
- # previous call to `ListCampaigns` method. If not specified, the first page
546
- # of results will be returned.
539
+ # A token identifying a page of results the server should return. Typically,
540
+ # this is the value of next_page_token returned from the previous call to `
541
+ # ListCampaigns` method. If not specified, the first page of results will be
542
+ # returned.
547
543
  # @param [String] fields
548
544
  # Selector specifying which fields to include in a partial response.
549
545
  # @param [String] quota_user
@@ -575,8 +571,7 @@ module Google
575
571
  execute_or_queue_command(command, &block)
576
572
  end
577
573
 
578
- # Updates an existing campaign.
579
- # Returns the updated campaign if successful.
574
+ # Updates an existing campaign. Returns the updated campaign if successful.
580
575
  # @param [Fixnum] advertiser_id
581
576
  # Output only. The unique ID of the advertiser the campaign belongs to.
582
577
  # @param [Fixnum] campaign_id
@@ -691,36 +686,26 @@ module Google
691
686
  # @param [Fixnum] advertiser_id
692
687
  # The ID of the advertiser that owns the channels.
693
688
  # @param [String] filter
694
- # Allows filtering by channel fields.
695
- # Supported syntax:
696
- # * Filter expressions for channel currently can only contain at most one
697
- # * restriction.
698
- # * A restriction has the form of ``field` `operator` `value``.
699
- # * The operator must be `CONTAINS (:)`.
700
- # * Supported fields:
701
- # - `displayName`
702
- # Examples:
703
- # * All channels for which the display name contains "google":
704
- # `displayName : "google"`.
705
- # The length of this field should be no more than 500 characters.
689
+ # Allows filtering by channel fields. Supported syntax: * Filter expressions for
690
+ # channel currently can only contain at most one * restriction. * A restriction
691
+ # has the form of ``field` `operator` `value``. * The operator must be `CONTAINS
692
+ # (:)`. * Supported fields: - `displayName` Examples: * All channels for which
693
+ # the display name contains "google": `displayName : "google"`. The length of
694
+ # this field should be no more than 500 characters.
706
695
  # @param [String] order_by
707
- # Field by which to sort the list.
708
- # Acceptable values are:
709
- # * `displayName` (default)
710
- # * `channelId`
711
- # The default sorting order is ascending. To specify descending order for a
712
- # field, a suffix " desc" should be added to the field name. Example:
713
- # `displayName desc`.
696
+ # Field by which to sort the list. Acceptable values are: * `displayName` (
697
+ # default) * `channelId` The default sorting order is ascending. To specify
698
+ # descending order for a field, a suffix " desc" should be added to the field
699
+ # name. Example: `displayName desc`.
714
700
  # @param [Fixnum] page_size
715
701
  # Requested page size. Must be between `1` and `100`. If unspecified will
716
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
717
- # is specified.
702
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
703
+ # specified.
718
704
  # @param [String] page_token
719
- # A token identifying a page of results the server should return.
720
- # Typically, this is the value of
721
- # next_page_token returned from the
722
- # previous call to `ListChannels` method. If not specified, the first page
723
- # of results will be returned.
705
+ # A token identifying a page of results the server should return. Typically,
706
+ # this is the value of next_page_token returned from the previous call to `
707
+ # ListChannels` method. If not specified, the first page of results will be
708
+ # returned.
724
709
  # @param [Fixnum] partner_id
725
710
  # The ID of the partner that owns the channels.
726
711
  # @param [String] fields
@@ -797,9 +782,8 @@ module Google
797
782
  execute_or_queue_command(command, &block)
798
783
  end
799
784
 
800
- # Bulk edits sites under a single channel.
801
- # The operation will delete the sites provided in
802
- # BulkEditSitesRequest.deleted_sites and then create the sites
785
+ # Bulk edits sites under a single channel. The operation will delete the sites
786
+ # provided in BulkEditSitesRequest.deleted_sites and then create the sites
803
787
  # provided in BulkEditSitesRequest.created_sites.
804
788
  # @param [Fixnum] advertiser_id
805
789
  # The ID of the advertiser that owns the parent channel.
@@ -920,34 +904,25 @@ module Google
920
904
  # @param [Fixnum] channel_id
921
905
  # Required. The ID of the parent channel to which the requested sites belong.
922
906
  # @param [String] filter
923
- # Allows filtering by site fields.
924
- # Supported syntax:
925
- # * Filter expressions for site currently can only contain at most one
926
- # * restriction.
927
- # * A restriction has the form of ``field` `operator` `value``.
928
- # * The operator must be `CONTAINS (:)`.
929
- # * Supported fields:
930
- # - `urlOrAppId`
931
- # Examples:
932
- # * All sites for which the URL or app ID contains "google":
933
- # `urlOrAppId : "google"`
907
+ # Allows filtering by site fields. Supported syntax: * Filter expressions for
908
+ # site currently can only contain at most one * restriction. * A restriction has
909
+ # the form of ``field` `operator` `value``. * The operator must be `CONTAINS (:)`
910
+ # . * Supported fields: - `urlOrAppId` Examples: * All sites for which the URL
911
+ # or app ID contains "google": `urlOrAppId : "google"`
934
912
  # @param [String] order_by
935
- # Field by which to sort the list.
936
- # Acceptable values are:
937
- # * `urlOrAppId` (default)
938
- # The default sorting order is ascending. To specify descending order for a
939
- # field, a suffix " desc" should be added to the field name. Example:
940
- # `urlOrAppId desc`.
913
+ # Field by which to sort the list. Acceptable values are: * `urlOrAppId` (
914
+ # default) The default sorting order is ascending. To specify descending order
915
+ # for a field, a suffix " desc" should be added to the field name. Example: `
916
+ # urlOrAppId desc`.
941
917
  # @param [Fixnum] page_size
942
918
  # Requested page size. Must be between `1` and `100`. If unspecified will
943
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
944
- # is specified.
919
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
920
+ # specified.
945
921
  # @param [String] page_token
946
- # A token identifying a page of results the server should return.
947
- # Typically, this is the value of
948
- # next_page_token returned from the
949
- # previous call to `ListSites` method. If not specified, the first page
950
- # of results will be returned.
922
+ # A token identifying a page of results the server should return. Typically,
923
+ # this is the value of next_page_token returned from the previous call to `
924
+ # ListSites` method. If not specified, the first page of results will be
925
+ # returned.
951
926
  # @param [Fixnum] partner_id
952
927
  # The ID of the partner that owns the parent channel.
953
928
  # @param [String] fields
@@ -983,8 +958,7 @@ module Google
983
958
  execute_or_queue_command(command, &block)
984
959
  end
985
960
 
986
- # Creates a new creative.
987
- # Returns the newly created creative if successful.
961
+ # Creates a new creative. Returns the newly created creative if successful.
988
962
  # @param [Fixnum] advertiser_id
989
963
  # Output only. The unique ID of the advertiser the creative belongs to.
990
964
  # @param [Google::Apis::DisplayvideoV1::Creative] creative_object
@@ -1017,11 +991,9 @@ module Google
1017
991
  execute_or_queue_command(command, &block)
1018
992
  end
1019
993
 
1020
- # Deletes a creative.
1021
- # Returns error code `NOT_FOUND` if the creative does not exist.
1022
- # The creative should be archived first, i.e. set
1023
- # entity_status to `ENTITY_STATUS_ARCHIVED`, before
1024
- # it can be deleted.
994
+ # Deletes a creative. Returns error code `NOT_FOUND` if the creative does not
995
+ # exist. The creative should be archived first, i.e. set entity_status to `
996
+ # ENTITY_STATUS_ARCHIVED`, before it can be deleted.
1025
997
  # @param [Fixnum] advertiser_id
1026
998
  # The ID of the advertiser this creative belongs to.
1027
999
  # @param [Fixnum] creative_id
@@ -1087,81 +1059,55 @@ module Google
1087
1059
  execute_or_queue_command(command, &block)
1088
1060
  end
1089
1061
 
1090
- # Lists creatives in an advertiser.
1091
- # The order is defined by the order_by
1092
- # parameter.
1093
- # If a filter by
1094
- # entity_status is not specified, creatives with
1095
- # `ENTITY_STATUS_ARCHIVED` will not be included in the results.
1062
+ # Lists creatives in an advertiser. The order is defined by the order_by
1063
+ # parameter. If a filter by entity_status is not specified, creatives with `
1064
+ # ENTITY_STATUS_ARCHIVED` will not be included in the results.
1096
1065
  # @param [Fixnum] advertiser_id
1097
1066
  # Required. The ID of the advertiser to list creatives for.
1098
1067
  # @param [String] filter
1099
- # Allows filtering by creative properties.
1100
- # Supported syntax:
1101
- # * Filter expressions are made up of one or more restrictions.
1102
- # * Restriction for the same field must be combined by `OR`.
1103
- # * Restriction for different fields must be combined by `AND`.
1104
- # * Between `(` and `)` there can only be restrictions combined by `OR`
1105
- # for the same field.
1106
- # * A restriction has the form of ``field` `operator` `value``.
1107
- # * The operator must be `EQUALS (=)` for the following fields:
1108
- # - `entityStatus`
1109
- # - `creativeType`.
1110
- # - `dimensions`
1111
- # - `minDuration`
1112
- # - `maxDuration`
1113
- # - `approvalStatus`
1114
- # - `exchangeReviewStatus`
1115
- # - `dynamic`
1116
- # - `creativeId`
1117
- # * The operator must be `HAS (:)` for the following fields:
1118
- # - `lineItemIds`
1119
- # * For `entityStatus`, `minDuration`, `maxDuration`, and `dynamic` there may
1120
- # be at most one restriction.
1121
- # * For `dimensions`, the value is in the form of `"`width`x`height`"`.
1122
- # * For `exchangeReviewStatus`, the value is in the form of
1123
- # ``exchange`-`reviewStatus``.
1124
- # * For `minDuration` and `maxDuration`, the value is in the form of
1125
- # `"`duration`s"`. Only seconds are supported with millisecond granularity.
1126
- # * There may be multiple `lineItemIds` restrictions in order to search
1127
- # against multiple possible line item IDs.
1128
- # * There may be multiple `creativeId` restrictions in order to search
1129
- # against multiple possible creative IDs.
1130
- # Examples:
1131
- # * All native creatives: `creativeType="CREATIVE_TYPE_NATIVE"`
1132
- # * All active creatives with 300x400 or 50x100 dimensions:
1133
- # `entityStatus="ENTITY_STATUS_ACTIVE" AND (dimensions="300x400"
1134
- # OR dimensions="50x100")`
1135
- # * All dynamic creatives that are approved by AdX or
1136
- # AppNexus, with a minimum duration of 5 seconds and 200ms.
1137
- # `dynamic="true" AND minDuration="5.2s" AND
1138
- # (exchangeReviewStatus="EXCHANGE_GOOGLE_AD_MANAGER-REVIEW_STATUS_APPROVED"
1139
- # OR exchangeReviewStatus="EXCHANGE_APPNEXUS-REVIEW_STATUS_APPROVED")`
1140
- # * All video creatives that are associated with line item ID 1 or 2:
1141
- # `creativeType="CREATIVE_TYPE_VIDEO" AND (lineItemIds:1 OR lineItemIds:2)`
1142
- # * Find creatives by multiple creative IDs:
1143
- # `creativeId=1 OR creativeId=2`
1144
- # The length of this field should be no more than 500 characters.
1068
+ # Allows filtering by creative properties. Supported syntax: * Filter
1069
+ # expressions are made up of one or more restrictions. * Restriction for the
1070
+ # same field must be combined by `OR`. * Restriction for different fields must
1071
+ # be combined by `AND`. * Between `(` and `)` there can only be restrictions
1072
+ # combined by `OR` for the same field. * A restriction has the form of ``field` `
1073
+ # operator` `value``. * The operator must be `EQUALS (=)` for the following
1074
+ # fields: - `entityStatus` - `creativeType`. - `dimensions` - `minDuration` - `
1075
+ # maxDuration` - `approvalStatus` - `exchangeReviewStatus` - `dynamic` - `
1076
+ # creativeId` * The operator must be `HAS (:)` for the following fields: - `
1077
+ # lineItemIds` * For `entityStatus`, `minDuration`, `maxDuration`, and `dynamic`
1078
+ # there may be at most one restriction. * For `dimensions`, the value is in the
1079
+ # form of `"`width`x`height`"`. * For `exchangeReviewStatus`, the value is in
1080
+ # the form of ``exchange`-`reviewStatus``. * For `minDuration` and `maxDuration`,
1081
+ # the value is in the form of `"`duration`s"`. Only seconds are supported with
1082
+ # millisecond granularity. * There may be multiple `lineItemIds` restrictions in
1083
+ # order to search against multiple possible line item IDs. * There may be
1084
+ # multiple `creativeId` restrictions in order to search against multiple
1085
+ # possible creative IDs. Examples: * All native creatives: `creativeType="
1086
+ # CREATIVE_TYPE_NATIVE"` * All active creatives with 300x400 or 50x100
1087
+ # dimensions: `entityStatus="ENTITY_STATUS_ACTIVE" AND (dimensions="300x400" OR
1088
+ # dimensions="50x100")` * All dynamic creatives that are approved by AdX or
1089
+ # AppNexus, with a minimum duration of 5 seconds and 200ms. `dynamic="true" AND
1090
+ # minDuration="5.2s" AND (exchangeReviewStatus="EXCHANGE_GOOGLE_AD_MANAGER-
1091
+ # REVIEW_STATUS_APPROVED" OR exchangeReviewStatus="EXCHANGE_APPNEXUS-
1092
+ # REVIEW_STATUS_APPROVED")` * All video creatives that are associated with line
1093
+ # item ID 1 or 2: `creativeType="CREATIVE_TYPE_VIDEO" AND (lineItemIds:1 OR
1094
+ # lineItemIds:2)` * Find creatives by multiple creative IDs: `creativeId=1 OR
1095
+ # creativeId=2` The length of this field should be no more than 500 characters.
1145
1096
  # @param [String] order_by
1146
- # Field by which to sort the list.
1147
- # Acceptable values are:
1148
- # * `creativeId` (default)
1149
- # * `createTime`
1150
- # * `mediaDuration`
1151
- # * `dimensions` (sorts by width first, then by height)
1152
- # The default sorting order is ascending. To specify descending order for
1153
- # a field, a suffix "desc" should be added to the field name.
1154
- # Example: `createTime desc`.
1097
+ # Field by which to sort the list. Acceptable values are: * `creativeId` (
1098
+ # default) * `createTime` * `mediaDuration` * `dimensions` (sorts by width first,
1099
+ # then by height) The default sorting order is ascending. To specify descending
1100
+ # order for a field, a suffix "desc" should be added to the field name. Example:
1101
+ # `createTime desc`.
1155
1102
  # @param [Fixnum] page_size
1156
1103
  # Requested page size. Must be between `1` and `100`. If unspecified will
1157
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
1158
- # is specified.
1104
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
1105
+ # specified.
1159
1106
  # @param [String] page_token
1160
- # A token identifying a page of results the server should return.
1161
- # Typically, this is the value of
1162
- # next_page_token
1163
- # returned from the previous call to `ListCreatives` method.
1164
- # If not specified, the first page of results will be returned.
1107
+ # A token identifying a page of results the server should return. Typically,
1108
+ # this is the value of next_page_token returned from the previous call to `
1109
+ # ListCreatives` method. If not specified, the first page of results will be
1110
+ # returned.
1165
1111
  # @param [String] fields
1166
1112
  # Selector specifying which fields to include in a partial response.
1167
1113
  # @param [String] quota_user
@@ -1193,8 +1139,7 @@ module Google
1193
1139
  execute_or_queue_command(command, &block)
1194
1140
  end
1195
1141
 
1196
- # Updates an existing creative.
1197
- # Returns the updated creative if successful.
1142
+ # Updates an existing creative. Returns the updated creative if successful.
1198
1143
  # @param [Fixnum] advertiser_id
1199
1144
  # Output only. The unique ID of the advertiser the creative belongs to.
1200
1145
  # @param [Fixnum] creative_id
@@ -1233,8 +1178,8 @@ module Google
1233
1178
  execute_or_queue_command(command, &block)
1234
1179
  end
1235
1180
 
1236
- # Creates a new insertion order.
1237
- # Returns the newly created insertion order if successful.
1181
+ # Creates a new insertion order. Returns the newly created insertion order if
1182
+ # successful.
1238
1183
  # @param [Fixnum] advertiser_id
1239
1184
  # Output only. The unique ID of the advertiser the insertion order belongs to.
1240
1185
  # @param [Google::Apis::DisplayvideoV1::InsertionOrder] insertion_order_object
@@ -1267,11 +1212,9 @@ module Google
1267
1212
  execute_or_queue_command(command, &block)
1268
1213
  end
1269
1214
 
1270
- # Deletes an insertion order.
1271
- # Returns error code `NOT_FOUND` if the insertion order does not exist.
1272
- # The insertion order should be archived first, i.e. set
1273
- # entity_status to `ENTITY_STATUS_ARCHIVED`,
1274
- # to be able to delete it.
1215
+ # Deletes an insertion order. Returns error code `NOT_FOUND` if the insertion
1216
+ # order does not exist. The insertion order should be archived first, i.e. set
1217
+ # entity_status to `ENTITY_STATUS_ARCHIVED`, to be able to delete it.
1275
1218
  # @param [Fixnum] advertiser_id
1276
1219
  # The ID of the advertiser this insertion order belongs to.
1277
1220
  # @param [Fixnum] insertion_order_id
@@ -1304,8 +1247,8 @@ module Google
1304
1247
  execute_or_queue_command(command, &block)
1305
1248
  end
1306
1249
 
1307
- # Gets an insertion order.
1308
- # Returns error code `NOT_FOUND` if the insertion order does not exist.
1250
+ # Gets an insertion order. Returns error code `NOT_FOUND` if the insertion order
1251
+ # does not exist.
1309
1252
  # @param [Fixnum] advertiser_id
1310
1253
  # Required. The ID of the advertiser this insertion order belongs to.
1311
1254
  # @param [Fixnum] insertion_order_id
@@ -1338,50 +1281,36 @@ module Google
1338
1281
  execute_or_queue_command(command, &block)
1339
1282
  end
1340
1283
 
1341
- # Lists insertion orders in an advertiser.
1342
- # The order is defined by the order_by
1343
- # parameter.
1344
- # If a filter by
1345
- # entity_status is not specified, insertion
1346
- # orders with `ENTITY_STATUS_ARCHIVED` will not be included in the results.
1284
+ # Lists insertion orders in an advertiser. The order is defined by the order_by
1285
+ # parameter. If a filter by entity_status is not specified, insertion orders
1286
+ # with `ENTITY_STATUS_ARCHIVED` will not be included in the results.
1347
1287
  # @param [Fixnum] advertiser_id
1348
1288
  # Required. The ID of the advertiser to list insertion orders for.
1349
1289
  # @param [String] filter
1350
- # Allows filtering by insertion order properties.
1351
- # Supported syntax:
1352
- # * Filter expressions are made up of one or more restrictions.
1353
- # * Restrictions can be combined by `AND` or `OR` logical operators. A
1354
- # sequence of restrictions implicitly uses `AND`.
1355
- # * A restriction has the form of ``field` `operator` `value``.
1356
- # * The operator must be `EQUALS (=)`.
1357
- # * Supported fields:
1358
- # - `campaignId`
1359
- # - `entityStatus`
1360
- # Examples:
1361
- # * All insertion orders under a campaign: `campaignId="1234"`
1362
- # * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` insertion orders
1363
- # under an advertiser:
1364
- # `(entityStatus="ENTITY_STATUS_ACTIVE" OR
1365
- # entityStatus="ENTITY_STATUS_PAUSED")`
1366
- # The length of this field should be no more than 500 characters.
1290
+ # Allows filtering by insertion order properties. Supported syntax: * Filter
1291
+ # expressions are made up of one or more restrictions. * Restrictions can be
1292
+ # combined by `AND` or `OR` logical operators. A sequence of restrictions
1293
+ # implicitly uses `AND`. * A restriction has the form of ``field` `operator` `
1294
+ # value``. * The operator must be `EQUALS (=)`. * Supported fields: - `
1295
+ # campaignId` - `entityStatus` Examples: * All insertion orders under a campaign:
1296
+ # `campaignId="1234"` * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED`
1297
+ # insertion orders under an advertiser: `(entityStatus="ENTITY_STATUS_ACTIVE" OR
1298
+ # entityStatus="ENTITY_STATUS_PAUSED")` The length of this field should be no
1299
+ # more than 500 characters.
1367
1300
  # @param [String] order_by
1368
- # Field by which to sort the list.
1369
- # Acceptable values are:
1370
- # * "displayName" (default)
1371
- # * "entityStatus"
1372
- # The default sorting order is ascending. To specify descending order for
1373
- # a field, a suffix "desc" should be added to the field name. Example:
1374
- # `displayName desc`.
1301
+ # Field by which to sort the list. Acceptable values are: * "displayName" (
1302
+ # default) * "entityStatus" The default sorting order is ascending. To specify
1303
+ # descending order for a field, a suffix "desc" should be added to the field
1304
+ # name. Example: `displayName desc`.
1375
1305
  # @param [Fixnum] page_size
1376
1306
  # Requested page size. Must be between `1` and `100`. If unspecified will
1377
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
1378
- # is specified.
1307
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
1308
+ # specified.
1379
1309
  # @param [String] page_token
1380
- # A token identifying a page of results the server should return.
1381
- # Typically, this is the value of
1382
- # next_page_token returned
1383
- # from the previous call to `ListInsertionOrders` method. If not specified,
1384
- # the first page of results will be returned.
1310
+ # A token identifying a page of results the server should return. Typically,
1311
+ # this is the value of next_page_token returned from the previous call to `
1312
+ # ListInsertionOrders` method. If not specified, the first page of results will
1313
+ # be returned.
1385
1314
  # @param [String] fields
1386
1315
  # Selector specifying which fields to include in a partial response.
1387
1316
  # @param [String] quota_user
@@ -1413,8 +1342,8 @@ module Google
1413
1342
  execute_or_queue_command(command, &block)
1414
1343
  end
1415
1344
 
1416
- # Updates an existing insertion order.
1417
- # Returns the updated insertion order if successful.
1345
+ # Updates an existing insertion order. Returns the updated insertion order if
1346
+ # successful.
1418
1347
  # @param [Fixnum] advertiser_id
1419
1348
  # Output only. The unique ID of the advertiser the insertion order belongs to.
1420
1349
  # @param [Fixnum] insertion_order_id
@@ -1453,10 +1382,10 @@ module Google
1453
1382
  execute_or_queue_command(command, &block)
1454
1383
  end
1455
1384
 
1456
- # Bulk edits targeting options under a single line item.
1457
- # The operation will delete the assigned targeting options provided in
1458
- # BulkEditLineItemAssignedTargetingOptionsRequest.delete_requests and
1459
- # then create the assigned targeting options provided in
1385
+ # Bulk edits targeting options under a single line item. The operation will
1386
+ # delete the assigned targeting options provided in
1387
+ # BulkEditLineItemAssignedTargetingOptionsRequest.delete_requests and then
1388
+ # create the assigned targeting options provided in
1460
1389
  # BulkEditLineItemAssignedTargetingOptionsRequest.create_requests .
1461
1390
  # @param [Fixnum] advertiser_id
1462
1391
  # Required. The ID of the advertiser the line item belongs to.
@@ -1499,44 +1428,32 @@ module Google
1499
1428
  # @param [Fixnum] line_item_id
1500
1429
  # Required. The ID of the line item to list assigned targeting options for.
1501
1430
  # @param [String] filter
1502
- # Allows filtering by assigned targeting option properties.
1503
- # Supported syntax:
1504
- # * Filter expressions are made up of one or more restrictions.
1505
- # * Restrictions can be combined by the logical operator `OR` on the same
1506
- # field.
1507
- # * A restriction has the form of ``field` `operator` `value``.
1508
- # * The operator must be `EQUALS (=)`.
1509
- # * Supported fields:
1510
- # - `targetingType`
1511
- # - `inheritance`
1512
- # Examples:
1513
- # * AssignedTargetingOptions of targeting type
1514
- # TARGETING_TYPE_PROXIMITY_LOCATION_LIST or TARGETING_TYPE_CHANNEL
1515
- # `targetingType="TARGETING_TYPE_PROXIMITY_LOCATION_LIST" OR
1516
- # targetingType="TARGETING_TYPE_CHANNEL"`
1517
- # * AssignedTargetingOptions with inheritance status of NOT_INHERITED or
1518
- # INHERITED_FROM_PARTNER
1519
- # `inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"`
1520
- # The length of this field should be no more than 500 characters.
1431
+ # Allows filtering by assigned targeting option properties. Supported syntax: *
1432
+ # Filter expressions are made up of one or more restrictions. * Restrictions can
1433
+ # be combined by the logical operator `OR` on the same field. * A restriction
1434
+ # has the form of ``field` `operator` `value``. * The operator must be `EQUALS (=
1435
+ # )`. * Supported fields: - `targetingType` - `inheritance` Examples: *
1436
+ # AssignedTargetingOptions of targeting type
1437
+ # TARGETING_TYPE_PROXIMITY_LOCATION_LIST or TARGETING_TYPE_CHANNEL `
1438
+ # targetingType="TARGETING_TYPE_PROXIMITY_LOCATION_LIST" OR targetingType="
1439
+ # TARGETING_TYPE_CHANNEL"` * AssignedTargetingOptions with inheritance status of
1440
+ # NOT_INHERITED or INHERITED_FROM_PARTNER `inheritance="NOT_INHERITED" OR
1441
+ # inheritance="INHERITED_FROM_PARTNER"` The length of this field should be no
1442
+ # more than 500 characters.
1521
1443
  # @param [String] order_by
1522
- # Field by which to sort the list.
1523
- # Acceptable values are:
1524
- # * `targetingType` (default)
1525
- # The default sorting order is ascending. To specify descending order for
1526
- # a field, a suffix "desc" should be added to the field name. Example:
1527
- # `targetingType desc`.
1444
+ # Field by which to sort the list. Acceptable values are: * `targetingType` (
1445
+ # default) The default sorting order is ascending. To specify descending order
1446
+ # for a field, a suffix "desc" should be added to the field name. Example: `
1447
+ # targetingType desc`.
1528
1448
  # @param [Fixnum] page_size
1529
- # Requested page size.
1530
- # The size must be an integer between `1` and `5000`. If unspecified,
1531
- # the default is '5000'. Returns error code `INVALID_ARGUMENT` if an invalid
1532
- # value is specified.
1449
+ # Requested page size. The size must be an integer between `1` and `5000`. If
1450
+ # unspecified, the default is '5000'. Returns error code `INVALID_ARGUMENT` if
1451
+ # an invalid value is specified.
1533
1452
  # @param [String] page_token
1534
- # A token that lets the client fetch the next page of results.
1535
- # Typically, this is the value of
1536
- # next_page_token
1537
- # returned from the previous call to
1538
- # `BulkListLineItemAssignedTargetingOptions` method.
1539
- # If not specified, the first page of results will be returned.
1453
+ # A token that lets the client fetch the next page of results. Typically, this
1454
+ # is the value of next_page_token returned from the previous call to `
1455
+ # BulkListLineItemAssignedTargetingOptions` method. If not specified, the first
1456
+ # page of results will be returned.
1540
1457
  # @param [String] fields
1541
1458
  # Selector specifying which fields to include in a partial response.
1542
1459
  # @param [String] quota_user
@@ -1569,8 +1486,7 @@ module Google
1569
1486
  execute_or_queue_command(command, &block)
1570
1487
  end
1571
1488
 
1572
- # Creates a new line item.
1573
- # Returns the newly created line item if successful.
1489
+ # Creates a new line item. Returns the newly created line item if successful.
1574
1490
  # @param [Fixnum] advertiser_id
1575
1491
  # Output only. The unique ID of the advertiser the line item belongs to.
1576
1492
  # @param [Google::Apis::DisplayvideoV1::LineItem] line_item_object
@@ -1603,11 +1519,9 @@ module Google
1603
1519
  execute_or_queue_command(command, &block)
1604
1520
  end
1605
1521
 
1606
- # Deletes a line item.
1607
- # Returns error code `NOT_FOUND` if the line item does not exist.
1608
- # The line item should be archived first, i.e. set
1609
- # entity_status to `ENTITY_STATUS_ARCHIVED`, to be
1610
- # able to delete it.
1522
+ # Deletes a line item. Returns error code `NOT_FOUND` if the line item does not
1523
+ # exist. The line item should be archived first, i.e. set entity_status to `
1524
+ # ENTITY_STATUS_ARCHIVED`, to be able to delete it.
1611
1525
  # @param [Fixnum] advertiser_id
1612
1526
  # The ID of the advertiser this line item belongs to.
1613
1527
  # @param [Fixnum] line_item_id
@@ -1673,54 +1587,41 @@ module Google
1673
1587
  execute_or_queue_command(command, &block)
1674
1588
  end
1675
1589
 
1676
- # Lists line items in an advertiser.
1677
- # The order is defined by the order_by
1678
- # parameter.
1679
- # If a filter by
1680
- # entity_status is not specified, line items with
1681
- # `ENTITY_STATUS_ARCHIVED` will not be included in the results.
1590
+ # Lists line items in an advertiser. The order is defined by the order_by
1591
+ # parameter. If a filter by entity_status is not specified, line items with `
1592
+ # ENTITY_STATUS_ARCHIVED` will not be included in the results.
1682
1593
  # @param [Fixnum] advertiser_id
1683
1594
  # Required. The ID of the advertiser to list line items for.
1684
1595
  # @param [String] filter
1685
- # Allows filtering by line item properties.
1686
- # Supported syntax:
1687
- # * Filter expressions are made up of one or more restrictions.
1688
- # * Restrictions can be combined by `AND` or `OR` logical operators. A
1689
- # sequence of restrictions implicitly uses `AND`.
1690
- # * A restriction has the form of ``field` `operator` `value``.
1691
- # * The operator must be `EQUALS (=)`.
1692
- # * Supported fields:
1693
- # - `campaignId`
1694
- # - `insertionOrderId`
1695
- # - `entityStatus`
1696
- # - `lineItemType`
1697
- # Examples:
1698
- # * All line items under an insertion order: `insertionOrderId="1234"`
1699
- # * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED`
1700
- # and `LINE_ITEM_TYPE_DISPLAY_DEFAULT` line items under an advertiser:
1701
- # `(entityStatus="ENTITY_STATUS_ACTIVE" OR
1702
- # entityStatus="ENTITY_STATUS_PAUSED") AND
1703
- # lineItemType="LINE_ITEM_TYPE_DISPLAY_DEFAULT"`
1704
- # The length of this field should be no more than 500 characters.
1596
+ # Allows filtering by line item properties. Supported syntax: * Filter
1597
+ # expressions are made up of one or more restrictions. * Restrictions can be
1598
+ # combined by `AND` or `OR` logical operators. A sequence of restrictions
1599
+ # implicitly uses `AND`. * A restriction has the form of ``field` `operator` `
1600
+ # value``. * The operator used on `flight.dateRange.endDate` must be LESS THAN (<
1601
+ # ). * The operators used on all other fields must be `EQUALS (=)`. * Supported
1602
+ # fields: - `campaignId` - `insertionOrderId` - `entityStatus` - `lineItemType` -
1603
+ # `flight.dateRange.endDate` (input formatted as YYYY-MM-DD) Examples: * All
1604
+ # line items under an insertion order: `insertionOrderId="1234"` * All `
1605
+ # ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` and `
1606
+ # LINE_ITEM_TYPE_DISPLAY_DEFAULT` line items under an advertiser: `(entityStatus=
1607
+ # "ENTITY_STATUS_ACTIVE" OR entityStatus="ENTITY_STATUS_PAUSED") AND
1608
+ # lineItemType="LINE_ITEM_TYPE_DISPLAY_DEFAULT"` * All line items whose flight
1609
+ # dates end before March 28, 2019: `flight.dateRange.endDate<"2019-03-28"` The
1610
+ # length of this field should be no more than 500 characters.
1705
1611
  # @param [String] order_by
1706
- # Field by which to sort the list.
1707
- # Acceptable values are:
1708
- # * "displayName" (default)
1709
- # * "entityStatus"
1710
- # * “flight.dateRange.endDate”
1711
- # The default sorting order is ascending. To specify descending order for
1712
- # a field, a suffix "desc" should be added to the field name. Example:
1713
- # `displayName desc`.
1612
+ # Field by which to sort the list. Acceptable values are: * "displayName" (
1613
+ # default) * "entityStatus" * “flight.dateRange.endDate” The default sorting
1614
+ # order is ascending. To specify descending order for a field, a suffix "desc"
1615
+ # should be added to the field name. Example: `displayName desc`.
1714
1616
  # @param [Fixnum] page_size
1715
1617
  # Requested page size. Must be between `1` and `100`. If unspecified will
1716
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
1717
- # is specified.
1618
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
1619
+ # specified.
1718
1620
  # @param [String] page_token
1719
- # A token identifying a page of results the server should return.
1720
- # Typically, this is the value of
1721
- # next_page_token
1722
- # returned from the previous call to `ListLineItems` method.
1723
- # If not specified, the first page of results will be returned.
1621
+ # A token identifying a page of results the server should return. Typically,
1622
+ # this is the value of next_page_token returned from the previous call to `
1623
+ # ListLineItems` method. If not specified, the first page of results will be
1624
+ # returned.
1724
1625
  # @param [String] fields
1725
1626
  # Selector specifying which fields to include in a partial response.
1726
1627
  # @param [String] quota_user
@@ -1752,8 +1653,7 @@ module Google
1752
1653
  execute_or_queue_command(command, &block)
1753
1654
  end
1754
1655
 
1755
- # Updates an existing line item.
1756
- # Returns the updated line item if successful.
1656
+ # Updates an existing line item. Returns the updated line item if successful.
1757
1657
  # @param [Fixnum] advertiser_id
1758
1658
  # Output only. The unique ID of the advertiser the line item belongs to.
1759
1659
  # @param [Fixnum] line_item_id
@@ -1792,8 +1692,8 @@ module Google
1792
1692
  execute_or_queue_command(command, &block)
1793
1693
  end
1794
1694
 
1795
- # Assigns a targeting option to a line item.
1796
- # Returns the assigned targeting option if successful.
1695
+ # Assigns a targeting option to a line item. Returns the assigned targeting
1696
+ # option if successful.
1797
1697
  # @param [Fixnum] advertiser_id
1798
1698
  # Required. The ID of the advertiser the line item belongs to.
1799
1699
  # @param [Fixnum] line_item_id
@@ -1919,39 +1819,30 @@ module Google
1919
1819
  # @param [String] targeting_type
1920
1820
  # Required. Identifies the type of assigned targeting options to list.
1921
1821
  # @param [String] filter
1922
- # Allows filtering by assigned targeting option properties.
1923
- # Supported syntax:
1924
- # * Filter expressions are made up of one or more restrictions.
1925
- # * Restrictions can be combined by the logical operator `OR`.
1926
- # * A restriction has the form of ``field` `operator` `value``.
1927
- # * The operator must be `EQUALS (=)`.
1928
- # * Supported fields:
1929
- # - `assignedTargetingOptionId`
1930
- # - `inheritance`
1931
- # Examples:
1932
- # * AssignedTargetingOptions with ID 1 or 2
1933
- # `assignedTargetingOptionId="1" OR assignedTargetingOptionId="2"`
1934
- # * AssignedTargetingOptions with inheritance status of NOT_INHERITED or
1935
- # INHERITED_FROM_PARTNER
1936
- # `inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"`
1937
- # The length of this field should be no more than 500 characters.
1822
+ # Allows filtering by assigned targeting option properties. Supported syntax: *
1823
+ # Filter expressions are made up of one or more restrictions. * Restrictions can
1824
+ # be combined by the logical operator `OR`. * A restriction has the form of ``
1825
+ # field` `operator` `value``. * The operator must be `EQUALS (=)`. * Supported
1826
+ # fields: - `assignedTargetingOptionId` - `inheritance` Examples: *
1827
+ # AssignedTargetingOptions with ID 1 or 2 `assignedTargetingOptionId="1" OR
1828
+ # assignedTargetingOptionId="2"` * AssignedTargetingOptions with inheritance
1829
+ # status of NOT_INHERITED or INHERITED_FROM_PARTNER `inheritance="NOT_INHERITED"
1830
+ # OR inheritance="INHERITED_FROM_PARTNER"` The length of this field should be no
1831
+ # more than 500 characters.
1938
1832
  # @param [String] order_by
1939
- # Field by which to sort the list.
1940
- # Acceptable values are:
1941
- # * `assignedTargetingOptionId` (default)
1942
- # The default sorting order is ascending. To specify descending order for
1943
- # a field, a suffix "desc" should be added to the field name. Example:
1944
- # `assignedTargetingOptionId desc`.
1833
+ # Field by which to sort the list. Acceptable values are: * `
1834
+ # assignedTargetingOptionId` (default) The default sorting order is ascending.
1835
+ # To specify descending order for a field, a suffix "desc" should be added to
1836
+ # the field name. Example: `assignedTargetingOptionId desc`.
1945
1837
  # @param [Fixnum] page_size
1946
1838
  # Requested page size. Must be between `1` and `100`. If unspecified will
1947
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
1948
- # is specified.
1839
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
1840
+ # specified.
1949
1841
  # @param [String] page_token
1950
- # A token identifying a page of results the server should return.
1951
- # Typically, this is the value of
1952
- # next_page_token
1953
- # returned from the previous call to `ListLineItemAssignedTargetingOptions`
1954
- # method. If not specified, the first page of results will be returned.
1842
+ # A token identifying a page of results the server should return. Typically,
1843
+ # this is the value of next_page_token returned from the previous call to `
1844
+ # ListLineItemAssignedTargetingOptions` method. If not specified, the first page
1845
+ # of results will be returned.
1955
1846
  # @param [String] fields
1956
1847
  # Selector specifying which fields to include in a partial response.
1957
1848
  # @param [String] quota_user
@@ -2058,38 +1949,27 @@ module Google
2058
1949
  # Required. The ID of the DV360 advertiser to which the fetched location lists
2059
1950
  # belong.
2060
1951
  # @param [String] filter
2061
- # Allows filtering by location list fields.
2062
- # Supported syntax:
2063
- # * Filter expressions are made up of one or more restrictions.
2064
- # * Restrictions can be combined by `AND` or `OR` logical operators. A
2065
- # sequence of restrictions implicitly uses `AND`.
2066
- # * A restriction has the form of ``field` `operator` `value``.
2067
- # * The operator must be `EQUALS (=)`.
2068
- # * Supported fields:
2069
- # - `locationType`
2070
- # Examples:
2071
- # * All regional location list:
2072
- # `locationType="TARGETING_LOCATION_TYPE_REGIONAL"`
2073
- # * All proximity location list:
2074
- # `locationType="TARGETING_LOCATION_TYPE_PROXIMITY"`
1952
+ # Allows filtering by location list fields. Supported syntax: * Filter
1953
+ # expressions are made up of one or more restrictions. * Restrictions can be
1954
+ # combined by `AND` or `OR` logical operators. A sequence of restrictions
1955
+ # implicitly uses `AND`. * A restriction has the form of ``field` `operator` `
1956
+ # value``. * The operator must be `EQUALS (=)`. * Supported fields: - `
1957
+ # locationType` Examples: * All regional location list: `locationType="
1958
+ # TARGETING_LOCATION_TYPE_REGIONAL"` * All proximity location list: `
1959
+ # locationType="TARGETING_LOCATION_TYPE_PROXIMITY"`
2075
1960
  # @param [String] order_by
2076
- # Field by which to sort the list.
2077
- # Acceptable values are:
2078
- # * `locationListId` (default)
2079
- # * `displayName`
2080
- # The default sorting order is ascending. To specify descending order for
2081
- # a field, a suffix "desc" should be added to the field name. Example:
2082
- # `displayName desc`.
1961
+ # Field by which to sort the list. Acceptable values are: * `locationListId` (
1962
+ # default) * `displayName` The default sorting order is ascending. To specify
1963
+ # descending order for a field, a suffix "desc" should be added to the field
1964
+ # name. Example: `displayName desc`.
2083
1965
  # @param [Fixnum] page_size
2084
- # Requested page size. Must be between `1` and `100`.
2085
- # Defaults to `100` if not set. Returns error code `INVALID_ARGUMENT` if an
2086
- # invalid value is specified.
1966
+ # Requested page size. Must be between `1` and `100`. Defaults to `100` if not
1967
+ # set. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.
2087
1968
  # @param [String] page_token
2088
- # A token identifying a page of results the server should return.
2089
- # Typically, this is the value of
2090
- # next_page_token
2091
- # returned from the previous call to `ListLocationLists` method.
2092
- # If not specified, the first page of results will be returned.
1969
+ # A token identifying a page of results the server should return. Typically,
1970
+ # this is the value of next_page_token returned from the previous call to `
1971
+ # ListLocationLists` method. If not specified, the first page of results will be
1972
+ # returned.
2093
1973
  # @param [String] fields
2094
1974
  # Selector specifying which fields to include in a partial response.
2095
1975
  # @param [String] quota_user
@@ -2160,12 +2040,11 @@ module Google
2160
2040
  execute_or_queue_command(command, &block)
2161
2041
  end
2162
2042
 
2163
- # Bulk edits multiple assignments between locations and a single location
2164
- # list.
2043
+ # Bulk edits multiple assignments between locations and a single location list.
2165
2044
  # The operation will delete the assigned locations provided in
2166
- # BulkEditAssignedLocationsRequest.deleted_assigned_locations and then
2167
- # create the assigned locations provided in
2168
- # BulkEditAssignedLocationsRequest.created_assigned_locations.
2045
+ # BulkEditAssignedLocationsRequest.deleted_assigned_locations and then create
2046
+ # the assigned locations provided in BulkEditAssignedLocationsRequest.
2047
+ # created_assigned_locations.
2169
2048
  # @param [Fixnum] advertiser_id
2170
2049
  # Required. The ID of the DV360 advertiser to which the location list belongs.
2171
2050
  # @param [Fixnum] location_list_id
@@ -2279,32 +2158,26 @@ module Google
2279
2158
  # @param [Fixnum] location_list_id
2280
2159
  # Required. The ID of the location list to which these assignments are assigned.
2281
2160
  # @param [String] filter
2282
- # Allows filtering by location list assignment fields.
2283
- # Supported syntax:
2284
- # * Filter expressions are made up of one or more restrictions.
2285
- # * Restrictions can be combined by the logical operator `OR`.
2286
- # * A restriction has the form of ``field` `operator` `value``.
2287
- # * The operator must be `EQUALS (=)`.
2288
- # * Supported fields:
2289
- # - `assignedLocationId`
2290
- # The length of this field should be no more than 500 characters.
2161
+ # Allows filtering by location list assignment fields. Supported syntax: *
2162
+ # Filter expressions are made up of one or more restrictions. * Restrictions can
2163
+ # be combined by the logical operator `OR`. * A restriction has the form of ``
2164
+ # field` `operator` `value``. * The operator must be `EQUALS (=)`. * Supported
2165
+ # fields: - `assignedLocationId` The length of this field should be no more than
2166
+ # 500 characters.
2291
2167
  # @param [String] order_by
2292
- # Field by which to sort the list.
2293
- # Acceptable values are:
2294
- # * `assignedLocationId` (default)
2295
- # The default sorting order is ascending. To specify descending order for a
2296
- # field, a suffix " desc" should be added to the field name. Example:
2297
- # `assignedLocationId desc`.
2168
+ # Field by which to sort the list. Acceptable values are: * `assignedLocationId`
2169
+ # (default) The default sorting order is ascending. To specify descending order
2170
+ # for a field, a suffix " desc" should be added to the field name. Example: `
2171
+ # assignedLocationId desc`.
2298
2172
  # @param [Fixnum] page_size
2299
2173
  # Requested page size. Must be between `1` and `100`. If unspecified will
2300
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
2301
- # is specified.
2174
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
2175
+ # specified.
2302
2176
  # @param [String] page_token
2303
- # A token identifying a page of results the server should return.
2304
- # Typically, this is the value of
2305
- # next_page_token
2306
- # returned from the previous call to `ListAssignedLocations`
2307
- # method. If not specified, the first page of results will be returned.
2177
+ # A token identifying a page of results the server should return. Typically,
2178
+ # this is the value of next_page_token returned from the previous call to `
2179
+ # ListAssignedLocations` method. If not specified, the first page of results
2180
+ # will be returned.
2308
2181
  # @param [String] fields
2309
2182
  # Selector specifying which fields to include in a partial response.
2310
2183
  # @param [String] quota_user
@@ -2341,8 +2214,7 @@ module Google
2341
2214
  # keyword list if successful.
2342
2215
  # @param [Fixnum] advertiser_id
2343
2216
  # Required. The ID of the DV360 advertiser to which the negative keyword list
2344
- # will
2345
- # belong.
2217
+ # will belong.
2346
2218
  # @param [Google::Apis::DisplayvideoV1::NegativeKeywordList] negative_keyword_list_object
2347
2219
  # @param [String] fields
2348
2220
  # Selector specifying which fields to include in a partial response.
@@ -2373,8 +2245,8 @@ module Google
2373
2245
  execute_or_queue_command(command, &block)
2374
2246
  end
2375
2247
 
2376
- # Deletes a negative keyword list given an advertiser ID and a negative
2377
- # keyword list ID.
2248
+ # Deletes a negative keyword list given an advertiser ID and a negative keyword
2249
+ # list ID.
2378
2250
  # @param [Fixnum] advertiser_id
2379
2251
  # Required. The ID of the DV360 advertiser to which the negative keyword list
2380
2252
  # belongs.
@@ -2412,8 +2284,7 @@ module Google
2412
2284
  # list ID.
2413
2285
  # @param [Fixnum] advertiser_id
2414
2286
  # Required. The ID of the DV360 advertiser to which the fetched negative keyword
2415
- # list
2416
- # belongs.
2287
+ # list belongs.
2417
2288
  # @param [Fixnum] negative_keyword_list_id
2418
2289
  # Required. The ID of the negative keyword list to fetch.
2419
2290
  # @param [String] fields
@@ -2447,18 +2318,15 @@ module Google
2447
2318
  # Lists negative keyword lists based on a given advertiser id.
2448
2319
  # @param [Fixnum] advertiser_id
2449
2320
  # Required. The ID of the DV360 advertiser to which the fetched negative keyword
2450
- # lists
2451
- # belong.
2321
+ # lists belong.
2452
2322
  # @param [Fixnum] page_size
2453
- # Requested page size. Must be between `1` and `100`.
2454
- # Defaults to `100` if not set. Returns error code `INVALID_ARGUMENT` if an
2455
- # invalid value is specified.
2323
+ # Requested page size. Must be between `1` and `100`. Defaults to `100` if not
2324
+ # set. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.
2456
2325
  # @param [String] page_token
2457
- # A token identifying a page of results the server should return.
2458
- # Typically, this is the value of
2459
- # next_page_token
2460
- # returned from the previous call to `ListNegativeKeywordLists` method.
2461
- # If not specified, the first page of results will be returned.
2326
+ # A token identifying a page of results the server should return. Typically,
2327
+ # this is the value of next_page_token returned from the previous call to `
2328
+ # ListNegativeKeywordLists` method. If not specified, the first page of results
2329
+ # will be returned.
2462
2330
  # @param [String] fields
2463
2331
  # Selector specifying which fields to include in a partial response.
2464
2332
  # @param [String] quota_user
@@ -2488,8 +2356,8 @@ module Google
2488
2356
  execute_or_queue_command(command, &block)
2489
2357
  end
2490
2358
 
2491
- # Updates a negative keyword list. Returns the updated negative keyword list
2492
- # if successful.
2359
+ # Updates a negative keyword list. Returns the updated negative keyword list if
2360
+ # successful.
2493
2361
  # @param [Fixnum] advertiser_id
2494
2362
  # Required. The ID of the DV360 advertiser to which the negative keyword list
2495
2363
  # belongs.
@@ -2530,21 +2398,18 @@ module Google
2530
2398
  execute_or_queue_command(command, &block)
2531
2399
  end
2532
2400
 
2533
- # Bulk edits negative keywords in a single negative keyword list.
2534
- # The operation will delete the negative keywords provided in
2535
- # BulkEditNegativeKeywordsRequest.deleted_negative_keywords and then
2536
- # create the negative keywords provided in
2537
- # BulkEditNegativeKeywordsRequest.created_negative_keywords.
2538
- # This operation is guaranteed to be atomic and will never result in a
2539
- # partial success or partial failure.
2401
+ # Bulk edits negative keywords in a single negative keyword list. The operation
2402
+ # will delete the negative keywords provided in BulkEditNegativeKeywordsRequest.
2403
+ # deleted_negative_keywords and then create the negative keywords provided in
2404
+ # BulkEditNegativeKeywordsRequest.created_negative_keywords. This operation is
2405
+ # guaranteed to be atomic and will never result in a partial success or partial
2406
+ # failure.
2540
2407
  # @param [Fixnum] advertiser_id
2541
2408
  # Required. The ID of the DV360 advertiser to which the parent negative keyword
2542
- # list
2543
- # belongs.
2409
+ # list belongs.
2544
2410
  # @param [Fixnum] negative_keyword_list_id
2545
2411
  # Required. The ID of the parent negative keyword list to which the negative
2546
- # keywords
2547
- # belong.
2412
+ # keywords belong.
2548
2413
  # @param [Google::Apis::DisplayvideoV1::BulkEditNegativeKeywordsRequest] bulk_edit_negative_keywords_request_object
2549
2414
  # @param [String] fields
2550
2415
  # Selector specifying which fields to include in a partial response.
@@ -2579,12 +2444,10 @@ module Google
2579
2444
  # Creates a negative keyword in a negative keyword list.
2580
2445
  # @param [Fixnum] advertiser_id
2581
2446
  # Required. The ID of the DV360 advertiser to which the parent negative keyword
2582
- # list
2583
- # belongs.
2447
+ # list belongs.
2584
2448
  # @param [Fixnum] negative_keyword_list_id
2585
2449
  # Required. The ID of the parent negative keyword list in which the negative
2586
- # keyword
2587
- # will be created.
2450
+ # keyword will be created.
2588
2451
  # @param [Google::Apis::DisplayvideoV1::NegativeKeyword] negative_keyword_object
2589
2452
  # @param [String] fields
2590
2453
  # Selector specifying which fields to include in a partial response.
@@ -2619,12 +2482,10 @@ module Google
2619
2482
  # Deletes a negative keyword from a negative keyword list.
2620
2483
  # @param [Fixnum] advertiser_id
2621
2484
  # Required. The ID of the DV360 advertiser to which the parent negative keyword
2622
- # list
2623
- # belongs.
2485
+ # list belongs.
2624
2486
  # @param [Fixnum] negative_keyword_list_id
2625
2487
  # Required. The ID of the parent negative keyword list to which the negative
2626
- # keyword
2627
- # belongs.
2488
+ # keyword belongs.
2628
2489
  # @param [String] keyword_value
2629
2490
  # Required. The keyword value of the negative keyword to delete.
2630
2491
  # @param [String] fields
@@ -2659,42 +2520,31 @@ module Google
2659
2520
  # Lists negative keywords in a negative keyword list.
2660
2521
  # @param [Fixnum] advertiser_id
2661
2522
  # Required. The ID of the DV360 advertiser to which the parent negative keyword
2662
- # list
2663
- # belongs.
2523
+ # list belongs.
2664
2524
  # @param [Fixnum] negative_keyword_list_id
2665
2525
  # Required. The ID of the parent negative keyword list to which the requested
2666
- # negative
2667
- # keywords belong.
2526
+ # negative keywords belong.
2668
2527
  # @param [String] filter
2669
- # Allows filtering by negative keyword fields.
2670
- # Supported syntax:
2671
- # * Filter expressions for negative keyword currently can only contain at
2672
- # most one
2673
- # * restriction.
2674
- # * A restriction has the form of ``field` `operator` `value``.
2675
- # * The operator must be `CONTAINS (:)`.
2676
- # * Supported fields:
2677
- # - `keywordValue`
2678
- # Examples:
2679
- # * All negative keywords for which the keyword value contains "google":
2680
- # `keywordValue : "google"`
2528
+ # Allows filtering by negative keyword fields. Supported syntax: * Filter
2529
+ # expressions for negative keyword currently can only contain at most one *
2530
+ # restriction. * A restriction has the form of ``field` `operator` `value``. *
2531
+ # The operator must be `CONTAINS (:)`. * Supported fields: - `keywordValue`
2532
+ # Examples: * All negative keywords for which the keyword value contains "google"
2533
+ # : `keywordValue : "google"`
2681
2534
  # @param [String] order_by
2682
- # Field by which to sort the list.
2683
- # Acceptable values are:
2684
- # * `keywordValue` (default)
2685
- # The default sorting order is ascending. To specify descending order for a
2686
- # field, a suffix " desc" should be added to the field name. Example:
2687
- # `keywordValue desc`.
2535
+ # Field by which to sort the list. Acceptable values are: * `keywordValue` (
2536
+ # default) The default sorting order is ascending. To specify descending order
2537
+ # for a field, a suffix " desc" should be added to the field name. Example: `
2538
+ # keywordValue desc`.
2688
2539
  # @param [Fixnum] page_size
2689
2540
  # Requested page size. Must be between `1` and `100`. If unspecified will
2690
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
2691
- # is specified.
2541
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
2542
+ # specified.
2692
2543
  # @param [String] page_token
2693
- # A token identifying a page of results the server should return.
2694
- # Typically, this is the value of
2695
- # next_page_token returned
2696
- # from the previous call to `ListNegativeKeywords` method. If not specified,
2697
- # the first page of results will be returned.
2544
+ # A token identifying a page of results the server should return. Typically,
2545
+ # this is the value of next_page_token returned from the previous call to `
2546
+ # ListNegativeKeywords` method. If not specified, the first page of results will
2547
+ # be returned.
2698
2548
  # @param [String] fields
2699
2549
  # Selector specifying which fields to include in a partial response.
2700
2550
  # @param [String] quota_user
@@ -2727,8 +2577,8 @@ module Google
2727
2577
  execute_or_queue_command(command, &block)
2728
2578
  end
2729
2579
 
2730
- # Assigns a targeting option to an advertiser.
2731
- # Returns the assigned targeting option if successful.
2580
+ # Assigns a targeting option to an advertiser. Returns the assigned targeting
2581
+ # option if successful.
2732
2582
  # @param [Fixnum] advertiser_id
2733
2583
  # Required. The ID of the advertiser.
2734
2584
  # @param [String] targeting_type
@@ -2843,35 +2693,27 @@ module Google
2843
2693
  # @param [String] targeting_type
2844
2694
  # Required. Identifies the type of assigned targeting options to list.
2845
2695
  # @param [String] filter
2846
- # Allows filtering by assigned targeting option properties.
2847
- # Supported syntax:
2848
- # * Filter expressions are made up of one or more restrictions.
2849
- # * Restrictions can be combined by the logical operator `OR`.
2850
- # * A restriction has the form of ``field` `operator` `value``.
2851
- # * The operator must be `EQUALS (=)`.
2852
- # * Supported fields:
2853
- # - `assignedTargetingOptionId`
2854
- # Examples:
2855
- # * AssignedTargetingOption with ID 123456
2856
- # `assignedTargetingOptionId="123456"`
2857
- # The length of this field should be no more than 500 characters.
2696
+ # Allows filtering by assigned targeting option properties. Supported syntax: *
2697
+ # Filter expressions are made up of one or more restrictions. * Restrictions can
2698
+ # be combined by the logical operator `OR`. * A restriction has the form of ``
2699
+ # field` `operator` `value``. * The operator must be `EQUALS (=)`. * Supported
2700
+ # fields: - `assignedTargetingOptionId` Examples: * AssignedTargetingOption with
2701
+ # ID 123456 `assignedTargetingOptionId="123456"` The length of this field should
2702
+ # be no more than 500 characters.
2858
2703
  # @param [String] order_by
2859
- # Field by which to sort the list.
2860
- # Acceptable values are:
2861
- # * `assignedTargetingOptionId` (default)
2862
- # The default sorting order is ascending. To specify descending order for
2863
- # a field, a suffix "desc" should be added to the field name. Example:
2864
- # `assignedTargetingOptionId desc`.
2704
+ # Field by which to sort the list. Acceptable values are: * `
2705
+ # assignedTargetingOptionId` (default) The default sorting order is ascending.
2706
+ # To specify descending order for a field, a suffix "desc" should be added to
2707
+ # the field name. Example: `assignedTargetingOptionId desc`.
2865
2708
  # @param [Fixnum] page_size
2866
2709
  # Requested page size. Must be between `1` and `100`. If unspecified will
2867
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
2868
- # is specified.
2710
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
2711
+ # specified.
2869
2712
  # @param [String] page_token
2870
- # A token identifying a page of results the server should return.
2871
- # Typically, this is the value of
2872
- # next_page_token
2873
- # returned from the previous call to `ListAdvertiserAssignedTargetingOptions`
2874
- # method. If not specified, the first page of results will be returned.
2713
+ # A token identifying a page of results the server should return. Typically,
2714
+ # this is the value of next_page_token returned from the previous call to `
2715
+ # ListAdvertiserAssignedTargetingOptions` method. If not specified, the first
2716
+ # page of results will be returned.
2875
2717
  # @param [String] fields
2876
2718
  # Selector specifying which fields to include in a partial response.
2877
2719
  # @param [String] quota_user
@@ -2908,8 +2750,7 @@ module Google
2908
2750
  # @param [Fixnum] combined_audience_id
2909
2751
  # Required. The ID of the combined audience to fetch.
2910
2752
  # @param [Fixnum] advertiser_id
2911
- # The ID of the advertiser that has access to the fetched combined
2912
- # audience.
2753
+ # The ID of the advertiser that has access to the fetched combined audience.
2913
2754
  # @param [Fixnum] partner_id
2914
2755
  # The ID of the partner that has access to the fetched combined audience.
2915
2756
  # @param [String] fields
@@ -2941,43 +2782,31 @@ module Google
2941
2782
  execute_or_queue_command(command, &block)
2942
2783
  end
2943
2784
 
2944
- # Lists combined audiences.
2945
- # The order is defined by the
2946
- # order_by parameter.
2785
+ # Lists combined audiences. The order is defined by the order_by parameter.
2947
2786
  # @param [Fixnum] advertiser_id
2948
- # The ID of the advertiser that has access to the fetched combined
2949
- # audiences.
2787
+ # The ID of the advertiser that has access to the fetched combined audiences.
2950
2788
  # @param [String] filter
2951
- # Allows filtering by combined audience fields.
2952
- # Supported syntax:
2953
- # * Filter expressions for combined audiences currently can only contain at
2954
- # most one restriction.
2955
- # * A restriction has the form of ``field` `operator` `value``.
2956
- # * The operator must be `CONTAINS (:)`.
2957
- # * Supported fields:
2958
- # - `displayName`
2959
- # Examples:
2960
- # * All combined audiences for which the display name contains "Google":
2961
- # `displayName : "Google"`.
2962
- # The length of this field should be no more than 500 characters.
2789
+ # Allows filtering by combined audience fields. Supported syntax: * Filter
2790
+ # expressions for combined audiences currently can only contain at most one
2791
+ # restriction. * A restriction has the form of ``field` `operator` `value``. *
2792
+ # The operator must be `CONTAINS (:)`. * Supported fields: - `displayName`
2793
+ # Examples: * All combined audiences for which the display name contains "Google"
2794
+ # : `displayName : "Google"`. The length of this field should be no more than
2795
+ # 500 characters.
2963
2796
  # @param [String] order_by
2964
- # Field by which to sort the list.
2965
- # Acceptable values are:
2966
- # * `combinedAudienceId` (default)
2967
- # * `displayName`
2968
- # The default sorting order is ascending. To specify descending order for
2969
- # a field, a suffix "desc" should be added to the field name. Example:
2970
- # `displayName desc`.
2797
+ # Field by which to sort the list. Acceptable values are: * `combinedAudienceId`
2798
+ # (default) * `displayName` The default sorting order is ascending. To specify
2799
+ # descending order for a field, a suffix "desc" should be added to the field
2800
+ # name. Example: `displayName desc`.
2971
2801
  # @param [Fixnum] page_size
2972
2802
  # Requested page size. Must be between `1` and `100`. If unspecified will
2973
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
2974
- # is specified.
2803
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
2804
+ # specified.
2975
2805
  # @param [String] page_token
2976
- # A token identifying a page of results the server should return.
2977
- # Typically, this is the value of
2978
- # next_page_token
2979
- # returned from the previous call to `ListCombinedAudiences` method.
2980
- # If not specified, the first page of results will be returned.
2806
+ # A token identifying a page of results the server should return. Typically,
2807
+ # this is the value of next_page_token returned from the previous call to `
2808
+ # ListCombinedAudiences` method. If not specified, the first page of results
2809
+ # will be returned.
2981
2810
  # @param [Fixnum] partner_id
2982
2811
  # The ID of the partner that has access to the fetched combined audiences.
2983
2812
  # @param [String] fields
@@ -3012,12 +2841,115 @@ module Google
3012
2841
  execute_or_queue_command(command, &block)
3013
2842
  end
3014
2843
 
2844
+ # Gets a custom bidding algorithm.
2845
+ # @param [Fixnum] custom_bidding_algorithm_id
2846
+ # Required. The ID of the custom bidding algorithm to fetch.
2847
+ # @param [Fixnum] advertiser_id
2848
+ # The ID of the DV3 partner that has access to the custom bidding algorithm.
2849
+ # @param [Fixnum] partner_id
2850
+ # The ID of the DV3 partner that has access to the custom bidding algorithm.
2851
+ # @param [String] fields
2852
+ # Selector specifying which fields to include in a partial response.
2853
+ # @param [String] quota_user
2854
+ # Available to use for quota purposes for server-side applications. Can be any
2855
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2856
+ # @param [Google::Apis::RequestOptions] options
2857
+ # Request-specific options
2858
+ #
2859
+ # @yield [result, err] Result & error if block supplied
2860
+ # @yieldparam result [Google::Apis::DisplayvideoV1::CustomBiddingAlgorithm] parsed result object
2861
+ # @yieldparam err [StandardError] error object if request failed
2862
+ #
2863
+ # @return [Google::Apis::DisplayvideoV1::CustomBiddingAlgorithm]
2864
+ #
2865
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2866
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2867
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2868
+ def get_custom_bidding_algorithm(custom_bidding_algorithm_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
2869
+ command = make_simple_command(:get, 'v1/customBiddingAlgorithms/{+customBiddingAlgorithmId}', options)
2870
+ command.response_representation = Google::Apis::DisplayvideoV1::CustomBiddingAlgorithm::Representation
2871
+ command.response_class = Google::Apis::DisplayvideoV1::CustomBiddingAlgorithm
2872
+ command.params['customBiddingAlgorithmId'] = custom_bidding_algorithm_id unless custom_bidding_algorithm_id.nil?
2873
+ command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
2874
+ command.query['partnerId'] = partner_id unless partner_id.nil?
2875
+ command.query['fields'] = fields unless fields.nil?
2876
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2877
+ execute_or_queue_command(command, &block)
2878
+ end
2879
+
2880
+ # Lists custom bidding algorithms that are accessible to the current user and
2881
+ # can be used in bidding stratgies. The order is defined by the order_by
2882
+ # parameter.
2883
+ # @param [Fixnum] advertiser_id
2884
+ # The ID of the DV3 advertiser that has access to the custom bidding algorithm.
2885
+ # @param [String] filter
2886
+ # Allows filtering by custom bidding algorithm fields. Supported syntax: *
2887
+ # Filter expressions are made up of one or more restrictions. * Restrictions can
2888
+ # be combined by `AND`. A sequence of restrictions * implicitly uses `AND`. * A
2889
+ # restriction has the form of ``field` `operator` `value``. * The operator must
2890
+ # be `CONTAINS (:)` or `EQUALS (=)`. * The operator must be `CONTAINS (:)` for
2891
+ # the following field: - `displayName` * The operator must be `EQUALS (=)` for
2892
+ # the following field: - `customBiddingAlgorithmType` * For `displayName`, the
2893
+ # value is a string. We return all custom bidding algorithms whose display_name
2894
+ # contains such string. * For `customBiddingAlgorithmType`, the value is a
2895
+ # string. We return all algorithms whose custom_bidding_algorithm_type is equal
2896
+ # to the given type. Examples: * All custom bidding algorithms for which the
2897
+ # display name contains "politics": `displayName:politics`. * All custom bidding
2898
+ # algorithms for which the type is "SCRIPT_BASED": `customBiddingAlgorithmType=
2899
+ # SCRIPT_BASED` The length of this field should be no more than 500 characters.
2900
+ # @param [String] order_by
2901
+ # Field by which to sort the list. Acceptable values are: * `displayName` (
2902
+ # default) The default sorting order is ascending. To specify descending order
2903
+ # for a field, a suffix "desc" should be added to the field name. Example: `
2904
+ # displayName desc`.
2905
+ # @param [Fixnum] page_size
2906
+ # Requested page size. Must be between `1` and `100`. If unspecified will
2907
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
2908
+ # specified.
2909
+ # @param [String] page_token
2910
+ # A token identifying a page of results the server should return. Typically,
2911
+ # this is the value of next_page_token returned from the previous call to `
2912
+ # ListCustomBiddingAlgorithms` method. If not specified, the first page of
2913
+ # results will be returned.
2914
+ # @param [Fixnum] partner_id
2915
+ # The ID of the DV3 partner that has access to the custom bidding algorithm.
2916
+ # @param [String] fields
2917
+ # Selector specifying which fields to include in a partial response.
2918
+ # @param [String] quota_user
2919
+ # Available to use for quota purposes for server-side applications. Can be any
2920
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2921
+ # @param [Google::Apis::RequestOptions] options
2922
+ # Request-specific options
2923
+ #
2924
+ # @yield [result, err] Result & error if block supplied
2925
+ # @yieldparam result [Google::Apis::DisplayvideoV1::ListCustomBiddingAlgorithmsResponse] parsed result object
2926
+ # @yieldparam err [StandardError] error object if request failed
2927
+ #
2928
+ # @return [Google::Apis::DisplayvideoV1::ListCustomBiddingAlgorithmsResponse]
2929
+ #
2930
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2931
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2932
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2933
+ def list_custom_bidding_algorithms(advertiser_id: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
2934
+ command = make_simple_command(:get, 'v1/customBiddingAlgorithms', options)
2935
+ command.response_representation = Google::Apis::DisplayvideoV1::ListCustomBiddingAlgorithmsResponse::Representation
2936
+ command.response_class = Google::Apis::DisplayvideoV1::ListCustomBiddingAlgorithmsResponse
2937
+ command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
2938
+ command.query['filter'] = filter unless filter.nil?
2939
+ command.query['orderBy'] = order_by unless order_by.nil?
2940
+ command.query['pageSize'] = page_size unless page_size.nil?
2941
+ command.query['pageToken'] = page_token unless page_token.nil?
2942
+ command.query['partnerId'] = partner_id unless partner_id.nil?
2943
+ command.query['fields'] = fields unless fields.nil?
2944
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2945
+ execute_or_queue_command(command, &block)
2946
+ end
2947
+
3015
2948
  # Gets a custom list.
3016
2949
  # @param [Fixnum] custom_list_id
3017
2950
  # Required. The ID of the custom list to fetch.
3018
2951
  # @param [Fixnum] advertiser_id
3019
- # The ID of the DV360 advertiser that has access to the fetched custom
3020
- # lists.
2952
+ # The ID of the DV360 advertiser that has access to the fetched custom lists.
3021
2953
  # @param [String] fields
3022
2954
  # Selector specifying which fields to include in a partial response.
3023
2955
  # @param [String] quota_user
@@ -3046,43 +2978,30 @@ module Google
3046
2978
  execute_or_queue_command(command, &block)
3047
2979
  end
3048
2980
 
3049
- # Lists custom lists.
3050
- # The order is defined by the order_by
3051
- # parameter.
2981
+ # Lists custom lists. The order is defined by the order_by parameter.
3052
2982
  # @param [Fixnum] advertiser_id
3053
- # The ID of the DV360 advertiser that has access to the fetched custom
3054
- # lists.
2983
+ # The ID of the DV360 advertiser that has access to the fetched custom lists.
3055
2984
  # @param [String] filter
3056
- # Allows filtering by custom list fields.
3057
- # Supported syntax:
3058
- # * Filter expressions for custom lists currently can only contain at
3059
- # most one restriction.
3060
- # * A restriction has the form of ``field` `operator` `value``.
3061
- # * The operator must be `CONTAINS (:)`.
3062
- # * Supported fields:
3063
- # - `displayName`
3064
- # Examples:
3065
- # * All custom lists for which the display name contains "Google":
3066
- # `displayName : "Google"`.
2985
+ # Allows filtering by custom list fields. Supported syntax: * Filter expressions
2986
+ # for custom lists currently can only contain at most one restriction. * A
2987
+ # restriction has the form of ``field` `operator` `value``. * The operator must
2988
+ # be `CONTAINS (:)`. * Supported fields: - `displayName` Examples: * All custom
2989
+ # lists for which the display name contains "Google": `displayName : "Google"`.
3067
2990
  # The length of this field should be no more than 500 characters.
3068
2991
  # @param [String] order_by
3069
- # Field by which to sort the list.
3070
- # Acceptable values are:
3071
- # * `customListId` (default)
3072
- # * `displayName`
3073
- # The default sorting order is ascending. To specify descending order for
3074
- # a field, a suffix "desc" should be added to the field name. Example:
3075
- # `displayName desc`.
2992
+ # Field by which to sort the list. Acceptable values are: * `customListId` (
2993
+ # default) * `displayName` The default sorting order is ascending. To specify
2994
+ # descending order for a field, a suffix "desc" should be added to the field
2995
+ # name. Example: `displayName desc`.
3076
2996
  # @param [Fixnum] page_size
3077
2997
  # Requested page size. Must be between `1` and `100`. If unspecified will
3078
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
3079
- # is specified.
2998
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
2999
+ # specified.
3080
3000
  # @param [String] page_token
3081
- # A token identifying a page of results the server should return.
3082
- # Typically, this is the value of
3083
- # next_page_token
3084
- # returned from the previous call to `ListCustomLists` method.
3085
- # If not specified, the first page of results will be returned.
3001
+ # A token identifying a page of results the server should return. Typically,
3002
+ # this is the value of next_page_token returned from the previous call to `
3003
+ # ListCustomLists` method. If not specified, the first page of results will be
3004
+ # returned.
3086
3005
  # @param [String] fields
3087
3006
  # Selector specifying which fields to include in a partial response.
3088
3007
  # @param [String] quota_user
@@ -3118,11 +3037,11 @@ module Google
3118
3037
  # @param [Fixnum] first_and_third_party_audience_id
3119
3038
  # Required. The ID of the first and third party audience to fetch.
3120
3039
  # @param [Fixnum] advertiser_id
3121
- # The ID of the advertiser that has access to the fetched first and
3122
- # third party audience.
3040
+ # The ID of the advertiser that has access to the fetched first and third party
3041
+ # audience.
3123
3042
  # @param [Fixnum] partner_id
3124
- # The ID of the partner that has access to the fetched first and
3125
- # third party audience.
3043
+ # The ID of the partner that has access to the fetched first and third party
3044
+ # audience.
3126
3045
  # @param [String] fields
3127
3046
  # Selector specifying which fields to include in a partial response.
3128
3047
  # @param [String] quota_user
@@ -3152,46 +3071,36 @@ module Google
3152
3071
  execute_or_queue_command(command, &block)
3153
3072
  end
3154
3073
 
3155
- # Lists first and third party audiences.
3156
- # The order is defined by the
3157
- # order_by parameter.
3074
+ # Lists first and third party audiences. The order is defined by the order_by
3075
+ # parameter.
3158
3076
  # @param [Fixnum] advertiser_id
3159
- # The ID of the advertiser that has access to the fetched first and
3160
- # third party audiences.
3077
+ # The ID of the advertiser that has access to the fetched first and third party
3078
+ # audiences.
3161
3079
  # @param [String] filter
3162
- # Allows filtering by first and third party audience fields.
3163
- # Supported syntax:
3164
- # * Filter expressions for first and third party audiences currently can
3165
- # only contain at most one restriction.
3166
- # * A restriction has the form of ``field` `operator` `value``.
3167
- # * The operator must be `CONTAINS (:)`.
3168
- # * Supported fields:
3169
- # - `displayName`
3170
- # Examples:
3171
- # * All first and third party audiences for which the display name contains
3172
- # "Google": `displayName : "Google"`.
3173
- # The length of this field should be no more than 500 characters.
3080
+ # Allows filtering by first and third party audience fields. Supported syntax: *
3081
+ # Filter expressions for first and third party audiences currently can only
3082
+ # contain at most one restriction. * A restriction has the form of ``field` `
3083
+ # operator` `value``. * The operator must be `CONTAINS (:)`. * Supported fields:
3084
+ # - `displayName` Examples: * All first and third party audiences for which the
3085
+ # display name contains "Google": `displayName : "Google"`. The length of this
3086
+ # field should be no more than 500 characters.
3174
3087
  # @param [String] order_by
3175
- # Field by which to sort the list.
3176
- # Acceptable values are:
3177
- # * `firstAndThirdPartyAudienceId` (default)
3178
- # * `displayName`
3179
- # The default sorting order is ascending. To specify descending order for
3180
- # a field, a suffix "desc" should be added to the field name. Example:
3181
- # `displayName desc`.
3088
+ # Field by which to sort the list. Acceptable values are: * `
3089
+ # firstAndThirdPartyAudienceId` (default) * `displayName` The default sorting
3090
+ # order is ascending. To specify descending order for a field, a suffix "desc"
3091
+ # should be added to the field name. Example: `displayName desc`.
3182
3092
  # @param [Fixnum] page_size
3183
3093
  # Requested page size. Must be between `1` and `100`. If unspecified will
3184
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
3185
- # is specified.
3094
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
3095
+ # specified.
3186
3096
  # @param [String] page_token
3187
- # A token identifying a page of results the server should return.
3188
- # Typically, this is the value of
3189
- # next_page_token
3190
- # returned from the previous call to `ListFirstAndThirdPartyAudiences`
3191
- # method. If not specified, the first page of results will be returned.
3097
+ # A token identifying a page of results the server should return. Typically,
3098
+ # this is the value of next_page_token returned from the previous call to `
3099
+ # ListFirstAndThirdPartyAudiences` method. If not specified, the first page of
3100
+ # results will be returned.
3192
3101
  # @param [Fixnum] partner_id
3193
- # The ID of the partner that has access to the fetched first and
3194
- # third party audiences.
3102
+ # The ID of the partner that has access to the fetched first and third party
3103
+ # audiences.
3195
3104
  # @param [String] fields
3196
3105
  # Selector specifying which fields to include in a partial response.
3197
3106
  # @param [String] quota_user
@@ -3257,8 +3166,8 @@ module Google
3257
3166
  execute_or_queue_command(command, &block)
3258
3167
  end
3259
3168
 
3260
- # Updates an existing Floodlight group.
3261
- # Returns the updated Floodlight group if successful.
3169
+ # Updates an existing Floodlight group. Returns the updated Floodlight group if
3170
+ # successful.
3262
3171
  # @param [Fixnum] floodlight_group_id
3263
3172
  # Output only. The unique ID of the Floodlight group. Assigned by the system.
3264
3173
  # @param [Google::Apis::DisplayvideoV1::FloodlightGroup] floodlight_group_object
@@ -3333,42 +3242,31 @@ module Google
3333
3242
  execute_or_queue_command(command, &block)
3334
3243
  end
3335
3244
 
3336
- # Lists Google audiences.
3337
- # The order is defined by the order_by
3338
- # parameter.
3245
+ # Lists Google audiences. The order is defined by the order_by parameter.
3339
3246
  # @param [Fixnum] advertiser_id
3340
3247
  # The ID of the advertiser that has access to the fetched Google audiences.
3341
3248
  # @param [String] filter
3342
- # Allows filtering by Google audience fields.
3343
- # Supported syntax:
3344
- # * Filter expressions for Google audiences currently can only contain at
3345
- # most one restriction.
3346
- # * A restriction has the form of ``field` `operator` `value``.
3347
- # * The operator must be `CONTAINS (:)`.
3348
- # * Supported fields:
3349
- # - `displayName`
3350
- # Examples:
3351
- # * All Google audiences for which the display name contains "Google":
3352
- # `displayName : "Google"`.
3353
- # The length of this field should be no more than 500 characters.
3249
+ # Allows filtering by Google audience fields. Supported syntax: * Filter
3250
+ # expressions for Google audiences currently can only contain at most one
3251
+ # restriction. * A restriction has the form of ``field` `operator` `value``. *
3252
+ # The operator must be `CONTAINS (:)`. * Supported fields: - `displayName`
3253
+ # Examples: * All Google audiences for which the display name contains "Google":
3254
+ # `displayName : "Google"`. The length of this field should be no more than 500
3255
+ # characters.
3354
3256
  # @param [String] order_by
3355
- # Field by which to sort the list.
3356
- # Acceptable values are:
3357
- # * `googleAudienceId` (default)
3358
- # * `displayName`
3359
- # The default sorting order is ascending. To specify descending order for
3360
- # a field, a suffix "desc" should be added to the field name. Example:
3361
- # `displayName desc`.
3257
+ # Field by which to sort the list. Acceptable values are: * `googleAudienceId` (
3258
+ # default) * `displayName` The default sorting order is ascending. To specify
3259
+ # descending order for a field, a suffix "desc" should be added to the field
3260
+ # name. Example: `displayName desc`.
3362
3261
  # @param [Fixnum] page_size
3363
3262
  # Requested page size. Must be between `1` and `100`. If unspecified will
3364
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
3365
- # is specified.
3263
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
3264
+ # specified.
3366
3265
  # @param [String] page_token
3367
- # A token identifying a page of results the server should return.
3368
- # Typically, this is the value of
3369
- # next_page_token
3370
- # returned from the previous call to `ListGoogleAudiences` method.
3371
- # If not specified, the first page of results will be returned.
3266
+ # A token identifying a page of results the server should return. Typically,
3267
+ # this is the value of next_page_token returned from the previous call to `
3268
+ # ListGoogleAudiences` method. If not specified, the first page of results will
3269
+ # be returned.
3372
3270
  # @param [Fixnum] partner_id
3373
3271
  # The ID of the partner that has access to the fetched Google audiences.
3374
3272
  # @param [String] fields
@@ -3407,13 +3305,12 @@ module Google
3407
3305
  # source group if successful.
3408
3306
  # @param [Google::Apis::DisplayvideoV1::InventorySourceGroup] inventory_source_group_object
3409
3307
  # @param [Fixnum] advertiser_id
3410
- # The ID of the advertiser that owns the inventory source group.
3411
- # The parent partner will not have access to this group.
3308
+ # The ID of the advertiser that owns the inventory source group. The parent
3309
+ # partner will not have access to this group.
3412
3310
  # @param [Fixnum] partner_id
3413
- # The ID of the partner that owns the inventory source group.
3414
- # Only this partner will have write access to this group. Only advertisers
3415
- # to which this group is explicitly shared will have read access to this
3416
- # group.
3311
+ # The ID of the partner that owns the inventory source group. Only this partner
3312
+ # will have write access to this group. Only advertisers to which this group is
3313
+ # explicitly shared will have read access to this group.
3417
3314
  # @param [String] fields
3418
3315
  # Selector specifying which fields to include in a partial response.
3419
3316
  # @param [String] quota_user
@@ -3448,11 +3345,11 @@ module Google
3448
3345
  # @param [Fixnum] inventory_source_group_id
3449
3346
  # Required. The ID of the inventory source group to delete.
3450
3347
  # @param [Fixnum] advertiser_id
3451
- # The ID of the advertiser that owns the inventory source group.
3452
- # The parent partner does not have access to this group.
3348
+ # The ID of the advertiser that owns the inventory source group. The parent
3349
+ # partner does not have access to this group.
3453
3350
  # @param [Fixnum] partner_id
3454
- # The ID of the partner that owns the inventory source group.
3455
- # Only this partner has write access to this group.
3351
+ # The ID of the partner that owns the inventory source group. Only this partner
3352
+ # has write access to this group.
3456
3353
  # @param [String] fields
3457
3354
  # Selector specifying which fields to include in a partial response.
3458
3355
  # @param [String] quota_user
@@ -3486,12 +3383,12 @@ module Google
3486
3383
  # @param [Fixnum] inventory_source_group_id
3487
3384
  # Required. The ID of the inventory source group to fetch.
3488
3385
  # @param [Fixnum] advertiser_id
3489
- # The ID of the advertiser that has access to the inventory source group.
3490
- # If an inventory source group is partner-owned, only advertisers to which
3491
- # the group is explicitly shared can access the group.
3386
+ # The ID of the advertiser that has access to the inventory source group. If an
3387
+ # inventory source group is partner-owned, only advertisers to which the group
3388
+ # is explicitly shared can access the group.
3492
3389
  # @param [Fixnum] partner_id
3493
- # The ID of the partner that has access to the inventory source group.
3494
- # A partner cannot access an advertiser-owned inventory source group.
3390
+ # The ID of the partner that has access to the inventory source group. A partner
3391
+ # cannot access an advertiser-owned inventory source group.
3495
3392
  # @param [String] fields
3496
3393
  # Selector specifying which fields to include in a partial response.
3497
3394
  # @param [String] quota_user
@@ -3521,43 +3418,35 @@ module Google
3521
3418
  execute_or_queue_command(command, &block)
3522
3419
  end
3523
3420
 
3524
- # Lists inventory source groups that are accessible to the current user.
3525
- # The order is defined by the
3526
- # order_by parameter.
3421
+ # Lists inventory source groups that are accessible to the current user. The
3422
+ # order is defined by the order_by parameter.
3527
3423
  # @param [Fixnum] advertiser_id
3528
- # The ID of the advertiser that has access to the inventory source group.
3529
- # If an inventory source group is partner-owned, only advertisers to which
3530
- # the group is explicitly shared can access the group.
3424
+ # The ID of the advertiser that has access to the inventory source group. If an
3425
+ # inventory source group is partner-owned, only advertisers to which the group
3426
+ # is explicitly shared can access the group.
3531
3427
  # @param [String] filter
3532
- # Allows filtering by inventory source group properties.
3533
- # Supported syntax:
3534
- # * Filter expressions are made up of one or more restrictions.
3535
- # * Restrictions can be combined by the logical operator `OR`.
3536
- # * A restriction has the form of ``field` `operator` `value``.
3537
- # * The operator must be `EQUALS (=)`.
3538
- # * Supported fields:
3539
- # - `inventorySourceGroupId`
3540
- # The length of this field should be no more than 500 characters.
3428
+ # Allows filtering by inventory source group properties. Supported syntax: *
3429
+ # Filter expressions are made up of one or more restrictions. * Restrictions can
3430
+ # be combined by the logical operator `OR`. * A restriction has the form of ``
3431
+ # field` `operator` `value``. * The operator must be `EQUALS (=)`. * Supported
3432
+ # fields: - `inventorySourceGroupId` The length of this field should be no more
3433
+ # than 500 characters.
3541
3434
  # @param [String] order_by
3542
- # Field by which to sort the list.
3543
- # Acceptable values are:
3544
- # * `displayName` (default)
3545
- # * `inventorySourceGroupId`
3546
- # The default sorting order is ascending. To specify descending order for
3547
- # a field, a suffix "desc" should be added to the field name. For example,
3548
- # `displayName desc`.
3435
+ # Field by which to sort the list. Acceptable values are: * `displayName` (
3436
+ # default) * `inventorySourceGroupId` The default sorting order is ascending. To
3437
+ # specify descending order for a field, a suffix "desc" should be added to the
3438
+ # field name. For example, `displayName desc`.
3549
3439
  # @param [Fixnum] page_size
3550
3440
  # Requested page size. Must be between `1` and `100`. If unspecified will
3551
3441
  # default to `100`.
3552
3442
  # @param [String] page_token
3553
- # A token identifying a page of results the server should return.
3554
- # Typically, this is the value of
3555
- # next_page_token
3556
- # returned from the previous call to `ListInventorySources` method.
3557
- # If not specified, the first page of results will be returned.
3443
+ # A token identifying a page of results the server should return. Typically,
3444
+ # this is the value of next_page_token returned from the previous call to `
3445
+ # ListInventorySources` method. If not specified, the first page of results will
3446
+ # be returned.
3558
3447
  # @param [Fixnum] partner_id
3559
- # The ID of the partner that has access to the inventory source group.
3560
- # A partner cannot access advertiser-owned inventory source groups.
3448
+ # The ID of the partner that has access to the inventory source group. A partner
3449
+ # cannot access advertiser-owned inventory source groups.
3561
3450
  # @param [String] fields
3562
3451
  # Selector specifying which fields to include in a partial response.
3563
3452
  # @param [String] quota_user
@@ -3590,18 +3479,18 @@ module Google
3590
3479
  execute_or_queue_command(command, &block)
3591
3480
  end
3592
3481
 
3593
- # Updates an inventory source group. Returns the updated inventory source
3594
- # group if successful.
3482
+ # Updates an inventory source group. Returns the updated inventory source group
3483
+ # if successful.
3595
3484
  # @param [Fixnum] inventory_source_group_id
3596
3485
  # Output only. The unique ID of the inventory source group. Assigned by the
3597
3486
  # system.
3598
3487
  # @param [Google::Apis::DisplayvideoV1::InventorySourceGroup] inventory_source_group_object
3599
3488
  # @param [Fixnum] advertiser_id
3600
- # The ID of the advertiser that owns the inventory source group.
3601
- # The parent partner does not have access to this group.
3489
+ # The ID of the advertiser that owns the inventory source group. The parent
3490
+ # partner does not have access to this group.
3602
3491
  # @param [Fixnum] partner_id
3603
- # The ID of the partner that owns the inventory source group.
3604
- # Only this partner has write access to this group.
3492
+ # The ID of the partner that owns the inventory source group. Only this partner
3493
+ # has write access to this group.
3605
3494
  # @param [String] update_mask
3606
3495
  # Required. The mask to control which fields to update.
3607
3496
  # @param [String] fields
@@ -3637,11 +3526,11 @@ module Google
3637
3526
  end
3638
3527
 
3639
3528
  # Bulk edits multiple assignments between inventory sources and a single
3640
- # inventory source group.
3641
- # The operation will delete the assigned inventory sources provided in
3642
- # BulkEditAssignedInventorySourcesRequest.deleted_assigned_inventory_sources
3643
- # and then create the assigned inventory sources provided in
3644
- # BulkEditAssignedInventorySourcesRequest.created_assigned_inventory_sources.
3529
+ # inventory source group. The operation will delete the assigned inventory
3530
+ # sources provided in BulkEditAssignedInventorySourcesRequest.
3531
+ # deleted_assigned_inventory_sources and then create the assigned inventory
3532
+ # sources provided in BulkEditAssignedInventorySourcesRequest.
3533
+ # created_assigned_inventory_sources.
3645
3534
  # @param [Fixnum] inventory_source_group_id
3646
3535
  # Required. The ID of the inventory source group to which the assignments are
3647
3536
  # assigned.
@@ -3682,13 +3571,11 @@ module Google
3682
3571
  # assigned.
3683
3572
  # @param [Google::Apis::DisplayvideoV1::AssignedInventorySource] assigned_inventory_source_object
3684
3573
  # @param [Fixnum] advertiser_id
3685
- # The ID of the advertiser that owns the parent inventory source group.
3686
- # The parent partner will not have access to this assigned inventory
3687
- # source.
3574
+ # The ID of the advertiser that owns the parent inventory source group. The
3575
+ # parent partner will not have access to this assigned inventory source.
3688
3576
  # @param [Fixnum] partner_id
3689
- # The ID of the partner that owns the parent inventory source group.
3690
- # Only this partner will have write access to this assigned inventory
3691
- # source.
3577
+ # The ID of the partner that owns the parent inventory source group. Only this
3578
+ # partner will have write access to this assigned inventory source.
3692
3579
  # @param [String] fields
3693
3580
  # Selector specifying which fields to include in a partial response.
3694
3581
  # @param [String] quota_user
@@ -3728,12 +3615,11 @@ module Google
3728
3615
  # @param [Fixnum] assigned_inventory_source_id
3729
3616
  # Required. The ID of the assigned inventory source to delete.
3730
3617
  # @param [Fixnum] advertiser_id
3731
- # The ID of the advertiser that owns the parent inventory source group.
3732
- # The parent partner does not have access to this assigned inventory
3733
- # source.
3618
+ # The ID of the advertiser that owns the parent inventory source group. The
3619
+ # parent partner does not have access to this assigned inventory source.
3734
3620
  # @param [Fixnum] partner_id
3735
- # The ID of the partner that owns the parent inventory source group.
3736
- # Only this partner has write access to this assigned inventory source.
3621
+ # The ID of the partner that owns the parent inventory source group. Only this
3622
+ # partner has write access to this assigned inventory source.
3737
3623
  # @param [String] fields
3738
3624
  # Selector specifying which fields to include in a partial response.
3739
3625
  # @param [String] quota_user
@@ -3769,41 +3655,34 @@ module Google
3769
3655
  # Required. The ID of the inventory source group to which these assignments are
3770
3656
  # assigned.
3771
3657
  # @param [Fixnum] advertiser_id
3772
- # The ID of the advertiser that has access to the assignment.
3773
- # If the parent inventory source group is partner-owned, only advertisers
3774
- # to which the parent group is explicitly shared can access the assigned
3775
- # inventory source.
3658
+ # The ID of the advertiser that has access to the assignment. If the parent
3659
+ # inventory source group is partner-owned, only advertisers to which the parent
3660
+ # group is explicitly shared can access the assigned inventory source.
3776
3661
  # @param [String] filter
3777
- # Allows filtering by assigned inventory source fields.
3778
- # Supported syntax:
3779
- # * Filter expressions are made up of one or more restrictions.
3780
- # * Restrictions can be combined by the logical operator `OR`.
3781
- # * A restriction has the form of ``field` `operator` `value``.
3782
- # * The operator must be `EQUALS (=)`.
3783
- # * Supported fields:
3784
- # - `assignedInventorySourceId`
3785
- # The length of this field should be no more than 500 characters.
3662
+ # Allows filtering by assigned inventory source fields. Supported syntax: *
3663
+ # Filter expressions are made up of one or more restrictions. * Restrictions can
3664
+ # be combined by the logical operator `OR`. * A restriction has the form of ``
3665
+ # field` `operator` `value``. * The operator must be `EQUALS (=)`. * Supported
3666
+ # fields: - `assignedInventorySourceId` The length of this field should be no
3667
+ # more than 500 characters.
3786
3668
  # @param [String] order_by
3787
- # Field by which to sort the list.
3788
- # Acceptable values are:
3789
- # * `assignedInventorySourceId` (default)
3790
- # The default sorting order is ascending. To specify descending order for a
3791
- # field, a suffix " desc" should be added to the field name. Example:
3792
- # `assignedInventorySourceId desc`.
3669
+ # Field by which to sort the list. Acceptable values are: * `
3670
+ # assignedInventorySourceId` (default) The default sorting order is ascending.
3671
+ # To specify descending order for a field, a suffix " desc" should be added to
3672
+ # the field name. Example: `assignedInventorySourceId desc`.
3793
3673
  # @param [Fixnum] page_size
3794
3674
  # Requested page size. Must be between `1` and `100`. If unspecified will
3795
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
3796
- # is specified.
3675
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
3676
+ # specified.
3797
3677
  # @param [String] page_token
3798
- # A token identifying a page of results the server should return.
3799
- # Typically, this is the value of
3800
- # next_page_token
3801
- # returned from the previous call to `ListAssignedInventorySources`
3802
- # method. If not specified, the first page of results will be returned.
3678
+ # A token identifying a page of results the server should return. Typically,
3679
+ # this is the value of next_page_token returned from the previous call to `
3680
+ # ListAssignedInventorySources` method. If not specified, the first page of
3681
+ # results will be returned.
3803
3682
  # @param [Fixnum] partner_id
3804
- # The ID of the partner that has access to the assignment.
3805
- # If the parent inventory source group is advertiser-owned, the assignment
3806
- # cannot be accessed via a partner.
3683
+ # The ID of the partner that has access to the assignment. If the parent
3684
+ # inventory source group is advertiser-owned, the assignment cannot be accessed
3685
+ # via a partner.
3807
3686
  # @param [String] fields
3808
3687
  # Selector specifying which fields to include in a partial response.
3809
3688
  # @param [String] quota_user
@@ -3841,8 +3720,8 @@ module Google
3841
3720
  # @param [Fixnum] inventory_source_id
3842
3721
  # Required. The ID of the inventory source to fetch.
3843
3722
  # @param [Fixnum] partner_id
3844
- # Required. The ID of the DV360 partner to which the fetched inventory source
3845
- # is permissioned.
3723
+ # Required. The ID of the DV360 partner to which the fetched inventory source is
3724
+ # permissioned.
3846
3725
  # @param [String] fields
3847
3726
  # Selector specifying which fields to include in a partial response.
3848
3727
  # @param [String] quota_user
@@ -3871,51 +3750,37 @@ module Google
3871
3750
  execute_or_queue_command(command, &block)
3872
3751
  end
3873
3752
 
3874
- # Lists inventory sources that are accessible to the current user.
3875
- # The order is defined by the
3876
- # order_by parameter.
3877
- # If a filter by
3878
- # entity_status is not
3879
- # specified, inventory sources with entity status `ENTITY_STATUS_ARCHIVED`
3880
- # will not be included in the results.
3753
+ # Lists inventory sources that are accessible to the current user. The order is
3754
+ # defined by the order_by parameter. If a filter by entity_status is not
3755
+ # specified, inventory sources with entity status `ENTITY_STATUS_ARCHIVED` will
3756
+ # not be included in the results.
3881
3757
  # @param [Fixnum] advertiser_id
3882
3758
  # The ID of the advertiser that has access to the inventory source.
3883
3759
  # @param [String] filter
3884
- # Allows filtering by inventory source properties.
3885
- # Supported syntax:
3886
- # * Filter expressions are made up of one or more restrictions.
3887
- # * Restrictions can be combined by `AND` or `OR` logical operators. A
3888
- # sequence of restrictions implicitly uses `AND`.
3889
- # * A restriction has the form of ``field` `operator` `value``.
3890
- # * The operator must be `EQUALS (=)`.
3891
- # * Supported fields:
3892
- # - `status.entityStatus`
3893
- # - `commitment`
3894
- # - `deliveryMethod`
3895
- # - `rateDetails.rateType`
3896
- # - `exchange`
3897
- # Examples:
3898
- # * All active inventory sources:
3899
- # `status.entityStatus="ENTITY_STATUS_ACTIVE"`
3900
- # * Inventory sources belonging to Google Ad Manager or Rubicon exchanges:
3901
- # `exchange="EXCHANGE_GOOGLE_AD_MANAGER" OR exchange="EXCHANGE_RUBICON"`
3902
- # The length of this field should be no more than 500 characters.
3760
+ # Allows filtering by inventory source properties. Supported syntax: * Filter
3761
+ # expressions are made up of one or more restrictions. * Restrictions can be
3762
+ # combined by `AND` or `OR` logical operators. A sequence of restrictions
3763
+ # implicitly uses `AND`. * A restriction has the form of ``field` `operator` `
3764
+ # value``. * The operator must be `EQUALS (=)`. * Supported fields: - `status.
3765
+ # entityStatus` - `commitment` - `deliveryMethod` - `rateDetails.rateType` - `
3766
+ # exchange` Examples: * All active inventory sources: `status.entityStatus="
3767
+ # ENTITY_STATUS_ACTIVE"` * Inventory sources belonging to Google Ad Manager or
3768
+ # Rubicon exchanges: `exchange="EXCHANGE_GOOGLE_AD_MANAGER" OR exchange="
3769
+ # EXCHANGE_RUBICON"` The length of this field should be no more than 500
3770
+ # characters.
3903
3771
  # @param [String] order_by
3904
- # Field by which to sort the list.
3905
- # Acceptable values are:
3906
- # * `displayName` (default)
3907
- # The default sorting order is ascending. To specify descending order for
3908
- # a field, a suffix "desc" should be added to the field name. For example,
3909
- # `displayName desc`.
3772
+ # Field by which to sort the list. Acceptable values are: * `displayName` (
3773
+ # default) The default sorting order is ascending. To specify descending order
3774
+ # for a field, a suffix "desc" should be added to the field name. For example, `
3775
+ # displayName desc`.
3910
3776
  # @param [Fixnum] page_size
3911
3777
  # Requested page size. Must be between `1` and `100`. If unspecified will
3912
3778
  # default to `100`.
3913
3779
  # @param [String] page_token
3914
- # A token identifying a page of results the server should return.
3915
- # Typically, this is the value of
3916
- # next_page_token
3917
- # returned from the previous call to `ListInventorySources` method.
3918
- # If not specified, the first page of results will be returned.
3780
+ # A token identifying a page of results the server should return. Typically,
3781
+ # this is the value of next_page_token returned from the previous call to `
3782
+ # ListInventorySources` method. If not specified, the first page of results will
3783
+ # be returned.
3919
3784
  # @param [Fixnum] partner_id
3920
3785
  # The ID of the partner that has access to the inventory source.
3921
3786
  # @param [String] fields
@@ -3951,12 +3816,10 @@ module Google
3951
3816
  end
3952
3817
 
3953
3818
  # Downloads media. Download is supported on the URI `/download/`resource_name=**`
3954
- # ?alt=media.`
3955
- # **Note**: Download requests will not be successful without including `alt=
3956
- # media` query string.
3819
+ # ?alt=media.` **Note**: Download requests will not be successful without
3820
+ # including `alt=media` query string.
3957
3821
  # @param [String] resource_name
3958
- # Name of the media that is being downloaded. See
3959
- # ReadRequest.resource_name.
3822
+ # Name of the media that is being downloaded. See ReadRequest.resource_name.
3960
3823
  # @param [String] fields
3961
3824
  # Selector specifying which fields to include in a partial response.
3962
3825
  # @param [String] quota_user
@@ -3991,6 +3854,126 @@ module Google
3991
3854
  execute_or_queue_command(command, &block)
3992
3855
  end
3993
3856
 
3857
+ # Bulk edits targeting options under a single partner. The operation will delete
3858
+ # the assigned targeting options provided in
3859
+ # BulkEditPartnerAssignedTargetingOptionsRequest.delete_requests and then create
3860
+ # the assigned targeting options provided in
3861
+ # BulkEditPartnerAssignedTargetingOptionsRequest.create_requests .
3862
+ # @param [Fixnum] partner_id
3863
+ # Required. The ID of the partner.
3864
+ # @param [Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsRequest] bulk_edit_partner_assigned_targeting_options_request_object
3865
+ # @param [String] fields
3866
+ # Selector specifying which fields to include in a partial response.
3867
+ # @param [String] quota_user
3868
+ # Available to use for quota purposes for server-side applications. Can be any
3869
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3870
+ # @param [Google::Apis::RequestOptions] options
3871
+ # Request-specific options
3872
+ #
3873
+ # @yield [result, err] Result & error if block supplied
3874
+ # @yieldparam result [Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsResponse] parsed result object
3875
+ # @yieldparam err [StandardError] error object if request failed
3876
+ #
3877
+ # @return [Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsResponse]
3878
+ #
3879
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3880
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3881
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3882
+ def bulk_edit_partner_assigned_targeting_options(partner_id, bulk_edit_partner_assigned_targeting_options_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3883
+ command = make_simple_command(:post, 'v1/partners/{+partnerId}:bulkEditPartnerAssignedTargetingOptions', options)
3884
+ command.request_representation = Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsRequest::Representation
3885
+ command.request_object = bulk_edit_partner_assigned_targeting_options_request_object
3886
+ command.response_representation = Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsResponse::Representation
3887
+ command.response_class = Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsResponse
3888
+ command.params['partnerId'] = partner_id unless partner_id.nil?
3889
+ command.query['fields'] = fields unless fields.nil?
3890
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3891
+ execute_or_queue_command(command, &block)
3892
+ end
3893
+
3894
+ # Gets a partner.
3895
+ # @param [Fixnum] partner_id
3896
+ # Required. The ID of the partner to fetch.
3897
+ # @param [String] fields
3898
+ # Selector specifying which fields to include in a partial response.
3899
+ # @param [String] quota_user
3900
+ # Available to use for quota purposes for server-side applications. Can be any
3901
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3902
+ # @param [Google::Apis::RequestOptions] options
3903
+ # Request-specific options
3904
+ #
3905
+ # @yield [result, err] Result & error if block supplied
3906
+ # @yieldparam result [Google::Apis::DisplayvideoV1::Partner] parsed result object
3907
+ # @yieldparam err [StandardError] error object if request failed
3908
+ #
3909
+ # @return [Google::Apis::DisplayvideoV1::Partner]
3910
+ #
3911
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3912
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3913
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3914
+ def get_partner(partner_id, fields: nil, quota_user: nil, options: nil, &block)
3915
+ command = make_simple_command(:get, 'v1/partners/{+partnerId}', options)
3916
+ command.response_representation = Google::Apis::DisplayvideoV1::Partner::Representation
3917
+ command.response_class = Google::Apis::DisplayvideoV1::Partner
3918
+ command.params['partnerId'] = partner_id unless partner_id.nil?
3919
+ command.query['fields'] = fields unless fields.nil?
3920
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3921
+ execute_or_queue_command(command, &block)
3922
+ end
3923
+
3924
+ # Lists partners that are accessible to the current user. The order is defined
3925
+ # by the order_by parameter.
3926
+ # @param [String] filter
3927
+ # Allows filtering by partner properties. Supported syntax: * Filter expressions
3928
+ # are made up of one or more restrictions. * Restrictions can be combined by `
3929
+ # AND` or `OR` logical operators. A sequence of restrictions implicitly uses `
3930
+ # AND`. * A restriction has the form of ``field` `operator` `value``. * The
3931
+ # operator must be `EQUALS (=)`. * Supported fields: - `entityStatus` Examples: *
3932
+ # All active partners: `entityStatus="ENTITY_STATUS_ACTIVE"` The length of this
3933
+ # field should be no more than 500 characters.
3934
+ # @param [String] order_by
3935
+ # Field by which to sort the list. Acceptable values are: * `displayName` The
3936
+ # default sorting order is ascending. To specify descending order for a field, a
3937
+ # suffix "desc" should be added to the field name. For example, `displayName
3938
+ # desc`.
3939
+ # @param [Fixnum] page_size
3940
+ # Requested page size. Must be between `1` and `100`. If unspecified will
3941
+ # default to `100`.
3942
+ # @param [String] page_token
3943
+ # A token identifying a page of results the server should return. Typically,
3944
+ # this is the value of next_page_token returned from the previous call to `
3945
+ # ListPartners` method. If not specified, the first page of results will be
3946
+ # returned.
3947
+ # @param [String] fields
3948
+ # Selector specifying which fields to include in a partial response.
3949
+ # @param [String] quota_user
3950
+ # Available to use for quota purposes for server-side applications. Can be any
3951
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3952
+ # @param [Google::Apis::RequestOptions] options
3953
+ # Request-specific options
3954
+ #
3955
+ # @yield [result, err] Result & error if block supplied
3956
+ # @yieldparam result [Google::Apis::DisplayvideoV1::ListPartnersResponse] parsed result object
3957
+ # @yieldparam err [StandardError] error object if request failed
3958
+ #
3959
+ # @return [Google::Apis::DisplayvideoV1::ListPartnersResponse]
3960
+ #
3961
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3962
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3963
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3964
+ def list_partners(filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3965
+ command = make_simple_command(:get, 'v1/partners', options)
3966
+ command.response_representation = Google::Apis::DisplayvideoV1::ListPartnersResponse::Representation
3967
+ command.response_class = Google::Apis::DisplayvideoV1::ListPartnersResponse
3968
+ command.query['filter'] = filter unless filter.nil?
3969
+ command.query['orderBy'] = order_by unless order_by.nil?
3970
+ command.query['pageSize'] = page_size unless page_size.nil?
3971
+ command.query['pageToken'] = page_token unless page_token.nil?
3972
+ command.query['fields'] = fields unless fields.nil?
3973
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3974
+ execute_or_queue_command(command, &block)
3975
+ end
3976
+
3994
3977
  # Creates a new channel. Returns the newly created channel if successful.
3995
3978
  # @param [Fixnum] partner_id
3996
3979
  # The ID of the partner that owns the created channel.
@@ -4069,36 +4052,26 @@ module Google
4069
4052
  # @param [Fixnum] advertiser_id
4070
4053
  # The ID of the advertiser that owns the channels.
4071
4054
  # @param [String] filter
4072
- # Allows filtering by channel fields.
4073
- # Supported syntax:
4074
- # * Filter expressions for channel currently can only contain at most one
4075
- # * restriction.
4076
- # * A restriction has the form of ``field` `operator` `value``.
4077
- # * The operator must be `CONTAINS (:)`.
4078
- # * Supported fields:
4079
- # - `displayName`
4080
- # Examples:
4081
- # * All channels for which the display name contains "google":
4082
- # `displayName : "google"`.
4083
- # The length of this field should be no more than 500 characters.
4055
+ # Allows filtering by channel fields. Supported syntax: * Filter expressions for
4056
+ # channel currently can only contain at most one * restriction. * A restriction
4057
+ # has the form of ``field` `operator` `value``. * The operator must be `CONTAINS
4058
+ # (:)`. * Supported fields: - `displayName` Examples: * All channels for which
4059
+ # the display name contains "google": `displayName : "google"`. The length of
4060
+ # this field should be no more than 500 characters.
4084
4061
  # @param [String] order_by
4085
- # Field by which to sort the list.
4086
- # Acceptable values are:
4087
- # * `displayName` (default)
4088
- # * `channelId`
4089
- # The default sorting order is ascending. To specify descending order for a
4090
- # field, a suffix " desc" should be added to the field name. Example:
4091
- # `displayName desc`.
4062
+ # Field by which to sort the list. Acceptable values are: * `displayName` (
4063
+ # default) * `channelId` The default sorting order is ascending. To specify
4064
+ # descending order for a field, a suffix " desc" should be added to the field
4065
+ # name. Example: `displayName desc`.
4092
4066
  # @param [Fixnum] page_size
4093
4067
  # Requested page size. Must be between `1` and `100`. If unspecified will
4094
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
4095
- # is specified.
4068
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
4069
+ # specified.
4096
4070
  # @param [String] page_token
4097
- # A token identifying a page of results the server should return.
4098
- # Typically, this is the value of
4099
- # next_page_token returned from the
4100
- # previous call to `ListChannels` method. If not specified, the first page
4101
- # of results will be returned.
4071
+ # A token identifying a page of results the server should return. Typically,
4072
+ # this is the value of next_page_token returned from the previous call to `
4073
+ # ListChannels` method. If not specified, the first page of results will be
4074
+ # returned.
4102
4075
  # @param [String] fields
4103
4076
  # Selector specifying which fields to include in a partial response.
4104
4077
  # @param [String] quota_user
@@ -4173,9 +4146,8 @@ module Google
4173
4146
  execute_or_queue_command(command, &block)
4174
4147
  end
4175
4148
 
4176
- # Bulk edits sites under a single channel.
4177
- # The operation will delete the sites provided in
4178
- # BulkEditSitesRequest.deleted_sites and then create the sites
4149
+ # Bulk edits sites under a single channel. The operation will delete the sites
4150
+ # provided in BulkEditSitesRequest.deleted_sites and then create the sites
4179
4151
  # provided in BulkEditSitesRequest.created_sites.
4180
4152
  # @param [Fixnum] partner_id
4181
4153
  # The ID of the partner that owns the parent channel.
@@ -4298,34 +4270,25 @@ module Google
4298
4270
  # @param [Fixnum] advertiser_id
4299
4271
  # The ID of the advertiser that owns the parent channel.
4300
4272
  # @param [String] filter
4301
- # Allows filtering by site fields.
4302
- # Supported syntax:
4303
- # * Filter expressions for site currently can only contain at most one
4304
- # * restriction.
4305
- # * A restriction has the form of ``field` `operator` `value``.
4306
- # * The operator must be `CONTAINS (:)`.
4307
- # * Supported fields:
4308
- # - `urlOrAppId`
4309
- # Examples:
4310
- # * All sites for which the URL or app ID contains "google":
4311
- # `urlOrAppId : "google"`
4273
+ # Allows filtering by site fields. Supported syntax: * Filter expressions for
4274
+ # site currently can only contain at most one * restriction. * A restriction has
4275
+ # the form of ``field` `operator` `value``. * The operator must be `CONTAINS (:)`
4276
+ # . * Supported fields: - `urlOrAppId` Examples: * All sites for which the URL
4277
+ # or app ID contains "google": `urlOrAppId : "google"`
4312
4278
  # @param [String] order_by
4313
- # Field by which to sort the list.
4314
- # Acceptable values are:
4315
- # * `urlOrAppId` (default)
4316
- # The default sorting order is ascending. To specify descending order for a
4317
- # field, a suffix " desc" should be added to the field name. Example:
4318
- # `urlOrAppId desc`.
4279
+ # Field by which to sort the list. Acceptable values are: * `urlOrAppId` (
4280
+ # default) The default sorting order is ascending. To specify descending order
4281
+ # for a field, a suffix " desc" should be added to the field name. Example: `
4282
+ # urlOrAppId desc`.
4319
4283
  # @param [Fixnum] page_size
4320
4284
  # Requested page size. Must be between `1` and `100`. If unspecified will
4321
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
4322
- # is specified.
4285
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
4286
+ # specified.
4323
4287
  # @param [String] page_token
4324
- # A token identifying a page of results the server should return.
4325
- # Typically, this is the value of
4326
- # next_page_token returned from the
4327
- # previous call to `ListSites` method. If not specified, the first page
4328
- # of results will be returned.
4288
+ # A token identifying a page of results the server should return. Typically,
4289
+ # this is the value of next_page_token returned from the previous call to `
4290
+ # ListSites` method. If not specified, the first page of results will be
4291
+ # returned.
4329
4292
  # @param [String] fields
4330
4293
  # Selector specifying which fields to include in a partial response.
4331
4294
  # @param [String] quota_user
@@ -4359,21 +4322,186 @@ module Google
4359
4322
  execute_or_queue_command(command, &block)
4360
4323
  end
4361
4324
 
4362
- # Creates an SDF Download Task. Returns an
4363
- # Operation.
4364
- # An SDF Download Task is a long-running, asynchronous operation. The
4365
- # metadata type of this operation is
4366
- # SdfDownloadTaskMetadata. If the request is successful, the
4367
- # response type of the operation is
4368
- # SdfDownloadTask. The response will not include the download files,
4369
- # which must be retrieved with
4370
- # media.download. The state of
4371
- # operation can be retrieved with
4372
- # sdfdownloadtask.operations.get.
4373
- # Any errors can be found in the
4374
- # error.message. Note
4375
- # that error.details is expected to be
4376
- # empty.
4325
+ # Assigns a targeting option to a partner. Returns the assigned targeting option
4326
+ # if successful.
4327
+ # @param [Fixnum] partner_id
4328
+ # Required. The ID of the partner.
4329
+ # @param [String] targeting_type
4330
+ # Required. Identifies the type of this assigned targeting option. Supported
4331
+ # targeting types: * `TARGETING_TYPE_CHANNEL`
4332
+ # @param [Google::Apis::DisplayvideoV1::AssignedTargetingOption] assigned_targeting_option_object
4333
+ # @param [String] fields
4334
+ # Selector specifying which fields to include in a partial response.
4335
+ # @param [String] quota_user
4336
+ # Available to use for quota purposes for server-side applications. Can be any
4337
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4338
+ # @param [Google::Apis::RequestOptions] options
4339
+ # Request-specific options
4340
+ #
4341
+ # @yield [result, err] Result & error if block supplied
4342
+ # @yieldparam result [Google::Apis::DisplayvideoV1::AssignedTargetingOption] parsed result object
4343
+ # @yieldparam err [StandardError] error object if request failed
4344
+ #
4345
+ # @return [Google::Apis::DisplayvideoV1::AssignedTargetingOption]
4346
+ #
4347
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4348
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4349
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4350
+ def create_partner_targeting_type_assigned_targeting_option(partner_id, targeting_type, assigned_targeting_option_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4351
+ command = make_simple_command(:post, 'v1/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions', options)
4352
+ command.request_representation = Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation
4353
+ command.request_object = assigned_targeting_option_object
4354
+ command.response_representation = Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation
4355
+ command.response_class = Google::Apis::DisplayvideoV1::AssignedTargetingOption
4356
+ command.params['partnerId'] = partner_id unless partner_id.nil?
4357
+ command.params['targetingType'] = targeting_type unless targeting_type.nil?
4358
+ command.query['fields'] = fields unless fields.nil?
4359
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4360
+ execute_or_queue_command(command, &block)
4361
+ end
4362
+
4363
+ # Deletes an assigned targeting option from a partner.
4364
+ # @param [Fixnum] partner_id
4365
+ # Required. The ID of the partner.
4366
+ # @param [String] targeting_type
4367
+ # Required. Identifies the type of this assigned targeting option. Supported
4368
+ # targeting types: * `TARGETING_TYPE_CHANNEL`
4369
+ # @param [String] assigned_targeting_option_id
4370
+ # Required. The ID of the assigned targeting option to delete.
4371
+ # @param [String] fields
4372
+ # Selector specifying which fields to include in a partial response.
4373
+ # @param [String] quota_user
4374
+ # Available to use for quota purposes for server-side applications. Can be any
4375
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4376
+ # @param [Google::Apis::RequestOptions] options
4377
+ # Request-specific options
4378
+ #
4379
+ # @yield [result, err] Result & error if block supplied
4380
+ # @yieldparam result [Google::Apis::DisplayvideoV1::Empty] parsed result object
4381
+ # @yieldparam err [StandardError] error object if request failed
4382
+ #
4383
+ # @return [Google::Apis::DisplayvideoV1::Empty]
4384
+ #
4385
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4386
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4387
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4388
+ def delete_partner_targeting_type_assigned_targeting_option(partner_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil, &block)
4389
+ command = make_simple_command(:delete, 'v1/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', options)
4390
+ command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation
4391
+ command.response_class = Google::Apis::DisplayvideoV1::Empty
4392
+ command.params['partnerId'] = partner_id unless partner_id.nil?
4393
+ command.params['targetingType'] = targeting_type unless targeting_type.nil?
4394
+ command.params['assignedTargetingOptionId'] = assigned_targeting_option_id unless assigned_targeting_option_id.nil?
4395
+ command.query['fields'] = fields unless fields.nil?
4396
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4397
+ execute_or_queue_command(command, &block)
4398
+ end
4399
+
4400
+ # Gets a single targeting option assigned to a partner.
4401
+ # @param [Fixnum] partner_id
4402
+ # Required. The ID of the partner.
4403
+ # @param [String] targeting_type
4404
+ # Required. Identifies the type of this assigned targeting option. Supported
4405
+ # targeting types: * `TARGETING_TYPE_CHANNEL`
4406
+ # @param [String] assigned_targeting_option_id
4407
+ # Required. An identifier unique to the targeting type in this partner that
4408
+ # identifies the assigned targeting option being requested.
4409
+ # @param [String] fields
4410
+ # Selector specifying which fields to include in a partial response.
4411
+ # @param [String] quota_user
4412
+ # Available to use for quota purposes for server-side applications. Can be any
4413
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4414
+ # @param [Google::Apis::RequestOptions] options
4415
+ # Request-specific options
4416
+ #
4417
+ # @yield [result, err] Result & error if block supplied
4418
+ # @yieldparam result [Google::Apis::DisplayvideoV1::AssignedTargetingOption] parsed result object
4419
+ # @yieldparam err [StandardError] error object if request failed
4420
+ #
4421
+ # @return [Google::Apis::DisplayvideoV1::AssignedTargetingOption]
4422
+ #
4423
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4424
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4425
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4426
+ def get_partner_targeting_type_assigned_targeting_option(partner_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil, &block)
4427
+ command = make_simple_command(:get, 'v1/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', options)
4428
+ command.response_representation = Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation
4429
+ command.response_class = Google::Apis::DisplayvideoV1::AssignedTargetingOption
4430
+ command.params['partnerId'] = partner_id unless partner_id.nil?
4431
+ command.params['targetingType'] = targeting_type unless targeting_type.nil?
4432
+ command.params['assignedTargetingOptionId'] = assigned_targeting_option_id unless assigned_targeting_option_id.nil?
4433
+ command.query['fields'] = fields unless fields.nil?
4434
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4435
+ execute_or_queue_command(command, &block)
4436
+ end
4437
+
4438
+ # Lists the targeting options assigned to a partner.
4439
+ # @param [Fixnum] partner_id
4440
+ # Required. The ID of the partner.
4441
+ # @param [String] targeting_type
4442
+ # Required. Identifies the type of assigned targeting options to list. Supported
4443
+ # targeting types: * `TARGETING_TYPE_CHANNEL`
4444
+ # @param [String] filter
4445
+ # Allows filtering by assigned targeting option properties. Supported syntax: *
4446
+ # Filter expressions are made up of one or more restrictions. * Restrictions can
4447
+ # be combined by the logical operator `OR`. * A restriction has the form of ``
4448
+ # field` `operator` `value``. * The operator must be `EQUALS (=)`. * Supported
4449
+ # fields: - `assignedTargetingOptionId` Examples: * AssignedTargetingOption with
4450
+ # ID 123456 `assignedTargetingOptionId="123456"` The length of this field should
4451
+ # be no more than 500 characters.
4452
+ # @param [String] order_by
4453
+ # Field by which to sort the list. Acceptable values are: * `
4454
+ # assignedTargetingOptionId` (default) The default sorting order is ascending.
4455
+ # To specify descending order for a field, a suffix "desc" should be added to
4456
+ # the field name. Example: `assignedTargetingOptionId desc`.
4457
+ # @param [Fixnum] page_size
4458
+ # Requested page size. Must be between `1` and `100`. If unspecified will
4459
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
4460
+ # specified.
4461
+ # @param [String] page_token
4462
+ # A token identifying a page of results the server should return. Typically,
4463
+ # this is the value of next_page_token returned from the previous call to `
4464
+ # ListPartnerAssignedTargetingOptions` method. If not specified, the first page
4465
+ # of results will be returned.
4466
+ # @param [String] fields
4467
+ # Selector specifying which fields to include in a partial response.
4468
+ # @param [String] quota_user
4469
+ # Available to use for quota purposes for server-side applications. Can be any
4470
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4471
+ # @param [Google::Apis::RequestOptions] options
4472
+ # Request-specific options
4473
+ #
4474
+ # @yield [result, err] Result & error if block supplied
4475
+ # @yieldparam result [Google::Apis::DisplayvideoV1::ListPartnerAssignedTargetingOptionsResponse] parsed result object
4476
+ # @yieldparam err [StandardError] error object if request failed
4477
+ #
4478
+ # @return [Google::Apis::DisplayvideoV1::ListPartnerAssignedTargetingOptionsResponse]
4479
+ #
4480
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4481
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4482
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4483
+ def list_partner_targeting_type_assigned_targeting_options(partner_id, targeting_type, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4484
+ command = make_simple_command(:get, 'v1/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions', options)
4485
+ command.response_representation = Google::Apis::DisplayvideoV1::ListPartnerAssignedTargetingOptionsResponse::Representation
4486
+ command.response_class = Google::Apis::DisplayvideoV1::ListPartnerAssignedTargetingOptionsResponse
4487
+ command.params['partnerId'] = partner_id unless partner_id.nil?
4488
+ command.params['targetingType'] = targeting_type unless targeting_type.nil?
4489
+ command.query['filter'] = filter unless filter.nil?
4490
+ command.query['orderBy'] = order_by unless order_by.nil?
4491
+ command.query['pageSize'] = page_size unless page_size.nil?
4492
+ command.query['pageToken'] = page_token unless page_token.nil?
4493
+ command.query['fields'] = fields unless fields.nil?
4494
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4495
+ execute_or_queue_command(command, &block)
4496
+ end
4497
+
4498
+ # Creates an SDF Download Task. Returns an Operation. An SDF Download Task is a
4499
+ # long-running, asynchronous operation. The metadata type of this operation is
4500
+ # SdfDownloadTaskMetadata. If the request is successful, the response type of
4501
+ # the operation is SdfDownloadTask. The response will not include the download
4502
+ # files, which must be retrieved with media.download. The state of operation can
4503
+ # be retrieved with sdfdownloadtask.operations.get. Any errors can be found in
4504
+ # the error.message. Note that error.details is expected to be empty.
4377
4505
  # @param [Google::Apis::DisplayvideoV1::CreateSdfDownloadTaskRequest] create_sdf_download_task_request_object
4378
4506
  # @param [String] fields
4379
4507
  # Selector specifying which fields to include in a partial response.
@@ -4476,32 +4604,26 @@ module Google
4476
4604
  # @param [Fixnum] advertiser_id
4477
4605
  # Required. The Advertiser this request is being made in the context of.
4478
4606
  # @param [String] filter
4479
- # Allows filtering by targeting option properties.
4480
- # Supported syntax:
4481
- # * Filter expressions are made up of one or more restrictions.
4482
- # * Restrictions can be combined by `OR` logical operators.
4483
- # * A restriction has the form of ``field` `operator` `value``.
4484
- # * The operator must be "=" (equal sign).
4485
- # * Supported fields:
4486
- # - `targetingOptionId`
4487
- # The length of this field should be no more than 500 characters.
4607
+ # Allows filtering by targeting option properties. Supported syntax: * Filter
4608
+ # expressions are made up of one or more restrictions. * Restrictions can be
4609
+ # combined by `OR` logical operators. * A restriction has the form of ``field` `
4610
+ # operator` `value``. * The operator must be "=" (equal sign). * Supported
4611
+ # fields: - `targetingOptionId` The length of this field should be no more than
4612
+ # 500 characters.
4488
4613
  # @param [String] order_by
4489
- # Field by which to sort the list.
4490
- # Acceptable values are:
4491
- # * `targetingOptionId` (default)
4492
- # The default sorting order is ascending. To specify descending order for
4493
- # a field, a suffix "desc" should be added to the field name.
4494
- # Example: `targetingOptionId desc`.
4614
+ # Field by which to sort the list. Acceptable values are: * `targetingOptionId` (
4615
+ # default) The default sorting order is ascending. To specify descending order
4616
+ # for a field, a suffix "desc" should be added to the field name. Example: `
4617
+ # targetingOptionId desc`.
4495
4618
  # @param [Fixnum] page_size
4496
4619
  # Requested page size. Must be between `1` and `100`. If unspecified will
4497
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
4498
- # is specified.
4620
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
4621
+ # specified.
4499
4622
  # @param [String] page_token
4500
- # A token identifying a page of results the server should return.
4501
- # Typically, this is the value of
4502
- # next_page_token
4503
- # returned from the previous call to `ListTargetingOptions` method.
4504
- # If not specified, the first page of results will be returned.
4623
+ # A token identifying a page of results the server should return. Typically,
4624
+ # this is the value of next_page_token returned from the previous call to `
4625
+ # ListTargetingOptions` method. If not specified, the first page of results will
4626
+ # be returned.
4505
4627
  # @param [String] fields
4506
4628
  # Selector specifying which fields to include in a partial response.
4507
4629
  # @param [String] quota_user
@@ -4533,6 +4655,235 @@ module Google
4533
4655
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4534
4656
  execute_or_queue_command(command, &block)
4535
4657
  end
4658
+
4659
+ # Bulk edits user roles for a user. The operation will delete the assigned user
4660
+ # roles provided in BulkEditAssignedUserRolesRequest.deleted_assigned_user_roles
4661
+ # and then assign the user roles provided in BulkEditAssignedUserRolesRequest.
4662
+ # created_assigned_user_roles.
4663
+ # @param [Fixnum] user_id
4664
+ # Required. The ID of the user to which the assigned user roles belong.
4665
+ # @param [Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesRequest] bulk_edit_assigned_user_roles_request_object
4666
+ # @param [String] fields
4667
+ # Selector specifying which fields to include in a partial response.
4668
+ # @param [String] quota_user
4669
+ # Available to use for quota purposes for server-side applications. Can be any
4670
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4671
+ # @param [Google::Apis::RequestOptions] options
4672
+ # Request-specific options
4673
+ #
4674
+ # @yield [result, err] Result & error if block supplied
4675
+ # @yieldparam result [Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesResponse] parsed result object
4676
+ # @yieldparam err [StandardError] error object if request failed
4677
+ #
4678
+ # @return [Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesResponse]
4679
+ #
4680
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4681
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4682
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4683
+ def bulk_edit_assigned_user_roles(user_id, bulk_edit_assigned_user_roles_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4684
+ command = make_simple_command(:post, 'v1/users/{+userId}:bulkEditAssignedUserRoles', options)
4685
+ command.request_representation = Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesRequest::Representation
4686
+ command.request_object = bulk_edit_assigned_user_roles_request_object
4687
+ command.response_representation = Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesResponse::Representation
4688
+ command.response_class = Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesResponse
4689
+ command.params['userId'] = user_id unless user_id.nil?
4690
+ command.query['fields'] = fields unless fields.nil?
4691
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4692
+ execute_or_queue_command(command, &block)
4693
+ end
4694
+
4695
+ # Creates a new user. Returns the newly created user if successful.
4696
+ # @param [Google::Apis::DisplayvideoV1::User] user_object
4697
+ # @param [String] fields
4698
+ # Selector specifying which fields to include in a partial response.
4699
+ # @param [String] quota_user
4700
+ # Available to use for quota purposes for server-side applications. Can be any
4701
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4702
+ # @param [Google::Apis::RequestOptions] options
4703
+ # Request-specific options
4704
+ #
4705
+ # @yield [result, err] Result & error if block supplied
4706
+ # @yieldparam result [Google::Apis::DisplayvideoV1::User] parsed result object
4707
+ # @yieldparam err [StandardError] error object if request failed
4708
+ #
4709
+ # @return [Google::Apis::DisplayvideoV1::User]
4710
+ #
4711
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4712
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4713
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4714
+ def create_user(user_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4715
+ command = make_simple_command(:post, 'v1/users', options)
4716
+ command.request_representation = Google::Apis::DisplayvideoV1::User::Representation
4717
+ command.request_object = user_object
4718
+ command.response_representation = Google::Apis::DisplayvideoV1::User::Representation
4719
+ command.response_class = Google::Apis::DisplayvideoV1::User
4720
+ command.query['fields'] = fields unless fields.nil?
4721
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4722
+ execute_or_queue_command(command, &block)
4723
+ end
4724
+
4725
+ # Deletes a user.
4726
+ # @param [Fixnum] user_id
4727
+ # Required. The ID of the user to delete.
4728
+ # @param [String] fields
4729
+ # Selector specifying which fields to include in a partial response.
4730
+ # @param [String] quota_user
4731
+ # Available to use for quota purposes for server-side applications. Can be any
4732
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4733
+ # @param [Google::Apis::RequestOptions] options
4734
+ # Request-specific options
4735
+ #
4736
+ # @yield [result, err] Result & error if block supplied
4737
+ # @yieldparam result [Google::Apis::DisplayvideoV1::Empty] parsed result object
4738
+ # @yieldparam err [StandardError] error object if request failed
4739
+ #
4740
+ # @return [Google::Apis::DisplayvideoV1::Empty]
4741
+ #
4742
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4743
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4744
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4745
+ def delete_user(user_id, fields: nil, quota_user: nil, options: nil, &block)
4746
+ command = make_simple_command(:delete, 'v1/users/{+userId}', options)
4747
+ command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation
4748
+ command.response_class = Google::Apis::DisplayvideoV1::Empty
4749
+ command.params['userId'] = user_id unless user_id.nil?
4750
+ command.query['fields'] = fields unless fields.nil?
4751
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4752
+ execute_or_queue_command(command, &block)
4753
+ end
4754
+
4755
+ # Gets a user.
4756
+ # @param [Fixnum] user_id
4757
+ # Required. The ID of the user to fetch.
4758
+ # @param [String] fields
4759
+ # Selector specifying which fields to include in a partial response.
4760
+ # @param [String] quota_user
4761
+ # Available to use for quota purposes for server-side applications. Can be any
4762
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4763
+ # @param [Google::Apis::RequestOptions] options
4764
+ # Request-specific options
4765
+ #
4766
+ # @yield [result, err] Result & error if block supplied
4767
+ # @yieldparam result [Google::Apis::DisplayvideoV1::User] parsed result object
4768
+ # @yieldparam err [StandardError] error object if request failed
4769
+ #
4770
+ # @return [Google::Apis::DisplayvideoV1::User]
4771
+ #
4772
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4773
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4774
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4775
+ def get_user(user_id, fields: nil, quota_user: nil, options: nil, &block)
4776
+ command = make_simple_command(:get, 'v1/users/{+userId}', options)
4777
+ command.response_representation = Google::Apis::DisplayvideoV1::User::Representation
4778
+ command.response_class = Google::Apis::DisplayvideoV1::User
4779
+ command.params['userId'] = user_id unless user_id.nil?
4780
+ command.query['fields'] = fields unless fields.nil?
4781
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4782
+ execute_or_queue_command(command, &block)
4783
+ end
4784
+
4785
+ # Lists users that are accessible to the current user. If two users have user
4786
+ # roles on the same partner or advertiser, they can access each other.
4787
+ # @param [String] filter
4788
+ # Allows filtering by user properties. Supported syntax: * Filter expressions
4789
+ # are made up of one or more restrictions. * Restrictions can be combined by the
4790
+ # logical operator `AND`. * A restriction has the form of ``field` `operator` `
4791
+ # value``. * The operator must be `CONTAINS (:)` or `EQUALS (=)`. * The operator
4792
+ # must be `CONTAINS (:)` for the following fields: - `displayName` - `email` *
4793
+ # The operator must be `EQUALS (=)` for the following fields: - `
4794
+ # assignedUserRole.userRole` - `assignedUserRole.partnerId` - `assignedUserRole.
4795
+ # advertiserId` - `assignedUserRole.entityType`: A synthetic field of
4796
+ # AssignedUserRole used for filtering. Identifies the type of entity to which
4797
+ # the user role is assigned. Valid values are `Partner` and `Advertiser`. - `
4798
+ # assignedUserRole.parentPartnerId`: A synthetic field of AssignedUserRole used
4799
+ # for filtering. Identifies the parent partner of the entity to which the user
4800
+ # role is assigned." Examples: * The user with displayName containing `foo`: `
4801
+ # displayName:"foo"` * The user with email containing `bar`: `email:"bar"` * All
4802
+ # users with standard user roles: `assignedUserRole.userRole="STANDARD"` * All
4803
+ # users with user roles for partner 123: `assignedUserRole.partnerId="123"` *
4804
+ # All users with user roles for advertiser 123: `assignedUserRole.advertiserId="
4805
+ # 123"` * All users with partner level user roles: `entityType="PARTNER"` * All
4806
+ # users with user roles for partner 123 and advertisers under partner 123: `
4807
+ # parentPartnerId="123"` The length of this field should be no more than 500
4808
+ # characters.
4809
+ # @param [String] order_by
4810
+ # Field by which to sort the list. Acceptable values are: * `displayName` (
4811
+ # default) The default sorting order is ascending. To specify descending order
4812
+ # for a field, a suffix "desc" should be added to the field name. For example, `
4813
+ # displayName desc`.
4814
+ # @param [Fixnum] page_size
4815
+ # Requested page size. Must be between `1` and `100`. If unspecified will
4816
+ # default to `100`.
4817
+ # @param [String] page_token
4818
+ # A token identifying a page of results the server should return. Typically,
4819
+ # this is the value of next_page_token returned from the previous call to `
4820
+ # ListUsers` method. If not specified, the first page of results will be
4821
+ # returned.
4822
+ # @param [String] fields
4823
+ # Selector specifying which fields to include in a partial response.
4824
+ # @param [String] quota_user
4825
+ # Available to use for quota purposes for server-side applications. Can be any
4826
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4827
+ # @param [Google::Apis::RequestOptions] options
4828
+ # Request-specific options
4829
+ #
4830
+ # @yield [result, err] Result & error if block supplied
4831
+ # @yieldparam result [Google::Apis::DisplayvideoV1::ListUsersResponse] parsed result object
4832
+ # @yieldparam err [StandardError] error object if request failed
4833
+ #
4834
+ # @return [Google::Apis::DisplayvideoV1::ListUsersResponse]
4835
+ #
4836
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4837
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4838
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4839
+ def list_users(filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4840
+ command = make_simple_command(:get, 'v1/users', options)
4841
+ command.response_representation = Google::Apis::DisplayvideoV1::ListUsersResponse::Representation
4842
+ command.response_class = Google::Apis::DisplayvideoV1::ListUsersResponse
4843
+ command.query['filter'] = filter unless filter.nil?
4844
+ command.query['orderBy'] = order_by unless order_by.nil?
4845
+ command.query['pageSize'] = page_size unless page_size.nil?
4846
+ command.query['pageToken'] = page_token unless page_token.nil?
4847
+ command.query['fields'] = fields unless fields.nil?
4848
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4849
+ execute_or_queue_command(command, &block)
4850
+ end
4851
+
4852
+ # Updates an existing user. Returns the updated user if successful.
4853
+ # @param [Fixnum] user_id
4854
+ # Output only. The unique ID of the user. Assigned by the system.
4855
+ # @param [Google::Apis::DisplayvideoV1::User] user_object
4856
+ # @param [String] update_mask
4857
+ # Required. The mask to control which fields to update.
4858
+ # @param [String] fields
4859
+ # Selector specifying which fields to include in a partial response.
4860
+ # @param [String] quota_user
4861
+ # Available to use for quota purposes for server-side applications. Can be any
4862
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4863
+ # @param [Google::Apis::RequestOptions] options
4864
+ # Request-specific options
4865
+ #
4866
+ # @yield [result, err] Result & error if block supplied
4867
+ # @yieldparam result [Google::Apis::DisplayvideoV1::User] parsed result object
4868
+ # @yieldparam err [StandardError] error object if request failed
4869
+ #
4870
+ # @return [Google::Apis::DisplayvideoV1::User]
4871
+ #
4872
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4873
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4874
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4875
+ def patch_user(user_id, user_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
4876
+ command = make_simple_command(:patch, 'v1/users/{+userId}', options)
4877
+ command.request_representation = Google::Apis::DisplayvideoV1::User::Representation
4878
+ command.request_object = user_object
4879
+ command.response_representation = Google::Apis::DisplayvideoV1::User::Representation
4880
+ command.response_class = Google::Apis::DisplayvideoV1::User
4881
+ command.params['userId'] = user_id unless user_id.nil?
4882
+ command.query['updateMask'] = update_mask unless update_mask.nil?
4883
+ command.query['fields'] = fields unless fields.nil?
4884
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4885
+ execute_or_queue_command(command, &block)
4886
+ end
4536
4887
 
4537
4888
  protected
4538
4889