google-api-client 0.39.3 → 0.40.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (416) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +242 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +3 -1
  5. data/generated/google/apis/admob_v1.rb +1 -1
  6. data/generated/google/apis/admob_v1/classes.rb +5 -6
  7. data/generated/google/apis/androidenterprise_v1.rb +2 -2
  8. data/generated/google/apis/androidenterprise_v1/classes.rb +547 -724
  9. data/generated/google/apis/androidenterprise_v1/representations.rb +0 -54
  10. data/generated/google/apis/androidenterprise_v1/service.rb +540 -795
  11. data/generated/google/apis/androidpublisher_v3.rb +3 -3
  12. data/generated/google/apis/androidpublisher_v3/classes.rb +473 -736
  13. data/generated/google/apis/androidpublisher_v3/representations.rb +10 -201
  14. data/generated/google/apis/androidpublisher_v3/service.rb +531 -863
  15. data/generated/google/apis/apigee_v1.rb +1 -1
  16. data/generated/google/apis/apigee_v1/classes.rb +58 -10
  17. data/generated/google/apis/apigee_v1/representations.rb +7 -0
  18. data/generated/google/apis/apigee_v1/service.rb +24 -14
  19. data/generated/google/apis/appsmarket_v2.rb +3 -3
  20. data/generated/google/apis/appsmarket_v2/classes.rb +160 -159
  21. data/generated/google/apis/appsmarket_v2/representations.rb +78 -78
  22. data/generated/google/apis/appsmarket_v2/service.rb +24 -39
  23. data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
  24. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +1123 -0
  25. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +441 -0
  26. data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
  27. data/generated/google/apis/bigquery_v2.rb +1 -1
  28. data/generated/google/apis/bigquery_v2/classes.rb +54 -1
  29. data/generated/google/apis/bigquery_v2/representations.rb +4 -0
  30. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  31. data/generated/google/apis/bigqueryreservation_v1/classes.rb +2 -0
  32. data/generated/google/apis/bigqueryreservation_v1/service.rb +8 -8
  33. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  34. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +20 -14
  35. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +93 -68
  36. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  37. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  38. data/generated/google/apis/bigtableadmin_v2/service.rb +4 -4
  39. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  40. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +21 -0
  41. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +6 -0
  42. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  43. data/generated/google/apis/books_v1.rb +1 -1
  44. data/generated/google/apis/books_v1/service.rb +2 -2
  45. data/generated/google/apis/calendar_v3.rb +1 -1
  46. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  47. data/generated/google/apis/{pagespeedonline_v2.rb → chromeuxreport_v1.rb} +10 -10
  48. data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
  49. data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
  50. data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
  51. data/generated/google/apis/cloudasset_v1.rb +1 -1
  52. data/generated/google/apis/cloudasset_v1/classes.rb +70 -43
  53. data/generated/google/apis/cloudasset_v1/representations.rb +2 -0
  54. data/generated/google/apis/cloudasset_v1/service.rb +14 -11
  55. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  56. data/generated/google/apis/cloudasset_v1beta1/classes.rb +29 -16
  57. data/generated/google/apis/cloudasset_v1beta1/service.rb +16 -7
  58. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  59. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +48 -16
  60. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +2 -0
  61. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
  62. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  63. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +26 -8
  64. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +24 -3
  65. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  66. data/generated/google/apis/cloudbuild_v1/classes.rb +17 -4
  67. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  68. data/generated/google/apis/cloudbuild_v1/service.rb +163 -0
  69. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  70. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +156 -2
  71. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +61 -0
  72. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -0
  73. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  74. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +156 -2
  75. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +61 -0
  76. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +121 -0
  77. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  78. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +6 -0
  79. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
  80. data/generated/google/apis/cloudiot_v1.rb +1 -1
  81. data/generated/google/apis/cloudiot_v1/classes.rb +26 -10
  82. data/generated/google/apis/cloudkms_v1.rb +1 -1
  83. data/generated/google/apis/cloudkms_v1/classes.rb +288 -7
  84. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  85. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  86. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +6 -6
  87. data/generated/google/apis/cloudresourcemanager_v1/service.rb +6 -8
  88. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  89. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +6 -6
  90. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
  91. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  92. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
  93. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  94. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
  95. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  96. data/generated/google/apis/cloudsearch_v1/classes.rb +8 -6
  97. data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
  98. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  99. data/generated/google/apis/cloudtasks_v2/classes.rb +8 -6
  100. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  101. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +11 -2
  102. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  103. data/generated/google/apis/composer_v1beta1.rb +1 -1
  104. data/generated/google/apis/composer_v1beta1/classes.rb +58 -0
  105. data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
  106. data/generated/google/apis/composer_v1beta1/service.rb +5 -0
  107. data/generated/google/apis/compute_alpha.rb +1 -1
  108. data/generated/google/apis/compute_alpha/classes.rb +318 -166
  109. data/generated/google/apis/compute_alpha/representations.rb +80 -33
  110. data/generated/google/apis/compute_alpha/service.rb +194 -0
  111. data/generated/google/apis/compute_beta.rb +1 -1
  112. data/generated/google/apis/compute_beta/classes.rb +237 -83
  113. data/generated/google/apis/compute_beta/representations.rb +52 -0
  114. data/generated/google/apis/compute_v1.rb +1 -1
  115. data/generated/google/apis/compute_v1/classes.rb +155 -58
  116. data/generated/google/apis/compute_v1/representations.rb +21 -0
  117. data/generated/google/apis/compute_v1/service.rb +83 -0
  118. data/generated/google/apis/container_v1.rb +1 -1
  119. data/generated/google/apis/container_v1/classes.rb +2 -4
  120. data/generated/google/apis/container_v1beta1.rb +1 -1
  121. data/generated/google/apis/container_v1beta1/classes.rb +62 -4
  122. data/generated/google/apis/container_v1beta1/representations.rb +33 -0
  123. data/generated/google/apis/content_v2.rb +1 -1
  124. data/generated/google/apis/content_v2/classes.rb +34 -0
  125. data/generated/google/apis/content_v2/representations.rb +16 -0
  126. data/generated/google/apis/content_v2/service.rb +5 -1
  127. data/generated/google/apis/content_v2_1.rb +1 -1
  128. data/generated/google/apis/content_v2_1/classes.rb +363 -5
  129. data/generated/google/apis/content_v2_1/representations.rb +136 -0
  130. data/generated/google/apis/content_v2_1/service.rb +85 -1
  131. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  132. data/generated/google/apis/datacatalog_v1beta1/classes.rb +26 -10
  133. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  134. data/generated/google/apis/dataflow_v1b3/classes.rb +331 -0
  135. data/generated/google/apis/dataflow_v1b3/representations.rb +164 -0
  136. data/generated/google/apis/dataflow_v1b3/service.rb +261 -0
  137. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  138. data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
  139. data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
  140. data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
  141. data/generated/google/apis/dataproc_v1.rb +1 -1
  142. data/generated/google/apis/dataproc_v1/classes.rb +22 -22
  143. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  144. data/generated/google/apis/dataproc_v1beta2/classes.rb +49 -35
  145. data/generated/google/apis/dataproc_v1beta2/service.rb +35 -21
  146. data/generated/google/apis/datastore_v1.rb +1 -1
  147. data/generated/google/apis/datastore_v1/classes.rb +1 -1
  148. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  149. data/generated/google/apis/datastore_v1beta3/classes.rb +1 -1
  150. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  151. data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
  152. data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
  153. data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
  154. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  155. data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
  156. data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
  157. data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
  158. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  159. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
  160. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
  161. data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
  162. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  163. data/generated/google/apis/dfareporting_v3_3/classes.rb +2 -2
  164. data/generated/google/apis/dfareporting_v3_3/service.rb +2 -2
  165. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  166. data/generated/google/apis/dfareporting_v3_4/classes.rb +2 -2
  167. data/generated/google/apis/dfareporting_v3_4/service.rb +2 -2
  168. data/generated/google/apis/dialogflow_v2.rb +1 -1
  169. data/generated/google/apis/dialogflow_v2/classes.rb +549 -9
  170. data/generated/google/apis/dialogflow_v2/representations.rb +234 -0
  171. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  172. data/generated/google/apis/dialogflow_v2beta1/classes.rb +540 -8
  173. data/generated/google/apis/dialogflow_v2beta1/representations.rb +234 -0
  174. data/generated/google/apis/dialogflow_v2beta1/service.rb +46 -2
  175. data/generated/google/apis/displayvideo_v1.rb +1 -1
  176. data/generated/google/apis/displayvideo_v1/classes.rb +612 -0
  177. data/generated/google/apis/displayvideo_v1/representations.rb +314 -0
  178. data/generated/google/apis/displayvideo_v1/service.rb +1968 -337
  179. data/generated/google/apis/dlp_v2.rb +1 -1
  180. data/generated/google/apis/dlp_v2/classes.rb +17 -27
  181. data/generated/google/apis/dlp_v2/service.rb +247 -204
  182. data/generated/google/apis/dns_v1.rb +1 -1
  183. data/generated/google/apis/dns_v1/classes.rb +160 -261
  184. data/generated/google/apis/dns_v1/representations.rb +17 -0
  185. data/generated/google/apis/dns_v1/service.rb +21 -141
  186. data/generated/google/apis/dns_v1beta2.rb +1 -1
  187. data/generated/google/apis/dns_v1beta2/classes.rb +189 -273
  188. data/generated/google/apis/dns_v1beta2/representations.rb +32 -0
  189. data/generated/google/apis/dns_v1beta2/service.rb +21 -141
  190. data/generated/google/apis/dns_v2beta1.rb +1 -1
  191. data/generated/google/apis/dns_v2beta1/classes.rb +160 -261
  192. data/generated/google/apis/dns_v2beta1/representations.rb +17 -0
  193. data/generated/google/apis/dns_v2beta1/service.rb +21 -141
  194. data/generated/google/apis/fcm_v1.rb +1 -1
  195. data/generated/google/apis/file_v1.rb +1 -1
  196. data/generated/google/apis/file_v1/classes.rb +31 -0
  197. data/generated/google/apis/file_v1/representations.rb +15 -0
  198. data/generated/google/apis/file_v1beta1.rb +1 -1
  199. data/generated/google/apis/file_v1beta1/classes.rb +98 -0
  200. data/generated/google/apis/file_v1beta1/representations.rb +34 -0
  201. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  202. data/generated/google/apis/firebase_v1beta1/classes.rb +2 -12
  203. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  204. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +30 -25
  205. data/generated/google/apis/{pagespeedonline_v4.rb → firebaseml_v1.rb} +12 -10
  206. data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
  207. data/generated/google/apis/firebaseml_v1/representations.rb +112 -0
  208. data/generated/google/apis/firebaseml_v1/service.rb +181 -0
  209. data/generated/google/apis/fitness_v1.rb +4 -4
  210. data/generated/google/apis/fitness_v1/classes.rb +185 -158
  211. data/generated/google/apis/fitness_v1/service.rb +187 -215
  212. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  213. data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -1
  214. data/generated/google/apis/games_management_v1management.rb +1 -1
  215. data/generated/google/apis/games_management_v1management/service.rb +1 -1
  216. data/generated/google/apis/games_v1.rb +1 -1
  217. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  218. data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
  219. data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
  220. data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
  221. data/generated/google/apis/gmail_v1.rb +3 -2
  222. data/generated/google/apis/gmail_v1/classes.rb +263 -200
  223. data/generated/google/apis/gmail_v1/service.rb +551 -743
  224. data/generated/google/apis/groupsmigration_v1.rb +3 -2
  225. data/generated/google/apis/groupsmigration_v1/service.rb +10 -17
  226. data/generated/google/apis/healthcare_v1.rb +1 -1
  227. data/generated/google/apis/healthcare_v1/classes.rb +39 -30
  228. data/generated/google/apis/healthcare_v1/service.rb +64 -32
  229. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  230. data/generated/google/apis/healthcare_v1beta1/classes.rb +41 -37
  231. data/generated/google/apis/healthcare_v1beta1/service.rb +165 -147
  232. data/generated/google/apis/homegraph_v1.rb +1 -1
  233. data/generated/google/apis/homegraph_v1/classes.rb +3 -0
  234. data/generated/google/apis/iam_v1.rb +1 -1
  235. data/generated/google/apis/iam_v1/classes.rb +111 -93
  236. data/generated/google/apis/iam_v1/service.rb +166 -144
  237. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  238. data/generated/google/apis/iamcredentials_v1/classes.rb +30 -5
  239. data/generated/google/apis/jobs_v3.rb +1 -1
  240. data/generated/google/apis/jobs_v3/classes.rb +4 -2
  241. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  242. data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
  243. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  244. data/generated/google/apis/memcache_v1beta2/classes.rb +66 -23
  245. data/generated/google/apis/memcache_v1beta2/representations.rb +15 -0
  246. data/generated/google/apis/memcache_v1beta2/service.rb +5 -2
  247. data/generated/google/apis/ml_v1.rb +1 -1
  248. data/generated/google/apis/ml_v1/classes.rb +84 -18
  249. data/generated/google/apis/ml_v1/representations.rb +4 -0
  250. data/generated/google/apis/ml_v1/service.rb +11 -6
  251. data/generated/google/apis/monitoring_v1.rb +1 -1
  252. data/generated/google/apis/monitoring_v1/classes.rb +46 -0
  253. data/generated/google/apis/monitoring_v1/representations.rb +18 -0
  254. data/generated/google/apis/monitoring_v3.rb +1 -1
  255. data/generated/google/apis/monitoring_v3/classes.rb +17 -0
  256. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  257. data/generated/google/apis/monitoring_v3/service.rb +1 -1
  258. data/generated/google/apis/networkmanagement_v1.rb +35 -0
  259. data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
  260. data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
  261. data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
  262. data/generated/google/apis/osconfig_v1.rb +1 -1
  263. data/generated/google/apis/osconfig_v1/classes.rb +2 -2
  264. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  265. data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
  266. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  267. data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
  268. data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
  269. data/generated/google/apis/people_v1.rb +1 -1
  270. data/generated/google/apis/people_v1/classes.rb +216 -0
  271. data/generated/google/apis/people_v1/representations.rb +82 -0
  272. data/generated/google/apis/people_v1/service.rb +371 -9
  273. data/generated/google/apis/playcustomapp_v1.rb +3 -3
  274. data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
  275. data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
  276. data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
  277. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  278. data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
  279. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  280. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
  281. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  282. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +30 -0
  283. data/generated/google/apis/pubsub_v1.rb +1 -1
  284. data/generated/google/apis/pubsub_v1/classes.rb +70 -15
  285. data/generated/google/apis/pubsub_v1/representations.rb +28 -0
  286. data/generated/google/apis/pubsub_v1/service.rb +35 -1
  287. data/generated/google/apis/{pagespeedonline_v1.rb → recommender_v1.rb} +11 -9
  288. data/generated/google/apis/recommender_v1/classes.rb +505 -0
  289. data/generated/google/apis/recommender_v1/representations.rb +232 -0
  290. data/generated/google/apis/recommender_v1/service.rb +266 -0
  291. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  292. data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
  293. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
  294. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  295. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
  296. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
  297. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  298. data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
  299. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
  300. data/generated/google/apis/run_v1.rb +1 -1
  301. data/generated/google/apis/run_v1/classes.rb +9 -0
  302. data/generated/google/apis/run_v1/representations.rb +1 -0
  303. data/generated/google/apis/run_v1alpha1.rb +1 -1
  304. data/generated/google/apis/run_v1alpha1/classes.rb +9 -0
  305. data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
  306. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  307. data/generated/google/apis/sasportal_v1alpha1/service.rb +30 -0
  308. data/generated/google/apis/secretmanager_v1.rb +1 -1
  309. data/generated/google/apis/secretmanager_v1/classes.rb +32 -19
  310. data/generated/google/apis/secretmanager_v1/service.rb +3 -0
  311. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  312. data/generated/google/apis/secretmanager_v1beta1/classes.rb +29 -16
  313. data/generated/google/apis/secretmanager_v1beta1/service.rb +3 -0
  314. data/generated/google/apis/securitycenter_v1.rb +1 -1
  315. data/generated/google/apis/securitycenter_v1/classes.rb +133 -18
  316. data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
  317. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  318. data/generated/google/apis/securitycenter_v1beta1/classes.rb +133 -18
  319. data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
  320. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  321. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
  322. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
  323. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  324. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +133 -18
  325. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
  326. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  327. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +205 -75
  328. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +32 -2
  329. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  330. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +211 -75
  331. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +33 -2
  332. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  333. data/generated/google/apis/servicecontrol_v1/classes.rb +6 -6
  334. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  335. data/generated/google/apis/servicemanagement_v1/classes.rb +6 -43
  336. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -2
  337. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  338. data/generated/google/apis/servicenetworking_v1/classes.rb +488 -75
  339. data/generated/google/apis/servicenetworking_v1/representations.rb +209 -2
  340. data/generated/google/apis/servicenetworking_v1/service.rb +187 -0
  341. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  342. data/generated/google/apis/servicenetworking_v1beta/classes.rb +297 -75
  343. data/generated/google/apis/servicenetworking_v1beta/representations.rb +130 -2
  344. data/generated/google/apis/serviceusage_v1.rb +1 -1
  345. data/generated/google/apis/serviceusage_v1/classes.rb +197 -75
  346. data/generated/google/apis/serviceusage_v1/representations.rb +32 -2
  347. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  348. data/generated/google/apis/serviceusage_v1beta1/classes.rb +203 -75
  349. data/generated/google/apis/serviceusage_v1beta1/representations.rb +33 -2
  350. data/generated/google/apis/serviceusage_v1beta1/service.rb +34 -0
  351. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  352. data/generated/google/apis/sourcerepo_v1/classes.rb +23 -10
  353. data/generated/google/apis/sourcerepo_v1/service.rb +3 -0
  354. data/generated/google/apis/spanner_v1.rb +1 -1
  355. data/generated/google/apis/spanner_v1/classes.rb +30 -12
  356. data/generated/google/apis/spanner_v1/service.rb +8 -8
  357. data/generated/google/apis/sql_v1beta4.rb +1 -1
  358. data/generated/google/apis/sql_v1beta4/classes.rb +7 -0
  359. data/generated/google/apis/sql_v1beta4/representations.rb +1 -0
  360. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  361. data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
  362. data/generated/google/apis/tasks_v1.rb +3 -3
  363. data/generated/google/apis/tasks_v1/classes.rb +26 -25
  364. data/generated/google/apis/tasks_v1/representations.rb +4 -8
  365. data/generated/google/apis/tasks_v1/service.rb +79 -128
  366. data/generated/google/apis/testing_v1.rb +1 -1
  367. data/generated/google/apis/testing_v1/classes.rb +2 -1
  368. data/generated/google/apis/texttospeech_v1.rb +1 -1
  369. data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
  370. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  371. data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
  372. data/generated/google/apis/tpu_v1.rb +1 -1
  373. data/generated/google/apis/tpu_v1/classes.rb +3 -3
  374. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  375. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
  376. data/generated/google/apis/translate_v3.rb +1 -1
  377. data/generated/google/apis/verifiedaccess_v1.rb +3 -3
  378. data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
  379. data/generated/google/apis/videointelligence_v1.rb +1 -1
  380. data/generated/google/apis/videointelligence_v1/classes.rb +1 -1
  381. data/generated/google/apis/videointelligence_v1/service.rb +32 -0
  382. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  383. data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -1
  384. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  385. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -1
  386. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  387. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -1
  388. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  389. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -1
  390. data/generated/google/apis/websecurityscanner_v1.rb +2 -2
  391. data/generated/google/apis/websecurityscanner_v1/classes.rb +7 -5
  392. data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
  393. data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
  394. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
  395. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
  396. data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
  397. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +9 -7
  398. data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
  399. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  400. data/generated/google/apis/youtube_v3.rb +5 -5
  401. data/generated/google/apis/youtube_v3/classes.rb +1260 -1244
  402. data/generated/google/apis/youtube_v3/representations.rb +64 -192
  403. data/generated/google/apis/youtube_v3/service.rb +1827 -2154
  404. data/lib/google/apis/core/api_command.rb +12 -7
  405. data/lib/google/apis/options.rb +5 -1
  406. data/lib/google/apis/version.rb +1 -1
  407. metadata +23 -15
  408. data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
  409. data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
  410. data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
  411. data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
  412. data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
  413. data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
  414. data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
  415. data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
  416. data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/dlp/docs/
