google-api-client 0.41.0 → 0.42.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (447) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +295 -0
  3. data/bin/generate-api +1 -3
  4. data/generated/google/apis/accessapproval_v1.rb +1 -1
  5. data/generated/google/apis/accessapproval_v1/service.rb +3 -0
  6. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  7. data/generated/google/apis/accessapproval_v1beta1/service.rb +3 -0
  8. data/generated/google/apis/admin_directory_v1.rb +1 -1
  9. data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
  10. data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
  11. data/generated/google/apis/admin_directory_v1/service.rb +3 -5
  12. data/generated/google/apis/admob_v1.rb +1 -1
  13. data/generated/google/apis/admob_v1/classes.rb +3 -1
  14. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  15. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +32 -26
  16. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  17. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  18. data/generated/google/apis/androidpublisher_v3/classes.rb +78 -0
  19. data/generated/google/apis/androidpublisher_v3/representations.rb +44 -0
  20. data/generated/google/apis/androidpublisher_v3/service.rb +149 -1
  21. data/generated/google/apis/apigee_v1.rb +1 -1
  22. data/generated/google/apis/apigee_v1/classes.rb +1475 -107
  23. data/generated/google/apis/apigee_v1/representations.rb +558 -0
  24. data/generated/google/apis/apigee_v1/service.rb +1175 -117
  25. data/generated/google/apis/appengine_v1.rb +1 -1
  26. data/generated/google/apis/appengine_v1/service.rb +6 -3
  27. data/generated/google/apis/appengine_v1beta.rb +1 -1
  28. data/generated/google/apis/appengine_v1beta/service.rb +6 -2
  29. data/generated/google/apis/appsmarket_v2.rb +1 -1
  30. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  31. data/generated/google/apis/bigquery_v2.rb +1 -1
  32. data/generated/google/apis/bigquery_v2/classes.rb +234 -9
  33. data/generated/google/apis/bigquery_v2/representations.rb +74 -0
  34. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  35. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
  36. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  37. data/generated/google/apis/bigqueryreservation_v1/classes.rb +34 -0
  38. data/generated/google/apis/bigqueryreservation_v1/representations.rb +16 -0
  39. data/generated/google/apis/bigqueryreservation_v1/service.rb +60 -0
  40. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  41. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +8 -0
  42. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
  43. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  44. data/generated/google/apis/bigtableadmin_v1/classes.rb +267 -0
  45. data/generated/google/apis/bigtableadmin_v1/representations.rb +100 -0
  46. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  47. data/generated/google/apis/bigtableadmin_v2/classes.rb +361 -6
  48. data/generated/google/apis/bigtableadmin_v2/representations.rb +146 -0
  49. data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
  50. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  51. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +28 -13
  52. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  53. data/generated/google/apis/blogger_v3.rb +1 -1
  54. data/generated/google/apis/books_v1.rb +1 -1
  55. data/generated/google/apis/books_v1/classes.rb +140 -159
  56. data/generated/google/apis/books_v1/service.rb +47 -49
  57. data/generated/google/apis/chat_v1.rb +1 -1
  58. data/generated/google/apis/chat_v1/classes.rb +130 -0
  59. data/generated/google/apis/chat_v1/representations.rb +63 -0
  60. data/generated/google/apis/chat_v1/service.rb +71 -0
  61. data/generated/google/apis/chromeuxreport_v1.rb +1 -1
  62. data/generated/google/apis/chromeuxreport_v1/classes.rb +22 -0
  63. data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
  64. data/generated/google/apis/civicinfo_v2.rb +2 -2
  65. data/generated/google/apis/civicinfo_v2/classes.rb +21 -801
  66. data/generated/google/apis/civicinfo_v2/representations.rb +1 -295
  67. data/generated/google/apis/civicinfo_v2/service.rb +28 -63
  68. data/generated/google/apis/classroom_v1.rb +1 -1
  69. data/generated/google/apis/classroom_v1/service.rb +9 -5
  70. data/generated/google/apis/cloudasset_v1.rb +1 -1
  71. data/generated/google/apis/cloudasset_v1/classes.rb +391 -3
  72. data/generated/google/apis/cloudasset_v1/representations.rb +101 -0
  73. data/generated/google/apis/cloudasset_v1/service.rb +178 -0
  74. data/generated/google/apis/{androidpublisher_v2.rb → cloudasset_v1p5beta1.rb} +11 -11
  75. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1537 -0
  76. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
  77. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +129 -0
  78. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  79. data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
  80. data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
  81. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  82. data/generated/google/apis/cloudbuild_v1/classes.rb +272 -12
  83. data/generated/google/apis/cloudbuild_v1/representations.rb +130 -4
  84. data/generated/google/apis/cloudbuild_v1/service.rb +0 -136
  85. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  86. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +284 -24
  87. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +135 -9
  88. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
  89. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  90. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +284 -24
  91. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +135 -9
  92. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
  93. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  94. data/generated/google/apis/cloudfunctions_v1/classes.rb +18 -49
  95. data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -17
  96. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  97. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  98. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +32 -1
  99. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +16 -0
  100. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  101. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -755
  102. data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
  103. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  104. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -430
  105. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
  106. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  107. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
  108. data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
  109. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  110. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
  111. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
  112. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  113. data/generated/google/apis/cloudscheduler_v1/classes.rb +18 -6
  114. data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
  115. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  116. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +18 -6
  117. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
  118. data/generated/google/apis/cloudshell_v1.rb +1 -1
  119. data/generated/google/apis/cloudshell_v1/classes.rb +2 -2
  120. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  121. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -5
  122. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  123. data/generated/google/apis/cloudtrace_v1/classes.rb +2 -3
  124. data/generated/google/apis/cloudtrace_v1/service.rb +1 -7
  125. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  126. data/generated/google/apis/cloudtrace_v2/classes.rb +6 -5
  127. data/generated/google/apis/cloudtrace_v2/service.rb +3 -6
  128. data/generated/google/apis/composer_v1beta1.rb +1 -1
  129. data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
  130. data/generated/google/apis/composer_v1beta1/service.rb +13 -0
  131. data/generated/google/apis/compute_alpha.rb +1 -1
  132. data/generated/google/apis/compute_alpha/classes.rb +99 -61
  133. data/generated/google/apis/compute_alpha/representations.rb +3 -0
  134. data/generated/google/apis/compute_alpha/service.rb +32 -33
  135. data/generated/google/apis/compute_beta.rb +1 -1
  136. data/generated/google/apis/compute_beta/classes.rb +596 -60
  137. data/generated/google/apis/compute_beta/representations.rb +162 -0
  138. data/generated/google/apis/compute_beta/service.rb +565 -33
  139. data/generated/google/apis/compute_v1.rb +1 -1
  140. data/generated/google/apis/compute_v1/classes.rb +967 -70
  141. data/generated/google/apis/compute_v1/representations.rb +289 -0
  142. data/generated/google/apis/compute_v1/service.rb +784 -38
  143. data/generated/google/apis/container_v1.rb +1 -1
  144. data/generated/google/apis/container_v1/classes.rb +132 -5
  145. data/generated/google/apis/container_v1/representations.rb +51 -0
  146. data/generated/google/apis/container_v1beta1.rb +1 -1
  147. data/generated/google/apis/container_v1beta1/classes.rb +136 -17
  148. data/generated/google/apis/container_v1beta1/representations.rb +39 -0
  149. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  150. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
  151. data/generated/google/apis/content_v2.rb +1 -1
  152. data/generated/google/apis/content_v2/classes.rb +8 -2
  153. data/generated/google/apis/content_v2/representations.rb +1 -0
  154. data/generated/google/apis/content_v2_1.rb +1 -1
  155. data/generated/google/apis/content_v2_1/classes.rb +182 -4
  156. data/generated/google/apis/content_v2_1/representations.rb +72 -0
  157. data/generated/google/apis/{androidpublisher_v1.rb → customsearch_v1.rb} +8 -8
  158. data/generated/google/apis/customsearch_v1/classes.rb +1610 -0
  159. data/generated/google/apis/customsearch_v1/representations.rb +372 -0
  160. data/generated/google/apis/customsearch_v1/service.rb +618 -0
  161. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  162. data/generated/google/apis/datacatalog_v1beta1/classes.rb +400 -565
  163. data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
  164. data/generated/google/apis/datacatalog_v1beta1/service.rb +351 -435
  165. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  166. data/generated/google/apis/dataflow_v1b3/classes.rb +21 -1
  167. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  168. data/generated/google/apis/dataflow_v1b3/service.rb +2 -2
  169. data/generated/google/apis/dataproc_v1.rb +1 -1
  170. data/generated/google/apis/dataproc_v1/classes.rb +15 -14
  171. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  172. data/generated/google/apis/dataproc_v1beta2/classes.rb +44 -14
  173. data/generated/google/apis/dataproc_v1beta2/representations.rb +4 -0
  174. data/generated/google/apis/datastore_v1.rb +1 -1
  175. data/generated/google/apis/datastore_v1/classes.rb +1 -1
  176. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  177. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  178. data/generated/google/apis/dfareporting_v3_4/classes.rb +421 -0
  179. data/generated/google/apis/dfareporting_v3_4/representations.rb +182 -0
  180. data/generated/google/apis/dialogflow_v2.rb +1 -1
  181. data/generated/google/apis/dialogflow_v2/classes.rb +416 -63
  182. data/generated/google/apis/dialogflow_v2/representations.rb +108 -0
  183. data/generated/google/apis/dialogflow_v2/service.rb +4 -0
  184. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  185. data/generated/google/apis/dialogflow_v2beta1/classes.rb +436 -66
  186. data/generated/google/apis/dialogflow_v2beta1/representations.rb +108 -0
  187. data/generated/google/apis/dialogflow_v2beta1/service.rb +58 -44
  188. data/generated/google/apis/displayvideo_v1.rb +7 -1
  189. data/generated/google/apis/displayvideo_v1/classes.rb +1727 -1680
  190. data/generated/google/apis/displayvideo_v1/representations.rb +275 -0
  191. data/generated/google/apis/displayvideo_v1/service.rb +1245 -924
  192. data/generated/google/apis/dlp_v2.rb +1 -1
  193. data/generated/google/apis/dlp_v2/classes.rb +5 -2
  194. data/generated/google/apis/dns_v1.rb +4 -4
  195. data/generated/google/apis/dns_v1/classes.rb +313 -162
  196. data/generated/google/apis/dns_v1/service.rb +247 -180
  197. data/generated/google/apis/dns_v1beta2.rb +4 -4
  198. data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
  199. data/generated/google/apis/dns_v1beta2/service.rb +247 -180
  200. data/generated/google/apis/dns_v2beta1.rb +4 -4
  201. data/generated/google/apis/dns_v2beta1/classes.rb +313 -162
  202. data/generated/google/apis/dns_v2beta1/service.rb +247 -180
  203. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  204. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  205. data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
  206. data/generated/google/apis/doubleclicksearch_v2/classes.rb +75 -76
  207. data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
  208. data/generated/google/apis/doubleclicksearch_v2/service.rb +43 -75
  209. data/generated/google/apis/drive_v2.rb +1 -1
  210. data/generated/google/apis/drive_v2/classes.rb +75 -2
  211. data/generated/google/apis/drive_v2/representations.rb +23 -0
  212. data/generated/google/apis/drive_v2/service.rb +23 -10
  213. data/generated/google/apis/drive_v3.rb +1 -1
  214. data/generated/google/apis/drive_v3/classes.rb +74 -2
  215. data/generated/google/apis/drive_v3/representations.rb +23 -0
  216. data/generated/google/apis/drive_v3/service.rb +8 -5
  217. data/generated/google/apis/fcm_v1.rb +1 -1
  218. data/generated/google/apis/fcm_v1/classes.rb +245 -393
  219. data/generated/google/apis/fcm_v1/service.rb +5 -6
  220. data/generated/google/apis/file_v1.rb +1 -1
  221. data/generated/google/apis/file_v1beta1.rb +1 -1
  222. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  223. data/generated/google/apis/firebase_v1beta1/classes.rb +10 -16
  224. data/generated/google/apis/{groupsmigration_v1.rb → firebasehosting_v1.rb} +10 -12
  225. data/generated/google/apis/firebasehosting_v1/classes.rb +186 -0
  226. data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
  227. data/generated/google/apis/firebasehosting_v1/service.rb +183 -0
  228. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  229. data/generated/google/apis/firebasehosting_v1beta1/service.rb +2 -0
  230. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  231. data/generated/google/apis/firebaseml_v1beta2/classes.rb +9 -0
  232. data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
  233. data/generated/google/apis/firestore_v1.rb +1 -1
  234. data/generated/google/apis/firestore_v1/classes.rb +152 -0
  235. data/generated/google/apis/firestore_v1/representations.rb +63 -0
  236. data/generated/google/apis/firestore_v1/service.rb +78 -0
  237. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  238. data/generated/google/apis/firestore_v1beta1/classes.rb +152 -0
  239. data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
  240. data/generated/google/apis/firestore_v1beta1/service.rb +78 -0
  241. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  242. data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
  243. data/generated/google/apis/games_management_v1management.rb +1 -1
  244. data/generated/google/apis/games_management_v1management/service.rb +2 -2
  245. data/generated/google/apis/games_v1.rb +6 -4
  246. data/generated/google/apis/games_v1/classes.rb +354 -2112
  247. data/generated/google/apis/games_v1/representations.rb +12 -647
  248. data/generated/google/apis/games_v1/service.rb +213 -1155
  249. data/generated/google/apis/{cloudfunctions_v1beta2.rb → gameservices_v1.rb} +9 -9
  250. data/generated/google/apis/gameservices_v1/classes.rb +2354 -0
  251. data/generated/google/apis/gameservices_v1/representations.rb +971 -0
  252. data/generated/google/apis/gameservices_v1/service.rb +1472 -0
  253. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  254. data/generated/google/apis/gameservices_v1beta/classes.rb +6 -6
  255. data/generated/google/apis/gmail_v1.rb +1 -1
  256. data/generated/google/apis/gmail_v1/classes.rb +55 -55
  257. data/generated/google/apis/gmail_v1/service.rb +74 -73
  258. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +36 -0
  259. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +306 -0
  260. data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
  261. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +236 -0
  262. data/generated/google/apis/groupssettings_v1.rb +1 -1
  263. data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
  264. data/generated/google/apis/healthcare_v1.rb +1 -1
  265. data/generated/google/apis/healthcare_v1/classes.rb +6 -6
  266. data/generated/google/apis/healthcare_v1/service.rb +48 -1
  267. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  268. data/generated/google/apis/healthcare_v1beta1/classes.rb +6 -6
  269. data/generated/google/apis/healthcare_v1beta1/service.rb +60 -1
  270. data/generated/google/apis/iam_v1.rb +1 -1
  271. data/generated/google/apis/iam_v1/classes.rb +22 -3
  272. data/generated/google/apis/iam_v1/service.rb +18 -6
  273. data/generated/google/apis/logging_v2.rb +1 -1
  274. data/generated/google/apis/logging_v2/classes.rb +69 -21
  275. data/generated/google/apis/managedidentities_v1.rb +1 -1
  276. data/generated/google/apis/managedidentities_v1/classes.rb +54 -10
  277. data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
  278. data/generated/google/apis/managedidentities_v1/service.rb +3 -0
  279. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  280. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -10
  281. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
  282. data/generated/google/apis/managedidentities_v1alpha1/service.rb +3 -0
  283. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  284. data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -10
  285. data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
  286. data/generated/google/apis/managedidentities_v1beta1/service.rb +3 -0
  287. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  288. data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
  289. data/generated/google/apis/ml_v1.rb +1 -1
  290. data/generated/google/apis/ml_v1/classes.rb +28 -14
  291. data/generated/google/apis/ml_v1/representations.rb +1 -0
  292. data/generated/google/apis/monitoring_v1.rb +1 -1
  293. data/generated/google/apis/monitoring_v1/classes.rb +2 -1
  294. data/generated/google/apis/monitoring_v3.rb +1 -1
  295. data/generated/google/apis/monitoring_v3/classes.rb +71 -38
  296. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  297. data/generated/google/apis/monitoring_v3/service.rb +13 -9
  298. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  299. data/generated/google/apis/networkmanagement_v1/classes.rb +6 -6
  300. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  301. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +6 -6
  302. data/generated/google/apis/osconfig_v1.rb +1 -1
  303. data/generated/google/apis/osconfig_v1/classes.rb +77 -2
  304. data/generated/google/apis/osconfig_v1/representations.rb +35 -0
  305. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  306. data/generated/google/apis/osconfig_v1beta/classes.rb +77 -2
  307. data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
  308. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  309. data/generated/google/apis/people_v1.rb +4 -1
  310. data/generated/google/apis/people_v1/classes.rb +243 -397
  311. data/generated/google/apis/people_v1/service.rb +156 -384
  312. data/generated/google/apis/{androidpublisher_v1/classes.rb → playablelocations_v3.rb} +11 -6
  313. data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
  314. data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
  315. data/generated/google/apis/playablelocations_v3/service.rb +157 -0
  316. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  317. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +19 -0
  318. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
  319. data/generated/google/apis/pubsub_v1.rb +1 -1
  320. data/generated/google/apis/pubsub_v1/classes.rb +49 -30
  321. data/generated/google/apis/pubsub_v1/representations.rb +2 -0
  322. data/generated/google/apis/pubsub_v1/service.rb +35 -44
  323. data/generated/google/apis/realtimebidding_v1.rb +40 -0
  324. data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
  325. data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
  326. data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
  327. data/generated/google/apis/recommendationengine_v1beta1.rb +36 -0
  328. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +2015 -0
  329. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +848 -0
  330. data/generated/google/apis/recommendationengine_v1beta1/service.rb +990 -0
  331. data/generated/google/apis/recommender_v1.rb +1 -1
  332. data/generated/google/apis/recommender_v1/classes.rb +211 -0
  333. data/generated/google/apis/recommender_v1/representations.rb +96 -0
  334. data/generated/google/apis/recommender_v1/service.rb +123 -0
  335. data/generated/google/apis/redis_v1.rb +1 -1
  336. data/generated/google/apis/redis_v1/classes.rb +398 -1
  337. data/generated/google/apis/redis_v1/representations.rb +139 -0
  338. data/generated/google/apis/redis_v1/service.rb +1 -1
  339. data/generated/google/apis/redis_v1beta1.rb +1 -1
  340. data/generated/google/apis/redis_v1beta1/classes.rb +398 -1
  341. data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
  342. data/generated/google/apis/redis_v1beta1/service.rb +1 -1
  343. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  344. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  345. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  346. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
  347. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  348. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
  349. data/generated/google/apis/reseller_v1.rb +4 -3
  350. data/generated/google/apis/reseller_v1/classes.rb +219 -160
  351. data/generated/google/apis/reseller_v1/service.rb +247 -252
  352. data/generated/google/apis/run_v1.rb +2 -2
  353. data/generated/google/apis/run_v1/classes.rb +835 -1245
  354. data/generated/google/apis/run_v1/service.rb +196 -246
  355. data/generated/google/apis/run_v1alpha1.rb +2 -2
  356. data/generated/google/apis/run_v1alpha1/classes.rb +934 -1331
  357. data/generated/google/apis/run_v1alpha1/service.rb +322 -378
  358. data/generated/google/apis/run_v1beta1.rb +2 -2
  359. data/generated/google/apis/run_v1beta1/classes.rb +209 -276
  360. data/generated/google/apis/run_v1beta1/service.rb +17 -19
  361. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  362. data/generated/google/apis/sasportal_v1alpha1/classes.rb +19 -0
  363. data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
  364. data/generated/google/apis/searchconsole_v1.rb +4 -3
  365. data/generated/google/apis/searchconsole_v1/service.rb +3 -2
  366. data/generated/google/apis/secretmanager_v1.rb +1 -1
  367. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  368. data/generated/google/apis/securitycenter_v1.rb +1 -1
  369. data/generated/google/apis/securitycenter_v1/service.rb +4 -5
  370. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  371. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +2 -5
  372. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  373. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +3 -3
  374. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +7 -7
  375. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  376. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +2 -2
  377. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  378. data/generated/google/apis/servicecontrol_v1/classes.rb +12 -6
  379. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  380. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  381. data/generated/google/apis/servicemanagement_v1/classes.rb +3 -2
  382. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  383. data/generated/google/apis/servicenetworking_v1/classes.rb +2 -2
  384. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  385. data/generated/google/apis/servicenetworking_v1beta/classes.rb +2 -2
  386. data/generated/google/apis/serviceusage_v1.rb +1 -1
  387. data/generated/google/apis/serviceusage_v1/classes.rb +2 -2
  388. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  389. data/generated/google/apis/serviceusage_v1beta1/classes.rb +2 -2
  390. data/generated/google/apis/sheets_v4.rb +1 -1
  391. data/generated/google/apis/sheets_v4/classes.rb +118 -28
  392. data/generated/google/apis/spanner_v1.rb +1 -1
  393. data/generated/google/apis/spanner_v1/classes.rb +25 -20
  394. data/generated/google/apis/spanner_v1/service.rb +7 -0
  395. data/generated/google/apis/speech_v1.rb +1 -1
  396. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  397. data/generated/google/apis/sql_v1beta4.rb +1 -1
  398. data/generated/google/apis/sql_v1beta4/classes.rb +207 -200
  399. data/generated/google/apis/sql_v1beta4/representations.rb +2 -1
  400. data/generated/google/apis/sql_v1beta4/service.rb +2 -2
  401. data/generated/google/apis/storage_v1.rb +1 -1
  402. data/generated/google/apis/storage_v1/service.rb +2 -3
  403. data/generated/google/apis/testing_v1.rb +1 -1
  404. data/generated/google/apis/testing_v1/classes.rb +80 -6
  405. data/generated/google/apis/testing_v1/representations.rb +33 -0
  406. data/generated/google/apis/texttospeech_v1.rb +1 -1
  407. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  408. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  409. data/generated/google/apis/toolresults_v1beta3/classes.rb +9 -0
  410. data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
  411. data/generated/google/apis/toolresults_v1beta3/service.rb +498 -498
  412. data/generated/google/apis/{androidpublisher_v1/representations.rb → vectortile_v1.rb} +11 -6
  413. data/generated/google/apis/vectortile_v1/classes.rb +881 -0
  414. data/generated/google/apis/{cloudfunctions_v1beta2 → vectortile_v1}/representations.rb +105 -121
  415. data/generated/google/apis/vectortile_v1/service.rb +268 -0
  416. data/generated/google/apis/vision_v1.rb +1 -1
  417. data/generated/google/apis/vision_v1/classes.rb +2 -0
  418. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  419. data/generated/google/apis/vision_v1p1beta1/classes.rb +2 -0
  420. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  421. data/generated/google/apis/vision_v1p2beta1/classes.rb +2 -0
  422. data/generated/google/apis/webfonts_v1.rb +5 -5
  423. data/generated/google/apis/webfonts_v1/classes.rb +4 -3
  424. data/generated/google/apis/webfonts_v1/representations.rb +1 -2
  425. data/generated/google/apis/webfonts_v1/service.rb +15 -22
  426. data/generated/google/apis/youtube_partner_v1.rb +4 -3
  427. data/generated/google/apis/youtube_partner_v1/classes.rb +1106 -690
  428. data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
  429. data/generated/google/apis/youtube_partner_v1/service.rb +526 -1086
  430. data/generated/google/apis/youtube_v3.rb +1 -1
  431. data/generated/google/apis/youtube_v3/classes.rb +562 -2
  432. data/generated/google/apis/youtube_v3/representations.rb +282 -0
  433. data/generated/google/apis/youtube_v3/service.rb +270 -10
  434. data/lib/google/apis/version.rb +1 -1
  435. metadata +39 -23
  436. data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
  437. data/generated/google/apis/androidpublisher_v1_1.rb +0 -34
  438. data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
  439. data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
  440. data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
  441. data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
  442. data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
  443. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -841
  444. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +0 -486
  445. data/generated/google/apis/groupsmigration_v1/classes.rb +0 -51
  446. data/generated/google/apis/groupsmigration_v1/representations.rb +0 -40
  447. data/generated/google/apis/groupsmigration_v1/service.rb +0 -100
