google-api-client 0.42.0 → 0.44.1

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 (887) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +501 -0
  3. data/docs/oauth-server.md +4 -6
  4. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
  5. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
  6. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
  7. data/generated/google/apis/accessapproval_v1.rb +1 -1
  8. data/generated/google/apis/accessapproval_v1/classes.rb +57 -83
  9. data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
  10. data/generated/google/apis/accessapproval_v1/service.rb +93 -132
  11. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  12. data/generated/google/apis/accesscontextmanager_v1/classes.rb +198 -236
  13. data/generated/google/apis/accesscontextmanager_v1/service.rb +128 -171
  14. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  15. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
  16. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
  17. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  18. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +532 -651
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  20. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
  21. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  22. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
  23. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
  24. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  25. data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
  26. data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
  27. data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
  28. data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
  29. data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
  30. data/generated/google/apis/admin_directory_v1.rb +6 -8
  31. data/generated/google/apis/admin_directory_v1/classes.rb +224 -243
  32. data/generated/google/apis/admin_directory_v1/representations.rb +14 -40
  33. data/generated/google/apis/admin_directory_v1/service.rb +475 -1026
  34. data/generated/google/apis/admin_reports_v1.rb +6 -5
  35. data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
  36. data/generated/google/apis/admin_reports_v1/service.rb +131 -187
  37. data/generated/google/apis/admob_v1.rb +1 -1
  38. data/generated/google/apis/admob_v1/classes.rb +139 -268
  39. data/generated/google/apis/admob_v1/service.rb +11 -13
  40. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  41. data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
  42. data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
  43. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  44. data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
  45. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  46. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +193 -220
  47. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
  48. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  49. data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
  50. data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
  51. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  52. data/generated/google/apis/androidmanagement_v1/classes.rb +98 -61
  53. data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
  54. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  55. data/generated/google/apis/androidpublisher_v3/classes.rb +281 -342
  56. data/generated/google/apis/androidpublisher_v3/service.rb +127 -155
  57. data/generated/google/apis/apigee_v1.rb +6 -8
  58. data/generated/google/apis/apigee_v1/classes.rb +925 -1226
  59. data/generated/google/apis/apigee_v1/representations.rb +66 -2
  60. data/generated/google/apis/apigee_v1/service.rb +1000 -1142
  61. data/generated/google/apis/appengine_v1.rb +1 -1
  62. data/generated/google/apis/appengine_v1/classes.rb +45 -35
  63. data/generated/google/apis/appengine_v1/representations.rb +2 -0
  64. data/generated/google/apis/appengine_v1/service.rb +38 -44
  65. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  66. data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
  67. data/generated/google/apis/appengine_v1beta.rb +1 -1
  68. data/generated/google/apis/appengine_v1beta/classes.rb +45 -35
  69. data/generated/google/apis/appengine_v1beta/representations.rb +2 -0
  70. data/generated/google/apis/appengine_v1beta/service.rb +37 -43
  71. data/generated/google/apis/appsmarket_v2.rb +1 -1
  72. data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
  73. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  74. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +235 -337
  75. data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
  76. data/generated/google/apis/bigquery_v2.rb +1 -1
  77. data/generated/google/apis/bigquery_v2/classes.rb +538 -541
  78. data/generated/google/apis/bigquery_v2/representations.rb +71 -0
  79. data/generated/google/apis/bigquery_v2/service.rb +32 -40
  80. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  81. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
  82. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
  83. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  84. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
  85. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
  86. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  87. data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
  88. data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
  89. data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
  90. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  91. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
  92. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
  93. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  94. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
  95. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
  96. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
  97. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  98. data/generated/google/apis/bigtableadmin_v1/classes.rb +317 -0
  99. data/generated/google/apis/bigtableadmin_v1/representations.rb +129 -0
  100. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  101. data/generated/google/apis/bigtableadmin_v2/classes.rb +405 -0
  102. data/generated/google/apis/bigtableadmin_v2/representations.rb +175 -0
  103. data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
  104. data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
  105. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +103 -109
  106. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  107. data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
  108. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  109. data/generated/google/apis/binaryauthorization_v1/classes.rb +239 -354
  110. data/generated/google/apis/binaryauthorization_v1/service.rb +74 -89
  111. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  112. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +239 -354
  113. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +74 -89
  114. data/generated/google/apis/blogger_v2.rb +2 -3
  115. data/generated/google/apis/blogger_v2/classes.rb +1 -2
  116. data/generated/google/apis/blogger_v2/service.rb +1 -2
  117. data/generated/google/apis/blogger_v3.rb +2 -3
  118. data/generated/google/apis/blogger_v3/classes.rb +1 -2
  119. data/generated/google/apis/blogger_v3/service.rb +1 -2
  120. data/generated/google/apis/books_v1.rb +1 -1
  121. data/generated/google/apis/books_v1/classes.rb +140 -159
  122. data/generated/google/apis/books_v1/service.rb +47 -49
  123. data/generated/google/apis/calendar_v3.rb +1 -1
  124. data/generated/google/apis/chat_v1.rb +1 -1
  125. data/generated/google/apis/chat_v1/classes.rb +211 -106
  126. data/generated/google/apis/chat_v1/representations.rb +63 -0
  127. data/generated/google/apis/chat_v1/service.rb +95 -36
  128. data/generated/google/apis/chromeuxreport_v1.rb +1 -1
  129. data/generated/google/apis/chromeuxreport_v1/classes.rb +68 -57
  130. data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
  131. data/generated/google/apis/civicinfo_v2.rb +1 -1
  132. data/generated/google/apis/classroom_v1.rb +1 -1
  133. data/generated/google/apis/classroom_v1/classes.rb +250 -365
  134. data/generated/google/apis/classroom_v1/service.rb +643 -899
  135. data/generated/google/apis/cloudasset_v1.rb +1 -1
  136. data/generated/google/apis/cloudasset_v1/classes.rb +713 -1036
  137. data/generated/google/apis/cloudasset_v1/service.rb +131 -156
  138. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  139. data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -775
  140. data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
  141. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  142. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
  143. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
  144. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  145. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +220 -276
  146. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
  147. data/generated/google/apis/{securitycenter_v1p1alpha1.rb → cloudasset_v1p5beta1.rb} +9 -10
  148. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1300 -0
  149. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
  150. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +126 -0
  151. data/generated/google/apis/cloudbilling_v1.rb +7 -1
  152. data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
  153. data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
  154. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  155. data/generated/google/apis/cloudbuild_v1/classes.rb +292 -344
  156. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  157. data/generated/google/apis/cloudbuild_v1/service.rb +48 -63
  158. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  159. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +283 -329
  160. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  161. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
  162. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  163. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +269 -313
  164. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  165. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
  166. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  167. data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
  168. data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
  169. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  170. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +132 -154
  171. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
  172. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
  173. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  174. data/generated/google/apis/cloudfunctions_v1/classes.rb +323 -538
  175. data/generated/google/apis/cloudfunctions_v1/representations.rb +0 -17
  176. data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
  177. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  178. data/generated/google/apis/cloudidentity_v1/classes.rb +625 -75
  179. data/generated/google/apis/cloudidentity_v1/representations.rb +203 -0
  180. data/generated/google/apis/cloudidentity_v1/service.rb +43 -61
  181. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  182. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1051 -298
  183. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +346 -22
  184. data/generated/google/apis/cloudidentity_v1beta1/service.rb +742 -96
  185. data/generated/google/apis/cloudiot_v1.rb +1 -1
  186. data/generated/google/apis/cloudiot_v1/classes.rb +263 -373
  187. data/generated/google/apis/cloudiot_v1/service.rb +147 -154
  188. data/generated/google/apis/cloudkms_v1.rb +1 -1
  189. data/generated/google/apis/cloudkms_v1/classes.rb +502 -692
  190. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  191. data/generated/google/apis/cloudkms_v1/service.rb +170 -216
  192. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  193. data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
  194. data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
  195. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  196. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -754
  197. data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
  198. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  199. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
  200. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
  201. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  202. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
  203. data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
  204. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  205. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
  206. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
  207. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  208. data/generated/google/apis/cloudscheduler_v1/classes.rb +280 -380
  209. data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
  210. data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
  211. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  212. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +281 -381
  213. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
  214. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
  215. data/generated/google/apis/cloudsearch_v1.rb +2 -2
  216. data/generated/google/apis/cloudsearch_v1/classes.rb +650 -782
  217. data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
  218. data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
  219. data/generated/google/apis/cloudshell_v1.rb +1 -1
  220. data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
  221. data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
  222. data/generated/google/apis/cloudshell_v1/service.rb +21 -25
  223. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  224. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +66 -72
  225. data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
  226. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  227. data/generated/google/apis/cloudtasks_v2/classes.rb +605 -933
  228. data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
  229. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  230. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +602 -964
  231. data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
  232. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  233. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +609 -938
  234. data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
  235. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  236. data/generated/google/apis/cloudtrace_v1/classes.rb +39 -62
  237. data/generated/google/apis/cloudtrace_v1/service.rb +37 -57
  238. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  239. data/generated/google/apis/cloudtrace_v2/classes.rb +93 -107
  240. data/generated/google/apis/cloudtrace_v2/service.rb +8 -14
  241. data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
  242. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
  243. data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
  244. data/generated/google/apis/composer_v1.rb +1 -1
  245. data/generated/google/apis/composer_v1/classes.rb +190 -242
  246. data/generated/google/apis/composer_v1/service.rb +79 -150
  247. data/generated/google/apis/composer_v1beta1.rb +1 -1
  248. data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
  249. data/generated/google/apis/composer_v1beta1/service.rb +92 -179
  250. data/generated/google/apis/compute_alpha.rb +1 -1
  251. data/generated/google/apis/compute_alpha/classes.rb +1021 -137
  252. data/generated/google/apis/compute_alpha/representations.rb +208 -4
  253. data/generated/google/apis/compute_alpha/service.rb +710 -699
  254. data/generated/google/apis/compute_beta.rb +1 -1
  255. data/generated/google/apis/compute_beta/classes.rb +879 -75
  256. data/generated/google/apis/compute_beta/representations.rb +204 -1
  257. data/generated/google/apis/compute_beta/service.rb +875 -607
  258. data/generated/google/apis/compute_v1.rb +1 -1
  259. data/generated/google/apis/compute_v1/classes.rb +1324 -130
  260. data/generated/google/apis/compute_v1/representations.rb +480 -15
  261. data/generated/google/apis/compute_v1/service.rb +1076 -43
  262. data/generated/google/apis/container_v1.rb +1 -1
  263. data/generated/google/apis/container_v1/classes.rb +946 -961
  264. data/generated/google/apis/container_v1/representations.rb +69 -0
  265. data/generated/google/apis/container_v1/service.rb +435 -502
  266. data/generated/google/apis/container_v1beta1.rb +1 -1
  267. data/generated/google/apis/container_v1beta1/classes.rb +1032 -1039
  268. data/generated/google/apis/container_v1beta1/representations.rb +72 -0
  269. data/generated/google/apis/container_v1beta1/service.rb +403 -466
  270. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  271. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +456 -596
  272. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
  273. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  274. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +454 -613
  275. data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
  276. data/generated/google/apis/content_v2.rb +1 -1
  277. data/generated/google/apis/content_v2/classes.rb +20 -3
  278. data/generated/google/apis/content_v2/representations.rb +1 -0
  279. data/generated/google/apis/content_v2_1.rb +1 -1
  280. data/generated/google/apis/content_v2_1/classes.rb +112 -6
  281. data/generated/google/apis/content_v2_1/representations.rb +35 -0
  282. data/generated/google/apis/content_v2_1/service.rb +53 -2
  283. data/generated/google/apis/customsearch_v1.rb +1 -1
  284. data/generated/google/apis/customsearch_v1/classes.rb +303 -488
  285. data/generated/google/apis/customsearch_v1/service.rb +186 -333
  286. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  287. data/generated/google/apis/datacatalog_v1beta1/classes.rb +382 -570
  288. data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
  289. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  290. data/generated/google/apis/dataflow_v1b3/classes.rb +1015 -972
  291. data/generated/google/apis/dataflow_v1b3/representations.rb +115 -0
  292. data/generated/google/apis/dataflow_v1b3/service.rb +299 -257
  293. data/generated/google/apis/datafusion_v1.rb +40 -0
  294. data/generated/google/apis/datafusion_v1/classes.rb +1025 -0
  295. data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +141 -94
  296. data/generated/google/apis/datafusion_v1/service.rb +667 -0
  297. data/generated/google/apis/datafusion_v1beta1.rb +5 -8
  298. data/generated/google/apis/datafusion_v1beta1/classes.rb +268 -397
  299. data/generated/google/apis/datafusion_v1beta1/representations.rb +3 -0
  300. data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
  301. data/generated/google/apis/dataproc_v1.rb +1 -1
  302. data/generated/google/apis/dataproc_v1/classes.rb +238 -329
  303. data/generated/google/apis/dataproc_v1/representations.rb +16 -0
  304. data/generated/google/apis/dataproc_v1/service.rb +134 -168
  305. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  306. data/generated/google/apis/dataproc_v1beta2/classes.rb +263 -326
  307. data/generated/google/apis/dataproc_v1beta2/representations.rb +31 -0
  308. data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
  309. data/generated/google/apis/datastore_v1.rb +1 -1
  310. data/generated/google/apis/datastore_v1/classes.rb +331 -473
  311. data/generated/google/apis/datastore_v1/service.rb +52 -63
  312. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  313. data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
  314. data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
  315. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  316. data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
  317. data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
  318. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  319. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  320. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  321. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  322. data/generated/google/apis/dfareporting_v3_3/classes.rb +326 -339
  323. data/generated/google/apis/dfareporting_v3_3/representations.rb +42 -0
  324. data/generated/google/apis/dfareporting_v3_3/service.rb +673 -1286
  325. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  326. data/generated/google/apis/dfareporting_v3_4/classes.rb +769 -350
  327. data/generated/google/apis/dfareporting_v3_4/representations.rb +225 -0
  328. data/generated/google/apis/dfareporting_v3_4/service.rb +708 -1285
  329. data/generated/google/apis/dialogflow_v2.rb +1 -1
  330. data/generated/google/apis/dialogflow_v2/classes.rb +1365 -1563
  331. data/generated/google/apis/dialogflow_v2/representations.rb +67 -15
  332. data/generated/google/apis/dialogflow_v2/service.rb +324 -444
  333. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  334. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1443 -1643
  335. data/generated/google/apis/dialogflow_v2beta1/representations.rb +67 -15
  336. data/generated/google/apis/dialogflow_v2beta1/service.rb +779 -990
  337. data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
  338. data/generated/google/apis/dialogflow_v3beta1/classes.rb +8183 -0
  339. data/generated/google/apis/dialogflow_v3beta1/representations.rb +3459 -0
  340. data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
  341. data/generated/google/apis/displayvideo_v1.rb +7 -1
  342. data/generated/google/apis/displayvideo_v1/classes.rb +1817 -1726
  343. data/generated/google/apis/displayvideo_v1/representations.rb +305 -0
  344. data/generated/google/apis/displayvideo_v1/service.rb +1287 -923
  345. data/generated/google/apis/dlp_v2.rb +1 -1
  346. data/generated/google/apis/dlp_v2/classes.rb +1076 -1298
  347. data/generated/google/apis/dlp_v2/service.rb +962 -905
  348. data/generated/google/apis/dns_v1.rb +1 -1
  349. data/generated/google/apis/dns_v1/classes.rb +175 -198
  350. data/generated/google/apis/dns_v1/service.rb +82 -97
  351. data/generated/google/apis/dns_v1beta2.rb +1 -1
  352. data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
  353. data/generated/google/apis/dns_v1beta2/service.rb +82 -97
  354. data/generated/google/apis/docs_v1.rb +1 -1
  355. data/generated/google/apis/docs_v1/classes.rb +894 -1229
  356. data/generated/google/apis/docs_v1/service.rb +17 -22
  357. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  358. data/generated/google/apis/documentai_v1beta2/classes.rb +1186 -810
  359. data/generated/google/apis/documentai_v1beta2/representations.rb +303 -0
  360. data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
  361. data/generated/google/apis/domainsrdap_v1.rb +1 -1
  362. data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
  363. data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
  364. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
  365. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +7 -13
  366. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +37 -66
  367. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
  368. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +201 -13
  369. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
  370. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +37 -66
  371. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  372. data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
  373. data/generated/google/apis/doubleclicksearch_v2/service.rb +5 -6
  374. data/generated/google/apis/drive_v2.rb +1 -1
  375. data/generated/google/apis/drive_v2/classes.rb +82 -8
  376. data/generated/google/apis/drive_v2/representations.rb +23 -0
  377. data/generated/google/apis/drive_v2/service.rb +102 -25
  378. data/generated/google/apis/drive_v3.rb +1 -1
  379. data/generated/google/apis/drive_v3/classes.rb +87 -8
  380. data/generated/google/apis/drive_v3/representations.rb +24 -0
  381. data/generated/google/apis/drive_v3/service.rb +67 -16
  382. data/generated/google/apis/driveactivity_v2.rb +1 -1
  383. data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
  384. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  385. data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
  386. data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
  387. data/generated/google/apis/fcm_v1.rb +1 -1
  388. data/generated/google/apis/fcm_v1/classes.rb +245 -393
  389. data/generated/google/apis/fcm_v1/service.rb +5 -6
  390. data/generated/google/apis/file_v1.rb +1 -1
  391. data/generated/google/apis/file_v1/classes.rb +154 -173
  392. data/generated/google/apis/file_v1/service.rb +43 -52
  393. data/generated/google/apis/file_v1beta1.rb +1 -1
  394. data/generated/google/apis/file_v1beta1/classes.rb +334 -193
  395. data/generated/google/apis/file_v1beta1/representations.rb +55 -0
  396. data/generated/google/apis/file_v1beta1/service.rb +267 -55
  397. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  398. data/generated/google/apis/firebase_v1beta1/classes.rb +321 -381
  399. data/generated/google/apis/firebase_v1beta1/representations.rb +3 -16
  400. data/generated/google/apis/firebase_v1beta1/service.rb +364 -421
  401. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  402. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
  403. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
  404. data/generated/google/apis/firebasehosting_v1.rb +1 -1
  405. data/generated/google/apis/firebasehosting_v1/classes.rb +36 -40
  406. data/generated/google/apis/firebasehosting_v1/service.rb +19 -22
  407. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  408. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +174 -177
  409. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +15 -0
  410. data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -145
  411. data/generated/google/apis/firebaseml_v1.rb +1 -1
  412. data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
  413. data/generated/google/apis/firebaseml_v1/service.rb +19 -22
  414. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  415. data/generated/google/apis/firebaseml_v1beta2/classes.rb +59 -68
  416. data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
  417. data/generated/google/apis/firebaserules_v1.rb +1 -1
  418. data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
  419. data/generated/google/apis/firebaserules_v1/service.rb +87 -110
  420. data/generated/google/apis/firestore_v1.rb +1 -1
  421. data/generated/google/apis/firestore_v1/classes.rb +506 -450
  422. data/generated/google/apis/firestore_v1/representations.rb +63 -0
  423. data/generated/google/apis/firestore_v1/service.rb +227 -185
  424. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  425. data/generated/google/apis/firestore_v1beta1/classes.rb +438 -361
  426. data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
  427. data/generated/google/apis/firestore_v1beta1/service.rb +168 -106
  428. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  429. data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
  430. data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
  431. data/generated/google/apis/fitness_v1.rb +1 -1
  432. data/generated/google/apis/fitness_v1/classes.rb +170 -208
  433. data/generated/google/apis/fitness_v1/service.rb +125 -146
  434. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  435. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
  436. data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
  437. data/generated/google/apis/games_management_v1management.rb +2 -3
  438. data/generated/google/apis/games_management_v1management/classes.rb +14 -20
  439. data/generated/google/apis/games_management_v1management/service.rb +37 -38
  440. data/generated/google/apis/games_v1.rb +2 -3
  441. data/generated/google/apis/games_v1/classes.rb +77 -84
  442. data/generated/google/apis/games_v1/representations.rb +2 -0
  443. data/generated/google/apis/games_v1/service.rb +86 -92
  444. data/generated/google/apis/gameservices_v1.rb +1 -1
  445. data/generated/google/apis/gameservices_v1/classes.rb +344 -523
  446. data/generated/google/apis/gameservices_v1/service.rb +167 -207
  447. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  448. data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
  449. data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
  450. data/generated/google/apis/genomics_v1.rb +1 -1
  451. data/generated/google/apis/genomics_v1/classes.rb +70 -76
  452. data/generated/google/apis/genomics_v1/service.rb +28 -43
  453. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  454. data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
  455. data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
  456. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  457. data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -347
  458. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -27
  459. data/generated/google/apis/genomics_v2alpha1/service.rb +47 -100
  460. data/generated/google/apis/gmail_v1.rb +3 -3
  461. data/generated/google/apis/gmail_v1/classes.rb +207 -266
  462. data/generated/google/apis/gmail_v1/service.rb +263 -290
  463. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +5 -2
  464. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
  465. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +35 -41
  466. data/generated/google/apis/groupsmigration_v1.rb +35 -0
  467. data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
  468. data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
  469. data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
  470. data/generated/google/apis/healthcare_v1.rb +1 -1
  471. data/generated/google/apis/healthcare_v1/classes.rb +563 -826
  472. data/generated/google/apis/healthcare_v1/service.rb +687 -806
  473. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  474. data/generated/google/apis/healthcare_v1beta1/classes.rb +880 -1086
  475. data/generated/google/apis/healthcare_v1beta1/representations.rb +59 -0
  476. data/generated/google/apis/healthcare_v1beta1/service.rb +939 -1053
  477. data/generated/google/apis/homegraph_v1.rb +1 -1
  478. data/generated/google/apis/homegraph_v1/classes.rb +76 -164
  479. data/generated/google/apis/homegraph_v1/service.rb +23 -35
  480. data/generated/google/apis/iam_v1.rb +5 -2
  481. data/generated/google/apis/iam_v1/classes.rb +388 -573
  482. data/generated/google/apis/iam_v1/service.rb +430 -544
  483. data/generated/google/apis/iamcredentials_v1.rb +4 -2
  484. data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
  485. data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
  486. data/generated/google/apis/iap_v1.rb +1 -1
  487. data/generated/google/apis/iap_v1/classes.rb +246 -355
  488. data/generated/google/apis/iap_v1/service.rb +61 -71
  489. data/generated/google/apis/iap_v1beta1.rb +1 -1
  490. data/generated/google/apis/iap_v1beta1/classes.rb +157 -254
  491. data/generated/google/apis/iap_v1beta1/service.rb +17 -19
  492. data/generated/google/apis/indexing_v3.rb +1 -1
  493. data/generated/google/apis/indexing_v3/classes.rb +11 -11
  494. data/generated/google/apis/kgsearch_v1.rb +1 -1
  495. data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
  496. data/generated/google/apis/kgsearch_v1/service.rb +11 -11
  497. data/generated/google/apis/language_v1.rb +1 -1
  498. data/generated/google/apis/language_v1/classes.rb +93 -111
  499. data/generated/google/apis/language_v1/service.rb +4 -4
  500. data/generated/google/apis/language_v1beta1.rb +1 -1
  501. data/generated/google/apis/language_v1beta1/classes.rb +78 -90
  502. data/generated/google/apis/language_v1beta1/service.rb +2 -2
  503. data/generated/google/apis/language_v1beta2.rb +1 -1
  504. data/generated/google/apis/language_v1beta2/classes.rb +95 -112
  505. data/generated/google/apis/language_v1beta2/service.rb +4 -4
  506. data/generated/google/apis/libraryagent_v1.rb +1 -1
  507. data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
  508. data/generated/google/apis/libraryagent_v1/service.rb +13 -16
  509. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  510. data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
  511. data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
  512. data/generated/google/apis/localservices_v1.rb +31 -0
  513. data/generated/google/apis/localservices_v1/classes.rb +419 -0
  514. data/generated/google/apis/localservices_v1/representations.rb +172 -0
  515. data/generated/google/apis/localservices_v1/service.rb +199 -0
  516. data/generated/google/apis/logging_v2.rb +1 -1
  517. data/generated/google/apis/logging_v2/classes.rb +174 -214
  518. data/generated/google/apis/logging_v2/representations.rb +15 -0
  519. data/generated/google/apis/logging_v2/service.rb +1017 -584
  520. data/generated/google/apis/managedidentities_v1.rb +1 -1
  521. data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
  522. data/generated/google/apis/managedidentities_v1/service.rb +78 -99
  523. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  524. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +336 -457
  525. data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
  526. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  527. data/generated/google/apis/managedidentities_v1beta1/classes.rb +332 -456
  528. data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
  529. data/generated/google/apis/manufacturers_v1.rb +1 -1
  530. data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
  531. data/generated/google/apis/manufacturers_v1/service.rb +44 -55
  532. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  533. data/generated/google/apis/memcache_v1beta2/classes.rb +170 -710
  534. data/generated/google/apis/memcache_v1beta2/representations.rb +0 -120
  535. data/generated/google/apis/memcache_v1beta2/service.rb +58 -190
  536. data/generated/google/apis/ml_v1.rb +1 -1
  537. data/generated/google/apis/ml_v1/classes.rb +954 -1143
  538. data/generated/google/apis/ml_v1/representations.rb +64 -0
  539. data/generated/google/apis/ml_v1/service.rb +194 -253
  540. data/generated/google/apis/monitoring_v1.rb +1 -1
  541. data/generated/google/apis/monitoring_v1/classes.rb +117 -38
  542. data/generated/google/apis/monitoring_v1/representations.rb +35 -0
  543. data/generated/google/apis/monitoring_v1/service.rb +10 -11
  544. data/generated/google/apis/monitoring_v3.rb +1 -1
  545. data/generated/google/apis/monitoring_v3/classes.rb +253 -313
  546. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  547. data/generated/google/apis/monitoring_v3/service.rb +126 -144
  548. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  549. data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
  550. data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
  551. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  552. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +388 -429
  553. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +40 -0
  554. data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
  555. data/generated/google/apis/osconfig_v1.rb +1 -1
  556. data/generated/google/apis/osconfig_v1/classes.rb +931 -179
  557. data/generated/google/apis/osconfig_v1/representations.rb +372 -0
  558. data/generated/google/apis/osconfig_v1/service.rb +22 -27
  559. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  560. data/generated/google/apis/osconfig_v1beta/classes.rb +1158 -463
  561. data/generated/google/apis/osconfig_v1beta/representations.rb +372 -0
  562. data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
  563. data/generated/google/apis/oslogin_v1.rb +1 -1
  564. data/generated/google/apis/oslogin_v1/classes.rb +14 -12
  565. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  566. data/generated/google/apis/oslogin_v1/service.rb +12 -16
  567. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  568. data/generated/google/apis/oslogin_v1alpha/classes.rb +14 -12
  569. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  570. data/generated/google/apis/oslogin_v1alpha/service.rb +14 -14
  571. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  572. data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
  573. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  574. data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
  575. data/generated/google/apis/pagespeedonline_v5.rb +2 -2
  576. data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
  577. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
  578. data/generated/google/apis/people_v1.rb +1 -1
  579. data/generated/google/apis/people_v1/classes.rb +493 -403
  580. data/generated/google/apis/people_v1/representations.rb +98 -0
  581. data/generated/google/apis/people_v1/service.rb +169 -385
  582. data/generated/google/apis/playablelocations_v3.rb +1 -1
  583. data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
  584. data/generated/google/apis/playablelocations_v3/service.rb +10 -10
  585. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  586. data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
  587. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  588. data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
  589. data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
  590. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  591. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
  592. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
  593. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  594. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +128 -219
  595. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +1 -32
  596. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -526
  597. data/generated/google/apis/pubsub_v1.rb +1 -1
  598. data/generated/google/apis/pubsub_v1/classes.rb +407 -512
  599. data/generated/google/apis/pubsub_v1/representations.rb +3 -0
  600. data/generated/google/apis/pubsub_v1/service.rb +220 -246
  601. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  602. data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
  603. data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
  604. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  605. data/generated/google/apis/pubsub_v1beta2/classes.rb +244 -354
  606. data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
  607. data/generated/google/apis/{accessapproval_v1beta1.rb → pubsublite_v1.rb} +9 -9
  608. data/generated/google/apis/pubsublite_v1/classes.rb +389 -0
  609. data/generated/google/apis/{accessapproval_v1beta1 → pubsublite_v1}/representations.rb +78 -53
  610. data/generated/google/apis/pubsublite_v1/service.rb +525 -0
  611. data/generated/google/apis/realtimebidding_v1.rb +1 -4
  612. data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
  613. data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
  614. data/generated/google/apis/recommendationengine_v1beta1.rb +36 -0
  615. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +1896 -0
  616. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +832 -0
  617. data/generated/google/apis/recommendationengine_v1beta1/service.rb +924 -0
  618. data/generated/google/apis/recommender_v1.rb +1 -1
  619. data/generated/google/apis/recommender_v1/classes.rb +76 -100
  620. data/generated/google/apis/recommender_v1/service.rb +43 -58
  621. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  622. data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
  623. data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
  624. data/generated/google/apis/redis_v1.rb +1 -1
  625. data/generated/google/apis/redis_v1/classes.rb +477 -116
  626. data/generated/google/apis/redis_v1/representations.rb +139 -0
  627. data/generated/google/apis/redis_v1/service.rb +93 -110
  628. data/generated/google/apis/redis_v1beta1.rb +1 -1
  629. data/generated/google/apis/redis_v1beta1/classes.rb +481 -120
  630. data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
  631. data/generated/google/apis/redis_v1beta1/service.rb +93 -110
  632. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  633. data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
  634. data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
  635. data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
  636. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  637. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
  638. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
  639. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
  640. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  641. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
  642. data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
  643. data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
  644. data/generated/google/apis/reseller_v1.rb +4 -3
  645. data/generated/google/apis/reseller_v1/classes.rb +219 -160
  646. data/generated/google/apis/reseller_v1/service.rb +247 -252
  647. data/generated/google/apis/run_v1.rb +2 -2
  648. data/generated/google/apis/run_v1/classes.rb +837 -1244
  649. data/generated/google/apis/run_v1/representations.rb +1 -1
  650. data/generated/google/apis/run_v1/service.rb +234 -248
  651. data/generated/google/apis/run_v1alpha1.rb +2 -2
  652. data/generated/google/apis/run_v1alpha1/classes.rb +935 -1332
  653. data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
  654. data/generated/google/apis/run_v1alpha1/service.rb +322 -378
  655. data/generated/google/apis/run_v1beta1.rb +2 -2
  656. data/generated/google/apis/run_v1beta1/classes.rb +210 -276
  657. data/generated/google/apis/run_v1beta1/service.rb +17 -19
  658. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  659. data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
  660. data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
  661. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  662. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +295 -412
  663. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
  664. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  665. data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
  666. data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
  667. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  668. data/generated/google/apis/sasportal_v1alpha1/classes.rb +128 -219
  669. data/generated/google/apis/sasportal_v1alpha1/representations.rb +1 -32
  670. data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -526
  671. data/generated/google/apis/script_v1.rb +1 -1
  672. data/generated/google/apis/script_v1/classes.rb +88 -111
  673. data/generated/google/apis/script_v1/service.rb +63 -69
  674. data/generated/google/apis/searchconsole_v1.rb +4 -3
  675. data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
  676. data/generated/google/apis/searchconsole_v1/service.rb +3 -2
  677. data/generated/google/apis/secretmanager_v1.rb +1 -1
  678. data/generated/google/apis/secretmanager_v1/classes.rb +211 -363
  679. data/generated/google/apis/secretmanager_v1/service.rb +66 -82
  680. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  681. data/generated/google/apis/secretmanager_v1beta1/classes.rb +211 -363
  682. data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
  683. data/generated/google/apis/securitycenter_v1.rb +1 -1
  684. data/generated/google/apis/securitycenter_v1/classes.rb +584 -826
  685. data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
  686. data/generated/google/apis/securitycenter_v1/service.rb +250 -332
  687. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  688. data/generated/google/apis/securitycenter_v1beta1/classes.rb +533 -746
  689. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
  690. data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
  691. data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
  692. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +415 -269
  693. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +101 -30
  694. data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
  695. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  696. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1120 -1784
  697. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +114 -141
  698. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  699. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1107 -1774
  700. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
  701. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  702. data/generated/google/apis/servicecontrol_v1/classes.rb +523 -641
  703. data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
  704. data/generated/google/apis/servicecontrol_v2.rb +38 -0
  705. data/generated/google/apis/servicecontrol_v2/classes.rb +1075 -0
  706. data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
  707. data/generated/google/apis/servicecontrol_v2/service.rb +155 -0
  708. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  709. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +214 -333
  710. data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
  711. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  712. data/generated/google/apis/servicemanagement_v1/classes.rb +1288 -2090
  713. data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
  714. data/generated/google/apis/servicemanagement_v1/service.rb +144 -195
  715. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  716. data/generated/google/apis/servicenetworking_v1/classes.rb +1164 -1758
  717. data/generated/google/apis/servicenetworking_v1/representations.rb +52 -0
  718. data/generated/google/apis/servicenetworking_v1/service.rb +210 -114
  719. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  720. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1091 -1684
  721. data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
  722. data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
  723. data/generated/google/apis/serviceusage_v1.rb +1 -1
  724. data/generated/google/apis/serviceusage_v1/classes.rb +1144 -1823
  725. data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
  726. data/generated/google/apis/serviceusage_v1/service.rb +67 -80
  727. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  728. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1273 -1986
  729. data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
  730. data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
  731. data/generated/google/apis/sheets_v4.rb +1 -1
  732. data/generated/google/apis/sheets_v4/classes.rb +3932 -5007
  733. data/generated/google/apis/sheets_v4/representations.rb +625 -0
  734. data/generated/google/apis/sheets_v4/service.rb +113 -149
  735. data/generated/google/apis/site_verification_v1.rb +1 -1
  736. data/generated/google/apis/slides_v1.rb +1 -1
  737. data/generated/google/apis/slides_v1/classes.rb +841 -1114
  738. data/generated/google/apis/slides_v1/service.rb +23 -30
  739. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  740. data/generated/google/apis/sourcerepo_v1/classes.rb +6 -6
  741. data/generated/google/apis/spanner_v1.rb +1 -1
  742. data/generated/google/apis/spanner_v1/classes.rb +1546 -2156
  743. data/generated/google/apis/spanner_v1/service.rb +443 -618
  744. data/generated/google/apis/speech_v1.rb +1 -1
  745. data/generated/google/apis/speech_v1/classes.rb +174 -220
  746. data/generated/google/apis/speech_v1/service.rb +27 -32
  747. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  748. data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
  749. data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
  750. data/generated/google/apis/speech_v2beta1.rb +1 -1
  751. data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
  752. data/generated/google/apis/speech_v2beta1/service.rb +10 -12
  753. data/generated/google/apis/sql_v1beta4.rb +1 -1
  754. data/generated/google/apis/sql_v1beta4/classes.rb +322 -374
  755. data/generated/google/apis/sql_v1beta4/representations.rb +3 -0
  756. data/generated/google/apis/sql_v1beta4/service.rb +49 -54
  757. data/generated/google/apis/storage_v1.rb +1 -1
  758. data/generated/google/apis/storage_v1/classes.rb +8 -7
  759. data/generated/google/apis/storage_v1/representations.rb +2 -2
  760. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  761. data/generated/google/apis/storagetransfer_v1/classes.rb +263 -343
  762. data/generated/google/apis/storagetransfer_v1/service.rb +43 -40
  763. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  764. data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
  765. data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
  766. data/generated/google/apis/tagmanager_v1.rb +2 -3
  767. data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
  768. data/generated/google/apis/tagmanager_v1/service.rb +22 -23
  769. data/generated/google/apis/tagmanager_v2.rb +2 -3
  770. data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
  771. data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
  772. data/generated/google/apis/tagmanager_v2/service.rb +189 -285
  773. data/generated/google/apis/tasks_v1.rb +1 -1
  774. data/generated/google/apis/tasks_v1/classes.rb +20 -21
  775. data/generated/google/apis/tasks_v1/service.rb +16 -17
  776. data/generated/google/apis/testing_v1.rb +1 -1
  777. data/generated/google/apis/testing_v1/classes.rb +374 -376
  778. data/generated/google/apis/testing_v1/representations.rb +34 -0
  779. data/generated/google/apis/testing_v1/service.rb +22 -28
  780. data/generated/google/apis/texttospeech_v1.rb +1 -1
  781. data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
  782. data/generated/google/apis/texttospeech_v1/service.rb +9 -10
  783. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  784. data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
  785. data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
  786. data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
  787. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  788. data/generated/google/apis/toolresults_v1beta3/classes.rb +678 -928
  789. data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
  790. data/generated/google/apis/toolresults_v1beta3/service.rb +522 -640
  791. data/generated/google/apis/tpu_v1.rb +1 -1
  792. data/generated/google/apis/tpu_v1/classes.rb +79 -78
  793. data/generated/google/apis/tpu_v1/representations.rb +1 -0
  794. data/generated/google/apis/tpu_v1/service.rb +21 -25
  795. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  796. data/generated/google/apis/tpu_v1alpha1/classes.rb +79 -78
  797. data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
  798. data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
  799. data/generated/google/apis/{cloudfunctions_v1beta2.rb → trafficdirector_v2.rb} +9 -9
  800. data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
  801. data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
  802. data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
  803. data/generated/google/apis/translate_v3.rb +1 -1
  804. data/generated/google/apis/translate_v3/classes.rb +148 -175
  805. data/generated/google/apis/translate_v3/service.rb +122 -138
  806. data/generated/google/apis/translate_v3beta1.rb +1 -1
  807. data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
  808. data/generated/google/apis/translate_v3beta1/service.rb +122 -138
  809. data/generated/google/apis/vectortile_v1.rb +1 -1
  810. data/generated/google/apis/vectortile_v1/classes.rb +185 -267
  811. data/generated/google/apis/vectortile_v1/service.rb +75 -88
  812. data/generated/google/apis/videointelligence_v1.rb +1 -1
  813. data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
  814. data/generated/google/apis/videointelligence_v1/service.rb +40 -48
  815. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  816. data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
  817. data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
  818. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  819. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
  820. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
  821. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  822. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
  823. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
  824. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  825. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
  826. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
  827. data/generated/google/apis/vision_v1.rb +1 -1
  828. data/generated/google/apis/vision_v1/classes.rb +1304 -1868
  829. data/generated/google/apis/vision_v1/service.rb +254 -340
  830. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  831. data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1788
  832. data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
  833. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  834. data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1788
  835. data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
  836. data/generated/google/apis/webfonts_v1.rb +2 -3
  837. data/generated/google/apis/webfonts_v1/classes.rb +1 -2
  838. data/generated/google/apis/webfonts_v1/service.rb +4 -6
  839. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  840. data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
  841. data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
  842. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  843. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
  844. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
  845. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  846. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
  847. data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
  848. data/generated/google/apis/workflows_v1beta.rb +34 -0
  849. data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
  850. data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
  851. data/generated/google/apis/workflows_v1beta/service.rb +437 -0
  852. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  853. data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
  854. data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
  855. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  856. data/generated/google/apis/youtube_partner_v1/classes.rb +637 -761
  857. data/generated/google/apis/youtube_partner_v1/service.rb +521 -661
  858. data/generated/google/apis/youtube_v3.rb +1 -1
  859. data/generated/google/apis/youtube_v3/classes.rb +1290 -1175
  860. data/generated/google/apis/youtube_v3/representations.rb +177 -0
  861. data/generated/google/apis/youtube_v3/service.rb +1086 -1316
  862. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  863. data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
  864. data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
  865. data/lib/google/apis/core/base_service.rb +7 -1
  866. data/lib/google/apis/version.rb +1 -1
  867. metadata +47 -31
  868. data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
  869. data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
  870. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -848
  871. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +0 -486
  872. data/generated/google/apis/dns_v2beta1.rb +0 -43
  873. data/generated/google/apis/dns_v2beta1/classes.rb +0 -1296
  874. data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
  875. data/generated/google/apis/dns_v2beta1/service.rb +0 -861
  876. data/generated/google/apis/oauth2_v2.rb +0 -40
  877. data/generated/google/apis/oauth2_v2/classes.rb +0 -165
  878. data/generated/google/apis/oauth2_v2/representations.rb +0 -68
  879. data/generated/google/apis/oauth2_v2/service.rb +0 -158
  880. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +0 -211
  881. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2305
  882. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
  883. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1326
  884. data/generated/google/apis/storage_v1beta2.rb +0 -40
  885. data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
  886. data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
  887. data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
