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
@@ -20,13 +20,16 @@ module Google
20
20
  module Apis
21
21
  # Cloud Key Management Service (KMS) API
22
22
  #
23
- # Manages encryption for your cloud services the same way you do on-premises.
24
- # You can generate, use, rotate, and destroy AES256 encryption keys.
23
+ # Cloud KMS allows you to keep cryptographic keys in one central cloud service,
24
+ # for direct use by other cloud resources and applications. With Cloud KMS you
25
+ # are the ultimate custodian of your data, you can manage encryption in the
26
+ # cloud the same way you do on-premises, and you have a provable and monitorable
27
+ # root of trust over your data.
25
28
  #
26
29
  # @see https://cloud.google.com/kms/
27
30
  module CloudkmsV1
28
31
  VERSION = 'V1'
29
- REVISION = '20180702'
32
+ REVISION = '20180821'
30
33
 
31
34
  # View and manage your data across Google Cloud Platform services
32
35
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -22,6 +22,86 @@ module Google
22
22
  module Apis
23
23
  module CloudkmsV1
24
24
 
25
+ # Request message for KeyManagementService.AsymmetricDecrypt.
26
+ class AsymmetricDecryptRequest
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # Required. The data encrypted with the named CryptoKeyVersion's public
30
+ # key using OAEP.
31
+ # Corresponds to the JSON property `ciphertext`
32
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
33
+ # @return [String]
34
+ attr_accessor :ciphertext
35
+
36
+ def initialize(**args)
37
+ update!(**args)
38
+ end
39
+
40
+ # Update properties of this object
41
+ def update!(**args)
42
+ @ciphertext = args[:ciphertext] if args.key?(:ciphertext)
43
+ end
44
+ end
45
+
46
+ # Response message for KeyManagementService.AsymmetricDecrypt.
47
+ class AsymmetricDecryptResponse
48
+ include Google::Apis::Core::Hashable
49
+
50
+ # The decrypted data originally encrypted with the matching public key.
51
+ # Corresponds to the JSON property `plaintext`
52
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
53
+ # @return [String]
54
+ attr_accessor :plaintext
55
+
56
+ def initialize(**args)
57
+ update!(**args)
58
+ end
59
+
60
+ # Update properties of this object
61
+ def update!(**args)
62
+ @plaintext = args[:plaintext] if args.key?(:plaintext)
63
+ end
64
+ end
65
+
66
+ # Request message for KeyManagementService.AsymmetricSign.
67
+ class AsymmetricSignRequest
68
+ include Google::Apis::Core::Hashable
69
+
70
+ # A Digest holds a cryptographic message digest.
71
+ # Corresponds to the JSON property `digest`
72
+ # @return [Google::Apis::CloudkmsV1::Digest]
73
+ attr_accessor :digest
74
+
75
+ def initialize(**args)
76
+ update!(**args)
77
+ end
78
+
79
+ # Update properties of this object
80
+ def update!(**args)
81
+ @digest = args[:digest] if args.key?(:digest)
82
+ end
83
+ end
84
+
85
+ # Response message for KeyManagementService.AsymmetricSign.
86
+ class AsymmetricSignResponse
87
+ include Google::Apis::Core::Hashable
88
+
89
+ # The created signature.
90
+ # Corresponds to the JSON property `signature`
91
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
92
+ # @return [String]
93
+ attr_accessor :signature
94
+
95
+ def initialize(**args)
96
+ update!(**args)
97
+ end
98
+
99
+ # Update properties of this object
100
+ def update!(**args)
101
+ @signature = args[:signature] if args.key?(:signature)
102
+ end
103
+ end
104
+
25
105
  # Specifies the audit configuration for a service.
26
106
  # The configuration determines which permission types are logged, and what
27
107
  # identities, if any, are exempted from logging.
@@ -142,6 +222,14 @@ module Google
142
222
  class Binding
143
223
  include Google::Apis::Core::Hashable
144
224
 
225
+ # Represents an expression text. Example:
226
+ # title: "User account presence"
227
+ # description: "Determines whether the request has a user account"
228
+ # expression: "size(request.user) > 0"
229
+ # Corresponds to the JSON property `condition`
230
+ # @return [Google::Apis::CloudkmsV1::Expr]
231
+ attr_accessor :condition
232
+
145
233
  # Specifies the identities requesting access for a Cloud Platform resource.
