google-api-client 0.39.1 → 0.40.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (346) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +164 -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/apigee_v1.rb +1 -1
  6. data/generated/google/apis/apigee_v1/classes.rb +70 -347
  7. data/generated/google/apis/apigee_v1/representations.rb +6 -128
  8. data/generated/google/apis/apigee_v1/service.rb +60 -550
  9. data/generated/google/apis/appengine_v1.rb +1 -1
  10. data/generated/google/apis/appengine_v1/classes.rb +7 -0
  11. data/generated/google/apis/appengine_v1/representations.rb +1 -0
  12. data/generated/google/apis/appengine_v1beta.rb +1 -1
  13. data/generated/google/apis/appengine_v1beta/classes.rb +7 -0
  14. data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
  15. data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
  16. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +1010 -0
  17. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +380 -0
  18. data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
  19. data/generated/google/apis/bigquery_v2.rb +1 -1
  20. data/generated/google/apis/bigquery_v2/classes.rb +46 -1
  21. data/generated/google/apis/bigquery_v2/representations.rb +4 -0
  22. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  23. data/generated/google/apis/bigqueryreservation_v1/classes.rb +21 -15
  24. data/generated/google/apis/bigqueryreservation_v1/service.rb +94 -81
  25. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  26. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  27. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +20 -61
  28. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +0 -16
  29. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +93 -68
  30. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  31. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  32. data/generated/google/apis/bigtableadmin_v2/service.rb +4 -4
  33. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  34. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +21 -0
  35. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +6 -0
  36. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  37. data/generated/google/apis/binaryauthorization_v1/classes.rb +4 -1
  38. data/generated/google/apis/calendar_v3.rb +1 -1
  39. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  40. data/generated/google/apis/{pagespeedonline_v1.rb → chromeuxreport_v1.rb} +9 -9
  41. data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
  42. data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
  43. data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
  44. data/generated/google/apis/cloudasset_v1.rb +1 -1
  45. data/generated/google/apis/cloudasset_v1/classes.rb +371 -27
  46. data/generated/google/apis/cloudasset_v1/representations.rb +97 -0
  47. data/generated/google/apis/cloudasset_v1/service.rb +186 -8
  48. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  49. data/generated/google/apis/cloudasset_v1beta1/classes.rb +23 -10
  50. data/generated/google/apis/cloudasset_v1beta1/service.rb +12 -3
  51. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  52. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +42 -10
  53. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +2 -0
  54. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  55. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  56. data/generated/google/apis/cloudbuild_v1/classes.rb +1 -0
  57. data/generated/google/apis/cloudbuild_v1/service.rb +121 -0
  58. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  59. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +142 -0
  60. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +60 -0
  61. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -0
  62. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  63. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +142 -0
  64. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +60 -0
  65. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +121 -0
  66. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  67. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +6 -0
  68. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
  69. data/generated/google/apis/cloudiot_v1.rb +1 -1
  70. data/generated/google/apis/cloudiot_v1/classes.rb +26 -10
  71. data/generated/google/apis/cloudkms_v1.rb +1 -1
  72. data/generated/google/apis/cloudkms_v1/classes.rb +307 -14
  73. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  74. data/generated/google/apis/cloudkms_v1/service.rb +15 -6
  75. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  76. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +26 -10
  77. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  78. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +26 -10
  79. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  80. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +26 -10
  81. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  82. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +26 -10
  83. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  84. data/generated/google/apis/cloudsearch_v1/classes.rb +8 -6
  85. data/generated/google/apis/cloudshell_v1.rb +1 -1
  86. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  87. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  88. data/generated/google/apis/cloudtasks_v2/classes.rb +2 -2
  89. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  90. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +2 -2
  91. data/generated/google/apis/composer_v1beta1.rb +1 -1
  92. data/generated/google/apis/composer_v1beta1/classes.rb +58 -0
  93. data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
  94. data/generated/google/apis/composer_v1beta1/service.rb +5 -0
  95. data/generated/google/apis/compute_alpha.rb +1 -1
  96. data/generated/google/apis/compute_alpha/classes.rb +165 -65
  97. data/generated/google/apis/compute_alpha/representations.rb +30 -1
  98. data/generated/google/apis/compute_alpha/service.rb +157 -0
  99. data/generated/google/apis/compute_beta.rb +1 -1
  100. data/generated/google/apis/compute_beta/classes.rb +172 -55
  101. data/generated/google/apis/compute_beta/representations.rb +47 -0
  102. data/generated/google/apis/compute_v1.rb +1 -1
  103. data/generated/google/apis/compute_v1/classes.rb +148 -51
  104. data/generated/google/apis/compute_v1/representations.rb +21 -0
  105. data/generated/google/apis/compute_v1/service.rb +83 -0
  106. data/generated/google/apis/container_v1.rb +1 -1
  107. data/generated/google/apis/container_v1/classes.rb +5 -6
  108. data/generated/google/apis/container_v1beta1.rb +1 -1
  109. data/generated/google/apis/container_v1beta1/classes.rb +65 -6
  110. data/generated/google/apis/container_v1beta1/representations.rb +33 -0
  111. data/generated/google/apis/content_v2_1.rb +1 -1
  112. data/generated/google/apis/content_v2_1/classes.rb +6 -0
  113. data/generated/google/apis/content_v2_1/representations.rb +1 -0
  114. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  115. data/generated/google/apis/datacatalog_v1beta1/classes.rb +26 -10
  116. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  117. data/generated/google/apis/dataflow_v1b3/classes.rb +331 -0
  118. data/generated/google/apis/dataflow_v1b3/representations.rb +164 -0
  119. data/generated/google/apis/dataflow_v1b3/service.rb +261 -0
  120. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  121. data/generated/google/apis/dataproc_v1beta2/classes.rb +26 -12
  122. data/generated/google/apis/dataproc_v1beta2/service.rb +35 -21
  123. data/generated/google/apis/datastore_v1.rb +1 -1
  124. data/generated/google/apis/datastore_v1/classes.rb +1 -1
  125. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  126. data/generated/google/apis/datastore_v1beta3/classes.rb +1 -1
  127. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  128. data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
  129. data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
  130. data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
  131. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  132. data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
  133. data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
  134. data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
  135. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  136. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
  137. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
  138. data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
  139. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  140. data/generated/google/apis/dfareporting_v3_3/classes.rb +2 -2
  141. data/generated/google/apis/dfareporting_v3_3/service.rb +2 -2
  142. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  143. data/generated/google/apis/dfareporting_v3_4/classes.rb +2 -2
  144. data/generated/google/apis/dfareporting_v3_4/service.rb +2 -2
  145. data/generated/google/apis/dialogflow_v2.rb +1 -1
  146. data/generated/google/apis/dialogflow_v2/classes.rb +568 -8
  147. data/generated/google/apis/dialogflow_v2/representations.rb +238 -0
  148. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  149. data/generated/google/apis/dialogflow_v2beta1/classes.rb +568 -8
  150. data/generated/google/apis/dialogflow_v2beta1/representations.rb +238 -0
  151. data/generated/google/apis/dialogflow_v2beta1/service.rb +46 -2
  152. data/generated/google/apis/dialogflow_v3alpha1.rb +38 -0
  153. data/generated/google/apis/dialogflow_v3alpha1/classes.rb +5579 -0
  154. data/generated/google/apis/dialogflow_v3alpha1/representations.rb +2295 -0
  155. data/generated/google/apis/dialogflow_v3alpha1/service.rb +296 -0
  156. data/generated/google/apis/displayvideo_v1.rb +1 -1
  157. data/generated/google/apis/displayvideo_v1/classes.rb +149 -0
  158. data/generated/google/apis/displayvideo_v1/representations.rb +76 -0
  159. data/generated/google/apis/displayvideo_v1/service.rb +287 -2
  160. data/generated/google/apis/dlp_v2.rb +1 -1
  161. data/generated/google/apis/dlp_v2/classes.rb +9 -21
  162. data/generated/google/apis/dlp_v2/service.rb +79 -142
  163. data/generated/google/apis/dns_v1.rb +1 -1
  164. data/generated/google/apis/dns_v1/classes.rb +160 -261
  165. data/generated/google/apis/dns_v1/representations.rb +17 -0
  166. data/generated/google/apis/dns_v1/service.rb +21 -141
  167. data/generated/google/apis/dns_v1beta2.rb +1 -1
  168. data/generated/google/apis/dns_v1beta2/classes.rb +189 -273
  169. data/generated/google/apis/dns_v1beta2/representations.rb +32 -0
  170. data/generated/google/apis/dns_v1beta2/service.rb +21 -141
  171. data/generated/google/apis/dns_v2beta1.rb +1 -1
  172. data/generated/google/apis/dns_v2beta1/classes.rb +160 -261
  173. data/generated/google/apis/dns_v2beta1/representations.rb +17 -0
  174. data/generated/google/apis/dns_v2beta1/service.rb +21 -141
  175. data/generated/google/apis/file_v1.rb +1 -1
  176. data/generated/google/apis/file_v1/classes.rb +1187 -0
  177. data/generated/google/apis/file_v1/representations.rb +396 -0
  178. data/generated/google/apis/file_v1beta1.rb +1 -1
  179. data/generated/google/apis/file_v1beta1/classes.rb +1187 -0
  180. data/generated/google/apis/file_v1beta1/representations.rb +396 -0
  181. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  182. data/generated/google/apis/firebase_v1beta1/classes.rb +2 -12
  183. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  184. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +4 -4
  185. data/generated/google/apis/{pagespeedonline_v2.rb → firebaseml_v1.rb} +12 -10
  186. data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
  187. data/generated/google/apis/firebaseml_v1/representations.rb +112 -0
  188. data/generated/google/apis/firebaseml_v1/service.rb +181 -0
  189. data/generated/google/apis/fitness_v1.rb +4 -4
  190. data/generated/google/apis/fitness_v1/classes.rb +185 -158
  191. data/generated/google/apis/fitness_v1/service.rb +187 -215
  192. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  193. data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -1
  194. data/generated/google/apis/games_management_v1management.rb +6 -4
  195. data/generated/google/apis/games_management_v1management/classes.rb +50 -90
  196. data/generated/google/apis/games_management_v1management/representations.rb +0 -17
  197. data/generated/google/apis/games_management_v1management/service.rb +115 -291
  198. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  199. data/generated/google/apis/gameservices_v1beta/classes.rb +73 -60
  200. data/generated/google/apis/gameservices_v1beta/service.rb +60 -57
  201. data/generated/google/apis/gmail_v1.rb +2 -3
  202. data/generated/google/apis/gmail_v1/classes.rb +199 -258
  203. data/generated/google/apis/gmail_v1/service.rb +744 -552
  204. data/generated/google/apis/healthcare_v1.rb +1 -1
  205. data/generated/google/apis/healthcare_v1/classes.rb +67 -46
  206. data/generated/google/apis/healthcare_v1/service.rb +107 -140
  207. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  208. data/generated/google/apis/healthcare_v1beta1/classes.rb +70 -54
  209. data/generated/google/apis/healthcare_v1beta1/service.rb +223 -255
  210. data/generated/google/apis/homegraph_v1.rb +1 -1
  211. data/generated/google/apis/homegraph_v1/classes.rb +3 -0
  212. data/generated/google/apis/iam_v1.rb +1 -1
  213. data/generated/google/apis/iam_v1/classes.rb +24 -12
  214. data/generated/google/apis/iam_v1/service.rb +7 -0
  215. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  216. data/generated/google/apis/iamcredentials_v1/classes.rb +26 -2
  217. data/generated/google/apis/iap_v1.rb +1 -1
  218. data/generated/google/apis/iap_v1/classes.rb +35 -12
  219. data/generated/google/apis/iap_v1/representations.rb +1 -0
  220. data/generated/google/apis/iap_v1/service.rb +1 -1
  221. data/generated/google/apis/iap_v1beta1.rb +1 -1
  222. data/generated/google/apis/iap_v1beta1/classes.rb +26 -10
  223. data/generated/google/apis/jobs_v3.rb +1 -1
  224. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  225. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  226. data/generated/google/apis/memcache_v1beta2/classes.rb +24 -12
  227. data/generated/google/apis/memcache_v1beta2/service.rb +5 -2
  228. data/generated/google/apis/ml_v1.rb +1 -1
  229. data/generated/google/apis/ml_v1/classes.rb +84 -18
  230. data/generated/google/apis/ml_v1/representations.rb +4 -0
  231. data/generated/google/apis/ml_v1/service.rb +11 -6
  232. data/generated/google/apis/monitoring_v3.rb +1 -1
  233. data/generated/google/apis/monitoring_v3/classes.rb +7 -0
  234. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  235. data/generated/google/apis/monitoring_v3/service.rb +1 -1
  236. data/generated/google/apis/{pagespeedonline_v4.rb → networkmanagement_v1.rb} +13 -10
  237. data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
  238. data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
  239. data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
  240. data/generated/google/apis/osconfig_v1.rb +1 -1
  241. data/generated/google/apis/osconfig_v1/classes.rb +29 -27
  242. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  243. data/generated/google/apis/osconfig_v1beta/classes.rb +17 -20
  244. data/generated/google/apis/people_v1.rb +1 -1
  245. data/generated/google/apis/people_v1/service.rb +1 -1
  246. data/generated/google/apis/pubsub_v1.rb +1 -1
  247. data/generated/google/apis/pubsub_v1/classes.rb +6 -7
  248. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  249. data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
  250. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
  251. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  252. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
  253. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
  254. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  255. data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
  256. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
  257. data/generated/google/apis/run_v1.rb +1 -1
  258. data/generated/google/apis/run_v1/classes.rb +31 -49
  259. data/generated/google/apis/run_v1/representations.rb +1 -17
  260. data/generated/google/apis/run_v1/service.rb +3 -0
  261. data/generated/google/apis/run_v1alpha1.rb +1 -1
  262. data/generated/google/apis/run_v1alpha1/classes.rb +23 -10
  263. data/generated/google/apis/run_v1alpha1/service.rb +3 -0
  264. data/generated/google/apis/secretmanager_v1.rb +1 -1
  265. data/generated/google/apis/secretmanager_v1/classes.rb +26 -13
  266. data/generated/google/apis/secretmanager_v1/service.rb +3 -0
  267. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  268. data/generated/google/apis/secretmanager_v1beta1/classes.rb +23 -10
  269. data/generated/google/apis/secretmanager_v1beta1/service.rb +3 -0
  270. data/generated/google/apis/securitycenter_v1.rb +1 -1
  271. data/generated/google/apis/securitycenter_v1/classes.rb +27 -12
  272. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  273. data/generated/google/apis/securitycenter_v1beta1/classes.rb +27 -12
  274. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  275. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +27 -12
  276. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  277. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +0 -31
  278. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -1
  279. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  280. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +0 -31
  281. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -1
  282. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  283. data/generated/google/apis/servicecontrol_v1/classes.rb +3 -3
  284. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  285. data/generated/google/apis/servicemanagement_v1/classes.rb +0 -31
  286. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  287. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  288. data/generated/google/apis/servicenetworking_v1/classes.rb +379 -31
  289. data/generated/google/apis/servicenetworking_v1/representations.rb +209 -1
  290. data/generated/google/apis/servicenetworking_v1/service.rb +187 -0
  291. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  292. data/generated/google/apis/servicenetworking_v1beta/classes.rb +188 -31
  293. data/generated/google/apis/servicenetworking_v1beta/representations.rb +130 -1
  294. data/generated/google/apis/serviceusage_v1.rb +1 -1
  295. data/generated/google/apis/serviceusage_v1/classes.rb +0 -31
  296. data/generated/google/apis/serviceusage_v1/representations.rb +0 -1
  297. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  298. data/generated/google/apis/serviceusage_v1beta1/classes.rb +0 -31
  299. data/generated/google/apis/serviceusage_v1beta1/representations.rb +0 -1
  300. data/generated/google/apis/sheets_v4.rb +1 -1
  301. data/generated/google/apis/spanner_v1.rb +1 -1
  302. data/generated/google/apis/spanner_v1/classes.rb +29 -10
  303. data/generated/google/apis/storage_v1.rb +1 -1
  304. data/generated/google/apis/storage_v1/classes.rb +18 -0
  305. data/generated/google/apis/storage_v1/representations.rb +3 -0
  306. data/generated/google/apis/tasks_v1.rb +3 -3
  307. data/generated/google/apis/tasks_v1/classes.rb +26 -25
  308. data/generated/google/apis/tasks_v1/representations.rb +4 -8
  309. data/generated/google/apis/tasks_v1/service.rb +79 -128
  310. data/generated/google/apis/testing_v1.rb +1 -1
  311. data/generated/google/apis/testing_v1/classes.rb +3 -2
  312. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  313. data/generated/google/apis/toolresults_v1beta3/classes.rb +141 -2
  314. data/generated/google/apis/toolresults_v1beta3/representations.rb +77 -0
  315. data/generated/google/apis/tpu_v1.rb +1 -1
  316. data/generated/google/apis/tpu_v1/classes.rb +3 -3
  317. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  318. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
  319. data/generated/google/apis/translate_v3.rb +1 -1
  320. data/generated/google/apis/verifiedaccess_v1.rb +3 -3
  321. data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
  322. data/generated/google/apis/websecurityscanner_v1.rb +2 -2
  323. data/generated/google/apis/websecurityscanner_v1/classes.rb +7 -5
  324. data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
  325. data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
  326. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
  327. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
  328. data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
  329. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +9 -7
  330. data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
  331. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  332. data/generated/google/apis/youtube_v3.rb +5 -5
  333. data/generated/google/apis/youtube_v3/classes.rb +1260 -1244
  334. data/generated/google/apis/youtube_v3/representations.rb +64 -192
  335. data/generated/google/apis/youtube_v3/service.rb +1827 -2154
  336. data/lib/google/apis/version.rb +9 -4
  337. metadata +23 -15
  338. data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
  339. data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
  340. data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
  341. data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
  342. data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
  343. data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
  344. data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
  345. data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
  346. 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 = '20200516'
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'
@@ -1155,8 +1155,7 @@ module Google
1155
1155
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate]
1156
1156
  attr_accessor :deidentify_template
