google-api-client 0.23.4 → 0.23.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (403) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/CHANGELOG.md +171 -0
  4. data/Gemfile +1 -0
  5. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +7 -1
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  9. data/generated/google/apis/adexchangebuyer_v1_2.rb +1 -1
  10. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  12. data/generated/google/apis/adexchangeseller_v1.rb +1 -1
  13. data/generated/google/apis/adexchangeseller_v1_1.rb +1 -1
  14. data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
  15. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  16. data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
  17. data/generated/google/apis/admin_directory_v1.rb +1 -1
  18. data/generated/google/apis/admin_directory_v1/classes.rb +7 -0
  19. data/generated/google/apis/admin_directory_v1/representations.rb +1 -0
  20. data/generated/google/apis/admin_reports_v1.rb +1 -1
  21. data/generated/google/apis/adsense_v1_4.rb +1 -1
  22. data/generated/google/apis/adsense_v1_4/classes.rb +13 -1
  23. data/generated/google/apis/adsense_v1_4/representations.rb +2 -0
  24. data/generated/google/apis/adsense_v1_4/service.rb +36 -0
  25. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  26. data/generated/google/apis/analytics_v2_4.rb +1 -1
  27. data/generated/google/apis/analytics_v3.rb +1 -1
  28. data/generated/google/apis/analytics_v3/classes.rb +68 -0
  29. data/generated/google/apis/analytics_v3/representations.rb +31 -0
  30. data/generated/google/apis/analytics_v3/service.rb +33 -0
  31. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  32. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  33. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +108 -28
  34. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +32 -0
  35. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +73 -0
  36. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  37. data/generated/google/apis/androidenterprise_v1/service.rb +0 -70
  38. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  39. data/generated/google/apis/androidmanagement_v1/classes.rb +2 -5
  40. data/generated/google/apis/androidpublisher_v1.rb +1 -1
  41. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  42. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  43. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  44. data/generated/google/apis/appengine_v1.rb +1 -1
  45. data/generated/google/apis/appengine_v1beta.rb +1 -1
  46. data/generated/google/apis/appengine_v1beta/classes.rb +3 -4
  47. data/generated/google/apis/appsactivity_v1.rb +2 -2
  48. data/generated/google/apis/appsactivity_v1/service.rb +1 -1
  49. data/generated/google/apis/appsmarket_v2.rb +1 -1
  50. data/generated/google/apis/appstate_v1.rb +1 -1
  51. data/generated/google/apis/bigquery_v2.rb +1 -1
  52. data/generated/google/apis/bigquery_v2/classes.rb +103 -61
  53. data/generated/google/apis/bigquery_v2/representations.rb +17 -0
  54. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  55. data/generated/google/apis/binaryauthorization_v1beta1.rb +35 -0
  56. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +597 -0
  57. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +238 -0
  58. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +523 -0
  59. data/generated/google/apis/blogger_v2.rb +1 -1
  60. data/generated/google/apis/blogger_v3.rb +1 -1
  61. data/generated/google/apis/books_v1.rb +1 -1
  62. data/generated/google/apis/books_v1/classes.rb +7 -0
  63. data/generated/google/apis/books_v1/representations.rb +1 -0
  64. data/generated/google/apis/calendar_v3.rb +1 -1
  65. data/generated/google/apis/calendar_v3/classes.rb +44 -12
  66. data/generated/google/apis/calendar_v3/service.rb +7 -7
  67. data/generated/google/apis/chat_v1.rb +1 -1
  68. data/generated/google/apis/civicinfo_v2.rb +1 -1
  69. data/generated/google/apis/civicinfo_v2/classes.rb +641 -0
  70. data/generated/google/apis/civicinfo_v2/representations.rb +215 -0
  71. data/generated/google/apis/classroom_v1.rb +1 -1
  72. data/generated/google/apis/classroom_v1/classes.rb +25 -0
  73. data/generated/google/apis/classroom_v1/representations.rb +15 -0
  74. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  75. data/generated/google/apis/cloudbilling_v1/classes.rb +85 -10
  76. data/generated/google/apis/cloudbilling_v1/representations.rb +18 -0
  77. data/generated/google/apis/cloudbilling_v1/service.rb +3 -13
  78. data/generated/google/apis/cloudbuild_v1.rb +4 -4
  79. data/generated/google/apis/cloudbuild_v1/classes.rb +37 -3
  80. data/generated/google/apis/cloudbuild_v1/representations.rb +3 -0
  81. data/generated/google/apis/cloudbuild_v1/service.rb +3 -3
  82. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  83. data/generated/google/apis/clouddebugger_v2/classes.rb +8 -0
  84. data/generated/google/apis/clouddebugger_v2/representations.rb +1 -0
  85. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  86. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +4 -5
  87. data/generated/google/apis/cloudiot_v1.rb +1 -1
  88. data/generated/google/apis/cloudiot_v1/classes.rb +56 -0
  89. data/generated/google/apis/cloudiot_v1/representations.rb +18 -0
  90. data/generated/google/apis/cloudiot_v1/service.rb +355 -0
  91. data/generated/google/apis/cloudkms_v1.rb +6 -3
  92. data/generated/google/apis/cloudkms_v1/classes.rb +340 -14
  93. data/generated/google/apis/cloudkms_v1/representations.rb +147 -0
  94. data/generated/google/apis/cloudkms_v1/service.rb +126 -6
  95. data/generated/google/apis/cloudprofiler_v2.rb +3 -3
  96. data/generated/google/apis/cloudprofiler_v2/classes.rb +0 -6
  97. data/generated/google/apis/cloudprofiler_v2/representations.rb +0 -2
  98. data/generated/google/apis/cloudprofiler_v2/service.rb +2 -2
  99. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  100. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +57 -1
  101. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +18 -0
  102. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  103. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +56 -0
  104. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +18 -0
  105. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  106. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +57 -1
  107. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +18 -0
  108. data/generated/google/apis/cloudresourcemanager_v2/service.rb +1 -1
  109. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  110. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +57 -1
  111. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +18 -0
  112. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +1 -1
  113. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  114. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +28 -0
  115. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +14 -0
  116. data/generated/google/apis/cloudshell_v1alpha1/service.rb +37 -0
  117. data/generated/google/apis/cloudtasks_v2beta2.rb +2 -2
  118. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +167 -103
  119. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +18 -0
  120. data/generated/google/apis/cloudtasks_v2beta2/service.rb +28 -21
  121. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  122. data/generated/google/apis/cloudtrace_v1/classes.rb +1 -1
  123. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  124. data/generated/google/apis/{spectrum_v1explorer.rb → composer_v1.rb} +12 -9
  125. data/generated/google/apis/composer_v1/classes.rb +640 -0
  126. data/generated/google/apis/composer_v1/representations.rb +195 -0
  127. data/generated/google/apis/composer_v1/service.rb +462 -0
  128. data/generated/google/apis/composer_v1beta1.rb +1 -1
  129. data/generated/google/apis/composer_v1beta1/classes.rb +13 -10
  130. data/generated/google/apis/composer_v1beta1/service.rb +6 -6
  131. data/generated/google/apis/compute_alpha.rb +1 -1
  132. data/generated/google/apis/compute_alpha/classes.rb +5135 -4250
  133. data/generated/google/apis/compute_alpha/representations.rb +644 -216
  134. data/generated/google/apis/compute_alpha/service.rb +2308 -1655
  135. data/generated/google/apis/compute_beta.rb +1 -1
  136. data/generated/google/apis/compute_beta/classes.rb +1070 -62
  137. data/generated/google/apis/compute_beta/representations.rb +435 -0
  138. data/generated/google/apis/compute_beta/service.rb +1758 -321
  139. data/generated/google/apis/compute_v1.rb +1 -1
  140. data/generated/google/apis/compute_v1/classes.rb +1984 -210
  141. data/generated/google/apis/compute_v1/representations.rb +754 -9
  142. data/generated/google/apis/compute_v1/service.rb +1299 -12
  143. data/generated/google/apis/container_v1.rb +1 -1
  144. data/generated/google/apis/container_v1/classes.rb +43 -0
  145. data/generated/google/apis/container_v1/representations.rb +17 -0
  146. data/generated/google/apis/container_v1beta1.rb +1 -1
  147. data/generated/google/apis/container_v1beta1/classes.rb +193 -231
  148. data/generated/google/apis/container_v1beta1/representations.rb +72 -82
  149. data/generated/google/apis/container_v1beta1/service.rb +0 -112
  150. data/generated/google/apis/content_v2.rb +1 -1
  151. data/generated/google/apis/content_v2/classes.rb +199 -29
  152. data/generated/google/apis/content_v2/representations.rb +59 -0
  153. data/generated/google/apis/content_v2/service.rb +8 -3
  154. data/generated/google/apis/content_v2sandbox.rb +1 -1
  155. data/generated/google/apis/content_v2sandbox/classes.rb +32 -19
  156. data/generated/google/apis/content_v2sandbox/representations.rb +1 -0
  157. data/generated/google/apis/content_v2sandbox/service.rb +8 -3
  158. data/generated/google/apis/customsearch_v1.rb +1 -1
  159. data/generated/google/apis/customsearch_v1/service.rb +7 -7
  160. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  161. data/generated/google/apis/dataproc_v1beta2/classes.rb +112 -43
  162. data/generated/google/apis/dataproc_v1beta2/representations.rb +19 -0
  163. data/generated/google/apis/datastore_v1.rb +1 -1
  164. data/generated/google/apis/datastore_v1/classes.rb +140 -0
  165. data/generated/google/apis/datastore_v1/representations.rb +65 -0
  166. data/generated/google/apis/datastore_v1/service.rb +74 -0
  167. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  168. data/generated/google/apis/datastore_v1beta1/classes.rb +31 -0
  169. data/generated/google/apis/datastore_v1beta1/representations.rb +17 -0
  170. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  171. data/generated/google/apis/datastore_v1beta3/classes.rb +31 -0
  172. data/generated/google/apis/datastore_v1beta3/representations.rb +17 -0
  173. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  174. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  175. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  176. data/generated/google/apis/dfareporting_v2_8.rb +1 -1
  177. data/generated/google/apis/dfareporting_v3_0.rb +1 -1
  178. data/generated/google/apis/dfareporting_v3_1.rb +1 -1
  179. data/generated/google/apis/dfareporting_v3_2.rb +40 -0
  180. data/generated/google/apis/dfareporting_v3_2/classes.rb +12297 -0
  181. data/generated/google/apis/dfareporting_v3_2/representations.rb +4397 -0
  182. data/generated/google/apis/dfareporting_v3_2/service.rb +8790 -0
  183. data/generated/google/apis/dialogflow_v2.rb +1 -1
  184. data/generated/google/apis/dialogflow_v2/classes.rb +304 -12
  185. data/generated/google/apis/dialogflow_v2/representations.rb +113 -0
  186. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  187. data/generated/google/apis/dialogflow_v2beta1/classes.rb +656 -26
  188. data/generated/google/apis/dialogflow_v2beta1/representations.rb +248 -0
  189. data/generated/google/apis/dialogflow_v2beta1/service.rb +556 -0
  190. data/generated/google/apis/discovery_v1.rb +1 -1
  191. data/generated/google/apis/dlp_v2.rb +1 -1
  192. data/generated/google/apis/dlp_v2/classes.rb +357 -6
  193. data/generated/google/apis/dlp_v2/representations.rb +161 -0
  194. data/generated/google/apis/dlp_v2/service.rb +366 -0
  195. data/generated/google/apis/dns_v1.rb +1 -1
  196. data/generated/google/apis/dns_v1/classes.rb +0 -7
  197. data/generated/google/apis/dns_v1/representations.rb +0 -1
  198. data/generated/google/apis/dns_v1beta2.rb +1 -1
  199. data/generated/google/apis/dns_v1beta2/classes.rb +0 -7
  200. data/generated/google/apis/dns_v1beta2/representations.rb +0 -1
  201. data/generated/google/apis/dns_v2beta1.rb +1 -1
  202. data/generated/google/apis/dns_v2beta1/classes.rb +0 -7
  203. data/generated/google/apis/dns_v2beta1/representations.rb +0 -1
  204. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  205. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  206. data/generated/google/apis/drive_v2.rb +1 -1
  207. data/generated/google/apis/drive_v2/service.rb +3 -2
  208. data/generated/google/apis/drive_v3.rb +1 -1
  209. data/generated/google/apis/firestore_v1.rb +37 -0
  210. data/generated/google/apis/firestore_v1/classes.rb +324 -0
  211. data/generated/google/apis/firestore_v1/representations.rb +130 -0
  212. data/generated/google/apis/firestore_v1/service.rb +282 -0
  213. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  214. data/generated/google/apis/firestore_v1beta1/classes.rb +290 -0
  215. data/generated/google/apis/firestore_v1beta1/representations.rb +128 -0
  216. data/generated/google/apis/firestore_v1beta1/service.rb +79 -0
  217. data/generated/google/apis/firestore_v1beta2.rb +37 -0
  218. data/generated/google/apis/firestore_v1beta2/classes.rb +531 -0
  219. data/generated/google/apis/firestore_v1beta2/representations.rb +189 -0
  220. data/generated/google/apis/firestore_v1beta2/service.rb +213 -0
  221. data/generated/google/apis/fitness_v1.rb +1 -1
  222. data/generated/google/apis/fusiontables_v1.rb +1 -1
  223. data/generated/google/apis/fusiontables_v2.rb +1 -1
  224. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  225. data/generated/google/apis/games_management_v1management.rb +1 -1
  226. data/generated/google/apis/games_v1.rb +1 -1
  227. data/generated/google/apis/genomics_v1.rb +1 -1
  228. data/generated/google/apis/genomics_v1/classes.rb +113 -36
  229. data/generated/google/apis/genomics_v1/representations.rb +31 -0
  230. data/generated/google/apis/genomics_v1/service.rb +2 -0
  231. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  232. data/generated/google/apis/genomics_v1alpha2/classes.rb +57 -36
  233. data/generated/google/apis/genomics_v1alpha2/representations.rb +13 -0
  234. data/generated/google/apis/genomics_v1alpha2/service.rb +2 -0
  235. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  236. data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -137
  237. data/generated/google/apis/genomics_v2alpha1/representations.rb +50 -0
  238. data/generated/google/apis/genomics_v2alpha1/service.rb +7 -5
  239. data/generated/google/apis/gmail_v1.rb +1 -1
  240. data/generated/google/apis/groupsmigration_v1.rb +1 -1
  241. data/generated/google/apis/groupssettings_v1.rb +1 -1
  242. data/generated/google/apis/iam_v1.rb +1 -1
  243. data/generated/google/apis/iam_v1/classes.rb +258 -3
  244. data/generated/google/apis/iam_v1/representations.rb +73 -0
  245. data/generated/google/apis/iam_v1/service.rb +50 -2
  246. data/generated/google/apis/iamcredentials_v1.rb +2 -2
  247. data/generated/google/apis/iamcredentials_v1/classes.rb +2 -2
  248. data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
  249. data/generated/google/apis/iap_v1beta1.rb +34 -0
  250. data/generated/google/apis/iap_v1beta1/classes.rb +440 -0
  251. data/generated/google/apis/iap_v1beta1/representations.rb +158 -0
  252. data/generated/google/apis/iap_v1beta1/service.rb +398 -0
  253. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  254. data/generated/google/apis/jobs_v2.rb +3 -3
  255. data/generated/google/apis/jobs_v2/classes.rb +61 -5
  256. data/generated/google/apis/jobs_v2/representations.rb +18 -0
  257. data/generated/google/apis/jobs_v2/service.rb +3 -3
  258. data/generated/google/apis/licensing_v1.rb +1 -1
  259. data/generated/google/apis/logging_v2.rb +2 -2
  260. data/generated/google/apis/logging_v2/classes.rb +64 -58
  261. data/generated/google/apis/logging_v2/representations.rb +1 -0
  262. data/generated/google/apis/logging_v2/service.rb +39 -40
  263. data/generated/google/apis/logging_v2beta1.rb +2 -2
  264. data/generated/google/apis/logging_v2beta1/classes.rb +59 -53
  265. data/generated/google/apis/logging_v2beta1/representations.rb +1 -0
  266. data/generated/google/apis/logging_v2beta1/service.rb +15 -16
  267. data/generated/google/apis/mirror_v1.rb +1 -1
  268. data/generated/google/apis/ml_v1.rb +1 -1
  269. data/generated/google/apis/ml_v1/classes.rb +87 -0
  270. data/generated/google/apis/ml_v1/representations.rb +34 -0
  271. data/generated/google/apis/ml_v1/service.rb +53 -0
  272. data/generated/google/apis/monitoring_v3.rb +1 -1
  273. data/generated/google/apis/monitoring_v3/classes.rb +68 -15
  274. data/generated/google/apis/monitoring_v3/representations.rb +26 -0
  275. data/generated/google/apis/mybusiness_v3/classes.rb +1 -1
  276. data/generated/google/apis/oauth2_v1.rb +1 -1
  277. data/generated/google/apis/oauth2_v2.rb +1 -1
  278. data/generated/google/apis/pagespeedonline_v1.rb +1 -1
  279. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  280. data/generated/google/apis/pagespeedonline_v4.rb +1 -1
  281. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  282. data/generated/google/apis/plus_domains_v1.rb +1 -1
  283. data/generated/google/apis/plus_v1.rb +1 -1
  284. data/generated/google/apis/poly_v1.rb +4 -3
  285. data/generated/google/apis/poly_v1/classes.rb +28 -0
  286. data/generated/google/apis/poly_v1/representations.rb +15 -0
  287. data/generated/google/apis/poly_v1/service.rb +3 -2
  288. data/generated/google/apis/pubsub_v1.rb +1 -1
  289. data/generated/google/apis/pubsub_v1/classes.rb +63 -8
  290. data/generated/google/apis/pubsub_v1/representations.rb +18 -0
  291. data/generated/google/apis/pubsub_v1/service.rb +7 -8
  292. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  293. data/generated/google/apis/pubsub_v1beta2/classes.rb +56 -0
  294. data/generated/google/apis/pubsub_v1beta2/representations.rb +18 -0
  295. data/generated/google/apis/redis_v1beta1.rb +2 -2
  296. data/generated/google/apis/redis_v1beta1/classes.rb +38 -119
  297. data/generated/google/apis/redis_v1beta1/representations.rb +10 -43
  298. data/generated/google/apis/redis_v1beta1/service.rb +73 -1
  299. data/generated/google/apis/replicapool_v1beta1.rb +1 -1
  300. data/generated/google/apis/replicapoolupdater_v1beta1.rb +1 -1
  301. data/generated/google/apis/reseller_v1.rb +1 -1
  302. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  303. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +57 -1
  304. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +18 -0
  305. data/generated/google/apis/script_v1.rb +1 -1
  306. data/generated/google/apis/script_v1/classes.rb +1 -57
  307. data/generated/google/apis/script_v1/representations.rb +0 -32
  308. data/generated/google/apis/servicebroker_v1.rb +1 -1
  309. data/generated/google/apis/servicebroker_v1/classes.rb +56 -1
  310. data/generated/google/apis/servicebroker_v1/representations.rb +18 -0
  311. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  312. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +56 -1
  313. data/generated/google/apis/servicebroker_v1alpha1/representations.rb +18 -0
  314. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  315. data/generated/google/apis/servicebroker_v1beta1/classes.rb +56 -1
  316. data/generated/google/apis/servicebroker_v1beta1/representations.rb +18 -0
  317. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  318. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +13 -4
  319. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
  320. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  321. data/generated/google/apis/servicecontrol_v1/classes.rb +259 -0
  322. data/generated/google/apis/servicecontrol_v1/representations.rb +68 -0
  323. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  324. data/generated/google/apis/servicemanagement_v1/classes.rb +68 -4
  325. data/generated/google/apis/servicemanagement_v1/representations.rb +19 -0
  326. data/generated/google/apis/serviceusage_v1.rb +1 -1
  327. data/generated/google/apis/serviceusage_v1/classes.rb +13 -4
  328. data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
  329. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  330. data/generated/google/apis/serviceusage_v1beta1/classes.rb +13 -4
  331. data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
  332. data/generated/google/apis/serviceuser_v1.rb +1 -1
  333. data/generated/google/apis/serviceuser_v1/classes.rb +12 -3
  334. data/generated/google/apis/serviceuser_v1/representations.rb +1 -0
  335. data/generated/google/apis/sheets_v4.rb +1 -1
  336. data/generated/google/apis/sheets_v4/classes.rb +22 -22
  337. data/generated/google/apis/site_verification_v1.rb +1 -1
  338. data/generated/google/apis/slides_v1.rb +1 -1
  339. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  340. data/generated/google/apis/sourcerepo_v1/classes.rb +56 -1
  341. data/generated/google/apis/sourcerepo_v1/representations.rb +18 -0
  342. data/generated/google/apis/sqladmin_v1beta3.rb +38 -0
  343. data/generated/google/apis/sqladmin_v1beta3/classes.rb +1632 -0
  344. data/generated/google/apis/sqladmin_v1beta3/representations.rb +733 -0
  345. data/generated/google/apis/sqladmin_v1beta3/service.rb +995 -0
  346. data/generated/google/apis/sqladmin_v1beta4.rb +4 -4
  347. data/generated/google/apis/sqladmin_v1beta4/classes.rb +30 -14
  348. data/generated/google/apis/sqladmin_v1beta4/service.rb +7 -7
  349. data/generated/google/apis/storage_v1.rb +1 -1
  350. data/generated/google/apis/storage_v1beta1.rb +1 -1
  351. data/generated/google/apis/storage_v1beta2.rb +1 -1
  352. data/generated/google/apis/surveys_v2.rb +1 -1
  353. data/generated/google/apis/tagmanager_v1.rb +1 -1
  354. data/generated/google/apis/tagmanager_v2.rb +1 -1
  355. data/generated/google/apis/tasks_v1.rb +1 -1
  356. data/generated/google/apis/testing_v1.rb +1 -1
  357. data/generated/google/apis/testing_v1/classes.rb +2 -2
  358. data/generated/google/apis/texttospeech_v1.rb +34 -0
  359. data/generated/google/apis/texttospeech_v1/classes.rb +278 -0
  360. data/generated/google/apis/texttospeech_v1/representations.rb +133 -0
  361. data/generated/google/apis/texttospeech_v1/service.rb +127 -0
  362. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  363. data/generated/google/apis/texttospeech_v1beta1/service.rb +1 -2
  364. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  365. data/generated/google/apis/toolresults_v1beta3/classes.rb +0 -12
  366. data/generated/google/apis/toolresults_v1beta3/representations.rb +0 -2
  367. data/generated/google/apis/tpu_v1.rb +1 -1
  368. data/generated/google/apis/tpu_v1/classes.rb +0 -13
  369. data/generated/google/apis/tpu_v1/representations.rb +0 -12
  370. data/generated/google/apis/tpu_v1/service.rb +0 -33
  371. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  372. data/generated/google/apis/tpu_v1alpha1/classes.rb +0 -13
  373. data/generated/google/apis/tpu_v1alpha1/representations.rb +0 -12
  374. data/generated/google/apis/tpu_v1alpha1/service.rb +0 -33
  375. data/generated/google/apis/urlshortener_v1.rb +1 -1
  376. data/generated/google/apis/vault_v1.rb +1 -1
  377. data/generated/google/apis/vault_v1/classes.rb +803 -0
  378. data/generated/google/apis/vault_v1/representations.rb +384 -0
  379. data/generated/google/apis/vault_v1/service.rb +211 -0
  380. data/generated/google/apis/vision_v1.rb +1 -1
  381. data/generated/google/apis/vision_v1/classes.rb +3342 -227
  382. data/generated/google/apis/vision_v1/representations.rb +1696 -365
  383. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  384. data/generated/google/apis/vision_v1p1beta1/classes.rb +1826 -94
  385. data/generated/google/apis/vision_v1p1beta1/representations.rb +754 -1
  386. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  387. data/generated/google/apis/vision_v1p2beta1/classes.rb +3712 -597
  388. data/generated/google/apis/vision_v1p2beta1/representations.rb +1606 -275
  389. data/generated/google/apis/webfonts_v1.rb +1 -1
  390. data/generated/google/apis/webmasters_v3.rb +1 -1
  391. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  392. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +58 -2
  393. data/generated/google/apis/websecurityscanner_v1alpha/representations.rb +32 -0
  394. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  395. data/generated/google/apis/youtube_analytics_v1beta1.rb +1 -1
  396. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  397. data/generated/google/apis/youtube_v3.rb +1 -1
  398. data/lib/google/apis/core/http_command.rb +1 -1
  399. data/lib/google/apis/version.rb +1 -1
  400. metadata +34 -6
  401. data/generated/google/apis/spectrum_v1explorer/classes.rb +0 -1612
  402. data/generated/google/apis/spectrum_v1explorer/representations.rb +0 -611
  403. data/generated/google/apis/spectrum_v1explorer/service.rb +0 -271
