google-api-client 0.38.0 → 0.39.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (329) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +124 -0
  3. data/api_list_config.yaml +1 -2
  4. data/bin/generate-api +1 -1
  5. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +22 -1
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +3 -0
  8. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  9. data/generated/google/apis/androidenterprise_v1/classes.rb +2 -1
  10. data/generated/google/apis/androidpublisher_v1.rb +1 -4
  11. data/generated/google/apis/androidpublisher_v1/classes.rb +0 -41
  12. data/generated/google/apis/androidpublisher_v1/representations.rb +0 -16
  13. data/generated/google/apis/androidpublisher_v1/service.rb +1 -81
  14. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  15. data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -41
  16. data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -16
  17. data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -80
  18. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  19. data/generated/google/apis/androidpublisher_v2/classes.rb +36 -1661
  20. data/generated/google/apis/androidpublisher_v2/representations.rb +0 -739
  21. data/generated/google/apis/androidpublisher_v2/service.rb +0 -2359
  22. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  23. data/generated/google/apis/androidpublisher_v3/classes.rb +3 -2
  24. data/generated/google/apis/androidpublisher_v3/service.rb +4 -3
  25. data/generated/google/apis/apigee_v1.rb +40 -0
  26. data/generated/google/apis/apigee_v1/classes.rb +5205 -0
  27. data/generated/google/apis/apigee_v1/representations.rb +1944 -0
  28. data/generated/google/apis/apigee_v1/service.rb +6068 -0
  29. data/generated/google/apis/bigquery_v2.rb +1 -1
  30. data/generated/google/apis/bigquery_v2/classes.rb +51 -19
  31. data/generated/google/apis/bigquery_v2/representations.rb +21 -4
  32. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  33. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +1 -2
  34. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +2 -2
  35. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  36. data/generated/google/apis/bigqueryreservation_v1/classes.rb +12 -12
  37. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  38. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +12 -12
  39. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  40. data/generated/google/apis/binaryauthorization_v1/classes.rb +23 -10
  41. data/generated/google/apis/binaryauthorization_v1/service.rb +10 -4
  42. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  43. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +23 -10
  44. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +10 -4
  45. data/generated/google/apis/calendar_v3.rb +1 -1
  46. data/generated/google/apis/calendar_v3/classes.rb +5 -5
  47. data/generated/google/apis/classroom_v1.rb +1 -1
  48. data/generated/google/apis/classroom_v1/classes.rb +14 -14
  49. data/generated/google/apis/classroom_v1/service.rb +11 -11
  50. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  51. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +2 -0
  52. data/generated/google/apis/{osconfig_v1beta.rb → cloudasset_v1p4beta1.rb} +8 -9
  53. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +924 -0
  54. data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +377 -0
  55. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +217 -0
  56. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  57. data/generated/google/apis/cloudbilling_v1/classes.rb +24 -12
  58. data/generated/google/apis/cloudbilling_v1/service.rb +3 -0
  59. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  60. data/generated/google/apis/cloudbuild_v1/classes.rb +2 -2
  61. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  62. data/generated/google/apis/clouddebugger_v2/classes.rb +26 -0
  63. data/generated/google/apis/clouddebugger_v2/representations.rb +4 -0
  64. data/generated/google/apis/clouddebugger_v2/service.rb +9 -2
  65. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  66. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +214 -66
  67. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +64 -10
  68. data/generated/google/apis/cloudiot_v1.rb +1 -1
  69. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  70. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -2
  71. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  72. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1 -2
  73. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  74. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -2
  75. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  76. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -2
  77. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  78. data/generated/google/apis/cloudscheduler_v1/classes.rb +1 -1
  79. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  80. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +1 -1
  81. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  82. data/generated/google/apis/cloudsearch_v1/classes.rb +6 -4
  83. data/generated/google/apis/cloudsearch_v1/service.rb +3 -1
  84. data/generated/google/apis/cloudshell_v1.rb +1 -1
  85. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  86. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +6 -0
  87. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +2 -0
  88. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  89. data/generated/google/apis/cloudtasks_v2/classes.rb +6 -9
  90. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  91. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +6 -9
  92. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  93. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +6 -9
  94. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  95. data/generated/google/apis/cloudtrace_v2/classes.rb +3 -4
  96. data/generated/google/apis/composer_v1beta1.rb +1 -1
  97. data/generated/google/apis/composer_v1beta1/classes.rb +1 -2
  98. data/generated/google/apis/compute_alpha.rb +1 -1
  99. data/generated/google/apis/compute_alpha/classes.rb +414 -29
  100. data/generated/google/apis/compute_alpha/representations.rb +141 -0
  101. data/generated/google/apis/compute_alpha/service.rb +351 -1
  102. data/generated/google/apis/compute_beta.rb +1 -1
  103. data/generated/google/apis/compute_beta/classes.rb +34 -29
  104. data/generated/google/apis/compute_beta/service.rb +3 -1
  105. data/generated/google/apis/compute_v1.rb +1 -1
  106. data/generated/google/apis/compute_v1/classes.rb +129 -10
  107. data/generated/google/apis/compute_v1/representations.rb +38 -0
  108. data/generated/google/apis/compute_v1/service.rb +3 -1
  109. data/generated/google/apis/container_v1.rb +1 -1
  110. data/generated/google/apis/container_v1/classes.rb +145 -132
  111. data/generated/google/apis/container_v1/service.rb +168 -159
  112. data/generated/google/apis/container_v1beta1.rb +1 -1
  113. data/generated/google/apis/container_v1beta1/classes.rb +186 -134
  114. data/generated/google/apis/container_v1beta1/representations.rb +16 -0
  115. data/generated/google/apis/container_v1beta1/service.rb +169 -160
  116. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  117. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +26 -10
  118. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  119. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +360 -10
  120. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +159 -0
  121. data/generated/google/apis/content_v2.rb +1 -1
  122. data/generated/google/apis/content_v2/classes.rb +1176 -1094
  123. data/generated/google/apis/content_v2/representations.rb +31 -0
  124. data/generated/google/apis/content_v2/service.rb +45 -45
  125. data/generated/google/apis/content_v2_1.rb +1 -1
  126. data/generated/google/apis/content_v2_1/classes.rb +1801 -931
  127. data/generated/google/apis/content_v2_1/representations.rb +351 -0
  128. data/generated/google/apis/content_v2_1/service.rb +299 -47
  129. data/generated/google/apis/customsearch_v1.rb +1 -1
  130. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  131. data/generated/google/apis/datacatalog_v1beta1/classes.rb +67 -7
  132. data/generated/google/apis/datacatalog_v1beta1/representations.rb +3 -0
  133. data/generated/google/apis/datacatalog_v1beta1/service.rb +43 -33
  134. data/generated/google/apis/dataproc_v1.rb +1 -1
  135. data/generated/google/apis/dataproc_v1/classes.rb +69 -36
  136. data/generated/google/apis/dataproc_v1/service.rb +14 -14
  137. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  138. data/generated/google/apis/dataproc_v1beta2/classes.rb +46 -26
  139. data/generated/google/apis/dialogflow_v2.rb +1 -1
  140. data/generated/google/apis/dialogflow_v2/classes.rb +203 -35
  141. data/generated/google/apis/dialogflow_v2/representations.rb +46 -0
  142. data/generated/google/apis/dialogflow_v2/service.rb +39 -0
  143. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  144. data/generated/google/apis/dialogflow_v2beta1/classes.rb +261 -36
  145. data/generated/google/apis/dialogflow_v2beta1/representations.rb +64 -0
  146. data/generated/google/apis/dialogflow_v2beta1/service.rb +88 -10
  147. data/generated/google/apis/displayvideo_v1.rb +1 -1
  148. data/generated/google/apis/displayvideo_v1/classes.rb +7216 -220
  149. data/generated/google/apis/displayvideo_v1/representations.rb +2846 -55
  150. data/generated/google/apis/displayvideo_v1/service.rb +2665 -0
  151. data/generated/google/apis/dlp_v2.rb +1 -1
  152. data/generated/google/apis/dlp_v2/classes.rb +6 -1
  153. data/generated/google/apis/drive_v2.rb +1 -1
  154. data/generated/google/apis/drive_v2/classes.rb +1 -0
  155. data/generated/google/apis/drive_v2/service.rb +51 -57
  156. data/generated/google/apis/drive_v3.rb +1 -1
  157. data/generated/google/apis/drive_v3/service.rb +28 -29
  158. data/generated/google/apis/driveactivity_v2.rb +1 -1
  159. data/generated/google/apis/driveactivity_v2/classes.rb +9 -5
  160. data/generated/google/apis/file_v1.rb +1 -1
  161. data/generated/google/apis/file_v1/classes.rb +1 -1
  162. data/generated/google/apis/file_v1/service.rb +5 -5
  163. data/generated/google/apis/file_v1beta1.rb +1 -1
  164. data/generated/google/apis/file_v1beta1/classes.rb +1 -1
  165. data/generated/google/apis/file_v1beta1/service.rb +10 -7
  166. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  167. data/generated/google/apis/firebase_v1beta1/service.rb +5 -2
  168. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  169. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +8 -58
  170. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +1 -31
  171. data/generated/google/apis/firebasehosting_v1beta1/service.rb +0 -70
  172. data/generated/google/apis/firebaseml_v1beta2.rb +34 -0
  173. data/generated/google/apis/firebaseml_v1beta2/classes.rb +344 -0
  174. data/generated/google/apis/firebaseml_v1beta2/representations.rb +154 -0
  175. data/generated/google/apis/firebaseml_v1beta2/service.rb +267 -0
  176. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  177. data/generated/google/apis/games_configuration_v1configuration/classes.rb +9 -10
  178. data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
  179. data/generated/google/apis/games_management_v1management.rb +1 -1
  180. data/generated/google/apis/games_management_v1management/classes.rb +0 -6
  181. data/generated/google/apis/games_management_v1management/representations.rb +0 -1
  182. data/generated/google/apis/games_v1.rb +1 -1
  183. data/generated/google/apis/games_v1/classes.rb +1 -7
  184. data/generated/google/apis/games_v1/representations.rb +0 -1
  185. data/generated/google/apis/games_v1/service.rb +3 -12
  186. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  187. data/generated/google/apis/gameservices_v1beta/classes.rb +1 -2
  188. data/generated/google/apis/gameservices_v1beta/service.rb +2 -2
  189. data/generated/google/apis/healthcare_v1.rb +1 -1
  190. data/generated/google/apis/healthcare_v1/classes.rb +0 -1
  191. data/generated/google/apis/healthcare_v1/service.rb +9 -7
  192. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  193. data/generated/google/apis/healthcare_v1beta1/service.rb +124 -1
  194. data/generated/google/apis/homegraph_v1.rb +1 -1
  195. data/generated/google/apis/homegraph_v1/classes.rb +8 -6
  196. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  197. data/generated/google/apis/iamcredentials_v1/classes.rb +9 -4
  198. data/generated/google/apis/managedidentities_v1.rb +1 -1
  199. data/generated/google/apis/managedidentities_v1/service.rb +2 -2
  200. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  201. data/generated/google/apis/managedidentities_v1alpha1/service.rb +2 -2
  202. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  203. data/generated/google/apis/managedidentities_v1beta1/service.rb +2 -2
  204. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  205. data/generated/google/apis/memcache_v1beta2/classes.rb +7 -7
  206. data/generated/google/apis/memcache_v1beta2/service.rb +1 -1
  207. data/generated/google/apis/ml_v1.rb +1 -1
  208. data/generated/google/apis/ml_v1/classes.rb +41 -38
  209. data/generated/google/apis/ml_v1/service.rb +17 -11
  210. data/generated/google/apis/monitoring_v3.rb +1 -1
  211. data/generated/google/apis/monitoring_v3/classes.rb +27 -38
  212. data/generated/google/apis/monitoring_v3/representations.rb +3 -16
  213. data/generated/google/apis/monitoring_v3/service.rb +6 -5
  214. data/generated/google/apis/people_v1.rb +7 -1
  215. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  216. data/generated/google/apis/policytroubleshooter_v1/classes.rb +23 -10
  217. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  218. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +23 -10
  219. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  220. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +13 -0
  221. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +2 -0
  222. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +6 -0
  223. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  224. data/generated/google/apis/remotebuildexecution_v1/classes.rb +57 -1
  225. data/generated/google/apis/remotebuildexecution_v1/representations.rb +19 -0
  226. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  227. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +57 -1
  228. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +19 -0
  229. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  230. data/generated/google/apis/remotebuildexecution_v2/classes.rb +57 -1
  231. data/generated/google/apis/remotebuildexecution_v2/representations.rb +19 -0
  232. data/generated/google/apis/run_v1.rb +1 -1
  233. data/generated/google/apis/run_v1/classes.rb +22 -46
  234. data/generated/google/apis/run_v1/representations.rb +5 -19
  235. data/generated/google/apis/run_v1alpha1.rb +1 -1
  236. data/generated/google/apis/run_v1alpha1/classes.rb +1 -2
  237. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  238. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +23 -10
  239. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +8 -5
  240. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  241. data/generated/google/apis/sasportal_v1alpha1/classes.rb +13 -0
  242. data/generated/google/apis/sasportal_v1alpha1/representations.rb +2 -0
  243. data/generated/google/apis/sasportal_v1alpha1/service.rb +6 -0
  244. data/generated/google/apis/script_v1.rb +1 -1
  245. data/generated/google/apis/script_v1/classes.rb +4 -22
  246. data/generated/google/apis/secretmanager_v1.rb +1 -1
  247. data/generated/google/apis/secretmanager_v1/classes.rb +1 -2
  248. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  249. data/generated/google/apis/secretmanager_v1beta1/classes.rb +1 -2
  250. data/generated/google/apis/securitycenter_v1.rb +1 -1
  251. data/generated/google/apis/securitycenter_v1/classes.rb +0 -12
  252. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  253. data/generated/google/apis/securitycenter_v1beta1/classes.rb +0 -8
  254. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  255. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +0 -8
  256. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  257. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -8
  258. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  259. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +34 -14
  260. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  261. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +34 -14
  262. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  263. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  264. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  265. data/generated/google/apis/servicemanagement_v1/service.rb +6 -1
  266. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  267. data/generated/google/apis/servicenetworking_v1/classes.rb +34 -14
  268. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  269. data/generated/google/apis/servicenetworking_v1beta/classes.rb +34 -14
  270. data/generated/google/apis/serviceusage_v1.rb +1 -1
  271. data/generated/google/apis/serviceusage_v1/classes.rb +34 -14
  272. data/generated/google/apis/serviceusage_v1/service.rb +1 -1
  273. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  274. data/generated/google/apis/serviceusage_v1beta1/classes.rb +34 -14
  275. data/generated/google/apis/sheets_v4.rb +1 -1
  276. data/generated/google/apis/sheets_v4/classes.rb +2 -2
  277. data/generated/google/apis/slides_v1.rb +1 -1
  278. data/generated/google/apis/slides_v1/classes.rb +1 -1
  279. data/generated/google/apis/slides_v1/service.rb +1 -1
  280. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  281. data/generated/google/apis/sourcerepo_v1/classes.rb +1 -2
  282. data/generated/google/apis/speech_v1.rb +1 -1
  283. data/generated/google/apis/speech_v1/classes.rb +2 -1
  284. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  285. data/generated/google/apis/speech_v1p1beta1/classes.rb +182 -1
  286. data/generated/google/apis/speech_v1p1beta1/representations.rb +77 -0
  287. data/generated/google/apis/storage_v1.rb +1 -1
  288. data/generated/google/apis/storage_v1/classes.rb +21 -0
  289. data/generated/google/apis/storage_v1/representations.rb +5 -0
  290. data/generated/google/apis/tagmanager_v1.rb +1 -1
  291. data/generated/google/apis/tagmanager_v1/service.rb +1 -1
  292. data/generated/google/apis/tagmanager_v2.rb +1 -1
  293. data/generated/google/apis/tagmanager_v2/service.rb +1 -1
  294. data/generated/google/apis/testing_v1.rb +1 -1
  295. data/generated/google/apis/testing_v1/classes.rb +9 -0
  296. data/generated/google/apis/testing_v1/representations.rb +1 -0
  297. data/generated/google/apis/toolresults_v1beta3.rb +2 -2
  298. data/generated/google/apis/toolresults_v1beta3/classes.rb +1431 -1231
  299. data/generated/google/apis/toolresults_v1beta3/representations.rb +442 -2
  300. data/generated/google/apis/toolresults_v1beta3/service.rb +647 -720
  301. data/generated/google/apis/vault_v1.rb +1 -1
  302. data/generated/google/apis/vault_v1/classes.rb +6 -6
  303. data/generated/google/apis/vault_v1/service.rb +7 -7
  304. data/generated/google/apis/videointelligence_v1.rb +1 -1
  305. data/generated/google/apis/videointelligence_v1/classes.rb +215 -76
  306. data/generated/google/apis/videointelligence_v1/representations.rb +23 -0
  307. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  308. data/generated/google/apis/videointelligence_v1beta2/classes.rb +215 -76
  309. data/generated/google/apis/videointelligence_v1beta2/representations.rb +23 -0
  310. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  311. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +215 -76
  312. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +23 -0
  313. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  314. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +215 -76
  315. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +23 -0
  316. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  317. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +222 -83
  318. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +23 -0
  319. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  320. data/generated/google/apis/youtube_v3.rb +1 -1
  321. data/lib/google/apis/version.rb +1 -1
  322. metadata +15 -11
  323. data/generated/google/apis/commentanalyzer_v1alpha1.rb +0 -39
  324. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +0 -480
  325. data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +0 -210
  326. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +0 -124
  327. data/generated/google/apis/osconfig_v1beta/classes.rb +0 -2365
  328. data/generated/google/apis/osconfig_v1beta/representations.rb +0 -966
  329. data/generated/google/apis/osconfig_v1beta/service.rb +0 -605
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/container-analysis/api/reference/rest/
27
27
  module ContaineranalysisV1alpha1