@@ -48,10 +48,49 @@ 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. See https://support.google.com/displayvideo/answer/6071450.
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 * channelsCount *
60
+ # negativelyTargetedChannelsCount * negativeKeywordListsCount *
61
+ # adGroupCriteriaCount * campaignCriteriaCount
62
+ # @param [String] fields
63
+ # Selector specifying which fields to include in a partial response.
64
+ # @param [String] quota_user
65
+ # Available to use for quota purposes for server-side applications. Can be any
66
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
67
+ # @param [Google::Apis::RequestOptions] options
68
+ # Request-specific options
69
+ #
70
+ # @yield [result, err] Result & error if block supplied
71
+ # @yieldparam result [Google::Apis::DisplayvideoV1::AuditAdvertiserResponse] parsed result object
72
+ # @yieldparam err [StandardError] error object if request failed
73
+ #
74
+ # @return [Google::Apis::DisplayvideoV1::AuditAdvertiserResponse]
75
+ #
76
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
77
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
78
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
79
+ def audit_advertiser(advertiser_id, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
80
+ command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}:audit', options)
81
+ command.response_representation = Google::Apis::DisplayvideoV1::AuditAdvertiserResponse::Representation
82
+ command.response_class = Google::Apis::DisplayvideoV1::AuditAdvertiserResponse
83
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
84
+ command.query['readMask'] = read_mask unless read_mask.nil?
85
+ command.query['fields'] = fields unless fields.nil?
86
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
87
+ execute_or_queue_command(command, &block)
88
+ end
89
+
90
+ # Bulk edits targeting options under a single advertiser. The operation will
91
+ # delete the assigned targeting options provided in
92
+ # BulkEditAdvertiserAssignedTargetingOptionsRequest.delete_requests and then
93
+ # create the assigned targeting options provided in
55
94
  # BulkEditAdvertiserAssignedTargetingOptionsRequest.create_requests .
56
95
  # @param [Fixnum] advertiser_id
57
96
  # Required. The ID of the advertiser.
@@ -89,37 +128,27 @@ module Google
89
128
  # @param [Fixnum] advertiser_id
90
129
  # Required. The ID of the advertiser the line item belongs to.
91
130
  # @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.
131
+ # Allows filtering by assigned targeting option properties. Supported syntax: *
132
+ # Filter expressions are made up of one or more restrictions. * Restrictions can
133
+ # be combined by the logical operator `OR`.. * A restriction has the form of ``
134
+ # field` `operator` `value``. * The operator must be `EQUALS (=)`. * Supported
135
+ # fields: - `targetingType` Examples: * targetingType with value
136
+ # TARGETING_TYPE_CHANNEL `targetingType="TARGETING_TYPE_CHANNEL"` The length of
137
+ # this field should be no more than 500 characters.
104
138
  # @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`.
139
+ # Field by which to sort the list. Acceptable values are: * `targetingType` (
140
+ # default) The default sorting order is ascending. To specify descending order
141
+ # for a field, a suffix "desc" should be added to the field name. Example: `
142
+ # targetingType desc`.
111
143
  # @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.
144
+ # Requested page size. The size must be an integer between `1` and `5000`. If
145
+ # unspecified, the default is '5000'. Returns error code `INVALID_ARGUMENT` if
146
+ # an invalid value is specified.
116
147
  # @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.