28
28
  module DlpV2
29
29
  VERSION = 'V2'
30
- REVISION = '20200505'
30
+ REVISION = '20200606'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -36,7 +36,8 @@ module Google
36
36
  # Publish a message into given Pub/Sub topic when DlpJob has completed. The
37
37
  # message contains a single field, `DlpJobName`, which is equal to the
38
38
  # finished job's
39
- # [`DlpJob.name`](/dlp/docs/reference/rest/v2/projects.dlpJobs#DlpJob).
39
+ # [`DlpJob.name`](https://cloud.google.com/dlp/docs/reference/rest/v2/projects.
40
+ # dlpJobs#DlpJob).
40
41
  # Compatible with: Inspect, Risk
41
42
  # Corresponds to the JSON property `pubSub`
42
43
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToPubSub]
@@ -1155,8 +1156,7 @@ module Google
1155
1156
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate]
1156
1157
  attr_accessor :deidentify_template
1157
1158
 
1158
- # The geographic location to store the deidentification template. Reserved
1159
- # for future extensions.
1159
+ # Deprecated. This field has no effect.
1160
1160
  # Corresponds to the JSON property `locationId`
1161
1161
  # @return [String]
1162
1162
  attr_accessor :location_id
@@ -1200,8 +1200,7 @@ module Google
1200
1200
  # @return [String]