1157
1157
 
1158
- # The geographic location to store the deidentification template. Reserved
1159
- # for future extensions.
1158
+ # Deprecated. This field has no effect.
1160
1159
  # Corresponds to the JSON property `locationId`
1161
1160
  # @return [String]
1162
1161
  attr_accessor :location_id
@@ -1200,8 +1199,7 @@ module Google
1200
1199
  # @return [String]
1201
1200
  attr_accessor :job_id
1202
1201
 
1203
- # The geographic location to store and process the job. Reserved for
1204
- # future extensions.
1202
+ # Deprecated. This field has no effect.
1205
1203
  # Corresponds to the JSON property `locationId`
1206
1204
  # @return [String]
1207
1205
  attr_accessor :location_id
@@ -1237,8 +1235,7 @@ module Google
1237
1235
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate]
1238
1236
  attr_accessor :inspect_template
1239
1237
 
1240
- # The geographic location to store the inspection template. Reserved for
1241
- # future extensions.
1238
+ # Deprecated. This field has no effect.
1242
1239
  # Corresponds to the JSON property `locationId`
1243
1240
  # @return [String]
1244
1241
  attr_accessor :location_id
@@ -1273,8 +1270,7 @@ module Google
1273
1270
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger]
1274
1271
  attr_accessor :job_trigger