@@ -40,6 +40,12 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class GooglePrivacyDlpV2BigQueryField
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
43
49
  class GooglePrivacyDlpV2BigQueryKey
44
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
51
 
@@ -118,6 +124,12 @@ module Google
118
124
  include Google::Apis::Core::JsonObjectSupport
119
125
  end
120
126
 
127
+ class GooglePrivacyDlpV2CloudStorageFileSet
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
121
133
  class GooglePrivacyDlpV2CloudStorageOptions
122
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
135
 
@@ -184,6 +196,12 @@ module Google
184
196
  include Google::Apis::Core::JsonObjectSupport
185
197
  end
186
198
 
199
+ class GooglePrivacyDlpV2CreateStoredInfoTypeRequest
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
187
205
  class GooglePrivacyDlpV2CryptoHashConfig
188
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
207
 
@@ -550,6 +568,12 @@ module Google
550
568
  include Google::Apis::Core::JsonObjectSupport
551
569
  end
552
570
 
571
+ class GooglePrivacyDlpV2LargeCustomDictionaryConfig
572
+ class Representation < Google::Apis::Core::JsonRepresentation; end
573
+
574
+ include Google::Apis::Core::JsonObjectSupport
575
+ end
576
+
553
577
  class GooglePrivacyDlpV2LikelihoodAdjustment