146
234
  # `members` can have the following values:
147
235
  # * `allUsers`: A special identifier that represents anyone who is
@@ -172,6 +260,7 @@ module Google
172
260
 
173
261
  # Update properties of this object
174
262
  def update!(**args)
263
+ @condition = args[:condition] if args.key?(:condition)
175
264
  @members = args[:members] if args.key?(:members)
176
265
  @role = args[:role] if args.key?(:role)
177
266
  end
@@ -208,25 +297,26 @@ module Google
208
297
  # CreateCryptoKeyVersion and
209
298
  # UpdateCryptoKeyPrimaryVersion
210
299
  # do not affect next_rotation_time.
300
+ # Keys with purpose
301
+ # ENCRYPT_DECRYPT support
302
+ # automatic rotation. For other keys, this field must be omitted.
211
303
  # Corresponds to the JSON property `nextRotationTime`
212
304
  # @return [String]
213
305
  attr_accessor :next_rotation_time
214
306
 
215
307
  # A CryptoKeyVersion represents an individual cryptographic key, and the
216
308
  # associated key material.
217
- # It can be used for cryptographic operations either directly, or via its
218
- # parent CryptoKey, in which case the server will choose the appropriate
219
- # version for the operation.
309
+ # An ENABLED version can be
310
+ # used for cryptographic operations.
220
311
  # For security reasons, the raw cryptographic key material represented by a
221
312
  # CryptoKeyVersion can never be viewed or exported. It can only be used to
222
- # encrypt or decrypt data when an authorized user or application invokes Cloud
223
- # KMS.
313
+ # encrypt, decrypt, or sign data when an authorized user or application invokes
314
+ # Cloud KMS.
224
315
  # Corresponds to the JSON property `primary`
225
316
  # @return [Google::Apis::CloudkmsV1::CryptoKeyVersion]
226
317
  attr_accessor :primary
227
318
 
228
- # The immutable purpose of this CryptoKey. Currently, the only acceptable
229
- # purpose is ENCRYPT_DECRYPT.
319
+ # The immutable purpose of this CryptoKey.
230
320
  # Corresponds to the JSON property `purpose`
231
321
  # @return [String]
232
322
  attr_accessor :purpose
@@ -234,10 +324,21 @@ module Google
234
324
  # next_rotation_time will be advanced by this period when the service
235
325
  # automatically rotates a key. Must be at least one day.
236
326
  # If rotation_period is set, next_rotation_time must also be set.
327
+ # Keys with purpose
328
+ # ENCRYPT_DECRYPT support
329
+ # automatic rotation. For other keys, this field must be omitted.
237
330
  # Corresponds to the JSON property `rotationPeriod`
238
331
  # @return [String]
239
332
  attr_accessor :rotation_period
240
333
 
334
+ # A CryptoKeyVersionTemplate specifies the properties to use when creating
335
+ # a new CryptoKeyVersion, either manually with
336
+ # CreateCryptoKeyVersion or
337
+ # automatically as a result of auto-rotation.
338
+ # Corresponds to the JSON property `versionTemplate`
339
+ # @return [Google::Apis::CloudkmsV1::CryptoKeyVersionTemplate]
340
+ attr_accessor :version_template
341
+
241
342
  def initialize(**args)
242
343
  update!(**args)
243
344
  end
@@ -251,21 +352,32 @@ module Google
251
352
  @primary = args[:primary] if args.key?(:primary)
252
353
  @purpose = args[:purpose] if args.key?(:purpose)
253
354
  @rotation_period = args[:rotation_period] if args.key?(:rotation_period)
355
+ @version_template = args[:version_template] if args.key?(:version_template)
254
356
  end
255
357
  end
256
358
 
257
359
  # A CryptoKeyVersion represents an individual cryptographic key, and the
258
360
  # associated key material.
259
- # It can be used for cryptographic operations either directly, or via its
260
- # parent CryptoKey, in which case the server will choose the appropriate
261
- # version for the operation.
361
+ # An ENABLED version can be
362
+ # used for cryptographic operations.
262
363
  # For security reasons, the raw cryptographic key material represented by a