1275
1272
 
1276
- # The geographic location to store the job trigger. Reserved for
1277
- # future extensions.
1273
+ # Deprecated. This field has no effect.
1278
1274
  # Corresponds to the JSON property `locationId`
1279
1275
  # @return [String]
1280
1276
  attr_accessor :location_id
@@ -1310,8 +1306,7 @@ module Google
1310
1306
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeConfig]
1311
1307
  attr_accessor :config
1312
1308
 
1313
- # The geographic location to store the stored infoType. Reserved for
1314
- # future extensions.
1309
+ # Deprecated. This field has no effect.
1315
1310
  # Corresponds to the JSON property `locationId`
1316
1311
  # @return [String]
1317
1312
  attr_accessor :location_id
@@ -1835,8 +1830,7 @@ module Google
1835
1830
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ContentItem]
1836
1831
  attr_accessor :item
1837
1832
 
1838
- # The geographic location to process de-identification. Reserved for future
1839
- # extensions.
1833
+ # Deprecated. This field has no effect.
1840
1834
  # Corresponds to the JSON property `locationId`
1841
1835
  # @return [String]
1842
1836
  attr_accessor :location_id
@@ -3314,10 +3308,7 @@ module Google
3314
3308
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ContentItem]
3315
3309
  attr_accessor :item