1201
1201
  attr_accessor :job_id
1202
1202
 
1203
- # The geographic location to store and process the job. Reserved for
1204
- # future extensions.
1203
+ # Deprecated. This field has no effect.
1205
1204
  # Corresponds to the JSON property `locationId`
1206
1205
  # @return [String]
1207
1206
  attr_accessor :location_id
@@ -1237,8 +1236,7 @@ module Google
1237
1236
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate]
1238
1237
  attr_accessor :inspect_template
1239
1238
 
1240
- # The geographic location to store the inspection template. Reserved for
1241
- # future extensions.
1239
+ # Deprecated. This field has no effect.
1242
1240
  # Corresponds to the JSON property `locationId`
1243
1241
  # @return [String]
1244
1242
  attr_accessor :location_id
@@ -1273,8 +1271,7 @@ module Google
1273
1271
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger]
1274
1272
  attr_accessor :job_trigger
1275
1273
 
1276
- # The geographic location to store the job trigger. Reserved for
1277
- # future extensions.
1274
+ # Deprecated. This field has no effect.
1278
1275
  # Corresponds to the JSON property `locationId`
1279
1276
  # @return [String]
1280
1277
  attr_accessor :location_id
@@ -1310,8 +1307,7 @@ module Google
1310
1307
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeConfig]
1311
1308
  attr_accessor :config
1312
1309
 
1313
- # The geographic location to store the stored infoType. Reserved for
1314
- # future extensions.
1310
+ # Deprecated. This field has no effect.
1315
1311
  # Corresponds to the JSON property `locationId`
1316
1312
  # @return [String]
1317
1313
  attr_accessor :location_id
@@ -1581,8 +1577,8 @@ module Google
1581
1577
 
1582
1578
  # Message for detecting output from deidentification transformations
1583
1579
  # such as
1584
- # [`CryptoReplaceFfxFpeConfig`](/dlp/docs/reference/rest/v2/organizations.
1585
- # deidentifyTemplates#cryptoreplaceffxfpeconfig).
1580
+ # [`CryptoReplaceFfxFpeConfig`](https://cloud.google.com/dlp/docs/reference/rest/
1581
+ # v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig).
1586
1582
  # These types of transformations are
1587
1583
  # those that perform pseudonymization, thereby producing a "surrogate" as
1588
1584
  # output. This should be used in conjunction with a field on the
@@ -1835,8 +1831,7 @@ module Google
1835
1831
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ContentItem]
1836
1832
  attr_accessor :item
1837
1833
 
1838
- # The geographic location to process de-identification. Reserved for future
1839
- # extensions.
1834
+ # Deprecated. This field has no effect.
1840
1835
  # Corresponds to the JSON property `locationId`
1841
1836
  # @return [String]
1842
1837
  attr_accessor :location_id
@@ -3314,10 +3309,7 @@ module Google
3314
3309
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ContentItem]
3315
3310
  attr_accessor :item
3316
3311
 
3317
- # The geographic location to process content inspection. Reserved for future
3318
- # extensions.
3319
- # When inspecting images location is restricted to 'global', 'us', 'asia',
3320
- # and 'europe'.
3312
+ # Deprecated. This field has no effect.
3321
3313
  # Corresponds to the JSON property `locationId`
3322
3314
  # @return [String]
3323
3315
  attr_accessor :location_id
@@ -4904,7 +4896,8 @@ module Google
4904
4896
  # Publish a message into given Pub/Sub topic when DlpJob has completed. The
4905
4897
  # message contains a single field, `DlpJobName`, which is equal to the
4906
4898
  # finished job's
4907
- # [`DlpJob.name`](/dlp/docs/reference/rest/v2/projects.dlpJobs#DlpJob).
4899
+ # [`DlpJob.name`](https://cloud.google.com/dlp/docs/reference/rest/v2/projects.
4900
+ # dlpJobs#DlpJob).
4908
4901
  # Compatible with: Inspect, Risk
4909
4902
  class GooglePrivacyDlpV2PublishToPubSub
4910
4903
  include Google::Apis::Core::Hashable
@@ -5262,9 +5255,7 @@ module Google
5262
5255
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig]
5263
5256
  attr_accessor :inspect_config
5264
5257
 
5265
- # The geographic location to process the request. Reserved for future
5266
- # extensions.
5267
- # Location is restricted to 'global', 'us', 'asia', and 'europe'.
5258
+ # Deprecated. This field has no effect.
5268
5259
  # Corresponds to the JSON property `locationId`
5269
5260
  # @return [String]
5270
5261
  attr_accessor :location_id
@@ -5370,8 +5361,7 @@ module Google
5370
5361
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ContentItem]
5371
5362
  attr_accessor :item
5372
5363
 
5373
- # The geographic location to process content reidentification. Reserved for
5374
- # future extensions.
5364
+ # Deprecated. This field has no effect.
5375
5365
  # Corresponds to the JSON property `locationId`
5376
5366
  # @return [String]
5377
5367
  attr_accessor :location_id
@@ -5987,8 +5977,8 @@ module Google
5987
5977
 
5988
5978
  # Message for detecting output from deidentification transformations
5989
5979
  # such as
5990
- # [`CryptoReplaceFfxFpeConfig`](/dlp/docs/reference/rest/v2/organizations.
5991
- # deidentifyTemplates#cryptoreplaceffxfpeconfig).
5980
+ # [`CryptoReplaceFfxFpeConfig`](https://cloud.google.com/dlp/docs/reference/rest/
5981
+ # v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig).
5992
5982
  # These types of transformations are
5993
5983
  # those that perform pseudonymization, thereby producing a "surrogate" as
5994
5984
  # output. This should be used in conjunction with a field on the
@@ -60,8 +60,10 @@ module Google
60
60
  # names. If omitted, or if localized strings are not available,
61
61
  # en-US strings will be returned.
62
62
  # @param [String] location_id
63
- # The geographic location to list info types. Reserved for future
64
- # extensions.
63
+ # Deprecated. This field has no effect.
64
+ # @param [String] parent
65
+ # The parent resource name.
66
+ # - Format:locations/[LOCATION-ID]
65
67
  # @param [String] fields
66
68
  # Selector specifying which fields to include in a partial response.
67
69
  # @param [String] quota_user
@@ -79,13 +81,14 @@ module Google
79
81
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
80
82
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
81
83
  # @raise [Google::Apis::AuthorizationError] Authorization is required
82
- def list_info_types(filter: nil, language_code: nil, location_id: nil, fields: nil, quota_user: nil, options: nil, &block)
84
+ def list_info_types(filter: nil, language_code: nil, location_id: nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
83
85
  command = make_simple_command(:get, 'v2/infoTypes', options)
84
86
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInfoTypesResponse::Representation
85
87
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInfoTypesResponse
86
88
  command.query['filter'] = filter unless filter.nil?
87
89
  command.query['languageCode'] = language_code unless language_code.nil?
88
90
  command.query['locationId'] = location_id unless location_id.nil?
91
+ command.query['parent'] = parent unless parent.nil?
89
92
  command.query['fields'] = fields unless fields.nil?
90
93
  command.query['quotaUser'] = quota_user unless quota_user.nil?
91
94
  execute_or_queue_command(command, &block)
@@ -94,9 +97,9 @@ module Google
94
97
  # Returns a list of the sensitive information types that the DLP API
95
98
  # supports. See https://cloud.google.com/dlp/docs/infotypes-reference to
96
99
  # learn more.
97
- # @param [String] location_id
98
- # The geographic location to list info types. Reserved for future
99
- # extensions.
100
+ # @param [String] parent
101
+ # The parent resource name.
102
+ # - Format:locations/[LOCATION-ID]
100
103
  # @param [String] filter
101
104
  # filter to only return infoTypes supported by certain parts of the
102
105
  # API. Defaults to supported_by=INSPECT.
@@ -104,6 +107,8 @@ module Google
104
107
  # BCP-47 language code for localized infoType friendly
105
108
  # names. If omitted, or if localized strings are not available,
106
109
  # en-US strings will be returned.
110
+ # @param [String] location_id
111
+ # Deprecated. This field has no effect.
107
112
  # @param [String] fields
108
113
  # Selector specifying which fields to include in a partial response.
109
114
  # @param [String] quota_user
@@ -121,13 +126,14 @@ module Google
121
126
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
122
127
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
123
128
  # @raise [Google::Apis::AuthorizationError] Authorization is required
124
- def list_location_info_types(location_id, filter: nil, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
125
- command = make_simple_command(:get, 'v2/locations/{locationId}/infoTypes', options)
129
+ def list_location_info_types(parent, filter: nil, language_code: nil, location_id: nil, fields: nil, quota_user: nil, options: nil, &block)
130
+ command = make_simple_command(:get, 'v2/{+parent}/infoTypes', options)
126
131
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInfoTypesResponse::Representation
127
132
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInfoTypesResponse
128
- command.params['locationId'] = location_id unless location_id.nil?
133
+ command.params['parent'] = parent unless parent.nil?
129
134
  command.query['filter'] = filter unless filter.nil?
130
135
  command.query['languageCode'] = language_code unless language_code.nil?
136
+ command.query['locationId'] = location_id unless location_id.nil?
131
137
  command.query['fields'] = fields unless fields.nil?
132
138
  command.query['quotaUser'] = quota_user unless quota_user.nil?
133
139
  execute_or_queue_command(command, &block)
@@ -138,8 +144,11 @@ module Google
138
144
  # See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
139
145
  # more.
140
146
  # @param [String] parent
141
- # Required. The parent resource name, for example projects/my-project-id or
142
- # organizations/my-org-id.
147
+ # Required. Parent resource name.
148
+ # - Format:projects/[PROJECT-ID]
149
+ # - Format:organizations/[ORGANIZATION-ID]
150
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
151
+ # - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
143
152
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDeidentifyTemplateRequest] google_privacy_dlp_v2_create_deidentify_template_request_object
144
153
  # @param [String] fields
145
154
  # Selector specifying which fields to include in a partial response.
@@ -244,11 +253,13 @@ module Google
244
253
  # See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
245
254
  # more.
246
255
  # @param [String] parent
247
- # Required. The parent resource name, for example projects/my-project-id or
248
- # organizations/my-org-id.
256
+ # Required. Parent resource name.
257
+ # - Format:projects/[PROJECT-ID]
258
+ # - Format:organizations/[ORGANIZATION-ID]
259
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
260
+ # - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
249
261
  # @param [String] location_id
250
- # The geographic location where deidentifications templates will be retrieved
251
- # from. Use `-` for all locations. Reserved for future extensions.
262
+ # Deprecated. This field has no effect.
252
263
  # @param [String] order_by
253
264
  # Comma separated list of fields to order by,
254
265
  # followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -339,8 +350,11 @@ module Google
339
350
  # for inspecting content, images, and storage.
340
351
  # See https://cloud.google.com/dlp/docs/creating-templates to learn more.
341
352
  # @param [String] parent
342
- # Required. The parent resource name, for example projects/my-project-id or
343
- # organizations/my-org-id.
353
+ # Required. Parent resource name.
354
+ # - Format:projects/[PROJECT-ID]
355
+ # - Format:organizations/[ORGANIZATION-ID]
356
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
357
+ # - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
344
358
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateInspectTemplateRequest] google_privacy_dlp_v2_create_inspect_template_request_object
345
359
  # @param [String] fields