263
364
  # CryptoKeyVersion can never be viewed or exported. It can only be used to
264
- # encrypt or decrypt data when an authorized user or application invokes Cloud
265
- # KMS.
365
+ # encrypt, decrypt, or sign data when an authorized user or application invokes
366
+ # Cloud KMS.
266
367
  class CryptoKeyVersion
267
368
  include Google::Apis::Core::Hashable
268
369
 
370
+ # Output only. The CryptoKeyVersionAlgorithm that this
371
+ # CryptoKeyVersion supports.
372
+ # Corresponds to the JSON property `algorithm`
373
+ # @return [String]
374
+ attr_accessor :algorithm
375
+
376
+ # Contains an HSM-generated attestation about a key operation.
377
+ # Corresponds to the JSON property `attestation`
378
+ # @return [Google::Apis::CloudkmsV1::KeyOperationAttestation]
379
+ attr_accessor :attestation
380
+
269
381
  # Output only. The time at which this CryptoKeyVersion was created.
270
382
  # Corresponds to the JSON property `createTime`
271
383
  # @return [String]
@@ -285,12 +397,24 @@ module Google
285
397
  # @return [String]
286
398
  attr_accessor :destroy_time
287
399
 
400
+ # Output only. The time this CryptoKeyVersion's key material was
401
+ # generated.
402
+ # Corresponds to the JSON property `generateTime`
403
+ # @return [String]
404
+ attr_accessor :generate_time
405
+
288
406
  # Output only. The resource name for this CryptoKeyVersion in the format
289
407
  # `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
290
408
  # Corresponds to the JSON property `name`
291
409
  # @return [String]
292
410
  attr_accessor :name
293
411
 
412
+ # Output only. The ProtectionLevel describing how crypto operations are
413
+ # performed with this CryptoKeyVersion.
414
+ # Corresponds to the JSON property `protectionLevel`
415
+ # @return [String]
416
+ attr_accessor :protection_level
417
+
294
418
  # The current state of the CryptoKeyVersion.
295
419
  # Corresponds to the JSON property `state`
296
420
  # @return [String]
@@ -302,14 +426,51 @@ module Google
302
426
 
303
427
  # Update properties of this object
304
428
  def update!(**args)
429
+ @algorithm = args[:algorithm] if args.key?(:algorithm)
430
+ @attestation = args[:attestation] if args.key?(:attestation)
305
431
  @create_time = args[:create_time] if args.key?(:create_time)
306
432
  @destroy_event_time = args[:destroy_event_time] if args.key?(:destroy_event_time)
307
433
  @destroy_time = args[:destroy_time] if args.key?(:destroy_time)
434
+ @generate_time = args[:generate_time] if args.key?(:generate_time)
308
435
  @name = args[:name] if args.key?(:name)
436
+ @protection_level = args[:protection_level] if args.key?(:protection_level)
309
437
  @state = args[:state] if args.key?(:state)
310
438
  end
311
439
  end
312
440
 
441
+ # A CryptoKeyVersionTemplate specifies the properties to use when creating
442
+ # a new CryptoKeyVersion, either manually with
443
+ # CreateCryptoKeyVersion or
444
+ # automatically as a result of auto-rotation.
445
+ class CryptoKeyVersionTemplate
446
+ include Google::Apis::Core::Hashable
447
+
448
+ # Required. Algorithm to use
449
+ # when creating a CryptoKeyVersion based on this template.
450
+ # For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION is implied if both
451
+ # this field is omitted and CryptoKey.purpose is
452
+ # ENCRYPT_DECRYPT.
453
+ # Corresponds to the JSON property `algorithm`
454
+ # @return [String]
455
+ attr_accessor :algorithm
456
+
457
+ # ProtectionLevel to use when creating a CryptoKeyVersion based on
458
+ # this template. Immutable. Defaults to SOFTWARE.
459
+ # Corresponds to the JSON property `protectionLevel`
460
+ # @return [String]
461
+ attr_accessor :protection_level
462
+
463
+ def initialize(**args)
464
+ update!(**args)
465
+ end
466
+
467
+ # Update properties of this object
468
+ def update!(**args)
469
+ @algorithm = args[:algorithm] if args.key?(:algorithm)
470
+ @protection_level = args[:protection_level] if args.key?(:protection_level)
471
+ end
472
+ end
473
+
313
474
  # Request message for KeyManagementService.Decrypt.