28
28
  VERSION = 'V1alpha1'
29
- REVISION = '20200221'
29
+ REVISION = '20200501'
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'
@@ -1051,6 +1051,9 @@ module Google
1051
1051
  # Requests for policies with any conditional bindings must specify version 3.
1052
1052
  # Policies without any conditional bindings may specify any valid value or
1053
1053
  # leave the field unset.
1054
+ # To learn which resources support conditions in their IAM policies, see the
1055
+ # [IAM
1056
+ # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
1054
1057
  # Corresponds to the JSON property `requestedPolicyVersion`
1055
1058
  # @return [Fixnum]
1056
1059
  attr_accessor :requested_policy_version
@@ -1995,10 +1998,13 @@ module Google
1995
1998
  # Google groups, and domains (such as G Suite). A `role` is a named list of
1996
1999
  # permissions; each `role` can be an IAM predefined role or a user-created
1997
2000
  # custom role.
1998
- # Optionally, a `binding` can specify a `condition`, which is a logical
1999
- # expression that allows access to a resource only if the expression evaluates
2000
- # to `true`. A condition can add constraints based on attributes of the
2001
- # request, the resource, or both.
2001
+ # For some types of Google Cloud resources, a `binding` can also specify a
2002
+ # `condition`, which is a logical expression that allows access to a resource
2003
+ # only if the expression evaluates to `true`. A condition can add constraints
2004
+ # based on attributes of the request, the resource, or both. To learn which
2005
+ # resources support conditions in their IAM policies, see the
2006
+ # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
2007
+ # policies).
2002
2008
  # **JSON example:**