148
+ # A token that lets the client fetch the next page of results. Typically, this
149
+ # is the value of next_page_token returned from the previous call to `
150
+ # BulkListAdvertiserAssignedTargetingOptions` method. If not specified, the
151
+ # first page of results will be returned.
123
152
  # @param [String] fields
124
153
  # Selector specifying which fields to include in a partial response.
125
154
  # @param [String] quota_user
@@ -151,8 +180,7 @@ module Google
151
180
  execute_or_queue_command(command, &block)
152
181
  end
153
182
 
154
- # Creates a new advertiser.
155
- # Returns the newly created advertiser if successful.
183
+ # Creates a new advertiser. Returns the newly created advertiser if successful.
156
184
  # This method can take up to 180 seconds to complete.
157
185
  # @param [Google::Apis::DisplayvideoV1::Advertiser] advertiser_object
158
186
  # @param [String] fields
@@ -183,10 +211,9 @@ module Google
183
211
  execute_or_queue_command(command, &block)
184
212
  end
185
213
 
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.
214
+ # Deletes an advertiser. Deleting an advertiser will delete all of its child
215
+ # resources, for example, campaigns, insertion orders and line items. A deleted
216
+ # advertiser cannot be recovered.
190
217
  # @param [Fixnum] advertiser_id
191
218
  # The ID of the advertiser we need to delete.
192
219
  # @param [String] fields
@@ -246,46 +273,34 @@ module Google
246
273
  execute_or_queue_command(command, &block)
247
274
  end
248
275
 
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.
276
+ # Lists advertisers that are accessible to the current user. The order is
277
+ # defined by the order_by parameter. A single partner_id is required. Cross-
278
+ # partner listing is not supported.
254
279
  # @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.
280
+ # Allows filtering by advertiser properties. Supported syntax: * Filter
281
+ # expressions are made up of one or more restrictions. * Restrictions can be
282
+ # combined by `AND` or `OR` logical operators. A sequence of restrictions
283
+ # implicitly uses `AND`. * A restriction has the form of ``field` `operator` `
284
+ # value``. * The operator must be `EQUALS (=)`. * Supported fields: . - `
285
+ # advertiserId` . - `displayName` - `entityStatus` Examples: * All active
286
+ # advertisers under a partner: `entityStatus="ENTITY_STATUS_ACTIVE"` The length
287
+ # of this field should be no more than 500 characters.
268
288
  # @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`.
289
+ # Field by which to sort the list. Acceptable values are: * `displayName` (
290
+ # default) * `entityStatus` The default sorting order is ascending. To specify
291
+ # descending order for a field, a suffix "desc" should be added to the field
292
+ # name. For example, `displayName desc`.
276
293
  # @param [Fixnum] page_size
277
294
  # Requested page size. Must be between `1` and `100`. If unspecified will
278
295
  # default to `100`.
279
296
  # @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.
297
+ # A token identifying a page of results the server should return. Typically,
298
+ # this is the value of next_page_token returned from the previous call to `
299
+ # ListAdvertisers` method. If not specified, the first page of results will be
300
+ # returned.
285
301
  # @param [Fixnum] partner_id
286
302
  # 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.
303
+ # to. The system only supports listing advertisers for one partner at a time.
289
304
  # @param [String] fields
290
305
  # Selector specifying which fields to include in a partial response.
291
306
  # @param [String] quota_user
@@ -317,8 +332,7 @@ module Google
317
332
  execute_or_queue_command(command, &block)
318
333
  end
319
334
 
320
- # Updates an existing advertiser.
321
- # Returns the updated advertiser if successful.
335
+ # Updates an existing advertiser. Returns the updated advertiser if successful.
322
336
  # @param [Fixnum] advertiser_id
323
337
  # Output only. The unique ID of the advertiser. Assigned by the system.
324
338
  # @param [Google::Apis::DisplayvideoV1::Advertiser] advertiser_object
@@ -354,10 +368,9 @@ module Google
354
368
  execute_or_queue_command(command, &block)
355
369
  end
356
370
 
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.
371
+ # Uploads an asset. Returns the ID of the newly uploaded asset if successful.
372
+ # The asset file size should be no more than 10 MB for images, 200 MB for ZIP
373
+ # files, and 1 GB for videos.
361
374
  # @param [Fixnum] advertiser_id
362
375
  # Required. The ID of the advertiser this asset belongs to.
363
376
  # @param [Google::Apis::DisplayvideoV1::CreateAssetRequest] create_asset_request_object
@@ -400,8 +413,7 @@ module Google
400
413
  execute_or_queue_command(command, &block)
401
414
  end
402
415
 
403
- # Creates a new campaign.
404
- # Returns the newly created campaign if successful.
416
+ # Creates a new campaign. Returns the newly created campaign if successful.
405
417
  # @param [Fixnum] advertiser_id
406
418
  # Output only. The unique ID of the advertiser the campaign belongs to.
407
419
  # @param [Google::Apis::DisplayvideoV1::Campaign] campaign_object
@@ -434,10 +446,9 @@ module Google
434
446
  execute_or_queue_command(command, &block)
435
447
  end
436
448
 
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.
449
+ # Permanently deletes a campaign. A deleted campaign cannot be recovered. The
450
+ # campaign should be archived first, i.e. set entity_status to `
451
+ # ENTITY_STATUS_ARCHIVED`, to be able to delete it.
441
452
  # @param [Fixnum] advertiser_id
442
453
  # The ID of the advertiser this campaign belongs to.
443
454
  # @param [Fixnum] campaign_id
@@ -503,47 +514,34 @@ module Google
503
514
  execute_or_queue_command(command, &block)
504
515
  end
505
516
 
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.
517
+ # Lists campaigns in an advertiser. The order is defined by the order_by
518
+ # parameter. If a filter by entity_status is not specified, campaigns with `
519
+ # ENTITY_STATUS_ARCHIVED` will not be included in the results.
512
520
  # @param [Fixnum] advertiser_id
513
521
  # The ID of the advertiser to list campaigns for.
514
522
  # @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")`
523
+ # Allows filtering by campaign properties. Supported syntax: * Filter
524
+ # expressions are made up of one or more restrictions. * Restrictions can be
525
+ # combined by `AND` or `OR` logical operators. A sequence of restrictions
526
+ # implicitly uses `AND`. * A restriction has the form of ``field` `operator` `
527
+ # value``. * The operator must be `EQUALS (=)`. * Supported fields: - `
528
+ # campaignId` - `displayName` - `entityStatus` Examples: * All `
529
+ # ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` campaigns under an advertiser:
530
+ # `(entityStatus="ENTITY_STATUS_ACTIVE" OR entityStatus="ENTITY_STATUS_PAUSED")`
529
531
  # The length of this field should be no more than 500 characters.
530
532
  # @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`.
533
+ # Field by which to sort the list. Acceptable values are: * `displayName` (
534
+ # default) * `entityStatus` The default sorting order is ascending. To specify
535
+ # descending order for a field, a suffix "desc" should be added to the field
536
+ # name. Example: `displayName desc`.
538
537
  # @param [Fixnum] page_size
539
538
  # Requested page size. Must be between `1` and `100`. If unspecified will
540
539
  # default to `100`.
541
540
  # @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.
541
+ # A token identifying a page of results the server should return. Typically,
542
+ # this is the value of next_page_token returned from the previous call to `
543
+ # ListCampaigns` method. If not specified, the first page of results will be
544
+ # returned.
547
545
  # @param [String] fields
548
546
  # Selector specifying which fields to include in a partial response.
549
547
  # @param [String] quota_user
@@ -575,8 +573,7 @@ module Google
575
573
  execute_or_queue_command(command, &block)
576
574
  end
577
575
 
578
- # Updates an existing campaign.
579
- # Returns the updated campaign if successful.
576
+ # Updates an existing campaign. Returns the updated campaign if successful.
580
577
  # @param [Fixnum] advertiser_id
581
578
  # Output only. The unique ID of the advertiser the campaign belongs to.
582
579
  # @param [Fixnum] campaign_id
@@ -691,36 +688,26 @@ module Google
691
688
  # @param [Fixnum] advertiser_id
692
689
  # The ID of the advertiser that owns the channels.
693
690
  # @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.
691
+ # Allows filtering by channel fields. Supported syntax: * Filter expressions for
692
+ # channel currently can only contain at most one * restriction. * A restriction
693
+ # has the form of ``field` `operator` `value``. * The operator must be `CONTAINS
694
+ # (:)`. * Supported fields: - `displayName` Examples: * All channels for which
695
+ # the display name contains "google": `displayName : "google"`. The length of
696
+ # this field should be no more than 500 characters.
706
697
  # @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`.
698
+ # Field by which to sort the list. Acceptable values are: * `displayName` (
699
+ # default) * `channelId` The default sorting order is ascending. To specify
700
+ # descending order for a field, a suffix " desc" should be added to the field
701
+ # name. Example: `displayName desc`.
714
702
  # @param [Fixnum] page_size
715
703
  # 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.
704
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
705
+ # specified.
718
706
  # @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.
707
+ # A token identifying a page of results the server should return. Typically,
708
+ # this is the value of next_page_token returned from the previous call to `
709
+ # ListChannels` method. If not specified, the first page of results will be
710
+ # returned.
724
711
  # @param [Fixnum] partner_id
725
712
  # The ID of the partner that owns the channels.
726
713
  # @param [String] fields
@@ -797,9 +784,8 @@ module Google
797
784
  execute_or_queue_command(command, &block)
798
785
  end
799
786
 
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
787
+ # Bulk edits sites under a single channel. The operation will delete the sites
788
+ # provided in BulkEditSitesRequest.deleted_sites and then create the sites
803
789
  # provided in BulkEditSitesRequest.created_sites.
804
790
  # @param [Fixnum] advertiser_id
805
791
  # The ID of the advertiser that owns the parent channel.
@@ -920,34 +906,25 @@ module Google
920
906
  # @param [Fixnum] channel_id
921
907
  # Required. The ID of the parent channel to which the requested sites belong.
922
908
  # @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"`
909
+ # Allows filtering by site fields. Supported syntax: * Filter expressions for
910
+ # site currently can only contain at most one * restriction. * A restriction has
911
+ # the form of ``field` `operator` `value``. * The operator must be `CONTAINS (:)`
912
+ # . * Supported fields: - `urlOrAppId` Examples: * All sites for which the URL
913
+ # or app ID contains "google": `urlOrAppId : "google"`
934
914
  # @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`.
915
+ # Field by which to sort the list. Acceptable values are: * `urlOrAppId` (
916
+ # default) The default sorting order is ascending. To specify descending order
917
+ # for a field, a suffix " desc" should be added to the field name. Example: `
918
+ # urlOrAppId desc`.
941
919
  # @param [Fixnum] page_size
942
920
  # 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.
921
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
922
+ # specified.
945
923
  # @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.
924
+ # A token identifying a page of results the server should return. Typically,
925
+ # this is the value of next_page_token returned from the previous call to `
926
+ # ListSites` method. If not specified, the first page of results will be
927
+ # returned.
951
928
  # @param [Fixnum] partner_id
952
929
  # The ID of the partner that owns the parent channel.
953
930
  # @param [String] fields
@@ -983,8 +960,7 @@ module Google
983
960
  execute_or_queue_command(command, &block)
984
961
  end
985
962
 
986
- # Creates a new creative.
987
- # Returns the newly created creative if successful.
963
+ # Creates a new creative. Returns the newly created creative if successful.
988
964
  # @param [Fixnum] advertiser_id
989
965
  # Output only. The unique ID of the advertiser the creative belongs to.
990
966
  # @param [Google::Apis::DisplayvideoV1::Creative] creative_object
@@ -1017,11 +993,9 @@ module Google
1017
993
  execute_or_queue_command(command, &block)
1018
994
  end
1019
995
 
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.
996
+ # Deletes a creative. Returns error code `NOT_FOUND` if the creative does not
997
+ # exist. The creative should be archived first, i.e. set entity_status to `
998
+ # ENTITY_STATUS_ARCHIVED`, before it can be deleted.
1025
999
  # @param [Fixnum] advertiser_id
1026
1000
  # The ID of the advertiser this creative belongs to.
1027
1001
  # @param [Fixnum] creative_id
@@ -1087,81 +1061,55 @@ module Google
1087
1061
  execute_or_queue_command(command, &block)
1088
1062
  end
1089
1063
 
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.
1064
+ # Lists creatives in an advertiser. The order is defined by the order_by
1065
+ # parameter. If a filter by entity_status is not specified, creatives with `
1066
+ # ENTITY_STATUS_ARCHIVED` will not be included in the results.
1096
1067
  # @param [Fixnum] advertiser_id
1097
1068
  # Required. The ID of the advertiser to list creatives for.
1098
1069
  # @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.
1070
+ # Allows filtering by creative properties. Supported syntax: * Filter
1071
+ # expressions are made up of one or more restrictions. * Restriction for the
1072
+ # same field must be combined by `OR`. * Restriction for different fields must
1073
+ # be combined by `AND`. * Between `(` and `)` there can only be restrictions
1074
+ # combined by `OR` for the same field. * A restriction has the form of ``field` `
1075
+ # operator` `value``. * The operator must be `EQUALS (=)` for the following
1076
+ # fields: - `entityStatus` - `creativeType`. - `dimensions` - `minDuration` - `
1077
+ # maxDuration` - `approvalStatus` - `exchangeReviewStatus` - `dynamic` - `
1078
+ # creativeId` * The operator must be `HAS (:)` for the following fields: - `
1079
+ # lineItemIds` * For `entityStatus`, `minDuration`, `maxDuration`, and `dynamic`
1080
+ # there may be at most one restriction. * For `dimensions`, the value is in the
1081
+ # form of `"`width`x`height`"`. * For `exchangeReviewStatus`, the value is in
1082
+ # the form of ``exchange`-`reviewStatus``. * For `minDuration` and `maxDuration`,
1083
+ # the value is in the form of `"`duration`s"`. Only seconds are supported with
1084
+ # millisecond granularity. * There may be multiple `lineItemIds` restrictions in
1085
+ # order to search against multiple possible line item IDs. * There may be
1086
+ # multiple `creativeId` restrictions in order to search against multiple
1087
+ # possible creative IDs. Examples: * All native creatives: `creativeType="
1088
+ # CREATIVE_TYPE_NATIVE"` * All active creatives with 300x400 or 50x100
1089
+ # dimensions: `entityStatus="ENTITY_STATUS_ACTIVE" AND (dimensions="300x400" OR
1090
+ # dimensions="50x100")` * All dynamic creatives that are approved by AdX or
1091
+ # AppNexus, with a minimum duration of 5 seconds and 200ms. `dynamic="true" AND
1092
+ # minDuration="5.2s" AND (exchangeReviewStatus="EXCHANGE_GOOGLE_AD_MANAGER-
1093
+ # REVIEW_STATUS_APPROVED" OR exchangeReviewStatus="EXCHANGE_APPNEXUS-
1094
+ # REVIEW_STATUS_APPROVED")` * All video creatives that are associated with line
1095
+ # item ID 1 or 2: `creativeType="CREATIVE_TYPE_VIDEO" AND (lineItemIds:1 OR
1096
+ # lineItemIds:2)` * Find creatives by multiple creative IDs: `creativeId=1 OR
1097
+ # creativeId=2` The length of this field should be no more than 500 characters.
1145
1098
  # @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`.
1099
+ # Field by which to sort the list. Acceptable values are: * `creativeId` (
1100
+ # default) * `createTime` * `mediaDuration` * `dimensions` (sorts by width first,
1101
+ # then by height) The default sorting order is ascending. To specify descending
1102
+ # order for a field, a suffix "desc" should be added to the field name. Example:
1103
+ # `createTime desc`.
1155
1104
  # @param [Fixnum] page_size
1156
1105
  # 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.
1106
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
1107
+ # specified.
1159
1108
  # @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.
1109
+ # A token identifying a page of results the server should return. Typically,
1110
+ # this is the value of next_page_token returned from the previous call to `
1111
+ # ListCreatives` method. If not specified, the first page of results will be
1112
+ # returned.
1165
1113
  # @param [String] fields
1166
1114
  # Selector specifying which fields to include in a partial response.
1167
1115
  # @param [String] quota_user
@@ -1193,8 +1141,7 @@ module Google
1193
1141
  execute_or_queue_command(command, &block)
1194
1142
  end
1195
1143
 
1196
- # Updates an existing creative.
1197
- # Returns the updated creative if successful.
1144
+ # Updates an existing creative. Returns the updated creative if successful.
1198
1145
  # @param [Fixnum] advertiser_id
1199
1146
  # Output only. The unique ID of the advertiser the creative belongs to.
1200
1147
  # @param [Fixnum] creative_id
@@ -1233,8 +1180,8 @@ module Google
1233
1180
  execute_or_queue_command(command, &block)
1234
1181
  end
1235
1182
 
1236
- # Creates a new insertion order.
1237
- # Returns the newly created insertion order if successful.
1183
+ # Creates a new insertion order. Returns the newly created insertion order if
1184
+ # successful.
1238
1185
  # @param [Fixnum] advertiser_id
1239
1186
  # Output only. The unique ID of the advertiser the insertion order belongs to.
1240
1187
  # @param [Google::Apis::DisplayvideoV1::InsertionOrder] insertion_order_object
@@ -1267,11 +1214,9 @@ module Google
1267
1214
  execute_or_queue_command(command, &block)
1268
1215
  end
1269
1216
 
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.
1217
+ # Deletes an insertion order. Returns error code `NOT_FOUND` if the insertion
1218
+ # order does not exist. The insertion order should be archived first, i.e. set
1219
+ # entity_status to `ENTITY_STATUS_ARCHIVED`, to be able to delete it.
1275
1220
  # @param [Fixnum] advertiser_id
1276
1221
  # The ID of the advertiser this insertion order belongs to.
1277
1222
  # @param [Fixnum] insertion_order_id
@@ -1304,8 +1249,8 @@ module Google
1304
1249
  execute_or_queue_command(command, &block)
1305
1250
  end
1306
1251
 
1307
- # Gets an insertion order.
1308
- # Returns error code `NOT_FOUND` if the insertion order does not exist.
1252
+ # Gets an insertion order. Returns error code `NOT_FOUND` if the insertion order
1253
+ # does not exist.
1309
1254
  # @param [Fixnum] advertiser_id
1310
1255
  # Required. The ID of the advertiser this insertion order belongs to.
1311
1256
  # @param [Fixnum] insertion_order_id
@@ -1338,50 +1283,40 @@ module Google
1338
1283
  execute_or_queue_command(command, &block)
1339
1284
  end
1340
1285
 
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.
1286
+ # Lists insertion orders in an advertiser. The order is defined by the order_by
1287
+ # parameter. If a filter by entity_status is not specified, insertion orders
1288
+ # with `ENTITY_STATUS_ARCHIVED` will not be included in the results.
1347
1289
  # @param [Fixnum] advertiser_id
1348
1290
  # Required. The ID of the advertiser to list insertion orders for.
1349
1291
  # @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.
1292
+ # Allows filtering by insertion order properties. Supported syntax: * Filter
1293
+ # expressions are made up of one or more restrictions. * Restrictions can be
1294
+ # combined by `AND` or `OR` logical operators. A sequence of restrictions
1295
+ # implicitly uses `AND`. * A restriction has the form of ``field` `operator` `
1296
+ # value``. * The operator used on `budget.budget_segments.date_range.end_date`
1297
+ # must be LESS THAN (<). * The operators used on all other fields must be `
1298
+ # EQUALS (=)`. * Supported fields: - `campaignId` - `displayName` - `
1299
+ # entityStatus` - `budget.budget_segments.date_range.end_date` (input as YYYY-MM-
1300
+ # DD) Examples: * All insertion orders under a campaign: `campaignId="1234"` *
1301
+ # All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` insertion orders under an
1302
+ # advertiser: `(entityStatus="ENTITY_STATUS_ACTIVE" OR entityStatus="
1303
+ # ENTITY_STATUS_PAUSED")` * All insertion orders whose budget segments' dates
1304
+ # end before March 28, 2019: `budget.budget_segments.date_range.end_date<"2019-
1305
+ # 03-28"` The length of this field should be no more than 500 characters.
1367
1306
  # @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`.
1307
+ # Field by which to sort the list. Acceptable values are: * "displayName" (
1308
+ # default) * "entityStatus" The default sorting order is ascending. To specify
1309
+ # descending order for a field, a suffix "desc" should be added to the field
1310
+ # name. Example: `displayName desc`.
1375
1311
  # @param [Fixnum] page_size
1376
1312
  # 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.
1313
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
1314
+ # specified.
1379
1315
  # @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.
1316
+ # A token identifying a page of results the server should return. Typically,
1317
+ # this is the value of next_page_token returned from the previous call to `
1318
+ # ListInsertionOrders` method. If not specified, the first page of results will
1319
+ # be returned.
1385
1320
  # @param [String] fields
1386
1321
  # Selector specifying which fields to include in a partial response.
1387
1322
  # @param [String] quota_user
@@ -1413,8 +1348,8 @@ module Google
1413
1348
  execute_or_queue_command(command, &block)
1414
1349
  end
1415
1350
 
1416
- # Updates an existing insertion order.
1417
- # Returns the updated insertion order if successful.
1351
+ # Updates an existing insertion order. Returns the updated insertion order if
1352
+ # successful.
1418
1353
  # @param [Fixnum] advertiser_id
1419
1354
  # Output only. The unique ID of the advertiser the insertion order belongs to.
1420
1355
  # @param [Fixnum] insertion_order_id
@@ -1453,10 +1388,10 @@ module Google
1453
1388
  execute_or_queue_command(command, &block)
1454
1389
  end
1455
1390
 
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
1391
+ # Bulk edits targeting options under a single line item. The operation will
1392
+ # delete the assigned targeting options provided in
1393
+ # BulkEditLineItemAssignedTargetingOptionsRequest.delete_requests and then
1394
+ # create the assigned targeting options provided in
1460
1395
  # BulkEditLineItemAssignedTargetingOptionsRequest.create_requests .