3316
3310
 
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'.
3311
+ # Deprecated. This field has no effect.
3321
3312
  # Corresponds to the JSON property `locationId`
3322
3313
  # @return [String]
3323
3314
  attr_accessor :location_id
@@ -5262,9 +5253,7 @@ module Google
5262
5253
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig]
5263
5254
  attr_accessor :inspect_config
5264
5255
 
5265
- # The geographic location to process the request. Reserved for future
5266
- # extensions.
5267
- # Location is restricted to 'global', 'us', 'asia', and 'europe'.
5256
+ # Deprecated. This field has no effect.
5268
5257
  # Corresponds to the JSON property `locationId`
5269
5258
  # @return [String]
5270
5259
  attr_accessor :location_id
@@ -5370,8 +5359,7 @@ module Google
5370
5359
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ContentItem]
5371
5360
  attr_accessor :item
5372
5361
 
5373
- # The geographic location to process content reidentification. Reserved for
5374
- # future extensions.
5362
+ # Deprecated. This field has no effect.
5375
5363
  # Corresponds to the JSON property `locationId`
5376
5364
  # @return [String]
5377
5365
  attr_accessor :location_id
@@ -60,8 +60,9 @@ 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, for example locations/`location_id`.
65
66
  # @param [String] fields
66
67
  # Selector specifying which fields to include in a partial response.
67
68
  # @param [String] quota_user
@@ -79,13 +80,14 @@ module Google
79
80
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
80
81
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
81
82
  # @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)
83
+ def list_info_types(filter: nil, language_code: nil, location_id: nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
83
84
  command = make_simple_command(:get, 'v2/infoTypes', options)
84
85
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInfoTypesResponse::Representation
85
86
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInfoTypesResponse
86
87
  command.query['filter'] = filter unless filter.nil?
87
88
  command.query['languageCode'] = language_code unless language_code.nil?
88
89
  command.query['locationId'] = location_id unless location_id.nil?
90
+ command.query['parent'] = parent unless parent.nil?
89
91
  command.query['fields'] = fields unless fields.nil?
90
92
  command.query['quotaUser'] = quota_user unless quota_user.nil?
91
93
  execute_or_queue_command(command, &block)
@@ -94,9 +96,8 @@ module Google
94
96
  # Returns a list of the sensitive information types that the DLP API
95
97
  # supports. See https://cloud.google.com/dlp/docs/infotypes-reference to
96
98
  # learn more.
97
- # @param [String] location_id
98
- # The geographic location to list info types. Reserved for future
99
- # extensions.
99
+ # @param [String] parent
100
+ # The parent resource name, for example locations/`location_id`.
100
101
  # @param [String] filter
101
102
  # filter to only return infoTypes supported by certain parts of the
102
103
  # API. Defaults to supported_by=INSPECT.
@@ -104,6 +105,8 @@ module Google
104
105
  # BCP-47 language code for localized infoType friendly
105
106
  # names. If omitted, or if localized strings are not available,
106
107
  # en-US strings will be returned.
108
+ # @param [String] location_id
109
+ # Deprecated. This field has no effect.
107
110
  # @param [String] fields
108
111
  # Selector specifying which fields to include in a partial response.
109
112
  # @param [String] quota_user
@@ -121,13 +124,14 @@ module Google
121
124
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
122
125
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
123
126
  # @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)
127
+ def list_location_info_types(parent, filter: nil, language_code: nil, location_id: nil, fields: nil, quota_user: nil, options: nil, &block)
128
+ command = make_simple_command(:get, 'v2/{+parent}/infoTypes', options)
126
129
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInfoTypesResponse::Representation
127
130
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInfoTypesResponse
128
- command.params['locationId'] = location_id unless location_id.nil?
131
+ command.params['parent'] = parent unless parent.nil?
129
132
  command.query['filter'] = filter unless filter.nil?
130
133
  command.query['languageCode'] = language_code unless language_code.nil?
134
+ command.query['locationId'] = location_id unless location_id.nil?
131
135
  command.query['fields'] = fields unless fields.nil?
132
136
  command.query['quotaUser'] = quota_user unless quota_user.nil?
133
137
  execute_or_queue_command(command, &block)
@@ -247,8 +251,7 @@ module Google
247
251
  # Required. The parent resource name, for example projects/my-project-id or
248
252
  # organizations/my-org-id.
249
253
  # @param [String] location_id
250
- # The geographic location where deidentifications templates will be retrieved
251
- # from. Use `-` for all locations. Reserved for future extensions.
254
+ # Deprecated. This field has no effect.
252
255
  # @param [String] order_by
253
256
  # Comma separated list of fields to order by,
254
257
  # followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -445,8 +448,7 @@ module Google
445
448
  # Required. The parent resource name, for example projects/my-project-id or
446
449
  # organizations/my-org-id.
447
450
  # @param [String] location_id
448
- # The geographic location where inspection templates will be retrieved from.
449
- # Use `-` for all locations. Reserved for future extensions.
451
+ # Deprecated. This field has no effect.
450
452
  # @param [String] order_by
451
453
  # Comma separated list of fields to order by,
452
454
  # followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -538,9 +540,6 @@ module Google
538
540
  # @param [String] parent
539
541
  # Required. The parent resource name, for example projects/my-project-id or
540
542
  # organizations/my-org-id.
541
- # @param [String] location_id
542
- # The geographic location to store the deidentification template. Reserved
543
- # for future extensions.
544
543
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDeidentifyTemplateRequest] google_privacy_dlp_v2_create_deidentify_template_request_object
545
544
  # @param [String] fields
546
545
  # Selector specifying which fields to include in a partial response.
@@ -559,14 +558,13 @@ module Google
559
558
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
560
559
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
561
560
  # @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)
561
+ 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)
562
+ command = make_simple_command(:post, 'v2/{+parent}/deidentifyTemplates', options)
564
563
  command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDeidentifyTemplateRequest::Representation
565
564
  command.request_object = google_privacy_dlp_v2_create_deidentify_template_request_object
566
565
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate::Representation
567
566
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate
568
567
  command.params['parent'] = parent unless parent.nil?
569
- command.params['locationId'] = location_id unless location_id.nil?
570
568
  command.query['fields'] = fields unless fields.nil?
571
569
  command.query['quotaUser'] = quota_user unless quota_user.nil?
572
570
  execute_or_queue_command(command, &block)
