google-api-client 0.39.1 → 0.40.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (346) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +164 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +3 -1
  5. data/generated/google/apis/apigee_v1.rb +1 -1
  6. data/generated/google/apis/apigee_v1/classes.rb +70 -347
  7. data/generated/google/apis/apigee_v1/representations.rb +6 -128
  8. data/generated/google/apis/apigee_v1/service.rb +60 -550
  9. data/generated/google/apis/appengine_v1.rb +1 -1
  10. data/generated/google/apis/appengine_v1/classes.rb +7 -0
  11. data/generated/google/apis/appengine_v1/representations.rb +1 -0
  12. data/generated/google/apis/appengine_v1beta.rb +1 -1
  13. data/generated/google/apis/appengine_v1beta/classes.rb +7 -0
  14. data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
  15. data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
  16. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +1010 -0
  17. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +380 -0
  18. data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
  19. data/generated/google/apis/bigquery_v2.rb +1 -1
  20. data/generated/google/apis/bigquery_v2/classes.rb +46 -1
  21. data/generated/google/apis/bigquery_v2/representations.rb +4 -0
  22. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  23. data/generated/google/apis/bigqueryreservation_v1/classes.rb +21 -15
  24. data/generated/google/apis/bigqueryreservation_v1/service.rb +94 -81
  25. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  26. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  27. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +20 -61
  28. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +0 -16
  29. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +93 -68
  30. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  31. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  32. data/generated/google/apis/bigtableadmin_v2/service.rb +4 -4
  33. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  34. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +21 -0
  35. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +6 -0
  36. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  37. data/generated/google/apis/binaryauthorization_v1/classes.rb +4 -1
  38. data/generated/google/apis/calendar_v3.rb +1 -1
  39. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  40. data/generated/google/apis/{pagespeedonline_v1.rb → chromeuxreport_v1.rb} +9 -9
  41. data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
  42. data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
  43. data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
  44. data/generated/google/apis/cloudasset_v1.rb +1 -1
  45. data/generated/google/apis/cloudasset_v1/classes.rb +371 -27
  46. data/generated/google/apis/cloudasset_v1/representations.rb +97 -0
  47. data/generated/google/apis/cloudasset_v1/service.rb +186 -8
  48. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  49. data/generated/google/apis/cloudasset_v1beta1/classes.rb +23 -10
  50. data/generated/google/apis/cloudasset_v1beta1/service.rb +12 -3
  51. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  52. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +42 -10
  53. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +2 -0
  54. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  55. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  56. data/generated/google/apis/cloudbuild_v1/classes.rb +1 -0
  57. data/generated/google/apis/cloudbuild_v1/service.rb +121 -0
  58. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  59. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +142 -0
  60. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +60 -0
  61. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -0
  62. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  63. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +142 -0
  64. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +60 -0
  65. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +121 -0
  66. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  67. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +6 -0
  68. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
  69. data/generated/google/apis/cloudiot_v1.rb +1 -1
  70. data/generated/google/apis/cloudiot_v1/classes.rb +26 -10
  71. data/generated/google/apis/cloudkms_v1.rb +1 -1
  72. data/generated/google/apis/cloudkms_v1/classes.rb +307 -14
  73. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  74. data/generated/google/apis/cloudkms_v1/service.rb +15 -6
  75. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  76. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +26 -10
  77. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  78. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +26 -10
  79. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  80. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +26 -10
  81. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  82. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +26 -10
  83. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  84. data/generated/google/apis/cloudsearch_v1/classes.rb +8 -6
  85. data/generated/google/apis/cloudshell_v1.rb +1 -1
  86. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  87. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  88. data/generated/google/apis/cloudtasks_v2/classes.rb +2 -2
  89. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  90. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +2 -2
  91. data/generated/google/apis/composer_v1beta1.rb +1 -1
  92. data/generated/google/apis/composer_v1beta1/classes.rb +58 -0
  93. data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
  94. data/generated/google/apis/composer_v1beta1/service.rb +5 -0
  95. data/generated/google/apis/compute_alpha.rb +1 -1
  96. data/generated/google/apis/compute_alpha/classes.rb +165 -65
  97. data/generated/google/apis/compute_alpha/representations.rb +30 -1
  98. data/generated/google/apis/compute_alpha/service.rb +157 -0
  99. data/generated/google/apis/compute_beta.rb +1 -1
  100. data/generated/google/apis/compute_beta/classes.rb +172 -55
  101. data/generated/google/apis/compute_beta/representations.rb +47 -0
  102. data/generated/google/apis/compute_v1.rb +1 -1
  103. data/generated/google/apis/compute_v1/classes.rb +148 -51
  104. data/generated/google/apis/compute_v1/representations.rb +21 -0
  105. data/generated/google/apis/compute_v1/service.rb +83 -0
  106. data/generated/google/apis/container_v1.rb +1 -1
  107. data/generated/google/apis/container_v1/classes.rb +5 -6
  108. data/generated/google/apis/container_v1beta1.rb +1 -1
  109. data/generated/google/apis/container_v1beta1/classes.rb +65 -6
  110. data/generated/google/apis/container_v1beta1/representations.rb +33 -0
  111. data/generated/google/apis/content_v2_1.rb +1 -1
  112. data/generated/google/apis/content_v2_1/classes.rb +6 -0
  113. data/generated/google/apis/content_v2_1/representations.rb +1 -0
  114. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  115. data/generated/google/apis/datacatalog_v1beta1/classes.rb +26 -10
  116. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  117. data/generated/google/apis/dataflow_v1b3/classes.rb +331 -0
  118. data/generated/google/apis/dataflow_v1b3/representations.rb +164 -0
  119. data/generated/google/apis/dataflow_v1b3/service.rb +261 -0
  120. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  121. data/generated/google/apis/dataproc_v1beta2/classes.rb +26 -12
  122. data/generated/google/apis/dataproc_v1beta2/service.rb +35 -21
  123. data/generated/google/apis/datastore_v1.rb +1 -1
  124. data/generated/google/apis/datastore_v1/classes.rb +1 -1
  125. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  126. data/generated/google/apis/datastore_v1beta3/classes.rb +1 -1
  127. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  128. data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
  129. data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
  130. data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
  131. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  132. data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
  133. data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
  134. data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
  135. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  136. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
  137. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
  138. data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
  139. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  140. data/generated/google/apis/dfareporting_v3_3/classes.rb +2 -2
  141. data/generated/google/apis/dfareporting_v3_3/service.rb +2 -2
  142. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  143. data/generated/google/apis/dfareporting_v3_4/classes.rb +2 -2
  144. data/generated/google/apis/dfareporting_v3_4/service.rb +2 -2
  145. data/generated/google/apis/dialogflow_v2.rb +1 -1
  146. data/generated/google/apis/dialogflow_v2/classes.rb +568 -8
  147. data/generated/google/apis/dialogflow_v2/representations.rb +238 -0
  148. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  149. data/generated/google/apis/dialogflow_v2beta1/classes.rb +568 -8
  150. data/generated/google/apis/dialogflow_v2beta1/representations.rb +238 -0
  151. data/generated/google/apis/dialogflow_v2beta1/service.rb +46 -2
  152. data/generated/google/apis/dialogflow_v3alpha1.rb +38 -0
  153. data/generated/google/apis/dialogflow_v3alpha1/classes.rb +5579 -0
  154. data/generated/google/apis/dialogflow_v3alpha1/representations.rb +2295 -0
  155. data/generated/google/apis/dialogflow_v3alpha1/service.rb +296 -0
  156. data/generated/google/apis/displayvideo_v1.rb +1 -1
  157. data/generated/google/apis/displayvideo_v1/classes.rb +149 -0
  158. data/generated/google/apis/displayvideo_v1/representations.rb +76 -0
  159. data/generated/google/apis/displayvideo_v1/service.rb +287 -2
  160. data/generated/google/apis/dlp_v2.rb +1 -1
  161. data/generated/google/apis/dlp_v2/classes.rb +9 -21
  162. data/generated/google/apis/dlp_v2/service.rb +79 -142
  163. data/generated/google/apis/dns_v1.rb +1 -1
  164. data/generated/google/apis/dns_v1/classes.rb +160 -261
  165. data/generated/google/apis/dns_v1/representations.rb +17 -0
  166. data/generated/google/apis/dns_v1/service.rb +21 -141
  167. data/generated/google/apis/dns_v1beta2.rb +1 -1
  168. data/generated/google/apis/dns_v1beta2/classes.rb +189 -273
  169. data/generated/google/apis/dns_v1beta2/representations.rb +32 -0
  170. data/generated/google/apis/dns_v1beta2/service.rb +21 -141
  171. data/generated/google/apis/dns_v2beta1.rb +1 -1
  172. data/generated/google/apis/dns_v2beta1/classes.rb +160 -261
  173. data/generated/google/apis/dns_v2beta1/representations.rb +17 -0
  174. data/generated/google/apis/dns_v2beta1/service.rb +21 -141
  175. data/generated/google/apis/file_v1.rb +1 -1
  176. data/generated/google/apis/file_v1/classes.rb +1187 -0
  177. data/generated/google/apis/file_v1/representations.rb +396 -0
  178. data/generated/google/apis/file_v1beta1.rb +1 -1
  179. data/generated/google/apis/file_v1beta1/classes.rb +1187 -0
  180. data/generated/google/apis/file_v1beta1/representations.rb +396 -0
  181. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  182. data/generated/google/apis/firebase_v1beta1/classes.rb +2 -12
  183. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  184. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +4 -4
  185. data/generated/google/apis/{pagespeedonline_v2.rb → firebaseml_v1.rb} +12 -10
  186. data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
  187. data/generated/google/apis/firebaseml_v1/representations.rb +112 -0
  188. data/generated/google/apis/firebaseml_v1/service.rb +181 -0
  189. data/generated/google/apis/fitness_v1.rb +4 -4
  190. data/generated/google/apis/fitness_v1/classes.rb +185 -158
  191. data/generated/google/apis/fitness_v1/service.rb +187 -215
  192. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  193. data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -1
  194. data/generated/google/apis/games_management_v1management.rb +6 -4
  195. data/generated/google/apis/games_management_v1management/classes.rb +50 -90
  196. data/generated/google/apis/games_management_v1management/representations.rb +0 -17
  197. data/generated/google/apis/games_management_v1management/service.rb +115 -291
  198. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  199. data/generated/google/apis/gameservices_v1beta/classes.rb +73 -60
  200. data/generated/google/apis/gameservices_v1beta/service.rb +60 -57
  201. data/generated/google/apis/gmail_v1.rb +2 -3
  202. data/generated/google/apis/gmail_v1/classes.rb +199 -258
  203. data/generated/google/apis/gmail_v1/service.rb +744 -552
  204. data/generated/google/apis/healthcare_v1.rb +1 -1
  205. data/generated/google/apis/healthcare_v1/classes.rb +67 -46
  206. data/generated/google/apis/healthcare_v1/service.rb +107 -140
  207. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  208. data/generated/google/apis/healthcare_v1beta1/classes.rb +70 -54
  209. data/generated/google/apis/healthcare_v1beta1/service.rb +223 -255
  210. data/generated/google/apis/homegraph_v1.rb +1 -1
  211. data/generated/google/apis/homegraph_v1/classes.rb +3 -0
  212. data/generated/google/apis/iam_v1.rb +1 -1
  213. data/generated/google/apis/iam_v1/classes.rb +24 -12
  214. data/generated/google/apis/iam_v1/service.rb +7 -0
  215. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  216. data/generated/google/apis/iamcredentials_v1/classes.rb +26 -2
  217. data/generated/google/apis/iap_v1.rb +1 -1
  218. data/generated/google/apis/iap_v1/classes.rb +35 -12
  219. data/generated/google/apis/iap_v1/representations.rb +1 -0
  220. data/generated/google/apis/iap_v1/service.rb +1 -1
  221. data/generated/google/apis/iap_v1beta1.rb +1 -1
  222. data/generated/google/apis/iap_v1beta1/classes.rb +26 -10
  223. data/generated/google/apis/jobs_v3.rb +1 -1
  224. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  225. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  226. data/generated/google/apis/memcache_v1beta2/classes.rb +24 -12
  227. data/generated/google/apis/memcache_v1beta2/service.rb +5 -2
  228. data/generated/google/apis/ml_v1.rb +1 -1
  229. data/generated/google/apis/ml_v1/classes.rb +84 -18
  230. data/generated/google/apis/ml_v1/representations.rb +4 -0
  231. data/generated/google/apis/ml_v1/service.rb +11 -6
  232. data/generated/google/apis/monitoring_v3.rb +1 -1
  233. data/generated/google/apis/monitoring_v3/classes.rb +7 -0
  234. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  235. data/generated/google/apis/monitoring_v3/service.rb +1 -1
  236. data/generated/google/apis/{pagespeedonline_v4.rb → networkmanagement_v1.rb} +13 -10
  237. data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
  238. data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
  239. data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
  240. data/generated/google/apis/osconfig_v1.rb +1 -1
  241. data/generated/google/apis/osconfig_v1/classes.rb +29 -27
  242. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  243. data/generated/google/apis/osconfig_v1beta/classes.rb +17 -20
  244. data/generated/google/apis/people_v1.rb +1 -1
  245. data/generated/google/apis/people_v1/service.rb +1 -1
  246. data/generated/google/apis/pubsub_v1.rb +1 -1
  247. data/generated/google/apis/pubsub_v1/classes.rb +6 -7
  248. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  249. data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
  250. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
  251. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  252. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
  253. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
  254. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  255. data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
  256. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
  257. data/generated/google/apis/run_v1.rb +1 -1
  258. data/generated/google/apis/run_v1/classes.rb +31 -49
  259. data/generated/google/apis/run_v1/representations.rb +1 -17
  260. data/generated/google/apis/run_v1/service.rb +3 -0
  261. data/generated/google/apis/run_v1alpha1.rb +1 -1
  262. data/generated/google/apis/run_v1alpha1/classes.rb +23 -10
  263. data/generated/google/apis/run_v1alpha1/service.rb +3 -0
  264. data/generated/google/apis/secretmanager_v1.rb +1 -1
  265. data/generated/google/apis/secretmanager_v1/classes.rb +26 -13
  266. data/generated/google/apis/secretmanager_v1/service.rb +3 -0
  267. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  268. data/generated/google/apis/secretmanager_v1beta1/classes.rb +23 -10
  269. data/generated/google/apis/secretmanager_v1beta1/service.rb +3 -0
  270. data/generated/google/apis/securitycenter_v1.rb +1 -1
  271. data/generated/google/apis/securitycenter_v1/classes.rb +27 -12
  272. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  273. data/generated/google/apis/securitycenter_v1beta1/classes.rb +27 -12
  274. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  275. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +27 -12
  276. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  277. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +0 -31
  278. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -1
  279. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  280. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +0 -31
  281. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -1
  282. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  283. data/generated/google/apis/servicecontrol_v1/classes.rb +3 -3
  284. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  285. data/generated/google/apis/servicemanagement_v1/classes.rb +0 -31
  286. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  287. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  288. data/generated/google/apis/servicenetworking_v1/classes.rb +379 -31
  289. data/generated/google/apis/servicenetworking_v1/representations.rb +209 -1
  290. data/generated/google/apis/servicenetworking_v1/service.rb +187 -0
  291. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  292. data/generated/google/apis/servicenetworking_v1beta/classes.rb +188 -31
  293. data/generated/google/apis/servicenetworking_v1beta/representations.rb +130 -1
  294. data/generated/google/apis/serviceusage_v1.rb +1 -1
  295. data/generated/google/apis/serviceusage_v1/classes.rb +0 -31
  296. data/generated/google/apis/serviceusage_v1/representations.rb +0 -1
  297. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  298. data/generated/google/apis/serviceusage_v1beta1/classes.rb +0 -31
  299. data/generated/google/apis/serviceusage_v1beta1/representations.rb +0 -1
  300. data/generated/google/apis/sheets_v4.rb +1 -1
  301. data/generated/google/apis/spanner_v1.rb +1 -1
  302. data/generated/google/apis/spanner_v1/classes.rb +29 -10
  303. data/generated/google/apis/storage_v1.rb +1 -1
  304. data/generated/google/apis/storage_v1/classes.rb +18 -0
  305. data/generated/google/apis/storage_v1/representations.rb +3 -0
  306. data/generated/google/apis/tasks_v1.rb +3 -3
  307. data/generated/google/apis/tasks_v1/classes.rb +26 -25
  308. data/generated/google/apis/tasks_v1/representations.rb +4 -8
  309. data/generated/google/apis/tasks_v1/service.rb +79 -128
  310. data/generated/google/apis/testing_v1.rb +1 -1
  311. data/generated/google/apis/testing_v1/classes.rb +3 -2
  312. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  313. data/generated/google/apis/toolresults_v1beta3/classes.rb +141 -2
  314. data/generated/google/apis/toolresults_v1beta3/representations.rb +77 -0
  315. data/generated/google/apis/tpu_v1.rb +1 -1
  316. data/generated/google/apis/tpu_v1/classes.rb +3 -3
  317. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  318. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
  319. data/generated/google/apis/translate_v3.rb +1 -1
  320. data/generated/google/apis/verifiedaccess_v1.rb +3 -3
  321. data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
  322. data/generated/google/apis/websecurityscanner_v1.rb +2 -2
  323. data/generated/google/apis/websecurityscanner_v1/classes.rb +7 -5
  324. data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
  325. data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
  326. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
  327. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
  328. data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
  329. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +9 -7
  330. data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
  331. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  332. data/generated/google/apis/youtube_v3.rb +5 -5
  333. data/generated/google/apis/youtube_v3/classes.rb +1260 -1244
  334. data/generated/google/apis/youtube_v3/representations.rb +64 -192
  335. data/generated/google/apis/youtube_v3/service.rb +1827 -2154
  336. data/lib/google/apis/version.rb +9 -4
  337. metadata +23 -15
  338. data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
  339. data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
  340. data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
  341. data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
  342. data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
  343. data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
  344. data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
  345. data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
  346. data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