@@ -136,6 +136,12 @@ module Google
136
136
  include Google::Apis::Core::JsonObjectSupport
137
137
  end
138
138
 
139
+ class AssignedUserRole
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
139
145
  class AudienceGroupAssignedTargetingOptionDetails
140
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
147
 
@@ -148,6 +154,12 @@ module Google
148
154
  include Google::Apis::Core::JsonObjectSupport
149
155
  end
150
156
 
157
+ class AuditAdvertiserResponse
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
151
163
  class AuthorizedSellerStatusAssignedTargetingOptionDetails
152
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
165
 
@@ -214,6 +226,18 @@ module Google
214
226
  include Google::Apis::Core::JsonObjectSupport
215
227
  end
216
228
 
229
+ class BulkEditAssignedUserRolesRequest
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class BulkEditAssignedUserRolesResponse
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
217
241
  class BulkEditLineItemAssignedTargetingOptionsRequest
218
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
243
 
@@ -238,6 +262,18 @@ module Google
238
262
  include Google::Apis::Core::JsonObjectSupport
239
263
  end
240
264
 
265
+ class BulkEditPartnerAssignedTargetingOptionsRequest
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class BulkEditPartnerAssignedTargetingOptionsResponse
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
241
277
  class BulkEditSitesRequest
242
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
279
 
@@ -562,6 +598,18 @@ module Google
562
598
  include Google::Apis::Core::JsonObjectSupport
563
599
  end
564
600
 
601
+ class ExchangeConfig
602
+ class Representation < Google::Apis::Core::JsonRepresentation; end
603
+
604
+ include Google::Apis::Core::JsonObjectSupport
605
+ end
606
+
607
+ class ExchangeConfigEnabledExchange
608
+ class Representation < Google::Apis::Core::JsonRepresentation; end
609
+
610
+ include Google::Apis::Core::JsonObjectSupport
611
+ end
612
+
565
613
  class ExchangeReviewStatus
566
614
  class Representation < Google::Apis::Core::JsonRepresentation; end
567
615
 
@@ -910,6 +958,18 @@ module Google
910
958
  include Google::Apis::Core::JsonObjectSupport
911
959
  end
912
960
 
961
+ class ListPartnerAssignedTargetingOptionsResponse
962
+ class Representation < Google::Apis::Core::JsonRepresentation; end
963
+
964
+ include Google::Apis::Core::JsonObjectSupport
965
+ end
966
+
967
+ class ListPartnersResponse
968
+ class Representation < Google::Apis::Core::JsonRepresentation; end
969
+
970
+ include Google::Apis::Core::JsonObjectSupport
971
+ end
972
+
913
973
  class ListSitesResponse
914
974
  class Representation < Google::Apis::Core::JsonRepresentation; end
915
975
 
@@ -922,6 +982,12 @@ module Google
922
982
  include Google::Apis::Core::JsonObjectSupport
923
983
  end
924
984
 
985
+ class ListUsersResponse
986
+ class Representation < Google::Apis::Core::JsonRepresentation; end
987
+
988
+ include Google::Apis::Core::JsonObjectSupport
989
+ end
990
+
925
991
  class LocationList
926
992
  class Representation < Google::Apis::Core::JsonRepresentation; end
927
993
 
@@ -940,6 +1006,12 @@ module Google
940
1006
  include Google::Apis::Core::JsonObjectSupport
941
1007
  end
942
1008
 
1009
+ class MeasurementConfig
1010
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1011
+
1012
+ include Google::Apis::Core::JsonObjectSupport
1013
+ end
1014
+
943
1015
  class Money
944
1016
  class Representation < Google::Apis::Core::JsonRepresentation; end
945
1017
 
@@ -1024,12 +1096,36 @@ module Google
1024
1096
  include Google::Apis::Core::JsonObjectSupport
1025
1097
  end
1026
1098
 
1099
+ class Partner
1100
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1101
+
1102
+ include Google::Apis::Core::JsonObjectSupport
1103
+ end
1104
+
1105
+ class PartnerAdServerConfig
1106
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1107
+
1108
+ include Google::Apis::Core::JsonObjectSupport
1109
+ end
1110
+
1027
1111
  class PartnerCost
1028
1112
  class Representation < Google::Apis::Core::JsonRepresentation; end
1029
1113
 
1030
1114
  include Google::Apis::Core::JsonObjectSupport
1031
1115
  end
1032
1116
 
1117
+ class PartnerDataAccessConfig
1118
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1119
+
1120
+ include Google::Apis::Core::JsonObjectSupport
1121
+ end
1122
+
1123
+ class PartnerGeneralConfig
1124
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1125
+
1126
+ include Google::Apis::Core::JsonObjectSupport
1127
+ end
1128
+
1033
1129
  class PartnerRevenueModel
1034
1130
  class Representation < Google::Apis::Core::JsonRepresentation; end
1035
1131
 
@@ -1192,6 +1288,12 @@ module Google
1192
1288
  include Google::Apis::Core::JsonObjectSupport
1193
1289
  end
1194
1290
 
1291
+ class User
1292
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1293
+
1294
+ include Google::Apis::Core::JsonObjectSupport
1295
+ end
1296
+
1195
1297
  class UserRewardedContentAssignedTargetingOptionDetails
1196
1298
  class Representation < Google::Apis::Core::JsonRepresentation; end
1197
1299
 
@@ -1482,6 +1584,16 @@ module Google
1482
1584
  end
1483
1585
  end
1484
1586
 
1587
+ class AssignedUserRole
1588
+ # @private
1589
+ class Representation < Google::Apis::Core::JsonRepresentation
1590
+ property :advertiser_id, :numeric_string => true, as: 'advertiserId'
1591
+ property :assigned_user_role_id, as: 'assignedUserRoleId'
1592
+ property :partner_id, :numeric_string => true, as: 'partnerId'
1593
+ property :user_role, as: 'userRole'
1594
+ end
1595
+ end
1596
+
1485
1597
  class AudienceGroupAssignedTargetingOptionDetails
1486
1598
  # @private
1487
1599
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1508,6 +1620,15 @@ module Google
1508
1620
  end
1509
1621
  end
1510
1622
 
1623
+ class AuditAdvertiserResponse
1624
+ # @private
1625
+ class Representation < Google::Apis::Core::JsonRepresentation
1626
+ property :used_campaigns_count, :numeric_string => true, as: 'usedCampaignsCount'
1627
+ property :used_insertion_orders_count, :numeric_string => true, as: 'usedInsertionOrdersCount'
1628
+ property :used_line_items_count, :numeric_string => true, as: 'usedLineItemsCount'
1629
+ end
1630
+ end
1631
+
1511
1632
  class AuthorizedSellerStatusAssignedTargetingOptionDetails
1512
1633
  # @private
1513
1634
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1605,6 +1726,23 @@ module Google
1605
1726
  end
1606
1727
  end
1607
1728
 
1729
+ class BulkEditAssignedUserRolesRequest
1730
+ # @private
1731
+ class Representation < Google::Apis::Core::JsonRepresentation
1732
+ collection :created_assigned_user_roles, as: 'createdAssignedUserRoles', class: Google::Apis::DisplayvideoV1::AssignedUserRole, decorator: Google::Apis::DisplayvideoV1::AssignedUserRole::Representation
1733
+
1734
+ collection :deleted_assigned_user_roles, as: 'deletedAssignedUserRoles'
1735
+ end
1736
+ end
1737
+
1738
+ class BulkEditAssignedUserRolesResponse
1739
+ # @private
1740
+ class Representation < Google::Apis::Core::JsonRepresentation
1741
+ collection :created_assigned_user_roles, as: 'createdAssignedUserRoles', class: Google::Apis::DisplayvideoV1::AssignedUserRole, decorator: Google::Apis::DisplayvideoV1::AssignedUserRole::Representation
1742
+
1743
+ end
1744
+ end
1745
+
1608
1746
  class BulkEditLineItemAssignedTargetingOptionsRequest
1609
1747
  # @private
1610
1748
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1640,6 +1778,24 @@ module Google
1640
1778
  end
1641
1779
  end
1642
1780
 
1781
+ class BulkEditPartnerAssignedTargetingOptionsRequest
1782
+ # @private
1783
+ class Representation < Google::Apis::Core::JsonRepresentation
1784
+ collection :create_requests, as: 'createRequests', class: Google::Apis::DisplayvideoV1::CreateAssignedTargetingOptionsRequest, decorator: Google::Apis::DisplayvideoV1::CreateAssignedTargetingOptionsRequest::Representation
1785
+
1786
+ collection :delete_requests, as: 'deleteRequests', class: Google::Apis::DisplayvideoV1::DeleteAssignedTargetingOptionsRequest, decorator: Google::Apis::DisplayvideoV1::DeleteAssignedTargetingOptionsRequest::Representation
1787
+
1788
+ end
1789
+ end
1790
+
1791
+ class BulkEditPartnerAssignedTargetingOptionsResponse
1792
+ # @private
1793
+ class Representation < Google::Apis::Core::JsonRepresentation
1794
+ collection :created_assigned_targeting_options, as: 'createdAssignedTargetingOptions', class: Google::Apis::DisplayvideoV1::AssignedTargetingOption, decorator: Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation
1795
+
1796
+ end
1797
+ end
1798
+
1643
1799
  class BulkEditSitesRequest
1644
1800
  # @private
1645
1801
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2174,6 +2330,24 @@ module Google
2174
2330
  end
2175
2331
  end
2176
2332
 
2333
+ class ExchangeConfig
2334
+ # @private
2335
+ class Representation < Google::Apis::Core::JsonRepresentation
2336
+ collection :enabled_exchanges, as: 'enabledExchanges', class: Google::Apis::DisplayvideoV1::ExchangeConfigEnabledExchange, decorator: Google::Apis::DisplayvideoV1::ExchangeConfigEnabledExchange::Representation
2337
+
2338
+ end
2339
+ end
2340
+
2341
+ class ExchangeConfigEnabledExchange
2342
+ # @private
2343
+ class Representation < Google::Apis::Core::JsonRepresentation
2344
+ property :exchange, as: 'exchange'
2345
+ property :google_ad_manager_agency_id, as: 'googleAdManagerAgencyId'
2346
+ property :google_ad_manager_buyer_network_id, as: 'googleAdManagerBuyerNetworkId'
2347
+ property :seat_id, as: 'seatId'
2348
+ end
2349
+ end
2350
+
2177
2351
  class ExchangeReviewStatus
2178
2352
  # @private
2179
2353
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2202,10 +2376,21 @@ module Google
2202
2376
  class FirstAndThirdPartyAudience
2203
2377
  # @private
2204
2378
  class Representation < Google::Apis::Core::JsonRepresentation
2379
+ property :active_display_audience_size, :numeric_string => true, as: 'activeDisplayAudienceSize'
2380
+ property :audience_source, as: 'audienceSource'
2381
+ property :audience_type, as: 'audienceType'
2382
+ property :description, as: 'description'
2383
+ property :display_audience_size, :numeric_string => true, as: 'displayAudienceSize'
2384
+ property :display_desktop_audience_size, :numeric_string => true, as: 'displayDesktopAudienceSize'
2385
+ property :display_mobile_app_audience_size, :numeric_string => true, as: 'displayMobileAppAudienceSize'
2386
+ property :display_mobile_web_audience_size, :numeric_string => true, as: 'displayMobileWebAudienceSize'
2205
2387
  property :display_name, as: 'displayName'
2206
2388
  property :first_and_third_party_audience_id, :numeric_string => true, as: 'firstAndThirdPartyAudienceId'
2207
2389
  property :first_and_third_party_audience_type, as: 'firstAndThirdPartyAudienceType'
2390
+ property :gmail_audience_size, :numeric_string => true, as: 'gmailAudienceSize'
2391
+ property :membership_duration_days, :numeric_string => true, as: 'membershipDurationDays'
2208
2392
  property :name, as: 'name'
2393
+ property :youtube_audience_size, :numeric_string => true, as: 'youtubeAudienceSize'
2209
2394
  end
2210
2395
  end
2211
2396
 
@@ -2752,6 +2937,24 @@ module Google
2752
2937
  end
2753
2938
  end
2754
2939
 
2940
+ class ListPartnerAssignedTargetingOptionsResponse
2941
+ # @private
2942
+ class Representation < Google::Apis::Core::JsonRepresentation
2943
+ collection :assigned_targeting_options, as: 'assignedTargetingOptions', class: Google::Apis::DisplayvideoV1::AssignedTargetingOption, decorator: Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation
2944
+
2945
+ property :next_page_token, as: 'nextPageToken'
2946
+ end
2947
+ end
2948
+
2949
+ class ListPartnersResponse
2950
+ # @private
2951
+ class Representation < Google::Apis::Core::JsonRepresentation
2952
+ property :next_page_token, as: 'nextPageToken'
2953
+ collection :partners, as: 'partners', class: Google::Apis::DisplayvideoV1::Partner, decorator: Google::Apis::DisplayvideoV1::Partner::Representation
2954
+
2955
+ end
2956
+ end
2957
+
2755
2958
  class ListSitesResponse
2756
2959
  # @private
2757
2960
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2770,6 +2973,15 @@ module Google
2770
2973
  end
2771
2974
  end
2772
2975
 
2976
+ class ListUsersResponse
2977
+ # @private
2978
+ class Representation < Google::Apis::Core::JsonRepresentation
2979
+ property :next_page_token, as: 'nextPageToken'
2980
+ collection :users, as: 'users', class: Google::Apis::DisplayvideoV1::User, decorator: Google::Apis::DisplayvideoV1::User::Representation
2981
+
2982
+ end
2983
+ end
2984
+
2773
2985
  class LocationList
2774
2986
  # @private
2775
2987
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2797,6 +3009,14 @@ module Google
2797
3009
  end
2798
3010
  end
2799
3011
 
3012
+ class MeasurementConfig
3013
+ # @private
3014
+ class Representation < Google::Apis::Core::JsonRepresentation
3015
+ property :dv360_to_cm_cost_reporting_enabled, as: 'dv360ToCmCostReportingEnabled'
3016
+ property :dv360_to_cm_data_sharing_enabled, as: 'dv360ToCmDataSharingEnabled'
3017
+ end
3018
+ end
3019
+
2800
3020
  class Money
2801
3021
  # @private
2802
3022
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2923,6 +3143,33 @@ module Google
2923
3143
  end
2924
3144
  end
2925
3145
 
3146
+ class Partner
3147
+ # @private
3148
+ class Representation < Google::Apis::Core::JsonRepresentation
3149
+ property :ad_server_config, as: 'adServerConfig', class: Google::Apis::DisplayvideoV1::PartnerAdServerConfig, decorator: Google::Apis::DisplayvideoV1::PartnerAdServerConfig::Representation
3150
+
3151
+ property :data_access_config, as: 'dataAccessConfig', class: Google::Apis::DisplayvideoV1::PartnerDataAccessConfig, decorator: Google::Apis::DisplayvideoV1::PartnerDataAccessConfig::Representation
3152
+
3153
+ property :display_name, as: 'displayName'
3154
+ property :entity_status, as: 'entityStatus'
3155
+ property :exchange_config, as: 'exchangeConfig', class: Google::Apis::DisplayvideoV1::ExchangeConfig, decorator: Google::Apis::DisplayvideoV1::ExchangeConfig::Representation
3156
+
3157
+ property :general_config, as: 'generalConfig', class: Google::Apis::DisplayvideoV1::PartnerGeneralConfig, decorator: Google::Apis::DisplayvideoV1::PartnerGeneralConfig::Representation
3158
+
3159
+ property :name, as: 'name'
3160
+ property :partner_id, :numeric_string => true, as: 'partnerId'
3161
+ property :update_time, as: 'updateTime'
3162
+ end
3163
+ end
3164
+
3165
+ class PartnerAdServerConfig
3166
+ # @private
3167
+ class Representation < Google::Apis::Core::JsonRepresentation
3168
+ property :measurement_config, as: 'measurementConfig', class: Google::Apis::DisplayvideoV1::MeasurementConfig, decorator: Google::Apis::DisplayvideoV1::MeasurementConfig::Representation
3169
+
3170
+ end
3171
+ end
3172
+
2926
3173
  class PartnerCost
2927
3174
  # @private
2928
3175
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2934,6 +3181,22 @@ module Google
2934
3181
  end
2935
3182
  end
2936
3183
 
3184
+ class PartnerDataAccessConfig
3185
+ # @private
3186
+ class Representation < Google::Apis::Core::JsonRepresentation
3187
+ property :sdf_config, as: 'sdfConfig', class: Google::Apis::DisplayvideoV1::SdfConfig, decorator: Google::Apis::DisplayvideoV1::SdfConfig::Representation
3188
+
3189
+ end
3190
+ end
3191
+
3192
+ class PartnerGeneralConfig
3193
+ # @private
3194
+ class Representation < Google::Apis::Core::JsonRepresentation
3195
+ property :currency_code, as: 'currencyCode'
3196
+ property :time_zone, as: 'timeZone'
3197
+ end
3198
+ end
3199
+
2937
3200
  class PartnerRevenueModel
2938
3201
  # @private
2939
3202
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3223,6 +3486,18 @@ module Google
3223
3486
  end
3224
3487
  end
3225
3488
 
3489
+ class User
3490
+ # @private
3491
+ class Representation < Google::Apis::Core::JsonRepresentation
3492
+ collection :assigned_user_roles, as: 'assignedUserRoles', class: Google::Apis::DisplayvideoV1::AssignedUserRole, decorator: Google::Apis::DisplayvideoV1::AssignedUserRole::Representation
3493
+
3494
+ property :display_name, as: 'displayName'
3495
+ property :email, as: 'email'
3496
+ property :name, as: 'name'
3497
+ property :user_id, :numeric_string => true, as: 'userId'
3498
+ end
3499
+ end
3500
+
3226
3501
  class UserRewardedContentAssignedTargetingOptionDetails
3227
3502
  # @private
3228
3503
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -48,10 +48,47 @@ module Google
48
48
  @batch_path = 'batch'
49
49
  end
50
50
 