@@ -649,8 +647,7 @@ module Google
649
647
  # Required. The parent resource name, for example projects/my-project-id or
650
648
  # organizations/my-org-id.
651
649
  # @param [String] location_id
652
- # The geographic location where deidentifications templates will be retrieved
653
- # from. Use `-` for all locations. Reserved for future extensions.
650
+ # Deprecated. This field has no effect.
654
651
  # @param [String] order_by
655
652
  # Comma separated list of fields to order by,
656
653
  # followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -685,12 +682,12 @@ module Google
685
682
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
686
683
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
687
684
  # @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)
685
+ 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)
686
+ command = make_simple_command(:get, 'v2/{+parent}/deidentifyTemplates', options)
690
687
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDeidentifyTemplatesResponse::Representation
691
688
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDeidentifyTemplatesResponse
692
689
  command.params['parent'] = parent unless parent.nil?
693
- command.params['locationId'] = location_id unless location_id.nil?
690
+ command.query['locationId'] = location_id unless location_id.nil?
694
691
  command.query['orderBy'] = order_by unless order_by.nil?
695
692
  command.query['pageSize'] = page_size unless page_size.nil?
696
693
  command.query['pageToken'] = page_token unless page_token.nil?
@@ -743,9 +740,6 @@ module Google
743
740
  # @param [String] parent
744
741
  # Required. The parent resource name, for example projects/my-project-id or
745
742
  # organizations/my-org-id.
746
- # @param [String] location_id
747
- # The geographic location to store the inspection template. Reserved for
748
- # future extensions.
749
743
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateInspectTemplateRequest] google_privacy_dlp_v2_create_inspect_template_request_object
750
744
  # @param [String] fields
751
745
  # Selector specifying which fields to include in a partial response.
@@ -764,14 +758,13 @@ module Google
764
758
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
765
759
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
766
760
  # @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)
761
+ 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)
762
+ command = make_simple_command(:post, 'v2/{+parent}/inspectTemplates', options)
769
763
  command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateInspectTemplateRequest::Representation
770
764
  command.request_object = google_privacy_dlp_v2_create_inspect_template_request_object
771
765
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate::Representation
772
766
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate
773
767
  command.params['parent'] = parent unless parent.nil?
774
- command.params['locationId'] = location_id unless location_id.nil?
775
768
  command.query['fields'] = fields unless fields.nil?
776
769
  command.query['quotaUser'] = quota_user unless quota_user.nil?
777
770
  execute_or_queue_command(command, &block)
@@ -851,8 +844,7 @@ module Google
851
844
  # Required. The parent resource name, for example projects/my-project-id or
852
845
  # organizations/my-org-id.
853
846
  # @param [String] location_id
854
- # The geographic location where inspection templates will be retrieved from.
855
- # Use `-` for all locations. Reserved for future extensions.
847
+ # Deprecated. This field has no effect.
856
848
  # @param [String] order_by
857
849
  # Comma separated list of fields to order by,
858
850
  # followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -887,12 +879,12 @@ module Google
887
879
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
888
880
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
889
881
  # @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)
882
+ 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)
883
+ command = make_simple_command(:get, 'v2/{+parent}/inspectTemplates', options)
892
884
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse::Representation
893
885
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse
894
886
  command.params['parent'] = parent unless parent.nil?
895
- command.params['locationId'] = location_id unless location_id.nil?
887
+ command.query['locationId'] = location_id unless location_id.nil?
896
888
  command.query['orderBy'] = order_by unless order_by.nil?
897
889
  command.query['pageSize'] = page_size unless page_size.nil?
898
890
  command.query['pageToken'] = page_token unless page_token.nil?
@@ -943,9 +935,6 @@ module Google
943
935
  # @param [String] parent
944
936
  # Required. The parent resource name, for example projects/my-project-id or
945
937
  # organizations/my-org-id.
946
- # @param [String] location_id
947
- # The geographic location to store the stored infoType. Reserved for
948
- # future extensions.
949
938
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest] google_privacy_dlp_v2_create_stored_info_type_request_object
950
939
  # @param [String] fields
951
940
  # Selector specifying which fields to include in a partial response.
@@ -964,14 +953,13 @@ module Google
964
953
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
965
954
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
966
955
  # @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)
956
+ 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)
957
+ command = make_simple_command(:post, 'v2/{+parent}/storedInfoTypes', options)
969
958
  command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest::Representation
970
959
  command.request_object = google_privacy_dlp_v2_create_stored_info_type_request_object
971
960
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType::Representation
972
961
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType
973
962
  command.params['parent'] = parent unless parent.nil?
974
- command.params['locationId'] = location_id unless location_id.nil?
975
963
  command.query['fields'] = fields unless fields.nil?
976
964
  command.query['quotaUser'] = quota_user unless quota_user.nil?
977
965
  execute_or_queue_command(command, &block)
@@ -1053,8 +1041,7 @@ module Google
1053
1041
  # Required. The parent resource name, for example projects/my-project-id or
1054
1042
  # organizations/my-org-id.
1055
1043
  # @param [String] location_id
1056
- # The geographic location where stored infoTypes will be retrieved from.
1057
- # Use `-` for all locations. Reserved for future extensions.
1044
+ # Deprecated. This field has no effect.
1058
1045
  # @param [String] order_by
1059
1046
  # Comma separated list of fields to order by,
1060
1047
  # followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1090,12 +1077,12 @@ module Google
1090
1077
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1091
1078
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1092
1079
  # @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)
1080
+ 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)
1081
+ command = make_simple_command(:get, 'v2/{+parent}/storedInfoTypes', options)
1095
1082
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse::Representation
1096
1083
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse
1097
1084
  command.params['parent'] = parent unless parent.nil?
1098
- command.params['locationId'] = location_id unless location_id.nil?
1085
+ command.query['locationId'] = location_id unless location_id.nil?
1099
1086
  command.query['orderBy'] = order_by unless order_by.nil?
1100
1087
  command.query['pageSize'] = page_size unless page_size.nil?
1101
1088
  command.query['pageToken'] = page_token unless page_token.nil?
@@ -1254,8 +1241,7 @@ module Google
1254
1241
  # Required. The parent resource name, for example projects/my-project-id or
1255
1242
  # organizations/my-org-id.
1256
1243
  # @param [String] location_id
1257
- # The geographic location where stored infoTypes will be retrieved from.
1258
- # Use `-` for all locations. Reserved for future extensions.
1244
+ # Deprecated. This field has no effect.
1259
1245
  # @param [String] order_by
1260
1246
  # Comma separated list of fields to order by,
1261
1247
  # followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1572,8 +1558,7 @@ module Google
1572
1558
  # Required. The parent resource name, for example projects/my-project-id or
1573
1559
  # organizations/my-org-id.
1574
1560
  # @param [String] location_id