@@ -47,6 +47,127 @@ module Google
47
47
  @batch_path = 'batch'
48
48
  end
49
49
 
50
+ # Starts asynchronous cancellation on a long-running operation. The server
51
+ # makes a best effort to cancel the operation, but success is not
52
+ # guaranteed. If the server doesn't support this method, it returns
53
+ # `google.rpc.Code.UNIMPLEMENTED`. Clients can use
54
+ # Operations.GetOperation or
55
+ # other methods to check whether the cancellation succeeded or whether the
56
+ # operation completed despite cancellation. On successful cancellation,
57
+ # the operation is not deleted; instead, it becomes an operation with
58
+ # an Operation.error value with a google.rpc.Status.code of 1,
59
+ # corresponding to `Code.CANCELLED`.
60
+ # @param [String] name
61
+ # The name of the operation resource to be cancelled.
62
+ # @param [Google::Apis::CloudbuildV1alpha2::CancelOperationRequest] cancel_operation_request_object
63
+ # @param [String] fields
64
+ # Selector specifying which fields to include in a partial response.
65
+ # @param [String] quota_user
66
+ # Available to use for quota purposes for server-side applications. Can be any
67
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
68
+ # @param [Google::Apis::RequestOptions] options
69
+ # Request-specific options
70
+ #
71
+ # @yield [result, err] Result & error if block supplied
72
+ # @yieldparam result [Google::Apis::CloudbuildV1alpha2::Empty] parsed result object
73
+ # @yieldparam err [StandardError] error object if request failed
74
+ #
75
+ # @return [Google::Apis::CloudbuildV1alpha2::Empty]
76
+ #
77
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
78
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
79
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
80
+ def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
81
+ command = make_simple_command(:post, 'v1alpha2/{+name}:cancel', options)
82
+ command.request_representation = Google::Apis::CloudbuildV1alpha2::CancelOperationRequest::Representation
83
+ command.request_object = cancel_operation_request_object
84
+ command.response_representation = Google::Apis::CloudbuildV1alpha2::Empty::Representation
85
+ command.response_class = Google::Apis::CloudbuildV1alpha2::Empty
86
+ command.params['name'] = name unless name.nil?
87
+ command.query['fields'] = fields unless fields.nil?
88
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
89
+ execute_or_queue_command(command, &block)
90
+ end
91
+
92
+ # Gets the latest state of a long-running operation. Clients can use this
93
+ # method to poll the operation result at intervals as recommended by the API
94
+ # service.
95
+ # @param [String] name
96
+ # The name of the operation resource.
97
+ # @param [String] fields
98
+ # Selector specifying which fields to include in a partial response.
99
+ # @param [String] quota_user
100
+ # Available to use for quota purposes for server-side applications. Can be any
101
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
102
+ # @param [Google::Apis::RequestOptions] options
103
+ # Request-specific options
104
+ #
105
+ # @yield [result, err] Result & error if block supplied
106
+ # @yieldparam result [Google::Apis::CloudbuildV1alpha2::Operation] parsed result object
107
+ # @yieldparam err [StandardError] error object if request failed
108
+ #
109
+ # @return [Google::Apis::CloudbuildV1alpha2::Operation]
110
+ #
111
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
112
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
113
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
114
+ def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
115
+ command = make_simple_command(:get, 'v1alpha2/{+name}', options)
116
+ command.response_representation = Google::Apis::CloudbuildV1alpha2::Operation::Representation
117
+ command.response_class = Google::Apis::CloudbuildV1alpha2::Operation
118
+ command.params['name'] = name unless name.nil?
119
+ command.query['fields'] = fields unless fields.nil?
120
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
121
+ execute_or_queue_command(command, &block)
122
+ end
123
+
124
+ # Lists operations that match the specified filter in the request. If the
125
+ # server doesn't support this method, it returns `UNIMPLEMENTED`.
126
+ # NOTE: the `name` binding allows API services to override the binding
127
+ # to use different resource name schemes, such as `users/*/operations`. To
128
+ # override the binding, API services can add a binding such as
129
+ # `"/v1/`name=users/*`/operations"` to their service configuration.
130
+ # For backwards compatibility, the default name includes the operations
131
+ # collection id, however overriding users must ensure the name binding
132
+ # is the parent resource, without the operations collection id.
133
+ # @param [String] name
134
+ # The name of the operation's parent resource.
135
+ # @param [String] filter
136
+ # The standard list filter.
137
+ # @param [Fixnum] page_size
138
+ # The standard list page size.
139
+ # @param [String] page_token
140
+ # The standard list page token.
141
+ # @param [String] fields
142
+ # Selector specifying which fields to include in a partial response.
143
+ # @param [String] quota_user
144
+ # Available to use for quota purposes for server-side applications. Can be any
145
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
146
+ # @param [Google::Apis::RequestOptions] options
147
+ # Request-specific options
148
+ #
149
+ # @yield [result, err] Result & error if block supplied
150
+ # @yieldparam result [Google::Apis::CloudbuildV1alpha2::ListOperationsResponse] parsed result object
151
+ # @yieldparam err [StandardError] error object if request failed
152
+ #
153
+ # @return [Google::Apis::CloudbuildV1alpha2::ListOperationsResponse]
154
+ #
155
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
156
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
157
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
158
+ def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
159
+ command = make_simple_command(:get, 'v1alpha2/{+name}/operations', options)
160
+ command.response_representation = Google::Apis::CloudbuildV1alpha2::ListOperationsResponse::Representation
161
+ command.response_class = Google::Apis::CloudbuildV1alpha2::ListOperationsResponse
162
+ command.params['name'] = name unless name.nil?
163
+ command.query['filter'] = filter unless filter.nil?
164
+ command.query['pageSize'] = page_size unless page_size.nil?
165
+ command.query['pageToken'] = page_token unless page_token.nil?
166
+ command.query['fields'] = fields unless fields.nil?
167
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
168
+ execute_or_queue_command(command, &block)
169
+ end
170
+
50
171
  # Creates a `WorkerPool` to run the builds, and returns the new worker pool.