346
360
  # Selector specifying which fields to include in a partial response.
@@ -442,11 +456,13 @@ module Google
442
456
  # Lists InspectTemplates.
443
457
  # See https://cloud.google.com/dlp/docs/creating-templates to learn more.
444
458
  # @param [String] parent
445
- # Required. The parent resource name, for example projects/my-project-id or
446
- # organizations/my-org-id.
459
+ # Required. Parent resource name.
460
+ # - Format:projects/[PROJECT-ID]
461
+ # - Format:organizations/[ORGANIZATION-ID]
462
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
463
+ # - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
447
464
  # @param [String] location_id
448
- # The geographic location where inspection templates will be retrieved from.
449
- # Use `-` for all locations. Reserved for future extensions.
465
+ # Deprecated. This field has no effect.
450
466
  # @param [String] order_by
451
467
  # Comma separated list of fields to order by,
452
468
  # followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -536,11 +552,11 @@ module Google
536
552
  # See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
537
553
  # more.
538
554
  # @param [String] parent
539
- # Required. The parent resource name, for example projects/my-project-id or
540
- # organizations/my-org-id.
541
- # @param [String] location_id
542
- # The geographic location to store the deidentification template. Reserved
543
- # for future extensions.
555
+ # Required. Parent resource name.
556
+ # - Format:projects/[PROJECT-ID]
557
+ # - Format:organizations/[ORGANIZATION-ID]
558
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
559
+ # - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
544
560
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDeidentifyTemplateRequest] google_privacy_dlp_v2_create_deidentify_template_request_object
545
561
  # @param [String] fields
546
562
  # Selector specifying which fields to include in a partial response.
@@ -559,14 +575,13 @@ module Google
559
575
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
560
576
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
561
577
  # @raise [Google::Apis::AuthorizationError] Authorization is required