1575
- # The geographic location where deidentifications templates will be retrieved
1576
- # from. Use `-` for all locations. Reserved for future extensions.
1561
+ # Deprecated. This field has no effect.
1577
1562
  # @param [String] order_by
1578
1563
  # Comma separated list of fields to order by,
1579
1564
  # followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -1831,8 +1816,7 @@ module Google
1831
1816
  # * end_time > \"2017-12-12T00:00:00+00:00\"
1832
1817
  # The length of this field should be no more than 500 characters.
1833
1818
  # @param [String] location_id
1834
- # The geographic location where jobs will be retrieved from.
1835
- # Use `-` for all locations. Reserved for future extensions.
1819
+ # Deprecated. This field has no effect.
1836
1820
  # @param [String] order_by
1837
1821
  # Comma separated list of fields to order by,
1838
1822
  # followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -2032,8 +2016,7 @@ module Google
2032
2016
  # Required. The parent resource name, for example projects/my-project-id or
2033
2017
  # organizations/my-org-id.
2034
2018
  # @param [String] location_id
2035
- # The geographic location where inspection templates will be retrieved from.
2036
- # Use `-` for all locations. Reserved for future extensions.
2019
+ # Deprecated. This field has no effect.
2037
2020
  # @param [String] order_by
2038
2021
  # Comma separated list of fields to order by,
2039
2022
  # followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -2277,8 +2260,7 @@ module Google
2277
2260
  # * last_run_time > \"2017-12-12T00:00:00+00:00\"
2278
2261
  # The length of this field should be no more than 500 characters.
2279
2262
  # @param [String] location_id
2280
- # The geographic location where job triggers will be retrieved from.
2281
- # Use `-` for all locations. Reserved for future extensions.
2263
+ # Deprecated. This field has no effect.
2282
2264
  # @param [String] order_by
2283
2265
  # Comma separated list of triggeredJob fields to order by,
2284
2266
  # followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -2374,9 +2356,6 @@ module Google
2374
2356
  # be all types, but may change over time as detectors are updated.
2375
2357
  # @param [String] parent
2376
2358
  # 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.
2380
2359
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentRequest] google_privacy_dlp_v2_deidentify_content_request_object
2381
2360
  # @param [String] fields
2382
2361
  # Selector specifying which fields to include in a partial response.
@@ -2395,14 +2374,13 @@ module Google
2395
2374
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2396
2375
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2397
2376
  # @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)
2377
+ def deidentify_project_location_content(parent, google_privacy_dlp_v2_deidentify_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2378
+ command = make_simple_command(:post, 'v2/{+parent}/content:deidentify', options)
2400
2379
  command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentRequest::Representation
2401
2380
  command.request_object = google_privacy_dlp_v2_deidentify_content_request_object
2402
2381
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentResponse::Representation
2403
2382
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentResponse
2404
2383
  command.params['parent'] = parent unless parent.nil?
2405
- command.params['locationId'] = location_id unless location_id.nil?
2406
2384
  command.query['fields'] = fields unless fields.nil?
2407
2385
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2408
2386
  execute_or_queue_command(command, &block)
@@ -2417,11 +2395,6 @@ module Google
2417
2395
  # and https://cloud.google.com/dlp/docs/inspecting-text,
2418
2396
  # @param [String] parent
2419
2397
  # 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'.
2425
2398
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectContentRequest] google_privacy_dlp_v2_inspect_content_request_object
2426
2399
  # @param [String] fields
2427
2400
  # Selector specifying which fields to include in a partial response.
@@ -2440,14 +2413,13 @@ module Google
2440
2413
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2441
2414
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2442
2415
  # @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)
2416
+ def inspect_project_location_content(parent, google_privacy_dlp_v2_inspect_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2417
+ command = make_simple_command(:post, 'v2/{+parent}/content:inspect', options)
2445
2418
  command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectContentRequest::Representation
2446
2419
  command.request_object = google_privacy_dlp_v2_inspect_content_request_object
2447
2420
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectContentResponse::Representation
2448
2421
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectContentResponse
2449
2422
  command.params['parent'] = parent unless parent.nil?
2450
- command.params['locationId'] = location_id unless location_id.nil?
2451
2423
  command.query['fields'] = fields unless fields.nil?
2452
2424
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2453
2425
  execute_or_queue_command(command, &block)
@@ -2460,9 +2432,6 @@ module Google
2460
2432
  # to learn more.
2461
2433
  # @param [String] parent
2462
2434
  # Required. The parent resource name.
2463
- # @param [String] location_id
2464
- # The geographic location to process content reidentification. Reserved for
2465
- # future extensions.
2466
2435
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2ReidentifyContentRequest] google_privacy_dlp_v2_reidentify_content_request_object
2467
2436
  # @param [String] fields
2468
2437
  # Selector specifying which fields to include in a partial response.
@@ -2481,14 +2450,13 @@ module Google
2481
2450
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2482
2451
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2483
2452
  # @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)
2453
+ def reidentify_project_location_content(parent, google_privacy_dlp_v2_reidentify_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2454
+ command = make_simple_command(:post, 'v2/{+parent}/content:reidentify', options)
2486
2455
  command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ReidentifyContentRequest::Representation
2487
2456
  command.request_object = google_privacy_dlp_v2_reidentify_content_request_object
2488
2457
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ReidentifyContentResponse::Representation
2489
2458
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ReidentifyContentResponse
2490
2459
  command.params['parent'] = parent unless parent.nil?
2491
- command.params['locationId'] = location_id unless location_id.nil?
2492
2460
  command.query['fields'] = fields unless fields.nil?
2493
2461
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2494
2462
  execute_or_queue_command(command, &block)
@@ -2501,9 +2469,6 @@ module Google
2501
2469
  # @param [String] parent
2502
2470
  # Required. The parent resource name, for example projects/my-project-id or
2503
2471
  # organizations/my-org-id.
2504
- # @param [String] location_id
2505
- # The geographic location to store the deidentification template. Reserved
2506
- # for future extensions.
2507
2472
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDeidentifyTemplateRequest] google_privacy_dlp_v2_create_deidentify_template_request_object
2508
2473
  # @param [String] fields
2509
2474
  # Selector specifying which fields to include in a partial response.
@@ -2522,14 +2487,13 @@ module Google
2522
2487
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2523
2488
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2524
2489
  # @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)
2490
+ 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)
2491
+ command = make_simple_command(:post, 'v2/{+parent}/deidentifyTemplates', options)
2527
2492
  command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDeidentifyTemplateRequest::Representation
2528
2493
  command.request_object = google_privacy_dlp_v2_create_deidentify_template_request_object
2529
2494
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate::Representation
2530
2495
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyTemplate
2531
2496
  command.params['parent'] = parent unless parent.nil?
2532
- command.params['locationId'] = location_id unless location_id.nil?
2533
2497
  command.query['fields'] = fields unless fields.nil?
2534
2498
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2535
2499
  execute_or_queue_command(command, &block)