51
172
  # @param [String] parent
52
173
  # Required. The parent resource where this book will be created.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/identity/
26
26
  module CloudidentityV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20200502'
28
+ REVISION = '20200516'
29
29
 
30
30
  # See, change, create, and delete any of the Cloud Identity Groups that you can access, including the members of each group
31
31
  AUTH_CLOUD_IDENTITY_GROUPS = 'https://www.googleapis.com/auth/cloud-identity.groups'
@@ -472,6 +472,11 @@ module Google
472
472
  # @return [String]
473
473
  attr_accessor :compromised_state
474
474
 
475
+ # When the user first signed in to the device
476
+ # Corresponds to the JSON property `createTime`
477
+ # @return [String]
478
+ attr_accessor :create_time
479
+
475
480
  # Output only. Most recent time when user registered with this service.
476
481
  # Corresponds to the JSON property `firstSyncTime`
477
482
  # @return [String]
@@ -522,6 +527,7 @@ module Google
522
527
  # Update properties of this object
523
528
  def update!(**args)
524
529
  @compromised_state = args[:compromised_state] if args.key?(:compromised_state)
530
+ @create_time = args[:create_time] if args.key?(:create_time)
525
531
  @first_sync_time = args[:first_sync_time] if args.key?(:first_sync_time)