2003
2009
  # `
2004
2010
  # "bindings": [
@@ -2013,7 +2019,9 @@ module Google
2013
2019
  # `,
2014
2020
  # `
2015
2021
  # "role": "roles/resourcemanager.organizationViewer",
2016
- # "members": ["user:eve@example.com"],
2022
+ # "members": [
2023
+ # "user:eve@example.com"
2024
+ # ],
2017
2025
  # "condition": `
2018
2026
  # "title": "expirable access",
2019
2027
  # "description": "Does not grant access after Sep 2020",
@@ -2086,6 +2094,9 @@ module Google
2086
2094
  # the conditions in the version `3` policy are lost.
2087
2095
  # If a policy does not include any conditions, operations on that policy may
2088
2096
  # specify any valid version or leave the field unset.
2097
+ # To learn which resources support conditions in their IAM policies, see the
2098
+ # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
2099
+ # policies).
2089
2100
  # Corresponds to the JSON property `version`
2090
2101
  # @return [Fixnum]
2091
2102
  attr_accessor :version
@@ -2259,10 +2270,13 @@ module Google
2259
2270
  # Google groups, and domains (such as G Suite). A `role` is a named list of
2260
2271
  # permissions; each `role` can be an IAM predefined role or a user-created
2261
2272
  # custom role.