554
578
  class Representation < Google::Apis::Core::JsonRepresentation; end
555
579
 
@@ -586,6 +610,12 @@ module Google
586
610
  include Google::Apis::Core::JsonObjectSupport
587
611
  end
588
612
 
613
+ class GooglePrivacyDlpV2ListStoredInfoTypesResponse
614
+ class Representation < Google::Apis::Core::JsonRepresentation; end
615
+
616
+ include Google::Apis::Core::JsonObjectSupport
617
+ end
618
+
589
619
  class GooglePrivacyDlpV2Location
590
620
  class Representation < Google::Apis::Core::JsonRepresentation; end
591
621
 
@@ -808,6 +838,30 @@ module Google
808
838
  include Google::Apis::Core::JsonObjectSupport
809
839
  end
810
840
 
841
+ class GooglePrivacyDlpV2StoredInfoType
842
+ class Representation < Google::Apis::Core::JsonRepresentation; end
843
+
844
+ include Google::Apis::Core::JsonObjectSupport
845
+ end
846
+
847
+ class GooglePrivacyDlpV2StoredInfoTypeConfig
848
+ class Representation < Google::Apis::Core::JsonRepresentation; end
849
+
850
+ include Google::Apis::Core::JsonObjectSupport
851
+ end
852
+
853
+ class GooglePrivacyDlpV2StoredInfoTypeVersion
854
+ class Representation < Google::Apis::Core::JsonRepresentation; end
855
+
856
+ include Google::Apis::Core::JsonObjectSupport
857
+ end
858
+
859
+ class GooglePrivacyDlpV2StoredType
860
+ class Representation < Google::Apis::Core::JsonRepresentation; end
861
+
862
+ include Google::Apis::Core::JsonObjectSupport
863
+ end
864
+
811
865
  class GooglePrivacyDlpV2SummaryResult