1461
1396
  # @param [Fixnum] advertiser_id
1462
1397
  # Required. The ID of the advertiser the line item belongs to.
@@ -1499,44 +1434,32 @@ module Google
1499
1434
  # @param [Fixnum] line_item_id
1500
1435
  # Required. The ID of the line item to list assigned targeting options for.
1501
1436
  # @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.
1437
+ # Allows filtering by assigned targeting option properties. Supported syntax: *
1438
+ # Filter expressions are made up of one or more restrictions. * Restrictions can
1439
+ # be combined by the logical operator `OR` on the same field. * A restriction
1440
+ # has the form of ``field` `operator` `value``. * The operator must be `EQUALS (=
1441
+ # )`. * Supported fields: - `targetingType` - `inheritance` Examples: *
1442
+ # AssignedTargetingOptions of targeting type
1443
+ # TARGETING_TYPE_PROXIMITY_LOCATION_LIST or TARGETING_TYPE_CHANNEL `
1444
+ # targetingType="TARGETING_TYPE_PROXIMITY_LOCATION_LIST" OR targetingType="
1445
+ # TARGETING_TYPE_CHANNEL"` * AssignedTargetingOptions with inheritance status of
1446
+ # NOT_INHERITED or INHERITED_FROM_PARTNER `inheritance="NOT_INHERITED" OR
1447
+ # inheritance="INHERITED_FROM_PARTNER"` The length of this field should be no
1448
+ # more than 500 characters.
1521
1449
  # @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`.
1450
+ # Field by which to sort the list. Acceptable values are: * `targetingType` (
1451
+ # default) The default sorting order is ascending. To specify descending order
1452
+ # for a field, a suffix "desc" should be added to the field name. Example: `
1453
+ # targetingType desc`.
1528
1454
  # @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.
1455
+ # Requested page size. The size must be an integer between `1` and `5000`. If
1456
+ # unspecified, the default is '5000'. Returns error code `INVALID_ARGUMENT` if
1457
+ # an invalid value is specified.
1533
1458
  # @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.
1459
+ # A token that lets the client fetch the next page of results. Typically, this
1460
+ # is the value of next_page_token returned from the previous call to `
1461
+ # BulkListLineItemAssignedTargetingOptions` method. If not specified, the first
1462
+ # page of results will be returned.
1540
1463
  # @param [String] fields
1541
1464
  # Selector specifying which fields to include in a partial response.
1542
1465
  # @param [String] quota_user
@@ -1569,8 +1492,7 @@ module Google
1569
1492
  execute_or_queue_command(command, &block)
1570
1493
  end
1571
1494
 
1572
- # Creates a new line item.
1573
- # Returns the newly created line item if successful.
1495
+ # Creates a new line item. Returns the newly created line item if successful.
1574
1496
  # @param [Fixnum] advertiser_id
1575
1497
  # Output only. The unique ID of the advertiser the line item belongs to.
1576
1498
  # @param [Google::Apis::DisplayvideoV1::LineItem] line_item_object
@@ -1603,11 +1525,9 @@ module Google
1603
1525
  execute_or_queue_command(command, &block)
1604
1526
  end
1605
1527
 
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.
1528
+ # Deletes a line item. Returns error code `NOT_FOUND` if the line item does not
1529
+ # exist. The line item should be archived first, i.e. set entity_status to `
1530
+ # ENTITY_STATUS_ARCHIVED`, to be able to delete it.
1611
1531
  # @param [Fixnum] advertiser_id
1612
1532
  # The ID of the advertiser this line item belongs to.
1613
1533
  # @param [Fixnum] line_item_id
@@ -1673,53 +1593,41 @@ module Google
1673
1593
  execute_or_queue_command(command, &block)
1674
1594
  end
1675
1595
 
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.
1596
+ # Lists line items in an advertiser. The order is defined by the order_by
1597
+ # parameter. If a filter by entity_status is not specified, line items with `
1598
+ # ENTITY_STATUS_ARCHIVED` will not be included in the results.
1682
1599
  # @param [Fixnum] advertiser_id
1683
1600
  # Required. The ID of the advertiser to list line items for.
1684
1601
  # @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"`
1602
+ # Allows filtering by line item properties. Supported syntax: * Filter
1603
+ # expressions are made up of one or more restrictions. * Restrictions can be
1604
+ # combined by `AND` or `OR` logical operators. A sequence of restrictions
1605
+ # implicitly uses `AND`. * A restriction has the form of ``field` `operator` `
1606
+ # value``. * The operator used on `flight.dateRange.endDate` must be LESS THAN (<
1607
+ # ). * The operators used on all other fields must be `EQUALS (=)`. * Supported
1608
+ # fields: - `campaignId` - `displayName` - `insertionOrderId` - `entityStatus` -
1609
+ # `lineItemId` - `lineItemType` - `flight.dateRange.endDate` (input formatted as
1610
+ # YYYY-MM-DD) Examples: * All line items under an insertion order: `
1611
+ # insertionOrderId="1234"` * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED`
1612
+ # and `LINE_ITEM_TYPE_DISPLAY_DEFAULT` line items under an advertiser: `(
1613
+ # entityStatus="ENTITY_STATUS_ACTIVE" OR entityStatus="ENTITY_STATUS_PAUSED")
1614
+ # AND lineItemType="LINE_ITEM_TYPE_DISPLAY_DEFAULT"` * All line items whose
1615
+ # flight dates end before March 28, 2019: `flight.dateRange.endDate<"2019-03-28"`
1704
1616
  # The length of this field should be no more than 500 characters.
1705
1617
  # @param [String] order_by
1706
- # Field by which to sort the list.
1707
- # Acceptable values are:
1708
- # * "displayName" (default)
1709
- # * "entityStatus"
1710
- # The default sorting order is ascending. To specify descending order for
1711
- # a field, a suffix "desc" should be added to the field name. Example:
1712
- # `displayName desc`.
1618
+ # Field by which to sort the list. Acceptable values are: * "displayName" (
1619
+ # default) * "entityStatus" * “flight.dateRange.endDate” The default sorting
1620
+ # order is ascending. To specify descending order for a field, a suffix "desc"
1621
+ # should be added to the field name. Example: `displayName desc`.
1713
1622
  # @param [Fixnum] page_size
1714
1623
  # Requested page size. Must be between `1` and `100`. If unspecified will
1715
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
1716
- # is specified.
1624
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
1625
+ # specified.
1717
1626
  # @param [String] page_token
1718
- # A token identifying a page of results the server should return.
1719
- # Typically, this is the value of
1720
- # next_page_token
1721
- # returned from the previous call to `ListLineItems` method.
1722
- # If not specified, the first page of results will be returned.
1627
+ # A token identifying a page of results the server should return. Typically,
1628
+ # this is the value of next_page_token returned from the previous call to `
1629
+ # ListLineItems` method. If not specified, the first page of results will be
1630
+ # returned.
1723
1631
  # @param [String] fields
1724
1632
  # Selector specifying which fields to include in a partial response.
1725
1633
  # @param [String] quota_user
@@ -1751,8 +1659,7 @@ module Google
1751
1659
  execute_or_queue_command(command, &block)
1752
1660
  end
1753
1661
 
1754
- # Updates an existing line item.
1755
- # Returns the updated line item if successful.
1662
+ # Updates an existing line item. Returns the updated line item if successful.
1756
1663
  # @param [Fixnum] advertiser_id
1757
1664
  # Output only. The unique ID of the advertiser the line item belongs to.
1758
1665
  # @param [Fixnum] line_item_id
@@ -1791,8 +1698,8 @@ module Google
1791
1698
  execute_or_queue_command(command, &block)
1792
1699
  end
1793
1700
 
1794
- # Assigns a targeting option to a line item.
1795
- # Returns the assigned targeting option if successful.
1701
+ # Assigns a targeting option to a line item. Returns the assigned targeting
1702
+ # option if successful.
1796
1703
  # @param [Fixnum] advertiser_id
1797
1704
  # Required. The ID of the advertiser the line item belongs to.
1798
1705
  # @param [Fixnum] line_item_id
@@ -1918,39 +1825,30 @@ module Google
1918
1825
  # @param [String] targeting_type
1919
1826
  # Required. Identifies the type of assigned targeting options to list.
1920
1827
  # @param [String] filter
1921
- # Allows filtering by assigned targeting option properties.
1922
- # Supported syntax:
1923
- # * Filter expressions are made up of one or more restrictions.
1924
- # * Restrictions can be combined by the logical operator `OR`.
1925
- # * A restriction has the form of ``field` `operator` `value``.
1926
- # * The operator must be `EQUALS (=)`.
1927
- # * Supported fields:
1928
- # - `assignedTargetingOptionId`
1929
- # - `inheritance`
1930
- # Examples:
1931
- # * AssignedTargetingOptions with ID 1 or 2
1932
- # `assignedTargetingOptionId="1" OR assignedTargetingOptionId="2"`
1933
- # * AssignedTargetingOptions with inheritance status of NOT_INHERITED or
1934
- # INHERITED_FROM_PARTNER
1935
- # `inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"`
1936
- # The length of this field should be no more than 500 characters.
1828
+ # Allows filtering by assigned targeting option properties. Supported syntax: *
1829
+ # Filter expressions are made up of one or more restrictions. * Restrictions can
1830
+ # be combined by the logical operator `OR`. * A restriction has the form of ``
1831
+ # field` `operator` `value``. * The operator must be `EQUALS (=)`. * Supported
1832
+ # fields: - `assignedTargetingOptionId` - `inheritance` Examples: *
1833
+ # AssignedTargetingOptions with ID 1 or 2 `assignedTargetingOptionId="1" OR
1834
+ # assignedTargetingOptionId="2"` * AssignedTargetingOptions with inheritance
1835
+ # status of NOT_INHERITED or INHERITED_FROM_PARTNER `inheritance="NOT_INHERITED"
1836
+ # OR inheritance="INHERITED_FROM_PARTNER"` The length of this field should be no
1837
+ # more than 500 characters.
1937
1838
  # @param [String] order_by
1938
- # Field by which to sort the list.
1939
- # Acceptable values are:
1940
- # * `assignedTargetingOptionId` (default)
1941
- # The default sorting order is ascending. To specify descending order for
1942
- # a field, a suffix "desc" should be added to the field name. Example:
1943
- # `assignedTargetingOptionId desc`.
1839
+ # Field by which to sort the list. Acceptable values are: * `
1840
+ # assignedTargetingOptionId` (default) The default sorting order is ascending.
1841
+ # To specify descending order for a field, a suffix "desc" should be added to
1842
+ # the field name. Example: `assignedTargetingOptionId desc`.
1944
1843
  # @param [Fixnum] page_size
1945
1844
  # Requested page size. Must be between `1` and `100`. If unspecified will
1946
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
1947
- # is specified.
1845
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
1846
+ # specified.
1948
1847
  # @param [String] page_token
1949
- # A token identifying a page of results the server should return.
1950
- # Typically, this is the value of
1951
- # next_page_token
1952
- # returned from the previous call to `ListLineItemAssignedTargetingOptions`
1953
- # method. If not specified, the first page of results will be returned.
1848
+ # A token identifying a page of results the server should return. Typically,
1849
+ # this is the value of next_page_token returned from the previous call to `
1850
+ # ListLineItemAssignedTargetingOptions` method. If not specified, the first page
1851
+ # of results will be returned.
1954
1852
  # @param [String] fields
1955
1853
  # Selector specifying which fields to include in a partial response.
1956
1854
  # @param [String] quota_user
@@ -2057,38 +1955,27 @@ module Google
2057
1955
  # Required. The ID of the DV360 advertiser to which the fetched location lists
2058
1956
  # belong.
2059
1957
  # @param [String] filter
2060
- # Allows filtering by location list fields.
2061
- # Supported syntax:
2062
- # * Filter expressions are made up of one or more restrictions.
2063
- # * Restrictions can be combined by `AND` or `OR` logical operators. A
2064
- # sequence of restrictions implicitly uses `AND`.
2065
- # * A restriction has the form of ``field` `operator` `value``.
2066
- # * The operator must be `EQUALS (=)`.
2067
- # * Supported fields:
2068
- # - `locationType`
2069
- # Examples:
2070
- # * All regional location list:
2071
- # `locationType="TARGETING_LOCATION_TYPE_REGIONAL"`
2072
- # * All proximity location list:
2073
- # `locationType="TARGETING_LOCATION_TYPE_PROXIMITY"`
1958
+ # Allows filtering by location list fields. Supported syntax: * Filter
1959
+ # expressions are made up of one or more restrictions. * Restrictions can be
1960
+ # combined by `AND` or `OR` logical operators. A sequence of restrictions
1961
+ # implicitly uses `AND`. * A restriction has the form of ``field` `operator` `
1962
+ # value``. * The operator must be `EQUALS (=)`. * Supported fields: - `
1963
+ # locationType` Examples: * All regional location list: `locationType="
1964
+ # TARGETING_LOCATION_TYPE_REGIONAL"` * All proximity location list: `
1965
+ # locationType="TARGETING_LOCATION_TYPE_PROXIMITY"`
2074
1966
  # @param [String] order_by
2075
- # Field by which to sort the list.
2076
- # Acceptable values are:
2077
- # * `locationListId` (default)
2078
- # * `displayName`
2079
- # The default sorting order is ascending. To specify descending order for
2080
- # a field, a suffix "desc" should be added to the field name. Example:
2081
- # `displayName desc`.
1967
+ # Field by which to sort the list. Acceptable values are: * `locationListId` (
1968
+ # default) * `displayName` The default sorting order is ascending. To specify
1969
+ # descending order for a field, a suffix "desc" should be added to the field
1970
+ # name. Example: `displayName desc`.
2082
1971
  # @param [Fixnum] page_size
2083
- # Requested page size. Must be between `1` and `100`.
2084
- # Defaults to `100` if not set. Returns error code `INVALID_ARGUMENT` if an
2085
- # invalid value is specified.
1972
+ # Requested page size. Must be between `1` and `100`. Defaults to `100` if not
1973
+ # set. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.
2086
1974
  # @param [String] page_token
2087
- # A token identifying a page of results the server should return.
2088
- # Typically, this is the value of
2089
- # next_page_token
2090
- # returned from the previous call to `ListLocationLists` method.
2091
- # If not specified, the first page of results will be returned.
1975
+ # A token identifying a page of results the server should return. Typically,
1976
+ # this is the value of next_page_token returned from the previous call to `
1977
+ # ListLocationLists` method. If not specified, the first page of results will be
1978
+ # returned.
2092
1979
  # @param [String] fields
2093
1980
  # Selector specifying which fields to include in a partial response.
2094
1981
  # @param [String] quota_user
@@ -2159,12 +2046,11 @@ module Google
2159
2046
  execute_or_queue_command(command, &block)
2160
2047
  end
2161
2048
 
2162
- # Bulk edits multiple assignments between locations and a single location
2163
- # list.
2049
+ # Bulk edits multiple assignments between locations and a single location list.
2164
2050
  # The operation will delete the assigned locations provided in
2165
- # BulkEditAssignedLocationsRequest.deleted_assigned_locations and then
2166
- # create the assigned locations provided in
2167
- # BulkEditAssignedLocationsRequest.created_assigned_locations.
2051
+ # BulkEditAssignedLocationsRequest.deleted_assigned_locations and then create
2052
+ # the assigned locations provided in BulkEditAssignedLocationsRequest.
2053
+ # created_assigned_locations.
2168
2054
  # @param [Fixnum] advertiser_id
2169
2055
  # Required. The ID of the DV360 advertiser to which the location list belongs.
2170
2056
  # @param [Fixnum] location_list_id
@@ -2278,32 +2164,26 @@ module Google
2278
2164
  # @param [Fixnum] location_list_id
2279
2165
  # Required. The ID of the location list to which these assignments are assigned.
2280
2166
  # @param [String] filter
2281
- # Allows filtering by location list assignment fields.
2282
- # Supported syntax:
2283
- # * Filter expressions are made up of one or more restrictions.
2284
- # * Restrictions can be combined by the logical operator `OR`.
2285
- # * A restriction has the form of ``field` `operator` `value``.
2286
- # * The operator must be `EQUALS (=)`.
2287
- # * Supported fields:
2288
- # - `assignedLocationId`
2289
- # The length of this field should be no more than 500 characters.
2167
+ # Allows filtering by location list assignment fields. Supported syntax: *
2168
+ # Filter expressions are made up of one or more restrictions. * Restrictions can
2169
+ # be combined by the logical operator `OR`. * A restriction has the form of ``
2170
+ # field` `operator` `value``. * The operator must be `EQUALS (=)`. * Supported
2171
+ # fields: - `assignedLocationId` The length of this field should be no more than
2172
+ # 500 characters.
2290
2173
  # @param [String] order_by
2291
- # Field by which to sort the list.
2292
- # Acceptable values are:
2293
- # * `assignedLocationId` (default)
2294
- # The default sorting order is ascending. To specify descending order for a
2295
- # field, a suffix " desc" should be added to the field name. Example:
2296
- # `assignedLocationId desc`.
2174
+ # Field by which to sort the list. Acceptable values are: * `assignedLocationId`
2175
+ # (default) The default sorting order is ascending. To specify descending order
2176
+ # for a field, a suffix " desc" should be added to the field name. Example: `
2177
+ # assignedLocationId desc`.
2297
2178
  # @param [Fixnum] page_size
2298
2179
  # Requested page size. Must be between `1` and `100`. If unspecified will
2299
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
2300
- # is specified.
2180
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
2181
+ # specified.
2301
2182
  # @param [String] page_token
2302
- # A token identifying a page of results the server should return.
2303
- # Typically, this is the value of
2304
- # next_page_token
2305
- # returned from the previous call to `ListAssignedLocations`
2306
- # method. If not specified, the first page of results will be returned.
2183
+ # A token identifying a page of results the server should return. Typically,
2184
+ # this is the value of next_page_token returned from the previous call to `
2185
+ # ListAssignedLocations` method. If not specified, the first page of results
2186
+ # will be returned.
2307
2187
  # @param [String] fields
2308
2188
  # Selector specifying which fields to include in a partial response.
2309
2189
  # @param [String] quota_user
@@ -2340,8 +2220,7 @@ module Google
2340
2220
  # keyword list if successful.
2341
2221
  # @param [Fixnum] advertiser_id
2342
2222
  # Required. The ID of the DV360 advertiser to which the negative keyword list
2343
- # will
2344
- # belong.
2223
+ # will belong.
2345
2224
  # @param [Google::Apis::DisplayvideoV1::NegativeKeywordList] negative_keyword_list_object
2346
2225
  # @param [String] fields
2347
2226
  # Selector specifying which fields to include in a partial response.
@@ -2372,8 +2251,8 @@ module Google
2372
2251
  execute_or_queue_command(command, &block)
2373
2252
  end
2374
2253
 
2375
- # Deletes a negative keyword list given an advertiser ID and a negative
2376
- # keyword list ID.
2254
+ # Deletes a negative keyword list given an advertiser ID and a negative keyword
2255
+ # list ID.
2377
2256
  # @param [Fixnum] advertiser_id
2378
2257
  # Required. The ID of the DV360 advertiser to which the negative keyword list
2379
2258
  # belongs.
@@ -2411,8 +2290,7 @@ module Google
2411
2290
  # list ID.
2412
2291
  # @param [Fixnum] advertiser_id
2413
2292
  # Required. The ID of the DV360 advertiser to which the fetched negative keyword
2414
- # list
2415
- # belongs.
2293
+ # list belongs.
2416
2294
  # @param [Fixnum] negative_keyword_list_id
2417
2295
  # Required. The ID of the negative keyword list to fetch.
2418
2296
  # @param [String] fields
@@ -2446,18 +2324,15 @@ module Google
2446
2324
  # Lists negative keyword lists based on a given advertiser id.
2447
2325
  # @param [Fixnum] advertiser_id
2448
2326
  # Required. The ID of the DV360 advertiser to which the fetched negative keyword
2449
- # lists
2450
- # belong.
2327
+ # lists belong.
2451
2328
  # @param [Fixnum] page_size
2452
- # Requested page size. Must be between `1` and `100`.
2453
- # Defaults to `100` if not set. Returns error code `INVALID_ARGUMENT` if an
2454
- # invalid value is specified.
2329
+ # Requested page size. Must be between `1` and `100`. Defaults to `100` if not
2330
+ # set. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.
2455
2331
  # @param [String] page_token
2456
- # A token identifying a page of results the server should return.
2457
- # Typically, this is the value of
2458
- # next_page_token
2459
- # returned from the previous call to `ListNegativeKeywordLists` method.
2460
- # If not specified, the first page of results will be returned.
2332
+ # A token identifying a page of results the server should return. Typically,
2333
+ # this is the value of next_page_token returned from the previous call to `
2334
+ # ListNegativeKeywordLists` method. If not specified, the first page of results
2335
+ # will be returned.
2461
2336
  # @param [String] fields
2462
2337
  # Selector specifying which fields to include in a partial response.
2463
2338
  # @param [String] quota_user
@@ -2487,8 +2362,8 @@ module Google
2487
2362
  execute_or_queue_command(command, &block)
2488
2363
  end
2489
2364
 
2490
- # Updates a negative keyword list. Returns the updated negative keyword list
2491
- # if successful.
2365
+ # Updates a negative keyword list. Returns the updated negative keyword list if
2366
+ # successful.
2492
2367
  # @param [Fixnum] advertiser_id
2493
2368
  # Required. The ID of the DV360 advertiser to which the negative keyword list
2494
2369
  # belongs.
@@ -2529,21 +2404,18 @@ module Google
2529
2404
  execute_or_queue_command(command, &block)
2530
2405
  end
2531
2406
 