2262
- # Optionally, a `binding` can specify a `condition`, which is a logical
2263
- # expression that allows access to a resource only if the expression evaluates
2264
- # to `true`. A condition can add constraints based on attributes of the
2265
- # request, the resource, or both.
2273
+ # For some types of Google Cloud resources, a `binding` can also specify a
2274
+ # `condition`, which is a logical expression that allows access to a resource
2275
+ # only if the expression evaluates to `true`. A condition can add constraints
2276
+ # based on attributes of the request, the resource, or both. To learn which
2277
+ # resources support conditions in their IAM policies, see the
2278
+ # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
2279
+ # policies).
2266
2280
  # **JSON example:**
2267
2281
  # `
2268
2282
  # "bindings": [
@@ -2277,7 +2291,9 @@ module Google
2277
2291
  # `,
2278
2292
  # `
2279
2293
  # "role": "roles/resourcemanager.organizationViewer",
2280
- # "members": ["user:eve@example.com"],
2294
+ # "members": [
2295
+ # "user:eve@example.com"
2296
+ # ],
2281
2297
  # "condition": `
2282
2298
  # "title": "expirable access",
2283
2299
  # "description": "Does not grant access after Sep 2020",
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/container-analysis/api/reference/rest/
27
27
  module ContaineranalysisV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20200221'