812
866
  class Representation < Google::Apis::Core::JsonRepresentation; end
813
867
 
@@ -904,6 +958,12 @@ module Google
904
958
  include Google::Apis::Core::JsonObjectSupport
905
959
  end
906
960
 
961
+ class GooglePrivacyDlpV2UpdateStoredInfoTypeRequest
962
+ class Representation < Google::Apis::Core::JsonRepresentation; end
963
+
964
+ include Google::Apis::Core::JsonObjectSupport
965
+ end
966
+
907
967
  class GooglePrivacyDlpV2Value
908
968
  class Representation < Google::Apis::Core::JsonRepresentation; end
909
969
 
@@ -992,6 +1052,16 @@ module Google
992
1052
  end
993
1053
  end
994
1054
 
1055
+ class GooglePrivacyDlpV2BigQueryField
1056
+ # @private
1057
+ class Representation < Google::Apis::Core::JsonRepresentation
1058
+ property :field, as: 'field', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId::Representation
1059
+
1060
+ property :table, as: 'table', class: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable::Representation
1061
+
1062
+ end
1063
+ end
1064
+
995
1065
  class GooglePrivacyDlpV2BigQueryKey
996
1066
  # @private
997
1067
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1007,6 +1077,7 @@ module Google
1007
1077
  collection :identifying_fields, as: 'identifyingFields', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FieldId::Representation