2532
- # Bulk edits negative keywords in a single negative keyword list.
2533
- # The operation will delete the negative keywords provided in
2534
- # BulkEditNegativeKeywordsRequest.deleted_negative_keywords and then
2535
- # create the negative keywords provided in
2536
- # BulkEditNegativeKeywordsRequest.created_negative_keywords.
2537
- # This operation is guaranteed to be atomic and will never result in a
2538
- # partial success or partial failure.
2407
+ # Bulk edits negative keywords in a single negative keyword list. The operation
2408
+ # will delete the negative keywords provided in BulkEditNegativeKeywordsRequest.
2409
+ # deleted_negative_keywords and then create the negative keywords provided in
2410
+ # BulkEditNegativeKeywordsRequest.created_negative_keywords. This operation is
2411
+ # guaranteed to be atomic and will never result in a partial success or partial
2412
+ # failure.
2539
2413
  # @param [Fixnum] advertiser_id
2540
2414
  # Required. The ID of the DV360 advertiser to which the parent negative keyword
2541
- # list
2542
- # belongs.
2415
+ # list belongs.
2543
2416
  # @param [Fixnum] negative_keyword_list_id
2544
2417
  # Required. The ID of the parent negative keyword list to which the negative
2545
- # keywords
2546
- # belong.
2418
+ # keywords belong.
2547
2419
  # @param [Google::Apis::DisplayvideoV1::BulkEditNegativeKeywordsRequest] bulk_edit_negative_keywords_request_object
2548
2420
  # @param [String] fields
2549
2421
  # Selector specifying which fields to include in a partial response.
@@ -2578,12 +2450,10 @@ module Google
2578
2450
  # Creates a negative keyword in a negative keyword list.
2579
2451
  # @param [Fixnum] advertiser_id
2580
2452
  # Required. The ID of the DV360 advertiser to which the parent negative keyword
2581
- # list
2582
- # belongs.
2453
+ # list belongs.
2583
2454
  # @param [Fixnum] negative_keyword_list_id
2584
2455
  # Required. The ID of the parent negative keyword list in which the negative
2585
- # keyword
2586
- # will be created.
2456
+ # keyword will be created.
2587
2457
  # @param [Google::Apis::DisplayvideoV1::NegativeKeyword] negative_keyword_object
2588
2458
  # @param [String] fields
2589
2459
  # Selector specifying which fields to include in a partial response.
@@ -2618,12 +2488,10 @@ module Google
2618
2488
  # Deletes a negative keyword from a negative keyword list.
2619
2489
  # @param [Fixnum] advertiser_id
2620
2490
  # Required. The ID of the DV360 advertiser to which the parent negative keyword
2621
- # list
2622
- # belongs.
2491
+ # list belongs.
2623
2492
  # @param [Fixnum] negative_keyword_list_id
2624
2493
  # Required. The ID of the parent negative keyword list to which the negative
2625
- # keyword
2626
- # belongs.
2494
+ # keyword belongs.
2627
2495
  # @param [String] keyword_value
2628
2496
  # Required. The keyword value of the negative keyword to delete.
2629
2497
  # @param [String] fields
@@ -2658,42 +2526,31 @@ module Google
2658
2526
  # Lists negative keywords in a negative keyword list.
2659
2527
  # @param [Fixnum] advertiser_id
2660
2528
  # Required. The ID of the DV360 advertiser to which the parent negative keyword
2661
- # list
2662
- # belongs.
2529
+ # list belongs.
2663
2530
  # @param [Fixnum] negative_keyword_list_id
2664
2531
  # Required. The ID of the parent negative keyword list to which the requested
2665
- # negative
2666
- # keywords belong.
2532
+ # negative keywords belong.
2667
2533
  # @param [String] filter
2668
- # Allows filtering by negative keyword fields.
2669
- # Supported syntax:
2670
- # * Filter expressions for negative keyword currently can only contain at
2671
- # most one
2672
- # * restriction.
2673
- # * A restriction has the form of ``field` `operator` `value``.
2674
- # * The operator must be `CONTAINS (:)`.
2675
- # * Supported fields:
2676
- # - `keywordValue`
2677
- # Examples:
2678
- # * All negative keywords for which the keyword value contains "google":
2679
- # `keywordValue : "google"`
2534
+ # Allows filtering by negative keyword fields. Supported syntax: * Filter
2535
+ # expressions for negative keyword currently can only contain at most one *
2536
+ # restriction. * A restriction has the form of ``field` `operator` `value``. *
2537
+ # The operator must be `CONTAINS (:)`. * Supported fields: - `keywordValue`
2538
+ # Examples: * All negative keywords for which the keyword value contains "google"
2539
+ # : `keywordValue : "google"`
2680
2540
  # @param [String] order_by
2681
- # Field by which to sort the list.
2682
- # Acceptable values are:
2683
- # * `keywordValue` (default)
2684
- # The default sorting order is ascending. To specify descending order for a
2685
- # field, a suffix " desc" should be added to the field name. Example:
2686
- # `keywordValue desc`.
2541
+ # Field by which to sort the list. Acceptable values are: * `keywordValue` (
2542
+ # default) The default sorting order is ascending. To specify descending order
2543
+ # for a field, a suffix " desc" should be added to the field name. Example: `
2544
+ # keywordValue desc`.
2687
2545
  # @param [Fixnum] page_size
2688
2546
  # Requested page size. Must be between `1` and `100`. If unspecified will
2689
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
2690
- # is specified.
2547
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
2548
+ # specified.
2691
2549
  # @param [String] page_token
2692
- # A token identifying a page of results the server should return.
2693
- # Typically, this is the value of
2694
- # next_page_token returned
2695
- # from the previous call to `ListNegativeKeywords` method. If not specified,
2696
- # the first page of results will be returned.
2550
+ # A token identifying a page of results the server should return. Typically,
2551
+ # this is the value of next_page_token returned from the previous call to `
2552
+ # ListNegativeKeywords` method. If not specified, the first page of results will
2553
+ # be returned.
2697
2554
  # @param [String] fields
2698
2555
  # Selector specifying which fields to include in a partial response.
2699
2556
  # @param [String] quota_user
@@ -2726,8 +2583,8 @@ module Google
2726
2583
  execute_or_queue_command(command, &block)
2727
2584
  end
2728
2585
 
2729
- # Assigns a targeting option to an advertiser.
2730
- # Returns the assigned targeting option if successful.
2586
+ # Assigns a targeting option to an advertiser. Returns the assigned targeting
2587
+ # option if successful.
2731
2588
  # @param [Fixnum] advertiser_id
2732
2589
  # Required. The ID of the advertiser.
2733
2590
  # @param [String] targeting_type
@@ -2842,35 +2699,27 @@ module Google
2842
2699
  # @param [String] targeting_type
2843
2700
  # Required. Identifies the type of assigned targeting options to list.
2844
2701
  # @param [String] filter
2845
- # Allows filtering by assigned targeting option properties.
2846
- # Supported syntax:
2847
- # * Filter expressions are made up of one or more restrictions.
2848
- # * Restrictions can be combined by the logical operator `OR`.
2849
- # * A restriction has the form of ``field` `operator` `value``.
2850
- # * The operator must be `EQUALS (=)`.
2851
- # * Supported fields:
2852
- # - `assignedTargetingOptionId`
2853
- # Examples:
2854
- # * AssignedTargetingOption with ID 123456
2855
- # `assignedTargetingOptionId="123456"`
2856
- # The length of this field should be no more than 500 characters.
2702
+ # Allows filtering by assigned targeting option properties. Supported syntax: *
2703
+ # Filter expressions are made up of one or more restrictions. * Restrictions can
2704
+ # be combined by the logical operator `OR`. * A restriction has the form of ``
2705
+ # field` `operator` `value``. * The operator must be `EQUALS (=)`. * Supported
2706
+ # fields: - `assignedTargetingOptionId` Examples: * AssignedTargetingOption with
2707
+ # ID 123456 `assignedTargetingOptionId="123456"` The length of this field should
2708
+ # be no more than 500 characters.
2857
2709
  # @param [String] order_by
2858
- # Field by which to sort the list.
2859
- # Acceptable values are:
2860
- # * `assignedTargetingOptionId` (default)
2861
- # The default sorting order is ascending. To specify descending order for
2862
- # a field, a suffix "desc" should be added to the field name. Example:
2863
- # `assignedTargetingOptionId desc`.
2710
+ # Field by which to sort the list. Acceptable values are: * `
2711
+ # assignedTargetingOptionId` (default) The default sorting order is ascending.
2712
+ # To specify descending order for a field, a suffix "desc" should be added to
2713
+ # the field name. Example: `assignedTargetingOptionId desc`.
2864
2714
  # @param [Fixnum] page_size
2865
2715
  # Requested page size. Must be between `1` and `100`. If unspecified will
2866
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
2867
- # is specified.
2716
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
2717
+ # specified.
2868
2718
  # @param [String] page_token
2869
- # A token identifying a page of results the server should return.
2870
- # Typically, this is the value of
2871
- # next_page_token
2872
- # returned from the previous call to `ListAdvertiserAssignedTargetingOptions`
2873
- # method. If not specified, the first page of results will be returned.
2719
+ # A token identifying a page of results the server should return. Typically,
2720
+ # this is the value of next_page_token returned from the previous call to `
2721
+ # ListAdvertiserAssignedTargetingOptions` method. If not specified, the first
2722
+ # page of results will be returned.
2874
2723
  # @param [String] fields
2875
2724
  # Selector specifying which fields to include in a partial response.
2876
2725
  # @param [String] quota_user
@@ -2907,8 +2756,7 @@ module Google
2907
2756
  # @param [Fixnum] combined_audience_id
2908
2757
  # Required. The ID of the combined audience to fetch.
2909
2758
  # @param [Fixnum] advertiser_id
2910
- # The ID of the advertiser that has access to the fetched combined
2911
- # audience.
2759
+ # The ID of the advertiser that has access to the fetched combined audience.
2912
2760
  # @param [Fixnum] partner_id
2913
2761
  # The ID of the partner that has access to the fetched combined audience.
2914
2762
  # @param [String] fields
@@ -2940,43 +2788,31 @@ module Google
2940
2788
  execute_or_queue_command(command, &block)
2941
2789
  end
2942
2790
 
2943
- # Lists combined audiences.
2944
- # The order is defined by the
2945
- # order_by parameter.
2791
+ # Lists combined audiences. The order is defined by the order_by parameter.
2946
2792
  # @param [Fixnum] advertiser_id
2947
- # The ID of the advertiser that has access to the fetched combined
2948
- # audiences.
2793
+ # The ID of the advertiser that has access to the fetched combined audiences.
2949
2794
  # @param [String] filter
2950
- # Allows filtering by combined audience fields.
2951
- # Supported syntax:
2952
- # * Filter expressions for combined audiences currently can only contain at
2953
- # most one restriction.
2954
- # * A restriction has the form of ``field` `operator` `value``.
2955
- # * The operator must be `CONTAINS (:)`.
2956
- # * Supported fields:
2957
- # - `displayName`
2958
- # Examples:
2959
- # * All combined audiences for which the display name contains "Google":
2960
- # `displayName : "Google"`.
2961
- # The length of this field should be no more than 500 characters.
2795
+ # Allows filtering by combined audience fields. Supported syntax: * Filter
2796
+ # expressions for combined audiences currently can only contain at most one
2797
+ # restriction. * A restriction has the form of ``field` `operator` `value``. *
2798
+ # The operator must be `CONTAINS (:)`. * Supported fields: - `displayName`
2799
+ # Examples: * All combined audiences for which the display name contains "Google"
2800
+ # : `displayName : "Google"`. The length of this field should be no more than
2801
+ # 500 characters.
2962
2802
  # @param [String] order_by
2963
- # Field by which to sort the list.
2964
- # Acceptable values are:
2965
- # * `combinedAudienceId` (default)
2966
- # * `displayName`
2967
- # The default sorting order is ascending. To specify descending order for
2968
- # a field, a suffix "desc" should be added to the field name. Example:
2969
- # `displayName desc`.
2803
+ # Field by which to sort the list. Acceptable values are: * `combinedAudienceId`
2804
+ # (default) * `displayName` The default sorting order is ascending. To specify
2805
+ # descending order for a field, a suffix "desc" should be added to the field
2806
+ # name. Example: `displayName desc`.
2970
2807
  # @param [Fixnum] page_size
2971
2808
  # Requested page size. Must be between `1` and `100`. If unspecified will
2972
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
2973
- # is specified.
2809
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
2810
+ # specified.
2974
2811
  # @param [String] page_token
2975
- # A token identifying a page of results the server should return.
2976
- # Typically, this is the value of
2977
- # next_page_token
2978
- # returned from the previous call to `ListCombinedAudiences` method.
2979
- # If not specified, the first page of results will be returned.
2812
+ # A token identifying a page of results the server should return. Typically,
2813
+ # this is the value of next_page_token returned from the previous call to `
2814
+ # ListCombinedAudiences` method. If not specified, the first page of results
2815
+ # will be returned.
2980
2816
  # @param [Fixnum] partner_id
2981
2817
  # The ID of the partner that has access to the fetched combined audiences.
2982
2818
  # @param [String] fields
@@ -3011,12 +2847,115 @@ module Google
3011
2847
  execute_or_queue_command(command, &block)
3012
2848
  end
3013
2849
 
2850
+ # Gets a custom bidding algorithm.
2851
+ # @param [Fixnum] custom_bidding_algorithm_id
2852
+ # Required. The ID of the custom bidding algorithm to fetch.
2853
+ # @param [Fixnum] advertiser_id
2854
+ # The ID of the DV360 partner that has access to the custom bidding algorithm.
2855
+ # @param [Fixnum] partner_id
2856
+ # The ID of the DV360 partner that has access to the custom bidding algorithm.
2857
+ # @param [String] fields
2858
+ # Selector specifying which fields to include in a partial response.
2859
+ # @param [String] quota_user
2860
+ # Available to use for quota purposes for server-side applications. Can be any
2861
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2862
+ # @param [Google::Apis::RequestOptions] options
2863
+ # Request-specific options
2864
+ #
2865
+ # @yield [result, err] Result & error if block supplied
2866
+ # @yieldparam result [Google::Apis::DisplayvideoV1::CustomBiddingAlgorithm] parsed result object
2867
+ # @yieldparam err [StandardError] error object if request failed
2868
+ #
2869
+ # @return [Google::Apis::DisplayvideoV1::CustomBiddingAlgorithm]
2870
+ #
2871
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2872
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2873
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2874
+ def get_custom_bidding_algorithm(custom_bidding_algorithm_id, advertiser_id: nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
2875
+ command = make_simple_command(:get, 'v1/customBiddingAlgorithms/{+customBiddingAlgorithmId}', options)
2876
+ command.response_representation = Google::Apis::DisplayvideoV1::CustomBiddingAlgorithm::Representation
2877
+ command.response_class = Google::Apis::DisplayvideoV1::CustomBiddingAlgorithm
2878
+ command.params['customBiddingAlgorithmId'] = custom_bidding_algorithm_id unless custom_bidding_algorithm_id.nil?
2879
+ command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
2880
+ command.query['partnerId'] = partner_id unless partner_id.nil?
2881
+ command.query['fields'] = fields unless fields.nil?
2882
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2883
+ execute_or_queue_command(command, &block)
2884
+ end
2885
+
2886
+ # Lists custom bidding algorithms that are accessible to the current user and
2887
+ # can be used in bidding stratgies. The order is defined by the order_by
2888
+ # parameter.
2889
+ # @param [Fixnum] advertiser_id
2890
+ # The ID of the DV360 advertiser that has access to the custom bidding algorithm.
2891
+ # @param [String] filter
2892
+ # Allows filtering by custom bidding algorithm fields. Supported syntax: *
2893
+ # Filter expressions are made up of one or more restrictions. * Restrictions can
2894
+ # be combined by `AND`. A sequence of restrictions * implicitly uses `AND`. * A
2895
+ # restriction has the form of ``field` `operator` `value``. * The operator must
2896
+ # be `CONTAINS (:)` or `EQUALS (=)`. * The operator must be `CONTAINS (:)` for
2897
+ # the following field: - `displayName` * The operator must be `EQUALS (=)` for
2898
+ # the following field: - `customBiddingAlgorithmType` * For `displayName`, the
2899
+ # value is a string. We return all custom bidding algorithms whose display_name
2900
+ # contains such string. * For `customBiddingAlgorithmType`, the value is a
2901
+ # string. We return all algorithms whose custom_bidding_algorithm_type is equal
2902
+ # to the given type. Examples: * All custom bidding algorithms for which the
2903
+ # display name contains "politics": `displayName:politics`. * All custom bidding
2904
+ # algorithms for which the type is "SCRIPT_BASED": `customBiddingAlgorithmType=
2905
+ # SCRIPT_BASED` The length of this field should be no more than 500 characters.
2906
+ # @param [String] order_by
2907
+ # Field by which to sort the list. Acceptable values are: * `displayName` (
2908
+ # default) The default sorting order is ascending. To specify descending order
2909
+ # for a field, a suffix "desc" should be added to the field name. Example: `
2910
+ # displayName desc`.
2911
+ # @param [Fixnum] page_size
2912
+ # Requested page size. Must be between `1` and `100`. If unspecified will
2913
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
2914
+ # specified.
2915
+ # @param [String] page_token
2916
+ # A token identifying a page of results the server should return. Typically,
2917
+ # this is the value of next_page_token returned from the previous call to `
2918
+ # ListCustomBiddingAlgorithms` method. If not specified, the first page of
2919
+ # results will be returned.
2920
+ # @param [Fixnum] partner_id
2921
+ # The ID of the DV360 partner that has access to the custom bidding algorithm.
2922
+ # @param [String] fields
2923
+ # Selector specifying which fields to include in a partial response.
2924
+ # @param [String] quota_user
2925
+ # Available to use for quota purposes for server-side applications. Can be any
2926
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2927
+ # @param [Google::Apis::RequestOptions] options
2928
+ # Request-specific options
2929
+ #
2930
+ # @yield [result, err] Result & error if block supplied
2931
+ # @yieldparam result [Google::Apis::DisplayvideoV1::ListCustomBiddingAlgorithmsResponse] parsed result object
2932
+ # @yieldparam err [StandardError] error object if request failed
2933
+ #
2934
+ # @return [Google::Apis::DisplayvideoV1::ListCustomBiddingAlgorithmsResponse]
2935
+ #
2936
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2937
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2938
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2939
+ 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)
2940
+ command = make_simple_command(:get, 'v1/customBiddingAlgorithms', options)
2941
+ command.response_representation = Google::Apis::DisplayvideoV1::ListCustomBiddingAlgorithmsResponse::Representation
2942
+ command.response_class = Google::Apis::DisplayvideoV1::ListCustomBiddingAlgorithmsResponse
2943
+ command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
2944
+ command.query['filter'] = filter unless filter.nil?
2945
+ command.query['orderBy'] = order_by unless order_by.nil?
2946
+ command.query['pageSize'] = page_size unless page_size.nil?
2947
+ command.query['pageToken'] = page_token unless page_token.nil?
2948
+ command.query['partnerId'] = partner_id unless partner_id.nil?
2949
+ command.query['fields'] = fields unless fields.nil?
2950
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2951
+ execute_or_queue_command(command, &block)
2952
+ end
2953
+
3014
2954
  # Gets a custom list.
3015
2955
  # @param [Fixnum] custom_list_id
3016
2956
  # Required. The ID of the custom list to fetch.
3017
2957
  # @param [Fixnum] advertiser_id
3018
- # The ID of the DV360 advertiser that has access to the fetched custom
3019
- # lists.
2958
+ # The ID of the DV360 advertiser that has access to the fetched custom lists.
3020
2959
  # @param [String] fields
3021
2960
  # Selector specifying which fields to include in a partial response.
3022
2961
  # @param [String] quota_user
@@ -3045,43 +2984,30 @@ module Google
3045
2984
  execute_or_queue_command(command, &block)
3046
2985
  end
3047
2986
 
3048
- # Lists custom lists.
3049
- # The order is defined by the order_by
3050
- # parameter.
2987
+ # Lists custom lists. The order is defined by the order_by parameter.
3051
2988
  # @param [Fixnum] advertiser_id
3052
- # The ID of the DV360 advertiser that has access to the fetched custom
3053
- # lists.
2989
+ # The ID of the DV360 advertiser that has access to the fetched custom lists.
3054
2990
  # @param [String] filter
3055
- # Allows filtering by custom list fields.
3056
- # Supported syntax:
3057
- # * Filter expressions for custom lists currently can only contain at
3058
- # most one restriction.
3059
- # * A restriction has the form of ``field` `operator` `value``.
3060
- # * The operator must be `CONTAINS (:)`.
3061
- # * Supported fields:
3062
- # - `displayName`
3063
- # Examples:
3064
- # * All custom lists for which the display name contains "Google":
3065
- # `displayName : "Google"`.
2991
+ # Allows filtering by custom list fields. Supported syntax: * Filter expressions
2992
+ # for custom lists currently can only contain at most one restriction. * A
2993
+ # restriction has the form of ``field` `operator` `value``. * The operator must
2994
+ # be `CONTAINS (:)`. * Supported fields: - `displayName` Examples: * All custom
2995
+ # lists for which the display name contains "Google": `displayName : "Google"`.
3066
2996
  # The length of this field should be no more than 500 characters.
3067
2997
  # @param [String] order_by
3068
- # Field by which to sort the list.
3069
- # Acceptable values are:
3070
- # * `customListId` (default)
3071
- # * `displayName`
3072
- # The default sorting order is ascending. To specify descending order for
3073
- # a field, a suffix "desc" should be added to the field name. Example:
3074
- # `displayName desc`.
2998
+ # Field by which to sort the list. Acceptable values are: * `customListId` (
2999
+ # default) * `displayName` The default sorting order is ascending. To specify
3000
+ # descending order for a field, a suffix "desc" should be added to the field
3001
+ # name. Example: `displayName desc`.
3075
3002
  # @param [Fixnum] page_size
3076
3003
  # Requested page size. Must be between `1` and `100`. If unspecified will
3077
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
3078
- # is specified.
3004
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
3005
+ # specified.
3079
3006
  # @param [String] page_token