526
532
  @language_code = args[:language_code] if args.key?(:language_code)
527
533
  @last_sync_time = args[:last_sync_time] if args.key?(:last_sync_time)
@@ -329,6 +329,7 @@ module Google
329
329
  # @private
330
330
  class Representation < Google::Apis::Core::JsonRepresentation
331
331
  property :compromised_state, as: 'compromisedState'
332
+ property :create_time, as: 'createTime'
332
333
  property :first_sync_time, as: 'firstSyncTime'
333
334
  property :language_code, as: 'languageCode'
334
335
  property :last_sync_time, as: 'lastSyncTime'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/iot
27
27
  module CloudiotV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200414'
29
+ REVISION = '20200519'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -667,6 +667,9 @@ module Google
667
667
  # Requests for policies with any conditional bindings must specify version 3.
668
668
  # Policies without any conditional bindings may specify any valid value or
669
669
  # leave the field unset.
670
+ # To learn which resources support conditions in their IAM policies, see the
671
+ # [IAM
672
+ # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
670
673
  # Corresponds to the JSON property `requestedPolicyVersion`
671
674
  # @return [Fixnum]
672
675
  attr_accessor :requested_policy_version
@@ -851,10 +854,13 @@ module Google
851
854
  # Google groups, and domains (such as G Suite). A `role` is a named list of
852
855
  # permissions; each `role` can be an IAM predefined role or a user-created
853
856
  # custom role.
854
- # Optionally, a `binding` can specify a `condition`, which is a logical
855
- # expression that allows access to a resource only if the expression evaluates
856
- # to `true`. A condition can add constraints based on attributes of the
857
- # request, the resource, or both.
857
+ # For some types of Google Cloud resources, a `binding` can also specify a
858
+ # `condition`, which is a logical expression that allows access to a resource
859
+ # only if the expression evaluates to `true`. A condition can add constraints
860
+ # based on attributes of the request, the resource, or both. To learn which
861
+ # resources support conditions in their IAM policies, see the
862
+ # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
863
+ # policies).
858
864
  # **JSON example:**
859
865
  # `
860
866
  # "bindings": [
@@ -869,7 +875,9 @@ module Google
869
875
  # `,
870
876
  # `
871
877
  # "role": "roles/resourcemanager.organizationViewer",
872
- # "members": ["user:eve@example.com"],
878
+ # "members": [
879
+ # "user:eve@example.com"
880
+ # ],
873
881
  # "condition": `
874
882
  # "title": "expirable access",
875
883
  # "description": "Does not grant access after Sep 2020",
@@ -942,6 +950,9 @@ module Google
942
950
  # the conditions in the version `3` policy are lost.
943
951
  # If a policy does not include any conditions, operations on that policy may
944
952
  # specify any valid version or leave the field unset.
953
+ # To learn which resources support conditions in their IAM policies, see the
954
+ # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
955
+ # policies).
945
956
  # Corresponds to the JSON property `version`
946
957
  # @return [Fixnum]
947
958
  attr_accessor :version
@@ -1087,10 +1098,13 @@ module Google
1087
1098
  # Google groups, and domains (such as G Suite). A `role` is a named list of
1088
1099
  # permissions; each `role` can be an IAM predefined role or a user-created
1089
1100
  # custom role.