1008
1078
 
1009
1079
  property :rows_limit, :numeric_string => true, as: 'rowsLimit'
1080
+ property :rows_limit_percent, as: 'rowsLimitPercent'
1010
1081
  property :sample_method, as: 'sampleMethod'
1011
1082
  property :table_reference, as: 'tableReference', class: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTable::Representation
1012
1083
 
@@ -1113,10 +1184,18 @@ module Google
1113
1184
  end
1114
1185
  end
1115
1186
 
1187
+ class GooglePrivacyDlpV2CloudStorageFileSet
1188
+ # @private
1189
+ class Representation < Google::Apis::Core::JsonRepresentation
1190
+ property :url, as: 'url'
1191
+ end
1192
+ end
1193
+
1116
1194
  class GooglePrivacyDlpV2CloudStorageOptions
1117
1195
  # @private
1118
1196
  class Representation < Google::Apis::Core::JsonRepresentation
1119
1197
  property :bytes_limit_per_file, :numeric_string => true, as: 'bytesLimitPerFile'
1198
+ property :bytes_limit_per_file_percent, as: 'bytesLimitPerFilePercent'
1120
1199
  property :file_set, as: 'fileSet', class: Google::Apis::DlpV2::GooglePrivacyDlpV2FileSet, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2FileSet::Representation
1121
1200
 
1122
1201
  collection :file_types, as: 'fileTypes'
@@ -1224,6 +1303,15 @@ module Google
1224
1303
  end
1225
1304
  end
1226
1305
 
1306
+ class GooglePrivacyDlpV2CreateStoredInfoTypeRequest
1307
+ # @private
1308
+ class Representation < Google::Apis::Core::JsonRepresentation
1309
+ property :config, as: 'config', class: Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeConfig::Representation
1310
+
1311
+ property :stored_info_type_id, as: 'storedInfoTypeId'
1312
+ end
1313
+ end
1314
+
1227
1315
  class GooglePrivacyDlpV2CryptoHashConfig
1228
1316
  # @private
1229
1317
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1271,6 +1359,8 @@ module Google
1271
1359
  property :likelihood, as: 'likelihood'
1272
1360
  property :regex, as: 'regex', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Regex, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Regex::Representation
1273
1361
 
1362
+ property :stored_type, as: 'storedType', class: Google::Apis::DlpV2::GooglePrivacyDlpV2StoredType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2StoredType::Representation
1363
+
1274
1364
  property :surrogate_type, as: 'surrogateType', class: Google::Apis::DlpV2::GooglePrivacyDlpV2SurrogateType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2SurrogateType::Representation
1275
1365
 
1276
1366
  end
@@ -1868,6 +1958,18 @@ module Google
1868
1958
  end
1869
1959
  end
1870
1960
 