3080
- # A token identifying a page of results the server should return.
3081
- # Typically, this is the value of
3082
- # next_page_token
3083
- # returned from the previous call to `ListCustomLists` method.
3084
- # If not specified, the first page of results will be returned.
3007
+ # A token identifying a page of results the server should return. Typically,
3008
+ # this is the value of next_page_token returned from the previous call to `
3009
+ # ListCustomLists` method. If not specified, the first page of results will be
3010
+ # returned.
3085
3011
  # @param [String] fields
3086
3012
  # Selector specifying which fields to include in a partial response.
3087
3013
  # @param [String] quota_user
@@ -3117,11 +3043,11 @@ module Google
3117
3043
  # @param [Fixnum] first_and_third_party_audience_id
3118
3044
  # Required. The ID of the first and third party audience to fetch.
3119
3045
  # @param [Fixnum] advertiser_id
3120
- # The ID of the advertiser that has access to the fetched first and
3121
- # third party audience.
3046
+ # The ID of the advertiser that has access to the fetched first and third party
3047
+ # audience.
3122
3048
  # @param [Fixnum] partner_id
3123
- # The ID of the partner that has access to the fetched first and
3124
- # third party audience.
3049
+ # The ID of the partner that has access to the fetched first and third party
3050
+ # audience.
3125
3051
  # @param [String] fields
3126
3052
  # Selector specifying which fields to include in a partial response.
3127
3053
  # @param [String] quota_user
@@ -3151,46 +3077,36 @@ module Google
3151
3077
  execute_or_queue_command(command, &block)
3152
3078
  end
3153
3079
 
3154
- # Lists first and third party audiences.
3155
- # The order is defined by the
3156
- # order_by parameter.
3080
+ # Lists first and third party audiences. The order is defined by the order_by
3081
+ # parameter.
3157
3082
  # @param [Fixnum] advertiser_id
3158
- # The ID of the advertiser that has access to the fetched first and
3159
- # third party audiences.
3083
+ # The ID of the advertiser that has access to the fetched first and third party
3084
+ # audiences.
3160
3085
  # @param [String] filter
3161
- # Allows filtering by first and third party audience fields.
3162
- # Supported syntax:
3163
- # * Filter expressions for first and third party audiences currently can
3164
- # only contain at most one restriction.
3165
- # * A restriction has the form of ``field` `operator` `value``.
3166
- # * The operator must be `CONTAINS (:)`.
3167
- # * Supported fields:
3168
- # - `displayName`
3169
- # Examples:
3170
- # * All first and third party audiences for which the display name contains
3171
- # "Google": `displayName : "Google"`.
3172
- # The length of this field should be no more than 500 characters.
3086
+ # Allows filtering by first and third party audience fields. Supported syntax: *
3087
+ # Filter expressions for first and third party audiences currently can only
3088
+ # contain at most one restriction. * A restriction has the form of ``field` `
3089
+ # operator` `value``. * The operator must be `CONTAINS (:)`. * Supported fields:
3090
+ # - `displayName` Examples: * All first and third party audiences for which the
3091
+ # display name contains "Google": `displayName : "Google"`. The length of this
3092
+ # field should be no more than 500 characters.
3173
3093
  # @param [String] order_by
3174
- # Field by which to sort the list.
3175
- # Acceptable values are:
3176
- # * `firstAndThirdPartyAudienceId` (default)
3177
- # * `displayName`
3178
- # The default sorting order is ascending. To specify descending order for
3179
- # a field, a suffix "desc" should be added to the field name. Example:
3180
- # `displayName desc`.
3094
+ # Field by which to sort the list. Acceptable values are: * `
3095
+ # firstAndThirdPartyAudienceId` (default) * `displayName` The default sorting
3096
+ # order is ascending. To specify descending order for a field, a suffix "desc"
3097
+ # should be added to the field name. Example: `displayName desc`.
3181
3098
  # @param [Fixnum] page_size
3182
3099
  # Requested page size. Must be between `1` and `100`. If unspecified will
3183
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
3184
- # is specified.
3100
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
3101
+ # specified.
3185
3102
  # @param [String] page_token
3186
- # A token identifying a page of results the server should return.
3187
- # Typically, this is the value of
3188
- # next_page_token
3189
- # returned from the previous call to `ListFirstAndThirdPartyAudiences`
3190
- # method. If not specified, the first page of results will be returned.
3103
+ # A token identifying a page of results the server should return. Typically,
3104
+ # this is the value of next_page_token returned from the previous call to `
3105
+ # ListFirstAndThirdPartyAudiences` method. If not specified, the first page of
3106
+ # results will be returned.
3191
3107
  # @param [Fixnum] partner_id
3192
- # The ID of the partner that has access to the fetched first and
3193
- # third party audiences.
3108
+ # The ID of the partner that has access to the fetched first and third party
3109
+ # audiences.
3194
3110
  # @param [String] fields
3195
3111
  # Selector specifying which fields to include in a partial response.
3196
3112
  # @param [String] quota_user
@@ -3256,8 +3172,8 @@ module Google
3256
3172
  execute_or_queue_command(command, &block)
3257
3173
  end
3258
3174
 
3259
- # Updates an existing Floodlight group.
3260
- # Returns the updated Floodlight group if successful.
3175
+ # Updates an existing Floodlight group. Returns the updated Floodlight group if
3176
+ # successful.
3261
3177
  # @param [Fixnum] floodlight_group_id
3262
3178
  # Output only. The unique ID of the Floodlight group. Assigned by the system.
3263
3179
  # @param [Google::Apis::DisplayvideoV1::FloodlightGroup] floodlight_group_object
@@ -3332,42 +3248,31 @@ module Google
3332
3248
  execute_or_queue_command(command, &block)
3333
3249
  end
3334
3250
 
3335
- # Lists Google audiences.
3336
- # The order is defined by the order_by
3337
- # parameter.
3251
+ # Lists Google audiences. The order is defined by the order_by parameter.
3338
3252
  # @param [Fixnum] advertiser_id
3339
3253
  # The ID of the advertiser that has access to the fetched Google audiences.
3340
3254
  # @param [String] filter
3341
- # Allows filtering by Google audience fields.
3342
- # Supported syntax:
3343
- # * Filter expressions for Google audiences currently can only contain at
3344
- # most one restriction.
3345
- # * A restriction has the form of ``field` `operator` `value``.
3346
- # * The operator must be `CONTAINS (:)`.
3347
- # * Supported fields:
3348
- # - `displayName`
3349
- # Examples:
3350
- # * All Google audiences for which the display name contains "Google":
3351
- # `displayName : "Google"`.
3352
- # The length of this field should be no more than 500 characters.
3255
+ # Allows filtering by Google audience fields. Supported syntax: * Filter
3256
+ # expressions for Google audiences currently can only contain at most one
3257
+ # restriction. * A restriction has the form of ``field` `operator` `value``. *
3258
+ # The operator must be `CONTAINS (:)`. * Supported fields: - `displayName`
3259
+ # Examples: * All Google audiences for which the display name contains "Google":
3260
+ # `displayName : "Google"`. The length of this field should be no more than 500
3261
+ # characters.
3353
3262
  # @param [String] order_by
3354
- # Field by which to sort the list.
3355
- # Acceptable values are:
3356
- # * `googleAudienceId` (default)
3357
- # * `displayName`
3358
- # The default sorting order is ascending. To specify descending order for
3359
- # a field, a suffix "desc" should be added to the field name. Example:
3360
- # `displayName desc`.
3263
+ # Field by which to sort the list. Acceptable values are: * `googleAudienceId` (
3264
+ # default) * `displayName` The default sorting order is ascending. To specify
3265
+ # descending order for a field, a suffix "desc" should be added to the field
3266
+ # name. Example: `displayName desc`.
3361
3267
  # @param [Fixnum] page_size
3362
3268
  # Requested page size. Must be between `1` and `100`. If unspecified will
3363
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
3364
- # is specified.
3269
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
3270
+ # specified.
3365
3271
  # @param [String] page_token
3366
- # A token identifying a page of results the server should return.
3367
- # Typically, this is the value of
3368
- # next_page_token
3369
- # returned from the previous call to `ListGoogleAudiences` method.
3370
- # If not specified, the first page of results will be returned.
3272
+ # A token identifying a page of results the server should return. Typically,
3273
+ # this is the value of next_page_token returned from the previous call to `
3274
+ # ListGoogleAudiences` method. If not specified, the first page of results will
3275
+ # be returned.
3371
3276
  # @param [Fixnum] partner_id
3372
3277
  # The ID of the partner that has access to the fetched Google audiences.
3373
3278
  # @param [String] fields
@@ -3406,13 +3311,12 @@ module Google
3406
3311
  # source group if successful.
3407
3312
  # @param [Google::Apis::DisplayvideoV1::InventorySourceGroup] inventory_source_group_object
3408
3313
  # @param [Fixnum] advertiser_id
3409
- # The ID of the advertiser that owns the inventory source group.
3410
- # The parent partner will not have access to this group.
3314
+ # The ID of the advertiser that owns the inventory source group. The parent
3315
+ # partner will not have access to this group.
3411
3316
  # @param [Fixnum] partner_id
3412
- # The ID of the partner that owns the inventory source group.
3413
- # Only this partner will have write access to this group. Only advertisers
3414
- # to which this group is explicitly shared will have read access to this
3415
- # group.
3317
+ # The ID of the partner that owns the inventory source group. Only this partner
3318
+ # will have write access to this group. Only advertisers to which this group is
3319
+ # explicitly shared will have read access to this group.
3416
3320
  # @param [String] fields
3417
3321
  # Selector specifying which fields to include in a partial response.
3418
3322
  # @param [String] quota_user
@@ -3447,11 +3351,11 @@ module Google
3447
3351
  # @param [Fixnum] inventory_source_group_id
3448
3352
  # Required. The ID of the inventory source group to delete.
3449
3353
  # @param [Fixnum] advertiser_id
3450
- # The ID of the advertiser that owns the inventory source group.
3451
- # The parent partner does not have access to this group.
3354
+ # The ID of the advertiser that owns the inventory source group. The parent
3355
+ # partner does not have access to this group.
3452
3356
  # @param [Fixnum] partner_id
3453
- # The ID of the partner that owns the inventory source group.
3454
- # Only this partner has write access to this group.
3357
+ # The ID of the partner that owns the inventory source group. Only this partner
3358
+ # has write access to this group.
3455
3359
  # @param [String] fields
3456
3360
  # Selector specifying which fields to include in a partial response.
3457
3361
  # @param [String] quota_user
@@ -3485,12 +3389,12 @@ module Google
3485
3389
  # @param [Fixnum] inventory_source_group_id
3486
3390
  # Required. The ID of the inventory source group to fetch.
3487
3391
  # @param [Fixnum] advertiser_id
3488
- # The ID of the advertiser that has access to the inventory source group.
3489
- # If an inventory source group is partner-owned, only advertisers to which
3490
- # the group is explicitly shared can access the group.
3392
+ # The ID of the advertiser that has access to the inventory source group. If an
3393
+ # inventory source group is partner-owned, only advertisers to which the group
3394
+ # is explicitly shared can access the group.
3491
3395
  # @param [Fixnum] partner_id
3492
- # The ID of the partner that has access to the inventory source group.
3493
- # A partner cannot access an advertiser-owned inventory source group.
3396
+ # The ID of the partner that has access to the inventory source group. A partner
3397
+ # cannot access an advertiser-owned inventory source group.
3494
3398
  # @param [String] fields
3495
3399
  # Selector specifying which fields to include in a partial response.
3496
3400
  # @param [String] quota_user
@@ -3520,43 +3424,35 @@ module Google
3520
3424
  execute_or_queue_command(command, &block)
3521
3425
  end
3522
3426
 
3523
- # Lists inventory source groups that are accessible to the current user.
3524
- # The order is defined by the
3525
- # order_by parameter.
3427
+ # Lists inventory source groups that are accessible to the current user. The
3428
+ # order is defined by the order_by parameter.
3526
3429
  # @param [Fixnum] advertiser_id
3527
- # The ID of the advertiser that has access to the inventory source group.
3528
- # If an inventory source group is partner-owned, only advertisers to which
3529
- # the group is explicitly shared can access the group.
3430
+ # The ID of the advertiser that has access to the inventory source group. If an
3431
+ # inventory source group is partner-owned, only advertisers to which the group
3432
+ # is explicitly shared can access the group.
3530
3433
  # @param [String] filter
3531
- # Allows filtering by inventory source group properties.
3532
- # Supported syntax:
3533
- # * Filter expressions are made up of one or more restrictions.
3534
- # * Restrictions can be combined by the logical operator `OR`.
3535
- # * A restriction has the form of ``field` `operator` `value``.
3536
- # * The operator must be `EQUALS (=)`.
3537
- # * Supported fields:
3538
- # - `inventorySourceGroupId`
3539
- # The length of this field should be no more than 500 characters.
3434
+ # Allows filtering by inventory source group properties. Supported syntax: *
3435
+ # Filter expressions are made up of one or more restrictions. * Restrictions can
3436
+ # be combined by the logical operator `OR`. * A restriction has the form of ``
3437
+ # field` `operator` `value``. * The operator must be `EQUALS (=)`. * Supported
3438
+ # fields: - `inventorySourceGroupId` The length of this field should be no more
3439
+ # than 500 characters.
3540
3440
  # @param [String] order_by
3541
- # Field by which to sort the list.
3542
- # Acceptable values are:
3543
- # * `displayName` (default)
3544
- # * `inventorySourceGroupId`
3545
- # The default sorting order is ascending. To specify descending order for
3546
- # a field, a suffix "desc" should be added to the field name. For example,
3547
- # `displayName desc`.
3441
+ # Field by which to sort the list. Acceptable values are: * `displayName` (
3442
+ # default) * `inventorySourceGroupId` The default sorting order is ascending. To
3443
+ # specify descending order for a field, a suffix "desc" should be added to the
3444
+ # field name. For example, `displayName desc`.
3548
3445
  # @param [Fixnum] page_size
3549
3446
  # Requested page size. Must be between `1` and `100`. If unspecified will
3550
3447
  # default to `100`.
3551
3448
  # @param [String] page_token
3552
- # A token identifying a page of results the server should return.
3553
- # Typically, this is the value of
3554
- # next_page_token
3555
- # returned from the previous call to `ListInventorySources` method.
3556
- # If not specified, the first page of results will be returned.
3449
+ # A token identifying a page of results the server should return. Typically,
3450
+ # this is the value of next_page_token returned from the previous call to `
3451
+ # ListInventorySources` method. If not specified, the first page of results will
3452
+ # be returned.
3557
3453
  # @param [Fixnum] partner_id
3558
- # The ID of the partner that has access to the inventory source group.
3559
- # A partner cannot access advertiser-owned inventory source groups.
3454
+ # The ID of the partner that has access to the inventory source group. A partner
3455
+ # cannot access advertiser-owned inventory source groups.
3560
3456
  # @param [String] fields
3561
3457
  # Selector specifying which fields to include in a partial response.
3562
3458
  # @param [String] quota_user
@@ -3589,18 +3485,18 @@ module Google
3589
3485
  execute_or_queue_command(command, &block)
3590
3486
  end
3591
3487
 
3592
- # Updates an inventory source group. Returns the updated inventory source
3593
- # group if successful.
3488
+ # Updates an inventory source group. Returns the updated inventory source group
3489
+ # if successful.
3594
3490
  # @param [Fixnum] inventory_source_group_id
3595
3491
  # Output only. The unique ID of the inventory source group. Assigned by the
3596
3492
  # system.
3597
3493
  # @param [Google::Apis::DisplayvideoV1::InventorySourceGroup] inventory_source_group_object
3598
3494
  # @param [Fixnum] advertiser_id
3599
- # The ID of the advertiser that owns the inventory source group.
3600
- # The parent partner does not have access to this group.
3495
+ # The ID of the advertiser that owns the inventory source group. The parent
3496
+ # partner does not have access to this group.
3601
3497
  # @param [Fixnum] partner_id
3602
- # The ID of the partner that owns the inventory source group.
3603
- # Only this partner has write access to this group.
3498
+ # The ID of the partner that owns the inventory source group. Only this partner
3499
+ # has write access to this group.
3604
3500
  # @param [String] update_mask
3605
3501
  # Required. The mask to control which fields to update.
3606
3502
  # @param [String] fields
@@ -3636,11 +3532,11 @@ module Google
3636
3532
  end
3637
3533
 
3638
3534
  # Bulk edits multiple assignments between inventory sources and a single
3639
- # inventory source group.
3640
- # The operation will delete the assigned inventory sources provided in
3641
- # BulkEditAssignedInventorySourcesRequest.deleted_assigned_inventory_sources
3642
- # and then create the assigned inventory sources provided in
3643
- # BulkEditAssignedInventorySourcesRequest.created_assigned_inventory_sources.
3535
+ # inventory source group. The operation will delete the assigned inventory
3536
+ # sources provided in BulkEditAssignedInventorySourcesRequest.
3537
+ # deleted_assigned_inventory_sources and then create the assigned inventory
3538
+ # sources provided in BulkEditAssignedInventorySourcesRequest.
3539
+ # created_assigned_inventory_sources.
3644
3540
  # @param [Fixnum] inventory_source_group_id
3645
3541
  # Required. The ID of the inventory source group to which the assignments are
3646
3542
  # assigned.
@@ -3681,13 +3577,11 @@ module Google
3681
3577
  # assigned.
3682
3578
  # @param [Google::Apis::DisplayvideoV1::AssignedInventorySource] assigned_inventory_source_object
3683
3579
  # @param [Fixnum] advertiser_id
3684
- # The ID of the advertiser that owns the parent inventory source group.
3685
- # The parent partner will not have access to this assigned inventory
3686
- # source.
3580
+ # The ID of the advertiser that owns the parent inventory source group. The
3581
+ # parent partner will not have access to this assigned inventory source.
3687
3582
  # @param [Fixnum] partner_id
3688
- # The ID of the partner that owns the parent inventory source group.
3689
- # Only this partner will have write access to this assigned inventory
3690
- # source.
3583
+ # The ID of the partner that owns the parent inventory source group. Only this
3584
+ # partner will have write access to this assigned inventory source.
3691
3585
  # @param [String] fields
3692
3586
  # Selector specifying which fields to include in a partial response.
3693
3587
  # @param [String] quota_user
@@ -3727,12 +3621,11 @@ module Google
3727
3621
  # @param [Fixnum] assigned_inventory_source_id
3728
3622
  # Required. The ID of the assigned inventory source to delete.
3729
3623
  # @param [Fixnum] advertiser_id
3730
- # The ID of the advertiser that owns the parent inventory source group.
3731
- # The parent partner does not have access to this assigned inventory
3732
- # source.
3624
+ # The ID of the advertiser that owns the parent inventory source group. The
3625
+ # parent partner does not have access to this assigned inventory source.
3733
3626
  # @param [Fixnum] partner_id
3734
- # The ID of the partner that owns the parent inventory source group.
3735
- # Only this partner has write access to this assigned inventory source.
3627
+ # The ID of the partner that owns the parent inventory source group. Only this
3628
+ # partner has write access to this assigned inventory source.
3736
3629
  # @param [String] fields
3737
3630
  # Selector specifying which fields to include in a partial response.
3738
3631
  # @param [String] quota_user
@@ -3768,41 +3661,34 @@ module Google
3768
3661
  # Required. The ID of the inventory source group to which these assignments are
3769
3662
  # assigned.
3770
3663
  # @param [Fixnum] advertiser_id
3771
- # The ID of the advertiser that has access to the assignment.
3772
- # If the parent inventory source group is partner-owned, only advertisers
3773
- # to which the parent group is explicitly shared can access the assigned
3774
- # inventory source.
3664
+ # The ID of the advertiser that has access to the assignment. If the parent
3665
+ # inventory source group is partner-owned, only advertisers to which the parent
3666
+ # group is explicitly shared can access the assigned inventory source.
3775
3667
  # @param [String] filter
3776
- # Allows filtering by assigned inventory source fields.
3777
- # Supported syntax:
3778
- # * Filter expressions are made up of one or more restrictions.
3779
- # * Restrictions can be combined by the logical operator `OR`.
3780
- # * A restriction has the form of ``field` `operator` `value``.
3781
- # * The operator must be `EQUALS (=)`.
3782
- # * Supported fields:
3783
- # - `assignedInventorySourceId`
3784
- # The length of this field should be no more than 500 characters.
3668
+ # Allows filtering by assigned inventory source fields. Supported syntax: *
3669
+ # Filter expressions are made up of one or more restrictions. * Restrictions can
3670
+ # be combined by the logical operator `OR`. * A restriction has the form of ``
3671
+ # field` `operator` `value``. * The operator must be `EQUALS (=)`. * Supported
3672
+ # fields: - `assignedInventorySourceId` The length of this field should be no
3673
+ # more than 500 characters.
3785
3674
  # @param [String] order_by
3786
- # Field by which to sort the list.
3787
- # Acceptable values are:
3788
- # * `assignedInventorySourceId` (default)
3789
- # The default sorting order is ascending. To specify descending order for a
3790
- # field, a suffix " desc" should be added to the field name. Example:
3791
- # `assignedInventorySourceId desc`.
3675
+ # Field by which to sort the list. Acceptable values are: * `
3676
+ # assignedInventorySourceId` (default) The default sorting order is ascending.
3677
+ # To specify descending order for a field, a suffix " desc" should be added to
3678
+ # the field name. Example: `assignedInventorySourceId desc`.
3792
3679
  # @param [Fixnum] page_size
3793
3680
  # Requested page size. Must be between `1` and `100`. If unspecified will
3794
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
3795
- # is specified.
3681
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
3682
+ # specified.
3796
3683
  # @param [String] page_token
3797
- # A token identifying a page of results the server should return.
3798
- # Typically, this is the value of
3799
- # next_page_token
3800
- # returned from the previous call to `ListAssignedInventorySources`
3801
- # method. If not specified, the first page of results will be returned.
3684
+ # A token identifying a page of results the server should return. Typically,
3685
+ # this is the value of next_page_token returned from the previous call to `
3686
+ # ListAssignedInventorySources` method. If not specified, the first page of
3687
+ # results will be returned.
3802
3688
  # @param [Fixnum] partner_id