29
+ REVISION = '20200501'
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'
@@ -84,6 +84,44 @@ module Google
84
84
  end
85
85
  end
86
86
 
87
+ # Defines a hash object for use in Materials and Products.
88
+ class ArtifactHashes
89
+ include Google::Apis::Core::Hashable
90
+
91
+ #
92
+ # Corresponds to the JSON property `sha256`
93
+ # @return [String]
94
+ attr_accessor :sha256
95
+
96
+ def initialize(**args)
97
+ update!(**args)
98
+ end
99
+
100
+ # Update properties of this object
101
+ def update!(**args)
102
+ @sha256 = args[:sha256] if args.key?(:sha256)
103
+ end
104
+ end
105
+
106
+ # Defines an object to declare an in-toto artifact rule
107
+ class ArtifactRule
108
+ include Google::Apis::Core::Hashable
109
+
110
+ #
111
+ # Corresponds to the JSON property `artifactRule`
112
+ # @return [Array<String>]
113
+ attr_accessor :artifact_rule
114
+
115
+ def initialize(**args)
116
+ update!(**args)
117
+ end
118
+
119
+ # Update properties of this object
120
+ def update!(**args)
121
+ @artifact_rule = args[:artifact_rule] if args.key?(:artifact_rule)
122
+ end
123
+ end
124
+
87
125
  # Occurrence that represents a single "attestation". The authenticity of an
88
126
  # attestation can be verified using the attached signature. If the verifier
89
127
  # trusts the public key of the signer, then verifying the signature is
@@ -516,6 +554,26 @@ module Google
516
554
  end
517
555
  end
518
556
 
557
+ # Defines an object for the byproducts field in in-toto links. The suggested
558
+ # fields are "stderr", "stdout", and "return-value".
559
+ class ByProducts
560
+ include Google::Apis::Core::Hashable
561
+
562
+ #
563
+ # Corresponds to the JSON property `customValues`
564
+ # @return [Hash<String,String>]
565
+ attr_accessor :custom_values
566
+
567
+ def initialize(**args)
568
+ update!(**args)
569
+ end
570
+
571
+ # Update properties of this object
572
+ def update!(**args)
573
+ @custom_values = args[:custom_values] if args.key?(:custom_values)
574
+ end
575
+ end
576
+
519
577
  # Common Vulnerability Scoring System version 3.
520
578
  # For details, see https://www.first.org/cvss/specification-document
521
579
  class CvsSv3
@@ -1045,6 +1103,26 @@ module Google
1045
1103
  end
1046
1104
  end
1047
1105
 
1106
+ # Defines an object for the environment field in in-toto links. The suggested
1107
+ # fields are "variables", "filesystem", and "workdir".
1108
+ class Environment
1109
+ include Google::Apis::Core::Hashable
1110
+
1111
+ #
1112
+ # Corresponds to the JSON property `customValues`
1113
+ # @return [Hash<String,String>]
1114
+ attr_accessor :custom_values
1115
+
1116
+ def initialize(**args)
1117
+ update!(**args)
1118
+ end
1119
+
1120
+ # Update properties of this object
1121
+ def update!(**args)
1122
+ @custom_values = args[:custom_values] if args.key?(:custom_values)
1123
+ end
1124
+ end
1125
+
1048
1126
  # Represents a textual expression in the Common Expression Language (CEL)
1049
1127
  # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
1050
1128
  # are documented at https://github.com/google/cel-spec.
@@ -1311,6 +1389,9 @@ module Google
1311
1389
  # Requests for policies with any conditional bindings must specify version 3.
1312
1390
  # Policies without any conditional bindings may specify any valid value or
1313
1391
  # leave the field unset.
1392
+ # To learn which resources support conditions in their IAM policies, see the
1393
+ # [IAM
1394
+ # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
1314
1395
  # Corresponds to the JSON property `requestedPolicyVersion`
1315
1396
  # @return [Fixnum]
1316
1397
  attr_accessor :requested_policy_version
@@ -1471,6 +1552,83 @@ module Google
1471
1552
  end
1472
1553
  end
1473
1554
 