1090
- # Optionally, a `binding` can specify a `condition`, which is a logical
1091
- # expression that allows access to a resource only if the expression evaluates
1092
- # to `true`. A condition can add constraints based on attributes of the
1093
- # request, the resource, or both.
1101
+ # For some types of Google Cloud resources, a `binding` can also specify a
1102
+ # `condition`, which is a logical expression that allows access to a resource
1103
+ # only if the expression evaluates to `true`. A condition can add constraints
1104
+ # based on attributes of the request, the resource, or both. To learn which
1105
+ # resources support conditions in their IAM policies, see the
1106
+ # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
1107
+ # policies).
1094
1108
  # **JSON example:**
1095
1109
  # `
1096
1110
  # "bindings": [
@@ -1105,7 +1119,9 @@ module Google
1105
1119
  # `,
1106
1120
  # `
1107
1121
  # "role": "roles/resourcemanager.organizationViewer",
1108
- # "members": ["user:eve@example.com"],
1122
+ # "members": [
1123
+ # "user:eve@example.com"
1124
+ # ],
1109
1125
  # "condition": `
1110
1126
  # "title": "expirable access",
1111
1127
  # "description": "Does not grant access after Sep 2020",
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/kms/
27
27
  module CloudkmsV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200221'
29
+ REVISION = '20200522'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -33,6 +33,25 @@ module Google
33
33
  # @return [String]
34
34
  attr_accessor :ciphertext
35
35
 
36
+ # Optional. An optional CRC32C checksum of the AsymmetricDecryptRequest.
37
+ # ciphertext.
38
+ # If specified, KeyManagementService will verify the integrity of the
39
+ # received AsymmetricDecryptRequest.ciphertext using this checksum.
40
+ # KeyManagementService will report an error if the checksum verification
41
+ # fails. If you receive a checksum error, your client should verify that
42
+ # CRC32C(AsymmetricDecryptRequest.ciphertext) is equal to
43
+ # AsymmetricDecryptRequest.ciphertext_crc32c, and if so, perform a
44
+ # limited number of retries. A persistent mismatch may indicate an issue in
45
+ # your computation of the CRC32C checksum.
46
+ # Note: This field is defined as int64 for reasons of compatibility across
47
+ # different languages. However, it is a non-negative integer, which will
48
+ # never exceed 2^32-1, and can be safely downconverted to uint32 in languages
49
+ # that support this type.
50
+ # NOTE: This field is in Beta.
51
+ # Corresponds to the JSON property `ciphertextCrc32c`
52
+ # @return [Fixnum]
53
+ attr_accessor :ciphertext_crc32c
54
+
36
55
  def initialize(**args)
37
56
  update!(**args)
38
57
  end
@@ -40,6 +59,7 @@ module Google
40
59
  # Update properties of this object
41
60
  def update!(**args)
42
61
  @ciphertext = args[:ciphertext] if args.key?(:ciphertext)
62
+ @ciphertext_crc32c = args[:ciphertext_crc32c] if args.key?(:ciphertext_crc32c)
43
63
  end
44
64
  end
45
65
 
@@ -53,6 +73,36 @@ module Google
53
73
  # @return [String]
54
74
  attr_accessor :plaintext
55
75
 
76
+ # Integrity verification field. A CRC32C checksum of the returned
77
+ # AsymmetricDecryptResponse.plaintext. An integrity check of
78
+ # AsymmetricDecryptResponse.plaintext can be performed by computing the
79
+ # CRC32C checksum of AsymmetricDecryptResponse.plaintext and comparing
80
+ # your results to this field. Discard the response in case of non-matching
81
+ # checksum values, and perform a limited number of retries. A persistent
82
+ # mismatch may indicate an issue in your computation of the CRC32C checksum.
83
+ # Note: This field is defined as int64 for reasons of compatibility across
84
+ # different languages. However, it is a non-negative integer, which will
85
+ # never exceed 2^32-1, and can be safely downconverted to uint32 in languages
86
+ # that support this type.
87
+ # NOTE: This field is in Beta.
88
+ # Corresponds to the JSON property `plaintextCrc32c`
89
+ # @return [Fixnum]
90
+ attr_accessor :plaintext_crc32c
91
+
92
+ # Integrity verification field. A flag indicating whether
93
+ # AsymmetricDecryptRequest.ciphertext_crc32c was received by
94
+ # KeyManagementService and used for the integrity verification of the
95
+ # ciphertext. A false value of this
96
+ # field indicates either that AsymmetricDecryptRequest.ciphertext_crc32c
97
+ # was left unset or that it was not delivered to KeyManagementService. If
98
+ # you've set AsymmetricDecryptRequest.ciphertext_crc32c but this field is
99
+ # still false, discard the response and perform a limited number of retries.
100
+ # NOTE: This field is in Beta.
101
+ # Corresponds to the JSON property `verifiedCiphertextCrc32c`
102
+ # @return [Boolean]
103
+ attr_accessor :verified_ciphertext_crc32c
104
+ alias_method :verified_ciphertext_crc32c?, :verified_ciphertext_crc32c
105
+
56
106
  def initialize(**args)
57
107
  update!(**args)
58
108
  end
@@ -60,6 +110,8 @@ module Google
60
110
  # Update properties of this object
61
111
  def update!(**args)
62
112
  @plaintext = args[:plaintext] if args.key?(:plaintext)
113
+ @plaintext_crc32c = args[:plaintext_crc32c] if args.key?(:plaintext_crc32c)
114
+ @verified_ciphertext_crc32c = args[:verified_ciphertext_crc32c] if args.key?(:verified_ciphertext_crc32c)
63
115
  end
64
116
  end
65
117
 
@@ -72,6 +124,24 @@ module Google
72
124
  # @return [Google::Apis::CloudkmsV1::Digest]
73
125
  attr_accessor :digest
74
126
 
127
+ # Optional. An optional CRC32C checksum of the AsymmetricSignRequest.digest. If
128
+ # specified, KeyManagementService will verify the integrity of the
129
+ # received AsymmetricSignRequest.digest using this checksum.
130
+ # KeyManagementService will report an error if the checksum verification
131
+ # fails. If you receive a checksum error, your client should verify that
132
+ # CRC32C(AsymmetricSignRequest.digest) is equal to
133
+ # AsymmetricSignRequest.digest_crc32c, and if so, perform a limited
134
+ # number of retries. A persistent mismatch may indicate an issue in your
135
+ # computation of the CRC32C checksum.
136
+ # Note: This field is defined as int64 for reasons of compatibility across
137
+ # different languages. However, it is a non-negative integer, which will
138
+ # never exceed 2^32-1, and can be safely downconverted to uint32 in languages
139
+ # that support this type.
140
+ # NOTE: This field is in Beta.
141
+ # Corresponds to the JSON property `digestCrc32c`
142
+ # @return [Fixnum]
143
+ attr_accessor :digest_crc32c
144
+
75
145
  def initialize(**args)
76
146
  update!(**args)
77
147
  end
@@ -79,6 +149,7 @@ module Google
79
149
  # Update properties of this object
80
150
  def update!(**args)
81
151
  @digest = args[:digest] if args.key?(:digest)
152
+ @digest_crc32c = args[:digest_crc32c] if args.key?(:digest_crc32c)
82
153
  end
83
154
  end
84
155
 
@@ -86,19 +157,59 @@ module Google
86
157
  class AsymmetricSignResponse
87
158
  include Google::Apis::Core::Hashable
88
159
 