@@ -2612,8 +2576,7 @@ module Google
2612
2576
  # Required. The parent resource name, for example projects/my-project-id or
2613
2577
  # organizations/my-org-id.
2614
2578
  # @param [String] location_id
2615
- # The geographic location where deidentifications templates will be retrieved
2616
- # from. Use `-` for all locations. Reserved for future extensions.
2579
+ # Deprecated. This field has no effect.
2617
2580
  # @param [String] order_by
2618
2581
  # Comma separated list of fields to order by,
2619
2582
  # followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -2648,12 +2611,12 @@ module Google
2648
2611
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2649
2612
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2650
2613
  # @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)
2614
+ 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)
2615
+ command = make_simple_command(:get, 'v2/{+parent}/deidentifyTemplates', options)
2653
2616
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDeidentifyTemplatesResponse::Representation
2654
2617
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDeidentifyTemplatesResponse
2655
2618
  command.params['parent'] = parent unless parent.nil?
2656
- command.params['locationId'] = location_id unless location_id.nil?
2619
+ command.query['locationId'] = location_id unless location_id.nil?
2657
2620
  command.query['orderBy'] = order_by unless order_by.nil?
2658
2621
  command.query['pageSize'] = page_size unless page_size.nil?
2659
2622
  command.query['pageToken'] = page_token unless page_token.nil?
@@ -2745,9 +2708,6 @@ module Google
2745
2708
  # be all types, but may change over time as detectors are updated.
2746
2709
  # @param [String] parent
2747
2710
  # 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.
2751
2711
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDlpJobRequest] google_privacy_dlp_v2_create_dlp_job_request_object
2752
2712
  # @param [String] fields
2753
2713
  # Selector specifying which fields to include in a partial response.
@@ -2766,14 +2726,13 @@ module Google
2766
2726
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2767
2727
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2768
2728
  # @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)
2729
+ 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)
2730
+ command = make_simple_command(:post, 'v2/{+parent}/dlpJobs', options)
2771
2731
  command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDlpJobRequest::Representation
2772
2732
  command.request_object = google_privacy_dlp_v2_create_dlp_job_request_object
2773
2733
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2DlpJob::Representation
2774
2734
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2DlpJob
2775
2735
  command.params['parent'] = parent unless parent.nil?
2776
- command.params['locationId'] = location_id unless location_id.nil?
2777
2736
  command.query['fields'] = fields unless fields.nil?
2778
2737
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2779
2738
  execute_or_queue_command(command, &block)
@@ -2926,9 +2885,6 @@ module Google
2926
2885
  # https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
2927
2886
  # @param [String] parent
2928
2887
  # 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.
2932
2888
  # @param [String] filter
2933
2889
  # Allows filtering.
2934
2890
  # Supported syntax:
@@ -2953,6 +2909,8 @@ module Google
2953
2909
  # * inspected_storage = cloud_storage AND (state = done OR state = canceled)
2954
2910
  # * end_time > \"2017-12-12T00:00:00+00:00\"
2955
2911
  # The length of this field should be no more than 500 characters.
2912
+ # @param [String] location_id
2913
+ # Deprecated. This field has no effect.
2956
2914
  # @param [String] order_by
2957
2915
  # Comma separated list of fields to order by,
2958
2916
  # followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -2987,13 +2945,13 @@ module Google
2987
2945
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2988
2946
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2989
2947
  # @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)
2948
+ 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)
2949
+ command = make_simple_command(:get, 'v2/{+parent}/dlpJobs', options)
2992
2950
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDlpJobsResponse::Representation
2993
2951
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListDlpJobsResponse
2994
2952
  command.params['parent'] = parent unless parent.nil?
2995
- command.params['locationId'] = location_id unless location_id.nil?
2996
2953
  command.query['filter'] = filter unless filter.nil?
2954
+ command.query['locationId'] = location_id unless location_id.nil?
2997
2955
  command.query['orderBy'] = order_by unless order_by.nil?
2998
2956
  command.query['pageSize'] = page_size unless page_size.nil?
2999
2957
  command.query['pageToken'] = page_token unless page_token.nil?
@@ -3012,10 +2970,6 @@ module Google
3012
2970
  # be all types, but may change over time as detectors are updated.
3013
2971
  # @param [String] parent
3014
2972
  # 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'.
3019
2973
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageRequest] google_privacy_dlp_v2_redact_image_request_object
3020
2974
  # @param [String] fields
3021
2975
  # Selector specifying which fields to include in a partial response.
@@ -3034,14 +2988,13 @@ module Google
3034
2988
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3035
2989
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3036
2990
  # @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)
2991
+ def redact_project_location_image(parent, google_privacy_dlp_v2_redact_image_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2992
+ command = make_simple_command(:post, 'v2/{+parent}/image:redact', options)
3039
2993
  command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageRequest::Representation
3040
2994
  command.request_object = google_privacy_dlp_v2_redact_image_request_object
3041
2995
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageResponse::Representation
3042
2996
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageResponse
3043
2997
  command.params['parent'] = parent unless parent.nil?
3044
- command.params['locationId'] = location_id unless location_id.nil?
3045
2998
  command.query['fields'] = fields unless fields.nil?
3046
2999
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3047
3000
  execute_or_queue_command(command, &block)
@@ -3053,9 +3006,6 @@ module Google
3053
3006
  # @param [String] parent
3054
3007
  # Required. The parent resource name, for example projects/my-project-id or
3055
3008
  # organizations/my-org-id.
3056
- # @param [String] location_id
3057
- # The geographic location to store the inspection template. Reserved for
3058
- # future extensions.
3059
3009
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateInspectTemplateRequest] google_privacy_dlp_v2_create_inspect_template_request_object
3060
3010
  # @param [String] fields
3061
3011
  # Selector specifying which fields to include in a partial response.
@@ -3074,14 +3024,13 @@ module Google
3074
3024
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3075
3025
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3076
3026
  # @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)
3027
+ 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)
3028
+ command = make_simple_command(:post, 'v2/{+parent}/inspectTemplates', options)
3079
3029
  command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateInspectTemplateRequest::Representation
3080
3030
  command.request_object = google_privacy_dlp_v2_create_inspect_template_request_object
3081
3031
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate::Representation
3082
3032
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate
3083
3033
  command.params['parent'] = parent unless parent.nil?
3084
- command.params['locationId'] = location_id unless location_id.nil?
3085
3034
  command.query['fields'] = fields unless fields.nil?
3086
3035
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3087
3036
  execute_or_queue_command(command, &block)
@@ -3161,8 +3110,7 @@ module Google
3161
3110
  # Required. The parent resource name, for example projects/my-project-id or
3162
3111
  # organizations/my-org-id.
3163
3112
  # @param [String] location_id