314
475
  class DecryptRequest
315
476
  include Google::Apis::Core::Hashable
@@ -372,19 +533,64 @@ module Google
372
533
  end
373
534
  end
374
535
 
536
+ # A Digest holds a cryptographic message digest.
537
+ class Digest
538
+ include Google::Apis::Core::Hashable
539
+
540
+ # A message digest produced with the SHA-256 algorithm.
541
+ # Corresponds to the JSON property `sha256`
542
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
543
+ # @return [String]
544
+ attr_accessor :sha256
545
+
546
+ # A message digest produced with the SHA-384 algorithm.
547
+ # Corresponds to the JSON property `sha384`
548
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
549
+ # @return [String]
550
+ attr_accessor :sha384
551
+
552
+ # A message digest produced with the SHA-512 algorithm.
553
+ # Corresponds to the JSON property `sha512`
554
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
555
+ # @return [String]
556
+ attr_accessor :sha512
557
+
558
+ def initialize(**args)
559
+ update!(**args)
560
+ end
561
+
562
+ # Update properties of this object
563
+ def update!(**args)
564
+ @sha256 = args[:sha256] if args.key?(:sha256)
565
+ @sha384 = args[:sha384] if args.key?(:sha384)
566
+ @sha512 = args[:sha512] if args.key?(:sha512)
567
+ end
568
+ end
569
+
375
570
  # Request message for KeyManagementService.Encrypt.
376
571
  class EncryptRequest
377
572
  include Google::Apis::Core::Hashable
378
573
 
379
574
  # Optional data that, if specified, must also be provided during decryption
380
- # through DecryptRequest.additional_authenticated_data. Must be no
381
- # larger than 64KiB.
575
+ # through DecryptRequest.additional_authenticated_data.
576
+ # The maximum size depends on the key version's
577
+ # protection_level. For
578
+ # SOFTWARE keys, the AAD must be no larger than
579
+ # 64KiB. For HSM keys, the combined length of the
580
+ # plaintext and additional_authenticated_data fields must be no larger than
581
+ # 8KiB.
382
582
  # Corresponds to the JSON property `additionalAuthenticatedData`
383
583
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
384
584
  # @return [String]
385
585
  attr_accessor :additional_authenticated_data
386
586
 
387
587
  # Required. The data to encrypt. Must be no larger than 64KiB.
588
+ # The maximum size depends on the key version's
589
+ # protection_level. For
590
+ # SOFTWARE keys, the plaintext must be no larger
591
+ # than 64KiB. For HSM keys, the combined length of the
592
+ # plaintext and additional_authenticated_data fields must be no larger than
593
+ # 8KiB.
388
594
  # Corresponds to the JSON property `plaintext`
389
595
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
390
596
  # @return [String]
@@ -427,6 +633,80 @@ module Google
427
633
  end
428
634
  end
429
635
 