1555
+ #
1556
+ class GrafeasV1beta1IntotoArtifact
1557
+ include Google::Apis::Core::Hashable
1558
+
1559
+ # Defines a hash object for use in Materials and Products.
1560
+ # Corresponds to the JSON property `hashes`
1561
+ # @return [Google::Apis::ContaineranalysisV1beta1::ArtifactHashes]
1562
+ attr_accessor :hashes
1563
+
1564
+ #
1565
+ # Corresponds to the JSON property `resourceUri`
1566
+ # @return [String]
1567
+ attr_accessor :resource_uri
1568
+
1569
+ def initialize(**args)
1570
+ update!(**args)
1571
+ end
1572
+
1573
+ # Update properties of this object
1574
+ def update!(**args)
1575
+ @hashes = args[:hashes] if args.key?(:hashes)
1576
+ @resource_uri = args[:resource_uri] if args.key?(:resource_uri)
1577
+ end
1578
+ end
1579
+
1580
+ # This corresponds to a signed in-toto link - it is made up of one or more
1581
+ # signatures and the in-toto link itself. This is used for occurrences of a
1582
+ # Grafeas in-toto note.
1583
+ class GrafeasV1beta1IntotoDetails
1584
+ include Google::Apis::Core::Hashable
1585
+
1586
+ #
1587
+ # Corresponds to the JSON property `signatures`
1588
+ # @return [Array<Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1IntotoSignature>]
1589
+ attr_accessor :signatures
1590
+
1591
+ # This corresponds to an in-toto link.
1592
+ # Corresponds to the JSON property `signed`
1593
+ # @return [Google::Apis::ContaineranalysisV1beta1::Link]
1594
+ attr_accessor :signed
1595
+
1596
+ def initialize(**args)
1597
+ update!(**args)
1598
+ end
1599
+
1600
+ # Update properties of this object
1601
+ def update!(**args)
1602
+ @signatures = args[:signatures] if args.key?(:signatures)
1603
+ @signed = args[:signed] if args.key?(:signed)
1604
+ end
1605
+ end
1606
+
1607
+ # A signature object consists of the KeyID used and the signature itself.
1608
+ class GrafeasV1beta1IntotoSignature
1609
+ include Google::Apis::Core::Hashable
1610
+
1611
+ #
1612
+ # Corresponds to the JSON property `keyid`
1613
+ # @return [String]
1614
+ attr_accessor :keyid
1615
+
1616
+ #
1617
+ # Corresponds to the JSON property `sig`
1618
+ # @return [String]
1619
+ attr_accessor :sig
1620
+
1621
+ def initialize(**args)
1622
+ update!(**args)
1623
+ end
1624
+
1625
+ # Update properties of this object
1626
+ def update!(**args)
1627
+ @keyid = args[:keyid] if args.key?(:keyid)
1628
+ @sig = args[:sig] if args.key?(:sig)
1629
+ end
1630
+ end
1631
+
1474
1632
  # Details of a package occurrence.
1475
1633
  class GrafeasV1beta1PackageDetails
1476
1634
  include Google::Apis::Core::Hashable
@@ -1610,6 +1768,60 @@ module Google
1610
1768
  end
1611
1769
  end
1612
1770
 
1771
+ # This contains the fields corresponding to the definition of a software supply
1772
+ # chain step in an in-toto layout. This information goes into a Grafeas note.
1773
+ class InToto
1774
+ include Google::Apis::Core::Hashable
1775
+
1776
+ # This field contains the expected command used to perform the step.
1777
+ # Corresponds to the JSON property `expectedCommand`
1778
+ # @return [Array<String>]
1779
+ attr_accessor :expected_command
1780
+
1781
+ # The following fields contain in-toto artifact rules identifying the
1782
+ # artifacts that enter this supply chain step, and exit the supply chain
1783
+ # step, i.e. materials and products of the step.
1784
+ # Corresponds to the JSON property `expectedMaterials`
1785
+ # @return [Array<Google::Apis::ContaineranalysisV1beta1::ArtifactRule>]
1786
+ attr_accessor :expected_materials
1787
+
1788
+ #
1789
+ # Corresponds to the JSON property `expectedProducts`
1790
+ # @return [Array<Google::Apis::ContaineranalysisV1beta1::ArtifactRule>]
1791
+ attr_accessor :expected_products
1792
+
1793
+ # This field contains the public keys that can be used to verify the
1794
+ # signatures on the step metadata.
1795
+ # Corresponds to the JSON property `signingKeys`
1796
+ # @return [Array<Google::Apis::ContaineranalysisV1beta1::SigningKey>]
1797
+ attr_accessor :signing_keys
1798
+
1799
+ # This field identifies the name of the step in the supply chain.
1800
+ # Corresponds to the JSON property `stepName`
1801
+ # @return [String]
1802
+ attr_accessor :step_name
1803
+
1804
+ # This field contains a value that indicates the minimum number of keys that
1805
+ # need to be used to sign the step's in-toto link.
1806
+ # Corresponds to the JSON property `threshold`
1807
+ # @return [Fixnum]
1808
+ attr_accessor :threshold
1809
+
1810
+ def initialize(**args)
1811
+ update!(**args)
1812
+ end
1813
+
1814
+ # Update properties of this object
1815
+ def update!(**args)
1816
+ @expected_command = args[:expected_command] if args.key?(:expected_command)
1817
+ @expected_materials = args[:expected_materials] if args.key?(:expected_materials)
1818
+ @expected_products = args[:expected_products] if args.key?(:expected_products)
1819
+ @signing_keys = args[:signing_keys] if args.key?(:signing_keys)
1820
+ @step_name = args[:step_name] if args.key?(:step_name)
1821
+ @threshold = args[:threshold] if args.key?(:threshold)
1822
+ end
1823
+ end
1824
+
1613
1825
  # This represents how a particular software package may be installed on a
1614
1826
  # system.
1615
1827
  class Installation
@@ -1688,6 +1900,67 @@ module Google
1688
1900
  end
1689
1901
  end
1690
1902
 