51
- # Bulk edits targeting options under a single advertiser.
52
- # The operation will delete the assigned targeting options provided in
53
- # BulkEditAdvertiserAssignedTargetingOptionsRequest.delete_requests and
54
- # then create the assigned targeting options provided in
51
+ # Audits an advertiser. Returns the counts of used entities per resource type
52
+ # under the advertiser provided. Used entities count towards their [respective
53
+ # resource limit]: (https://support.google.com/displayvideo/answer/6071450?hl=en)
54
+ # @param [Fixnum] advertiser_id
55
+ # Required. The ID of the advertiser to audit.
56
+ # @param [String] read_mask
57
+ # Optional. The specific fields to return. If no mask is specified, all fields
58
+ # in the response proto will be filled. Valid values are: * usedLineItemsCount *
59
+ # usedInsertionOrdersCount * usedCampaignsCount
60
+ # @param [String] fields
61
+ # Selector specifying which fields to include in a partial response.
62
+ # @param [String] quota_user
63
+ # Available to use for quota purposes for server-side applications. Can be any
64
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
65
+ # @param [Google::Apis::RequestOptions] options
66
+ # Request-specific options
67
+ #
68
+ # @yield [result, err] Result & error if block supplied
69
+ # @yieldparam result [Google::Apis::DisplayvideoV1::AuditAdvertiserResponse] parsed result object
70
+ # @yieldparam err [StandardError] error object if request failed
71
+ #
72
+ # @return [Google::Apis::DisplayvideoV1::AuditAdvertiserResponse]
73
+ #
74
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
75
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
76
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
77
+ def audit_advertiser(advertiser_id, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
78
+ command = make_simple_command(:get, 'v1/advertisers/{+advertiserId}:audit', options)
79
+ command.response_representation = Google::Apis::DisplayvideoV1::AuditAdvertiserResponse::Representation
80
+ command.response_class = Google::Apis::DisplayvideoV1::AuditAdvertiserResponse
81
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
82
+ command.query['readMask'] = read_mask unless read_mask.nil?
83
+ command.query['fields'] = fields unless fields.nil?
84
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
85
+ execute_or_queue_command(command, &block)
86
+ end
87
+
88
+ # Bulk edits targeting options under a single advertiser. The operation will
89
+ # delete the assigned targeting options provided in
90
+ # BulkEditAdvertiserAssignedTargetingOptionsRequest.delete_requests and then
91
+ # create the assigned targeting options provided in
55
92
  # BulkEditAdvertiserAssignedTargetingOptionsRequest.create_requests .
56
93
  # @param [Fixnum] advertiser_id
57
94
  # Required. The ID of the advertiser.
@@ -89,37 +126,27 @@ module Google
89
126
  # @param [Fixnum] advertiser_id
90
127
  # Required. The ID of the advertiser the line item belongs to.
91
128
  # @param [String] filter
92
- # Allows filtering by assigned targeting option properties.
93
- # Supported syntax:
94
- # * Filter expressions are made up of one or more restrictions.
95
- # * Restrictions can be combined by the logical operator `OR`..
96
- # * A restriction has the form of ``field` `operator` `value``.
97
- # * The operator must be `EQUALS (=)`.
98
- # * Supported fields:
99
- # - `targetingType`
100
- # Examples:
101
- # * targetingType with value TARGETING_TYPE_CHANNEL
102
- # `targetingType="TARGETING_TYPE_CHANNEL"`
103
- # The length of this field should be no more than 500 characters.
129
+ # Allows filtering by assigned targeting option properties. Supported syntax: *
130
+ # Filter expressions are made up of one or more restrictions. * Restrictions can
131
+ # be combined by the logical operator `OR`.. * A restriction has the form of ``
132
+ # field` `operator` `value``. * The operator must be `EQUALS (=)`. * Supported
133
+ # fields: - `targetingType` Examples: * targetingType with value
134
+ # TARGETING_TYPE_CHANNEL `targetingType="TARGETING_TYPE_CHANNEL"` The length of
135
+ # this field should be no more than 500 characters.
104
136
  # @param [String] order_by
105
- # Field by which to sort the list.
106
- # Acceptable values are:
107
- # * `targetingType` (default)
108
- # The default sorting order is ascending. To specify descending order for
109
- # a field, a suffix "desc" should be added to the field name. Example:
110
- # `targetingType desc`.
137
+ # Field by which to sort the list. Acceptable values are: * `targetingType` (
138
+ # default) The default sorting order is ascending. To specify descending order
139
+ # for a field, a suffix "desc" should be added to the field name. Example: `
140
+ # targetingType desc`.
111
141
  # @param [Fixnum] page_size
112
- # Requested page size.
113
- # The size must be an integer between `1` and `5000`. If unspecified,
114
- # the default is '5000'. Returns error code `INVALID_ARGUMENT` if an invalid
115
- # value is specified.
142
+ # Requested page size. The size must be an integer between `1` and `5000`. If
143
+ # unspecified, the default is '5000'. Returns error code `INVALID_ARGUMENT` if
144
+ # an invalid value is specified.
116
145
  # @param [String] page_token
117
- # A token that lets the client fetch the next page of results.
118
- # Typically, this is the value of
119
- # next_page_token
120
- # returned from the previous call to
121
- # `BulkListAdvertiserAssignedTargetingOptions` method.
122
- # If not specified, the first page of results will be returned.
146
+ # A token that lets the client fetch the next page of results. Typically, this
147
+ # is the value of next_page_token returned from the previous call to `
148
+ # BulkListAdvertiserAssignedTargetingOptions` method. If not specified, the
149
+ # first page of results will be returned.
123
150
  # @param [String] fields
124
151
  # Selector specifying which fields to include in a partial response.
125
152
  # @param [String] quota_user
@@ -151,8 +178,7 @@ module Google
151
178
  execute_or_queue_command(command, &block)
152
179
  end
153
180
 
154
- # Creates a new advertiser.
155
- # Returns the newly created advertiser if successful.
181
+ # Creates a new advertiser. Returns the newly created advertiser if successful.
156
182
  # This method can take up to 180 seconds to complete.
157
183
  # @param [Google::Apis::DisplayvideoV1::Advertiser] advertiser_object
158
184
  # @param [String] fields
@@ -183,10 +209,9 @@ module Google
183
209
  execute_or_queue_command(command, &block)
184
210
  end
185
211
 
186
- # Deletes an advertiser.
187
- # Deleting an advertiser will delete all of its child resources, for example,
188
- # campaigns, insertion orders and line items.
189
- # A deleted advertiser cannot be recovered.
212
+ # Deletes an advertiser. Deleting an advertiser will delete all of its child
213
+ # resources, for example, campaigns, insertion orders and line items. A deleted
214
+ # advertiser cannot be recovered.
190
215
  # @param [Fixnum] advertiser_id
191
216
  # The ID of the advertiser we need to delete.
192
217
  # @param [String] fields
@@ -246,46 +271,34 @@ module Google
246
271
  execute_or_queue_command(command, &block)
247
272
  end
248
273
 
249
- # Lists advertisers that are accessible to the current user.
250
- # The order is defined by the order_by
251
- # parameter.
252
- # A single partner_id is required.
253
- # Cross-partner listing is not supported.
274
+ # Lists advertisers that are accessible to the current user. The order is
275
+ # defined by the order_by parameter. A single partner_id is required. Cross-
276
+ # partner listing is not supported.
254
277
  # @param [String] filter
255
- # Allows filtering by advertiser properties.
256
- # Supported syntax:
257
- # * Filter expressions are made up of one or more restrictions.
258
- # * Restrictions can be combined by `AND` or `OR` logical operators. A
259
- # sequence of restrictions implicitly uses `AND`.
260
- # * A restriction has the form of ``field` `operator` `value``.
261
- # * The operator must be `EQUALS (=)`.
262
- # * Supported fields:
263
- # - `entityStatus`
264
- # Examples:
265
- # * All active advertisers under a partner:
266
- # `entityStatus="ENTITY_STATUS_ACTIVE"`
267
- # The length of this field should be no more than 500 characters.
278
+ # Allows filtering by advertiser properties. Supported syntax: * Filter
279
+ # expressions are made up of one or more restrictions. * Restrictions can be
280
+ # combined by `AND` or `OR` logical operators. A sequence of restrictions
281
+ # implicitly uses `AND`. * A restriction has the form of ``field` `operator` `
282
+ # value``. * The operator must be `EQUALS (=)`. * Supported fields: - `
283
+ # entityStatus` Examples: * All active advertisers under a partner: `
284
+ # entityStatus="ENTITY_STATUS_ACTIVE"` The length of this field should be no
285
+ # more than 500 characters.
268
286
  # @param [String] order_by
269
- # Field by which to sort the list.
270
- # Acceptable values are:
271
- # * `displayName` (default)
272
- # * `entityStatus`
273
- # The default sorting order is ascending. To specify descending order for
274
- # a field, a suffix "desc" should be added to the field name. For example,
275
- # `displayName desc`.
287
+ # Field by which to sort the list. Acceptable values are: * `displayName` (
288
+ # default) * `entityStatus` The default sorting order is ascending. To specify
289
+ # descending order for a field, a suffix "desc" should be added to the field
290
+ # name. For example, `displayName desc`.
276
291
  # @param [Fixnum] page_size
277
292
  # Requested page size. Must be between `1` and `100`. If unspecified will
278
293
  # default to `100`.
279
294
  # @param [String] page_token
280
- # A token identifying a page of results the server should return.
281
- # Typically, this is the value of
282
- # next_page_token
283
- # returned from the previous call to `ListAdvertisers` method.
284
- # If not specified, the first page of results will be returned.
295
+ # A token identifying a page of results the server should return. Typically,
296
+ # this is the value of next_page_token returned from the previous call to `
297
+ # ListAdvertisers` method. If not specified, the first page of results will be
298
+ # returned.
285
299
  # @param [Fixnum] partner_id
286
300
  # Required. The ID of the partner that the fetched advertisers should all belong
287
- # to.
288
- # The system only supports listing advertisers for one partner at a time.
301
+ # to. The system only supports listing advertisers for one partner at a time.
289
302
  # @param [String] fields
290
303
  # Selector specifying which fields to include in a partial response.
291
304
  # @param [String] quota_user
@@ -317,8 +330,7 @@ module Google
317
330
  execute_or_queue_command(command, &block)
318
331
  end
319
332
 
320
- # Updates an existing advertiser.
321
- # Returns the updated advertiser if successful.
333
+ # Updates an existing advertiser. Returns the updated advertiser if successful.
322
334
  # @param [Fixnum] advertiser_id
323
335
  # Output only. The unique ID of the advertiser. Assigned by the system.
324
336
  # @param [Google::Apis::DisplayvideoV1::Advertiser] advertiser_object
@@ -354,10 +366,9 @@ module Google
354
366
  execute_or_queue_command(command, &block)
355
367
  end
356
368
 
357
- # Uploads an asset.
358
- # Returns the ID of the newly uploaded asset if successful.
359
- # The asset file size should be no more than 10 MB for images, 200 MB for
360
- # ZIP files, and 1 GB for videos.
369
+ # Uploads an asset. Returns the ID of the newly uploaded asset if successful.
370
+ # The asset file size should be no more than 10 MB for images, 200 MB for ZIP
371
+ # files, and 1 GB for videos.
361
372
  # @param [Fixnum] advertiser_id
362
373
  # Required. The ID of the advertiser this asset belongs to.
363
374
  # @param [Google::Apis::DisplayvideoV1::CreateAssetRequest] create_asset_request_object
@@ -400,8 +411,7 @@ module Google
400
411
  execute_or_queue_command(command, &block)
401
412
  end
402
413
 
403
- # Creates a new campaign.
404
- # Returns the newly created campaign if successful.
414
+ # Creates a new campaign. Returns the newly created campaign if successful.
405
415
  # @param [Fixnum] advertiser_id
406
416
  # Output only. The unique ID of the advertiser the campaign belongs to.
407
417
  # @param [Google::Apis::DisplayvideoV1::Campaign] campaign_object
@@ -434,10 +444,9 @@ module Google
434
444
  execute_or_queue_command(command, &block)
435
445
  end
436
446
 
437
- # Permanently deletes a campaign. A deleted campaign cannot be recovered.
438
- # The campaign should be archived first, i.e. set
439
- # entity_status to `ENTITY_STATUS_ARCHIVED`, to be
440
- # able to delete it.
447
+ # Permanently deletes a campaign. A deleted campaign cannot be recovered. The
448
+ # campaign should be archived first, i.e. set entity_status to `
449
+ # ENTITY_STATUS_ARCHIVED`, to be able to delete it.
441
450
  # @param [Fixnum] advertiser_id
442
451
  # The ID of the advertiser this campaign belongs to.
443
452
  # @param [Fixnum] campaign_id
@@ -503,47 +512,34 @@ module Google
503
512
  execute_or_queue_command(command, &block)
504
513
  end
505
514
 
506
- # Lists campaigns in an advertiser.
507
- # The order is defined by the order_by
508
- # parameter.
509
- # If a filter by
510
- # entity_status is not specified, campaigns with
511
- # `ENTITY_STATUS_ARCHIVED` will not be included in the results.
515
+ # Lists campaigns in an advertiser. The order is defined by the order_by
516
+ # parameter. If a filter by entity_status is not specified, campaigns with `
517
+ # ENTITY_STATUS_ARCHIVED` will not be included in the results.
512
518
  # @param [Fixnum] advertiser_id
513
519
  # The ID of the advertiser to list campaigns for.
514
520
  # @param [String] filter
515
- # Allows filtering by campaign properties.
516
- # Supported syntax:
517
- # * Filter expressions are made up of one or more restrictions.
518
- # * Restrictions can be combined by `AND` or `OR` logical operators. A
519
- # sequence of restrictions implicitly uses `AND`.
520
- # * A restriction has the form of ``field` `operator` `value``.
521
- # * The operator must be `EQUALS (=)`.
522
- # * Supported fields:
523
- # - `entityStatus`
524
- # Examples:
525
- # * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` campaigns under an
526
- # advertiser:
527
- # `(entityStatus="ENTITY_STATUS_ACTIVE" OR
528
- # entityStatus="ENTITY_STATUS_PAUSED")`
529
- # The length of this field should be no more than 500 characters.
521
+ # Allows filtering by campaign properties. Supported syntax: * Filter
522
+ # expressions are made up of one or more restrictions. * Restrictions can be
523
+ # combined by `AND` or `OR` logical operators. A sequence of restrictions
524
+ # implicitly uses `AND`. * A restriction has the form of ``field` `operator` `
525
+ # value``. * The operator must be `EQUALS (=)`. * Supported fields: - `
526
+ # entityStatus` Examples: * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED`
527
+ # campaigns under an advertiser: `(entityStatus="ENTITY_STATUS_ACTIVE" OR
528
+ # entityStatus="ENTITY_STATUS_PAUSED")` The length of this field should be no
529
+ # more than 500 characters.
530
530
  # @param [String] order_by
531
- # Field by which to sort the list.
532
- # Acceptable values are:
533
- # * `displayName` (default)
534
- # * `entityStatus`
535
- # The default sorting order is ascending. To specify descending order for
536
- # a field, a suffix "desc" should be added to the field name. Example:
537
- # `displayName desc`.
531
+ # Field by which to sort the list. Acceptable values are: * `displayName` (
532
+ # default) * `entityStatus` The default sorting order is ascending. To specify
533
+ # descending order for a field, a suffix "desc" should be added to the field
534
+ # name. Example: `displayName desc`.
538
535
  # @param [Fixnum] page_size
539
536
  # Requested page size. Must be between `1` and `100`. If unspecified will
540
537
  # default to `100`.
541
538
  # @param [String] page_token
542
- # A token identifying a page of results the server should return.
543
- # Typically, this is the value of
544
- # next_page_token returned from the
545
- # previous call to `ListCampaigns` method. If not specified, the first page
546
- # of results will be returned.
539
+ # A token identifying a page of results the server should return. Typically,
540
+ # this is the value of next_page_token returned from the previous call to `
541
+ # ListCampaigns` method. If not specified, the first page of results will be
542
+ # returned.
547
543
  # @param [String] fields
548
544
  # Selector specifying which fields to include in a partial response.
549
545
  # @param [String] quota_user
@@ -575,8 +571,7 @@ module Google
575
571
  execute_or_queue_command(command, &block)
576
572
  end
577
573
 
578
- # Updates an existing campaign.
579
- # Returns the updated campaign if successful.
574
+ # Updates an existing campaign. Returns the updated campaign if successful.
580
575
  # @param [Fixnum] advertiser_id
581
576
  # Output only. The unique ID of the advertiser the campaign belongs to.
582
577
  # @param [Fixnum] campaign_id
@@ -615,8 +610,42 @@ module Google
615
610
  execute_or_queue_command(command, &block)
616
611
  end
617
612
 
618
- # Updates an existing inventory source.
619
- # Returns the updated inventory source if successful.
613
+ # Creates a new channel. Returns the newly created channel if successful.
614
+ # @param [Fixnum] advertiser_id
615
+ # The ID of the advertiser that owns the created channel.
616
+ # @param [Google::Apis::DisplayvideoV1::Channel] channel_object
617
+ # @param [Fixnum] partner_id
618
+ # The ID of the partner that owns the created channel.
619
+ # @param [String] fields
620
+ # Selector specifying which fields to include in a partial response.
621
+ # @param [String] quota_user
622
+ # Available to use for quota purposes for server-side applications. Can be any
623
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
624
+ # @param [Google::Apis::RequestOptions] options
625
+ # Request-specific options
626
+ #
627
+ # @yield [result, err] Result & error if block supplied
628
+ # @yieldparam result [Google::Apis::DisplayvideoV1::Channel] parsed result object
629
+ # @yieldparam err [StandardError] error object if request failed
630
+ #
631
+ # @return [Google::Apis::DisplayvideoV1::Channel]
632
+ #
633
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
634
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
635
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
636
+ def create_advertiser_channel(advertiser_id, channel_object = nil, partner_id: nil, fields: nil, quota_user: nil, options: nil, &block)
637
+ command = make_simple_command(:post, 'v1/advertisers/{+advertiserId}/channels', options)
638
+ command.request_representation = Google::Apis::DisplayvideoV1::Channel::Representation
639
+ command.request_object = channel_object
640
+ command.response_representation = Google::Apis::DisplayvideoV1::Channel::Representation
641
+ command.response_class = Google::Apis::DisplayvideoV1::Channel
642
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
643
+ command.query['partnerId'] = partner_id unless partner_id.nil?
644
+ command.query['fields'] = fields unless fields.nil?
645
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
646
+ execute_or_queue_command(command, &block)
647
+ end
648
+
620
649
  # Gets a channel for a partner or advertiser.
621
650
  # @param [Fixnum] advertiser_id
622
651
  # The ID of the advertiser that owns the fetched channel.
@@ -657,36 +686,26 @@ module Google
657
686
  # @param [Fixnum] advertiser_id
658
687
  # The ID of the advertiser that owns the channels.
659
688
  # @param [String] filter
660
- # Allows filtering by channel fields.
661
- # Supported syntax:
662
- # * Filter expressions for channel currently can only contain at most one
663
- # * restriction.
664
- # * A restriction has the form of ``field` `operator` `value``.
665
- # * The operator must be `CONTAINS (:)`.
666
- # * Supported fields:
667
- # - `displayName`
668
- # Examples:
669
- # * All channels for which the display name contains "google":
670
- # `displayName : "google"`.
671
- # The length of this field should be no more than 500 characters.
689
+ # Allows filtering by channel fields. Supported syntax: * Filter expressions for
690
+ # channel currently can only contain at most one * restriction. * A restriction
691
+ # has the form of ``field` `operator` `value``. * The operator must be `CONTAINS
692
+ # (:)`. * Supported fields: - `displayName` Examples: * All channels for which
693
+ # the display name contains "google": `displayName : "google"`. The length of
694
+ # this field should be no more than 500 characters.
672
695
  # @param [String] order_by
673
- # Field by which to sort the list.
674
- # Acceptable values are:
675
- # * `displayName` (default)
676
- # * `channelId`
677
- # The default sorting order is ascending. To specify descending order for a
678
- # field, a suffix " desc" should be added to the field name. Example:
679
- # `displayName desc`.
696
+ # Field by which to sort the list. Acceptable values are: * `displayName` (
697
+ # default) * `channelId` The default sorting order is ascending. To specify
698
+ # descending order for a field, a suffix " desc" should be added to the field
699
+ # name. Example: `displayName desc`.
680
700
  # @param [Fixnum] page_size
681
701
  # Requested page size. Must be between `1` and `100`. If unspecified will
682
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
683
- # is specified.
702
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
703
+ # specified.
684
704
  # @param [String] page_token
685
- # A token identifying a page of results the server should return.
686
- # Typically, this is the value of
687
- # next_page_token returned from the
688
- # previous call to `ListChannels` method. If not specified, the first page
689
- # of results will be returned.
705
+ # A token identifying a page of results the server should return. Typically,
706
+ # this is the value of next_page_token returned from the previous call to `
707
+ # ListChannels` method. If not specified, the first page of results will be
708
+ # returned.
690
709
  # @param [Fixnum] partner_id
691
710
  # The ID of the partner that owns the channels.
692
711
  # @param [String] fields
@@ -763,9 +782,8 @@ module Google
763
782
  execute_or_queue_command(command, &block)
764
783
  end
765
784
 
766
- # Bulk edits sites under a single channel.
767
- # The operation will delete the sites provided in
768
- # BulkEditSitesRequest.deleted_sites and then create the sites
785
+ # Bulk edits sites under a single channel. The operation will delete the sites
786
+ # provided in BulkEditSitesRequest.deleted_sites and then create the sites
769
787
  # provided in BulkEditSitesRequest.created_sites.
770
788
  # @param [Fixnum] advertiser_id
771
789
  # The ID of the advertiser that owns the parent channel.
@@ -886,34 +904,25 @@ module Google
886
904
  # @param [Fixnum] channel_id
887
905
  # Required. The ID of the parent channel to which the requested sites belong.
888
906
  # @param [String] filter
889
- # Allows filtering by site fields.
890
- # Supported syntax:
891
- # * Filter expressions for site currently can only contain at most one
892
- # * restriction.
893
- # * A restriction has the form of ``field` `operator` `value``.
894
- # * The operator must be `CONTAINS (:)`.
895
- # * Supported fields:
896
- # - `urlOrAppId`
897
- # Examples:
898
- # * All sites for which the URL or app ID contains "google":
899
- # `urlOrAppId : "google"`
907
+ # Allows filtering by site fields. Supported syntax: * Filter expressions for
908
+ # site currently can only contain at most one * restriction. * A restriction has
909
+ # the form of ``field` `operator` `value``. * The operator must be `CONTAINS (:)`
910
+ # . * Supported fields: - `urlOrAppId` Examples: * All sites for which the URL
911
+ # or app ID contains "google": `urlOrAppId : "google"`
900
912
  # @param [String] order_by
901
- # Field by which to sort the list.
902
- # Acceptable values are:
903
- # * `urlOrAppId` (default)
904
- # The default sorting order is ascending. To specify descending order for a
905
- # field, a suffix " desc" should be added to the field name. Example:
906
- # `urlOrAppId desc`.
913
+ # Field by which to sort the list. Acceptable values are: * `urlOrAppId` (
914
+ # default) The default sorting order is ascending. To specify descending order
915
+ # for a field, a suffix " desc" should be added to the field name. Example: `
916
+ # urlOrAppId desc`.
907
917
  # @param [Fixnum] page_size
908
918
  # Requested page size. Must be between `1` and `100`. If unspecified will
909
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
910
- # is specified.
919
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
920
+ # specified.
911
921
  # @param [String] page_token
912
- # A token identifying a page of results the server should return.
913
- # Typically, this is the value of
914
- # next_page_token returned from the
915
- # previous call to `ListSites` method. If not specified, the first page
916
- # of results will be returned.
922
+ # A token identifying a page of results the server should return. Typically,
923
+ # this is the value of next_page_token returned from the previous call to `
924
+ # ListSites` method. If not specified, the first page of results will be
925
+ # returned.
917
926
  # @param [Fixnum] partner_id
918
927
  # The ID of the partner that owns the parent channel.
919
928
  # @param [String] fields
@@ -949,8 +958,7 @@ module Google
949
958
  execute_or_queue_command(command, &block)
950
959
  end
951
960
 
952
- # Creates a new creative.
953
- # Returns the newly created creative if successful.
961
+ # Creates a new creative. Returns the newly created creative if successful.
954
962
  # @param [Fixnum] advertiser_id
955
963
  # Output only. The unique ID of the advertiser the creative belongs to.
956
964
  # @param [Google::Apis::DisplayvideoV1::Creative] creative_object
@@ -983,11 +991,9 @@ module Google
983
991
  execute_or_queue_command(command, &block)
984
992
  end
985
993
 
986
- # Deletes a creative.
987
- # Returns error code `NOT_FOUND` if the creative does not exist.
988
- # The creative should be archived first, i.e. set
989
- # entity_status to `ENTITY_STATUS_ARCHIVED`, before
990
- # it can be deleted.
994
+ # Deletes a creative. Returns error code `NOT_FOUND` if the creative does not
995
+ # exist. The creative should be archived first, i.e. set entity_status to `
996
+ # ENTITY_STATUS_ARCHIVED`, before it can be deleted.
991
997
  # @param [Fixnum] advertiser_id
992
998
  # The ID of the advertiser this creative belongs to.
993
999
  # @param [Fixnum] creative_id
@@ -1053,76 +1059,55 @@ module Google
1053
1059
  execute_or_queue_command(command, &block)
1054
1060
  end
1055
1061
 
1056
- # Lists creatives in an advertiser.
1057
- # The order is defined by the order_by
1058
- # parameter.
1059
- # If a filter by
1060
- # entity_status is not specified, creatives with
1061
- # `ENTITY_STATUS_ARCHIVED` will not be included in the results.
1062
+ # Lists creatives in an advertiser. The order is defined by the order_by
1063
+ # parameter. If a filter by entity_status is not specified, creatives with `
1064
+ # ENTITY_STATUS_ARCHIVED` will not be included in the results.
1062
1065
  # @param [Fixnum] advertiser_id
1063
1066
  # Required. The ID of the advertiser to list creatives for.
1064
1067
  # @param [String] filter
1065
- # Allows filtering by creative properties.
1066
- # Supported syntax:
1067
- # * Filter expressions are made up of one or more restrictions.
1068
- # * Restriction for the same field must be combined by `OR`.
1069
- # * Restriction for different fields must be combined by `AND`.
1070
- # * Between `(` and `)` there can only be restrictions combined by `OR`
1071
- # for the same field.
1072
- # * A restriction has the form of ``field` `operator` `value``.
1073
- # * The operator must be `EQUALS (=)` for the following fields:
1074
- # - `entityStatus`
1075
- # - `creativeType`.
1076
- # - `dimensions`
1077
- # - `minDuration`
1078
- # - `maxDuration`
1079
- # - `approvalStatus`
1080
- # - `exchangeReviewStatus`
1081
- # - `dynamic`
1082
- # * The operator must be `HAS (:)` for the following fields:
1083
- # - `lineItemIds`
1084
- # * For `entityStatus`, `minDuration`, `maxDuration`, and `dynamic` there may
1085
- # be at most one restriction.
1086
- # * For `dimensions`, the value is in the form of `"`width`x`height`"`.
1087
- # * For `exchangeReviewStatus`, the value is in the form of
1088
- # ``exchange`-`reviewStatus``.
1089
- # * For `minDuration` and `maxDuration`, the value is in the form of
1090
- # `"`duration`s"`. Only seconds are supported with millisecond granularity.
1091
- # * There may be multiple `lineItemIds` restrictions in order to search
1092
- # against multiple possible line item IDs.
1093
- # Examples:
1094
- # * All native creatives: `creativeType="CREATIVE_TYPE_NATIVE"`
1095
- # * All active creatives with 300x400 or 50x100 dimensions:
1096
- # `entityStatus="ENTITY_STATUS_ACTIVE" AND (dimensions="300x400"
1097
- # OR dimensions="50x100")`
1098
- # * All dynamic creatives that are approved by AdX or
1099
- # AppNexus, with a minimum duration of 5 seconds and 200ms.
1100
- # `dynamic="true" AND minDuration="5.2s" AND
1101
- # (exchangeReviewStatus="EXCHANGE_GOOGLE_AD_MANAGER-REVIEW_STATUS_APPROVED"
1102
- # OR exchangeReviewStatus="EXCHANGE_APPNEXUS-REVIEW_STATUS_APPROVED")`
1103
- # * All video creatives that are associated with line item ID 1 or 2:
1104
- # creativeType="CREATIVE_TYPE_VIDEO" AND (lineItemIds:1 OR lineItemIds:2)
1105
- # The length of this field should be no more than 500 characters.
1068
+ # Allows filtering by creative properties. Supported syntax: * Filter
1069
+ # expressions are made up of one or more restrictions. * Restriction for the
1070
+ # same field must be combined by `OR`. * Restriction for different fields must
1071
+ # be combined by `AND`. * Between `(` and `)` there can only be restrictions
1072
+ # combined by `OR` for the same field. * A restriction has the form of ``field` `
1073
+ # operator` `value``. * The operator must be `EQUALS (=)` for the following
1074
+ # fields: - `entityStatus` - `creativeType`. - `dimensions` - `minDuration` - `
1075
+ # maxDuration` - `approvalStatus` - `exchangeReviewStatus` - `dynamic` - `
1076
+ # creativeId` * The operator must be `HAS (:)` for the following fields: - `
1077
+ # lineItemIds` * For `entityStatus`, `minDuration`, `maxDuration`, and `dynamic`
1078
+ # there may be at most one restriction. * For `dimensions`, the value is in the
1079
+ # form of `"`width`x`height`"`. * For `exchangeReviewStatus`, the value is in
1080
+ # the form of ``exchange`-`reviewStatus``. * For `minDuration` and `maxDuration`,
1081
+ # the value is in the form of `"`duration`s"`. Only seconds are supported with
1082
+ # millisecond granularity. * There may be multiple `lineItemIds` restrictions in
1083
+ # order to search against multiple possible line item IDs. * There may be
1084
+ # multiple `creativeId` restrictions in order to search against multiple
1085
+ # possible creative IDs. Examples: * All native creatives: `creativeType="
1086
+ # CREATIVE_TYPE_NATIVE"` * All active creatives with 300x400 or 50x100
1087
+ # dimensions: `entityStatus="ENTITY_STATUS_ACTIVE" AND (dimensions="300x400" OR
1088
+ # dimensions="50x100")` * All dynamic creatives that are approved by AdX or
1089
+ # AppNexus, with a minimum duration of 5 seconds and 200ms. `dynamic="true" AND
1090
+ # minDuration="5.2s" AND (exchangeReviewStatus="EXCHANGE_GOOGLE_AD_MANAGER-
1091
+ # REVIEW_STATUS_APPROVED" OR exchangeReviewStatus="EXCHANGE_APPNEXUS-
1092
+ # REVIEW_STATUS_APPROVED")` * All video creatives that are associated with line
1093
+ # item ID 1 or 2: `creativeType="CREATIVE_TYPE_VIDEO" AND (lineItemIds:1 OR
1094
+ # lineItemIds:2)` * Find creatives by multiple creative IDs: `creativeId=1 OR
1095
+ # creativeId=2` The length of this field should be no more than 500 characters.
1106
1096
  # @param [String] order_by
1107
- # Field by which to sort the list.
1108
- # Acceptable values are:
1109
- # * `creativeId` (default)
1110
- # * `createTime`
1111
- # * `mediaDuration`
1112
- # * `dimensions` (sorts by width first, then by height)
1113
- # The default sorting order is ascending. To specify descending order for
1114
- # a field, a suffix "desc" should be added to the field name.
1115
- # Example: `createTime desc`.
1097
+ # Field by which to sort the list. Acceptable values are: * `creativeId` (
1098
+ # default) * `createTime` * `mediaDuration` * `dimensions` (sorts by width first,
1099
+ # then by height) The default sorting order is ascending. To specify descending
1100
+ # order for a field, a suffix "desc" should be added to the field name. Example:
1101
+ # `createTime desc`.
1116
1102
  # @param [Fixnum] page_size
1117
1103
  # Requested page size. Must be between `1` and `100`. If unspecified will
1118
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
1119
- # is specified.
1104
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
1105
+ # specified.
1120
1106
  # @param [String] page_token
1121
- # A token identifying a page of results the server should return.
1122
- # Typically, this is the value of
1123
- # next_page_token
1124
- # returned from the previous call to `ListCreatives` method.
1125
- # If not specified, the first page of results will be returned.
1107
+ # A token identifying a page of results the server should return. Typically,
1108
+ # this is the value of next_page_token returned from the previous call to `
1109
+ # ListCreatives` method. If not specified, the first page of results will be
1110
+ # returned.
1126
1111
  # @param [String] fields
1127
1112
  # Selector specifying which fields to include in a partial response.
1128
1113
  # @param [String] quota_user
@@ -1154,8 +1139,7 @@ module Google
1154
1139
  execute_or_queue_command(command, &block)
1155
1140
  end
1156
1141
 
1157
- # Updates an existing creative.
1158
- # Returns the updated creative if successful.
1142
+ # Updates an existing creative. Returns the updated creative if successful.
1159
1143
  # @param [Fixnum] advertiser_id
1160
1144
  # Output only. The unique ID of the advertiser the creative belongs to.
1161
1145
  # @param [Fixnum] creative_id
@@ -1194,8 +1178,8 @@ module Google
1194
1178
  execute_or_queue_command(command, &block)
1195
1179
  end
1196
1180
 
1197
- # Creates a new insertion order.
1198
- # Returns the newly created insertion order if successful.
1181
+ # Creates a new insertion order. Returns the newly created insertion order if
1182
+ # successful.
1199
1183
  # @param [Fixnum] advertiser_id
1200
1184
  # Output only. The unique ID of the advertiser the insertion order belongs to.
1201
1185
  # @param [Google::Apis::DisplayvideoV1::InsertionOrder] insertion_order_object
@@ -1228,11 +1212,9 @@ module Google
1228
1212
  execute_or_queue_command(command, &block)
1229
1213
  end
1230
1214
 
1231
- # Deletes an insertion order.
1232
- # Returns error code `NOT_FOUND` if the insertion order does not exist.
1233
- # The insertion order should be archived first, i.e. set
1234
- # entity_status to `ENTITY_STATUS_ARCHIVED`,
1235
- # to be able to delete it.
1215
+ # Deletes an insertion order. Returns error code `NOT_FOUND` if the insertion
1216
+ # order does not exist. The insertion order should be archived first, i.e. set
1217
+ # entity_status to `ENTITY_STATUS_ARCHIVED`, to be able to delete it.
1236
1218
  # @param [Fixnum] advertiser_id
1237
1219
  # The ID of the advertiser this insertion order belongs to.
1238
1220
  # @param [Fixnum] insertion_order_id
@@ -1265,8 +1247,8 @@ module Google
1265
1247
  execute_or_queue_command(command, &block)
1266
1248
  end
1267
1249
 
1268
- # Gets an insertion order.
1269
- # Returns error code `NOT_FOUND` if the insertion order does not exist.
1250
+ # Gets an insertion order. Returns error code `NOT_FOUND` if the insertion order
1251
+ # does not exist.
1270
1252
  # @param [Fixnum] advertiser_id
1271
1253
  # Required. The ID of the advertiser this insertion order belongs to.
1272
1254
  # @param [Fixnum] insertion_order_id
@@ -1299,50 +1281,36 @@ module Google
1299
1281
  execute_or_queue_command(command, &block)
1300
1282
  end
1301
1283
 
1302
- # Lists insertion orders in an advertiser.
1303
- # The order is defined by the order_by
1304
- # parameter.
1305
- # If a filter by
1306
- # entity_status is not specified, insertion
1307
- # orders with `ENTITY_STATUS_ARCHIVED` will not be included in the results.
1284
+ # Lists insertion orders in an advertiser. The order is defined by the order_by
1285
+ # parameter. If a filter by entity_status is not specified, insertion orders
1286
+ # with `ENTITY_STATUS_ARCHIVED` will not be included in the results.
1308
1287
  # @param [Fixnum] advertiser_id
1309
1288
  # Required. The ID of the advertiser to list insertion orders for.
1310
1289
  # @param [String] filter
1311
- # Allows filtering by insertion order properties.
1312
- # Supported syntax:
1313
- # * Filter expressions are made up of one or more restrictions.
1314
- # * Restrictions can be combined by `AND` or `OR` logical operators. A
1315
- # sequence of restrictions implicitly uses `AND`.
1316
- # * A restriction has the form of ``field` `operator` `value``.
1317
- # * The operator must be `EQUALS (=)`.
1318
- # * Supported fields:
1319
- # - `campaignId`
1320
- # - `entityStatus`
1321
- # Examples:
1322
- # * All insertion orders under a campaign: `campaignId="1234"`
1323
- # * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` insertion orders
1324
- # under an advertiser:
1325
- # `(entityStatus="ENTITY_STATUS_ACTIVE" OR
1326
- # entityStatus="ENTITY_STATUS_PAUSED")`
1327
- # The length of this field should be no more than 500 characters.
1290
+ # Allows filtering by insertion order properties. Supported syntax: * Filter
1291
+ # expressions are made up of one or more restrictions. * Restrictions can be
1292
+ # combined by `AND` or `OR` logical operators. A sequence of restrictions
1293
+ # implicitly uses `AND`. * A restriction has the form of ``field` `operator` `
1294
+ # value``. * The operator must be `EQUALS (=)`. * Supported fields: - `
1295
+ # campaignId` - `entityStatus` Examples: * All insertion orders under a campaign:
1296
+ # `campaignId="1234"` * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED`
1297
+ # insertion orders under an advertiser: `(entityStatus="ENTITY_STATUS_ACTIVE" OR
1298
+ # entityStatus="ENTITY_STATUS_PAUSED")` The length of this field should be no
1299
+ # more than 500 characters.
1328
1300
  # @param [String] order_by
1329
- # Field by which to sort the list.
1330
- # Acceptable values are:
1331
- # * "displayName" (default)
1332
- # * "entityStatus"
1333
- # The default sorting order is ascending. To specify descending order for
1334
- # a field, a suffix "desc" should be added to the field name. Example:
1335
- # `displayName desc`.
1301
+ # Field by which to sort the list. Acceptable values are: * "displayName" (
1302
+ # default) * "entityStatus" The default sorting order is ascending. To specify
1303
+ # descending order for a field, a suffix "desc" should be added to the field
1304
+ # name. Example: `displayName desc`.
1336
1305
  # @param [Fixnum] page_size
1337
1306
  # Requested page size. Must be between `1` and `100`. If unspecified will
1338
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
1339
- # is specified.
1307
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
1308
+ # specified.
1340
1309
  # @param [String] page_token
1341
- # A token identifying a page of results the server should return.
1342
- # Typically, this is the value of
1343
- # next_page_token returned
1344
- # from the previous call to `ListInsertionOrders` method. If not specified,
1345
- # the first page of results will be returned.
1310
+ # A token identifying a page of results the server should return. Typically,
1311
+ # this is the value of next_page_token returned from the previous call to `
1312
+ # ListInsertionOrders` method. If not specified, the first page of results will
1313
+ # be returned.
1346
1314
  # @param [String] fields
1347
1315
  # Selector specifying which fields to include in a partial response.
1348
1316
  # @param [String] quota_user
@@ -1374,8 +1342,8 @@ module Google
1374
1342
  execute_or_queue_command(command, &block)
1375
1343
  end
1376
1344
 
1377
- # Updates an existing insertion order.
1378
- # Returns the updated insertion order if successful.
1345
+ # Updates an existing insertion order. Returns the updated insertion order if
1346
+ # successful.
1379
1347
  # @param [Fixnum] advertiser_id
1380
1348
  # Output only. The unique ID of the advertiser the insertion order belongs to.
1381
1349
  # @param [Fixnum] insertion_order_id
@@ -1414,10 +1382,10 @@ module Google
1414
1382
  execute_or_queue_command(command, &block)
1415
1383
  end
1416
1384
 
1417
- # Bulk edits targeting options under a single line item.
1418
- # The operation will delete the assigned targeting options provided in
1419
- # BulkEditLineItemAssignedTargetingOptionsRequest.delete_requests and
1420
- # then create the assigned targeting options provided in
1385
+ # Bulk edits targeting options under a single line item. The operation will
1386
+ # delete the assigned targeting options provided in
1387
+ # BulkEditLineItemAssignedTargetingOptionsRequest.delete_requests and then
1388
+ # create the assigned targeting options provided in
1421
1389
  # BulkEditLineItemAssignedTargetingOptionsRequest.create_requests .
1422
1390
  # @param [Fixnum] advertiser_id
1423
1391
  # Required. The ID of the advertiser the line item belongs to.
@@ -1460,44 +1428,32 @@ module Google
1460
1428
  # @param [Fixnum] line_item_id
1461
1429
  # Required. The ID of the line item to list assigned targeting options for.
1462
1430
  # @param [String] filter
1463
- # Allows filtering by assigned targeting option properties.
1464
- # Supported syntax:
1465
- # * Filter expressions are made up of one or more restrictions.
1466
- # * Restrictions can be combined by the logical operator `OR` on the same
1467
- # field.
1468
- # * A restriction has the form of ``field` `operator` `value``.
1469
- # * The operator must be `EQUALS (=)`.
1470
- # * Supported fields:
1471
- # - `targetingType`
1472
- # - `inheritance`
1473
- # Examples:
1474
- # * AssignedTargetingOptions of targeting type
1475
- # TARGETING_TYPE_PROXIMITY_LOCATION_LIST or TARGETING_TYPE_CHANNEL
1476
- # `targetingType="TARGETING_TYPE_PROXIMITY_LOCATION_LIST" OR
1477
- # targetingType="TARGETING_TYPE_CHANNEL"`
1478
- # * AssignedTargetingOptions with inheritance status of NOT_INHERITED or
1479
- # INHERITED_FROM_PARTNER
1480
- # `inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"`
1481
- # The length of this field should be no more than 500 characters.
1431
+ # Allows filtering by assigned targeting option properties. Supported syntax: *
1432
+ # Filter expressions are made up of one or more restrictions. * Restrictions can
1433
+ # be combined by the logical operator `OR` on the same field. * A restriction
1434
+ # has the form of ``field` `operator` `value``. * The operator must be `EQUALS (=
1435
+ # )`. * Supported fields: - `targetingType` - `inheritance` Examples: *
1436
+ # AssignedTargetingOptions of targeting type
1437
+ # TARGETING_TYPE_PROXIMITY_LOCATION_LIST or TARGETING_TYPE_CHANNEL `
1438
+ # targetingType="TARGETING_TYPE_PROXIMITY_LOCATION_LIST" OR targetingType="
1439
+ # TARGETING_TYPE_CHANNEL"` * AssignedTargetingOptions with inheritance status of
1440
+ # NOT_INHERITED or INHERITED_FROM_PARTNER `inheritance="NOT_INHERITED" OR
1441
+ # inheritance="INHERITED_FROM_PARTNER"` The length of this field should be no
1442
+ # more than 500 characters.
1482
1443
  # @param [String] order_by
1483
- # Field by which to sort the list.
1484
- # Acceptable values are:
1485
- # * `targetingType` (default)
1486
- # The default sorting order is ascending. To specify descending order for
1487
- # a field, a suffix "desc" should be added to the field name. Example:
1488
- # `targetingType desc`.
1444
+ # Field by which to sort the list. Acceptable values are: * `targetingType` (
1445
+ # default) The default sorting order is ascending. To specify descending order
1446
+ # for a field, a suffix "desc" should be added to the field name. Example: `
1447
+ # targetingType desc`.
1489
1448
  # @param [Fixnum] page_size
1490
- # Requested page size.
1491
- # The size must be an integer between `1` and `5000`. If unspecified,
1492
- # the default is '5000'. Returns error code `INVALID_ARGUMENT` if an invalid
1493
- # value is specified.
1449
+ # Requested page size. The size must be an integer between `1` and `5000`. If
1450
+ # unspecified, the default is '5000'. Returns error code `INVALID_ARGUMENT` if
1451
+ # an invalid value is specified.
1494
1452
  # @param [String] page_token
1495
- # A token that lets the client fetch the next page of results.
1496
- # Typically, this is the value of
1497
- # next_page_token
1498
- # returned from the previous call to
1499
- # `BulkListLineItemAssignedTargetingOptions` method.
1500
- # If not specified, the first page of results will be returned.
1453
+ # A token that lets the client fetch the next page of results. Typically, this
1454
+ # is the value of next_page_token returned from the previous call to `
1455
+ # BulkListLineItemAssignedTargetingOptions` method. If not specified, the first
1456
+ # page of results will be returned.
1501
1457
  # @param [String] fields
1502
1458
  # Selector specifying which fields to include in a partial response.
1503
1459
  # @param [String] quota_user
@@ -1530,8 +1486,7 @@ module Google
1530
1486
  execute_or_queue_command(command, &block)
1531
1487
  end
1532
1488
 
1533
- # Creates a new line item.
1534
- # Returns the newly created line item if successful.
1489
+ # Creates a new line item. Returns the newly created line item if successful.
1535
1490
  # @param [Fixnum] advertiser_id
1536
1491
  # Output only. The unique ID of the advertiser the line item belongs to.
1537
1492
  # @param [Google::Apis::DisplayvideoV1::LineItem] line_item_object
@@ -1564,11 +1519,9 @@ module Google
1564
1519
  execute_or_queue_command(command, &block)
1565
1520
  end
1566
1521
 
1567
- # Deletes a line item.
1568
- # Returns error code `NOT_FOUND` if the line item does not exist.
1569
- # The line item should be archived first, i.e. set
1570
- # entity_status to `ENTITY_STATUS_ARCHIVED`, to be
1571
- # able to delete it.
1522
+ # Deletes a line item. Returns error code `NOT_FOUND` if the line item does not
1523
+ # exist. The line item should be archived first, i.e. set entity_status to `
1524
+ # ENTITY_STATUS_ARCHIVED`, to be able to delete it.
1572
1525
  # @param [Fixnum] advertiser_id
1573
1526
  # The ID of the advertiser this line item belongs to.
1574
1527
  # @param [Fixnum] line_item_id
@@ -1634,53 +1587,41 @@ module Google
1634
1587
  execute_or_queue_command(command, &block)
1635
1588
  end
1636
1589
 
1637
- # Lists line items in an advertiser.
1638
- # The order is defined by the order_by
1639
- # parameter.
1640
- # If a filter by
1641
- # entity_status is not specified, line items with
1642
- # `ENTITY_STATUS_ARCHIVED` will not be included in the results.
1590
+ # Lists line items in an advertiser. The order is defined by the order_by
1591
+ # parameter. If a filter by entity_status is not specified, line items with `
1592
+ # ENTITY_STATUS_ARCHIVED` will not be included in the results.
1643
1593
  # @param [Fixnum] advertiser_id
1644
1594
  # Required. The ID of the advertiser to list line items for.
1645
1595
  # @param [String] filter
1646
- # Allows filtering by line item properties.
1647
- # Supported syntax:
1648
- # * Filter expressions are made up of one or more restrictions.
1649
- # * Restrictions can be combined by `AND` or `OR` logical operators. A
1650
- # sequence of restrictions implicitly uses `AND`.
1651
- # * A restriction has the form of ``field` `operator` `value``.
1652
- # * The operator must be `EQUALS (=)`.
1653
- # * Supported fields:
1654
- # - `campaignId`
1655
- # - `insertionOrderId`
1656
- # - `entityStatus`
1657
- # - `lineItemType`.
1658
- # Examples:
1659
- # * All line items under an insertion order: `insertionOrderId="1234"`
1660
- # * All `ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED`
1661
- # and `LINE_ITEM_TYPE_DISPLAY_DEFAULT` line items under an advertiser:
1662
- # `(entityStatus="ENTITY_STATUS_ACTIVE" OR
1663
- # entityStatus="ENTITY_STATUS_PAUSED") AND
1664
- # lineItemType="LINE_ITEM_TYPE_DISPLAY_DEFAULT"`
1665
- # The length of this field should be no more than 500 characters.
1596
+ # Allows filtering by line item properties. Supported syntax: * Filter
1597
+ # expressions are made up of one or more restrictions. * Restrictions can be
1598
+ # combined by `AND` or `OR` logical operators. A sequence of restrictions
1599
+ # implicitly uses `AND`. * A restriction has the form of ``field` `operator` `
1600
+ # value``. * The operator used on `flight.dateRange.endDate` must be LESS THAN (<
1601
+ # ). * The operators used on all other fields must be `EQUALS (=)`. * Supported
1602
+ # fields: - `campaignId` - `insertionOrderId` - `entityStatus` - `lineItemType` -
1603
+ # `flight.dateRange.endDate` (input formatted as YYYY-MM-DD) Examples: * All
1604
+ # line items under an insertion order: `insertionOrderId="1234"` * All `
1605
+ # ENTITY_STATUS_ACTIVE` or `ENTITY_STATUS_PAUSED` and `
1606
+ # LINE_ITEM_TYPE_DISPLAY_DEFAULT` line items under an advertiser: `(entityStatus=
1607
+ # "ENTITY_STATUS_ACTIVE" OR entityStatus="ENTITY_STATUS_PAUSED") AND
1608
+ # lineItemType="LINE_ITEM_TYPE_DISPLAY_DEFAULT"` * All line items whose flight
1609
+ # dates end before March 28, 2019: `flight.dateRange.endDate<"2019-03-28"` The
1610
+ # length of this field should be no more than 500 characters.
1666
1611
  # @param [String] order_by
1667
- # Field by which to sort the list.
1668
- # Acceptable values are:
1669
- # * "displayName" (default)
1670
- # * "entityStatus"
1671
- # The default sorting order is ascending. To specify descending order for
1672
- # a field, a suffix "desc" should be added to the field name. Example:
1673
- # `displayName desc`.
1612
+ # Field by which to sort the list. Acceptable values are: * "displayName" (
1613
+ # default) * "entityStatus" * “flight.dateRange.endDate” The default sorting
1614
+ # order is ascending. To specify descending order for a field, a suffix "desc"
1615
+ # should be added to the field name. Example: `displayName desc`.
1674
1616
  # @param [Fixnum] page_size
1675
1617
  # Requested page size. Must be between `1` and `100`. If unspecified will
1676
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
1677
- # is specified.
1618
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
1619
+ # specified.
1678
1620
  # @param [String] page_token
1679
- # A token identifying a page of results the server should return.
1680
- # Typically, this is the value of
1681
- # next_page_token
1682
- # returned from the previous call to `ListLineItems` method.
1683
- # If not specified, the first page of results will be returned.
1621
+ # A token identifying a page of results the server should return. Typically,
1622
+ # this is the value of next_page_token returned from the previous call to `
1623
+ # ListLineItems` method. If not specified, the first page of results will be
1624
+ # returned.
1684
1625
  # @param [String] fields
1685
1626
  # Selector specifying which fields to include in a partial response.
1686
1627
  # @param [String] quota_user
@@ -1712,8 +1653,7 @@ module Google
1712
1653
  execute_or_queue_command(command, &block)
1713
1654
  end
1714
1655
 
1715
- # Updates an existing line item.
1716
- # Returns the updated line item if successful.
1656
+ # Updates an existing line item. Returns the updated line item if successful.
1717
1657
  # @param [Fixnum] advertiser_id
1718
1658
  # Output only. The unique ID of the advertiser the line item belongs to.
1719
1659
  # @param [Fixnum] line_item_id
@@ -1752,8 +1692,8 @@ module Google
1752
1692
  execute_or_queue_command(command, &block)
1753
1693
  end
1754
1694
 
1755
- # Assigns a targeting option to a line item.
1756
- # Returns the assigned targeting option if successful.
1695
+ # Assigns a targeting option to a line item. Returns the assigned targeting
1696
+ # option if successful.
1757
1697
  # @param [Fixnum] advertiser_id
1758
1698
  # Required. The ID of the advertiser the line item belongs to.
1759
1699
  # @param [Fixnum] line_item_id
@@ -1879,39 +1819,30 @@ module Google
1879
1819
  # @param [String] targeting_type
1880
1820
  # Required. Identifies the type of assigned targeting options to list.
1881
1821
  # @param [String] filter
1882
- # Allows filtering by assigned targeting option properties.
1883
- # Supported syntax:
1884
- # * Filter expressions are made up of one or more restrictions.
1885
- # * Restrictions can be combined by the logical operator `OR`.
1886
- # * A restriction has the form of ``field` `operator` `value``.
1887
- # * The operator must be `EQUALS (=)`.
1888
- # * Supported fields:
1889
- # - `assignedTargetingOptionId`
1890
- # - `inheritance`
1891
- # Examples:
1892
- # * AssignedTargetingOptions with ID 1 or 2
1893
- # `assignedTargetingOptionId="1" OR assignedTargetingOptionId="2"`
1894
- # * AssignedTargetingOptions with inheritance status of NOT_INHERITED or
1895
- # INHERITED_FROM_PARTNER
1896
- # `inheritance="NOT_INHERITED" OR inheritance="INHERITED_FROM_PARTNER"`
1897
- # The length of this field should be no more than 500 characters.
1822
+ # Allows filtering by assigned targeting option properties. Supported syntax: *
1823
+ # Filter expressions are made up of one or more restrictions. * Restrictions can
1824
+ # be combined by the logical operator `OR`. * A restriction has the form of ``
1825
+ # field` `operator` `value``. * The operator must be `EQUALS (=)`. * Supported
1826
+ # fields: - `assignedTargetingOptionId` - `inheritance` Examples: *
1827
+ # AssignedTargetingOptions with ID 1 or 2 `assignedTargetingOptionId="1" OR
1828
+ # assignedTargetingOptionId="2"` * AssignedTargetingOptions with inheritance
1829
+ # status of NOT_INHERITED or INHERITED_FROM_PARTNER `inheritance="NOT_INHERITED"
1830
+ # OR inheritance="INHERITED_FROM_PARTNER"` The length of this field should be no
1831
+ # more than 500 characters.
1898
1832
  # @param [String] order_by
1899
- # Field by which to sort the list.
1900
- # Acceptable values are:
1901
- # * `assignedTargetingOptionId` (default)
1902
- # The default sorting order is ascending. To specify descending order for
1903
- # a field, a suffix "desc" should be added to the field name. Example:
1904
- # `assignedTargetingOptionId desc`.
1833
+ # Field by which to sort the list. Acceptable values are: * `
1834
+ # assignedTargetingOptionId` (default) The default sorting order is ascending.
1835
+ # To specify descending order for a field, a suffix "desc" should be added to
1836
+ # the field name. Example: `assignedTargetingOptionId desc`.
1905
1837
  # @param [Fixnum] page_size
1906
1838
  # Requested page size. Must be between `1` and `100`. If unspecified will
1907
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
1908
- # is specified.
1839
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
1840
+ # specified.
1909
1841
  # @param [String] page_token
1910
- # A token identifying a page of results the server should return.
1911
- # Typically, this is the value of
1912
- # next_page_token
1913
- # returned from the previous call to `ListLineItemAssignedTargetingOptions`
1914
- # method. If not specified, the first page of results will be returned.
1842
+ # A token identifying a page of results the server should return. Typically,
1843
+ # this is the value of next_page_token returned from the previous call to `
1844
+ # ListLineItemAssignedTargetingOptions` method. If not specified, the first page
1845
+ # of results will be returned.
1915
1846
  # @param [String] fields
1916
1847
  # Selector specifying which fields to include in a partial response.
1917
1848
  # @param [String] quota_user
@@ -2018,38 +1949,27 @@ module Google
2018
1949
  # Required. The ID of the DV360 advertiser to which the fetched location lists
2019
1950
  # belong.
2020
1951
  # @param [String] filter
2021
- # Allows filtering by location list fields.
2022
- # Supported syntax:
2023
- # * Filter expressions are made up of one or more restrictions.
2024
- # * Restrictions can be combined by `AND` or `OR` logical operators. A
2025
- # sequence of restrictions implicitly uses `AND`.
2026
- # * A restriction has the form of ``field` `operator` `value``.
2027
- # * The operator must be `EQUALS (=)`.
2028
- # * Supported fields:
2029
- # - `locationType`
2030
- # Examples:
2031
- # * All regional location list:
2032
- # `locationType="TARGETING_LOCATION_TYPE_REGIONAL"`
2033
- # * All proximity location list:
2034
- # `locationType="TARGETING_LOCATION_TYPE_PROXIMITY"`
1952
+ # Allows filtering by location list fields. Supported syntax: * Filter
1953
+ # expressions are made up of one or more restrictions. * Restrictions can be
1954
+ # combined by `AND` or `OR` logical operators. A sequence of restrictions
1955
+ # implicitly uses `AND`. * A restriction has the form of ``field` `operator` `
1956
+ # value``. * The operator must be `EQUALS (=)`. * Supported fields: - `
1957
+ # locationType` Examples: * All regional location list: `locationType="
1958
+ # TARGETING_LOCATION_TYPE_REGIONAL"` * All proximity location list: `
1959
+ # locationType="TARGETING_LOCATION_TYPE_PROXIMITY"`
2035
1960
  # @param [String] order_by
2036
- # Field by which to sort the list.
2037
- # Acceptable values are:
2038
- # * `locationListId` (default)
2039
- # * `displayName`
2040
- # The default sorting order is ascending. To specify descending order for
2041
- # a field, a suffix "desc" should be added to the field name. Example:
2042
- # `displayName desc`.
1961
+ # Field by which to sort the list. Acceptable values are: * `locationListId` (
1962
+ # default) * `displayName` The default sorting order is ascending. To specify
1963
+ # descending order for a field, a suffix "desc" should be added to the field
1964
+ # name. Example: `displayName desc`.
2043
1965
  # @param [Fixnum] page_size
2044
- # Requested page size. Must be between `1` and `100`.
2045
- # Defaults to `100` if not set. Returns error code `INVALID_ARGUMENT` if an
2046
- # invalid value is specified.
1966
+ # Requested page size. Must be between `1` and `100`. Defaults to `100` if not
1967
+ # set. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.
2047
1968
  # @param [String] page_token
2048
- # A token identifying a page of results the server should return.
2049
- # Typically, this is the value of
2050
- # next_page_token
2051
- # returned from the previous call to `ListLocationLists` method.
2052
- # If not specified, the first page of results will be returned.
1969
+ # A token identifying a page of results the server should return. Typically,
1970
+ # this is the value of next_page_token returned from the previous call to `
1971
+ # ListLocationLists` method. If not specified, the first page of results will be
1972
+ # returned.
2053
1973
  # @param [String] fields
2054
1974
  # Selector specifying which fields to include in a partial response.
2055
1975
  # @param [String] quota_user
@@ -2120,12 +2040,11 @@ module Google
2120
2040
  execute_or_queue_command(command, &block)
2121
2041
  end
2122
2042
 
2123
- # Bulk edits multiple assignments between locations and a single location
2124
- # list.
2043
+ # Bulk edits multiple assignments between locations and a single location list.
2125
2044
  # The operation will delete the assigned locations provided in
2126
- # BulkEditAssignedLocationsRequest.deleted_assigned_locations and then
2127
- # create the assigned locations provided in
2128
- # BulkEditAssignedLocationsRequest.created_assigned_locations.
2045
+ # BulkEditAssignedLocationsRequest.deleted_assigned_locations and then create
2046
+ # the assigned locations provided in BulkEditAssignedLocationsRequest.
2047
+ # created_assigned_locations.
2129
2048
  # @param [Fixnum] advertiser_id
2130
2049
  # Required. The ID of the DV360 advertiser to which the location list belongs.
2131
2050
  # @param [Fixnum] location_list_id
@@ -2239,32 +2158,26 @@ module Google
2239
2158
  # @param [Fixnum] location_list_id
2240
2159
  # Required. The ID of the location list to which these assignments are assigned.
2241
2160
  # @param [String] filter
2242
- # Allows filtering by location list assignment fields.
2243
- # Supported syntax:
2244
- # * Filter expressions are made up of one or more restrictions.
2245
- # * Restrictions can be combined by the logical operator `OR`.
2246
- # * A restriction has the form of ``field` `operator` `value``.
2247
- # * The operator must be `EQUALS (=)`.
2248
- # * Supported fields:
2249
- # - `assignedLocationId`
2250
- # The length of this field should be no more than 500 characters.
2161
+ # Allows filtering by location list assignment fields. Supported syntax: *
2162
+ # Filter expressions are made up of one or more restrictions. * Restrictions can
2163
+ # be combined by the logical operator `OR`. * A restriction has the form of ``
2164
+ # field` `operator` `value``. * The operator must be `EQUALS (=)`. * Supported
2165
+ # fields: - `assignedLocationId` The length of this field should be no more than
2166
+ # 500 characters.
2251
2167
  # @param [String] order_by
2252
- # Field by which to sort the list.
2253
- # Acceptable values are:
2254
- # * `assignedLocationId` (default)
2255
- # The default sorting order is ascending. To specify descending order for a
2256
- # field, a suffix " desc" should be added to the field name. Example:
2257
- # `assignedLocationId desc`.
2168
+ # Field by which to sort the list. Acceptable values are: * `assignedLocationId`
2169
+ # (default) The default sorting order is ascending. To specify descending order
2170
+ # for a field, a suffix " desc" should be added to the field name. Example: `
2171
+ # assignedLocationId desc`.
2258
2172
  # @param [Fixnum] page_size
2259
2173
  # Requested page size. Must be between `1` and `100`. If unspecified will
2260
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
2261
- # is specified.
2174
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
2175
+ # specified.
2262
2176
  # @param [String] page_token
2263
- # A token identifying a page of results the server should return.
2264
- # Typically, this is the value of
2265
- # next_page_token
2266
- # returned from the previous call to `ListAssignedLocations`
2267
- # method. If not specified, the first page of results will be returned.
2177
+ # A token identifying a page of results the server should return. Typically,
2178
+ # this is the value of next_page_token returned from the previous call to `
2179
+ # ListAssignedLocations` method. If not specified, the first page of results
2180
+ # will be returned.
2268
2181
  # @param [String] fields
2269
2182
  # Selector specifying which fields to include in a partial response.
2270
2183
  # @param [String] quota_user
@@ -2301,8 +2214,7 @@ module Google
2301
2214
  # keyword list if successful.
2302
2215
  # @param [Fixnum] advertiser_id
2303
2216
  # Required. The ID of the DV360 advertiser to which the negative keyword list
2304
- # will
2305
- # belong.
2217
+ # will belong.
2306
2218
  # @param [Google::Apis::DisplayvideoV1::NegativeKeywordList] negative_keyword_list_object
2307
2219
  # @param [String] fields
2308
2220
  # Selector specifying which fields to include in a partial response.
@@ -2333,8 +2245,8 @@ module Google
2333
2245
  execute_or_queue_command(command, &block)
2334
2246
  end
2335
2247
 
2336
- # Deletes a negative keyword list given an advertiser ID and a negative
2337
- # keyword list ID.
2248
+ # Deletes a negative keyword list given an advertiser ID and a negative keyword
2249
+ # list ID.
2338
2250
  # @param [Fixnum] advertiser_id
2339
2251
  # Required. The ID of the DV360 advertiser to which the negative keyword list
2340
2252
  # belongs.
@@ -2372,8 +2284,7 @@ module Google
2372
2284
  # list ID.
2373
2285
  # @param [Fixnum] advertiser_id
2374
2286
  # Required. The ID of the DV360 advertiser to which the fetched negative keyword
2375
- # list
2376
- # belongs.
2287
+ # list belongs.
2377
2288
  # @param [Fixnum] negative_keyword_list_id
2378
2289
  # Required. The ID of the negative keyword list to fetch.
2379
2290
  # @param [String] fields
@@ -2407,18 +2318,15 @@ module Google
2407
2318
  # Lists negative keyword lists based on a given advertiser id.
2408
2319
  # @param [Fixnum] advertiser_id
2409
2320
  # Required. The ID of the DV360 advertiser to which the fetched negative keyword
2410
- # lists
2411
- # belong.
2321
+ # lists belong.
2412
2322
  # @param [Fixnum] page_size
2413
- # Requested page size. Must be between `1` and `100`.
2414
- # Defaults to `100` if not set. Returns error code `INVALID_ARGUMENT` if an
2415
- # invalid value is specified.
2323
+ # Requested page size. Must be between `1` and `100`. Defaults to `100` if not
2324
+ # set. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.
2416
2325
  # @param [String] page_token
2417
- # A token identifying a page of results the server should return.
2418
- # Typically, this is the value of
2419
- # next_page_token
2420
- # returned from the previous call to `ListNegativeKeywordLists` method.
2421
- # If not specified, the first page of results will be returned.
2326
+ # A token identifying a page of results the server should return. Typically,
2327
+ # this is the value of next_page_token returned from the previous call to `
2328
+ # ListNegativeKeywordLists` method. If not specified, the first page of results
2329
+ # will be returned.
2422
2330
  # @param [String] fields
2423
2331
  # Selector specifying which fields to include in a partial response.
2424
2332
  # @param [String] quota_user
@@ -2448,8 +2356,8 @@ module Google
2448
2356
  execute_or_queue_command(command, &block)
2449
2357
  end
2450
2358
 
2451
- # Updates a negative keyword list. Returns the updated negative keyword list
2452
- # if successful.
2359
+ # Updates a negative keyword list. Returns the updated negative keyword list if
2360
+ # successful.
2453
2361
  # @param [Fixnum] advertiser_id
2454
2362
  # Required. The ID of the DV360 advertiser to which the negative keyword list
2455
2363
  # belongs.
@@ -2490,21 +2398,18 @@ module Google
2490
2398
  execute_or_queue_command(command, &block)
2491
2399
  end
2492
2400
 
2493
- # Bulk edits negative keywords in a single negative keyword list.
2494
- # The operation will delete the negative keywords provided in
2495
- # BulkEditNegativeKeywordsRequest.deleted_negative_keywords and then
2496
- # create the negative keywords provided in
2497
- # BulkEditNegativeKeywordsRequest.created_negative_keywords.
2498
- # This operation is guaranteed to be atomic and will never result in a
2499
- # partial success or partial failure.
2401
+ # Bulk edits negative keywords in a single negative keyword list. The operation
2402
+ # will delete the negative keywords provided in BulkEditNegativeKeywordsRequest.
2403
+ # deleted_negative_keywords and then create the negative keywords provided in
2404
+ # BulkEditNegativeKeywordsRequest.created_negative_keywords. This operation is
2405
+ # guaranteed to be atomic and will never result in a partial success or partial
2406
+ # failure.
2500
2407
  # @param [Fixnum] advertiser_id
2501
2408
  # Required. The ID of the DV360 advertiser to which the parent negative keyword
2502
- # list
2503
- # belongs.
2409
+ # list belongs.
2504
2410
  # @param [Fixnum] negative_keyword_list_id
2505
2411
  # Required. The ID of the parent negative keyword list to which the negative
2506
- # keywords
2507
- # belong.
2412
+ # keywords belong.
2508
2413
  # @param [Google::Apis::DisplayvideoV1::BulkEditNegativeKeywordsRequest] bulk_edit_negative_keywords_request_object
2509
2414
  # @param [String] fields
2510
2415
  # Selector specifying which fields to include in a partial response.
@@ -2539,12 +2444,10 @@ module Google
2539
2444
  # Creates a negative keyword in a negative keyword list.
2540
2445
  # @param [Fixnum] advertiser_id
2541
2446
  # Required. The ID of the DV360 advertiser to which the parent negative keyword
2542
- # list
2543
- # belongs.
2447
+ # list belongs.
2544
2448
  # @param [Fixnum] negative_keyword_list_id
2545
2449
  # Required. The ID of the parent negative keyword list in which the negative
2546
- # keyword
2547
- # will be created.
2450
+ # keyword will be created.
2548
2451
  # @param [Google::Apis::DisplayvideoV1::NegativeKeyword] negative_keyword_object
2549
2452
  # @param [String] fields
2550
2453
  # Selector specifying which fields to include in a partial response.
@@ -2579,12 +2482,10 @@ module Google
2579
2482
  # Deletes a negative keyword from a negative keyword list.
2580
2483
  # @param [Fixnum] advertiser_id
2581
2484
  # Required. The ID of the DV360 advertiser to which the parent negative keyword
2582
- # list
2583
- # belongs.
2485
+ # list belongs.
2584
2486
  # @param [Fixnum] negative_keyword_list_id
2585
2487
  # Required. The ID of the parent negative keyword list to which the negative
2586
- # keyword
2587
- # belongs.
2488
+ # keyword belongs.
2588
2489
  # @param [String] keyword_value
2589
2490
  # Required. The keyword value of the negative keyword to delete.
2590
2491
  # @param [String] fields
@@ -2619,42 +2520,31 @@ module Google
2619
2520
  # Lists negative keywords in a negative keyword list.
2620
2521
  # @param [Fixnum] advertiser_id
2621
2522
  # Required. The ID of the DV360 advertiser to which the parent negative keyword
2622
- # list
2623
- # belongs.
2523
+ # list belongs.
2624
2524
  # @param [Fixnum] negative_keyword_list_id
2625
2525
  # Required. The ID of the parent negative keyword list to which the requested
2626
- # negative
2627
- # keywords belong.
2526
+ # negative keywords belong.
2628
2527
  # @param [String] filter
2629
- # Allows filtering by negative keyword fields.
2630
- # Supported syntax:
2631
- # * Filter expressions for negative keyword currently can only contain at
2632
- # most one
2633
- # * restriction.
2634
- # * A restriction has the form of ``field` `operator` `value``.
2635
- # * The operator must be `CONTAINS (:)`.
2636
- # * Supported fields:
2637
- # - `keywordValue`
2638
- # Examples:
2639
- # * All negative keywords for which the keyword value contains "google":
2640
- # `keywordValue : "google"`
2528
+ # Allows filtering by negative keyword fields. Supported syntax: * Filter
2529
+ # expressions for negative keyword currently can only contain at most one *
2530
+ # restriction. * A restriction has the form of ``field` `operator` `value``. *
2531
+ # The operator must be `CONTAINS (:)`. * Supported fields: - `keywordValue`
2532
+ # Examples: * All negative keywords for which the keyword value contains "google"
2533
+ # : `keywordValue : "google"`
2641
2534
  # @param [String] order_by
2642
- # Field by which to sort the list.
2643
- # Acceptable values are:
2644
- # * `keywordValue` (default)
2645
- # The default sorting order is ascending. To specify descending order for a
2646
- # field, a suffix " desc" should be added to the field name. Example:
2647
- # `keywordValue desc`.
2535
+ # Field by which to sort the list. Acceptable values are: * `keywordValue` (
2536
+ # default) The default sorting order is ascending. To specify descending order
2537
+ # for a field, a suffix " desc" should be added to the field name. Example: `
2538
+ # keywordValue desc`.
2648
2539
  # @param [Fixnum] page_size
2649
2540
  # Requested page size. Must be between `1` and `100`. If unspecified will
2650
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
2651
- # is specified.
2541
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
2542
+ # specified.
2652
2543
  # @param [String] page_token
2653
- # A token identifying a page of results the server should return.
2654
- # Typically, this is the value of
2655
- # next_page_token returned
2656
- # from the previous call to `ListNegativeKeywords` method. If not specified,
2657
- # the first page of results will be returned.
2544
+ # A token identifying a page of results the server should return. Typically,
2545
+ # this is the value of next_page_token returned from the previous call to `
2546
+ # ListNegativeKeywords` method. If not specified, the first page of results will
2547
+ # be returned.
2658
2548
  # @param [String] fields
2659
2549
  # Selector specifying which fields to include in a partial response.
2660
2550
  # @param [String] quota_user
@@ -2687,8 +2577,8 @@ module Google
2687
2577
  execute_or_queue_command(command, &block)
2688
2578
  end
2689
2579
 
2690
- # Assigns a targeting option to an advertiser.
2691
- # Returns the assigned targeting option if successful.
2580
+ # Assigns a targeting option to an advertiser. Returns the assigned targeting
2581
+ # option if successful.
2692
2582
  # @param [Fixnum] advertiser_id
2693
2583
  # Required. The ID of the advertiser.
2694
2584
  # @param [String] targeting_type
@@ -2803,35 +2693,27 @@ module Google
2803
2693
  # @param [String] targeting_type
2804
2694
  # Required. Identifies the type of assigned targeting options to list.
2805
2695
  # @param [String] filter
2806
- # Allows filtering by assigned targeting option properties.
2807
- # Supported syntax:
2808
- # * Filter expressions are made up of one or more restrictions.
2809
- # * Restrictions can be combined by the logical operator `OR`.
2810
- # * A restriction has the form of ``field` `operator` `value``.
2811
- # * The operator must be `EQUALS (=)`.
2812
- # * Supported fields:
2813
- # - `assignedTargetingOptionId`
2814
- # Examples:
2815
- # * AssignedTargetingOption with ID 123456
2816
- # `assignedTargetingOptionId="123456"`
2817
- # The length of this field should be no more than 500 characters.
2696
+ # Allows filtering by assigned targeting option properties. Supported syntax: *
2697
+ # Filter expressions are made up of one or more restrictions. * Restrictions can
2698
+ # be combined by the logical operator `OR`. * A restriction has the form of ``
2699
+ # field` `operator` `value``. * The operator must be `EQUALS (=)`. * Supported
2700
+ # fields: - `assignedTargetingOptionId` Examples: * AssignedTargetingOption with
2701
+ # ID 123456 `assignedTargetingOptionId="123456"` The length of this field should
2702
+ # be no more than 500 characters.
2818
2703
  # @param [String] order_by
2819
- # Field by which to sort the list.
2820
- # Acceptable values are:
2821
- # * `assignedTargetingOptionId` (default)
2822
- # The default sorting order is ascending. To specify descending order for
2823
- # a field, a suffix "desc" should be added to the field name. Example:
2824
- # `assignedTargetingOptionId desc`.
2704
+ # Field by which to sort the list. Acceptable values are: * `
2705
+ # assignedTargetingOptionId` (default) The default sorting order is ascending.
2706
+ # To specify descending order for a field, a suffix "desc" should be added to
2707
+ # the field name. Example: `assignedTargetingOptionId desc`.
2825
2708
  # @param [Fixnum] page_size
2826
2709
  # Requested page size. Must be between `1` and `100`. If unspecified will
2827
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
2828
- # is specified.
2710
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
2711
+ # specified.
2829
2712
  # @param [String] page_token
2830
- # A token identifying a page of results the server should return.
2831
- # Typically, this is the value of
2832
- # next_page_token
2833
- # returned from the previous call to `ListAdvertiserAssignedTargetingOptions`
2834
- # method. If not specified, the first page of results will be returned.
2713
+ # A token identifying a page of results the server should return. Typically,
2714
+ # this is the value of next_page_token returned from the previous call to `
2715
+ # ListAdvertiserAssignedTargetingOptions` method. If not specified, the first
2716
+ # page of results will be returned.
2835
2717
  # @param [String] fields
2836
2718
  # Selector specifying which fields to include in a partial response.
2837
2719
  # @param [String] quota_user
@@ -2868,8 +2750,7 @@ module Google
2868
2750
  # @param [Fixnum] combined_audience_id
2869
2751
  # Required. The ID of the combined audience to fetch.
2870
2752
  # @param [Fixnum] advertiser_id
2871
- # The ID of the advertiser that has access to the fetched combined
2872
- # audience.
2753
+ # The ID of the advertiser that has access to the fetched combined audience.
2873
2754
  # @param [Fixnum] partner_id
2874
2755
  # The ID of the partner that has access to the fetched combined audience.
2875
2756
  # @param [String] fields
@@ -2901,43 +2782,31 @@ module Google
2901
2782
  execute_or_queue_command(command, &block)
2902
2783
  end
2903
2784
 
2904
- # Lists combined audiences.
2905
- # The order is defined by the
2906
- # order_by parameter.
2785
+ # Lists combined audiences. The order is defined by the order_by parameter.
2907
2786
  # @param [Fixnum] advertiser_id
2908
- # The ID of the advertiser that has access to the fetched combined
2909
- # audiences.
2787
+ # The ID of the advertiser that has access to the fetched combined audiences.
2910
2788
  # @param [String] filter
2911
- # Allows filtering by combined audience fields.
2912
- # Supported syntax:
2913
- # * Filter expressions for combined audiences currently can only contain at
2914
- # most one restriction.
2915
- # * A restriction has the form of ``field` `operator` `value``.
2916
- # * The operator must be `CONTAINS (:)`.
2917
- # * Supported fields:
2918
- # - `displayName`
2919
- # Examples:
2920
- # * All combined audiences for which the display name contains "Google":
2921
- # `displayName : "Google"`.
2922
- # The length of this field should be no more than 500 characters.
2789
+ # Allows filtering by combined audience fields. Supported syntax: * Filter
2790
+ # expressions for combined audiences currently can only contain at most one
2791
+ # restriction. * A restriction has the form of ``field` `operator` `value``. *
2792
+ # The operator must be `CONTAINS (:)`. * Supported fields: - `displayName`
2793
+ # Examples: * All combined audiences for which the display name contains "Google"
2794
+ # : `displayName : "Google"`. The length of this field should be no more than
2795
+ # 500 characters.
2923
2796
  # @param [String] order_by
2924
- # Field by which to sort the list.
2925
- # Acceptable values are:
2926
- # * `combinedAudienceId` (default)
2927
- # * `displayName`
2928
- # The default sorting order is ascending. To specify descending order for
2929
- # a field, a suffix "desc" should be added to the field name. Example:
2930
- # `displayName desc`.
2797
+ # Field by which to sort the list. Acceptable values are: * `combinedAudienceId`
2798
+ # (default) * `displayName` The default sorting order is ascending. To specify
2799
+ # descending order for a field, a suffix "desc" should be added to the field
2800
+ # name. Example: `displayName desc`.
2931
2801
  # @param [Fixnum] page_size
2932
2802
  # Requested page size. Must be between `1` and `100`. If unspecified will
2933
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
2934
- # is specified.
2803
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
2804
+ # specified.
2935
2805
  # @param [String] page_token
2936
- # A token identifying a page of results the server should return.
2937
- # Typically, this is the value of
2938
- # next_page_token
2939
- # returned from the previous call to `ListCombinedAudiences` method.
2940
- # If not specified, the first page of results will be returned.
2806
+ # A token identifying a page of results the server should return. Typically,
2807
+ # this is the value of next_page_token returned from the previous call to `
2808
+ # ListCombinedAudiences` method. If not specified, the first page of results
2809
+ # will be returned.
2941
2810
  # @param [Fixnum] partner_id
2942
2811
  # The ID of the partner that has access to the fetched combined audiences.
2943
2812
  # @param [String] fields
@@ -2976,8 +2845,7 @@ module Google
2976
2845
  # @param [Fixnum] custom_list_id
2977
2846
  # Required. The ID of the custom list to fetch.
2978
2847
  # @param [Fixnum] advertiser_id
2979
- # The ID of the DV360 advertiser that has access to the fetched custom
2980
- # lists.
2848
+ # The ID of the DV360 advertiser that has access to the fetched custom lists.
2981
2849
  # @param [String] fields
2982
2850
  # Selector specifying which fields to include in a partial response.
2983
2851
  # @param [String] quota_user
@@ -3006,43 +2874,30 @@ module Google
3006
2874
  execute_or_queue_command(command, &block)
3007
2875
  end
3008
2876
 
3009
- # Lists custom lists.
3010
- # The order is defined by the order_by
3011
- # parameter.
2877
+ # Lists custom lists. The order is defined by the order_by parameter.
3012
2878
  # @param [Fixnum] advertiser_id
3013
- # The ID of the DV360 advertiser that has access to the fetched custom
3014
- # lists.
2879
+ # The ID of the DV360 advertiser that has access to the fetched custom lists.
3015
2880
  # @param [String] filter
3016
- # Allows filtering by custom list fields.
3017
- # Supported syntax:
3018
- # * Filter expressions for custom lists currently can only contain at
3019
- # most one restriction.
3020
- # * A restriction has the form of ``field` `operator` `value``.
3021
- # * The operator must be `CONTAINS (:)`.
3022
- # * Supported fields:
3023
- # - `displayName`
3024
- # Examples:
3025
- # * All custom lists for which the display name contains "Google":
3026
- # `displayName : "Google"`.
2881
+ # Allows filtering by custom list fields. Supported syntax: * Filter expressions
2882
+ # for custom lists currently can only contain at most one restriction. * A
2883
+ # restriction has the form of ``field` `operator` `value``. * The operator must
2884
+ # be `CONTAINS (:)`. * Supported fields: - `displayName` Examples: * All custom
2885
+ # lists for which the display name contains "Google": `displayName : "Google"`.
3027
2886
  # The length of this field should be no more than 500 characters.
3028
2887
  # @param [String] order_by
3029
- # Field by which to sort the list.
3030
- # Acceptable values are:
3031
- # * `customListId` (default)
3032
- # * `displayName`
3033
- # The default sorting order is ascending. To specify descending order for
3034
- # a field, a suffix "desc" should be added to the field name. Example:
3035
- # `displayName desc`.
2888
+ # Field by which to sort the list. Acceptable values are: * `customListId` (
2889
+ # default) * `displayName` The default sorting order is ascending. To specify
2890
+ # descending order for a field, a suffix "desc" should be added to the field
2891
+ # name. Example: `displayName desc`.
3036
2892
  # @param [Fixnum] page_size
3037
2893
  # Requested page size. Must be between `1` and `100`. If unspecified will
3038
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
3039
- # is specified.
2894
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
2895
+ # specified.
3040
2896
  # @param [String] page_token
3041
- # A token identifying a page of results the server should return.
3042
- # Typically, this is the value of
3043
- # next_page_token
3044
- # returned from the previous call to `ListCustomLists` method.
3045
- # If not specified, the first page of results will be returned.
2897
+ # A token identifying a page of results the server should return. Typically,
2898
+ # this is the value of next_page_token returned from the previous call to `
2899
+ # ListCustomLists` method. If not specified, the first page of results will be
2900
+ # returned.
3046
2901
  # @param [String] fields
3047
2902
  # Selector specifying which fields to include in a partial response.
3048
2903
  # @param [String] quota_user
@@ -3078,11 +2933,11 @@ module Google
3078
2933
  # @param [Fixnum] first_and_third_party_audience_id
3079
2934
  # Required. The ID of the first and third party audience to fetch.
3080
2935
  # @param [Fixnum] advertiser_id
3081
- # The ID of the advertiser that has access to the fetched first and
3082
- # third party audience.
2936
+ # The ID of the advertiser that has access to the fetched first and third party
2937
+ # audience.
3083
2938
  # @param [Fixnum] partner_id
3084
- # The ID of the partner that has access to the fetched first and
3085
- # third party audience.
2939
+ # The ID of the partner that has access to the fetched first and third party
2940
+ # audience.
3086
2941
  # @param [String] fields
3087
2942
  # Selector specifying which fields to include in a partial response.
3088
2943
  # @param [String] quota_user
@@ -3112,46 +2967,36 @@ module Google
3112
2967
  execute_or_queue_command(command, &block)
3113
2968
  end
3114
2969
 
3115
- # Lists first and third party audiences.
3116
- # The order is defined by the
3117
- # order_by parameter.
2970
+ # Lists first and third party audiences. The order is defined by the order_by
2971
+ # parameter.
3118
2972
  # @param [Fixnum] advertiser_id
3119
- # The ID of the advertiser that has access to the fetched first and
3120
- # third party audiences.
2973
+ # The ID of the advertiser that has access to the fetched first and third party
2974
+ # audiences.
3121
2975
  # @param [String] filter
3122
- # Allows filtering by first and third party audience fields.
3123
- # Supported syntax:
3124
- # * Filter expressions for first and third party audiences currently can
3125
- # only contain at most one restriction.
3126
- # * A restriction has the form of ``field` `operator` `value``.
3127
- # * The operator must be `CONTAINS (:)`.
3128
- # * Supported fields:
3129
- # - `displayName`
3130
- # Examples:
3131
- # * All first and third party audiences for which the display name contains
3132
- # "Google": `displayName : "Google"`.
3133
- # The length of this field should be no more than 500 characters.
2976
+ # Allows filtering by first and third party audience fields. Supported syntax: *
2977
+ # Filter expressions for first and third party audiences currently can only
2978
+ # contain at most one restriction. * A restriction has the form of ``field` `
2979
+ # operator` `value``. * The operator must be `CONTAINS (:)`. * Supported fields:
2980
+ # - `displayName` Examples: * All first and third party audiences for which the
2981
+ # display name contains "Google": `displayName : "Google"`. The length of this
2982
+ # field should be no more than 500 characters.
3134
2983
  # @param [String] order_by
3135
- # Field by which to sort the list.
3136
- # Acceptable values are:
3137
- # * `firstAndThirdPartyAudienceId` (default)
3138
- # * `displayName`
3139
- # The default sorting order is ascending. To specify descending order for
3140
- # a field, a suffix "desc" should be added to the field name. Example:
3141
- # `displayName desc`.
2984
+ # Field by which to sort the list. Acceptable values are: * `
2985
+ # firstAndThirdPartyAudienceId` (default) * `displayName` The default sorting
2986
+ # order is ascending. To specify descending order for a field, a suffix "desc"
2987
+ # should be added to the field name. Example: `displayName desc`.
3142
2988
  # @param [Fixnum] page_size
3143
2989
  # Requested page size. Must be between `1` and `100`. If unspecified will
3144
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
3145
- # is specified.
2990
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
2991
+ # specified.
3146
2992
  # @param [String] page_token
3147
- # A token identifying a page of results the server should return.
3148
- # Typically, this is the value of
3149
- # next_page_token
3150
- # returned from the previous call to `ListFirstAndThirdPartyAudiences`
3151
- # method. If not specified, the first page of results will be returned.
2993
+ # A token identifying a page of results the server should return. Typically,
2994
+ # this is the value of next_page_token returned from the previous call to `
2995
+ # ListFirstAndThirdPartyAudiences` method. If not specified, the first page of
2996
+ # results will be returned.
3152
2997
  # @param [Fixnum] partner_id
3153
- # The ID of the partner that has access to the fetched first and
3154
- # third party audiences.
2998
+ # The ID of the partner that has access to the fetched first and third party
2999
+ # audiences.
3155
3000
  # @param [String] fields
3156
3001
  # Selector specifying which fields to include in a partial response.
3157
3002
  # @param [String] quota_user
@@ -3217,8 +3062,8 @@ module Google
3217
3062
  execute_or_queue_command(command, &block)
3218
3063
  end
3219
3064
 
3220
- # Updates an existing Floodlight group.
3221
- # Returns the updated Floodlight group if successful.
3065
+ # Updates an existing Floodlight group. Returns the updated Floodlight group if
3066
+ # successful.
3222
3067
  # @param [Fixnum] floodlight_group_id
3223
3068
  # Output only. The unique ID of the Floodlight group. Assigned by the system.
3224
3069
  # @param [Google::Apis::DisplayvideoV1::FloodlightGroup] floodlight_group_object
@@ -3293,42 +3138,31 @@ module Google
3293
3138
  execute_or_queue_command(command, &block)
3294
3139
  end
3295
3140
 
3296
- # Lists Google audiences.
3297
- # The order is defined by the order_by
3298
- # parameter.
3141
+ # Lists Google audiences. The order is defined by the order_by parameter.
3299
3142
  # @param [Fixnum] advertiser_id
3300
3143
  # The ID of the advertiser that has access to the fetched Google audiences.
3301
3144
  # @param [String] filter
3302
- # Allows filtering by Google audience fields.
3303
- # Supported syntax:
3304
- # * Filter expressions for Google audiences currently can only contain at
3305
- # most one restriction.
3306
- # * A restriction has the form of ``field` `operator` `value``.
3307
- # * The operator must be `CONTAINS (:)`.
3308
- # * Supported fields:
3309
- # - `displayName`
3310
- # Examples:
3311
- # * All Google audiences for which the display name contains "Google":
3312
- # `displayName : "Google"`.
3313
- # The length of this field should be no more than 500 characters.
3145
+ # Allows filtering by Google audience fields. Supported syntax: * Filter
3146
+ # expressions for Google audiences currently can only contain at most one
3147
+ # restriction. * A restriction has the form of ``field` `operator` `value``. *
3148
+ # The operator must be `CONTAINS (:)`. * Supported fields: - `displayName`
3149
+ # Examples: * All Google audiences for which the display name contains "Google":
3150
+ # `displayName : "Google"`. The length of this field should be no more than 500
3151
+ # characters.
3314
3152
  # @param [String] order_by
3315
- # Field by which to sort the list.
3316
- # Acceptable values are:
3317
- # * `googleAudienceId` (default)
3318
- # * `displayName`
3319
- # The default sorting order is ascending. To specify descending order for
3320
- # a field, a suffix "desc" should be added to the field name. Example:
3321
- # `displayName desc`.
3153
+ # Field by which to sort the list. Acceptable values are: * `googleAudienceId` (
3154
+ # default) * `displayName` The default sorting order is ascending. To specify
3155
+ # descending order for a field, a suffix "desc" should be added to the field
3156
+ # name. Example: `displayName desc`.
3322
3157
  # @param [Fixnum] page_size
3323
3158
  # Requested page size. Must be between `1` and `100`. If unspecified will
3324
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
3325
- # is specified.
3159
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
3160
+ # specified.
3326
3161
  # @param [String] page_token
3327
- # A token identifying a page of results the server should return.
3328
- # Typically, this is the value of
3329
- # next_page_token
3330
- # returned from the previous call to `ListGoogleAudiences` method.
3331
- # If not specified, the first page of results will be returned.
3162
+ # A token identifying a page of results the server should return. Typically,
3163
+ # this is the value of next_page_token returned from the previous call to `
3164
+ # ListGoogleAudiences` method. If not specified, the first page of results will
3165
+ # be returned.
3332
3166
  # @param [Fixnum] partner_id
3333
3167
  # The ID of the partner that has access to the fetched Google audiences.
3334
3168
  # @param [String] fields
@@ -3367,13 +3201,12 @@ module Google
3367
3201
  # source group if successful.
3368
3202
  # @param [Google::Apis::DisplayvideoV1::InventorySourceGroup] inventory_source_group_object
3369
3203
  # @param [Fixnum] advertiser_id
3370
- # The ID of the advertiser that owns the inventory source group.
3371
- # The parent partner will not have access to this group.
3204
+ # The ID of the advertiser that owns the inventory source group. The parent
3205
+ # partner will not have access to this group.
3372
3206
  # @param [Fixnum] partner_id
3373
- # The ID of the partner that owns the inventory source group.
3374
- # Only this partner will have write access to this group. Only advertisers
3375
- # to which this group is explicitly shared will have read access to this
3376
- # group.
3207
+ # The ID of the partner that owns the inventory source group. Only this partner
3208
+ # will have write access to this group. Only advertisers to which this group is
3209
+ # explicitly shared will have read access to this group.
3377
3210
  # @param [String] fields
3378
3211
  # Selector specifying which fields to include in a partial response.
3379
3212
  # @param [String] quota_user
@@ -3408,11 +3241,11 @@ module Google
3408
3241
  # @param [Fixnum] inventory_source_group_id
3409
3242
  # Required. The ID of the inventory source group to delete.
3410
3243
  # @param [Fixnum] advertiser_id
3411
- # The ID of the advertiser that owns the inventory source group.
3412
- # The parent partner does not have access to this group.
3244
+ # The ID of the advertiser that owns the inventory source group. The parent
3245
+ # partner does not have access to this group.
3413
3246
  # @param [Fixnum] partner_id
3414
- # The ID of the partner that owns the inventory source group.
3415
- # Only this partner has write access to this group.
3247
+ # The ID of the partner that owns the inventory source group. Only this partner
3248
+ # has write access to this group.
3416
3249
  # @param [String] fields
3417
3250
  # Selector specifying which fields to include in a partial response.
3418
3251
  # @param [String] quota_user
@@ -3446,12 +3279,12 @@ module Google
3446
3279
  # @param [Fixnum] inventory_source_group_id
3447
3280
  # Required. The ID of the inventory source group to fetch.
3448
3281
  # @param [Fixnum] advertiser_id
3449
- # The ID of the advertiser that has access to the inventory source group.
3450
- # If an inventory source group is partner-owned, only advertisers to which
3451
- # the group is explicitly shared can access the group.
3282
+ # The ID of the advertiser that has access to the inventory source group. If an
3283
+ # inventory source group is partner-owned, only advertisers to which the group
3284
+ # is explicitly shared can access the group.
3452
3285
  # @param [Fixnum] partner_id
3453
- # The ID of the partner that has access to the inventory source group.
3454
- # A partner cannot access an advertiser-owned inventory source group.
3286
+ # The ID of the partner that has access to the inventory source group. A partner
3287
+ # cannot access an advertiser-owned inventory source group.
3455
3288
  # @param [String] fields
3456
3289
  # Selector specifying which fields to include in a partial response.
3457
3290
  # @param [String] quota_user
@@ -3481,43 +3314,35 @@ module Google
3481
3314
  execute_or_queue_command(command, &block)
3482
3315
  end
3483
3316
 
3484
- # Lists inventory source groups that are accessible to the current user.
3485
- # The order is defined by the
3486
- # order_by parameter.
3317
+ # Lists inventory source groups that are accessible to the current user. The
3318
+ # order is defined by the order_by parameter.
3487
3319
  # @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.
3320
+ # The ID of the advertiser that has access to the inventory source group. If an
3321
+ # inventory source group is partner-owned, only advertisers to which the group
3322
+ # is explicitly shared can access the group.
3491
3323
  # @param [String] filter
3492
- # Allows filtering by inventory source group properties.
3493
- # Supported syntax:
3494
- # * Filter expressions are made up of one or more restrictions.
3495
- # * Restrictions can be combined by the logical operator `OR`.
3496
- # * A restriction has the form of ``field` `operator` `value``.
3497
- # * The operator must be `EQUALS (=)`.
3498
- # * Supported fields:
3499
- # - `inventorySourceGroupId`
3500
- # The length of this field should be no more than 500 characters.
3324
+ # Allows filtering by inventory source group properties. Supported syntax: *
3325
+ # Filter expressions are made up of one or more restrictions. * Restrictions can
3326
+ # be combined by the logical operator `OR`. * A restriction has the form of ``
3327
+ # field` `operator` `value``. * The operator must be `EQUALS (=)`. * Supported
3328
+ # fields: - `inventorySourceGroupId` The length of this field should be no more
3329
+ # than 500 characters.
3501
3330
  # @param [String] order_by
3502
- # Field by which to sort the list.
3503
- # Acceptable values are:
3504
- # * `displayName` (default)
3505
- # * `inventorySourceGroupId`
3506
- # The default sorting order is ascending. To specify descending order for
3507
- # a field, a suffix "desc" should be added to the field name. For example,
3508
- # `displayName desc`.
3331
+ # Field by which to sort the list. Acceptable values are: * `displayName` (
3332
+ # default) * `inventorySourceGroupId` The default sorting order is ascending. To
3333
+ # specify descending order for a field, a suffix "desc" should be added to the
3334
+ # field name. For example, `displayName desc`.
3509
3335
  # @param [Fixnum] page_size
3510
3336
  # Requested page size. Must be between `1` and `100`. If unspecified will
3511
3337
  # default to `100`.
3512
3338
  # @param [String] page_token
3513
- # A token identifying a page of results the server should return.
3514
- # Typically, this is the value of
3515
- # next_page_token
3516
- # returned from the previous call to `ListInventorySources` method.
3517
- # If not specified, the first page of results will be returned.
3339
+ # A token identifying a page of results the server should return. Typically,
3340
+ # this is the value of next_page_token returned from the previous call to `
3341
+ # ListInventorySources` method. If not specified, the first page of results will
3342
+ # be returned.
3518
3343
  # @param [Fixnum] partner_id
3519
- # The ID of the partner that has access to the inventory source group.
3520
- # A partner cannot access advertiser-owned inventory source groups.
3344
+ # The ID of the partner that has access to the inventory source group. A partner
3345
+ # cannot access advertiser-owned inventory source groups.
3521
3346
  # @param [String] fields
3522
3347
  # Selector specifying which fields to include in a partial response.
3523
3348
  # @param [String] quota_user
@@ -3550,18 +3375,18 @@ module Google
3550
3375
  execute_or_queue_command(command, &block)
3551
3376
  end
3552
3377
 
3553
- # Updates an inventory source group. Returns the updated inventory source
3554
- # group if successful.
3378
+ # Updates an inventory source group. Returns the updated inventory source group
3379
+ # if successful.
3555
3380
  # @param [Fixnum] inventory_source_group_id
3556
3381
  # Output only. The unique ID of the inventory source group. Assigned by the
3557
3382
  # system.
3558
3383
  # @param [Google::Apis::DisplayvideoV1::InventorySourceGroup] inventory_source_group_object
3559
3384
  # @param [Fixnum] advertiser_id
3560
- # The ID of the advertiser that owns the inventory source group.
3561
- # The parent partner does not have access to this group.
3385
+ # The ID of the advertiser that owns the inventory source group. The parent
3386
+ # partner does not have access to this group.
3562
3387
  # @param [Fixnum] partner_id
3563
- # The ID of the partner that owns the inventory source group.
3564
- # Only this partner has write access to this group.
3388
+ # The ID of the partner that owns the inventory source group. Only this partner
3389
+ # has write access to this group.
3565
3390
  # @param [String] update_mask
3566
3391
  # Required. The mask to control which fields to update.
3567
3392
  # @param [String] fields
@@ -3597,11 +3422,11 @@ module Google
3597
3422
  end
3598
3423
 
3599
3424
  # Bulk edits multiple assignments between inventory sources and a single
3600
- # inventory source group.
3601
- # The operation will delete the assigned inventory sources provided in
3602
- # BulkEditAssignedInventorySourcesRequest.deleted_assigned_inventory_sources
3603
- # and then create the assigned inventory sources provided in
3604
- # BulkEditAssignedInventorySourcesRequest.created_assigned_inventory_sources.
3425
+ # inventory source group. The operation will delete the assigned inventory
3426
+ # sources provided in BulkEditAssignedInventorySourcesRequest.
3427
+ # deleted_assigned_inventory_sources and then create the assigned inventory
3428
+ # sources provided in BulkEditAssignedInventorySourcesRequest.
3429
+ # created_assigned_inventory_sources.
3605
3430
  # @param [Fixnum] inventory_source_group_id
3606
3431
  # Required. The ID of the inventory source group to which the assignments are
3607
3432
  # assigned.
@@ -3642,13 +3467,11 @@ module Google
3642
3467
  # assigned.
3643
3468
  # @param [Google::Apis::DisplayvideoV1::AssignedInventorySource] assigned_inventory_source_object
3644
3469
  # @param [Fixnum] advertiser_id
3645
- # The ID of the advertiser that owns the parent inventory source group.
3646
- # The parent partner will not have access to this assigned inventory
3647
- # source.
3470
+ # The ID of the advertiser that owns the parent inventory source group. The
3471
+ # parent partner will not have access to this assigned inventory source.
3648
3472
  # @param [Fixnum] partner_id
3649
- # The ID of the partner that owns the parent inventory source group.
3650
- # Only this partner will have write access to this assigned inventory
3651
- # source.
3473
+ # The ID of the partner that owns the parent inventory source group. Only this
3474
+ # partner will have write access to this assigned inventory source.
3652
3475
  # @param [String] fields
3653
3476
  # Selector specifying which fields to include in a partial response.
3654
3477
  # @param [String] quota_user
@@ -3688,12 +3511,11 @@ module Google
3688
3511
  # @param [Fixnum] assigned_inventory_source_id
3689
3512
  # Required. The ID of the assigned inventory source to delete.
3690
3513
  # @param [Fixnum] advertiser_id
3691
- # The ID of the advertiser that owns the parent inventory source group.
3692
- # The parent partner does not have access to this assigned inventory
3693
- # source.
3514
+ # The ID of the advertiser that owns the parent inventory source group. The
3515
+ # parent partner does not have access to this assigned inventory source.
3694
3516
  # @param [Fixnum] partner_id
3695
- # The ID of the partner that owns the parent inventory source group.
3696
- # Only this partner has write access to this assigned inventory source.
3517
+ # The ID of the partner that owns the parent inventory source group. Only this
3518
+ # partner has write access to this assigned inventory source.
3697
3519
  # @param [String] fields
3698
3520
  # Selector specifying which fields to include in a partial response.
3699
3521
  # @param [String] quota_user
@@ -3729,41 +3551,34 @@ module Google
3729
3551
  # Required. The ID of the inventory source group to which these assignments are
3730
3552
  # assigned.
3731
3553
  # @param [Fixnum] advertiser_id
3732
- # The ID of the advertiser that has access to the assignment.
3733
- # If the parent inventory source group is partner-owned, only advertisers
3734
- # to which the parent group is explicitly shared can access the assigned
3735
- # inventory source.
3554
+ # The ID of the advertiser that has access to the assignment. If the parent
3555
+ # inventory source group is partner-owned, only advertisers to which the parent
3556
+ # group is explicitly shared can access the assigned inventory source.
3736
3557
  # @param [String] filter
3737
- # Allows filtering by assigned inventory source fields.
3738
- # Supported syntax:
3739
- # * Filter expressions are made up of one or more restrictions.
3740
- # * Restrictions can be combined by the logical operator `OR`.
3741
- # * A restriction has the form of ``field` `operator` `value``.
3742
- # * The operator must be `EQUALS (=)`.
3743
- # * Supported fields:
3744
- # - `assignedInventorySourceId`
3745
- # The length of this field should be no more than 500 characters.
3558
+ # Allows filtering by assigned inventory source fields. Supported syntax: *
3559
+ # Filter expressions are made up of one or more restrictions. * Restrictions can
3560
+ # be combined by the logical operator `OR`. * A restriction has the form of ``
3561
+ # field` `operator` `value``. * The operator must be `EQUALS (=)`. * Supported
3562
+ # fields: - `assignedInventorySourceId` The length of this field should be no
3563
+ # more than 500 characters.
3746
3564
  # @param [String] order_by
3747
- # Field by which to sort the list.
3748
- # Acceptable values are:
3749
- # * `assignedInventorySourceId` (default)
3750
- # The default sorting order is ascending. To specify descending order for a
3751
- # field, a suffix " desc" should be added to the field name. Example:
3752
- # `assignedInventorySourceId desc`.
3565
+ # Field by which to sort the list. Acceptable values are: * `
3566
+ # assignedInventorySourceId` (default) The default sorting order is ascending.
3567
+ # To specify descending order for a field, a suffix " desc" should be added to
3568
+ # the field name. Example: `assignedInventorySourceId desc`.
3753
3569
  # @param [Fixnum] page_size
3754
3570
  # Requested page size. Must be between `1` and `100`. If unspecified will
3755
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
3756
- # is specified.
3571
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
3572
+ # specified.
3757
3573
  # @param [String] page_token
3758
- # A token identifying a page of results the server should return.
3759
- # Typically, this is the value of
3760
- # next_page_token
3761
- # returned from the previous call to `ListAssignedInventorySources`
3762
- # method. If not specified, the first page of results will be returned.
3574
+ # A token identifying a page of results the server should return. Typically,
3575
+ # this is the value of next_page_token returned from the previous call to `
3576
+ # ListAssignedInventorySources` method. If not specified, the first page of
3577
+ # results will be returned.
3763
3578
  # @param [Fixnum] partner_id
3764
- # The ID of the partner that has access to the assignment.
3765
- # If the parent inventory source group is advertiser-owned, the assignment
3766
- # cannot be accessed via a partner.
3579
+ # The ID of the partner that has access to the assignment. If the parent
3580
+ # inventory source group is advertiser-owned, the assignment cannot be accessed
3581
+ # via a partner.
3767
3582
  # @param [String] fields
3768
3583
  # Selector specifying which fields to include in a partial response.
3769
3584
  # @param [String] quota_user
@@ -3801,8 +3616,8 @@ module Google
3801
3616
  # @param [Fixnum] inventory_source_id
3802
3617
  # Required. The ID of the inventory source to fetch.
3803
3618
  # @param [Fixnum] partner_id
3804
- # Required. The ID of the DV360 partner to which the fetched inventory source
3805
- # is permissioned.
3619
+ # Required. The ID of the DV360 partner to which the fetched inventory source is
3620
+ # permissioned.
3806
3621
  # @param [String] fields
3807
3622
  # Selector specifying which fields to include in a partial response.
3808
3623
  # @param [String] quota_user
@@ -3831,51 +3646,37 @@ module Google
3831
3646
  execute_or_queue_command(command, &block)
3832
3647
  end
3833
3648
 
3834
- # Lists inventory sources that are accessible to the current user.
3835
- # The order is defined by the
3836
- # order_by parameter.
3837
- # If a filter by
3838
- # entity_status is not
3839
- # specified, inventory sources with entity status `ENTITY_STATUS_ARCHIVED`
3840
- # will not be included in the results.
3649
+ # Lists inventory sources that are accessible to the current user. The order is
3650
+ # defined by the order_by parameter. If a filter by entity_status is not
3651
+ # specified, inventory sources with entity status `ENTITY_STATUS_ARCHIVED` will
3652
+ # not be included in the results.
3841
3653
  # @param [Fixnum] advertiser_id
3842
3654
  # The ID of the advertiser that has access to the inventory source.
3843
3655
  # @param [String] filter
3844
- # Allows filtering by inventory source properties.
3845
- # Supported syntax:
3846
- # * Filter expressions are made up of one or more restrictions.
3847
- # * Restrictions can be combined by `AND` or `OR` logical operators. A
3848
- # sequence of restrictions implicitly uses `AND`.
3849
- # * A restriction has the form of ``field` `operator` `value``.
3850
- # * The operator must be `EQUALS (=)`.
3851
- # * Supported fields:
3852
- # - `status.entityStatus`
3853
- # - `commitment`
3854
- # - `deliveryMethod`
3855
- # - `rateDetails.rateType`
3856
- # - `exchange`
3857
- # Examples:
3858
- # * All active inventory sources:
3859
- # `status.entityStatus="ENTITY_STATUS_ACTIVE"`
3860
- # * Inventory sources belonging to Google Ad Manager or Rubicon exchanges:
3861
- # `exchange="EXCHANGE_GOOGLE_AD_MANAGER" OR exchange="EXCHANGE_RUBICON"`
3862
- # The length of this field should be no more than 500 characters.
3656
+ # Allows filtering by inventory source properties. Supported syntax: * Filter
3657
+ # expressions are made up of one or more restrictions. * Restrictions can be
3658
+ # combined by `AND` or `OR` logical operators. A sequence of restrictions
3659
+ # implicitly uses `AND`. * A restriction has the form of ``field` `operator` `
3660
+ # value``. * The operator must be `EQUALS (=)`. * Supported fields: - `status.
3661
+ # entityStatus` - `commitment` - `deliveryMethod` - `rateDetails.rateType` - `
3662
+ # exchange` Examples: * All active inventory sources: `status.entityStatus="
3663
+ # ENTITY_STATUS_ACTIVE"` * Inventory sources belonging to Google Ad Manager or
3664
+ # Rubicon exchanges: `exchange="EXCHANGE_GOOGLE_AD_MANAGER" OR exchange="
3665
+ # EXCHANGE_RUBICON"` The length of this field should be no more than 500
3666
+ # characters.
3863
3667
  # @param [String] order_by
3864
- # Field by which to sort the list.
3865
- # Acceptable values are:
3866
- # * `displayName` (default)
3867
- # The default sorting order is ascending. To specify descending order for
3868
- # a field, a suffix "desc" should be added to the field name. For example,
3869
- # `displayName desc`.
3668
+ # Field by which to sort the list. Acceptable values are: * `displayName` (
3669
+ # default) The default sorting order is ascending. To specify descending order
3670
+ # for a field, a suffix "desc" should be added to the field name. For example, `
3671
+ # displayName desc`.
3870
3672
  # @param [Fixnum] page_size
3871
3673
  # Requested page size. Must be between `1` and `100`. If unspecified will
3872
3674
  # default to `100`.
3873
3675
  # @param [String] page_token
3874
- # A token identifying a page of results the server should return.
3875
- # Typically, this is the value of
3876
- # next_page_token
3877
- # returned from the previous call to `ListInventorySources` method.
3878
- # If not specified, the first page of results will be returned.
3676
+ # A token identifying a page of results the server should return. Typically,
3677
+ # this is the value of next_page_token returned from the previous call to `
3678
+ # ListInventorySources` method. If not specified, the first page of results will
3679
+ # be returned.
3879
3680
  # @param [Fixnum] partner_id
3880
3681
  # The ID of the partner that has access to the inventory source.
3881
3682
  # @param [String] fields
@@ -3911,12 +3712,10 @@ module Google
3911
3712
  end
3912
3713
 
3913
3714
  # Downloads media. Download is supported on the URI `/download/`resource_name=**`
3914
- # ?alt=media.`
3915
- # **Note**: Download requests will not be successful without including `alt=
3916
- # media` query string.
3715
+ # ?alt=media.` **Note**: Download requests will not be successful without
3716
+ # including `alt=media` query string.
3917
3717
  # @param [String] resource_name
3918
- # Name of the media that is being downloaded. See
3919
- # ReadRequest.resource_name.
3718
+ # Name of the media that is being downloaded. See ReadRequest.resource_name.
3920
3719
  # @param [String] fields
3921
3720
  # Selector specifying which fields to include in a partial response.
3922
3721
  # @param [String] quota_user
@@ -3951,8 +3750,162 @@ module Google
3951
3750
  execute_or_queue_command(command, &block)
3952
3751
  end
3953
3752
 
3954
- # Updates an existing inventory source.
3955
- # Returns the updated inventory source if successful.
3753
+ # Bulk edits targeting options under a single partner. The operation will delete
3754
+ # the assigned targeting options provided in
3755
+ # BulkEditPartnerAssignedTargetingOptionsRequest.delete_requests and then create
3756
+ # the assigned targeting options provided in
3757
+ # BulkEditPartnerAssignedTargetingOptionsRequest.create_requests .
3758
+ # @param [Fixnum] partner_id
3759
+ # Required. The ID of the partner.
3760
+ # @param [Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsRequest] bulk_edit_partner_assigned_targeting_options_request_object
3761
+ # @param [String] fields
3762
+ # Selector specifying which fields to include in a partial response.
3763
+ # @param [String] quota_user
3764
+ # Available to use for quota purposes for server-side applications. Can be any
3765
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3766
+ # @param [Google::Apis::RequestOptions] options
3767
+ # Request-specific options
3768
+ #
3769
+ # @yield [result, err] Result & error if block supplied
3770
+ # @yieldparam result [Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsResponse] parsed result object
3771
+ # @yieldparam err [StandardError] error object if request failed
3772
+ #
3773
+ # @return [Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsResponse]
3774
+ #
3775
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3776
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3777
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3778
+ 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)
3779
+ command = make_simple_command(:post, 'v1/partners/{+partnerId}:bulkEditPartnerAssignedTargetingOptions', options)
3780
+ command.request_representation = Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsRequest::Representation
3781
+ command.request_object = bulk_edit_partner_assigned_targeting_options_request_object
3782
+ command.response_representation = Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsResponse::Representation
3783
+ command.response_class = Google::Apis::DisplayvideoV1::BulkEditPartnerAssignedTargetingOptionsResponse
3784
+ command.params['partnerId'] = partner_id unless partner_id.nil?
3785
+ command.query['fields'] = fields unless fields.nil?
3786
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3787
+ execute_or_queue_command(command, &block)
3788
+ end
3789
+
3790
+ # Gets a partner.
3791
+ # @param [Fixnum] partner_id
3792
+ # Required. The ID of the partner to fetch.
3793
+ # @param [String] fields
3794
+ # Selector specifying which fields to include in a partial response.
3795
+ # @param [String] quota_user
3796
+ # Available to use for quota purposes for server-side applications. Can be any
3797
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3798
+ # @param [Google::Apis::RequestOptions] options
3799
+ # Request-specific options
3800
+ #
3801
+ # @yield [result, err] Result & error if block supplied
3802
+ # @yieldparam result [Google::Apis::DisplayvideoV1::Partner] parsed result object
3803
+ # @yieldparam err [StandardError] error object if request failed
3804
+ #
3805
+ # @return [Google::Apis::DisplayvideoV1::Partner]
3806
+ #
3807
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3808
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3809
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3810
+ def get_partner(partner_id, fields: nil, quota_user: nil, options: nil, &block)
3811
+ command = make_simple_command(:get, 'v1/partners/{+partnerId}', options)
3812
+ command.response_representation = Google::Apis::DisplayvideoV1::Partner::Representation
3813
+ command.response_class = Google::Apis::DisplayvideoV1::Partner
3814
+ command.params['partnerId'] = partner_id unless partner_id.nil?
3815
+ command.query['fields'] = fields unless fields.nil?
3816
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3817
+ execute_or_queue_command(command, &block)
3818
+ end
3819
+
3820
+ # Lists partners that are accessible to the current user. The order is defined
3821
+ # by the order_by parameter.
3822
+ # @param [String] filter
3823
+ # Allows filtering by partner properties. Supported syntax: * Filter expressions
3824
+ # are made up of one or more restrictions. * Restrictions can be combined by `
3825
+ # AND` or `OR` logical operators. A sequence of restrictions implicitly uses `
3826
+ # AND`. * A restriction has the form of ``field` `operator` `value``. * The
3827
+ # operator must be `EQUALS (=)`. * Supported fields: - `entityStatus` Examples: *
3828
+ # All active partners: `entityStatus="ENTITY_STATUS_ACTIVE"` The length of this
3829
+ # field should be no more than 500 characters.
3830
+ # @param [String] order_by
3831
+ # Field by which to sort the list. Acceptable values are: * `displayName` The
3832
+ # default sorting order is ascending. To specify descending order for a field, a
3833
+ # suffix "desc" should be added to the field name. For example, `displayName
3834
+ # desc`.
3835
+ # @param [Fixnum] page_size
3836
+ # Requested page size. Must be between `1` and `100`. If unspecified will
3837
+ # default to `100`.
3838
+ # @param [String] page_token
3839
+ # A token identifying a page of results the server should return. Typically,
3840
+ # this is the value of next_page_token returned from the previous call to `
3841
+ # ListPartners` method. If not specified, the first page of results will be
3842
+ # returned.
3843
+ # @param [String] fields
3844
+ # Selector specifying which fields to include in a partial response.
3845
+ # @param [String] quota_user
3846
+ # Available to use for quota purposes for server-side applications. Can be any
3847
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3848
+ # @param [Google::Apis::RequestOptions] options
3849
+ # Request-specific options
3850
+ #
3851
+ # @yield [result, err] Result & error if block supplied
3852
+ # @yieldparam result [Google::Apis::DisplayvideoV1::ListPartnersResponse] parsed result object
3853
+ # @yieldparam err [StandardError] error object if request failed
3854
+ #
3855
+ # @return [Google::Apis::DisplayvideoV1::ListPartnersResponse]
3856
+ #
3857
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3858
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3859
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3860
+ def list_partners(filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3861
+ command = make_simple_command(:get, 'v1/partners', options)
3862
+ command.response_representation = Google::Apis::DisplayvideoV1::ListPartnersResponse::Representation
3863
+ command.response_class = Google::Apis::DisplayvideoV1::ListPartnersResponse
3864
+ command.query['filter'] = filter unless filter.nil?
3865
+ command.query['orderBy'] = order_by unless order_by.nil?
3866
+ command.query['pageSize'] = page_size unless page_size.nil?
3867
+ command.query['pageToken'] = page_token unless page_token.nil?
3868
+ command.query['fields'] = fields unless fields.nil?
3869
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3870
+ execute_or_queue_command(command, &block)
3871
+ end
3872
+
3873
+ # Creates a new channel. Returns the newly created channel if successful.
3874
+ # @param [Fixnum] partner_id
3875
+ # The ID of the partner that owns the created channel.
3876
+ # @param [Google::Apis::DisplayvideoV1::Channel] channel_object
3877
+ # @param [Fixnum] advertiser_id
3878
+ # The ID of the advertiser that owns the created channel.
3879
+ # @param [String] fields
3880
+ # Selector specifying which fields to include in a partial response.
3881
+ # @param [String] quota_user
3882
+ # Available to use for quota purposes for server-side applications. Can be any
3883
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3884
+ # @param [Google::Apis::RequestOptions] options
3885
+ # Request-specific options
3886
+ #
3887
+ # @yield [result, err] Result & error if block supplied
3888
+ # @yieldparam result [Google::Apis::DisplayvideoV1::Channel] parsed result object
3889
+ # @yieldparam err [StandardError] error object if request failed
3890
+ #
3891
+ # @return [Google::Apis::DisplayvideoV1::Channel]
3892
+ #
3893
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3894
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3895
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3896
+ def create_partner_channel(partner_id, channel_object = nil, advertiser_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3897
+ command = make_simple_command(:post, 'v1/partners/{+partnerId}/channels', options)
3898
+ command.request_representation = Google::Apis::DisplayvideoV1::Channel::Representation
3899
+ command.request_object = channel_object
3900
+ command.response_representation = Google::Apis::DisplayvideoV1::Channel::Representation
3901
+ command.response_class = Google::Apis::DisplayvideoV1::Channel
3902
+ command.params['partnerId'] = partner_id unless partner_id.nil?
3903
+ command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
3904
+ command.query['fields'] = fields unless fields.nil?
3905
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3906
+ execute_or_queue_command(command, &block)
3907
+ end
3908
+
3956
3909
  # Gets a channel for a partner or advertiser.
3957
3910
  # @param [Fixnum] partner_id
3958
3911
  # The ID of the partner that owns the fetched channel.
@@ -3995,36 +3948,26 @@ module Google
3995
3948
  # @param [Fixnum] advertiser_id
3996
3949
  # The ID of the advertiser that owns the channels.
3997
3950
  # @param [String] filter
3998
- # Allows filtering by channel fields.
3999
- # Supported syntax:
4000
- # * Filter expressions for channel currently can only contain at most one
4001
- # * restriction.
4002
- # * A restriction has the form of ``field` `operator` `value``.
4003
- # * The operator must be `CONTAINS (:)`.
4004
- # * Supported fields:
4005
- # - `displayName`
4006
- # Examples:
4007
- # * All channels for which the display name contains "google":
4008
- # `displayName : "google"`.
4009
- # The length of this field should be no more than 500 characters.
3951
+ # Allows filtering by channel fields. Supported syntax: * Filter expressions for
3952
+ # channel currently can only contain at most one * restriction. * A restriction
3953
+ # has the form of ``field` `operator` `value``. * The operator must be `CONTAINS
3954
+ # (:)`. * Supported fields: - `displayName` Examples: * All channels for which
3955
+ # the display name contains "google": `displayName : "google"`. The length of
3956
+ # this field should be no more than 500 characters.
4010
3957
  # @param [String] order_by
4011
- # Field by which to sort the list.
4012
- # Acceptable values are:
4013
- # * `displayName` (default)
4014
- # * `channelId`
4015
- # The default sorting order is ascending. To specify descending order for a
4016
- # field, a suffix " desc" should be added to the field name. Example:
4017
- # `displayName desc`.
3958
+ # Field by which to sort the list. Acceptable values are: * `displayName` (
3959
+ # default) * `channelId` The default sorting order is ascending. To specify
3960
+ # descending order for a field, a suffix " desc" should be added to the field
3961
+ # name. Example: `displayName desc`.
4018
3962
  # @param [Fixnum] page_size
4019
3963
  # Requested page size. Must be between `1` and `100`. If unspecified will
4020
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
4021
- # is specified.
3964
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
3965
+ # specified.
4022
3966
  # @param [String] page_token
4023
- # A token identifying a page of results the server should return.
4024
- # Typically, this is the value of
4025
- # next_page_token returned from the
4026
- # previous call to `ListChannels` method. If not specified, the first page
4027
- # of results will be returned.
3967
+ # A token identifying a page of results the server should return. Typically,
3968
+ # this is the value of next_page_token returned from the previous call to `
3969
+ # ListChannels` method. If not specified, the first page of results will be
3970
+ # returned.
4028
3971
  # @param [String] fields
4029
3972
  # Selector specifying which fields to include in a partial response.
4030
3973
  # @param [String] quota_user
@@ -4099,9 +4042,8 @@ module Google
4099
4042
  execute_or_queue_command(command, &block)
4100
4043
  end
4101
4044
 
4102
- # Bulk edits sites under a single channel.
4103
- # The operation will delete the sites provided in
4104
- # BulkEditSitesRequest.deleted_sites and then create the sites
4045
+ # Bulk edits sites under a single channel. The operation will delete the sites
4046
+ # provided in BulkEditSitesRequest.deleted_sites and then create the sites
4105
4047
  # provided in BulkEditSitesRequest.created_sites.
4106
4048
  # @param [Fixnum] partner_id
4107
4049
  # The ID of the partner that owns the parent channel.
@@ -4224,34 +4166,25 @@ module Google
4224
4166
  # @param [Fixnum] advertiser_id
4225
4167
  # The ID of the advertiser that owns the parent channel.
4226
4168
  # @param [String] filter
4227
- # Allows filtering by site fields.
4228
- # Supported syntax:
4229
- # * Filter expressions for site currently can only contain at most one
4230
- # * restriction.
4231
- # * A restriction has the form of ``field` `operator` `value``.
4232
- # * The operator must be `CONTAINS (:)`.
4233
- # * Supported fields:
4234
- # - `urlOrAppId`
4235
- # Examples:
4236
- # * All sites for which the URL or app ID contains "google":
4237
- # `urlOrAppId : "google"`
4169
+ # Allows filtering by site fields. Supported syntax: * Filter expressions for
4170
+ # site currently can only contain at most one * restriction. * A restriction has
4171
+ # the form of ``field` `operator` `value``. * The operator must be `CONTAINS (:)`
4172
+ # . * Supported fields: - `urlOrAppId` Examples: * All sites for which the URL
4173
+ # or app ID contains "google": `urlOrAppId : "google"`
4238
4174
  # @param [String] order_by
4239
- # Field by which to sort the list.
4240
- # Acceptable values are:
4241
- # * `urlOrAppId` (default)
4242
- # The default sorting order is ascending. To specify descending order for a
4243
- # field, a suffix " desc" should be added to the field name. Example:
4244
- # `urlOrAppId desc`.
4175
+ # Field by which to sort the list. Acceptable values are: * `urlOrAppId` (
4176
+ # default) The default sorting order is ascending. To specify descending order
4177
+ # for a field, a suffix " desc" should be added to the field name. Example: `
4178
+ # urlOrAppId desc`.
4245
4179
  # @param [Fixnum] page_size
4246
4180
  # Requested page size. Must be between `1` and `100`. If unspecified will
4247
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
4248
- # is specified.
4181
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
4182
+ # specified.
4249
4183
  # @param [String] page_token
4250
- # A token identifying a page of results the server should return.
4251
- # Typically, this is the value of
4252
- # next_page_token returned from the
4253
- # previous call to `ListSites` method. If not specified, the first page
4254
- # of results will be returned.
4184
+ # A token identifying a page of results the server should return. Typically,
4185
+ # this is the value of next_page_token returned from the previous call to `
4186
+ # ListSites` method. If not specified, the first page of results will be
4187
+ # returned.
4255
4188
  # @param [String] fields
4256
4189
  # Selector specifying which fields to include in a partial response.
4257
4190
  # @param [String] quota_user
@@ -4285,21 +4218,186 @@ module Google
4285
4218
  execute_or_queue_command(command, &block)
4286
4219
  end
4287
4220
 
4288
- # Creates an SDF Download Task. Returns an
4289
- # Operation.
4290
- # An SDF Download Task is a long-running, asynchronous operation. The
4291
- # metadata type of this operation is
4292
- # SdfDownloadTaskMetadata. If the request is successful, the
4293
- # response type of the operation is
4294
- # SdfDownloadTask. The response will not include the download files,
4295
- # which must be retrieved with
4296
- # media.download. The state of
4297
- # operation can be retrieved with
4298
- # sdfdownloadtask.operations.get.
4299
- # Any errors can be found in the
4300
- # error.message. Note
4301
- # that error.details is expected to be
4302
- # empty.
4221
+ # Assigns a targeting option to a partner. Returns the assigned targeting option
4222
+ # if successful.
4223
+ # @param [Fixnum] partner_id
4224
+ # Required. The ID of the partner.
4225
+ # @param [String] targeting_type
4226
+ # Required. Identifies the type of this assigned targeting option. Supported
4227
+ # targeting types: * `TARGETING_TYPE_CHANNEL`
4228
+ # @param [Google::Apis::DisplayvideoV1::AssignedTargetingOption] assigned_targeting_option_object
4229
+ # @param [String] fields
4230
+ # Selector specifying which fields to include in a partial response.
4231
+ # @param [String] quota_user
4232
+ # Available to use for quota purposes for server-side applications. Can be any
4233
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4234
+ # @param [Google::Apis::RequestOptions] options
4235
+ # Request-specific options
4236
+ #
4237
+ # @yield [result, err] Result & error if block supplied
4238
+ # @yieldparam result [Google::Apis::DisplayvideoV1::AssignedTargetingOption] parsed result object
4239
+ # @yieldparam err [StandardError] error object if request failed
4240
+ #
4241
+ # @return [Google::Apis::DisplayvideoV1::AssignedTargetingOption]
4242
+ #
4243
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4244
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4245
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4246
+ 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)
4247
+ command = make_simple_command(:post, 'v1/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions', options)
4248
+ command.request_representation = Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation
4249
+ command.request_object = assigned_targeting_option_object
4250
+ command.response_representation = Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation
4251
+ command.response_class = Google::Apis::DisplayvideoV1::AssignedTargetingOption
4252
+ command.params['partnerId'] = partner_id unless partner_id.nil?
4253
+ command.params['targetingType'] = targeting_type unless targeting_type.nil?
4254
+ command.query['fields'] = fields unless fields.nil?
4255
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4256
+ execute_or_queue_command(command, &block)
4257
+ end
4258
+
4259
+ # Deletes an assigned targeting option from a partner.
4260
+ # @param [Fixnum] partner_id
4261
+ # Required. The ID of the partner.
4262
+ # @param [String] targeting_type
4263
+ # Required. Identifies the type of this assigned targeting option. Supported
4264
+ # targeting types: * `TARGETING_TYPE_CHANNEL`
4265
+ # @param [String] assigned_targeting_option_id
4266
+ # Required. The ID of the assigned targeting option to delete.
4267
+ # @param [String] fields
4268
+ # Selector specifying which fields to include in a partial response.
4269
+ # @param [String] quota_user
4270
+ # Available to use for quota purposes for server-side applications. Can be any
4271
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4272
+ # @param [Google::Apis::RequestOptions] options
4273
+ # Request-specific options
4274
+ #
4275
+ # @yield [result, err] Result & error if block supplied
4276
+ # @yieldparam result [Google::Apis::DisplayvideoV1::Empty] parsed result object
4277
+ # @yieldparam err [StandardError] error object if request failed
4278
+ #
4279
+ # @return [Google::Apis::DisplayvideoV1::Empty]
4280
+ #
4281
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4282
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4283
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4284
+ def delete_partner_targeting_type_assigned_targeting_option(partner_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil, &block)
4285
+ command = make_simple_command(:delete, 'v1/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', options)
4286
+ command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation
4287
+ command.response_class = Google::Apis::DisplayvideoV1::Empty
4288
+ command.params['partnerId'] = partner_id unless partner_id.nil?
4289
+ command.params['targetingType'] = targeting_type unless targeting_type.nil?
4290
+ command.params['assignedTargetingOptionId'] = assigned_targeting_option_id unless assigned_targeting_option_id.nil?
4291
+ command.query['fields'] = fields unless fields.nil?
4292
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4293
+ execute_or_queue_command(command, &block)
4294
+ end
4295
+
4296
+ # Gets a single targeting option assigned to a partner.
4297
+ # @param [Fixnum] partner_id
4298
+ # Required. The ID of the partner.
4299
+ # @param [String] targeting_type
4300
+ # Required. Identifies the type of this assigned targeting option. Supported
4301
+ # targeting types: * `TARGETING_TYPE_CHANNEL`
4302
+ # @param [String] assigned_targeting_option_id
4303
+ # Required. An identifier unique to the targeting type in this partner that
4304
+ # identifies the assigned targeting option being requested.
4305
+ # @param [String] fields
4306
+ # Selector specifying which fields to include in a partial response.
4307
+ # @param [String] quota_user
4308
+ # Available to use for quota purposes for server-side applications. Can be any
4309
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4310
+ # @param [Google::Apis::RequestOptions] options
4311
+ # Request-specific options
4312
+ #
4313
+ # @yield [result, err] Result & error if block supplied
4314
+ # @yieldparam result [Google::Apis::DisplayvideoV1::AssignedTargetingOption] parsed result object
4315
+ # @yieldparam err [StandardError] error object if request failed
4316
+ #
4317
+ # @return [Google::Apis::DisplayvideoV1::AssignedTargetingOption]
4318
+ #
4319
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4320
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4321
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4322
+ def get_partner_targeting_type_assigned_targeting_option(partner_id, targeting_type, assigned_targeting_option_id, fields: nil, quota_user: nil, options: nil, &block)
4323
+ command = make_simple_command(:get, 'v1/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions/{+assignedTargetingOptionId}', options)
4324
+ command.response_representation = Google::Apis::DisplayvideoV1::AssignedTargetingOption::Representation
4325
+ command.response_class = Google::Apis::DisplayvideoV1::AssignedTargetingOption
4326
+ command.params['partnerId'] = partner_id unless partner_id.nil?
4327
+ command.params['targetingType'] = targeting_type unless targeting_type.nil?
4328
+ command.params['assignedTargetingOptionId'] = assigned_targeting_option_id unless assigned_targeting_option_id.nil?
4329
+ command.query['fields'] = fields unless fields.nil?
4330
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4331
+ execute_or_queue_command(command, &block)
4332
+ end
4333
+
4334
+ # Lists the targeting options assigned to a partner.
4335
+ # @param [Fixnum] partner_id
4336
+ # Required. The ID of the partner.
4337
+ # @param [String] targeting_type
4338
+ # Required. Identifies the type of assigned targeting options to list. Supported
4339
+ # targeting types: * `TARGETING_TYPE_CHANNEL`
4340
+ # @param [String] filter
4341
+ # Allows filtering by assigned targeting option properties. Supported syntax: *
4342
+ # Filter expressions are made up of one or more restrictions. * Restrictions can
4343
+ # be combined by the logical operator `OR`. * A restriction has the form of ``
4344
+ # field` `operator` `value``. * The operator must be `EQUALS (=)`. * Supported
4345
+ # fields: - `assignedTargetingOptionId` Examples: * AssignedTargetingOption with
4346
+ # ID 123456 `assignedTargetingOptionId="123456"` The length of this field should
4347
+ # be no more than 500 characters.
4348
+ # @param [String] order_by
4349
+ # Field by which to sort the list. Acceptable values are: * `
4350
+ # assignedTargetingOptionId` (default) The default sorting order is ascending.
4351
+ # To specify descending order for a field, a suffix "desc" should be added to
4352
+ # the field name. Example: `assignedTargetingOptionId desc`.
4353
+ # @param [Fixnum] page_size
4354
+ # Requested page size. Must be between `1` and `100`. If unspecified will
4355
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
4356
+ # specified.
4357
+ # @param [String] page_token
4358
+ # A token identifying a page of results the server should return. Typically,
4359
+ # this is the value of next_page_token returned from the previous call to `
4360
+ # ListPartnerAssignedTargetingOptions` method. If not specified, the first page
4361
+ # of results will be returned.
4362
+ # @param [String] fields
4363
+ # Selector specifying which fields to include in a partial response.
4364
+ # @param [String] quota_user
4365
+ # Available to use for quota purposes for server-side applications. Can be any
4366
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4367
+ # @param [Google::Apis::RequestOptions] options
4368
+ # Request-specific options
4369
+ #
4370
+ # @yield [result, err] Result & error if block supplied
4371
+ # @yieldparam result [Google::Apis::DisplayvideoV1::ListPartnerAssignedTargetingOptionsResponse] parsed result object
4372
+ # @yieldparam err [StandardError] error object if request failed
4373
+ #
4374
+ # @return [Google::Apis::DisplayvideoV1::ListPartnerAssignedTargetingOptionsResponse]
4375
+ #
4376
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4377
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4378
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4379
+ 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)
4380
+ command = make_simple_command(:get, 'v1/partners/{+partnerId}/targetingTypes/{+targetingType}/assignedTargetingOptions', options)
4381
+ command.response_representation = Google::Apis::DisplayvideoV1::ListPartnerAssignedTargetingOptionsResponse::Representation
4382
+ command.response_class = Google::Apis::DisplayvideoV1::ListPartnerAssignedTargetingOptionsResponse
4383
+ command.params['partnerId'] = partner_id unless partner_id.nil?
4384
+ command.params['targetingType'] = targeting_type unless targeting_type.nil?
4385
+ command.query['filter'] = filter unless filter.nil?
4386
+ command.query['orderBy'] = order_by unless order_by.nil?
4387
+ command.query['pageSize'] = page_size unless page_size.nil?
4388
+ command.query['pageToken'] = page_token unless page_token.nil?
4389
+ command.query['fields'] = fields unless fields.nil?
4390
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4391
+ execute_or_queue_command(command, &block)
4392
+ end
4393
+
4394
+ # Creates an SDF Download Task. Returns an Operation. An SDF Download Task is a
4395
+ # long-running, asynchronous operation. The metadata type of this operation is
4396
+ # SdfDownloadTaskMetadata. If the request is successful, the response type of
4397
+ # the operation is SdfDownloadTask. The response will not include the download
4398
+ # files, which must be retrieved with media.download. The state of operation can
4399
+ # be retrieved with sdfdownloadtask.operations.get. Any errors can be found in
4400
+ # the error.message. Note that error.details is expected to be empty.
4303
4401
  # @param [Google::Apis::DisplayvideoV1::CreateSdfDownloadTaskRequest] create_sdf_download_task_request_object
