google-api-client 0.46.1 → 0.50.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (496) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/autoapprove.yml +49 -0
  3. data/.github/workflows/release-please.yml +77 -0
  4. data/.gitignore +2 -0
  5. data/.kokoro/trampoline.sh +0 -0
  6. data/CHANGELOG.md +666 -191
  7. data/Gemfile +1 -0
  8. data/Rakefile +31 -3
  9. data/api_list_config.yaml +8 -0
  10. data/bin/generate-api +77 -15
  11. data/generated/google/apis/accessapproval_v1.rb +1 -1
  12. data/generated/google/apis/accessapproval_v1/classes.rb +13 -15
  13. data/generated/google/apis/accessapproval_v1/service.rb +12 -9
  14. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  15. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +30 -30
  16. data/generated/google/apis/admin_directory_v1.rb +1 -1
  17. data/generated/google/apis/admin_directory_v1/classes.rb +135 -0
  18. data/generated/google/apis/admin_directory_v1/representations.rb +62 -0
  19. data/generated/google/apis/admin_directory_v1/service.rb +72 -0
  20. data/generated/google/apis/admin_reports_v1.rb +1 -1
  21. data/generated/google/apis/admob_v1.rb +4 -1
  22. data/generated/google/apis/admob_v1/classes.rb +29 -29
  23. data/generated/google/apis/admob_v1/service.rb +4 -0
  24. data/generated/google/apis/admob_v1beta.rb +38 -0
  25. data/generated/google/apis/admob_v1beta/classes.rb +1035 -0
  26. data/generated/google/apis/admob_v1beta/representations.rb +472 -0
  27. data/generated/google/apis/admob_v1beta/service.rb +279 -0
  28. data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
  29. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +19 -18
  30. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +12 -13
  31. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  32. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +179 -50
  33. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +50 -14
  34. data/generated/google/apis/analyticsdata_v1alpha/service.rb +49 -38
  35. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  36. data/generated/google/apis/androidenterprise_v1/classes.rb +6 -0
  37. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  38. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  39. data/generated/google/apis/androidmanagement_v1/classes.rb +29 -26
  40. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  41. data/generated/google/apis/androidpublisher_v3/classes.rb +2 -1
  42. data/generated/google/apis/androidpublisher_v3/service.rb +5 -2
  43. data/generated/google/apis/apigateway_v1beta.rb +1 -1
  44. data/generated/google/apis/apigateway_v1beta/classes.rb +8 -5
  45. data/generated/google/apis/apigateway_v1beta/representations.rb +1 -0
  46. data/generated/google/apis/apigee_v1.rb +1 -1
  47. data/generated/google/apis/apigee_v1/classes.rb +377 -137
  48. data/generated/google/apis/apigee_v1/representations.rb +109 -18
  49. data/generated/google/apis/apigee_v1/service.rb +673 -56
  50. data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
  51. data/generated/google/apis/area120tables_v1alpha1/classes.rb +481 -0
  52. data/generated/google/apis/area120tables_v1alpha1/representations.rb +279 -0
  53. data/generated/google/apis/area120tables_v1alpha1/service.rb +448 -0
  54. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  55. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -7
  56. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -1
  57. data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
  58. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +20 -0
  59. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +2 -0
  60. data/generated/google/apis/bigquery_v2.rb +1 -1
  61. data/generated/google/apis/bigquery_v2/classes.rb +158 -5
  62. data/generated/google/apis/bigquery_v2/representations.rb +67 -0
  63. data/generated/google/apis/bigquery_v2/service.rb +46 -0
  64. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  65. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -0
  66. data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +1 -0
  67. data/generated/google/apis/billingbudgets_v1.rb +1 -1
  68. data/generated/google/apis/billingbudgets_v1/classes.rb +12 -1
  69. data/generated/google/apis/billingbudgets_v1/representations.rb +1 -0
  70. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  71. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +12 -1
  72. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  73. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  74. data/generated/google/apis/binaryauthorization_v1/classes.rb +3 -4
  75. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  76. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +3 -4
  77. data/generated/google/apis/books_v1.rb +1 -1
  78. data/generated/google/apis/books_v1/service.rb +52 -52
  79. data/generated/google/apis/calendar_v3.rb +1 -1
  80. data/generated/google/apis/calendar_v3/classes.rb +2 -2
  81. data/generated/google/apis/chat_v1.rb +1 -1
  82. data/generated/google/apis/chat_v1/classes.rb +7 -0
  83. data/generated/google/apis/chat_v1/representations.rb +1 -0
  84. data/generated/google/apis/civicinfo_v2.rb +1 -1
  85. data/generated/google/apis/civicinfo_v2/classes.rb +0 -24
  86. data/generated/google/apis/civicinfo_v2/representations.rb +0 -3
  87. data/generated/google/apis/classroom_v1.rb +1 -1
  88. data/generated/google/apis/classroom_v1/classes.rb +21 -21
  89. data/generated/google/apis/cloudasset_v1.rb +1 -1
  90. data/generated/google/apis/cloudasset_v1/classes.rb +1122 -0
  91. data/generated/google/apis/cloudasset_v1/representations.rb +474 -0
  92. data/generated/google/apis/cloudasset_v1/service.rb +171 -0
  93. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  94. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  95. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  96. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  97. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  98. data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
  99. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  100. data/generated/google/apis/cloudbuild_v1/classes.rb +2 -1
  101. data/generated/google/apis/cloudbuild_v1/service.rb +10 -2
  102. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  103. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  104. data/generated/google/apis/cloudidentity_v1/service.rb +7 -3
  105. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  106. data/generated/google/apis/cloudidentity_v1beta1/service.rb +29 -17
  107. data/generated/google/apis/cloudiot_v1.rb +1 -1
  108. data/generated/google/apis/cloudiot_v1/classes.rb +1 -2
  109. data/generated/google/apis/cloudkms_v1.rb +1 -1
  110. data/generated/google/apis/cloudkms_v1/classes.rb +1 -2
  111. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  112. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +401 -7
  113. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +280 -1
  114. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  115. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +401 -7
  116. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +280 -1
  117. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  118. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +405 -11
  119. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +280 -1
  120. data/generated/google/apis/cloudresourcemanager_v2/service.rb +13 -13
  121. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  122. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +405 -11
  123. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +280 -1
  124. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +13 -13
  125. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  126. data/generated/google/apis/cloudtasks_v2/classes.rb +1 -2
  127. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  128. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +1 -2
  129. data/generated/google/apis/cloudtasks_v2beta2/service.rb +12 -2
  130. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  131. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +1 -2
  132. data/generated/google/apis/compute_v1.rb +1 -1
  133. data/generated/google/apis/compute_v1/classes.rb +282 -29
  134. data/generated/google/apis/compute_v1/representations.rb +43 -0
  135. data/generated/google/apis/compute_v1/service.rb +4 -1
  136. data/generated/google/apis/container_v1.rb +1 -1
  137. data/generated/google/apis/container_v1/classes.rb +22 -10
  138. data/generated/google/apis/container_v1beta1.rb +1 -1
  139. data/generated/google/apis/container_v1beta1/classes.rb +51 -10
  140. data/generated/google/apis/container_v1beta1/representations.rb +15 -0
  141. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  142. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +1 -2
  143. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  144. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -2
  145. data/generated/google/apis/content_v2.rb +3 -4
  146. data/generated/google/apis/content_v2/classes.rb +511 -1219
  147. data/generated/google/apis/content_v2/service.rb +380 -651
  148. data/generated/google/apis/content_v2_1.rb +3 -4
  149. data/generated/google/apis/content_v2_1/classes.rb +1353 -1061
  150. data/generated/google/apis/content_v2_1/representations.rb +342 -0
  151. data/generated/google/apis/content_v2_1/service.rb +948 -809
  152. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  153. data/generated/google/apis/datacatalog_v1beta1/classes.rb +26 -12
  154. data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -0
  155. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  156. data/generated/google/apis/dataflow_v1b3/classes.rb +12 -0
  157. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  158. data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
  159. data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
  160. data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
  161. data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
  162. data/generated/google/apis/datamigration_v1beta1.rb +34 -0
  163. data/generated/google/apis/datamigration_v1beta1/classes.rb +1670 -0
  164. data/generated/google/apis/datamigration_v1beta1/representations.rb +678 -0
  165. data/generated/google/apis/datamigration_v1beta1/service.rb +1172 -0
  166. data/generated/google/apis/dataproc_v1.rb +1 -1
  167. data/generated/google/apis/dataproc_v1/classes.rb +18 -7
  168. data/generated/google/apis/dataproc_v1/representations.rb +1 -0
  169. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  170. data/generated/google/apis/dataproc_v1beta2/classes.rb +18 -7
  171. data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
  172. data/generated/google/apis/datastore_v1.rb +1 -1
  173. data/generated/google/apis/datastore_v1/classes.rb +4 -4
  174. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  175. data/generated/google/apis/datastore_v1beta3/classes.rb +4 -4
  176. data/generated/google/apis/deploymentmanager_v2.rb +6 -4
  177. data/generated/google/apis/deploymentmanager_v2/classes.rb +209 -558
  178. data/generated/google/apis/deploymentmanager_v2/representations.rb +1 -132
  179. data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
  180. data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
  181. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +253 -609
  182. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +1 -132
  183. data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
  184. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  185. data/generated/google/apis/dfareporting_v3_3/classes.rb +6 -6
  186. data/generated/google/apis/dfareporting_v3_3/service.rb +12 -12
  187. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  188. data/generated/google/apis/dfareporting_v3_4/classes.rb +6 -6
  189. data/generated/google/apis/dfareporting_v3_4/service.rb +12 -12
  190. data/generated/google/apis/dialogflow_v2.rb +1 -1
  191. data/generated/google/apis/dialogflow_v2/classes.rb +649 -385
  192. data/generated/google/apis/dialogflow_v2/representations.rb +279 -192
  193. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  194. data/generated/google/apis/dialogflow_v2beta1/classes.rb +649 -385
  195. data/generated/google/apis/dialogflow_v2beta1/representations.rb +283 -196
  196. data/generated/google/apis/dialogflow_v2beta1/service.rb +14 -8
  197. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  198. data/generated/google/apis/dialogflow_v3beta1/classes.rb +712 -391
  199. data/generated/google/apis/dialogflow_v3beta1/representations.rb +301 -195
  200. data/generated/google/apis/dialogflow_v3beta1/service.rb +1 -1
  201. data/generated/google/apis/displayvideo_v1.rb +1 -1
  202. data/generated/google/apis/displayvideo_v1/classes.rb +241 -63
  203. data/generated/google/apis/displayvideo_v1/representations.rb +77 -0
  204. data/generated/google/apis/displayvideo_v1/service.rb +257 -17
  205. data/generated/google/apis/dlp_v2.rb +1 -1
  206. data/generated/google/apis/dlp_v2/classes.rb +39 -32
  207. data/generated/google/apis/dlp_v2/representations.rb +1 -0
  208. data/generated/google/apis/dns_v1.rb +2 -2
  209. data/generated/google/apis/dns_v1/classes.rb +181 -0
  210. data/generated/google/apis/dns_v1/representations.rb +83 -0
  211. data/generated/google/apis/dns_v1/service.rb +1 -1
  212. data/generated/google/apis/dns_v1beta2.rb +2 -2
  213. data/generated/google/apis/dns_v1beta2/classes.rb +195 -1
  214. data/generated/google/apis/dns_v1beta2/representations.rb +95 -0
  215. data/generated/google/apis/dns_v1beta2/service.rb +177 -1
  216. data/generated/google/apis/domains_v1alpha2.rb +34 -0
  217. data/generated/google/apis/domains_v1alpha2/classes.rb +1534 -0
  218. data/generated/google/apis/domains_v1alpha2/representations.rb +605 -0
  219. data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
  220. data/generated/google/apis/domains_v1beta1.rb +34 -0
  221. data/generated/google/apis/domains_v1beta1/classes.rb +1534 -0
  222. data/generated/google/apis/domains_v1beta1/representations.rb +605 -0
  223. data/generated/google/apis/domains_v1beta1/service.rb +805 -0
  224. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  225. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +2 -1
  226. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  227. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +2 -1
  228. data/generated/google/apis/drive_v2.rb +1 -1
  229. data/generated/google/apis/drive_v2/classes.rb +22 -20
  230. data/generated/google/apis/drive_v2/service.rb +2 -2
  231. data/generated/google/apis/drive_v3.rb +1 -1
  232. data/generated/google/apis/drive_v3/classes.rb +12 -9
  233. data/generated/google/apis/eventarc_v1beta1.rb +34 -0
  234. data/generated/google/apis/eventarc_v1beta1/classes.rb +937 -0
  235. data/generated/google/apis/eventarc_v1beta1/representations.rb +380 -0
  236. data/generated/google/apis/eventarc_v1beta1/service.rb +579 -0
  237. data/generated/google/apis/file_v1.rb +1 -1
  238. data/generated/google/apis/file_v1/classes.rb +505 -4
  239. data/generated/google/apis/file_v1/representations.rb +203 -0
  240. data/generated/google/apis/file_v1/service.rb +229 -1
  241. data/generated/google/apis/file_v1beta1.rb +1 -1
  242. data/generated/google/apis/file_v1beta1/classes.rb +346 -6
  243. data/generated/google/apis/file_v1beta1/representations.rb +149 -0
  244. data/generated/google/apis/file_v1beta1/service.rb +6 -2
  245. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  246. data/generated/google/apis/firebase_v1beta1/service.rb +17 -4
  247. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  248. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +2 -0
  249. data/generated/google/apis/firestore_v1.rb +1 -1
  250. data/generated/google/apis/firestore_v1/classes.rb +4 -4
  251. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  252. data/generated/google/apis/firestore_v1beta1/classes.rb +4 -4
  253. data/generated/google/apis/fitness_v1.rb +1 -1
  254. data/generated/google/apis/fitness_v1/service.rb +3 -1
  255. data/generated/google/apis/games_v1.rb +1 -1
  256. data/generated/google/apis/games_v1/classes.rb +300 -0
  257. data/generated/google/apis/games_v1/representations.rb +116 -0
  258. data/generated/google/apis/games_v1/service.rb +34 -0
  259. data/generated/google/apis/gameservices_v1.rb +1 -1
  260. data/generated/google/apis/gameservices_v1/classes.rb +16 -16
  261. data/generated/google/apis/gameservices_v1/service.rb +54 -51
  262. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  263. data/generated/google/apis/gameservices_v1beta/classes.rb +16 -16
  264. data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
  265. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  266. data/generated/google/apis/genomics_v2alpha1/classes.rb +25 -0
  267. data/generated/google/apis/genomics_v2alpha1/representations.rb +15 -0
  268. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
  269. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +10 -10
  270. data/generated/google/apis/healthcare_v1.rb +1 -1
  271. data/generated/google/apis/healthcare_v1/classes.rb +10 -4
  272. data/generated/google/apis/healthcare_v1/representations.rb +1 -0
  273. data/generated/google/apis/healthcare_v1/service.rb +2 -1
  274. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  275. data/generated/google/apis/healthcare_v1beta1/classes.rb +350 -46
  276. data/generated/google/apis/healthcare_v1beta1/representations.rb +150 -18
  277. data/generated/google/apis/healthcare_v1beta1/service.rb +91 -13
  278. data/generated/google/apis/iam_v1.rb +2 -5
  279. data/generated/google/apis/iam_v1/classes.rb +8 -11
  280. data/generated/google/apis/iam_v1/representations.rb +0 -1
  281. data/generated/google/apis/iam_v1/service.rb +1 -4
  282. data/generated/google/apis/iamcredentials_v1.rb +3 -4
  283. data/generated/google/apis/iamcredentials_v1/service.rb +2 -3
  284. data/generated/google/apis/iap_v1.rb +1 -1
  285. data/generated/google/apis/iap_v1/classes.rb +1 -13
  286. data/generated/google/apis/iap_v1/representations.rb +0 -1
  287. data/generated/google/apis/iap_v1beta1.rb +1 -1
  288. data/generated/google/apis/iap_v1beta1/classes.rb +1 -2
  289. data/generated/google/apis/licensing_v1.rb +1 -1
  290. data/generated/google/apis/localservices_v1.rb +1 -1
  291. data/generated/google/apis/localservices_v1/classes.rb +7 -0
  292. data/generated/google/apis/localservices_v1/representations.rb +2 -0
  293. data/generated/google/apis/localservices_v1/service.rb +20 -20
  294. data/generated/google/apis/logging_v2.rb +1 -1
  295. data/generated/google/apis/logging_v2/classes.rb +186 -10
  296. data/generated/google/apis/logging_v2/representations.rb +77 -0
  297. data/generated/google/apis/logging_v2/service.rb +446 -25
  298. data/generated/google/apis/managedidentities_v1.rb +1 -1
  299. data/generated/google/apis/managedidentities_v1/classes.rb +347 -7
  300. data/generated/google/apis/managedidentities_v1/representations.rb +149 -0
  301. data/generated/google/apis/managedidentities_v1/service.rb +1 -4
  302. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  303. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +426 -15
  304. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +182 -1
  305. data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
  306. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  307. data/generated/google/apis/managedidentities_v1beta1/classes.rb +427 -15
  308. data/generated/google/apis/managedidentities_v1beta1/representations.rb +182 -1
  309. data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
  310. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  311. data/generated/google/apis/memcache_v1beta2/classes.rb +345 -4
  312. data/generated/google/apis/memcache_v1beta2/representations.rb +149 -0
  313. data/generated/google/apis/ml_v1.rb +1 -1
  314. data/generated/google/apis/ml_v1/classes.rb +273 -79
  315. data/generated/google/apis/ml_v1/representations.rb +43 -0
  316. data/generated/google/apis/ml_v1/service.rb +35 -0
  317. data/generated/google/apis/monitoring_v3.rb +1 -1
  318. data/generated/google/apis/monitoring_v3/classes.rb +19 -13
  319. data/generated/google/apis/monitoring_v3/service.rb +50 -1
  320. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  321. data/generated/google/apis/networkmanagement_v1/classes.rb +6 -0
  322. data/generated/google/apis/networkmanagement_v1/representations.rb +1 -0
  323. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  324. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +57 -0
  325. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +31 -0
  326. data/generated/google/apis/notebooks_v1.rb +34 -0
  327. data/generated/google/apis/notebooks_v1/classes.rb +1461 -0
  328. data/generated/google/apis/notebooks_v1/representations.rb +581 -0
  329. data/generated/google/apis/notebooks_v1/service.rb +1042 -0
  330. data/generated/google/apis/people_v1.rb +1 -1
  331. data/generated/google/apis/people_v1/classes.rb +49 -49
  332. data/generated/google/apis/people_v1/service.rb +21 -18
  333. data/generated/google/apis/playablelocations_v3.rb +1 -1
  334. data/generated/google/apis/playablelocations_v3/classes.rb +6 -6
  335. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  336. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  337. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  338. data/generated/google/apis/poly_v1.rb +3 -4
  339. data/generated/google/apis/poly_v1/classes.rb +65 -79
  340. data/generated/google/apis/poly_v1/service.rb +50 -63
  341. data/generated/google/apis/privateca_v1beta1.rb +36 -0
  342. data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
  343. data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
  344. data/generated/google/apis/privateca_v1beta1/service.rb +1437 -0
  345. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  346. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +109 -0
  347. data/generated/google/apis/pubsub_v1.rb +1 -1
  348. data/generated/google/apis/pubsub_v1/classes.rb +1 -2
  349. data/generated/google/apis/pubsub_v1/service.rb +2 -2
  350. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  351. data/generated/google/apis/pubsub_v1beta2/classes.rb +1 -2
  352. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  353. data/generated/google/apis/realtimebidding_v1/classes.rb +578 -33
  354. data/generated/google/apis/realtimebidding_v1/representations.rb +232 -0
  355. data/generated/google/apis/realtimebidding_v1/service.rb +454 -4
  356. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  357. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +32 -0
  358. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -0
  359. data/generated/google/apis/recommender_v1.rb +1 -1
  360. data/generated/google/apis/recommender_v1/classes.rb +1 -1
  361. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  362. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
  363. data/generated/google/apis/redis_v1.rb +1 -1
  364. data/generated/google/apis/redis_v1/classes.rb +86 -0
  365. data/generated/google/apis/redis_v1/representations.rb +34 -0
  366. data/generated/google/apis/redis_v1/service.rb +34 -0
  367. data/generated/google/apis/redis_v1beta1.rb +1 -1
  368. data/generated/google/apis/redis_v1beta1/classes.rb +58 -0
  369. data/generated/google/apis/redis_v1beta1/representations.rb +20 -0
  370. data/generated/google/apis/run_v1.rb +1 -1
  371. data/generated/google/apis/run_v1/classes.rb +7 -6
  372. data/generated/google/apis/run_v1alpha1.rb +1 -1
  373. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  374. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +0 -7
  375. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +0 -1
  376. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  377. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  378. data/generated/google/apis/sasportal_v1alpha1/service.rb +109 -0
  379. data/generated/google/apis/secretmanager_v1.rb +1 -1
  380. data/generated/google/apis/secretmanager_v1/classes.rb +0 -7
  381. data/generated/google/apis/secretmanager_v1/representations.rb +0 -1
  382. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  383. data/generated/google/apis/secretmanager_v1beta1/classes.rb +0 -7
  384. data/generated/google/apis/secretmanager_v1beta1/representations.rb +0 -1
  385. data/generated/google/apis/securitycenter_v1.rb +1 -1
  386. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  387. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  388. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +6 -64
  389. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
  390. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  391. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +6 -64
  392. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
  393. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  394. data/generated/google/apis/servicecontrol_v1/classes.rb +77 -2
  395. data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
  396. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  397. data/generated/google/apis/servicecontrol_v2/classes.rb +62 -0
  398. data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
  399. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  400. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +27 -8
  401. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  402. data/generated/google/apis/servicemanagement_v1/classes.rb +6 -64
  403. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -18
  404. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  405. data/generated/google/apis/servicenetworking_v1/classes.rb +207 -65
  406. data/generated/google/apis/servicenetworking_v1/representations.rb +77 -14
  407. data/generated/google/apis/servicenetworking_v1/service.rb +82 -2
  408. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  409. data/generated/google/apis/servicenetworking_v1beta/classes.rb +140 -65
  410. data/generated/google/apis/servicenetworking_v1beta/representations.rb +46 -14
  411. data/generated/google/apis/serviceusage_v1.rb +1 -1
  412. data/generated/google/apis/serviceusage_v1/classes.rb +6 -64
  413. data/generated/google/apis/serviceusage_v1/representations.rb +0 -18
  414. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  415. data/generated/google/apis/serviceusage_v1beta1/classes.rb +36 -64
  416. data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -18
  417. data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
  418. data/generated/google/apis/sheets_v4.rb +1 -1
  419. data/generated/google/apis/sheets_v4/classes.rb +23 -7
  420. data/generated/google/apis/sheets_v4/representations.rb +3 -0
  421. data/generated/google/apis/smartdevicemanagement_v1.rb +1 -1
  422. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +0 -34
  423. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +0 -16
  424. data/generated/google/apis/smartdevicemanagement_v1/service.rb +3 -8
  425. data/generated/google/apis/spanner_v1.rb +1 -1
  426. data/generated/google/apis/spanner_v1/classes.rb +2 -3
  427. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  428. data/generated/google/apis/sqladmin_v1beta4/classes.rb +28 -4
  429. data/generated/google/apis/sqladmin_v1beta4/representations.rb +3 -0
  430. data/generated/google/apis/storage_v1.rb +1 -1
  431. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  432. data/generated/google/apis/storagetransfer_v1/classes.rb +82 -50
  433. data/generated/google/apis/storagetransfer_v1/representations.rb +4 -0
  434. data/generated/google/apis/storagetransfer_v1/service.rb +20 -21
  435. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  436. data/generated/google/apis/streetviewpublish_v1/classes.rb +4 -4
  437. data/generated/google/apis/sts_v1beta.rb +1 -1
  438. data/generated/google/apis/sts_v1beta/classes.rb +12 -11
  439. data/generated/google/apis/tagmanager_v2.rb +1 -1
  440. data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
  441. data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
  442. data/generated/google/apis/testing_v1.rb +1 -1
  443. data/generated/google/apis/testing_v1/classes.rb +45 -33
  444. data/generated/google/apis/testing_v1/representations.rb +1 -0
  445. data/generated/google/apis/testing_v1/service.rb +4 -4
  446. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  447. data/generated/google/apis/toolresults_v1beta3/classes.rb +13 -0
  448. data/generated/google/apis/toolresults_v1beta3/representations.rb +12 -0
  449. data/generated/google/apis/tpu_v1.rb +1 -1
  450. data/generated/google/apis/tpu_v1/classes.rb +3 -3
  451. data/generated/google/apis/tpu_v1/service.rb +8 -8
  452. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  453. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
  454. data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
  455. data/generated/google/apis/transcoder_v1beta1.rb +34 -0
  456. data/generated/google/apis/transcoder_v1beta1/classes.rb +1684 -0
  457. data/generated/google/apis/transcoder_v1beta1/representations.rb +756 -0
  458. data/generated/google/apis/transcoder_v1beta1/service.rb +329 -0
  459. data/generated/google/apis/translate_v3.rb +1 -1
  460. data/generated/google/apis/translate_v3/classes.rb +2 -1
  461. data/generated/google/apis/translate_v3beta1.rb +1 -1
  462. data/generated/google/apis/translate_v3beta1/classes.rb +2 -1
  463. data/generated/google/apis/vault_v1.rb +1 -1
  464. data/generated/google/apis/vault_v1/classes.rb +333 -0
  465. data/generated/google/apis/vault_v1/representations.rb +162 -0
  466. data/generated/google/apis/vault_v1/service.rb +151 -0
  467. data/generated/google/apis/videointelligence_v1.rb +1 -1
  468. data/generated/google/apis/videointelligence_v1/service.rb +0 -62
  469. data/generated/google/apis/vision_v1.rb +1 -1
  470. data/generated/google/apis/vision_v1/classes.rb +16 -16
  471. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  472. data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
  473. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  474. data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
  475. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  476. data/generated/google/apis/youtube_v3.rb +1 -1
  477. data/generated/google/apis/youtube_v3/service.rb +8 -8
  478. data/google-api-client.gemspec +25 -25
  479. data/lib/google/apis/core/api_command.rb +1 -0
  480. data/lib/google/apis/core/http_command.rb +2 -1
  481. data/lib/google/apis/options.rb +8 -5
  482. data/lib/google/apis/version.rb +1 -1
  483. data/synth.py +40 -0
  484. metadata +47 -16
  485. data/generated/google/apis/displayvideo_v1beta.rb +0 -38
  486. data/generated/google/apis/displayvideo_v1beta/classes.rb +0 -146
  487. data/generated/google/apis/displayvideo_v1beta/representations.rb +0 -72
  488. data/generated/google/apis/displayvideo_v1beta/service.rb +0 -161
  489. data/generated/google/apis/displayvideo_v1beta2.rb +0 -38
  490. data/generated/google/apis/displayvideo_v1beta2/classes.rb +0 -146
  491. data/generated/google/apis/displayvideo_v1beta2/representations.rb +0 -72
  492. data/generated/google/apis/displayvideo_v1beta2/service.rb +0 -130
  493. data/generated/google/apis/displayvideo_v1dev.rb +0 -38
  494. data/generated/google/apis/displayvideo_v1dev/classes.rb +0 -146
  495. data/generated/google/apis/displayvideo_v1dev/representations.rb +0 -72
  496. data/generated/google/apis/displayvideo_v1dev/service.rb +0 -130
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/spectrum-access-system/
26
26
  module ProdTtSasportalV1alpha1