160
+ # The resource name of the CryptoKeyVersion used for signing. Check
161
+ # this field to verify that the intended resource was used for signing.
162
+ # NOTE: This field is in Beta.
163
+ # Corresponds to the JSON property `name`
164
+ # @return [String]
165
+ attr_accessor :name
166
+
89
167
  # The created signature.
90
168
  # Corresponds to the JSON property `signature`
91
169
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
92
170
  # @return [String]
93
171
  attr_accessor :signature
94
172
 
173
+ # Integrity verification field. A CRC32C checksum of the returned
174
+ # AsymmetricSignResponse.signature. An integrity check of
175
+ # AsymmetricSignResponse.signature can be performed by computing the
176
+ # CRC32C checksum of AsymmetricSignResponse.signature and comparing your
177
+ # results to this field. Discard the response in case of non-matching
178
+ # checksum values, and perform a limited number of retries. A persistent
179
+ # mismatch may indicate an issue in your computation of the CRC32C checksum.
180
+ # Note: This field is defined as int64 for reasons of compatibility across
181
+ # different languages. However, it is a non-negative integer, which will
182
+ # never exceed 2^32-1, and can be safely downconverted to uint32 in languages
183
+ # that support this type.
184
+ # NOTE: This field is in Beta.
185
+ # Corresponds to the JSON property `signatureCrc32c`
186
+ # @return [Fixnum]
187
+ attr_accessor :signature_crc32c
188
+
189
+ # Integrity verification field. A flag indicating whether
190
+ # AsymmetricSignRequest.digest_crc32c was received by
191
+ # KeyManagementService and used for the integrity verification of the
192
+ # digest. A false value of this field
193
+ # indicates either that AsymmetricSignRequest.digest_crc32c was left
194
+ # unset or that it was not delivered to KeyManagementService. If you've
195
+ # set AsymmetricSignRequest.digest_crc32c but this field is still false,
196
+ # discard the response and perform a limited number of retries.
197
+ # NOTE: This field is in Beta.
198
+ # Corresponds to the JSON property `verifiedDigestCrc32c`
199
+ # @return [Boolean]
200
+ attr_accessor :verified_digest_crc32c
201
+ alias_method :verified_digest_crc32c?, :verified_digest_crc32c
202
+
95
203
  def initialize(**args)
96
204
  update!(**args)
97
205
  end
98
206
 
99
207
  # Update properties of this object
100
208
  def update!(**args)
209
+ @name = args[:name] if args.key?(:name)
101
210
  @signature = args[:signature] if args.key?(:signature)
211
+ @signature_crc32c = args[:signature_crc32c] if args.key?(:signature_crc32c)
212
+ @verified_digest_crc32c = args[:verified_digest_crc32c] if args.key?(:verified_digest_crc32c)
102
213
  end
103
214
  end
104
215
 
@@ -303,8 +414,8 @@ module Google
303
414
 
304
415
  # A CryptoKey represents a logical key that can be used for cryptographic
305
416
  # operations.
306
- # A CryptoKey is made up of one or more versions, which
307
- # represent the actual key material used in cryptographic operations.
417
+ # A CryptoKey is made up of zero or more versions,
418
+ # which represent the actual key material used in cryptographic operations.
308
419
  class CryptoKey
309
420
  include Google::Apis::Core::Hashable
310
421
 
@@ -551,6 +662,25 @@ module Google
551
662
  # @return [String]
552
663
  attr_accessor :additional_authenticated_data
553
664
 
665
+ # Optional. An optional CRC32C checksum of the
666
+ # DecryptRequest.additional_authenticated_data. If specified,
667
+ # KeyManagementService will verify the integrity of the received
668
+ # DecryptRequest.additional_authenticated_data using this checksum.
669
+ # KeyManagementService will report an error if the checksum verification
670
+ # fails. If you receive a checksum error, your client should verify that
671
+ # CRC32C(DecryptRequest.additional_authenticated_data) is equal to
672
+ # DecryptRequest.additional_authenticated_data_crc32c, and if so, perform
673
+ # a limited number of retries. A persistent mismatch may indicate an issue in
674
+ # your computation of the CRC32C checksum.
675
+ # Note: This field is defined as int64 for reasons of compatibility across
676
+ # different languages. However, it is a non-negative integer, which will
677
+ # never exceed 2^32-1, and can be safely downconverted to uint32 in languages
678
+ # that support this type.
679
+ # NOTE: This field is in Beta.
680
+ # Corresponds to the JSON property `additionalAuthenticatedDataCrc32c`
681
+ # @return [Fixnum]
682
+ attr_accessor :additional_authenticated_data_crc32c
683
+
554
684
  # Required. The encrypted data originally returned in
555
685
  # EncryptResponse.ciphertext.
556
686
  # Corresponds to the JSON property `ciphertext`
@@ -558,6 +688,24 @@ module Google
558
688
  # @return [String]
559
689
  attr_accessor :ciphertext
560
690
 
691
+ # Optional. An optional CRC32C checksum of the DecryptRequest.ciphertext. If
692
+ # specified, KeyManagementService will verify the integrity of the
693
+ # received DecryptRequest.ciphertext using this checksum.
694
+ # KeyManagementService will report an error if the checksum verification
695
+ # fails. If you receive a checksum error, your client should verify that
696
+ # CRC32C(DecryptRequest.ciphertext) is equal to
697
+ # DecryptRequest.ciphertext_crc32c, and if so, perform a limited number
698
+ # of retries. A persistent mismatch may indicate an issue in your computation
699
+ # of the CRC32C checksum.
700
+ # Note: This field is defined as int64 for reasons of compatibility across
701
+ # different languages. However, it is a non-negative integer, which will
702
+ # never exceed 2^32-1, and can be safely downconverted to uint32 in languages
703
+ # that support this type.
704
+ # NOTE: This field is in Beta.
705
+ # Corresponds to the JSON property `ciphertextCrc32c`
706
+ # @return [Fixnum]
707
+ attr_accessor :ciphertext_crc32c
708
+
561
709
  def initialize(**args)
562
710
  update!(**args)
563
711
  end
@@ -565,7 +713,9 @@ module Google
565
713
  # Update properties of this object
566
714
  def update!(**args)
567
715
  @additional_authenticated_data = args[:additional_authenticated_data] if args.key?(:additional_authenticated_data)
716
+ @additional_authenticated_data_crc32c = args[:additional_authenticated_data_crc32c] if args.key?(:additional_authenticated_data_crc32c)
568
717
  @ciphertext = args[:ciphertext] if args.key?(:ciphertext)
718
+ @ciphertext_crc32c = args[:ciphertext_crc32c] if args.key?(:ciphertext_crc32c)
569
719
  end
570
720
  end
571
721
 
@@ -579,6 +729,24 @@ module Google
579
729
  # @return [String]
580
730
  attr_accessor :plaintext
581
731
 