4304
4402
  # @param [String] fields
4305
4403
  # Selector specifying which fields to include in a partial response.
@@ -4402,32 +4500,26 @@ module Google
4402
4500
  # @param [Fixnum] advertiser_id
4403
4501
  # Required. The Advertiser this request is being made in the context of.
4404
4502
  # @param [String] filter
4405
- # Allows filtering by targeting option properties.
4406
- # Supported syntax:
4407
- # * Filter expressions are made up of one or more restrictions.
4408
- # * Restrictions can be combined by `OR` logical operators.
4409
- # * A restriction has the form of ``field` `operator` `value``.
4410
- # * The operator must be "=" (equal sign).
4411
- # * Supported fields:
4412
- # - `targetingOptionId`
4413
- # The length of this field should be no more than 500 characters.
4503
+ # Allows filtering by targeting option properties. Supported syntax: * Filter
4504
+ # expressions are made up of one or more restrictions. * Restrictions can be
4505
+ # combined by `OR` logical operators. * A restriction has the form of ``field` `
4506
+ # operator` `value``. * The operator must be "=" (equal sign). * Supported
4507
+ # fields: - `targetingOptionId` The length of this field should be no more than
4508
+ # 500 characters.
4414
4509
  # @param [String] order_by
4415
- # Field by which to sort the list.
4416
- # Acceptable values are:
4417
- # * `targetingOptionId` (default)
4418
- # The default sorting order is ascending. To specify descending order for
4419
- # a field, a suffix "desc" should be added to the field name.
4420
- # Example: `targetingOptionId desc`.
4510
+ # Field by which to sort the list. Acceptable values are: * `targetingOptionId` (
4511
+ # default) The default sorting order is ascending. To specify descending order
4512
+ # for a field, a suffix "desc" should be added to the field name. Example: `
4513
+ # targetingOptionId desc`.
4421
4514
  # @param [Fixnum] page_size