1903
+ # This corresponds to an in-toto link.
1904
+ class Link
1905
+ include Google::Apis::Core::Hashable
1906
+
1907
+ # Defines an object for the byproducts field in in-toto links. The suggested
1908
+ # fields are "stderr", "stdout", and "return-value".
1909
+ # Corresponds to the JSON property `byproducts`
1910
+ # @return [Google::Apis::ContaineranalysisV1beta1::ByProducts]
1911
+ attr_accessor :byproducts
1912
+
1913
+ # This field contains the full command executed for the step. This can also
1914
+ # be empty if links are generated for operations that aren't directly mapped
1915
+ # to a specific command. Each term in the command is an independent string
1916
+ # in the list. An example of a command in the in-toto metadata field is:
1917
+ # "command": ["git", "clone", "https://github.com/in-toto/demo-project.git"]
1918
+ # Corresponds to the JSON property `command`
1919
+ # @return [Array<String>]
1920
+ attr_accessor :command
1921
+
1922
+ # Defines an object for the environment field in in-toto links. The suggested
1923
+ # fields are "variables", "filesystem", and "workdir".
1924
+ # Corresponds to the JSON property `environment`
1925
+ # @return [Google::Apis::ContaineranalysisV1beta1::Environment]
1926
+ attr_accessor :environment
1927
+
1928
+ # Materials are the supply chain artifacts that go into the step and are used
1929
+ # for the operation performed. The key of the map is the path of the artifact
1930
+ # and the structure contains the recorded hash information. An example is:
1931
+ # "materials": [
1932
+ # `
1933
+ # "resource_uri": "foo/bar",
1934
+ # "hashes": `
1935
+ # "sha256": "ebebf...",
1936
+ # <OTHER HASH ALGORITHMS>: <HASH VALUE>
1937
+ # `
1938
+ # `
1939
+ # ]
1940
+ # Corresponds to the JSON property `materials`
1941
+ # @return [Array<Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1IntotoArtifact>]
1942
+ attr_accessor :materials
1943
+
1944
+ # Products are the supply chain artifacts generated as a result of the step.
1945
+ # The structure is identical to that of materials.
1946
+ # Corresponds to the JSON property `products`
1947
+ # @return [Array<Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1IntotoArtifact>]
1948
+ attr_accessor :products
1949
+
1950
+ def initialize(**args)
1951
+ update!(**args)
1952
+ end
1953
+
1954
+ # Update properties of this object
1955
+ def update!(**args)
1956
+ @byproducts = args[:byproducts] if args.key?(:byproducts)
1957
+ @command = args[:command] if args.key?(:command)
1958
+ @environment = args[:environment] if args.key?(:environment)
1959
+ @materials = args[:materials] if args.key?(:materials)
1960
+ @products = args[:products] if args.key?(:products)
1961
+ end
1962
+ end
1963
+
1691
1964
  # Response for listing occurrences for a note.
1692
1965
  class ListNoteOccurrencesResponse
1693
1966
  include Google::Apis::Core::Hashable
@@ -1881,6 +2154,12 @@ module Google
1881
2154
  # @return [String]
1882
2155
  attr_accessor :expiration_time
1883
2156
 
2157
+ # This contains the fields corresponding to the definition of a software supply
2158
+ # chain step in an in-toto layout. This information goes into a Grafeas note.
2159
+ # Corresponds to the JSON property `intoto`
2160
+ # @return [Google::Apis::ContaineranalysisV1beta1::InToto]
2161
+ attr_accessor :intoto
2162
+
1884
2163
  # Output only. The type of analysis. This field can be used as a filter in
1885
2164
  # list requests.
1886
2165
  # Corresponds to the JSON property `kind`
@@ -1944,6 +2223,7 @@ module Google
1944
2223
  @deployable = args[:deployable] if args.key?(:deployable)
1945
2224
  @discovery = args[:discovery] if args.key?(:discovery)
1946
2225
  @expiration_time = args[:expiration_time] if args.key?(:expiration_time)
2226
+ @intoto = args[:intoto] if args.key?(:intoto)
1947
2227
  @kind = args[:kind] if args.key?(:kind)
1948
2228
  @long_description = args[:long_description] if args.key?(:long_description)
1949
2229
  @name = args[:name] if args.key?(:name)
@@ -1995,6 +2275,13 @@ module Google
1995
2275
  # @return [Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1PackageDetails]
1996
2276
  attr_accessor :installation
1997
2277
 
2278
+ # This corresponds to a signed in-toto link - it is made up of one or more
2279
+ # signatures and the in-toto link itself. This is used for occurrences of a
2280
+ # Grafeas in-toto note.
2281
+ # Corresponds to the JSON property `intoto`
2282
+ # @return [Google::Apis::ContaineranalysisV1beta1::GrafeasV1beta1IntotoDetails]
2283
+ attr_accessor :intoto
2284
+
1998
2285
  # Output only. This explicitly denotes which of the occurrence details are
1999
2286
  # specified. This field can be used as a filter in list requests.
2000
2287
  # Corresponds to the JSON property `kind`
@@ -2047,6 +2334,7 @@ module Google
2047
2334
  @derived_image = args[:derived_image] if args.key?(:derived_image)
2048
2335
  @discovered = args[:discovered] if args.key?(:discovered)
2049
2336
  @installation = args[:installation] if args.key?(:installation)
2337
+ @intoto = args[:intoto] if args.key?(:intoto)
2050
2338
  @kind = args[:kind] if args.key?(:kind)
2051
2339
  @name = args[:name] if args.key?(:name)
2052
2340
  @note_name = args[:note_name] if args.key?(:note_name)
@@ -2183,10 +2471,13 @@ module Google
2183
2471
  # Google groups, and domains (such as G Suite). A `role` is a named list of
2184
2472
  # permissions; each `role` can be an IAM predefined role or a user-created
2185
2473
  # custom role.