732
+ # Integrity verification field. A CRC32C checksum of the returned
733
+ # DecryptResponse.plaintext. An integrity check of
734
+ # DecryptResponse.plaintext can be performed by computing the CRC32C
735
+ # checksum of DecryptResponse.plaintext and comparing your results to
736
+ # this field. Discard the response in case of non-matching checksum values,
737
+ # and perform a limited number of retries. A persistent mismatch may indicate
738
+ # an issue in your computation of the CRC32C checksum. Note: receiving this
739
+ # response message indicates that KeyManagementService is able to
740
+ # successfully decrypt the ciphertext.
741
+ # Note: This field is defined as int64 for reasons of compatibility across
742
+ # different languages. However, it is a non-negative integer, which will
743
+ # never exceed 2^32-1, and can be safely downconverted to uint32 in languages
744
+ # that support this type.
745
+ # NOTE: This field is in Beta.
746
+ # Corresponds to the JSON property `plaintextCrc32c`
747
+ # @return [Fixnum]
748
+ attr_accessor :plaintext_crc32c
749
+
582
750
  def initialize(**args)
583
751
  update!(**args)
584
752
  end
@@ -586,6 +754,7 @@ module Google
586
754
  # Update properties of this object
587
755
  def update!(**args)
588
756
  @plaintext = args[:plaintext] if args.key?(:plaintext)
757
+ @plaintext_crc32c = args[:plaintext_crc32c] if args.key?(:plaintext_crc32c)
589
758
  end
590
759
  end
591
760
 
@@ -654,6 +823,25 @@ module Google
654
823
  # @return [String]
655
824
  attr_accessor :additional_authenticated_data
656
825
 
826
+ # Optional. An optional CRC32C checksum of the
827
+ # EncryptRequest.additional_authenticated_data. If specified,
828
+ # KeyManagementService will verify the integrity of the received
829
+ # EncryptRequest.additional_authenticated_data using this checksum.
830
+ # KeyManagementService will report an error if the checksum verification
831
+ # fails. If you receive a checksum error, your client should verify that
832
+ # CRC32C(EncryptRequest.additional_authenticated_data) is equal to
833
+ # EncryptRequest.additional_authenticated_data_crc32c, and if so, perform
834
+ # a limited number of retries. A persistent mismatch may indicate an issue in
835
+ # your computation of the CRC32C checksum.
836
+ # Note: This field is defined as int64 for reasons of compatibility across
837
+ # different languages. However, it is a non-negative integer, which will
838
+ # never exceed 2^32-1, and can be safely downconverted to uint32 in languages
839
+ # that support this type.
840
+ # NOTE: This field is in Beta.
841
+ # Corresponds to the JSON property `additionalAuthenticatedDataCrc32c`
842
+ # @return [Fixnum]
843
+ attr_accessor :additional_authenticated_data_crc32c
844
+
657
845
  # Required. The data to encrypt. Must be no larger than 64KiB.
658
846
  # The maximum size depends on the key version's
659
847
  # protection_level. For
@@ -666,6 +854,24 @@ module Google
666
854
  # @return [String]
667
855
  attr_accessor :plaintext
668
856
 
857
+ # Optional. An optional CRC32C checksum of the EncryptRequest.plaintext. If
858
+ # specified, KeyManagementService will verify the integrity of the
859
+ # received EncryptRequest.plaintext using this checksum.
860
+ # KeyManagementService will report an error if the checksum verification
861
+ # fails. If you receive a checksum error, your client should verify that
862
+ # CRC32C(EncryptRequest.plaintext) is equal to
863
+ # EncryptRequest.plaintext_crc32c, and if so, perform a limited number of
864
+ # retries. A persistent mismatch may indicate an issue in your computation of
865
+ # the CRC32C checksum.
866
+ # Note: This field is defined as int64 for reasons of compatibility across
867
+ # different languages. However, it is a non-negative integer, which will
868
+ # never exceed 2^32-1, and can be safely downconverted to uint32 in languages
869
+ # that support this type.
870
+ # NOTE: This field is in Beta.
871
+ # Corresponds to the JSON property `plaintextCrc32c`
872
+ # @return [Fixnum]
873
+ attr_accessor :plaintext_crc32c
874
+
669
875
  def initialize(**args)
670
876
  update!(**args)
671
877
  end
@@ -673,7 +879,9 @@ module Google
673
879
  # Update properties of this object
674
880
  def update!(**args)
675
881
  @additional_authenticated_data = args[:additional_authenticated_data] if args.key?(:additional_authenticated_data)
882
+ @additional_authenticated_data_crc32c = args[:additional_authenticated_data_crc32c] if args.key?(:additional_authenticated_data_crc32c)
676
883
  @plaintext = args[:plaintext] if args.key?(:plaintext)
884
+ @plaintext_crc32c = args[:plaintext_crc32c] if args.key?(:plaintext_crc32c)
677
885
  end
678
886
  end
679
887
 
@@ -687,12 +895,57 @@ module Google
687
895
  # @return [String]
688
896
  attr_accessor :ciphertext
689
897
 
898
+ # Integrity verification field. A CRC32C checksum of the returned
899
+ # EncryptResponse.ciphertext. An integrity check of
900
+ # EncryptResponse.ciphertext can be performed by computing the CRC32C
901
+ # checksum of EncryptResponse.ciphertext and comparing your results to
902
+ # this field. Discard the response in case of non-matching checksum values,
903
+ # and perform a limited number of retries. A persistent mismatch may indicate
904
+ # an issue in your computation of the CRC32C checksum.
905
+ # Note: This field is defined as int64 for reasons of compatibility across
906
+ # different languages. However, it is a non-negative integer, which will
907
+ # never exceed 2^32-1, and can be safely downconverted to uint32 in languages
908
+ # that support this type.
909
+ # NOTE: This field is in Beta.
910
+ # Corresponds to the JSON property `ciphertextCrc32c`
911
+ # @return [Fixnum]
912
+ attr_accessor :ciphertext_crc32c
913
+
690
914
  # The resource name of the CryptoKeyVersion used in encryption. Check
691
915
  # this field to verify that the intended resource was used for encryption.
692
916
  # Corresponds to the JSON property `name`
693
917
  # @return [String]
694
918
  attr_accessor :name
695
919
 
920
+ # Integrity verification field. A flag indicating whether
921
+ # EncryptRequest.additional_authenticated_data_crc32c was received by
922
+ # KeyManagementService and used for the integrity verification of the
923
+ # AAD. A false value of this
924
+ # field indicates either that
925
+ # EncryptRequest.additional_authenticated_data_crc32c was left unset or
926
+ # that it was not delivered to KeyManagementService. If you've set
927
+ # EncryptRequest.additional_authenticated_data_crc32c but this field is
928
+ # still false, discard the response and perform a limited number of retries.
929
+ # NOTE: This field is in Beta.
930
+ # Corresponds to the JSON property `verifiedAdditionalAuthenticatedDataCrc32c`
931
+ # @return [Boolean]
932
+ attr_accessor :verified_additional_authenticated_data_crc32c
933
+ alias_method :verified_additional_authenticated_data_crc32c?, :verified_additional_authenticated_data_crc32c
934
+
935
+ # Integrity verification field. A flag indicating whether
936
+ # EncryptRequest.plaintext_crc32c was received by
937
+ # KeyManagementService and used for the integrity verification of the
938
+ # plaintext. A false value of this field
939
+ # indicates either that EncryptRequest.plaintext_crc32c was left unset or
940
+ # that it was not delivered to KeyManagementService. If you've set
941
+ # EncryptRequest.plaintext_crc32c but this field is still false, discard
942
+ # the response and perform a limited number of retries.
943
+ # NOTE: This field is in Beta.
944
+ # Corresponds to the JSON property `verifiedPlaintextCrc32c`
945
+ # @return [Boolean]
946
+ attr_accessor :verified_plaintext_crc32c
947
+ alias_method :verified_plaintext_crc32c?, :verified_plaintext_crc32c
948
+
696
949
  def initialize(**args)