636
+ # Represents an expression text. Example:
637
+ # title: "User account presence"
638
+ # description: "Determines whether the request has a user account"
639
+ # expression: "size(request.user) > 0"
640
+ class Expr
641
+ include Google::Apis::Core::Hashable
642
+
643
+ # An optional description of the expression. This is a longer text which
644
+ # describes the expression, e.g. when hovered over it in a UI.
645
+ # Corresponds to the JSON property `description`
646
+ # @return [String]
647
+ attr_accessor :description
648
+
649
+ # Textual representation of an expression in
650
+ # Common Expression Language syntax.
651
+ # The application context of the containing message determines which
652
+ # well-known feature set of CEL is supported.
653
+ # Corresponds to the JSON property `expression`
654
+ # @return [String]
655
+ attr_accessor :expression
656
+
657
+ # An optional string indicating the location of the expression for error
658
+ # reporting, e.g. a file name and a position in the file.
659
+ # Corresponds to the JSON property `location`
660
+ # @return [String]
661
+ attr_accessor :location
662
+
663
+ # An optional title for the expression, i.e. a short string describing
664
+ # its purpose. This can be used e.g. in UIs which allow to enter the
665
+ # expression.
666
+ # Corresponds to the JSON property `title`
667
+ # @return [String]
668
+ attr_accessor :title
669
+
670
+ def initialize(**args)
671
+ update!(**args)
672
+ end
673
+
674
+ # Update properties of this object
675
+ def update!(**args)
676
+ @description = args[:description] if args.key?(:description)
677
+ @expression = args[:expression] if args.key?(:expression)
678
+ @location = args[:location] if args.key?(:location)
679
+ @title = args[:title] if args.key?(:title)
680
+ end
681
+ end
682
+
683
+ # Contains an HSM-generated attestation about a key operation.
684
+ class KeyOperationAttestation
685
+ include Google::Apis::Core::Hashable
686
+
687
+ # Output only. The attestation data provided by the HSM when the key
688
+ # operation was performed.
689
+ # Corresponds to the JSON property `content`
690
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
691
+ # @return [String]
692
+ attr_accessor :content
693
+
694
+ # Output only. The format of the attestation data.
695
+ # Corresponds to the JSON property `format`
696
+ # @return [String]
697
+ attr_accessor :format
698
+
699
+ def initialize(**args)
700
+ update!(**args)
701
+ end
702
+
703
+ # Update properties of this object
704
+ def update!(**args)
705
+ @content = args[:content] if args.key?(:content)
706
+ @format = args[:format] if args.key?(:format)
707
+ end
708
+ end
709
+
430
710
  # A KeyRing is a toplevel logical grouping of CryptoKeys.
431
711
  class KeyRing
432
712
  include Google::Apis::Core::Hashable
@@ -623,6 +903,28 @@ module Google
623
903
  end
624
904
  end
625
905
 
906
+ # Cloud KMS metadata for the given google.cloud.location.Location.
907
+ class LocationMetadata
908
+ include Google::Apis::Core::Hashable
909
+
910
+ # Indicates whether CryptoKeys with
911
+ # protection_level
912
+ # HSM can be created in this location.
913
+ # Corresponds to the JSON property `hsmAvailable`
914
+ # @return [Boolean]
915
+ attr_accessor :hsm_available
916
+ alias_method :hsm_available?, :hsm_available
917
+
918
+ def initialize(**args)
919
+ update!(**args)
920
+ end
921
+
922
+ # Update properties of this object
923
+ def update!(**args)
924
+ @hsm_available = args[:hsm_available] if args.key?(:hsm_available)
925
+ end
926
+ end
927
+
626
928
  # Defines an Identity and Access Management (IAM) policy. It is used to
627
929
  # specify access control policies for Cloud Platform resources.
628
930
  # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
@@ -706,6 +1008,30 @@ module Google
706
1008
  end
707
1009
  end
708
1010
 
1011
+ # The public key for a given CryptoKeyVersion. Obtained via
1012
+ # GetPublicKey.
1013
+ class PublicKey
1014
+ include Google::Apis::Core::Hashable
1015
+
1016
+ # The public key, encoded in PEM format. For more information, see the
1017
+ # [RFC 7468](https://tools.ietf.org/html/rfc7468) sections for
1018
+ # [General Considerations](https://tools.ietf.org/html/rfc7468#section-2) and
1019
+ # [Textual Encoding of Subject Public Key Info]
1020
+ # (https://tools.ietf.org/html/rfc7468#section-13).
1021
+ # Corresponds to the JSON property `pem`
1022
+ # @return [String]
1023
+ attr_accessor :pem
1024
+
1025
+ def initialize(**args)
1026
+ update!(**args)
1027
+ end
1028
+
1029
+ # Update properties of this object
1030
+ def update!(**args)
1031
+ @pem = args[:pem] if args.key?(:pem)
1032
+ end
1033
+ end
1034
+
709
1035
  # Request message for KeyManagementService.RestoreCryptoKeyVersion.
710
1036
  class RestoreCryptoKeyVersionRequest
711
1037
  include Google::Apis::Core::Hashable