1961
+ class GooglePrivacyDlpV2LargeCustomDictionaryConfig
1962
+ # @private
1963
+ class Representation < Google::Apis::Core::JsonRepresentation
1964
+ property :big_query_field, as: 'bigQueryField', class: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryField, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryField::Representation
1965
+
1966
+ property :cloud_storage_file_set, as: 'cloudStorageFileSet', class: Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStorageFileSet, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStorageFileSet::Representation
1967
+
1968
+ property :output_path, as: 'outputPath', class: Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStoragePath, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2CloudStoragePath::Representation
1969
+
1970
+ end
1971
+ end
1972
+
1871
1973
  class GooglePrivacyDlpV2LikelihoodAdjustment
1872
1974
  # @private
1873
1975
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1920,6 +2022,15 @@ module Google
1920
2022
  end
1921
2023
  end
1922
2024
 
2025
+ class GooglePrivacyDlpV2ListStoredInfoTypesResponse
2026
+ # @private
2027
+ class Representation < Google::Apis::Core::JsonRepresentation
2028
+ property :next_page_token, as: 'nextPageToken'
2029
+ collection :stored_info_types, as: 'storedInfoTypes', class: Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType::Representation
2030
+
2031
+ end
2032
+ end
2033
+
1923
2034
  class GooglePrivacyDlpV2Location
1924
2035
  # @private
1925
2036
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2293,6 +2404,47 @@ module Google
2293
2404
  end
2294
2405
  end
2295
2406
 
2407
+ class GooglePrivacyDlpV2StoredInfoType
2408
+ # @private
2409
+ class Representation < Google::Apis::Core::JsonRepresentation
2410
+ property :current_version, as: 'currentVersion', class: Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeVersion, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeVersion::Representation
2411
+
2412
+ property :name, as: 'name'
2413
+ collection :pending_versions, as: 'pendingVersions', class: Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeVersion, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeVersion::Representation
2414
+
2415
+ end
2416
+ end
2417
+
2418
+ class GooglePrivacyDlpV2StoredInfoTypeConfig
2419
+ # @private
2420
+ class Representation < Google::Apis::Core::JsonRepresentation
2421
+ property :description, as: 'description'
2422
+ property :display_name, as: 'displayName'
2423
+ property :large_custom_dictionary, as: 'largeCustomDictionary', class: Google::Apis::DlpV2::GooglePrivacyDlpV2LargeCustomDictionaryConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2LargeCustomDictionaryConfig::Representation
2424
+
2425
+ end
2426
+ end
2427
+
2428
+ class GooglePrivacyDlpV2StoredInfoTypeVersion
2429
+ # @private
2430
+ class Representation < Google::Apis::Core::JsonRepresentation
2431
+ property :config, as: 'config', class: Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeConfig::Representation
2432
+
2433
+ property :create_time, as: 'createTime'
2434
+ collection :errors, as: 'errors', class: Google::Apis::DlpV2::GooglePrivacyDlpV2Error, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2Error::Representation
2435
+
2436
+ property :state, as: 'state'
2437
+ end
2438
+ end
2439
+
2440
+ class GooglePrivacyDlpV2StoredType
2441
+ # @private
2442
+ class Representation < Google::Apis::Core::JsonRepresentation
2443
+ property :create_time, as: 'createTime'
2444
+ property :name, as: 'name'
2445
+ end
2446
+ end
2447
+
2296
2448
  class GooglePrivacyDlpV2SummaryResult
2297
2449
  # @private
2298
2450
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2440,6 +2592,15 @@ module Google
2440
2592
  end
2441
2593
  end
2442
2594
 
2595
+ class GooglePrivacyDlpV2UpdateStoredInfoTypeRequest
2596
+ # @private
2597
+ class Representation < Google::Apis::Core::JsonRepresentation
2598
+ property :config, as: 'config', class: Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeConfig::Representation
2599
+
2600
+ property :update_mask, as: 'updateMask'
2601
+ end
2602
+ end
2603
+
2443
2604
  class GooglePrivacyDlpV2Value
2444
2605
  # @private
2445
2606
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -448,6 +448,189 @@ module Google
448
448
  execute_or_queue_command(command, &block)
449
449
  end
450
450
 