3164
- # The geographic location where inspection templates will be retrieved from.
3165
- # Use `-` for all locations. Reserved for future extensions.
3113
+ # Deprecated. This field has no effect.
3166
3114
  # @param [String] order_by
3167
3115
  # Comma separated list of fields to order by,
3168
3116
  # followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -3197,12 +3145,12 @@ module Google
3197
3145
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3198
3146
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3199
3147
  # @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)
3148
+ 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)
3149
+ command = make_simple_command(:get, 'v2/{+parent}/inspectTemplates', options)
3202
3150
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse::Representation
3203
3151
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListInspectTemplatesResponse
3204
3152
  command.params['parent'] = parent unless parent.nil?
3205
- command.params['locationId'] = location_id unless location_id.nil?
3153
+ command.query['locationId'] = location_id unless location_id.nil?
3206
3154
  command.query['orderBy'] = order_by unless order_by.nil?
3207
3155
  command.query['pageSize'] = page_size unless page_size.nil?
3208
3156
  command.query['pageToken'] = page_token unless page_token.nil?
@@ -3287,9 +3235,6 @@ module Google
3287
3235
  # See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
3288
3236
  # @param [String] parent
3289
3237
  # 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.
3293
3238
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateJobTriggerRequest] google_privacy_dlp_v2_create_job_trigger_request_object
3294
3239
  # @param [String] fields
3295
3240
  # Selector specifying which fields to include in a partial response.
@@ -3308,14 +3253,13 @@ module Google
3308
3253
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3309
3254
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3310
3255
  # @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)
3256
+ 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)
3257
+ command = make_simple_command(:post, 'v2/{+parent}/jobTriggers', options)
3313
3258
  command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateJobTriggerRequest::Representation
3314
3259
  command.request_object = google_privacy_dlp_v2_create_job_trigger_request_object
3315
3260
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger::Representation
3316
3261
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger
3317
3262
  command.params['parent'] = parent unless parent.nil?
3318
- command.params['locationId'] = location_id unless location_id.nil?
3319
3263
  command.query['fields'] = fields unless fields.nil?
3320
3264
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3321
3265
  execute_or_queue_command(command, &block)
@@ -3429,9 +3373,6 @@ module Google
3429
3373
  # See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
3430
3374
  # @param [String] parent
3431
3375
  # 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.
3435
3376
  # @param [String] filter
3436
3377
  # Allows filtering.
3437
3378
  # Supported syntax:
@@ -3452,6 +3393,8 @@ module Google
3452
3393
  # * inspected_storage = cloud_storage AND (state = PAUSED OR state = HEALTHY)
3453
3394
  # * last_run_time > \"2017-12-12T00:00:00+00:00\"
3454
3395
  # The length of this field should be no more than 500 characters.
3396
+ # @param [String] location_id
3397
+ # Deprecated. This field has no effect.
3455
3398
  # @param [String] order_by
3456
3399
  # Comma separated list of triggeredJob fields to order by,
3457
3400
  # followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -3488,13 +3431,13 @@ module Google
3488
3431
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3489
3432
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3490
3433
  # @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)
3434
+ 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)
3435
+ command = make_simple_command(:get, 'v2/{+parent}/jobTriggers', options)
3493
3436
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListJobTriggersResponse::Representation
3494
3437
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListJobTriggersResponse
3495
3438
  command.params['parent'] = parent unless parent.nil?
3496
- command.params['locationId'] = location_id unless location_id.nil?
3497
3439
  command.query['filter'] = filter unless filter.nil?
3440
+ command.query['locationId'] = location_id unless location_id.nil?
3498
3441
  command.query['orderBy'] = order_by unless order_by.nil?
3499
3442
  command.query['pageSize'] = page_size unless page_size.nil?
3500
3443
  command.query['pageToken'] = page_token unless page_token.nil?
@@ -3544,9 +3487,6 @@ module Google
3544
3487
  # @param [String] parent
3545
3488
  # Required. The parent resource name, for example projects/my-project-id or
3546
3489
  # organizations/my-org-id.
3547
- # @param [String] location_id
3548
- # The geographic location to store the stored infoType. Reserved for
3549
- # future extensions.
3550
3490
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest] google_privacy_dlp_v2_create_stored_info_type_request_object
3551
3491
  # @param [String] fields
3552
3492
  # Selector specifying which fields to include in a partial response.
@@ -3565,14 +3505,13 @@ module Google
3565
3505
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3566
3506
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3567
3507
  # @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)
3508
+ 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)
3509
+ command = make_simple_command(:post, 'v2/{+parent}/storedInfoTypes', options)
3570
3510
  command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest::Representation
3571
3511
  command.request_object = google_privacy_dlp_v2_create_stored_info_type_request_object
3572
3512
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType::Representation
3573
3513
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType
3574
3514
  command.params['parent'] = parent unless parent.nil?
3575
- command.params['locationId'] = location_id unless location_id.nil?
3576
3515
  command.query['fields'] = fields unless fields.nil?
3577
3516
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3578
3517
  execute_or_queue_command(command, &block)
@@ -3654,8 +3593,7 @@ module Google
3654
3593
  # Required. The parent resource name, for example projects/my-project-id or
3655
3594
  # organizations/my-org-id.
3656
3595
  # @param [String] location_id
3657
- # The geographic location where stored infoTypes will be retrieved from.
3658
- # Use `-` for all locations. Reserved for future extensions.
3596
+ # Deprecated. This field has no effect.
3659
3597
  # @param [String] order_by
3660
3598
  # Comma separated list of fields to order by,
3661
3599
  # followed by `asc` or `desc` postfix. This list is case-insensitive,
@@ -3691,12 +3629,12 @@ module Google
3691
3629
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3692
3630
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3693
3631
  # @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)
3632
+ 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)
3633
+ command = make_simple_command(:get, 'v2/{+parent}/storedInfoTypes', options)
3696
3634
  command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse::Representation
3697
3635
  command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse
3698
3636
  command.params['parent'] = parent unless parent.nil?
3699
- command.params['locationId'] = location_id unless location_id.nil?
3637
+ command.query['locationId'] = location_id unless location_id.nil?
3700
3638
  command.query['orderBy'] = order_by unless order_by.nil?
3701
3639
  command.query['pageSize'] = page_size unless page_size.nil?
3702
3640
  command.query['pageToken'] = page_token unless page_token.nil?
@@ -3855,8 +3793,7 @@ module Google
3855
3793
  # Required. The parent resource name, for example projects/my-project-id or
3856
3794
  # organizations/my-org-id.
3857
3795
  # @param [String] location_id
3858
- # The geographic location where stored infoTypes will be retrieved from.
3859
- # Use `-` for all locations. Reserved for future extensions.
3796
+ # Deprecated. This field has no effect.
3860
3797
  # @param [String] order_by
3861
3798
  # Comma separated list of fields to order by,
3862
3799
  # followed by `asc` or `desc` postfix. This list is case-insensitive,