562
- def create_organization_location_deidentify_template(parent, location_id, google_privacy_dlp_v2_create_deidentify_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
563
- command = make_simple_command(:post, 'v2/{+parent}/locations/{locationId}/deidentifyTemplates', options)
578
+ def create_organization_location_deidentify_template(parent, google_privacy_dlp_v2_create_deidentify_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
579
+ command = make_simple_command(:post, 'v2/{+parent}/deidentifyTemplates', options)
564
580
  command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDeidentifyTemplateRequest::Representation
565
581
  command.request_object = google_privacy_dlp_v2_create_deidentify_template_request_object
566
582
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate::Representation
567
583
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate
568
584
  command.params['parent'] = parent unless parent.nil?
569
- command.params['locationId'] = location_id unless location_id.nil?
570
585
  command.query['fields'] = fields unless fields.nil?
571
586
  command.query['quotaUser'] = quota_user unless quota_user.nil?
572
587
  execute_or_queue_command(command, &block)
@@ -646,11 +661,13 @@ module Google
646
661
  # See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
647
662
  # more.
648
663
  # @param [String] parent
649
- # Required. The parent resource name, for example projects/my-project-id or
650
- # organizations/my-org-id.
664
+ # Required. Parent resource name.
665
+ # - Format:projects/[PROJECT-ID]
666
+ # - Format:organizations/[ORGANIZATION-ID]
667
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
668
+ # - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
651
669
  # @param [String] location_id
652
- # The geographic location where deidentifications templates will be retrieved
653
- # from. Use `-` for all locations. Reserved for future extensions.
670
+ # Deprecated. This field has no effect.
654
671
  # @param [String] order_by
655
672
  # Comma separated list of fields to order by,
656
673
  # followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -685,12 +702,12 @@ module Google
685
702
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
686
703
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
687
704
  # @raise [Google::Apis::AuthorizationError] Authorization is required
688
- def list_organization_location_deidentify_templates(parent, location_id, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
689
- command = make_simple_command(:get, 'v2/{+parent}/locations/{locationId}/deidentifyTemplates', options)
705
+ def list_organization_location_deidentify_templates(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
706
+ command = make_simple_command(:get, 'v2/{+parent}/deidentifyTemplates', options)
690
707
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDeidentifyTemplatesResponse::Representation
691
708
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDeidentifyTemplatesResponse
692
709
  command.params['parent'] = parent unless parent.nil?
693
- command.params['locationId'] = location_id unless location_id.nil?
710
+ command.query['locationId'] = location_id unless location_id.nil?
694
711
  command.query['orderBy'] = order_by unless order_by.nil?
695
712
  command.query['pageSize'] = page_size unless page_size.nil?
696
713
  command.query['pageToken'] = page_token unless page_token.nil?
@@ -741,11 +758,11 @@ module Google
741
758
  # for inspecting content, images, and storage.
742
759
  # See https://cloud.google.com/dlp/docs/creating-templates to learn more.
743
760
  # @param [String] parent
744
- # Required. The parent resource name, for example projects/my-project-id or
745
- # organizations/my-org-id.
746
- # @param [String] location_id
747
- # The geographic location to store the inspection template. Reserved for
748
- # future extensions.
761
+ # Required. Parent resource name.
762
+ # - Format:projects/[PROJECT-ID]
763
+ # - Format:organizations/[ORGANIZATION-ID]
764
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
765
+ # - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
749
766
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateInspectTemplateRequest] google_privacy_dlp_v2_create_inspect_template_request_object
750
767
  # @param [String] fields
751
768
  # Selector specifying which fields to include in a partial response.
@@ -764,14 +781,13 @@ module Google
764
781
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
765
782
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
766
783
  # @raise [Google::Apis::AuthorizationError] Authorization is required
767
- def create_organization_location_inspect_template(parent, location_id, google_privacy_dlp_v2_create_inspect_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
768
- command = make_simple_command(:post, 'v2/{+parent}/locations/{locationId}/inspectTemplates', options)
784
+ def create_organization_location_inspect_template(parent, google_privacy_dlp_v2_create_inspect_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
785
+ command = make_simple_command(:post, 'v2/{+parent}/inspectTemplates', options)
769
786
  command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateInspectTemplateRequest::Representation
770
787
  command.request_object = google_privacy_dlp_v2_create_inspect_template_request_object
771
788
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate::Representation
772
789
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate
773
790
  command.params['parent'] = parent unless parent.nil?
774
- command.params['locationId'] = location_id unless location_id.nil?
775
791
  command.query['fields'] = fields unless fields.nil?
776
792
  command.query['quotaUser'] = quota_user unless quota_user.nil?
777
793
  execute_or_queue_command(command, &block)
@@ -848,11 +864,13 @@ module Google
848
864
  # Lists InspectTemplates.
849
865
  # See https://cloud.google.com/dlp/docs/creating-templates to learn more.
850
866
  # @param [String] parent
851
- # Required. The parent resource name, for example projects/my-project-id or
852
- # organizations/my-org-id.
867
+ # Required. Parent resource name.
868
+ # - Format:projects/[PROJECT-ID]
869
+ # - Format:organizations/[ORGANIZATION-ID]
870
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
871
+ # - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
853
872
  # @param [String] location_id
854
- # The geographic location where inspection templates will be retrieved from.
855
- # Use `-` for all locations. Reserved for future extensions.
873
+ # Deprecated. This field has no effect.
856
874
  # @param [String] order_by
857
875
  # Comma separated list of fields to order by,
858
876
  # followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -887,12 +905,12 @@ module Google
887
905
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
888
906
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
889
907
  # @raise [Google::Apis::AuthorizationError] Authorization is required
890
- def list_organization_location_inspect_templates(parent, location_id, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
891
- command = make_simple_command(:get, 'v2/{+parent}/locations/{locationId}/inspectTemplates', options)
908
+ def list_organization_location_inspect_templates(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
909
+ command = make_simple_command(:get, 'v2/{+parent}/inspectTemplates', options)
892
910
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse::Representation
893
911
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse
894
912
  command.params['parent'] = parent unless parent.nil?
895
- command.params['locationId'] = location_id unless location_id.nil?
913
+ command.query['locationId'] = location_id unless location_id.nil?
896
914
  command.query['orderBy'] = order_by unless order_by.nil?
897
915
  command.query['pageSize'] = page_size unless page_size.nil?
898
916
  command.query['pageToken'] = page_token unless page_token.nil?
@@ -941,11 +959,11 @@ module Google
941
959
  # See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
942
960
  # learn more.
943
961
  # @param [String] parent
944
- # Required. The parent resource name, for example projects/my-project-id or
945
- # organizations/my-org-id.
946
- # @param [String] location_id
947
- # The geographic location to store the stored infoType. Reserved for
948
- # future extensions.
962
+ # Required. Parent resource name.
963
+ # - Format:projects/[PROJECT-ID]
964
+ # - Format:organizations/[ORGANIZATION-ID]
965
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
966
+ # - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
949
967
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest] google_privacy_dlp_v2_create_stored_info_type_request_object
950
968
  # @param [String] fields
951
969
  # Selector specifying which fields to include in a partial response.
@@ -964,14 +982,13 @@ module Google
964
982
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
965
983
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
966
984
  # @raise [Google::Apis::AuthorizationError] Authorization is required
967
- def create_organization_location_stored_info_type(parent, location_id, google_privacy_dlp_v2_create_stored_info_type_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
968
- command = make_simple_command(:post, 'v2/{+parent}/locations/{locationId}/storedInfoTypes', options)
985
+ def create_organization_location_stored_info_type(parent, google_privacy_dlp_v2_create_stored_info_type_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
986
+ command = make_simple_command(:post, 'v2/{+parent}/storedInfoTypes', options)
969
987
  command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest::Representation
970
988
  command.request_object = google_privacy_dlp_v2_create_stored_info_type_request_object
971
989
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType::Representation
972
990
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType
973
991
  command.params['parent'] = parent unless parent.nil?
974
- command.params['locationId'] = location_id unless location_id.nil?
975
992
  command.query['fields'] = fields unless fields.nil?
976
993
  command.query['quotaUser'] = quota_user unless quota_user.nil?
977
994
  execute_or_queue_command(command, &block)
@@ -1050,11 +1067,13 @@ module Google
1050
1067
  # See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
1051
1068
  # learn more.
1052
1069
  # @param [String] parent
1053
- # Required. The parent resource name, for example projects/my-project-id or
1054
- # organizations/my-org-id.
1070
+ # Required. Parent resource name.
1071
+ # - Format:projects/[PROJECT-ID]
1072
+ # - Format:organizations/[ORGANIZATION-ID]
1073
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
1074
+ # - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
1055
1075
  # @param [String] location_id
1056
- # The geographic location where stored infoTypes will be retrieved from.
1057
- # Use `-` for all locations. Reserved for future extensions.
1076
+ # Deprecated. This field has no effect.
1058
1077
  # @param [String] order_by
1059
1078
  # Comma separated list of fields to order by,
1060
1079
  # followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1090,12 +1109,12 @@ module Google
1090
1109
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1091
1110
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1092
1111
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1093
- def list_organization_location_stored_info_types(parent, location_id, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1094
- command = make_simple_command(:get, 'v2/{+parent}/locations/{locationId}/storedInfoTypes', options)
1112
+ def list_organization_location_stored_info_types(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1113
+ command = make_simple_command(:get, 'v2/{+parent}/storedInfoTypes', options)
1095
1114
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse::Representation
1096
1115
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse
1097
1116
  command.params['parent'] = parent unless parent.nil?
1098
- command.params['locationId'] = location_id unless location_id.nil?
1117
+ command.query['locationId'] = location_id unless location_id.nil?
1099
1118
  command.query['orderBy'] = order_by unless order_by.nil?
1100
1119
  command.query['pageSize'] = page_size unless page_size.nil?
1101
1120
  command.query['pageToken'] = page_token unless page_token.nil?
@@ -1146,8 +1165,11 @@ module Google
1146
1165
  # See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
1147
1166
  # learn more.
1148
1167
  # @param [String] parent
1149
- # Required. The parent resource name, for example projects/my-project-id or
1150
- # organizations/my-org-id.
1168
+ # Required. Parent resource name.
1169
+ # - Format:projects/[PROJECT-ID]
1170
+ # - Format:organizations/[ORGANIZATION-ID]
1171
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
1172
+ # - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
1151
1173
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest] google_privacy_dlp_v2_create_stored_info_type_request_object
1152
1174
  # @param [String] fields
1153
1175
  # Selector specifying which fields to include in a partial response.
@@ -1251,11 +1273,13 @@ module Google
1251
1273
  # See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
1252
1274
  # learn more.
1253
1275
  # @param [String] parent
1254
- # Required. The parent resource name, for example projects/my-project-id or
1255
- # organizations/my-org-id.
1276
+ # Required. Parent resource name.
1277
+ # - Format:projects/[PROJECT-ID]
1278
+ # - Format:organizations/[ORGANIZATION-ID]
1279
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
1280
+ # - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
1256
1281
  # @param [String] location_id
1257
- # The geographic location where stored infoTypes will be retrieved from.
1258
- # Use `-` for all locations. Reserved for future extensions.
1282
+ # Deprecated. This field has no effect.
1259
1283
  # @param [String] order_by
1260
1284
  # Comma separated list of fields to order by,
1261
1285
  # followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1351,7 +1375,9 @@ module Google
1351
1375
  # system will automatically choose what detectors to run. By default this may
1352
1376
  # be all types, but may change over time as detectors are updated.
1353
1377
  # @param [String] parent
1354
- # The parent resource name, for example projects/my-project-id.
1378
+ # Parent resource name.
1379
+ # - Format:projects/[PROJECT-ID]
1380
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
1355
1381
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentRequest] google_privacy_dlp_v2_deidentify_content_request_object
1356
1382
  # @param [String] fields
1357
1383
  # Selector specifying which fields to include in a partial response.
@@ -1390,7 +1416,9 @@ module Google
1390
1416
  # For how to guides, see https://cloud.google.com/dlp/docs/inspecting-images
1391
1417
  # and https://cloud.google.com/dlp/docs/inspecting-text,
1392
1418
  # @param [String] parent
1393
- # The parent resource name, for example projects/my-project-id.
1419
+ # Parent resource name.
1420
+ # - Format:projects/[PROJECT-ID]
1421
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
1394
1422
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectContentRequest] google_privacy_dlp_v2_inspect_content_request_object
1395
1423
  # @param [String] fields
1396
1424
  # Selector specifying which fields to include in a partial response.
@@ -1428,6 +1456,8 @@ module Google
1428
1456
  # to learn more.
1429
1457
  # @param [String] parent
1430
1458
  # Required. The parent resource name.
1459
+ # - Format:projects/[PROJECT-ID]
1460
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
1431
1461
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2ReidentifyContentRequest] google_privacy_dlp_v2_reidentify_content_request_object
1432
1462
  # @param [String] fields
1433
1463
  # Selector specifying which fields to include in a partial response.
@@ -1463,8 +1493,11 @@ module Google
1463
1493
  # See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
1464
1494
  # more.
1465
1495
  # @param [String] parent
1466
- # Required. The parent resource name, for example projects/my-project-id or
1467
- # organizations/my-org-id.
1496
+ # Required. Parent resource name.
1497
+ # - Format:projects/[PROJECT-ID]
1498
+ # - Format:organizations/[ORGANIZATION-ID]
1499
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
1500
+ # - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
1468
1501
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDeidentifyTemplateRequest] google_privacy_dlp_v2_create_deidentify_template_request_object
1469
1502
  # @param [String] fields
1470
1503
  # Selector specifying which fields to include in a partial response.
@@ -1569,11 +1602,13 @@ module Google
1569
1602
  # See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
1570
1603
  # more.
1571
1604
  # @param [String] parent
1572
- # Required. The parent resource name, for example projects/my-project-id or
1573
- # organizations/my-org-id.
1605
+ # Required. Parent resource name.
1606
+ # - Format:projects/[PROJECT-ID]
1607
+ # - Format:organizations/[ORGANIZATION-ID]
1608
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
1609
+ # - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
1574
1610
  # @param [String] location_id
1575
- # The geographic location where deidentifications templates will be retrieved
1576
- # from. Use `-` for all locations. Reserved for future extensions.
1611
+ # Deprecated. This field has no effect.
1577
1612
  # @param [String] order_by
1578
1613
  # Comma separated list of fields to order by,
1579
1614
  # followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1704,7 +1739,9 @@ module Google
1704
1739
  # system will automatically choose what detectors to run. By default this may
1705
1740
  # be all types, but may change over time as detectors are updated.
1706
1741
  # @param [String] parent
1707
- # Required. The parent resource name, for example projects/my-project-id.
1742
+ # Required. Parent resource name.
1743
+ # - Format:projects/[PROJECT-ID]
1744
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
1708
1745
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDlpJobRequest] google_privacy_dlp_v2_create_dlp_job_request_object
1709
1746
  # @param [String] fields
1710
1747
  # Selector specifying which fields to include in a partial response.
@@ -1805,7 +1842,9 @@ module Google
1805
1842
  # See https://cloud.google.com/dlp/docs/inspecting-storage and
1806
1843
  # https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
1807
1844
  # @param [String] parent
1808
- # Required. The parent resource name, for example projects/my-project-id.
1845
+ # Required. Parent resource name.
1846
+ # - Format:projects/[PROJECT-ID]
1847
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
1809
1848
  # @param [String] filter
1810
1849
  # Allows filtering.
1811
1850
  # Supported syntax:
@@ -1831,8 +1870,7 @@ module Google
1831
1870
  # * end_time > \"2017-12-12T00:00:00+00:00\"
1832
1871
  # The length of this field should be no more than 500 characters.
1833
1872
  # @param [String] location_id
1834
- # The geographic location where jobs will be retrieved from.
1835
- # Use `-` for all locations. Reserved for future extensions.
1873
+ # Deprecated. This field has no effect.
1836
1874
  # @param [String] order_by
1837
1875
  # Comma separated list of fields to order by,
1838
1876
  # followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1891,7 +1929,9 @@ module Google
1891
1929
  # system will automatically choose what detectors to run. By default this may
1892
1930
  # be all types, but may change over time as detectors are updated.
1893
1931
  # @param [String] parent
1894
- # The parent resource name, for example projects/my-project-id.
1932
+ # The parent resource name.
1933
+ # - Format:projects/[PROJECT-ID]
1934
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
1895
1935
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageRequest] google_privacy_dlp_v2_redact_image_request_object
1896
1936
  # @param [String] fields
1897
1937
  # Selector specifying which fields to include in a partial response.
@@ -1926,8 +1966,11 @@ module Google
1926
1966
  # for inspecting content, images, and storage.
1927
1967
  # See https://cloud.google.com/dlp/docs/creating-templates to learn more.
1928
1968
  # @param [String] parent
1929
- # Required. The parent resource name, for example projects/my-project-id or
1930
- # organizations/my-org-id.
1969
+ # Required. Parent resource name.
1970
+ # - Format:projects/[PROJECT-ID]
1971
+ # - Format:organizations/[ORGANIZATION-ID]
1972
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
1973
+ # - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
1931
1974
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateInspectTemplateRequest] google_privacy_dlp_v2_create_inspect_template_request_object
1932
1975
  # @param [String] fields
1933
1976
  # Selector specifying which fields to include in a partial response.
@@ -2029,11 +2072,13 @@ module Google
2029
2072
  # Lists InspectTemplates.
2030
2073
  # See https://cloud.google.com/dlp/docs/creating-templates to learn more.
2031
2074
  # @param [String] parent
2032
- # Required. The parent resource name, for example projects/my-project-id or
2033
- # organizations/my-org-id.
2075
+ # Required. Parent resource name.
2076
+ # - Format:projects/[PROJECT-ID]
2077
+ # - Format:organizations/[ORGANIZATION-ID]
2078
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
2079
+ # - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
2034
2080
  # @param [String] location_id
2035
- # The geographic location where inspection templates will be retrieved from.
2036
- # Use `-` for all locations. Reserved for future extensions.
2081
+ # Deprecated. This field has no effect.
2037
2082
  # @param [String] order_by
2038
2083
  # Comma separated list of fields to order by,
2039
2084
  # followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -2157,7 +2202,9 @@ module Google
2157
2202
  # sensitive information on a set schedule.
2158
2203
  # See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
2159
2204
  # @param [String] parent
2160
- # Required. The parent resource name, for example projects/my-project-id.
2205
+ # Required. Parent resource name.
2206
+ # - Format:projects/[PROJECT-ID]
2207
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
2161
2208
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateJobTriggerRequest] google_privacy_dlp_v2_create_job_trigger_request_object
2162
2209
  # @param [String] fields
2163
2210
  # Selector specifying which fields to include in a partial response.
@@ -2255,7 +2302,9 @@ module Google
2255
2302
  # Lists job triggers.
2256
2303
  # See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
2257
2304
  # @param [String] parent
2258
- # Required. The parent resource name, for example `projects/my-project-id`.
2305
+ # Required. Parent resource name.
2306
+ # - Format:projects/[PROJECT-ID]
2307
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
2259
2308
  # @param [String] filter
2260
2309
  # Allows filtering.
2261
2310
  # Supported syntax:
@@ -2277,8 +2326,7 @@ module Google
2277
2326
  # * last_run_time > \"2017-12-12T00:00:00+00:00\"
2278
2327
  # The length of this field should be no more than 500 characters.
2279
2328
  # @param [String] location_id
2280
- # The geographic location where job triggers will be retrieved from.
2281
- # Use `-` for all locations. Reserved for future extensions.
2329
+ # Deprecated. This field has no effect.
2282
2330
  # @param [String] order_by
2283
2331
  # Comma separated list of triggeredJob fields to order by,
2284
2332
  # followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -2373,10 +2421,9 @@ module Google
2373
2421
  # system will automatically choose what detectors to run. By default this may
2374
2422
  # be all types, but may change over time as detectors are updated.
2375
2423
  # @param [String] parent
2376
- # The parent resource name, for example projects/my-project-id.
2377
- # @param [String] location_id
2378
- # The geographic location to process de-identification. Reserved for future
2379
- # extensions.
2424
+ # Parent resource name.
2425
+ # - Format:projects/[PROJECT-ID]
2426
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
2380
2427
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentRequest] google_privacy_dlp_v2_deidentify_content_request_object
2381
2428
  # @param [String] fields