451
+ # Creates a pre-built stored infoType to be used for inspection.
452
+ # See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
453
+ # learn more.
454
+ # @param [String] parent
455
+ # The parent resource name, for example projects/my-project-id or
456
+ # organizations/my-org-id.
457
+ # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest] google_privacy_dlp_v2_create_stored_info_type_request_object
458
+ # @param [String] fields
459
+ # Selector specifying which fields to include in a partial response.
460
+ # @param [String] quota_user
461
+ # Available to use for quota purposes for server-side applications. Can be any
462
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
463
+ # @param [Google::Apis::RequestOptions] options
464
+ # Request-specific options
465
+ #
466
+ # @yield [result, err] Result & error if block supplied
467
+ # @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType] parsed result object
468
+ # @yieldparam err [StandardError] error object if request failed
469
+ #
470
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType]
471
+ #
472
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
473
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
474
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
475
+ def create_organization_stored_info_type(parent, google_privacy_dlp_v2_create_stored_info_type_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
476
+ command = make_simple_command(:post, 'v2/{+parent}/storedInfoTypes', options)
477
+ command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest::Representation
478
+ command.request_object = google_privacy_dlp_v2_create_stored_info_type_request_object
479
+ command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType::Representation
480
+ command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType
481
+ command.params['parent'] = parent unless parent.nil?
482
+ command.query['fields'] = fields unless fields.nil?
483
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
484
+ execute_or_queue_command(command, &block)
485
+ end
486
+
487
+ # Deletes a stored infoType.
488
+ # See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
489
+ # learn more.
490
+ # @param [String] name
491
+ # Resource name of the organization and storedInfoType to be deleted, for
492
+ # example `organizations/433245324/storedInfoTypes/432452342` or
493
+ # projects/project-id/storedInfoTypes/432452342.
494
+ # @param [String] fields
495
+ # Selector specifying which fields to include in a partial response.
496
+ # @param [String] quota_user
497
+ # Available to use for quota purposes for server-side applications. Can be any
498
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
499
+ # @param [Google::Apis::RequestOptions] options
500
+ # Request-specific options
501
+ #
502
+ # @yield [result, err] Result & error if block supplied
503
+ # @yieldparam result [Google::Apis::DlpV2::GoogleProtobufEmpty] parsed result object
504
+ # @yieldparam err [StandardError] error object if request failed
505
+ #
506
+ # @return [Google::Apis::DlpV2::GoogleProtobufEmpty]
507
+ #
508
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
509
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
510
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
511
+ def delete_organization_stored_info_type(name, fields: nil, quota_user: nil, options: nil, &block)
512
+ command = make_simple_command(:delete, 'v2/{+name}', options)
513
+ command.response_representation = Google::Apis::DlpV2::GoogleProtobufEmpty::Representation
514
+ command.response_class = Google::Apis::DlpV2::GoogleProtobufEmpty
515
+ command.params['name'] = name unless name.nil?
516
+ command.query['fields'] = fields unless fields.nil?
517
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
518
+ execute_or_queue_command(command, &block)
519
+ end
520
+
521
+ # Gets a stored infoType.
522
+ # See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
523
+ # learn more.
524
+ # @param [String] name
525
+ # Resource name of the organization and storedInfoType to be read, for
526
+ # example `organizations/433245324/storedInfoTypes/432452342` or
527
+ # projects/project-id/storedInfoTypes/432452342.
528
+ # @param [String] fields
529
+ # Selector specifying which fields to include in a partial response.
530
+ # @param [String] quota_user
531
+ # Available to use for quota purposes for server-side applications. Can be any
532
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
533
+ # @param [Google::Apis::RequestOptions] options
534
+ # Request-specific options
535
+ #
536
+ # @yield [result, err] Result & error if block supplied
537
+ # @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType] parsed result object
538
+ # @yieldparam err [StandardError] error object if request failed
539
+ #
540
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType]
541
+ #
542
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
543
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
544
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
545
+ def get_organization_stored_info_type(name, fields: nil, quota_user: nil, options: nil, &block)
546
+ command = make_simple_command(:get, 'v2/{+name}', options)
547
+ command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType::Representation
548
+ command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType
549
+ command.params['name'] = name unless name.nil?
550
+ command.query['fields'] = fields unless fields.nil?
551
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
552
+ execute_or_queue_command(command, &block)
553
+ end
554
+
555
+ # Lists stored infoTypes.
556
+ # See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
557
+ # learn more.
558
+ # @param [String] parent
559
+ # The parent resource name, for example projects/my-project-id or
560
+ # organizations/my-org-id.
561
+ # @param [Fixnum] page_size
562
+ # Optional size of the page, can be limited by server. If zero server returns
563
+ # a page of max size 100.
564
+ # @param [String] page_token
565
+ # Optional page token to continue retrieval. Comes from previous call
566
+ # to `ListStoredInfoTypes`.
567
+ # @param [String] fields
568
+ # Selector specifying which fields to include in a partial response.
569
+ # @param [String] quota_user
570
+ # Available to use for quota purposes for server-side applications. Can be any
571
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
572
+ # @param [Google::Apis::RequestOptions] options
573
+ # Request-specific options
574
+ #
575
+ # @yield [result, err] Result & error if block supplied
576
+ # @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse] parsed result object
577
+ # @yieldparam err [StandardError] error object if request failed
578
+ #
579
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse]
580
+ #
581
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
582
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
583
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
584
+ def list_organization_stored_info_types(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
585
+ command = make_simple_command(:get, 'v2/{+parent}/storedInfoTypes', options)
586
+ command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse::Representation
587
+ command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse
588
+ command.params['parent'] = parent unless parent.nil?
589
+ command.query['pageSize'] = page_size unless page_size.nil?
590
+ command.query['pageToken'] = page_token unless page_token.nil?
591
+ command.query['fields'] = fields unless fields.nil?
592
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
593
+ execute_or_queue_command(command, &block)
594
+ end
595
+
596
+ # Updates the stored infoType by creating a new version. The existing version
597
+ # will continue to be used until the new version is ready.
598
+ # See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
599
+ # learn more.
600
+ # @param [String] name
601
+ # Resource name of organization and storedInfoType to be updated, for
602
+ # example `organizations/433245324/storedInfoTypes/432452342` or
603
+ # projects/project-id/storedInfoTypes/432452342.
604
+ # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateStoredInfoTypeRequest] google_privacy_dlp_v2_update_stored_info_type_request_object
605
+ # @param [String] fields
606
+ # Selector specifying which fields to include in a partial response.
607
+ # @param [String] quota_user
608
+ # Available to use for quota purposes for server-side applications. Can be any
609
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
610
+ # @param [Google::Apis::RequestOptions] options
611
+ # Request-specific options
612
+ #
613
+ # @yield [result, err] Result & error if block supplied
614
+ # @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType] parsed result object
615
+ # @yieldparam err [StandardError] error object if request failed
616
+ #
617
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType]
618
+ #
619
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
620
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
621
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
622
+ def patch_organization_stored_info_type(name, google_privacy_dlp_v2_update_stored_info_type_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
623
+ command = make_simple_command(:patch, 'v2/{+name}', options)
624
+ command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateStoredInfoTypeRequest::Representation
625
+ command.request_object = google_privacy_dlp_v2_update_stored_info_type_request_object
626
+ command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType::Representation
627
+ command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType
628
+ command.params['name'] = name unless name.nil?
629
+ command.query['fields'] = fields unless fields.nil?
630
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
631
+ execute_or_queue_command(command, &block)
632
+ end
633
+
451
634
  # De-identifies potentially sensitive info from a ContentItem.
452
635
  # This method has limits on input size and output size.
453
636
  # See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to
@@ -1348,6 +1531,189 @@ module Google
1348
1531
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1349
1532
  execute_or_queue_command(command, &block)
1350
1533
  end
1534
+
1535
+ # Creates a pre-built stored infoType to be used for inspection.
1536
+ # See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
1537
+ # learn more.
1538
+ # @param [String] parent
1539
+ # The parent resource name, for example projects/my-project-id or
1540
+ # organizations/my-org-id.
1541
+ # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest] google_privacy_dlp_v2_create_stored_info_type_request_object
1542
+ # @param [String] fields
1543
+ # Selector specifying which fields to include in a partial response.
1544
+ # @param [String] quota_user
1545
+ # Available to use for quota purposes for server-side applications. Can be any
1546
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1547
+ # @param [Google::Apis::RequestOptions] options
1548
+ # Request-specific options
1549
+ #
1550
+ # @yield [result, err] Result & error if block supplied
1551
+ # @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType] parsed result object
1552
+ # @yieldparam err [StandardError] error object if request failed
1553
+ #
1554
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType]
1555
+ #
1556
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1557
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1558
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1559
+ def create_project_stored_info_type(parent, google_privacy_dlp_v2_create_stored_info_type_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1560
+ command = make_simple_command(:post, 'v2/{+parent}/storedInfoTypes', options)
1561
+ command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest::Representation
1562
+ command.request_object = google_privacy_dlp_v2_create_stored_info_type_request_object
1563
+ command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType::Representation
1564
+ command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType
1565
+ command.params['parent'] = parent unless parent.nil?
1566
+ command.query['fields'] = fields unless fields.nil?
1567
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1568
+ execute_or_queue_command(command, &block)
1569
+ end
1570
+
1571
+ # Deletes a stored infoType.
1572
+ # See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
1573
+ # learn more.
1574
+ # @param [String] name
1575
+ # Resource name of the organization and storedInfoType to be deleted, for
1576
+ # example `organizations/433245324/storedInfoTypes/432452342` or
1577
+ # projects/project-id/storedInfoTypes/432452342.
1578
+ # @param [String] fields
1579
+ # Selector specifying which fields to include in a partial response.
1580
+ # @param [String] quota_user
1581
+ # Available to use for quota purposes for server-side applications. Can be any
1582
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1583
+ # @param [Google::Apis::RequestOptions] options
1584
+ # Request-specific options
1585
+ #
1586
+ # @yield [result, err] Result & error if block supplied
1587
+ # @yieldparam result [Google::Apis::DlpV2::GoogleProtobufEmpty] parsed result object
1588
+ # @yieldparam err [StandardError] error object if request failed
1589
+ #
1590
+ # @return [Google::Apis::DlpV2::GoogleProtobufEmpty]
1591
+ #
1592
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1593
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1594
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1595
+ def delete_project_stored_info_type(name, fields: nil, quota_user: nil, options: nil, &block)
1596
+ command = make_simple_command(:delete, 'v2/{+name}', options)
1597
+ command.response_representation = Google::Apis::DlpV2::GoogleProtobufEmpty::Representation
1598
+ command.response_class = Google::Apis::DlpV2::GoogleProtobufEmpty
1599
+ command.params['name'] = name unless name.nil?
1600
+ command.query['fields'] = fields unless fields.nil?
1601
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1602
+ execute_or_queue_command(command, &block)
1603
+ end
1604
+
1605
+ # Gets a stored infoType.
1606
+ # See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
1607
+ # learn more.
1608
+ # @param [String] name
1609
+ # Resource name of the organization and storedInfoType to be read, for
1610
+ # example `organizations/433245324/storedInfoTypes/432452342` or
1611
+ # projects/project-id/storedInfoTypes/432452342.
1612
+ # @param [String] fields
1613
+ # Selector specifying which fields to include in a partial response.
1614
+ # @param [String] quota_user
1615
+ # Available to use for quota purposes for server-side applications. Can be any
1616
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1617
+ # @param [Google::Apis::RequestOptions] options
1618
+ # Request-specific options
1619
+ #
1620
+ # @yield [result, err] Result & error if block supplied
1621
+ # @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType] parsed result object
1622
+ # @yieldparam err [StandardError] error object if request failed
1623
+ #
1624
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType]
1625
+ #
1626
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1627
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1628
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1629
+ def get_project_stored_info_type(name, fields: nil, quota_user: nil, options: nil, &block)
1630
+ command = make_simple_command(:get, 'v2/{+name}', options)
1631
+ command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType::Representation
1632
+ command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType
1633
+ command.params['name'] = name unless name.nil?
1634
+ command.query['fields'] = fields unless fields.nil?
1635
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1636
+ execute_or_queue_command(command, &block)
1637
+ end
1638
+
1639
+ # Lists stored infoTypes.
1640
+ # See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
1641
+ # learn more.
1642
+ # @param [String] parent
1643
+ # The parent resource name, for example projects/my-project-id or
1644
+ # organizations/my-org-id.
1645
+ # @param [Fixnum] page_size
1646
+ # Optional size of the page, can be limited by server. If zero server returns
1647
+ # a page of max size 100.
1648
+ # @param [String] page_token
1649
+ # Optional page token to continue retrieval. Comes from previous call
1650
+ # to `ListStoredInfoTypes`.
1651
+ # @param [String] fields
1652
+ # Selector specifying which fields to include in a partial response.
1653
+ # @param [String] quota_user
1654
+ # Available to use for quota purposes for server-side applications. Can be any
1655
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1656
+ # @param [Google::Apis::RequestOptions] options
1657
+ # Request-specific options
1658
+ #
1659
+ # @yield [result, err] Result & error if block supplied
1660
+ # @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse] parsed result object
1661
+ # @yieldparam err [StandardError] error object if request failed
1662
+ #
1663
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse]
1664
+ #
1665
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1666
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1667
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1668
+ def list_project_stored_info_types(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1669
+ command = make_simple_command(:get, 'v2/{+parent}/storedInfoTypes', options)
1670
+ command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse::Representation
1671
+ command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListStoredInfoTypesResponse
1672
+ command.params['parent'] = parent unless parent.nil?
1673
+ command.query['pageSize'] = page_size unless page_size.nil?
1674
+ command.query['pageToken'] = page_token unless page_token.nil?
1675
+ command.query['fields'] = fields unless fields.nil?
1676
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1677
+ execute_or_queue_command(command, &block)
1678
+ end
1679
+
1680
+ # Updates the stored infoType by creating a new version. The existing version
1681
+ # will continue to be used until the new version is ready.
1682
+ # See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
1683
+ # learn more.
1684
+ # @param [String] name
1685
+ # Resource name of organization and storedInfoType to be updated, for
1686
+ # example `organizations/433245324/storedInfoTypes/432452342` or
1687
+ # projects/project-id/storedInfoTypes/432452342.
1688
+ # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateStoredInfoTypeRequest] google_privacy_dlp_v2_update_stored_info_type_request_object
1689
+ # @param [String] fields
1690
+ # Selector specifying which fields to include in a partial response.
1691
+ # @param [String] quota_user
1692
+ # Available to use for quota purposes for server-side applications. Can be any
1693
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1694
+ # @param [Google::Apis::RequestOptions] options
1695
+ # Request-specific options
1696
+ #
1697
+ # @yield [result, err] Result & error if block supplied
1698
+ # @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType] parsed result object
1699
+ # @yieldparam err [StandardError] error object if request failed
1700
+ #
1701
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType]
1702
+ #
1703
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1704
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1705
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1706
+ def patch_project_stored_info_type(name, google_privacy_dlp_v2_update_stored_info_type_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1707
+ command = make_simple_command(:patch, 'v2/{+name}', options)
1708
+ command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateStoredInfoTypeRequest::Representation
1709
+ command.request_object = google_privacy_dlp_v2_update_stored_info_type_request_object
1710
+ command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType::Representation
1711
+ command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType
1712
+ command.params['name'] = name unless name.nil?
1713
+ command.query['fields'] = fields unless fields.nil?
1714
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1715
+ execute_or_queue_command(command, &block)
1716
+ end
1351
1717
 
1352
1718
  protected
1353
1719