3803
- # The ID of the partner that has access to the assignment.
3804
- # If the parent inventory source group is advertiser-owned, the assignment
3805
- # cannot be accessed via a partner.
3689
+ # The ID of the partner that has access to the assignment. If the parent
3690
+ # inventory source group is advertiser-owned, the assignment cannot be accessed
3691
+ # via a partner.
3806
3692
  # @param [String] fields
3807
3693
  # Selector specifying which fields to include in a partial response.
3808
3694
  # @param [String] quota_user
@@ -3840,8 +3726,8 @@ module Google
3840
3726
  # @param [Fixnum] inventory_source_id
3841
3727
  # Required. The ID of the inventory source to fetch.
3842
3728
  # @param [Fixnum] partner_id
3843
- # Required. The ID of the DV360 partner to which the fetched inventory source
3844
- # is permissioned.
3729
+ # Required. The ID of the DV360 partner to which the fetched inventory source is
3730
+ # permissioned.
3845
3731
  # @param [String] fields
3846
3732
  # Selector specifying which fields to include in a partial response.
3847
3733
  # @param [String] quota_user
@@ -3870,51 +3756,37 @@ module Google
3870
3756
  execute_or_queue_command(command, &block)
3871
3757
  end
3872
3758
 
3873
- # Lists inventory sources that are accessible to the current user.
3874
- # The order is defined by the
3875
- # order_by parameter.
3876
- # If a filter by
3877
- # entity_status is not
3878
- # specified, inventory sources with entity status `ENTITY_STATUS_ARCHIVED`
3879
- # will not be included in the results.
3759
+ # Lists inventory sources that are accessible to the current user. The order is
3760
+ # defined by the order_by parameter. If a filter by entity_status is not
3761
+ # specified, inventory sources with entity status `ENTITY_STATUS_ARCHIVED` will
3762
+ # not be included in the results.
3880
3763
  # @param [Fixnum] advertiser_id
3881
3764
  # The ID of the advertiser that has access to the inventory source.
3882
3765
  # @param [String] filter
3883
- # Allows filtering by inventory source properties.
3884
- # Supported syntax:
3885
- # * Filter expressions are made up of one or more restrictions.
3886
- # * Restrictions can be combined by `AND` or `OR` logical operators. A
3887
- # sequence of restrictions implicitly uses `AND`.
3888
- # * A restriction has the form of ``field` `operator` `value``.
3889
- # * The operator must be `EQUALS (=)`.
3890
- # * Supported fields:
3891
- # - `status.entityStatus`
3892
- # - `commitment`
3893
- # - `deliveryMethod`
3894
- # - `rateDetails.rateType`
3895
- # - `exchange`
3896
- # Examples:
3897
- # * All active inventory sources:
3898
- # `status.entityStatus="ENTITY_STATUS_ACTIVE"`
3899
- # * Inventory sources belonging to Google Ad Manager or Rubicon exchanges:
3900
- # `exchange="EXCHANGE_GOOGLE_AD_MANAGER" OR exchange="EXCHANGE_RUBICON"`
3901
- # The length of this field should be no more than 500 characters.
3766
+ # Allows filtering by inventory source properties. Supported syntax: * Filter
3767
+ # expressions are made up of one or more restrictions. * Restrictions can be
3768
+ # combined by `AND` or `OR` logical operators. A sequence of restrictions
3769
+ # implicitly uses `AND`. * A restriction has the form of ``field` `operator` `
3770
+ # value``. * The operator must be `EQUALS (=)`. * Supported fields: - `status.
3771
+ # entityStatus` - `commitment` - `deliveryMethod` - `rateDetails.rateType` - `
3772
+ # exchange` Examples: * All active inventory sources: `status.entityStatus="
3773
+ # ENTITY_STATUS_ACTIVE"` * Inventory sources belonging to Google Ad Manager or
3774
+ # Rubicon exchanges: `exchange="EXCHANGE_GOOGLE_AD_MANAGER" OR exchange="
3775
+ # EXCHANGE_RUBICON"` The length of this field should be no more than 500
3776
+ # characters.
3902
3777
  # @param [String] order_by
3903
- # Field by which to sort the list.
3904
- # Acceptable values are:
3905
- # * `displayName` (default)
3906
- # The default sorting order is ascending. To specify descending order for
3907
- # a field, a suffix "desc" should be added to the field name. For example,
3908
- # `displayName desc`.
3778
+ # Field by which to sort the list. Acceptable values are: * `displayName` (
3779
+ # default) The default sorting order is ascending. To specify descending order
3780
+ # for a field, a suffix "desc" should be added to the field name. For example, `
3781
+ # displayName desc`.
3909
3782
  # @param [Fixnum] page_size
3910
3783
  # Requested page size. Must be between `1` and `100`. If unspecified will
3911
3784
  # default to `100`.
3912
3785
  # @param [String] page_token
3913
- # A token identifying a page of results the server should return.
3914
- # Typically, this is the value of
3915
- # next_page_token
3916
- # returned from the previous call to `ListInventorySources` method.
3917
- # If not specified, the first page of results will be returned.
3786
+ # A token identifying a page of results the server should return. Typically,
3787
+ # this is the value of next_page_token returned from the previous call to `
3788
+ # ListInventorySources` method. If not specified, the first page of results will
3789
+ # be returned.
3918
3790
  # @param [Fixnum] partner_id
3919
3791
  # The ID of the partner that has access to the inventory source.
3920
3792
  # @param [String] fields
@@ -3950,12 +3822,10 @@ module Google
3950
3822
  end
3951
3823
 
3952
3824
  # Downloads media. Download is supported on the URI `/download/`resource_name=**`
3953
- # ?alt=media.`
3954
- # **Note**: Download requests will not be successful without including `alt=
3955
- # media` query string.
3825
+ # ?alt=media.` **Note**: Download requests will not be successful without
3826
+ # including `alt=media` query string.
3956
3827
  # @param [String] resource_name
3957
- # Name of the media that is being downloaded. See
3958
- # ReadRequest.resource_name.
3828
+ # Name of the media that is being downloaded. See ReadRequest.resource_name.
3959
3829
  # @param [String] fields
3960
3830
  # Selector specifying which fields to include in a partial response.
3961
3831
  # @param [String] quota_user
@@ -3990,6 +3860,126 @@ module Google
3990
3860
  execute_or_queue_command(command, &block)
3991
3861
  end
3992
3862
 
3863
+ # Bulk edits targeting options under a single partner. The operation will delete
3864
+ # the assigned targeting options provided in
3865
+ # BulkEditPartnerAssignedTargetingOptionsRequest.deleteRequests and then create
3866
+ # the assigned targeting options provided in
3867
+ # BulkEditPartnerAssignedTargetingOptionsRequest.createRequests .
3868
+ # @param [Fixnum] partner_id
3869
+ # Required. The ID of the partner.
3870
+ # @param [Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsRequest] bulk_edit_partner_assigned_targeting_options_request_object
3871
+ # @param [String] fields
3872
+ # Selector specifying which fields to include in a partial response.
3873
+ # @param [String] quota_user
3874
+ # Available to use for quota purposes for server-side applications. Can be any
3875
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3876
+ # @param [Google::Apis::RequestOptions] options
3877
+ # Request-specific options
3878
+ #
3879
+ # @yield [result, err] Result & error if block supplied
3880
+ # @yieldparam result [Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsResponse] parsed result object
3881
+ # @yieldparam err [StandardError] error object if request failed
3882
+ #
3883
+ # @return [Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsResponse]
3884
+ #
3885
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3886
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3887
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3888
+ 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)
3889
+ command = make_simple_command(:post, 'v1/partners/{+partnerId}:bulkEditPartnerAssignedTargetingOptions', options)
3890
+ command.request_representation = Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsRequest::Representation
3891
+ command.request_object = bulk_edit_partner_assigned_targeting_options_request_object
3892
+ command.response_representation = Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsResponse::Representation
3893
+ command.response_class = Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsResponse
3894
+ command.params['partnerId'] = partner_id unless partner_id.nil?
3895
+ command.query['fields'] = fields unless fields.nil?
3896
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3897
+ execute_or_queue_command(command, &block)
3898
+ end
3899
+
3900
+ # Gets a partner.
3901
+ # @param [Fixnum] partner_id
3902
+ # Required. The ID of the partner to fetch.
3903
+ # @param [String] fields
3904
+ # Selector specifying which fields to include in a partial response.
3905
+ # @param [String] quota_user
3906
+ # Available to use for quota purposes for server-side applications. Can be any
3907
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3908
+ # @param [Google::Apis::RequestOptions] options
3909
+ # Request-specific options
3910
+ #
3911
+ # @yield [result, err] Result & error if block supplied
3912
+ # @yieldparam result [Google::Apis::DisplayvideoV1::Partner] parsed result object
3913
+ # @yieldparam err [StandardError] error object if request failed
3914
+ #
3915
+ # @return [Google::Apis::DisplayvideoV1::Partner]
3916
+ #
3917
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3918
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3919
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3920
+ def get_partner(partner_id, fields: nil, quota_user: nil, options: nil, &block)
3921
+ command = make_simple_command(:get, 'v1/partners/{+partnerId}', options)
3922
+ command.response_representation = Google::Apis::DisplayvideoV1::Partner::Representation
3923
+ command.response_class = Google::Apis::DisplayvideoV1::Partner
3924
+ command.params['partnerId'] = partner_id unless partner_id.nil?
3925
+ command.query['fields'] = fields unless fields.nil?
3926
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3927
+ execute_or_queue_command(command, &block)
3928
+ end
3929
+
3930
+ # Lists partners that are accessible to the current user. The order is defined
3931
+ # by the order_by parameter.
3932
+ # @param [String] filter
3933
+ # Allows filtering by partner properties. Supported syntax: * Filter expressions
3934
+ # are made up of one or more restrictions. * Restrictions can be combined by `
3935
+ # AND` or `OR` logical operators. A sequence of restrictions implicitly uses `
3936
+ # AND`. * A restriction has the form of ``field` `operator` `value``. * The
3937
+ # operator must be `EQUALS (=)`. * Supported fields: - `entityStatus` Examples: *
3938
+ # All active partners: `entityStatus="ENTITY_STATUS_ACTIVE"` The length of this
3939
+ # field should be no more than 500 characters.
3940
+ # @param [String] order_by
3941
+ # Field by which to sort the list. Acceptable values are: * `displayName` The
3942
+ # default sorting order is ascending. To specify descending order for a field, a
3943
+ # suffix "desc" should be added to the field name. For example, `displayName
3944
+ # desc`.
3945
+ # @param [Fixnum] page_size
3946
+ # Requested page size. Must be between `1` and `100`. If unspecified will
3947
+ # default to `100`.
3948
+ # @param [String] page_token
3949
+ # A token identifying a page of results the server should return. Typically,
3950
+ # this is the value of next_page_token returned from the previous call to `
3951
+ # ListPartners` method. If not specified, the first page of results will be
3952
+ # returned.
3953
+ # @param [String] fields
3954
+ # Selector specifying which fields to include in a partial response.
3955
+ # @param [String] quota_user
3956
+ # Available to use for quota purposes for server-side applications. Can be any
3957
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3958
+ # @param [Google::Apis::RequestOptions] options
3959
+ # Request-specific options
3960
+ #
3961
+ # @yield [result, err] Result & error if block supplied
3962
+ # @yieldparam result [Google::Apis::DisplayvideoV1::ListPartnersResponse] parsed result object
3963
+ # @yieldparam err [StandardError] error object if request failed
3964
+ #
3965
+ # @return [Google::Apis::DisplayvideoV1::ListPartnersResponse]
3966
+ #
3967
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3968
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3969
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3970
+ def list_partners(filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3971
+ command = make_simple_command(:get, 'v1/partners', options)
3972
+ command.response_representation = Google::Apis::DisplayvideoV1::ListPartnersResponse::Representation
3973
+ command.response_class = Google::Apis::DisplayvideoV1::ListPartnersResponse
3974
+ command.query['filter'] = filter unless filter.nil?
3975
+ command.query['orderBy'] = order_by unless order_by.nil?
3976
+ command.query['pageSize'] = page_size unless page_size.nil?
3977
+ command.query['pageToken'] = page_token unless page_token.nil?
3978
+ command.query['fields'] = fields unless fields.nil?
3979
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3980
+ execute_or_queue_command(command, &block)
3981
+ end
3982
+
3993
3983
  # Creates a new channel. Returns the newly created channel if successful.
3994
3984
  # @param [Fixnum] partner_id
3995
3985
  # The ID of the partner that owns the created channel.
@@ -4068,36 +4058,26 @@ module Google
4068
4058
  # @param [Fixnum] advertiser_id
4069
4059
  # The ID of the advertiser that owns the channels.
4070
4060
  # @param [String] filter
4071
- # Allows filtering by channel fields.
4072
- # Supported syntax:
4073
- # * Filter expressions for channel currently can only contain at most one
4074
- # * restriction.
4075
- # * A restriction has the form of ``field` `operator` `value``.
4076
- # * The operator must be `CONTAINS (:)`.
4077
- # * Supported fields:
4078
- # - `displayName`
4079
- # Examples:
4080
- # * All channels for which the display name contains "google":
4081
- # `displayName : "google"`.
4082
- # The length of this field should be no more than 500 characters.
4061
+ # Allows filtering by channel fields. Supported syntax: * Filter expressions for
4062
+ # channel currently can only contain at most one * restriction. * A restriction
4063
+ # has the form of ``field` `operator` `value``. * The operator must be `CONTAINS
4064
+ # (:)`. * Supported fields: - `displayName` Examples: * All channels for which
4065
+ # the display name contains "google": `displayName : "google"`. The length of
4066
+ # this field should be no more than 500 characters.
4083
4067
  # @param [String] order_by
4084
- # Field by which to sort the list.
4085
- # Acceptable values are:
4086
- # * `displayName` (default)
4087
- # * `channelId`
4088
- # The default sorting order is ascending. To specify descending order for a
4089
- # field, a suffix " desc" should be added to the field name. Example:
4090
- # `displayName desc`.
4068
+ # Field by which to sort the list. Acceptable values are: * `displayName` (
4069
+ # default) * `channelId` The default sorting order is ascending. To specify
4070
+ # descending order for a field, a suffix " desc" should be added to the field
4071
+ # name. Example: `displayName desc`.
4091
4072
  # @param [Fixnum] page_size
4092
4073
  # Requested page size. Must be between `1` and `100`. If unspecified will
4093
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
4094
- # is specified.
4074
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
4075
+ # specified.
4095
4076
  # @param [String] page_token
4096
- # A token identifying a page of results the server should return.
4097
- # Typically, this is the value of
4098
- # next_page_token returned from the
4099
- # previous call to `ListChannels` method. If not specified, the first page
4100
- # of results will be returned.
4077
+ # A token identifying a page of results the server should return. Typically,
4078
+ # this is the value of next_page_token returned from the previous call to `
4079
+ # ListChannels` method. If not specified, the first page of results will be
4080
+ # returned.
4101
4081
  # @param [String] fields
4102
4082
  # Selector specifying which fields to include in a partial response.
4103
4083
  # @param [String] quota_user
@@ -4172,9 +4152,8 @@ module Google
4172
4152
  execute_or_queue_command(command, &block)
4173
4153
  end
4174
4154
 
4175
- # Bulk edits sites under a single channel.
4176
- # The operation will delete the sites provided in
4177
- # BulkEditSitesRequest.deleted_sites and then create the sites
4155
+ # Bulk edits sites under a single channel. The operation will delete the sites
4156
+ # provided in BulkEditSitesRequest.deleted_sites and then create the sites
4178
4157
  # provided in BulkEditSitesRequest.created_sites.
4179
4158
  # @param [Fixnum] partner_id
4180
4159
  # The ID of the partner that owns the parent channel.
@@ -4297,34 +4276,25 @@ module Google
4297
4276
  # @param [Fixnum] advertiser_id
4298
4277
  # The ID of the advertiser that owns the parent channel.
4299
4278
  # @param [String] filter
4300
- # Allows filtering by site fields.
4301
- # Supported syntax:
4302
- # * Filter expressions for site currently can only contain at most one
4303
- # * restriction.
4304
- # * A restriction has the form of ``field` `operator` `value``.
4305
- # * The operator must be `CONTAINS (:)`.
4306
- # * Supported fields:
4307
- # - `urlOrAppId`
4308
- # Examples:
4309
- # * All sites for which the URL or app ID contains "google":
4310
- # `urlOrAppId : "google"`
4279
+ # Allows filtering by site fields. Supported syntax: * Filter expressions for
4280
+ # site currently can only contain at most one * restriction. * A restriction has
4281
+ # the form of ``field` `operator` `value``. * The operator must be `CONTAINS (:)`
4282
+ # . * Supported fields: - `urlOrAppId` Examples: * All sites for which the URL
4283
+ # or app ID contains "google": `urlOrAppId : "google"`
4311
4284
  # @param [String] order_by
4312
- # Field by which to sort the list.
4313
- # Acceptable values are:
4314
- # * `urlOrAppId` (default)
4315
- # The default sorting order is ascending. To specify descending order for a
4316
- # field, a suffix " desc" should be added to the field name. Example:
4317
- # `urlOrAppId desc`.
4285
+ # Field by which to sort the list. Acceptable values are: * `urlOrAppId` (
4286
+ # default) The default sorting order is ascending. To specify descending order
4287
+ # for a field, a suffix " desc" should be added to the field name. Example: `
4288
+ # urlOrAppId desc`.
4318
4289
  # @param [Fixnum] page_size
4319
4290
  # Requested page size. Must be between `1` and `100`. If unspecified will
4320
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
4321
- # is specified.
4291
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
4292
+ # specified.
4322
4293
  # @param [String] page_token
4323
- # A token identifying a page of results the server should return.
4324
- # Typically, this is the value of
4325
- # next_page_token returned from the
4326
- # previous call to `ListSites` method. If not specified, the first page
4327
- # of results will be returned.
4294
+ # A token identifying a page of results the server should return. Typically,
4295
+ # this is the value of next_page_token returned from the previous call to `
4296
+ # ListSites` method. If not specified, the first page of results will be
4297
+ # returned.
4328
4298
  # @param [String] fields
4329
4299
  # Selector specifying which fields to include in a partial response.
4330
4300
  # @param [String] quota_user
@@ -4358,21 +4328,186 @@ module Google
4358
4328
  execute_or_queue_command(command, &block)
4359
4329
  end
4360
4330
 
4361
- # Creates an SDF Download Task. Returns an
4362
- # Operation.
4363
- # An SDF Download Task is a long-running, asynchronous operation. The
4364
- # metadata type of this operation is
4365
- # SdfDownloadTaskMetadata. If the request is successful, the
4366
- # response type of the operation is
4367
- # SdfDownloadTask. The response will not include the download files,
4368
- # which must be retrieved with
4369
- # media.download. The state of
4370
- # operation can be retrieved with
4371
- # sdfdownloadtask.operations.get.
4372
- # Any errors can be found in the
4373
- # error.message. Note
4374
- # that error.details is expected to be
4375
- # empty.
4331
+ # Assigns a targeting option to a partner. Returns the assigned targeting option
4332
+ # if successful.
4333
+ # @param [Fixnum] partner_id
4334
+ # Required. The ID of the partner.
4335
+ # @param [String] targeting_type
4336
+ # Required. Identifies the type of this assigned targeting option. Supported
4337
+ # targeting types: * `TARGETING_TYPE_CHANNEL`
4338
+ # @param [Google::Apis::DisplayvideoV1::AssignedTargetingOption] assigned_targeting_option_object
4339
+ # @param [String] fields
4340
+ # Selector specifying which fields to include in a partial response.
4341
+ # @param [String] quota_user
4342
+ # Available to use for quota purposes for server-side applications. Can be any
4343
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4344
+ # @param [Google::Apis::RequestOptions] options
4345
+ # Request-specific options
4346
+ #
4347
+ # @yield [result, err] Result & error if block supplied
4348
+ # @yieldparam result [Google::Apis::DisplayvideoV1::AssignedTargetingOption] parsed result object
4349
+ # @yieldparam err [StandardError] error object if request failed
4350
+ #
4351
+ # @return [Google::Apis::DisplayvideoV1::AssignedTargetingOption]
4352
+ #
4353
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4354
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4355
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4356
+ 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)
4357
+ command = make_simple_command(:post, 'v1/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions', options)
4358
+ command.request_representation = Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation
4359
+ command.request_object = assigned_targeting_option_object
4360
+ command.response_representation = Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation
4361
+ command.response_class = Google::Apis::DisplayvideoV1::AssignedTargetingOption
4362
+ command.params['partnerId'] = partner_id unless partner_id.nil?
4363
+ command.params['targetingType'] = targeting_type unless targeting_type.nil?
4364
+ command.query['fields'] = fields unless fields.nil?
4365
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4366
+ execute_or_queue_command(command, &block)
4367
+ end
4368
+
4369
+ # Deletes an assigned targeting option from a partner.
4370
+ # @param [Fixnum] partner_id
4371
+ # Required. The ID of the partner.
4372
+ # @param [String] targeting_type
4373
+ # Required. Identifies the type of this assigned targeting option. Supported
4374
+ # targeting types: * `TARGETING_TYPE_CHANNEL`
4375
+ # @param [String] assigned_targeting_option_id
4376
+ # Required. The ID of the assigned targeting option to delete.
4377
+ # @param [String] fields
4378
+ # Selector specifying which fields to include in a partial response.
4379
+ # @param [String] quota_user
4380
+ # Available to use for quota purposes for server-side applications. Can be any
4381
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4382
+ # @param [Google::Apis::RequestOptions] options
4383
+ # Request-specific options
4384
+ #
4385
+ # @yield [result, err] Result & error if block supplied
4386
+ # @yieldparam result [Google::Apis::DisplayvideoV1::Empty] parsed result object
4387
+ # @yieldparam err [StandardError] error object if request failed
4388
+ #
4389
+ # @return [Google::Apis::DisplayvideoV1::Empty]
4390
+ #
4391
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4392
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4393
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4394
+ def delete_partner_targeting_type_assigned_targeting_option(partner_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil, &block)
4395
+ command = make_simple_command(:delete, 'v1/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', options)
4396
+ command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation
4397
+ command.response_class = Google::Apis::DisplayvideoV1::Empty
4398
+ command.params['partnerId'] = partner_id unless partner_id.nil?
4399
+ command.params['targetingType'] = targeting_type unless targeting_type.nil?
4400
+ command.params['assignedTargetingOptionId'] = assigned_targeting_option_id unless assigned_targeting_option_id.nil?
4401
+ command.query['fields'] = fields unless fields.nil?
4402
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4403
+ execute_or_queue_command(command, &block)
4404
+ end
4405
+
4406
+ # Gets a single targeting option assigned to a partner.
4407
+ # @param [Fixnum] partner_id
4408
+ # Required. The ID of the partner.
4409
+ # @param [String] targeting_type
4410
+ # Required. Identifies the type of this assigned targeting option. Supported
4411
+ # targeting types: * `TARGETING_TYPE_CHANNEL`
4412
+ # @param [String] assigned_targeting_option_id
4413
+ # Required. An identifier unique to the targeting type in this partner that
4414
+ # identifies the assigned targeting option being requested.
4415
+ # @param [String] fields
4416
+ # Selector specifying which fields to include in a partial response.
4417
+ # @param [String] quota_user
4418
+ # Available to use for quota purposes for server-side applications. Can be any
4419
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4420
+ # @param [Google::Apis::RequestOptions] options
4421
+ # Request-specific options
4422
+ #
4423
+ # @yield [result, err] Result & error if block supplied
4424
+ # @yieldparam result [Google::Apis::DisplayvideoV1::AssignedTargetingOption] parsed result object
4425
+ # @yieldparam err [StandardError] error object if request failed
4426
+ #
4427
+ # @return [Google::Apis::DisplayvideoV1::AssignedTargetingOption]
4428
+ #
4429
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4430
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4431
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4432
+ def get_partner_targeting_type_assigned_targeting_option(partner_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil, &block)
4433
+ command = make_simple_command(:get, 'v1/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', options)
4434
+ command.response_representation = Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation
4435
+ command.response_class = Google::Apis::DisplayvideoV1::AssignedTargetingOption
4436
+ command.params['partnerId'] = partner_id unless partner_id.nil?
4437
+ command.params['targetingType'] = targeting_type unless targeting_type.nil?
4438
+ command.params['assignedTargetingOptionId'] = assigned_targeting_option_id unless assigned_targeting_option_id.nil?
4439
+ command.query['fields'] = fields unless fields.nil?
4440
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4441
+ execute_or_queue_command(command, &block)
4442
+ end
4443
+
4444
+ # Lists the targeting options assigned to a partner.
4445
+ # @param [Fixnum] partner_id
4446
+ # Required. The ID of the partner.
4447
+ # @param [String] targeting_type
4448
+ # Required. Identifies the type of assigned targeting options to list. Supported
4449
+ # targeting types: * `TARGETING_TYPE_CHANNEL`
4450
+ # @param [String] filter
4451
+ # Allows filtering by assigned targeting option properties. Supported syntax: *
4452
+ # Filter expressions are made up of one or more restrictions. * Restrictions can
4453
+ # be combined by the logical operator `OR`. * A restriction has the form of ``
4454
+ # field` `operator` `value``. * The operator must be `EQUALS (=)`. * Supported
4455
+ # fields: - `assignedTargetingOptionId` Examples: * AssignedTargetingOption with
4456
+ # ID 123456 `assignedTargetingOptionId="123456"` The length of this field should
4457
+ # be no more than 500 characters.
4458
+ # @param [String] order_by
4459
+ # Field by which to sort the list. Acceptable values are: * `
4460
+ # assignedTargetingOptionId` (default) The default sorting order is ascending.
4461
+ # To specify descending order for a field, a suffix "desc" should be added to
4462
+ # the field name. Example: `assignedTargetingOptionId desc`.
4463
+ # @param [Fixnum] page_size
4464
+ # Requested page size. Must be between `1` and `100`. If unspecified will
4465
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
4466
+ # specified.
4467
+ # @param [String] page_token
4468
+ # A token identifying a page of results the server should return. Typically,
4469
+ # this is the value of next_page_token returned from the previous call to `
4470
+ # ListPartnerAssignedTargetingOptions` method. If not specified, the first page
4471
+ # of results will be returned.
4472
+ # @param [String] fields
4473
+ # Selector specifying which fields to include in a partial response.
4474
+ # @param [String] quota_user
4475
+ # Available to use for quota purposes for server-side applications. Can be any
4476
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4477
+ # @param [Google::Apis::RequestOptions] options
4478
+ # Request-specific options
4479
+ #
4480
+ # @yield [result, err] Result & error if block supplied
4481
+ # @yieldparam result [Google::Apis::DisplayvideoV1::ListPartnerAssignedTargetingOptionsResponse] parsed result object
4482
+ # @yieldparam err [StandardError] error object if request failed
4483
+ #
4484
+ # @return [Google::Apis::DisplayvideoV1::ListPartnerAssignedTargetingOptionsResponse]
4485
+ #
4486
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4487
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4488
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4489
+ 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)
4490
+ command = make_simple_command(:get, 'v1/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions', options)
4491
+ command.response_representation = Google::Apis::DisplayvideoV1::ListPartnerAssignedTargetingOptionsResponse::Representation
4492
+ command.response_class = Google::Apis::DisplayvideoV1::ListPartnerAssignedTargetingOptionsResponse
4493
+ command.params['partnerId'] = partner_id unless partner_id.nil?
4494
+ command.params['targetingType'] = targeting_type unless targeting_type.nil?
4495
+ command.query['filter'] = filter unless filter.nil?
4496
+ command.query['orderBy'] = order_by unless order_by.nil?
4497
+ command.query['pageSize'] = page_size unless page_size.nil?
4498
+ command.query['pageToken'] = page_token unless page_token.nil?
4499
+ command.query['fields'] = fields unless fields.nil?
4500
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4501
+ execute_or_queue_command(command, &block)
4502
+ end
4503
+
4504
+ # Creates an SDF Download Task. Returns an Operation. An SDF Download Task is a
4505
+ # long-running, asynchronous operation. The metadata type of this operation is
4506
+ # SdfDownloadTaskMetadata. If the request is successful, the response type of
4507
+ # the operation is SdfDownloadTask. The response will not include the download
4508
+ # files, which must be retrieved with media.download. The state of operation can
4509
+ # be retrieved with sdfdownloadtask.operations.get. Any errors can be found in
4510
+ # the error.message. Note that error.details is expected to be empty.
4376
4511
  # @param [Google::Apis::DisplayvideoV1::CreateSdfDownloadTaskRequest] create_sdf_download_task_request_object