2382
2429
  # Selector specifying which fields to include in a partial response.
@@ -2395,14 +2442,13 @@ module Google
2395
2442
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2396
2443
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2397
2444
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2398
- def deidentify_project_location_content(parent, location_id, google_privacy_dlp_v2_deidentify_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2399
- command = make_simple_command(:post, 'v2/{+parent}/locations/{locationId}/content:deidentify', options)
2445
+ def deidentify_project_location_content(parent, google_privacy_dlp_v2_deidentify_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2446
+ command = make_simple_command(:post, 'v2/{+parent}/content:deidentify', options)
2400
2447
  command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentRequest::Representation
2401
2448
  command.request_object = google_privacy_dlp_v2_deidentify_content_request_object
2402
2449
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentResponse::Representation
2403
2450
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentResponse
2404
2451
  command.params['parent'] = parent unless parent.nil?
2405
- command.params['locationId'] = location_id unless location_id.nil?
2406
2452
  command.query['fields'] = fields unless fields.nil?
2407
2453
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2408
2454
  execute_or_queue_command(command, &block)
@@ -2416,12 +2462,9 @@ module Google
2416
2462
  # For how to guides, see https://cloud.google.com/dlp/docs/inspecting-images
2417
2463
  # and https://cloud.google.com/dlp/docs/inspecting-text,
2418
2464
  # @param [String] parent
2419
- # The parent resource name, for example projects/my-project-id.
2420
- # @param [String] location_id
2421
- # The geographic location to process content inspection. Reserved for future
2422
- # extensions.
2423
- # When inspecting images location is restricted to 'global', 'us', 'asia',
2424
- # and 'europe'.
2465
+ # Parent resource name.
2466
+ # - Format:projects/[PROJECT-ID]
2467
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
2425
2468
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectContentRequest] google_privacy_dlp_v2_inspect_content_request_object
2426
2469
  # @param [String] fields
2427
2470
  # Selector specifying which fields to include in a partial response.
@@ -2440,14 +2483,13 @@ module Google
2440
2483
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2441
2484
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2442
2485
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2443
- def inspect_project_location_content(parent, location_id, google_privacy_dlp_v2_inspect_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2444
- command = make_simple_command(:post, 'v2/{+parent}/locations/{locationId}/content:inspect', options)
2486
+ def inspect_project_location_content(parent, google_privacy_dlp_v2_inspect_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2487
+ command = make_simple_command(:post, 'v2/{+parent}/content:inspect', options)
2445
2488
  command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectContentRequest::Representation
2446
2489
  command.request_object = google_privacy_dlp_v2_inspect_content_request_object
2447
2490
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectContentResponse::Representation
2448
2491
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectContentResponse
2449
2492
  command.params['parent'] = parent unless parent.nil?
2450
- command.params['locationId'] = location_id unless location_id.nil?
2451
2493
  command.query['fields'] = fields unless fields.nil?
2452
2494
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2453
2495
  execute_or_queue_command(command, &block)
@@ -2460,9 +2502,8 @@ module Google
2460
2502
  # to learn more.
2461
2503
  # @param [String] parent
2462
2504
  # Required. The parent resource name.
2463
- # @param [String] location_id
2464
- # The geographic location to process content reidentification. Reserved for
2465
- # future extensions.
2505
+ # - Format:projects/[PROJECT-ID]
2506
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
2466
2507
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2ReidentifyContentRequest] google_privacy_dlp_v2_reidentify_content_request_object
2467
2508
  # @param [String] fields
2468
2509
  # Selector specifying which fields to include in a partial response.
@@ -2481,14 +2522,13 @@ module Google
2481
2522
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2482
2523
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2483
2524
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2484
- def reidentify_project_location_content(parent, location_id, google_privacy_dlp_v2_reidentify_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2485
- command = make_simple_command(:post, 'v2/{+parent}/locations/{locationId}/content:reidentify', options)
2525
+ def reidentify_project_location_content(parent, google_privacy_dlp_v2_reidentify_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2526
+ command = make_simple_command(:post, 'v2/{+parent}/content:reidentify', options)
2486
2527
  command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ReidentifyContentRequest::Representation
2487
2528
  command.request_object = google_privacy_dlp_v2_reidentify_content_request_object
2488
2529
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ReidentifyContentResponse::Representation
2489
2530
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ReidentifyContentResponse
2490
2531
  command.params['parent'] = parent unless parent.nil?
2491
- command.params['locationId'] = location_id unless location_id.nil?
2492
2532
  command.query['fields'] = fields unless fields.nil?
2493
2533
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2494
2534
  execute_or_queue_command(command, &block)
@@ -2499,11 +2539,11 @@ module Google
2499
2539
  # See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
2500
2540
  # more.
2501
2541
  # @param [String] parent
2502
- # Required. The parent resource name, for example projects/my-project-id or
2503
- # organizations/my-org-id.
2504
- # @param [String] location_id
2505
- # The geographic location to store the deidentification template. Reserved
2506
- # for future extensions.
2542
+ # Required. Parent resource name.
2543
+ # - Format:projects/[PROJECT-ID]
2544
+ # - Format:organizations/[ORGANIZATION-ID]
2545
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
2546
+ # - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
2507
2547
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDeidentifyTemplateRequest] google_privacy_dlp_v2_create_deidentify_template_request_object
2508
2548
  # @param [String] fields
2509
2549
  # Selector specifying which fields to include in a partial response.
@@ -2522,14 +2562,13 @@ module Google
2522
2562
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2523
2563
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2524
2564
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2525
- def create_project_location_deidentify_template(parent, location_id, google_privacy_dlp_v2_create_deidentify_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2526
- command = make_simple_command(:post, 'v2/{+parent}/locations/{locationId}/deidentifyTemplates', options)
2565
+ def create_project_location_deidentify_template(parent, google_privacy_dlp_v2_create_deidentify_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2566
+ command = make_simple_command(:post, 'v2/{+parent}/deidentifyTemplates', options)
2527
2567
  command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDeidentifyTemplateRequest::Representation
2528
2568
  command.request_object = google_privacy_dlp_v2_create_deidentify_template_request_object
2529
2569
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate::Representation
2530
2570
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate
2531
2571
  command.params['parent'] = parent unless parent.nil?
2532
- command.params['locationId'] = location_id unless location_id.nil?
2533
2572
  command.query['fields'] = fields unless fields.nil?
2534
2573
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2535
2574
  execute_or_queue_command(command, &block)
@@ -2609,11 +2648,13 @@ module Google
2609
2648
  # See https://cloud.google.com/dlp/docs/creating-templates-deid to learn
2610
2649
  # more.
2611
2650
  # @param [String] parent
2612
- # Required. The parent resource name, for example projects/my-project-id or
2613
- # organizations/my-org-id.
2651
+ # Required. Parent resource name.
2652
+ # - Format:projects/[PROJECT-ID]
2653
+ # - Format:organizations/[ORGANIZATION-ID]
2654
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
2655
+ # - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
2614
2656
  # @param [String] location_id
2615
- # The geographic location where deidentifications templates will be retrieved
2616
- # from. Use `-` for all locations. Reserved for future extensions.
2657
+ # Deprecated. This field has no effect.
2617
2658
  # @param [String] order_by
2618
2659
  # Comma separated list of fields to order by,
2619
2660
  # followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -2648,12 +2689,12 @@ module Google
2648
2689
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2649
2690
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2650
2691
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2651
- def list_project_location_deidentify_templates(parent, location_id, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2652
- command = make_simple_command(:get, 'v2/{+parent}/locations/{locationId}/deidentifyTemplates', options)
2692
+ def list_project_location_deidentify_templates(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2693
+ command = make_simple_command(:get, 'v2/{+parent}/deidentifyTemplates', options)
2653
2694
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDeidentifyTemplatesResponse::Representation
2654
2695
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDeidentifyTemplatesResponse
2655
2696
  command.params['parent'] = parent unless parent.nil?
2656
- command.params['locationId'] = location_id unless location_id.nil?
2697
+ command.query['locationId'] = location_id unless location_id.nil?
2657
2698
  command.query['orderBy'] = order_by unless order_by.nil?
2658
2699
  command.query['pageSize'] = page_size unless page_size.nil?
2659
2700
  command.query['pageToken'] = page_token unless page_token.nil?
@@ -2744,10 +2785,9 @@ module Google
2744
2785
  # system will automatically choose what detectors to run. By default this may
2745
2786
  # be all types, but may change over time as detectors are updated.
2746
2787
  # @param [String] parent
2747
- # Required. The parent resource name, for example projects/my-project-id.
2748
- # @param [String] location_id
2749
- # The geographic location to store and process the job. Reserved for
2750
- # future extensions.
2788
+ # Required. Parent resource name.
2789
+ # - Format:projects/[PROJECT-ID]
2790
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
2751
2791
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDlpJobRequest] google_privacy_dlp_v2_create_dlp_job_request_object
2752
2792
  # @param [String] fields
2753
2793
  # Selector specifying which fields to include in a partial response.
@@ -2766,14 +2806,13 @@ module Google
2766
2806
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2767
2807
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2768
2808
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2769
- def create_project_location_dlp_job(parent, location_id, google_privacy_dlp_v2_create_dlp_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2770
- command = make_simple_command(:post, 'v2/{+parent}/locations/{locationId}/dlpJobs', options)
2809
+ def create_project_location_dlp_job(parent, google_privacy_dlp_v2_create_dlp_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2810
+ command = make_simple_command(:post, 'v2/{+parent}/dlpJobs', options)
2771
2811
  command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDlpJobRequest::Representation
2772
2812
  command.request_object = google_privacy_dlp_v2_create_dlp_job_request_object
2773
2813
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DlpJob::Representation
2774
2814
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DlpJob
2775
2815
  command.params['parent'] = parent unless parent.nil?
2776
- command.params['locationId'] = location_id unless location_id.nil?
2777
2816
  command.query['fields'] = fields unless fields.nil?
2778
2817
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2779
2818
  execute_or_queue_command(command, &block)
@@ -2925,10 +2964,9 @@ module Google
2925
2964
  # See https://cloud.google.com/dlp/docs/inspecting-storage and
2926
2965
  # https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
2927
2966
  # @param [String] parent
2928
- # Required. The parent resource name, for example projects/my-project-id.
2929
- # @param [String] location_id
2930
- # The geographic location where jobs will be retrieved from.
2931
- # Use `-` for all locations. Reserved for future extensions.
2967
+ # Required. Parent resource name.
2968
+ # - Format:projects/[PROJECT-ID]
2969
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
2932
2970
  # @param [String] filter
2933
2971
  # Allows filtering.
2934
2972
  # Supported syntax:
@@ -2953,6 +2991,8 @@ module Google
2953
2991
  # * inspected_storage = cloud_storage AND (state = done OR state = canceled)
2954
2992
  # * end_time > \"2017-12-12T00:00:00+00:00\"
2955
2993
  # The length of this field should be no more than 500 characters.
2994
+ # @param [String] location_id
2995
+ # Deprecated. This field has no effect.
2956
2996
  # @param [String] order_by
2957
2997
  # Comma separated list of fields to order by,
2958
2998
  # followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -2987,13 +3027,13 @@ module Google
2987
3027
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2988
3028
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2989
3029
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2990
- def list_project_location_dlp_jobs(parent, location_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
2991
- command = make_simple_command(:get, 'v2/{+parent}/locations/{locationId}/dlpJobs', options)
3030
+ def list_project_location_dlp_jobs(parent, filter: nil, location_id: nil, order_by: nil, page_size: nil, page_token: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
3031
+ command = make_simple_command(:get, 'v2/{+parent}/dlpJobs', options)
2992
3032
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDlpJobsResponse::Representation
2993
3033
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDlpJobsResponse
2994
3034
  command.params['parent'] = parent unless parent.nil?
2995
- command.params['locationId'] = location_id unless location_id.nil?
2996
3035
  command.query['filter'] = filter unless filter.nil?
3036
+ command.query['locationId'] = location_id unless location_id.nil?
2997
3037
  command.query['orderBy'] = order_by unless order_by.nil?
2998
3038
  command.query['pageSize'] = page_size unless page_size.nil?
2999
3039
  command.query['pageToken'] = page_token unless page_token.nil?
@@ -3011,11 +3051,9 @@ module Google
3011
3051
  # system will automatically choose what detectors to run. By default this may
3012
3052
  # be all types, but may change over time as detectors are updated.
3013
3053
  # @param [String] parent
3014
- # The parent resource name, for example projects/my-project-id.
3015
- # @param [String] location_id
3016
- # The geographic location to process the request. Reserved for future
3017
- # extensions.
3018
- # Location is restricted to 'global', 'us', 'asia', and 'europe'.
3054
+ # The parent resource name.
3055
+ # - Format:projects/[PROJECT-ID]
3056
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
3019
3057
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageRequest] google_privacy_dlp_v2_redact_image_request_object
3020
3058
  # @param [String] fields
3021
3059
  # Selector specifying which fields to include in a partial response.
@@ -3034,14 +3072,13 @@ module Google
3034
3072
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3035
3073
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3036
3074
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3037
- def redact_project_location_image(parent, location_id, google_privacy_dlp_v2_redact_image_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3038
- command = make_simple_command(:post, 'v2/{+parent}/locations/{locationId}/image:redact', options)
3075
+ def redact_project_location_image(parent, google_privacy_dlp_v2_redact_image_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3076
+ command = make_simple_command(:post, 'v2/{+parent}/image:redact', options)
3039
3077
  command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageRequest::Representation
3040
3078
  command.request_object = google_privacy_dlp_v2_redact_image_request_object
3041
3079
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageResponse::Representation
3042
3080
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageResponse
3043
3081
  command.params['parent'] = parent unless parent.nil?
3044
- command.params['locationId'] = location_id unless location_id.nil?
3045
3082
  command.query['fields'] = fields unless fields.nil?
3046
3083
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3047
3084
  execute_or_queue_command(command, &block)
@@ -3051,11 +3088,11 @@ module Google
3051
3088
  # for inspecting content, images, and storage.
3052
3089
  # See https://cloud.google.com/dlp/docs/creating-templates to learn more.
3053
3090
  # @param [String] parent
3054
- # Required. The parent resource name, for example projects/my-project-id or
3055
- # organizations/my-org-id.
3056
- # @param [String] location_id
3057
- # The geographic location to store the inspection template. Reserved for
3058
- # future extensions.
3091
+ # Required. Parent resource name.
3092
+ # - Format:projects/[PROJECT-ID]
3093
+ # - Format:organizations/[ORGANIZATION-ID]
3094
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
3095
+ # - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
3059
3096
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateInspectTemplateRequest] google_privacy_dlp_v2_create_inspect_template_request_object
3060
3097
  # @param [String] fields
3061
3098
  # Selector specifying which fields to include in a partial response.
@@ -3074,14 +3111,13 @@ module Google
3074
3111
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3075
3112
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3076
3113
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3077
- def create_project_location_inspect_template(parent, location_id, google_privacy_dlp_v2_create_inspect_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3078
- command = make_simple_command(:post, 'v2/{+parent}/locations/{locationId}/inspectTemplates', options)
3114
+ def create_project_location_inspect_template(parent, google_privacy_dlp_v2_create_inspect_template_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3115
+ command = make_simple_command(:post, 'v2/{+parent}/inspectTemplates', options)
3079
3116
  command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateInspectTemplateRequest::Representation
3080
3117
  command.request_object = google_privacy_dlp_v2_create_inspect_template_request_object
3081
3118
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate::Representation
3082
3119
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate
3083
3120
  command.params['parent'] = parent unless parent.nil?
3084
- command.params['locationId'] = location_id unless location_id.nil?
3085
3121
  command.query['fields'] = fields unless fields.nil?
3086
3122
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3087
3123
  execute_or_queue_command(command, &block)
@@ -3158,11 +3194,13 @@ module Google
3158
3194
  # Lists InspectTemplates.
3159
3195
  # See https://cloud.google.com/dlp/docs/creating-templates to learn more.
3160
3196
  # @param [String] parent
3161
- # Required. The parent resource name, for example projects/my-project-id or
3162
- # organizations/my-org-id.
3197
+ # Required. Parent resource name.
3198
+ # - Format:projects/[PROJECT-ID]
3199
+ # - Format:organizations/[ORGANIZATION-ID]
3200
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
3201
+ # - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
3163
3202
  # @param [String] location_id
3164
- # The geographic location where inspection templates will be retrieved from.
3165
- # Use `-` for all locations. Reserved for future extensions.
3203
+ # Deprecated. This field has no effect.
3166
3204
  # @param [String] order_by
3167
3205
  # Comma separated list of fields to order by,
3168
3206
  # followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -3197,12 +3235,12 @@ module Google
3197
3235
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3198
3236
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3199
3237
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3200
- def list_project_location_inspect_templates(parent, location_id, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3201
- command = make_simple_command(:get, 'v2/{+parent}/locations/{locationId}/inspectTemplates', options)
3238
+ def list_project_location_inspect_templates(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3239
+ command = make_simple_command(:get, 'v2/{+parent}/inspectTemplates', options)
3202
3240
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse::Representation
3203
3241
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse
3204
3242
  command.params['parent'] = parent unless parent.nil?
3205
- command.params['locationId'] = location_id unless location_id.nil?
3243
+ command.query['locationId'] = location_id unless location_id.nil?
3206
3244
  command.query['orderBy'] = order_by unless order_by.nil?
3207
3245
  command.query['pageSize'] = page_size unless page_size.nil?
3208
3246
  command.query['pageToken'] = page_token unless page_token.nil?
@@ -3286,10 +3324,9 @@ module Google
3286
3324
  # sensitive information on a set schedule.
3287
3325
  # See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
3288
3326
  # @param [String] parent
3289
- # Required. The parent resource name, for example projects/my-project-id.
3290
- # @param [String] location_id
3291
- # The geographic location to store the job trigger. Reserved for
3292
- # future extensions.
3327
+ # Required. Parent resource name.
3328
+ # - Format:projects/[PROJECT-ID]
3329
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
3293
3330
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateJobTriggerRequest] google_privacy_dlp_v2_create_job_trigger_request_object
3294
3331
  # @param [String] fields
3295
3332
  # Selector specifying which fields to include in a partial response.
@@ -3308,14 +3345,13 @@ module Google
3308
3345
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3309
3346
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3310
3347
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3311
- def create_project_location_job_trigger(parent, location_id, google_privacy_dlp_v2_create_job_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3312
- command = make_simple_command(:post, 'v2/{+parent}/locations/{locationId}/jobTriggers', options)
3348
+ def create_project_location_job_trigger(parent, google_privacy_dlp_v2_create_job_trigger_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3349
+ command = make_simple_command(:post, 'v2/{+parent}/jobTriggers', options)
3313
3350
  command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateJobTriggerRequest::Representation
3314
3351
  command.request_object = google_privacy_dlp_v2_create_job_trigger_request_object
3315
3352
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger::Representation
3316
3353
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger
3317
3354
  command.params['parent'] = parent unless parent.nil?
3318
- command.params['locationId'] = location_id unless location_id.nil?
3319
3355
  command.query['fields'] = fields unless fields.nil?
3320
3356
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3321
3357
  execute_or_queue_command(command, &block)
@@ -3428,10 +3464,9 @@ module Google
3428
3464
  # Lists job triggers.
3429
3465
  # See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
3430
3466
  # @param [String] parent
3431
- # Required. The parent resource name, for example `projects/my-project-id`.
3432
- # @param [String] location_id
3433
- # The geographic location where job triggers will be retrieved from.
3434
- # Use `-` for all locations. Reserved for future extensions.
3467
+ # Required. Parent resource name.
3468
+ # - Format:projects/[PROJECT-ID]
3469
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
3435
3470
  # @param [String] filter
3436
3471
  # Allows filtering.
3437
3472
  # Supported syntax:
@@ -3452,6 +3487,8 @@ module Google
3452
3487
  # * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY)
3453
3488
  # * last_run_time > \"2017-12-12T00:00:00+00:00\"
3454
3489
  # The length of this field should be no more than 500 characters.
3490
+ # @param [String] location_id
3491
+ # Deprecated. This field has no effect.
3455
3492
  # @param [String] order_by
3456
3493
  # Comma separated list of triggeredJob fields to order by,
3457
3494
  # followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -3488,13 +3525,13 @@ module Google
3488
3525
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3489
3526
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3490
3527
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3491
- def list_project_location_job_triggers(parent, location_id, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3492
- command = make_simple_command(:get, 'v2/{+parent}/locations/{locationId}/jobTriggers', options)
3528
+ def list_project_location_job_triggers(parent, filter: nil, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3529
+ command = make_simple_command(:get, 'v2/{+parent}/jobTriggers', options)
3493
3530
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListJobTriggersResponse::Representation
3494
3531
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListJobTriggersResponse
3495
3532
  command.params['parent'] = parent unless parent.nil?
3496
- command.params['locationId'] = location_id unless location_id.nil?
3497
3533
  command.query['filter'] = filter unless filter.nil?
3534
+ command.query['locationId'] = location_id unless location_id.nil?
3498
3535
  command.query['orderBy'] = order_by unless order_by.nil?
3499
3536
  command.query['pageSize'] = page_size unless page_size.nil?
3500
3537
  command.query['pageToken'] = page_token unless page_token.nil?
@@ -3542,11 +3579,11 @@ module Google
3542
3579
  # See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
3543
3580
  # learn more.
3544
3581
  # @param [String] parent
3545
- # Required. The parent resource name, for example projects/my-project-id or
3546
- # organizations/my-org-id.
3547
- # @param [String] location_id
3548
- # The geographic location to store the stored infoType. Reserved for
3549
- # future extensions.
3582
+ # Required. Parent resource name.
3583
+ # - Format:projects/[PROJECT-ID]
3584
+ # - Format:organizations/[ORGANIZATION-ID]
3585
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
3586
+ # - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
3550
3587
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest] google_privacy_dlp_v2_create_stored_info_type_request_object
3551
3588
  # @param [String] fields
3552
3589
  # Selector specifying which fields to include in a partial response.
@@ -3565,14 +3602,13 @@ module Google
3565
3602
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3566
3603
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3567
3604
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3568
- def create_project_location_stored_info_type(parent, location_id, google_privacy_dlp_v2_create_stored_info_type_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3569
- command = make_simple_command(:post, 'v2/{+parent}/locations/{locationId}/storedInfoTypes', options)
3605
+ def create_project_location_stored_info_type(parent, google_privacy_dlp_v2_create_stored_info_type_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3606
+ command = make_simple_command(:post, 'v2/{+parent}/storedInfoTypes', options)
3570
3607
  command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest::Representation
3571
3608
  command.request_object = google_privacy_dlp_v2_create_stored_info_type_request_object
3572
3609
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType::Representation
3573
3610
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType
3574
3611
  command.params['parent'] = parent unless parent.nil?
3575
- command.params['locationId'] = location_id unless location_id.nil?
3576
3612
  command.query['fields'] = fields unless fields.nil?
3577
3613
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3578
3614
  execute_or_queue_command(command, &block)
@@ -3651,11 +3687,13 @@ module Google
3651
3687
  # See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
3652
3688
  # learn more.
3653
3689
  # @param [String] parent
3654
- # Required. The parent resource name, for example projects/my-project-id or
3655
- # organizations/my-org-id.
3690
+ # Required. Parent resource name.
3691
+ # - Format:projects/[PROJECT-ID]
3692
+ # - Format:organizations/[ORGANIZATION-ID]
3693
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
3694
+ # - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
3656
3695
  # @param [String] location_id
3657
- # The geographic location where stored infoTypes will be retrieved from.
3658
- # Use `-` for all locations. Reserved for future extensions.
3696
+ # Deprecated. This field has no effect.
3659
3697
  # @param [String] order_by
3660
3698
  # Comma separated list of fields to order by,
3661
3699
  # followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -3691,12 +3729,12 @@ module Google
3691
3729
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3692
3730
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3693
3731
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3694
- def list_project_location_stored_info_types(parent, location_id, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3695
- command = make_simple_command(:get, 'v2/{+parent}/locations/{locationId}/storedInfoTypes', options)
3732
+ def list_project_location_stored_info_types(parent, location_id: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3733
+ command = make_simple_command(:get, 'v2/{+parent}/storedInfoTypes', options)
3696
3734
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse::Representation
3697
3735
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse
3698
3736
  command.params['parent'] = parent unless parent.nil?
3699
- command.params['locationId'] = location_id unless location_id.nil?
3737
+ command.query['locationId'] = location_id unless location_id.nil?
3700
3738
  command.query['orderBy'] = order_by unless order_by.nil?
3701
3739
  command.query['pageSize'] = page_size unless page_size.nil?
3702
3740
  command.query['pageToken'] = page_token unless page_token.nil?
@@ -3747,8 +3785,11 @@ module Google
3747
3785
  # See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
3748
3786
  # learn more.
3749
3787
  # @param [String] parent
3750
- # Required. The parent resource name, for example projects/my-project-id or
3751
- # organizations/my-org-id.
3788
+ # Required. Parent resource name.
3789
+ # - Format:projects/[PROJECT-ID]
3790
+ # - Format:organizations/[ORGANIZATION-ID]
3791
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
3792
+ # - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
3752
3793
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest] google_privacy_dlp_v2_create_stored_info_type_request_object
3753
3794
  # @param [String] fields
3754
3795
  # Selector specifying which fields to include in a partial response.
@@ -3852,11 +3893,13 @@ module Google
3852
3893
  # See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
3853
3894
  # learn more.
3854
3895
  # @param [String] parent
3855
- # Required. The parent resource name, for example projects/my-project-id or
3856
- # organizations/my-org-id.
3896
+ # Required. Parent resource name.
3897
+ # - Format:projects/[PROJECT-ID]
3898
+ # - Format:organizations/[ORGANIZATION-ID]
3899
+ # - Format:projects/[PROJECT-ID]/locations/[LOCATION-ID]
3900
+ # - Format:organizations/[ORGANIZATION-ID]/locations/[LOCATION-ID]
3857
3901
  # @param [String] location_id
3858
- # The geographic location where stored infoTypes will be retrieved from.
3859
- # Use `-` for all locations. Reserved for future extensions.
3902
+ # Deprecated. This field has no effect.
3860
3903
  # @param [String] order_by
3861
3904
  # Comma separated list of fields to order by,
3862
3905
  # followed by `asc` or `desc` postfix. This list is case-insensitive,