4422
4515
  # Requested page size. Must be between `1` and `100`. If unspecified will
4423
- # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value
4424
- # is specified.
4516
+ # default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is
4517
+ # specified.
4425
4518
  # @param [String] page_token
4426
- # A token identifying a page of results the server should return.
4427
- # Typically, this is the value of
4428
- # next_page_token
4429
- # returned from the previous call to `ListTargetingOptions` method.
4430
- # If not specified, the first page of results will be returned.
4519
+ # A token identifying a page of results the server should return. Typically,
4520
+ # this is the value of next_page_token returned from the previous call to `
4521
+ # ListTargetingOptions` method. If not specified, the first page of results will
4522
+ # be returned.
4431
4523
  # @param [String] fields
4432
4524
  # Selector specifying which fields to include in a partial response.
4433
4525
  # @param [String] quota_user
@@ -4459,6 +4551,235 @@ module Google
4459
4551
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4460
4552
  execute_or_queue_command(command, &block)
4461
4553
  end
4554
+
4555
+ # Bulk edits user roles for a user. The operation will delete the assigned user
4556
+ # roles provided in BulkEditAssignedUserRolesRequest.deleted_assigned_user_roles
4557
+ # and then assign the user roles provided in BulkEditAssignedUserRolesRequest.
4558
+ # created_assigned_user_roles.
4559
+ # @param [Fixnum] user_id
4560
+ # Required. The ID of the user to which the assigned user roles belong.
4561
+ # @param [Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesRequest] bulk_edit_assigned_user_roles_request_object
4562
+ # @param [String] fields
4563
+ # Selector specifying which fields to include in a partial response.
4564
+ # @param [String] quota_user
4565
+ # Available to use for quota purposes for server-side applications. Can be any
4566
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4567
+ # @param [Google::Apis::RequestOptions] options
4568
+ # Request-specific options
4569
+ #
4570
+ # @yield [result, err] Result & error if block supplied
4571
+ # @yieldparam result [Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesResponse] parsed result object
4572
+ # @yieldparam err [StandardError] error object if request failed
4573
+ #
4574
+ # @return [Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesResponse]
4575
+ #
4576
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4577
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4578
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4579
+ def bulk_edit_assigned_user_roles(user_id, bulk_edit_assigned_user_roles_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4580
+ command = make_simple_command(:post, 'v1/users/{+userId}:bulkEditAssignedUserRoles', options)
4581
+ command.request_representation = Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesRequest::Representation
4582
+ command.request_object = bulk_edit_assigned_user_roles_request_object
4583
+ command.response_representation = Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesResponse::Representation
4584
+ command.response_class = Google::Apis::DisplayvideoV1::BulkEditAssignedUserRolesResponse
4585
+ command.params['userId'] = user_id unless user_id.nil?
4586
+ command.query['fields'] = fields unless fields.nil?
4587
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4588
+ execute_or_queue_command(command, &block)
4589
+ end
4590
+
4591
+ # Creates a new user. Returns the newly created user if successful.
4592
+ # @param [Google::Apis::DisplayvideoV1::User] user_object
4593
+ # @param [String] fields
4594
+ # Selector specifying which fields to include in a partial response.
4595
+ # @param [String] quota_user
4596
+ # Available to use for quota purposes for server-side applications. Can be any
4597
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4598
+ # @param [Google::Apis::RequestOptions] options
4599
+ # Request-specific options
4600
+ #
4601
+ # @yield [result, err] Result & error if block supplied
4602
+ # @yieldparam result [Google::Apis::DisplayvideoV1::User] parsed result object
4603
+ # @yieldparam err [StandardError] error object if request failed
4604
+ #
4605
+ # @return [Google::Apis::DisplayvideoV1::User]
4606
+ #
4607
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4608
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4609
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4610
+ def create_user(user_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4611
+ command = make_simple_command(:post, 'v1/users', options)
4612
+ command.request_representation = Google::Apis::DisplayvideoV1::User::Representation
4613
+ command.request_object = user_object
4614
+ command.response_representation = Google::Apis::DisplayvideoV1::User::Representation
4615
+ command.response_class = Google::Apis::DisplayvideoV1::User
4616
+ command.query['fields'] = fields unless fields.nil?
4617
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4618
+ execute_or_queue_command(command, &block)
4619
+ end
4620
+
4621
+ # Deletes a user.
4622
+ # @param [Fixnum] user_id
4623
+ # Required. The ID of the user to delete.
4624
+ # @param [String] fields
4625
+ # Selector specifying which fields to include in a partial response.
4626
+ # @param [String] quota_user
4627
+ # Available to use for quota purposes for server-side applications. Can be any
4628
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4629
+ # @param [Google::Apis::RequestOptions] options
4630
+ # Request-specific options
4631
+ #
4632
+ # @yield [result, err] Result & error if block supplied
4633
+ # @yieldparam result [Google::Apis::DisplayvideoV1::Empty] parsed result object
4634
+ # @yieldparam err [StandardError] error object if request failed
4635
+ #
4636
+ # @return [Google::Apis::DisplayvideoV1::Empty]
4637
+ #
4638
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4639
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4640
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4641
+ def delete_user(user_id, fields: nil, quota_user: nil, options: nil, &block)
4642
+ command = make_simple_command(:delete, 'v1/users/{+userId}', options)
4643
+ command.response_representation = Google::Apis::DisplayvideoV1::Empty::Representation
4644
+ command.response_class = Google::Apis::DisplayvideoV1::Empty
4645
+ command.params['userId'] = user_id unless user_id.nil?
4646
+ command.query['fields'] = fields unless fields.nil?
4647
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4648
+ execute_or_queue_command(command, &block)
4649
+ end
4650
+
4651
+ # Gets a user.
4652
+ # @param [Fixnum] user_id
4653
+ # Required. The ID of the user to fetch.
4654
+ # @param [String] fields
4655
+ # Selector specifying which fields to include in a partial response.
4656
+ # @param [String] quota_user
4657
+ # Available to use for quota purposes for server-side applications. Can be any
4658
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4659
+ # @param [Google::Apis::RequestOptions] options
4660
+ # Request-specific options
4661
+ #
4662
+ # @yield [result, err] Result & error if block supplied
4663
+ # @yieldparam result [Google::Apis::DisplayvideoV1::User] parsed result object
4664
+ # @yieldparam err [StandardError] error object if request failed
4665
+ #
4666
+ # @return [Google::Apis::DisplayvideoV1::User]
4667
+ #
4668
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4669
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4670
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4671
+ def get_user(user_id, fields: nil, quota_user: nil, options: nil, &block)
4672
+ command = make_simple_command(:get, 'v1/users/{+userId}', options)
4673
+ command.response_representation = Google::Apis::DisplayvideoV1::User::Representation
4674
+ command.response_class = Google::Apis::DisplayvideoV1::User
4675
+ command.params['userId'] = user_id unless user_id.nil?
4676
+ command.query['fields'] = fields unless fields.nil?
4677
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4678
+ execute_or_queue_command(command, &block)
4679
+ end
4680
+
4681
+ # Lists users that are accessible to the current user. If two users have user
4682
+ # roles on the same partner or advertiser, they can access each other.
4683
+ # @param [String] filter
4684
+ # Allows filtering by user properties. Supported syntax: * Filter expressions
4685
+ # are made up of one or more restrictions. * Restrictions can be combined by the
4686
+ # logical operator `AND`. * A restriction has the form of ``field` `operator` `
4687
+ # value``. * The operator must be `CONTAINS (:)` or `EQUALS (=)`. * The operator
4688
+ # must be `CONTAINS (:)` for the following fields: - `displayName` - `email` *
4689
+ # The operator must be `EQUALS (=)` for the following fields: - `
4690
+ # assignedUserRole.userRole` - `assignedUserRole.partnerId` - `assignedUserRole.
4691
+ # advertiserId` - `assignedUserRole.entityType`: A synthetic field of
4692
+ # AssignedUserRole used for filtering. Identifies the type of entity to which
4693
+ # the user role is assigned. Valid values are `Partner` and `Advertiser`. - `
4694
+ # assignedUserRole.parentPartnerId`: A synthetic field of AssignedUserRole used
4695
+ # for filtering. Identifies the parent partner of the entity to which the user
4696
+ # role is assigned." Examples: * The user with displayName containing `foo`: `
4697
+ # displayName:"foo"` * The user with email containing `bar`: `email:"bar"` * All
4698
+ # users with standard user roles: `assignedUserRole.userRole="STANDARD"` * All
4699
+ # users with user roles for partner 123: `assignedUserRole.partnerId="123"` *
4700
+ # All users with user roles for advertiser 123: `assignedUserRole.advertiserId="
4701
+ # 123"` * All users with partner level user roles: `entityType="PARTNER"` * All
4702
+ # users with user roles for partner 123 and advertisers under partner 123: `
4703
+ # parentPartnerId="123"` The length of this field should be no more than 500
4704
+ # characters.
4705
+ # @param [String] order_by
4706
+ # Field by which to sort the list. Acceptable values are: * `displayName` (
4707
+ # default) The default sorting order is ascending. To specify descending order
4708
+ # for a field, a suffix "desc" should be added to the field name. For example, `
4709
+ # displayName desc`.
4710
+ # @param [Fixnum] page_size
4711
+ # Requested page size. Must be between `1` and `100`. If unspecified will
4712
+ # default to `100`.
4713
+ # @param [String] page_token
4714
+ # A token identifying a page of results the server should return. Typically,
4715
+ # this is the value of next_page_token returned from the previous call to `
4716
+ # ListUsers` method. If not specified, the first page of results will be
4717
+ # returned.
4718
+ # @param [String] fields
4719
+ # Selector specifying which fields to include in a partial response.
4720
+ # @param [String] quota_user
4721
+ # Available to use for quota purposes for server-side applications. Can be any
4722
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4723
+ # @param [Google::Apis::RequestOptions] options
4724
+ # Request-specific options
4725
+ #
4726
+ # @yield [result, err] Result & error if block supplied
4727
+ # @yieldparam result [Google::Apis::DisplayvideoV1::ListUsersResponse] parsed result object
4728
+ # @yieldparam err [StandardError] error object if request failed
4729
+ #
4730
+ # @return [Google::Apis::DisplayvideoV1::ListUsersResponse]
4731
+ #
4732
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4733
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4734
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4735
+ def list_users(filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4736
+ command = make_simple_command(:get, 'v1/users', options)
4737
+ command.response_representation = Google::Apis::DisplayvideoV1::ListUsersResponse::Representation
4738
+ command.response_class = Google::Apis::DisplayvideoV1::ListUsersResponse
4739
+ command.query['filter'] = filter unless filter.nil?
4740
+ command.query['orderBy'] = order_by unless order_by.nil?
4741
+ command.query['pageSize'] = page_size unless page_size.nil?
4742
+ command.query['pageToken'] = page_token unless page_token.nil?
4743
+ command.query['fields'] = fields unless fields.nil?
4744
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4745
+ execute_or_queue_command(command, &block)
4746
+ end
4747
+
4748
+ # Updates an existing user. Returns the updated user if successful.
4749
+ # @param [Fixnum] user_id
4750
+ # Output only. The unique ID of the user. Assigned by the system.
4751
+ # @param [Google::Apis::DisplayvideoV1::User] user_object
4752
+ # @param [String] update_mask
4753
+ # Required. The mask to control which fields to update.
4754
+ # @param [String] fields
4755
+ # Selector specifying which fields to include in a partial response.
4756
+ # @param [String] quota_user
4757
+ # Available to use for quota purposes for server-side applications. Can be any
4758
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4759
+ # @param [Google::Apis::RequestOptions] options
4760
+ # Request-specific options
4761
+ #
4762
+ # @yield [result, err] Result & error if block supplied
4763
+ # @yieldparam result [Google::Apis::DisplayvideoV1::User] parsed result object
4764
+ # @yieldparam err [StandardError] error object if request failed
4765
+ #
4766
+ # @return [Google::Apis::DisplayvideoV1::User]
4767
+ #
4768
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4769
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4770
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4771
+ def patch_user(user_id, user_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
4772
+ command = make_simple_command(:patch, 'v1/users/{+userId}', options)
4773
+ command.request_representation = Google::Apis::DisplayvideoV1::User::Representation
4774
+ command.request_object = user_object
4775
+ command.response_representation = Google::Apis::DisplayvideoV1::User::Representation
4776
+ command.response_class = Google::Apis::DisplayvideoV1::User
4777
+ command.params['userId'] = user_id unless user_id.nil?
4778
+ command.query['updateMask'] = update_mask unless update_mask.nil?
4779
+ command.query['fields'] = fields unless fields.nil?
4780
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4781
+ execute_or_queue_command(command, &block)
4782
+ end
4462
4783
 
4463
4784
  protected
4464
4785