4377
4512
  # @param [String] fields
4378
4513
  # Selector specifying which fields to include in a partial response.
@@ -4475,32 +4610,32 @@ module Google
4475
4610
  # @param [Fixnum] advertiser_id
4476
4611
  # Required. The Advertiser this request is being made in the context of.
4477
4612
  # @param [String] filter
4478
- # Allows filtering by targeting option properties.
4479
- # Supported syntax:
4480
- # * Filter expressions are made up of one or more restrictions.
4481
- # * Restrictions can be combined by `OR` logical operators.
4482
- # * A restriction has the form of ``field` `operator` `value``.
4483
- # * The operator must be "=" (equal sign).
4484
- # * Supported fields:
4485
- # - `targetingOptionId`
4486
- # The length of this field should be no more than 500 characters.
4613
+ # Allows filtering by targeting option properties. Supported syntax: * Filter
4614
+ # expressions are made up of one or more restrictions. * Restrictions can be
4615
+ # combined by `OR` logical operators. * A restriction has the form of ``field` `
4616
+ # operator` `value``. * The operator must be "=" (equal sign). * Supported
4617
+ # fields: - `carrier_and_isp_details.type` - `geo_region_details.geo_region_type`
4618
+ # - `targetingOptionId` Examples: * All `GEO REGION` targeting options that
4619
+ # belong to sub type `GEO_REGION_TYPE_COUNTRY` or `GEO_REGION_TYPE_STATE`: `
4620
+ # geo_region_details.geo_region_type="GEO_REGION_TYPE_COUNTRY" OR
4621
+ # geo_region_details.geo_region_type="GEO_REGION_TYPE_STATE"` * All `CARRIER AND
4622
+ # ISP` targeting options that belong to sub type `CARRIER_AND_ISP_TYPE_CARRIER`:
4623
+ # `carrier_and_isp_details.type="CARRIER_AND_ISP_TYPE_CARRIER"`. The length of
4624
+ # this field should be no more than 500 characters.
4487
4625
  # @param [String] order_by
4488
- # Field by which to sort the list.
4489
- # Acceptable values are:
4490
- # * `targetingOptionId` (default)
4491
- # The default sorting order is ascending. To specify descending order for
4492
- # a field, a suffix "desc" should be added to the field name.
4493
- # Example: `targetingOptionId desc`.
4626
+ # Field by which to sort the list. Acceptable values are: * `targetingOptionId` (
4627
+ # default) The default sorting order is ascending. To specify descending order
4628
+ # for a field, a suffix "desc" should be added to the field name. Example: `
4629
+ # targetingOptionId desc`.
4494
4630
  # @param [Fixnum] page_size
4495
4631
  # Requested page size. Must be between `1` and `100`. If unspecified will
4496
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
4497
- # is specified.
4632
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
4633
+ # specified.
4498
4634
  # @param [String] page_token
4499
- # A token identifying a page of results the server should return.
4500
- # Typically, this is the value of
4501
- # next_page_token
4502
- # returned from the previous call to `ListTargetingOptions` method.
4503
- # If not specified, the first page of results will be returned.
4635
+ # A token identifying a page of results the server should return. Typically,
4636
+ # this is the value of next_page_token returned from the previous call to `
4637
+ # ListTargetingOptions` method. If not specified, the first page of results will
4638
+ # be returned.
4504
4639
  # @param [String] fields
4505
4640
  # Selector specifying which fields to include in a partial response.
4506
4641
  # @param [String] quota_user
@@ -4532,6 +4667,235 @@ module Google
4532
4667
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4533
4668
  execute_or_queue_command(command, &block)
4534
4669
  end
4670
+
4671
+ # Bulk edits user roles for a user. The operation will delete the assigned user
4672
+ # roles provided in BulkEditAssignedUserRolesRequest.deletedAssignedUserRoles
4673
+ # and then assign the user roles provided in BulkEditAssignedUserRolesRequest.
4674
+ # createdAssignedUserRoles.
4675
+ # @param [Fixnum] user_id
4676
+ # Required. The ID of the user to which the assigned user roles belong.
4677
+ # @param [Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesRequest] bulk_edit_assigned_user_roles_request_object
4678
+ # @param [String] fields
4679
+ # Selector specifying which fields to include in a partial response.
4680
+ # @param [String] quota_user
4681
+ # Available to use for quota purposes for server-side applications. Can be any
4682
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4683
+ # @param [Google::Apis::RequestOptions] options
4684
+ # Request-specific options
4685
+ #
4686
+ # @yield [result, err] Result & error if block supplied
4687
+ # @yieldparam result [Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesResponse] parsed result object
4688
+ # @yieldparam err [StandardError] error object if request failed
4689
+ #
4690
+ # @return [Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesResponse]
4691
+ #
4692
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4693
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4694
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4695
+ def bulk_edit_assigned_user_roles(user_id, bulk_edit_assigned_user_roles_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4696
+ command = make_simple_command(:post, 'v1/users/{+userId}:bulkEditAssignedUserRoles', options)
4697
+ command.request_representation = Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesRequest::Representation
4698
+ command.request_object = bulk_edit_assigned_user_roles_request_object
4699
+ command.response_representation = Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesResponse::Representation
4700
+ command.response_class = Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesResponse
4701
+ command.params['userId'] = user_id unless user_id.nil?
4702
+ command.query['fields'] = fields unless fields.nil?
4703
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4704
+ execute_or_queue_command(command, &block)
4705
+ end
4706
+
4707
+ # Creates a new user. Returns the newly created user if successful.
4708
+ # @param [Google::Apis::DisplayvideoV1::User] user_object
4709
+ # @param [String] fields
4710
+ # Selector specifying which fields to include in a partial response.
4711
+ # @param [String] quota_user
4712
+ # Available to use for quota purposes for server-side applications. Can be any
4713
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4714
+ # @param [Google::Apis::RequestOptions] options
4715
+ # Request-specific options
4716
+ #
4717
+ # @yield [result, err] Result & error if block supplied
4718
+ # @yieldparam result [Google::Apis::DisplayvideoV1::User] parsed result object
4719
+ # @yieldparam err [StandardError] error object if request failed
4720
+ #
4721
+ # @return [Google::Apis::DisplayvideoV1::User]
4722
+ #
4723
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4724
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4725
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4726
+ def create_user(user_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4727
+ command = make_simple_command(:post, 'v1/users', options)
4728
+ command.request_representation = Google::Apis::DisplayvideoV1::User::Representation
4729
+ command.request_object = user_object
4730
+ command.response_representation = Google::Apis::DisplayvideoV1::User::Representation
4731
+ command.response_class = Google::Apis::DisplayvideoV1::User
4732
+ command.query['fields'] = fields unless fields.nil?
4733
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4734
+ execute_or_queue_command(command, &block)
4735
+ end
4736
+
4737
+ # Deletes a user.
4738
+ # @param [Fixnum] user_id
4739
+ # Required. The ID of the user to delete.
4740
+ # @param [String] fields
4741
+ # Selector specifying which fields to include in a partial response.
4742
+ # @param [String] quota_user
4743
+ # Available to use for quota purposes for server-side applications. Can be any
4744
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4745
+ # @param [Google::Apis::RequestOptions] options
4746
+ # Request-specific options
4747
+ #
4748
+ # @yield [result, err] Result & error if block supplied
4749
+ # @yieldparam result [Google::Apis::DisplayvideoV1::Empty] parsed result object
4750
+ # @yieldparam err [StandardError] error object if request failed
4751
+ #
4752
+ # @return [Google::Apis::DisplayvideoV1::Empty]
4753
+ #
4754
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4755
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4756
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4757
+ def delete_user(user_id, fields: nil, quota_user: nil, options: nil, &block)
4758
+ command = make_simple_command(:delete, 'v1/users/{+userId}', options)
4759
+ command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation
4760
+ command.response_class = Google::Apis::DisplayvideoV1::Empty
4761
+ command.params['userId'] = user_id unless user_id.nil?
4762
+ command.query['fields'] = fields unless fields.nil?
4763
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4764
+ execute_or_queue_command(command, &block)
4765
+ end
4766
+
4767
+ # Gets a user.
4768
+ # @param [Fixnum] user_id
4769
+ # Required. The ID of the user to fetch.
4770
+ # @param [String] fields
4771
+ # Selector specifying which fields to include in a partial response.
4772
+ # @param [String] quota_user
4773
+ # Available to use for quota purposes for server-side applications. Can be any
4774
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4775
+ # @param [Google::Apis::RequestOptions] options
4776
+ # Request-specific options
4777
+ #
4778
+ # @yield [result, err] Result & error if block supplied
4779
+ # @yieldparam result [Google::Apis::DisplayvideoV1::User] parsed result object
4780
+ # @yieldparam err [StandardError] error object if request failed
4781
+ #
4782
+ # @return [Google::Apis::DisplayvideoV1::User]
4783
+ #
4784
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4785
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4786
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4787
+ def get_user(user_id, fields: nil, quota_user: nil, options: nil, &block)
4788
+ command = make_simple_command(:get, 'v1/users/{+userId}', options)
4789
+ command.response_representation = Google::Apis::DisplayvideoV1::User::Representation
4790
+ command.response_class = Google::Apis::DisplayvideoV1::User
4791
+ command.params['userId'] = user_id unless user_id.nil?
4792
+ command.query['fields'] = fields unless fields.nil?
4793
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4794
+ execute_or_queue_command(command, &block)
4795
+ end
4796
+
4797
+ # Lists users that are accessible to the current user. If two users have user
4798
+ # roles on the same partner or advertiser, they can access each other.
4799
+ # @param [String] filter
4800
+ # Allows filtering by user properties. Supported syntax: * Filter expressions
4801
+ # are made up of one or more restrictions. * Restrictions can be combined by the
4802
+ # logical operator `AND`. * A restriction has the form of ``field` `operator` `
4803
+ # value``. * The operator must be `CONTAINS (:)` or `EQUALS (=)`. * The operator
4804
+ # must be `CONTAINS (:)` for the following fields: - `displayName` - `email` *
4805
+ # The operator must be `EQUALS (=)` for the following fields: - `
4806
+ # assignedUserRole.userRole` - `assignedUserRole.partnerId` - `assignedUserRole.
4807
+ # advertiserId` - `assignedUserRole.entityType`: A synthetic field of
4808
+ # AssignedUserRole used for filtering. Identifies the type of entity to which
4809
+ # the user role is assigned. Valid values are `Partner` and `Advertiser`. - `
4810
+ # assignedUserRole.parentPartnerId`: A synthetic field of AssignedUserRole used
4811
+ # for filtering. Identifies the parent partner of the entity to which the user
4812
+ # role is assigned." Examples: * The user with displayName containing `foo`: `
4813
+ # displayName:"foo"` * The user with email containing `bar`: `email:"bar"` * All
4814
+ # users with standard user roles: `assignedUserRole.userRole="STANDARD"` * All
4815
+ # users with user roles for partner 123: `assignedUserRole.partnerId="123"` *
4816
+ # All users with user roles for advertiser 123: `assignedUserRole.advertiserId="
4817
+ # 123"` * All users with partner level user roles: `entityType="PARTNER"` * All
4818
+ # users with user roles for partner 123 and advertisers under partner 123: `
4819
+ # parentPartnerId="123"` The length of this field should be no more than 500
4820
+ # characters.
4821
+ # @param [String] order_by
4822
+ # Field by which to sort the list. Acceptable values are: * `displayName` (
4823
+ # default) The default sorting order is ascending. To specify descending order
4824
+ # for a field, a suffix "desc" should be added to the field name. For example, `
4825
+ # displayName desc`.
4826
+ # @param [Fixnum] page_size
4827
+ # Requested page size. Must be between `1` and `100`. If unspecified will
4828
+ # default to `100`.
4829
+ # @param [String] page_token
4830
+ # A token identifying a page of results the server should return. Typically,
4831
+ # this is the value of next_page_token returned from the previous call to `
4832
+ # ListUsers` method. If not specified, the first page of results will be
4833
+ # returned.
4834
+ # @param [String] fields
4835
+ # Selector specifying which fields to include in a partial response.
4836
+ # @param [String] quota_user
4837
+ # Available to use for quota purposes for server-side applications. Can be any
4838
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4839
+ # @param [Google::Apis::RequestOptions] options
4840
+ # Request-specific options
4841
+ #
4842
+ # @yield [result, err] Result & error if block supplied
4843
+ # @yieldparam result [Google::Apis::DisplayvideoV1::ListUsersResponse] parsed result object
4844
+ # @yieldparam err [StandardError] error object if request failed
4845
+ #
4846
+ # @return [Google::Apis::DisplayvideoV1::ListUsersResponse]
4847
+ #
4848
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4849
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4850
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4851
+ def list_users(filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4852
+ command = make_simple_command(:get, 'v1/users', options)
4853
+ command.response_representation = Google::Apis::DisplayvideoV1::ListUsersResponse::Representation
4854
+ command.response_class = Google::Apis::DisplayvideoV1::ListUsersResponse
4855
+ command.query['filter'] = filter unless filter.nil?
4856
+ command.query['orderBy'] = order_by unless order_by.nil?
4857
+ command.query['pageSize'] = page_size unless page_size.nil?
4858
+ command.query['pageToken'] = page_token unless page_token.nil?
4859
+ command.query['fields'] = fields unless fields.nil?
4860
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4861
+ execute_or_queue_command(command, &block)
4862
+ end
4863
+
4864
+ # Updates an existing user. Returns the updated user if successful.
4865
+ # @param [Fixnum] user_id
4866
+ # Output only. The unique ID of the user. Assigned by the system.
4867
+ # @param [Google::Apis::DisplayvideoV1::User] user_object
4868
+ # @param [String] update_mask
4869
+ # Required. The mask to control which fields to update.
4870
+ # @param [String] fields
4871
+ # Selector specifying which fields to include in a partial response.
4872
+ # @param [String] quota_user
4873
+ # Available to use for quota purposes for server-side applications. Can be any
4874
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4875
+ # @param [Google::Apis::RequestOptions] options
4876
+ # Request-specific options
4877
+ #
4878
+ # @yield [result, err] Result & error if block supplied
4879
+ # @yieldparam result [Google::Apis::DisplayvideoV1::User] parsed result object
4880
+ # @yieldparam err [StandardError] error object if request failed
4881
+ #
4882
+ # @return [Google::Apis::DisplayvideoV1::User]
4883
+ #
4884
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4885
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4886
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4887
+ def patch_user(user_id, user_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
4888
+ command = make_simple_command(:patch, 'v1/users/{+userId}', options)
4889
+ command.request_representation = Google::Apis::DisplayvideoV1::User::Representation
4890
+ command.request_object = user_object
4891
+ command.response_representation = Google::Apis::DisplayvideoV1::User::Representation
4892
+ command.response_class = Google::Apis::DisplayvideoV1::User
4893
+ command.params['userId'] = user_id unless user_id.nil?
4894
+ command.query['updateMask'] = update_mask unless update_mask.nil?
4895
+ command.query['fields'] = fields unless fields.nil?
4896
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4897
+ execute_or_queue_command(command, &block)
4898
+ end
4535
4899
 
4536
4900
  protected
4537
4901