697
950
  update!(**args)
698
951
  end
@@ -700,7 +953,10 @@ module Google
700
953
  # Update properties of this object
701
954
  def update!(**args)
702
955
  @ciphertext = args[:ciphertext] if args.key?(:ciphertext)
956
+ @ciphertext_crc32c = args[:ciphertext_crc32c] if args.key?(:ciphertext_crc32c)
703
957
  @name = args[:name] if args.key?(:name)
958
+ @verified_additional_authenticated_data_crc32c = args[:verified_additional_authenticated_data_crc32c] if args.key?(:verified_additional_authenticated_data_crc32c)
959
+ @verified_plaintext_crc32c = args[:verified_plaintext_crc32c] if args.key?(:verified_plaintext_crc32c)
704
960
  end
705
961
  end
706
962
 
@@ -1244,10 +1500,13 @@ module Google
1244
1500
  # Google groups, and domains (such as G Suite). A `role` is a named list of
1245
1501
  # permissions; each `role` can be an IAM predefined role or a user-created
1246
1502
  # custom role.
1247
- # Optionally, a `binding` can specify a `condition`, which is a logical
1248
- # expression that allows access to a resource only if the expression evaluates
1249
- # to `true`. A condition can add constraints based on attributes of the
1250
- # request, the resource, or both.
1503
+ # For some types of Google Cloud resources, a `binding` can also specify a
1504
+ # `condition`, which is a logical expression that allows access to a resource
1505
+ # only if the expression evaluates to `true`. A condition can add constraints
1506
+ # based on attributes of the request, the resource, or both. To learn which
1507
+ # resources support conditions in their IAM policies, see the
1508
+ # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
1509
+ # policies).
1251
1510
  # **JSON example:**
1252
1511
  # `
1253
1512
  # "bindings": [
@@ -1262,7 +1521,9 @@ module Google
1262
1521
  # `,
1263
1522
  # `
1264
1523
  # "role": "roles/resourcemanager.organizationViewer",
1265
- # "members": ["user:eve@example.com"],
1524
+ # "members": [
1525
+ # "user:eve@example.com"
1526
+ # ],
1266
1527
  # "condition": `
1267
1528
  # "title": "expirable access",
1268
1529
  # "description": "Does not grant access after Sep 2020",
@@ -1340,6 +1601,9 @@ module Google
1340
1601
  # the conditions in the version `3` policy are lost.
1341
1602
  # If a policy does not include any conditions, operations on that policy may
1342
1603
  # specify any valid version or leave the field unset.
1604
+ # To learn which resources support conditions in their IAM policies, see the
1605
+ # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
1606
+ # policies).
1343
1607
  # Corresponds to the JSON property `version`
1344
1608
  # @return [Fixnum]
1345
1609
  attr_accessor :version
@@ -1368,6 +1632,13 @@ module Google
1368
1632
  # @return [String]
1369
1633
  attr_accessor :algorithm
1370
1634
 
1635
+ # The name of the CryptoKeyVersion public key.
1636
+ # Provided here for verification.
1637
+ # NOTE: This field is in Beta.
1638
+ # Corresponds to the JSON property `name`
1639
+ # @return [String]
1640
+ attr_accessor :name
1641
+
1371
1642
  # The public key, encoded in PEM format. For more information, see the
1372
1643
  # [RFC 7468](https://tools.ietf.org/html/rfc7468) sections for
1373
1644
  # [General Considerations](https://tools.ietf.org/html/rfc7468#section-2) and
@@ -1377,6 +1648,22 @@ module Google
1377
1648
  # @return [String]
1378
1649
  attr_accessor :pem
1379
1650
 
1651
+ # Integrity verification field. A CRC32C checksum of the returned
1652
+ # PublicKey.pem. An integrity check of PublicKey.pem can be performed
1653
+ # by computing the CRC32C checksum of PublicKey.pem and
1654
+ # comparing your results to this field. Discard the response in case of
1655
+ # non-matching checksum values, and perform a limited number of retries. A
1656
+ # persistent mismatch may indicate an issue in your computation of the CRC32C
1657
+ # checksum.
1658
+ # Note: This field is defined as int64 for reasons of compatibility across
1659
+ # different languages. However, it is a non-negative integer, which will
1660
+ # never exceed 2^32-1, and can be safely downconverted to uint32 in languages
1661
+ # that support this type.
1662
+ # NOTE: This field is in Beta.
1663
+ # Corresponds to the JSON property `pemCrc32c`
1664
+ # @return [Fixnum]
1665
+ attr_accessor :pem_crc32c
1666
+
1380
1667
  def initialize(**args)
1381
1668
  update!(**args)
1382
1669
  end
@@ -1384,7 +1671,9 @@ module Google
1384
1671
  # Update properties of this object
1385
1672
  def update!(**args)
1386
1673
  @algorithm = args[:algorithm] if args.key?(:algorithm)
1674
+ @name = args[:name] if args.key?(:name)
1387
1675
  @pem = args[:pem] if args.key?(:pem)
1676
+ @pem_crc32c = args[:pem_crc32c] if args.key?(:pem_crc32c)
1388
1677
  end
1389
1678
  end
1390
1679
 
@@ -1412,10 +1701,13 @@ module Google
1412
1701
  # Google groups, and domains (such as G Suite). A `role` is a named list of
1413
1702
  # permissions; each `role` can be an IAM predefined role or a user-created
1414
1703
  # custom role.
1415
- # Optionally, a `binding` can specify a `condition`, which is a logical
1416
- # expression that allows access to a resource only if the expression evaluates
1417
- # to `true`. A condition can add constraints based on attributes of the
1418
- # request, the resource, or both.
1704
+ # For some types of Google Cloud resources, a `binding` can also specify a
1705
+ # `condition`, which is a logical expression that allows access to a resource
1706
+ # only if the expression evaluates to `true`. A condition can add constraints
1707
+ # based on attributes of the request, the resource, or both. To learn which
1708
+ # resources support conditions in their IAM policies, see the
1709
+ # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
1710
+ # policies).
1419
1711
  # **JSON example:**
1420
1712
  # `
1421
1713
  # "bindings": [
@@ -1430,7 +1722,9 @@ module Google
1430
1722
  # `,
1431
1723
  # `
1432
1724
  # "role": "roles/resourcemanager.organizationViewer",
1433
- # "members": ["user:eve@example.com"],
1725
+ # "members": [
1726
+ # "user:eve@example.com"
1727
+ # ],
1434
1728
  # "condition": `
1435
1729
  # "title": "expirable access",
1436
1730
  # "description": "Does not grant access after Sep 2020",
@@ -1468,8 +1762,7 @@ module Google
1468
1762
  # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
1469
1763
  # the fields in the mask will be modified. If no mask is provided, the
1470
1764
  # following default mask is used:
1471
- # paths: "bindings, etag"
1472
- # This field is only used by Cloud IAM.
1765
+ # `paths: "bindings, etag"`
1473
1766
  # Corresponds to the JSON property `updateMask`
1474
1767
  # @return [String]
1475
1768
  attr_accessor :update_mask