2186
- # Optionally, a `binding` can specify a `condition`, which is a logical
2187
- # expression that allows access to a resource only if the expression evaluates
2188
- # to `true`. A condition can add constraints based on attributes of the
2189
- # request, the resource, or both.
2474
+ # For some types of Google Cloud resources, a `binding` can also specify a
2475
+ # `condition`, which is a logical expression that allows access to a resource
2476
+ # only if the expression evaluates to `true`. A condition can add constraints
2477
+ # based on attributes of the request, the resource, or both. To learn which
2478
+ # resources support conditions in their IAM policies, see the
2479
+ # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
2480
+ # policies).
2190
2481
  # **JSON example:**
2191
2482
  # `
2192
2483
  # "bindings": [
@@ -2201,7 +2492,9 @@ module Google
2201
2492
  # `,
2202
2493
  # `
2203
2494
  # "role": "roles/resourcemanager.organizationViewer",
2204
- # "members": ["user:eve@example.com"],
2495
+ # "members": [
2496
+ # "user:eve@example.com"
2497
+ # ],
2205
2498
  # "condition": `
2206
2499
  # "title": "expirable access",
2207
2500
  # "description": "Does not grant access after Sep 2020",
@@ -2274,6 +2567,9 @@ module Google
2274
2567
  # the conditions in the version `3` policy are lost.
2275
2568
  # If a policy does not include any conditions, operations on that policy may
2276
2569
  # specify any valid version or leave the field unset.
2570
+ # To learn which resources support conditions in their IAM policies, see the
2571
+ # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
2572
+ # policies).
2277
2573
  # Corresponds to the JSON property `version`
2278
2574
  # @return [Fixnum]
2279
2575
  attr_accessor :version
@@ -2460,10 +2756,13 @@ module Google
2460
2756
  # Google groups, and domains (such as G Suite). A `role` is a named list of
2461
2757
  # permissions; each `role` can be an IAM predefined role or a user-created
2462
2758
  # custom role.
2463
- # Optionally, a `binding` can specify a `condition`, which is a logical
2464
- # expression that allows access to a resource only if the expression evaluates
2465
- # to `true`. A condition can add constraints based on attributes of the
2466
- # request, the resource, or both.
2759
+ # For some types of Google Cloud resources, a `binding` can also specify a
2760
+ # `condition`, which is a logical expression that allows access to a resource
2761
+ # only if the expression evaluates to `true`. A condition can add constraints
2762
+ # based on attributes of the request, the resource, or both. To learn which
2763
+ # resources support conditions in their IAM policies, see the
2764
+ # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
2765
+ # policies).
2467
2766
  # **JSON example:**
2468
2767
  # `
2469
2768
  # "bindings": [
@@ -2478,7 +2777,9 @@ module Google
2478
2777
  # `,
2479
2778
  # `
2480
2779
  # "role": "roles/resourcemanager.organizationViewer",
2481
- # "members": ["user:eve@example.com"],
2780
+ # "members": [
2781
+ # "user:eve@example.com"
2782
+ # ],
2482
2783
  # "condition": `
2483
2784
  # "title": "expirable access",
2484
2785
  # "description": "Does not grant access after Sep 2020",
@@ -2587,6 +2888,55 @@ module Google
2587
2888
  end
2588
2889
  end
2589
2890
 
2891
+ # This defines the format used to record keys used in the software supply
2892
+ # chain. An in-toto link is attested using one or more keys defined in the
2893
+ # in-toto layout. An example of this is:
2894
+ # `
2895
+ # "key_id": "776a00e29f3559e0141b3b096f696abc6cfb0c657ab40f441132b345b0...",
2896
+ # "key_type": "rsa",
2897
+ # "public_key_value": "-----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0B...",
2898
+ # "key_scheme": "rsassa-pss-sha256"
2899
+ # `
2900
+ # The format for in-toto's key definition can be found in section 4.2 of the
2901
+ # in-toto specification.
2902
+ class SigningKey
2903
+ include Google::Apis::Core::Hashable
2904
+
2905
+ # key_id is an identifier for the signing key.
2906
+ # Corresponds to the JSON property `keyId`
2907
+ # @return [String]
2908
+ attr_accessor :key_id
2909
+
2910
+ # This field contains the corresponding signature scheme.
2911
+ # Eg: "rsassa-pss-sha256".
2912
+ # Corresponds to the JSON property `keyScheme`
2913
+ # @return [String]
2914
+ attr_accessor :key_scheme
2915
+
2916
+ # This field identifies the specific signing method. Eg: "rsa", "ed25519",
2917
+ # and "ecdsa".
2918
+ # Corresponds to the JSON property `keyType`
2919
+ # @return [String]
2920
+ attr_accessor :key_type
2921
+
2922
+ # This field contains the actual public key.
2923
+ # Corresponds to the JSON property `publicKeyValue`
2924
+ # @return [String]
2925
+ attr_accessor :public_key_value
2926
+
2927
+ def initialize(**args)
2928
+ update!(**args)
2929
+ end
2930
+
2931
+ # Update properties of this object
2932
+ def update!(**args)
2933
+ @key_id = args[:key_id] if args.key?(:key_id)
2934
+ @key_scheme = args[:key_scheme] if args.key?(:key_scheme)
2935
+ @key_type = args[:key_type] if args.key?(:key_type)
2936
+ @public_key_value = args[:public_key_value] if args.key?(:public_key_value)
2937
+ end
2938
+ end
2939
+
2590
2940
  # Source describes the location of the source used for the build.
2591
2941
  class Source
2592
2942
  include Google::Apis::Core::Hashable