27
27
  VERSION = 'V1alpha1'
28
- REVISION = '20200908'
28
+ REVISION = '20201013'
29
29
 
30
30
  # View your email address
31
31
  AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
@@ -825,6 +825,115 @@ module Google
825
825
  execute_or_queue_command(command, &block)
826
826
  end
827
827
 
828
+ # Creates a device under a node or customer.
829
+ # @param [String] parent
830
+ # Required. The name of the parent resource.
831
+ # @param [Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice] sas_portal_device_object
832
+ # @param [String] fields
833
+ # Selector specifying which fields to include in a partial response.
834
+ # @param [String] quota_user
835
+ # Available to use for quota purposes for server-side applications. Can be any
836
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
837
+ # @param [Google::Apis::RequestOptions] options
838
+ # Request-specific options
839
+ #
840
+ # @yield [result, err] Result & error if block supplied
841
+ # @yieldparam result [Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice] parsed result object
842
+ # @yieldparam err [StandardError] error object if request failed
843
+ #
844
+ # @return [Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice]
845
+ #
846
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
847
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
848
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
849
+ def create_customer_node_device(parent, sas_portal_device_object = nil, fields: nil, quota_user: nil, options: nil, &block)
850
+ command = make_simple_command(:post, 'v1alpha1/{+parent}/devices', options)
851
+ command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice::Representation
852
+ command.request_object = sas_portal_device_object
853
+ command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice::Representation
854
+ command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice
855
+ command.params['parent'] = parent unless parent.nil?
856
+ command.query['fields'] = fields unless fields.nil?
857
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
858
+ execute_or_queue_command(command, &block)
859
+ end
860
+
861
+ # Creates a signed device under a node or customer.
862
+ # @param [String] parent
863
+ # Required. The name of the parent resource.
864
+ # @param [Google::Apis::ProdTtSasportalV1alpha1::SasPortalCreateSignedDeviceRequest] sas_portal_create_signed_device_request_object
865
+ # @param [String] fields
866
+ # Selector specifying which fields to include in a partial response.
867
+ # @param [String] quota_user
868
+ # Available to use for quota purposes for server-side applications. Can be any
869
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
870
+ # @param [Google::Apis::RequestOptions] options
871
+ # Request-specific options
872
+ #
873
+ # @yield [result, err] Result & error if block supplied
874
+ # @yieldparam result [Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice] parsed result object
875
+ # @yieldparam err [StandardError] error object if request failed
876
+ #
877
+ # @return [Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice]
878
+ #
879
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
880
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
881
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
882
+ def create_customer_node_device_signed(parent, sas_portal_create_signed_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
883
+ command = make_simple_command(:post, 'v1alpha1/{+parent}/devices:createSigned', options)
884
+ command.request_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalCreateSignedDeviceRequest::Representation
885
+ command.request_object = sas_portal_create_signed_device_request_object
886
+ command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice::Representation
887
+ command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice
888
+ command.params['parent'] = parent unless parent.nil?
889
+ command.query['fields'] = fields unless fields.nil?
890
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
891
+ execute_or_queue_command(command, &block)
892
+ end
893
+
894
+ # Lists devices under a node or customer.
895
+ # @param [String] parent
896
+ # Required. The name of the parent resource.
897
+ # @param [String] filter
898
+ # The filter expression. The filter should have one of the following formats: "
899
+ # sn=123454" or "display_name=MyDevice". sn corresponds to serial_number of the
900
+ # device. The filter is case insensitive.
901
+ # @param [Fixnum] page_size
902
+ # The maximum number of devices to return in the response. If empty or zero, all
903
+ # devices will be listed. Must be in the range [0, 1000].
904
+ # @param [String] page_token
905
+ # A pagination token returned from a previous call to ListDevices that indicates
906
+ # where this listing should continue from.
907
+ # @param [String] fields
908
+ # Selector specifying which fields to include in a partial response.
909
+ # @param [String] quota_user
910
+ # Available to use for quota purposes for server-side applications. Can be any
911
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
912
+ # @param [Google::Apis::RequestOptions] options
913
+ # Request-specific options
914
+ #
915
+ # @yield [result, err] Result & error if block supplied
916
+ # @yieldparam result [Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDevicesResponse] parsed result object
917
+ # @yieldparam err [StandardError] error object if request failed
918
+ #
919
+ # @return [Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDevicesResponse]
920
+ #
921
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
922
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
923
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
924
+ def list_customer_node_devices(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
925
+ command = make_simple_command(:get, 'v1alpha1/{+parent}/devices', options)
926
+ command.response_representation = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDevicesResponse::Representation
927
+ command.response_class = Google::Apis::ProdTtSasportalV1alpha1::SasPortalListDevicesResponse
928
+ command.params['parent'] = parent unless parent.nil?
929
+ command.query['filter'] = filter unless filter.nil?
930
+ command.query['pageSize'] = page_size unless page_size.nil?
931
+ command.query['pageToken'] = page_token unless page_token.nil?
932
+ command.query['fields'] = fields unless fields.nil?
933
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
934
+ execute_or_queue_command(command, &block)
935
+ end
936
+
828
937
  # Creates a new node.
829
938
  # @param [String] parent
830
939
  # Required. The parent resource name where the node is to be created.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/pubsub/docs
26
26
  module PubsubV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200909'
28
+ REVISION = '20201101'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -46,8 +46,7 @@ module Google
46
46
  class Binding
47
47
  include Google::Apis::Core::Hashable
48
48
 
49
- # A client-specified ID for this binding. Expected to be globally unique to
50
- # support the internal bindings-by-ID API.
49
+ #
51
50
  # Corresponds to the JSON property `bindingId`
52
51
  # @return [String]
53
52
  attr_accessor :binding_id
@@ -777,7 +777,7 @@ module Google
777
777
  end
778
778
 
779
779
  # Seeks an existing subscription to a point in time or to a given snapshot,
780
- # whichever is provided in the request. Snapshots are used in [Seek]( https://
780
+ # whichever is provided in the request. Snapshots are used in [Seek] (https://
781
781
  # cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to
782
782
  # manage message acknowledgments in bulk. That is, you can set the
783
783
  # acknowledgment state of messages in an existing subscription to the state
@@ -889,7 +889,7 @@ module Google
889
889
  execute_or_queue_command(command, &block)
890
890
  end
891
891
 
892
- # Creates the given topic with the given name. See the [resource name rules](
892
+ # Creates the given topic with the given name. See the [resource name rules] (
893
893
  # https://cloud.google.com/pubsub/docs/admin#resource_names).
894
894
  # @param [String] name
895
895
  # Required. The name of the topic. It must have the format `"projects/`project`/
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/pubsub/docs
26
26
  module PubsubV1beta2
27
27
  VERSION = 'V1beta2'
28
- REVISION = '20200909'
28
+ REVISION = '20201101'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -46,8 +46,7 @@ module Google
46
46
  class Binding
47
47
  include Google::Apis::Core::Hashable
48
48
 
49
- # A client-specified ID for this binding. Expected to be globally unique to
50
- # support the internal bindings-by-ID API.
49
+ #
51
50
  # Corresponds to the JSON property `bindingId`
52
51
  # @return [String]
53
52
  attr_accessor :binding_id
@@ -28,7 +28,7 @@ module Google
28
28
  # @see https://developers.google.com/authorized-buyers/apis/realtimebidding/reference/rest/
29
29
  module RealtimebiddingV1
30
30
  VERSION = 'V1'
31
- REVISION = '20201008'
31
+ REVISION = '20201109'
32
32
 
33
33
  # See, create, edit, and delete your Authorized Buyers and Open Bidding account entities
34
34
  AUTH_REALTIME_BIDDING = 'https://www.googleapis.com/auth/realtime-bidding'
@@ -22,6 +22,118 @@ module Google
22
22
  module Apis
23
23
  module RealtimebiddingV1
24
24
 
25
+ # A request to activate a pretargeting configuration. Sets the configuration's
26
+ # state to ACTIVE.
27
+ class ActivatePretargetingConfigRequest
28
+ include Google::Apis::Core::Hashable
29
+
30
+ def initialize(**args)
31
+ update!(**args)
32
+ end
33
+
34
+ # Update properties of this object
35
+ def update!(**args)
36
+ end
37
+ end
38
+
39
+ # A request to start targeting the provided app IDs in a specific pretargeting
40
+ # configuration. The pretargeting configuration itself specifies how these apps
41
+ # are targeted. in PretargetingConfig.appTargeting.mobileAppTargeting.
42
+ class AddTargetedAppsRequest
43
+ include Google::Apis::Core::Hashable
44
+
45
+ # A list of app IDs to target in the pretargeting configuration. These values
46
+ # will be added to the list of targeted app IDs in PretargetingConfig.
47
+ # appTargeting.mobileAppTargeting.values.
48
+ # Corresponds to the JSON property `appIds`
49
+ # @return [Array<String>]
50
+ attr_accessor :app_ids
51
+
52
+ # Required. The targeting mode that should be applied to the list of app IDs. If
53
+ # there are existing targeted app IDs, must be equal to the existing
54
+ # PretargetingConfig.appTargeting.mobileAppTargeting.targetingMode or a 400 bad
55
+ # request error will be returned.
56
+ # Corresponds to the JSON property `targetingMode`
57
+ # @return [String]
58
+ attr_accessor :targeting_mode
59
+
60
+ def initialize(**args)
61
+ update!(**args)
62
+ end
63
+
64
+ # Update properties of this object
65
+ def update!(**args)
66
+ @app_ids = args[:app_ids] if args.key?(:app_ids)
67
+ @targeting_mode = args[:targeting_mode] if args.key?(:targeting_mode)
68
+ end
69
+ end
70
+
71
+ # A request to start targeting the provided publishers in a specific
72
+ # pretargeting configuration. The pretargeting configuration itself specifies
73
+ # how these publishers are targeted in PretargetingConfig.publisherTargeting.
74
+ class AddTargetedPublishersRequest
75
+ include Google::Apis::Core::Hashable
76
+
77
+ # A list of publisher IDs to target in the pretargeting configuration. These
78
+ # values will be added to the list of targeted publisher IDs in
79
+ # PretargetingConfig.publisherTargeting.values. Publishers are identified by
80
+ # their publisher ID from ads.txt / app-ads.txt. See https://iabtechlab.com/ads-
81
+ # txt/ and https://iabtechlab.com/app-ads-txt/ for more details.
82
+ # Corresponds to the JSON property `publisherIds`
83
+ # @return [Array<String>]
84
+ attr_accessor :publisher_ids
85
+
86
+ # Required. The targeting mode that should be applied to the list of publisher
87
+ # IDs. If are existing publisher IDs, must be equal to the existing
88
+ # PretargetingConfig.publisherTargeting.targetingMode or a 400 bad request error
89
+ # will be returned.
90
+ # Corresponds to the JSON property `targetingMode`
91
+ # @return [String]
92
+ attr_accessor :targeting_mode
93
+
94
+ def initialize(**args)
95
+ update!(**args)
96
+ end
97
+
98
+ # Update properties of this object
99
+ def update!(**args)
100
+ @publisher_ids = args[:publisher_ids] if args.key?(:publisher_ids)
101
+ @targeting_mode = args[:targeting_mode] if args.key?(:targeting_mode)
102
+ end
103
+ end
104
+
105
+ # A request to start targeting the provided sites in a specific pretargeting
106
+ # configuration. The pretargeting configuration itself specifies how these sites
107
+ # are targeted in PretargetingConfig.webTargeting.
108
+ class AddTargetedSitesRequest
109
+ include Google::Apis::Core::Hashable
110
+
111
+ # A list of site URLs to target in the pretargeting configuration. These values
112
+ # will be added to the list of targeted URLs in PretargetingConfig.webTargeting.
113
+ # values.
114
+ # Corresponds to the JSON property `sites`
115
+ # @return [Array<String>]
116
+ attr_accessor :sites
117
+
118
+ # Required. The targeting mode that should be applied to the list of site URLs.
119
+ # If there are existing targeted sites, must be equal to the existing
120
+ # PretargetingConfig.webTargeting.targetingMode or a 400 bad request error will
121
+ # be returned.
122
+ # Corresponds to the JSON property `targetingMode`
123
+ # @return [String]
124
+ attr_accessor :targeting_mode
125
+
126
+ def initialize(**args)
127
+ update!(**args)
128
+ end
129
+
130
+ # Update properties of this object
131
+ def update!(**args)
132
+ @sites = args[:sites] if args.key?(:sites)
133
+ @targeting_mode = args[:targeting_mode] if args.key?(:targeting_mode)
134
+ end
135
+ end
136
+
25
137
  # Detected advertiser and brand information.
26
138
  class AdvertiserAndBrand
27
139
  include Google::Apis::Core::Hashable
@@ -64,6 +176,35 @@ module Google
64
176
  end
65
177
  end
66
178
 
179
+ # A subset of app inventory to target. Bid requests that match criteria in at
180
+ # least one of the specified dimensions will be sent.
181
+ class AppTargeting
182
+ include Google::Apis::Core::Hashable
183
+
184
+ # Generic targeting used for targeting dimensions that contain a list of
185
+ # included and excluded numeric IDs used in app, user list, geo, and vertical id
186
+ # targeting.
187
+ # Corresponds to the JSON property `mobileAppCategoryTargeting`
188
+ # @return [Google::Apis::RealtimebiddingV1::NumericTargetingDimension]
189
+ attr_accessor :mobile_app_category_targeting
190
+
191
+ # Generic targeting with string values used in app, website and publisher
192
+ # targeting.
193
+ # Corresponds to the JSON property `mobileAppTargeting`
194
+ # @return [Google::Apis::RealtimebiddingV1::StringTargetingDimension]
195
+ attr_accessor :mobile_app_targeting
196
+
197
+ def initialize(**args)
198
+ update!(**args)
199
+ end
200
+
201
+ # Update properties of this object
202
+ def update!(**args)
203
+ @mobile_app_category_targeting = args[:mobile_app_category_targeting] if args.key?(:mobile_app_category_targeting)
204
+ @mobile_app_targeting = args[:mobile_app_targeting] if args.key?(:mobile_app_targeting)
205
+ end
206
+ end
207
+
67
208
  # A request to close a specified user list.
68
209
  class CloseUserListRequest
69
210
  include Google::Apis::Core::Hashable
@@ -174,10 +315,10 @@ module Google
174
315
  # @return [Array<String>]
175
316
  attr_accessor :impression_tracking_urls
176
317
 
177
- # Name of the creative. Follows the pattern `buyers/`buyer`/creatives/`creative``
178
- # , where ``buyer`` represents the account ID of the buyer who owns the creative,
179
- # and ``creative`` is the buyer-specific creative ID that references this
180
- # creative in the bid response.
318
+ # Output only. Name of the creative. Follows the pattern `buyers/`buyer`/
319
+ # creatives/`creative``, where ``buyer`` represents the account ID of the buyer
320
+ # who owns the creative, and ``creative`` is the buyer-specific creative ID that
321
+ # references this creative in the bid response.
181
322
  # Corresponds to the JSON property `name`
182
323
  # @return [String]
183
324
  attr_accessor :name
@@ -232,6 +373,31 @@ module Google
232
373
  end
233
374
  end
234
375
 
376
+ # The dimensions of a creative. This applies to only HTML and Native creatives.
377
+ class CreativeDimensions
378
+ include Google::Apis::Core::Hashable
379
+
380
+ # The height of the creative in pixels.
381
+ # Corresponds to the JSON property `height`
382
+ # @return [Fixnum]
383
+ attr_accessor :height
384
+
385
+ # The width of the creative in pixels.
386
+ # Corresponds to the JSON property `width`
387
+ # @return [Fixnum]
388
+ attr_accessor :width
389
+
390
+ def initialize(**args)
391
+ update!(**args)
392
+ end
393
+
394
+ # Update properties of this object
395
+ def update!(**args)
396
+ @height = args[:height] if args.key?(:height)
397
+ @width = args[:width] if args.key?(:width)
398
+ end
399
+ end
400
+
235
401
  # Top level status and detected attributes of a creative.
236
402
  class CreativeServingDecision
237
403
  include Google::Apis::Core::Hashable
@@ -351,31 +517,31 @@ module Google
351
517
  end
352
518
  end
353
519
 
354
- # Represents a whole or partial calendar date, e.g. a birthday. The time of day
355
- # and time zone are either specified elsewhere or are not significant. The date
356
- # is relative to the Proleptic Gregorian Calendar. This can represent: * A full
357
- # date, with non-zero year, month and day values * A month and day value, with a
358
- # zero year, e.g. an anniversary * A year on its own, with zero month and day
359
- # values * A year and month value, with a zero day, e.g. a credit card
360
- # expiration date Related types are google.type.TimeOfDay and `google.protobuf.
361
- # Timestamp`.
520
+ # Represents a whole or partial calendar date, such as a birthday. The time of
521
+ # day and time zone are either specified elsewhere or are insignificant. The
522
+ # date is relative to the Gregorian Calendar. This can represent one of the
523
+ # following: * A full date, with non-zero year, month, and day values * A month
524
+ # and day value, with a zero year, such as an anniversary * A year on its own,
525
+ # with zero month and day values * A year and month value, with a zero day, such
526
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
527
+ # google.protobuf.Timestamp`.
362
528
  class Date
363
529
  include Google::Apis::Core::Hashable
364
530
 
365
- # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if
366
- # specifying a year by itself or a year and month where the day is not
367
- # significant.
531
+ # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
532
+ # specify a year by itself or a year and month where the day isn't significant.
368
533
  # Corresponds to the JSON property `day`
369
534
  # @return [Fixnum]
370
535
  attr_accessor :day
371
536
 
372
- # Month of year. Must be from 1 to 12, or 0 if specifying a year without a month
537
+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
373
538
  # and day.
374
539
  # Corresponds to the JSON property `month`
375
540
  # @return [Fixnum]
376
541
  attr_accessor :month
377
542
 
378
- # Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year.
543
+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
544
+ # year.
379
545
  # Corresponds to the JSON property `year`
380
546
  # @return [Fixnum]
381
547
  attr_accessor :year
@@ -582,6 +748,23 @@ module Google
582
748
  end
583
749
  end
584
750
 
751
+ # A generic empty message that you can re-use to avoid defining duplicated empty
752
+ # messages in your APIs. A typical example is to use it as the request or the
753
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
754
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
755
+ # `Empty` is empty JSON object ````.
756
+ class Empty
757
+ include Google::Apis::Core::Hashable
758
+
759
+ def initialize(**args)
760
+ update!(**args)
761
+ end
762
+
763
+ # Update properties of this object
764
+ def update!(**args)
765
+ end
766
+ end
767
+
585
768
  # Response for a request to get remarketing tag.
586
769
  class GetRemarketingTagResponse
587
770
  include Google::Apis::Core::Hashable
@@ -746,6 +929,33 @@ module Google
746
929
  end
747
930
  end
748
931
 
932
+ # A response containing pretargeting configurations.
933
+ class ListPretargetingConfigsResponse
934
+ include Google::Apis::Core::Hashable
935
+
936
+ # A token which can be passed to a subsequent call to the `
937
+ # ListPretargetingConfigs` method to retrieve the next page of results in
938
+ # ListPretargetingConfigsRequest.pageToken.
939
+ # Corresponds to the JSON property `nextPageToken`
940
+ # @return [String]
941
+ attr_accessor :next_page_token
942
+
943
+ # List of pretargeting configurations.
944
+ # Corresponds to the JSON property `pretargetingConfigs`
945
+ # @return [Array<Google::Apis::RealtimebiddingV1::PretargetingConfig>]
946
+ attr_accessor :pretargeting_configs
947
+
948
+ def initialize(**args)
949
+ update!(**args)
950
+ end
951
+
952
+ # Update properties of this object
953
+ def update!(**args)
954
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
955
+ @pretargeting_configs = args[:pretargeting_configs] if args.key?(:pretargeting_configs)
956
+ end
957
+ end
958
+
749
959
  # The list user list response.
750
960
  class ListUserListsResponse
751
961
  include Google::Apis::Core::Hashable
@@ -889,6 +1099,33 @@ module Google
889
1099
  end
890
1100
  end
891
1101
 
1102
+ # Generic targeting used for targeting dimensions that contain a list of
1103
+ # included and excluded numeric IDs used in app, user list, geo, and vertical id
1104
+ # targeting.
1105
+ class NumericTargetingDimension
1106
+ include Google::Apis::Core::Hashable
1107
+
1108
+ # The IDs excluded in a configuration.
1109
+ # Corresponds to the JSON property `excludedIds`
1110
+ # @return [Array<Fixnum>]
1111
+ attr_accessor :excluded_ids
1112
+
1113
+ # The IDs included in a configuration.
1114
+ # Corresponds to the JSON property `includedIds`
1115
+ # @return [Array<Fixnum>]
1116
+ attr_accessor :included_ids
1117
+
1118
+ def initialize(**args)
1119
+ update!(**args)
1120
+ end
1121
+
1122
+ # Update properties of this object
1123
+ def update!(**args)
1124
+ @excluded_ids = args[:excluded_ids] if args.key?(:excluded_ids)
1125
+ @included_ids = args[:included_ids] if args.key?(:included_ids)
1126
+ end
1127
+ end
1128
+
892
1129
  # A request to open a specified user list.
893
1130
  class OpenUserListRequest
894
1131
  include Google::Apis::Core::Hashable
@@ -1024,6 +1261,314 @@ module Google
1024
1261
  end
1025
1262
  end
1026
1263
 
1264
+ # Pretargeting configuration: a set of targeting dimensions applied at the
1265
+ # pretargeting stage of the RTB funnel. These control which inventory a bidder
1266
+ # will receive bid requests for.
1267
+ class PretargetingConfig
1268
+ include Google::Apis::Core::Hashable
1269
+
1270
+ # Targeting modes included by this configuration. A bid request must allow all
1271
+ # the specified targeting modes. An unset value allows all bid requests to be
1272
+ # sent, regardless of which targeting modes they allow.
1273
+ # Corresponds to the JSON property `allowedUserTargetingModes`
1274
+ # @return [Array<String>]
1275
+ attr_accessor :allowed_user_targeting_modes
1276
+
1277
+ # A subset of app inventory to target. Bid requests that match criteria in at
1278
+ # least one of the specified dimensions will be sent.
1279
+ # Corresponds to the JSON property `appTargeting`
1280
+ # @return [Google::Apis::RealtimebiddingV1::AppTargeting]
1281
+ attr_accessor :app_targeting
1282
+
1283
+ # Output only. The identifier that corresponds to this pretargeting
1284
+ # configuration that helps buyers track and attribute their spend across their
1285
+ # own arbitrary divisions. If a bid request matches more than one configuration,
1286
+ # the buyer chooses which billing_id to attribute each of their bids.
1287
+ # Corresponds to the JSON property `billingId`
1288
+ # @return [Fixnum]
1289
+ attr_accessor :billing_id
1290
+
1291
+ # The diplay name associated with this configuration. This name must be unique
1292
+ # among all the pretargeting configurations a bidder has.
1293
+ # Corresponds to the JSON property `displayName`
1294
+ # @return [String]
1295
+ attr_accessor :display_name
1296
+
1297
+ # The sensitive content category label IDs excluded in this configuration. Bid
1298
+ # requests for inventory with any of the specified content label IDs will not be
1299
+ # sent. Refer to this file https://storage.googleapis.com/adx-rtb-dictionaries/
1300
+ # content-labels.txt for category IDs.
1301
+ # Corresponds to the JSON property `excludedContentLabelIds`
1302
+ # @return [Array<Fixnum>]
1303
+ attr_accessor :excluded_content_label_ids
1304
+
1305
+ # Generic targeting used for targeting dimensions that contain a list of
1306
+ # included and excluded numeric IDs used in app, user list, geo, and vertical id
1307
+ # targeting.
1308
+ # Corresponds to the JSON property `geoTargeting`
1309
+ # @return [Google::Apis::RealtimebiddingV1::NumericTargetingDimension]
1310
+ attr_accessor :geo_targeting
1311
+
1312
+ # Creative dimensions included by this configuration. Only bid requests eligible
1313
+ # for at least one of the specified creative dimensions will be sent. An unset
1314
+ # value allows all bid requests to be sent, regardless of creative dimension.
1315
+ # Corresponds to the JSON property `includedCreativeDimensions`
1316
+ # @return [Array<Google::Apis::RealtimebiddingV1::CreativeDimensions>]
1317
+ attr_accessor :included_creative_dimensions
1318
+
1319
+ # Environments that are being included. Bid requests will not be sent for a
1320
+ # given environment if it is not included. Further restrictions can be applied
1321
+ # to included environments to target only a subset of its inventory. An unset
1322
+ # value includes all environments.
1323
+ # Corresponds to the JSON property `includedEnvironments`
1324
+ # @return [Array<String>]
1325
+ attr_accessor :included_environments
1326
+
1327
+ # Creative formats included by this configuration. Only bid requests eligible
1328
+ # for at least one of the specified creative formats will be sent. An unset
1329
+ # value will allow all bid requests to be sent, regardless of format.
1330
+ # Corresponds to the JSON property `includedFormats`
1331
+ # @return [Array<String>]
1332
+ attr_accessor :included_formats
1333
+
1334
+ # The languages included in this configuration, represented by their language
1335
+ # code. See https://developers.google.com/adwords/api/docs/appendix/
1336
+ # languagecodes.
1337
+ # Corresponds to the JSON property `includedLanguages`
1338
+ # @return [Array<String>]
1339
+ attr_accessor :included_languages
1340
+
1341
+ # The mobile operating systems included in this configuration as defined in
1342
+ # https://storage.googleapis.com/adx-rtb-dictionaries/mobile-os.csv
1343
+ # Corresponds to the JSON property `includedMobileOperatingSystemIds`
1344
+ # @return [Array<Fixnum>]
1345
+ attr_accessor :included_mobile_operating_system_ids
1346
+
1347
+ # The platforms included by this configration. Bid requests for devices with the
1348
+ # specified platform types will be sent. An unset value allows all bid requests
1349
+ # to be sent, regardless of platform.
1350
+ # Corresponds to the JSON property `includedPlatforms`
1351
+ # @return [Array<String>]
1352
+ attr_accessor :included_platforms
1353
+
1354
+ # User identifier types included in this configuration. At least one of the user
1355
+ # identifier types specified in this list must be available for the bid request
1356
+ # to be sent.
1357
+ # Corresponds to the JSON property `includedUserIdTypes`
1358
+ # @return [Array<String>]
1359
+ attr_accessor :included_user_id_types
1360
+
1361
+ # The interstitial targeting specified for this configuration. The unset value
1362
+ # will allow bid requests to be sent regardless of whether they are for
1363
+ # interstitials or not.
1364
+ # Corresponds to the JSON property `interstitialTargeting`
1365
+ # @return [String]
1366
+ attr_accessor :interstitial_targeting
1367
+
1368
+ # Output only. Existing included or excluded geos that are invalid. Previously
1369
+ # targeted geos may become invalid due to privacy restrictions.
1370
+ # Corresponds to the JSON property `invalidGeoIds`
1371
+ # @return [Array<Fixnum>]
1372
+ attr_accessor :invalid_geo_ids
1373
+
1374
+ # The maximum QPS threshold for this configuration. The bidder should receive no
1375
+ # more than this number of bid requests matching this configuration per second
1376
+ # across all their bidding endpoints among all trading locations. Further
1377
+ # information available at https://developers.google.com/authorized-buyers/rtb/
1378
+ # peer-guide
1379
+ # Corresponds to the JSON property `maximumQps`
1380
+ # @return [Fixnum]
1381
+ attr_accessor :maximum_qps
1382
+
1383
+ # The targeted minimum viewability decile, ranging in values [0, 10]. A value of
1384
+ # 5 means that the configuration will only match adslots for which we predict at
1385
+ # least 50% viewability. Values > 10 will be rounded down to 10. An unset value
1386
+ # or a value of 0 indicates that bid requests will be sent regardless of
1387
+ # viewability.
1388
+ # Corresponds to the JSON property `minimumViewabilityDecile`
1389
+ # @return [Fixnum]
1390
+ attr_accessor :minimum_viewability_decile
1391
+
1392
+ # Output only. Name of the pretargeting configuration that must follow the
1393
+ # pattern `bidders/`bidder_account_id`/pretargetingConfigs/`config_id``
1394
+ # Corresponds to the JSON property `name`
1395
+ # @return [String]
1396
+ attr_accessor :name
1397
+
1398
+ # Generic targeting with string values used in app, website and publisher
1399
+ # targeting.
1400
+ # Corresponds to the JSON property `publisherTargeting`
1401
+ # @return [Google::Apis::RealtimebiddingV1::StringTargetingDimension]
1402
+ attr_accessor :publisher_targeting
1403
+
1404
+ # Output only. The state of this pretargeting configuration.
1405
+ # Corresponds to the JSON property `state`
1406
+ # @return [String]
1407
+ attr_accessor :state
1408
+
1409
+ # Generic targeting used for targeting dimensions that contain a list of
1410
+ # included and excluded numeric IDs used in app, user list, geo, and vertical id
1411
+ # targeting.
1412
+ # Corresponds to the JSON property `userListTargeting`
1413
+ # @return [Google::Apis::RealtimebiddingV1::NumericTargetingDimension]
1414
+ attr_accessor :user_list_targeting
1415
+
1416
+ # Generic targeting used for targeting dimensions that contain a list of
1417
+ # included and excluded numeric IDs used in app, user list, geo, and vertical id
1418
+ # targeting.
1419
+ # Corresponds to the JSON property `verticalTargeting`
1420
+ # @return [Google::Apis::RealtimebiddingV1::NumericTargetingDimension]
1421
+ attr_accessor :vertical_targeting
1422
+
1423
+ # Generic targeting with string values used in app, website and publisher
1424
+ # targeting.
1425
+ # Corresponds to the JSON property `webTargeting`
1426
+ # @return [Google::Apis::RealtimebiddingV1::StringTargetingDimension]
1427
+ attr_accessor :web_targeting
1428
+
1429
+ def initialize(**args)
1430
+ update!(**args)
1431
+ end
1432
+
1433
+ # Update properties of this object
1434
+ def update!(**args)
1435
+ @allowed_user_targeting_modes = args[:allowed_user_targeting_modes] if args.key?(:allowed_user_targeting_modes)
1436
+ @app_targeting = args[:app_targeting] if args.key?(:app_targeting)
1437
+ @billing_id = args[:billing_id] if args.key?(:billing_id)
1438
+ @display_name = args[:display_name] if args.key?(:display_name)
1439
+ @excluded_content_label_ids = args[:excluded_content_label_ids] if args.key?(:excluded_content_label_ids)
1440
+ @geo_targeting = args[:geo_targeting] if args.key?(:geo_targeting)
1441
+ @included_creative_dimensions = args[:included_creative_dimensions] if args.key?(:included_creative_dimensions)
1442
+ @included_environments = args[:included_environments] if args.key?(:included_environments)
1443
+ @included_formats = args[:included_formats] if args.key?(:included_formats)
1444
+ @included_languages = args[:included_languages] if args.key?(:included_languages)
1445
+ @included_mobile_operating_system_ids = args[:included_mobile_operating_system_ids] if args.key?(:included_mobile_operating_system_ids)
1446
+ @included_platforms = args[:included_platforms] if args.key?(:included_platforms)
1447
+ @included_user_id_types = args[:included_user_id_types] if args.key?(:included_user_id_types)
1448
+ @interstitial_targeting = args[:interstitial_targeting] if args.key?(:interstitial_targeting)
1449
+ @invalid_geo_ids = args[:invalid_geo_ids] if args.key?(:invalid_geo_ids)
1450
+ @maximum_qps = args[:maximum_qps] if args.key?(:maximum_qps)
1451
+ @minimum_viewability_decile = args[:minimum_viewability_decile] if args.key?(:minimum_viewability_decile)
1452
+ @name = args[:name] if args.key?(:name)
1453
+ @publisher_targeting = args[:publisher_targeting] if args.key?(:publisher_targeting)
1454
+ @state = args[:state] if args.key?(:state)
1455
+ @user_list_targeting = args[:user_list_targeting] if args.key?(:user_list_targeting)
1456
+ @vertical_targeting = args[:vertical_targeting] if args.key?(:vertical_targeting)
1457
+ @web_targeting = args[:web_targeting] if args.key?(:web_targeting)
1458
+ end
1459
+ end
1460
+
1461
+ # A request to stop targeting the provided apps in a specific pretargeting
1462
+ # configuration. The pretargeting configuration itself specifies how these apps
1463
+ # are targeted. in PretargetingConfig.appTargeting.mobileAppTargeting.
1464
+ class RemoveTargetedAppsRequest
1465
+ include Google::Apis::Core::Hashable
1466
+
1467
+ # A list of app IDs to stop targeting in the pretargeting configuration. These
1468
+ # values will be removed from the list of targeted app IDs in PretargetingConfig.
1469
+ # appTargeting.mobileAppTargeting.values.
1470
+ # Corresponds to the JSON property `appIds`
1471
+ # @return [Array<String>]
1472
+ attr_accessor :app_ids
1473
+
1474
+ def initialize(**args)
1475
+ update!(**args)
1476
+ end
1477
+
1478
+ # Update properties of this object
1479
+ def update!(**args)
1480
+ @app_ids = args[:app_ids] if args.key?(:app_ids)
1481
+ end
1482
+ end
1483
+
1484
+ # A request to stop targeting publishers in a specific configuration. The
1485
+ # pretargeting configuration itself specifies how these publishers are targeted
1486
+ # in PretargetingConfig.publisherTargeting.
1487
+ class RemoveTargetedPublishersRequest
1488
+ include Google::Apis::Core::Hashable
1489
+
1490
+ # A list of publisher IDs to stop targeting in the pretargeting configuration.
1491
+ # These values will be removed from the list of targeted publisher IDs in
1492
+ # PretargetingConfig.publisherTargeting.values. Publishers are identified by
1493
+ # their publisher ID from ads.txt / app-ads.txt. See https://iabtechlab.com/ads-
1494
+ # txt/ and https://iabtechlab.com/app-ads-txt/ for more details.
1495
+ # Corresponds to the JSON property `publisherIds`
1496
+ # @return [Array<String>]
1497
+ attr_accessor :publisher_ids
1498
+
1499
+ def initialize(**args)
1500
+ update!(**args)
1501
+ end
1502
+
1503
+ # Update properties of this object
1504
+ def update!(**args)
1505
+ @publisher_ids = args[:publisher_ids] if args.key?(:publisher_ids)
1506
+ end
1507
+ end
1508
+
1509
+ # A request to stop targeting sites in a specific pretargeting configuration.
1510
+ # The pretargeting configuration itself specifies how these sites are targeted
1511
+ # in PretargetingConfig.webTargeting.
1512
+ class RemoveTargetedSitesRequest
1513
+ include Google::Apis::Core::Hashable
1514
+
1515
+ # A list of site URLs to stop targeting in the pretargeting configuration. These
1516
+ # values will be removed from the list of targeted URLs in PretargetingConfig.
1517
+ # webTargeting.values.
1518
+ # Corresponds to the JSON property `sites`
1519
+ # @return [Array<String>]
1520
+ attr_accessor :sites
1521
+
1522
+ def initialize(**args)
1523
+ update!(**args)
1524
+ end
1525
+
1526
+ # Update properties of this object
1527
+ def update!(**args)
1528
+ @sites = args[:sites] if args.key?(:sites)
1529
+ end
1530
+ end
1531
+
1532
+ # Generic targeting with string values used in app, website and publisher
1533
+ # targeting.
1534
+ class StringTargetingDimension
1535
+ include Google::Apis::Core::Hashable
1536
+
1537
+ # How the items in this list should be targeted.
1538
+ # Corresponds to the JSON property `targetingMode`
1539
+ # @return [String]
1540
+ attr_accessor :targeting_mode
1541
+
1542
+ # The values specified.
1543
+ # Corresponds to the JSON property `values`
1544
+ # @return [Array<String>]
1545
+ attr_accessor :values
1546
+
1547
+ def initialize(**args)
1548
+ update!(**args)
1549
+ end
1550
+
1551
+ # Update properties of this object
1552
+ def update!(**args)
1553
+ @targeting_mode = args[:targeting_mode] if args.key?(:targeting_mode)
1554
+ @values = args[:values] if args.key?(:values)
1555
+ end
1556
+ end
1557
+
1558
+ # A request to suspend a pretargeting configuration. Sets the configuration's
1559
+ # state to SUSPENDED.
1560
+ class SuspendPretargetingConfigRequest
1561
+ include Google::Apis::Core::Hashable
1562
+
1563
+ def initialize(**args)
1564
+ update!(**args)
1565
+ end
1566
+
1567
+ # Update properties of this object
1568
+ def update!(**args)
1569
+ end
1570
+ end
1571
+
1027
1572
  # The URL-level breakdown for the download size.
1028
1573
  class UrlDownloadSize
1029
1574
  include Google::Apis::Core::Hashable
@@ -1054,14 +1599,14 @@ module Google
1054
1599
  class UrlRestriction
1055
1600
  include Google::Apis::Core::Hashable
1056
1601
 
1057
- # Represents a whole or partial calendar date, e.g. a birthday. The time of day
1058
- # and time zone are either specified elsewhere or are not significant. The date
1059
- # is relative to the Proleptic Gregorian Calendar. This can represent: * A full
1060
- # date, with non-zero year, month and day values * A month and day value, with a
1061
- # zero year, e.g. an anniversary * A year on its own, with zero month and day
1062
- # values * A year and month value, with a zero day, e.g. a credit card
1063
- # expiration date Related types are google.type.TimeOfDay and `google.protobuf.
1064
- # Timestamp`.
1602
+ # Represents a whole or partial calendar date, such as a birthday. The time of
1603
+ # day and time zone are either specified elsewhere or are insignificant. The
1604
+ # date is relative to the Gregorian Calendar. This can represent one of the
1605
+ # following: * A full date, with non-zero year, month, and day values * A month
1606
+ # and day value, with a zero year, such as an anniversary * A year on its own,
1607
+ # with zero month and day values * A year and month value, with a zero day, such
1608
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
1609
+ # google.protobuf.Timestamp`.
1065
1610
  # Corresponds to the JSON property `endDate`
1066
1611
  # @return [Google::Apis::RealtimebiddingV1::Date]
1067
1612
  attr_accessor :end_date
@@ -1071,14 +1616,14 @@ module Google
1071
1616
  # @return [String]
1072
1617
  attr_accessor :restriction_type
1073
1618
 
1074
- # Represents a whole or partial calendar date, e.g. a birthday. The time of day
1075
- # and time zone are either specified elsewhere or are not significant. The date
1076
- # is relative to the Proleptic Gregorian Calendar. This can represent: * A full
1077
- # date, with non-zero year, month and day values * A month and day value, with a
1078
- # zero year, e.g. an anniversary * A year on its own, with zero month and day
1079
- # values * A year and month value, with a zero day, e.g. a credit card
1080
- # expiration date Related types are google.type.TimeOfDay and `google.protobuf.
1081
- # Timestamp`.
1619
+ # Represents a whole or partial calendar date, such as a birthday. The time of
1620
+ # day and time zone are either specified elsewhere or are insignificant. The
1621
+ # date is relative to the Gregorian Calendar. This can represent one of the
1622
+ # following: * A full date, with non-zero year, month, and day values * A month
1623
+ # and day value, with a zero year, such as an anniversary * A year on its own,
1624
+ # with zero month and day values * A year and month value, with a zero day, such
1625
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
1626
+ # google.protobuf.Timestamp`.
1082
1627
  # Corresponds to the JSON property `startDate`
1083
1628
  # @return [Google::Apis::RealtimebiddingV1::Date]
1084
1629
  attr_accessor :start_date