google-api-client 0.31.0 → 0.32.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (295) hide show
  1. checksums.yaml +4 -4
  2. data/.kokoro/continuous/linux.cfg +11 -1
  3. data/.kokoro/continuous/osx.cfg +5 -0
  4. data/.kokoro/continuous/windows.cfg +10 -0
  5. data/.kokoro/presubmit/linux.cfg +11 -1
  6. data/.kokoro/presubmit/osx.cfg +5 -0
  7. data/.kokoro/presubmit/windows.cfg +10 -0
  8. data/CHANGELOG.md +107 -0
  9. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  10. data/generated/google/apis/androidmanagement_v1/classes.rb +12 -1
  11. data/generated/google/apis/androidmanagement_v1/representations.rb +1 -0
  12. data/generated/google/apis/bigquery_v2.rb +1 -1
  13. data/generated/google/apis/bigquery_v2/classes.rb +241 -0
  14. data/generated/google/apis/bigquery_v2/representations.rb +115 -0
  15. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  16. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +62 -29
  17. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  18. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +2 -2
  19. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -26
  20. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  21. data/generated/google/apis/bigqueryreservation_v1/classes.rb +7 -7
  22. data/generated/google/apis/bigqueryreservation_v1/representations.rb +3 -3
  23. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  24. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -175
  25. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -65
  26. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +0 -140
  27. data/generated/google/apis/bigqueryreservation_v1beta1.rb +37 -0
  28. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +497 -0
  29. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +236 -0
  30. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +713 -0
  31. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  32. data/generated/google/apis/binaryauthorization_v1/classes.rb +307 -0
  33. data/generated/google/apis/binaryauthorization_v1/representations.rb +88 -0
  34. data/generated/google/apis/binaryauthorization_v1/service.rb +230 -0
  35. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  36. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +62 -29
  37. data/generated/google/apis/blogger_v3.rb +1 -1
  38. data/generated/google/apis/blogger_v3/service.rb +6 -6
  39. data/generated/google/apis/calendar_v3.rb +1 -1
  40. data/generated/google/apis/calendar_v3/classes.rb +1 -0
  41. data/generated/google/apis/cloudasset_v1.rb +1 -1
  42. data/generated/google/apis/cloudasset_v1/classes.rb +72 -29
  43. data/generated/google/apis/cloudasset_v1/representations.rb +1 -0
  44. data/generated/google/apis/cloudasset_v1/service.rb +1 -1
  45. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  46. data/generated/google/apis/cloudasset_v1beta1/classes.rb +62 -29
  47. data/generated/google/apis/cloudasset_v1beta1/service.rb +2 -2
  48. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  49. data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -2
  50. data/generated/google/apis/cloudfunctions_v1/service.rb +10 -7
  51. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  52. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
  53. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +7 -6
  54. data/generated/google/apis/cloudidentity_v1.rb +4 -1
  55. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  56. data/generated/google/apis/cloudiot_v1.rb +1 -1
  57. data/generated/google/apis/cloudiot_v1/classes.rb +68 -35
  58. data/generated/google/apis/cloudiot_v1/service.rb +18 -17
  59. data/generated/google/apis/cloudkms_v1.rb +1 -1
  60. data/generated/google/apis/cloudkms_v1/classes.rb +77 -35
  61. data/generated/google/apis/cloudkms_v1/service.rb +33 -27
  62. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  63. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +62 -29
  64. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  65. data/generated/google/apis/cloudsearch_v1/classes.rb +354 -0
  66. data/generated/google/apis/cloudsearch_v1/representations.rb +196 -0
  67. data/generated/google/apis/cloudsearch_v1/service.rb +314 -2
  68. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  69. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +62 -29
  70. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  71. data/generated/google/apis/cloudtrace_v1/classes.rb +1 -1
  72. data/generated/google/apis/cloudtrace_v1/service.rb +10 -10
  73. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  74. data/generated/google/apis/cloudtrace_v2/classes.rb +3 -3
  75. data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
  76. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +7 -10
  77. data/generated/google/apis/compute_alpha.rb +1 -1
  78. data/generated/google/apis/compute_alpha/classes.rb +38 -42
  79. data/generated/google/apis/compute_alpha/representations.rb +5 -16
  80. data/generated/google/apis/compute_beta.rb +1 -1
  81. data/generated/google/apis/compute_beta/classes.rb +10 -5
  82. data/generated/google/apis/compute_v1.rb +1 -1
  83. data/generated/google/apis/compute_v1/classes.rb +1327 -4
  84. data/generated/google/apis/compute_v1/representations.rb +439 -0
  85. data/generated/google/apis/container_v1.rb +1 -1
  86. data/generated/google/apis/container_v1/classes.rb +111 -0
  87. data/generated/google/apis/container_v1/representations.rb +51 -0
  88. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  89. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +76 -30
  90. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
  91. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  92. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +70 -30
  93. data/generated/google/apis/content_v2.rb +1 -1
  94. data/generated/google/apis/content_v2/service.rb +0 -226
  95. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  96. data/generated/google/apis/dataflow_v1b3/classes.rb +42 -0
  97. data/generated/google/apis/dataflow_v1b3/representations.rb +4 -0
  98. data/generated/google/apis/dataproc_v1.rb +1 -1
  99. data/generated/google/apis/dataproc_v1/classes.rb +324 -38
  100. data/generated/google/apis/dataproc_v1/representations.rb +97 -0
  101. data/generated/google/apis/dataproc_v1/service.rb +613 -1
  102. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  103. data/generated/google/apis/dataproc_v1beta2/classes.rb +100 -54
  104. data/generated/google/apis/dataproc_v1beta2/service.rb +29 -22
  105. data/generated/google/apis/dialogflow_v2.rb +1 -1
  106. data/generated/google/apis/dialogflow_v2/classes.rb +363 -167
  107. data/generated/google/apis/dialogflow_v2/representations.rb +160 -49
  108. data/generated/google/apis/dialogflow_v2/service.rb +1 -1
  109. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  110. data/generated/google/apis/dialogflow_v2beta1/classes.rb +433 -178
  111. data/generated/google/apis/dialogflow_v2beta1/representations.rb +199 -59
  112. data/generated/google/apis/dialogflow_v2beta1/service.rb +39 -0
  113. data/generated/google/apis/dlp_v2.rb +1 -1
  114. data/generated/google/apis/dlp_v2/classes.rb +3 -4
  115. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  116. data/generated/google/apis/drive_v2.rb +1 -1
  117. data/generated/google/apis/drive_v2/classes.rb +2 -2
  118. data/generated/google/apis/drive_v3.rb +1 -1
  119. data/generated/google/apis/drive_v3/classes.rb +2 -2
  120. data/generated/google/apis/fcm_v1.rb +1 -1
  121. data/generated/google/apis/fcm_v1/classes.rb +9 -4
  122. data/generated/google/apis/file_v1.rb +1 -1
  123. data/generated/google/apis/file_v1/classes.rb +8 -0
  124. data/generated/google/apis/file_v1/representations.rb +1 -0
  125. data/generated/google/apis/file_v1/service.rb +2 -0
  126. data/generated/google/apis/file_v1beta1.rb +1 -1
  127. data/generated/google/apis/file_v1beta1/classes.rb +8 -0
  128. data/generated/google/apis/file_v1beta1/representations.rb +1 -0
  129. data/generated/google/apis/file_v1beta1/service.rb +2 -0
  130. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  131. data/generated/google/apis/firebase_v1beta1/classes.rb +41 -4
  132. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
  133. data/generated/google/apis/firebase_v1beta1/service.rb +22 -14
  134. data/generated/google/apis/fitness_v1.rb +19 -19
  135. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  136. data/generated/google/apis/healthcare_v1beta1/classes.rb +136 -100
  137. data/generated/google/apis/healthcare_v1beta1/representations.rb +1 -1
  138. data/generated/google/apis/healthcare_v1beta1/service.rb +124 -119
  139. data/generated/google/apis/iam_v1.rb +1 -1
  140. data/generated/google/apis/iam_v1/classes.rb +87 -41
  141. data/generated/google/apis/iap_v1.rb +1 -1
  142. data/generated/google/apis/iap_v1/classes.rb +62 -29
  143. data/generated/google/apis/iap_v1beta1.rb +1 -1
  144. data/generated/google/apis/iap_v1beta1/classes.rb +62 -29
  145. data/generated/google/apis/ml_v1.rb +1 -1
  146. data/generated/google/apis/ml_v1/classes.rb +114 -49
  147. data/generated/google/apis/ml_v1/representations.rb +2 -0
  148. data/generated/google/apis/ml_v1/service.rb +12 -6
  149. data/generated/google/apis/monitoring_v3.rb +1 -1
  150. data/generated/google/apis/monitoring_v3/classes.rb +14 -10
  151. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  152. data/generated/google/apis/oslogin_v1.rb +1 -1
  153. data/generated/google/apis/oslogin_v1/classes.rb +12 -0
  154. data/generated/google/apis/oslogin_v1/representations.rb +2 -0
  155. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  156. data/generated/google/apis/oslogin_v1alpha/classes.rb +12 -0
  157. data/generated/google/apis/oslogin_v1alpha/representations.rb +2 -0
  158. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  159. data/generated/google/apis/oslogin_v1beta/classes.rb +12 -0
  160. data/generated/google/apis/oslogin_v1beta/representations.rb +2 -0
  161. data/generated/google/apis/policytroubleshooter_v1beta.rb +34 -0
  162. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +621 -0
  163. data/generated/google/apis/policytroubleshooter_v1beta/representations.rb +203 -0
  164. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +91 -0
  165. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  166. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +7 -4
  167. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +60 -58
  168. data/generated/google/apis/recommender_v1beta1.rb +34 -0
  169. data/generated/google/apis/recommender_v1beta1/classes.rb +502 -0
  170. data/generated/google/apis/recommender_v1beta1/representations.rb +232 -0
  171. data/generated/google/apis/recommender_v1beta1/service.rb +262 -0
  172. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  173. data/generated/google/apis/remotebuildexecution_v1/classes.rb +49 -1100
  174. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -276
  175. data/generated/google/apis/remotebuildexecution_v1/service.rb +0 -77
  176. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  177. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +12 -990
  178. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -245
  179. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  180. data/generated/google/apis/remotebuildexecution_v2/classes.rb +12 -990
  181. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -245
  182. data/generated/google/apis/run_v1.rb +1 -1
  183. data/generated/google/apis/run_v1/classes.rb +3553 -33
  184. data/generated/google/apis/run_v1/representations.rb +1186 -4
  185. data/generated/google/apis/run_v1/service.rb +2509 -23
  186. data/generated/google/apis/run_v1alpha1.rb +1 -1
  187. data/generated/google/apis/run_v1alpha1/classes.rb +103 -140
  188. data/generated/google/apis/run_v1alpha1/representations.rb +5 -43
  189. data/generated/google/apis/run_v1beta1.rb +35 -0
  190. data/generated/google/apis/run_v1beta1/classes.rb +1209 -0
  191. data/generated/google/apis/run_v1beta1/representations.rb +421 -0
  192. data/generated/google/apis/run_v1beta1/service.rb +172 -0
  193. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  194. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +62 -29
  195. data/generated/google/apis/safebrowsing_v4.rb +5 -2
  196. data/generated/google/apis/safebrowsing_v4/service.rb +4 -1
  197. data/generated/google/apis/securitycenter_v1.rb +1 -1
  198. data/generated/google/apis/securitycenter_v1/classes.rb +70 -35
  199. data/generated/google/apis/securitycenter_v1/service.rb +13 -12
  200. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  201. data/generated/google/apis/securitycenter_v1beta1/classes.rb +71 -35
  202. data/generated/google/apis/securitycenter_v1beta1/service.rb +13 -12
  203. data/generated/google/apis/servicebroker_v1.rb +1 -1
  204. data/generated/google/apis/servicebroker_v1/classes.rb +62 -29
  205. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  206. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +62 -29
  207. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  208. data/generated/google/apis/servicebroker_v1beta1/classes.rb +62 -29
  209. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  210. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +11 -2
  211. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
  212. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  213. data/generated/google/apis/servicemanagement_v1/classes.rb +63 -33
  214. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  215. data/generated/google/apis/servicenetworking_v1/classes.rb +11 -2
  216. data/generated/google/apis/servicenetworking_v1/representations.rb +1 -0
  217. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  218. data/generated/google/apis/servicenetworking_v1beta/classes.rb +11 -2
  219. data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -0
  220. data/generated/google/apis/serviceusage_v1.rb +1 -1
  221. data/generated/google/apis/serviceusage_v1/classes.rb +11 -2
  222. data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
  223. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  224. data/generated/google/apis/serviceusage_v1beta1/classes.rb +11 -2
  225. data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
  226. data/generated/google/apis/spanner_v1.rb +1 -1
  227. data/generated/google/apis/spanner_v1/classes.rb +78 -2
  228. data/generated/google/apis/spanner_v1/representations.rb +44 -0
  229. data/generated/google/apis/spanner_v1/service.rb +35 -0
  230. data/generated/google/apis/speech_v1.rb +1 -1
  231. data/generated/google/apis/speech_v1/classes.rb +73 -19
  232. data/generated/google/apis/speech_v1/representations.rb +18 -0
  233. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  234. data/generated/google/apis/speech_v1p1beta1/classes.rb +31 -35
  235. data/generated/google/apis/speech_v2beta.rb +1 -1
  236. data/generated/google/apis/speech_v2beta/classes.rb +6 -6
  237. data/generated/google/apis/speech_v2beta/representations.rb +2 -2
  238. data/generated/google/apis/storage_v1.rb +1 -1
  239. data/generated/google/apis/storage_v1/classes.rb +1 -1
  240. data/generated/google/apis/storage_v1/representations.rb +2 -1
  241. data/generated/google/apis/storage_v1beta1.rb +1 -1
  242. data/generated/google/apis/storage_v1beta2.rb +1 -1
  243. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  244. data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
  245. data/generated/google/apis/streetviewpublish_v1/service.rb +9 -5
  246. data/generated/google/apis/testing_v1.rb +1 -1
  247. data/generated/google/apis/testing_v1/classes.rb +42 -0
  248. data/generated/google/apis/testing_v1/representations.rb +18 -0
  249. data/generated/google/apis/texttospeech_v1.rb +1 -1
  250. data/generated/google/apis/texttospeech_v1/classes.rb +6 -5
  251. data/generated/google/apis/texttospeech_v1/service.rb +1 -1
  252. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  253. data/generated/google/apis/texttospeech_v1beta1/classes.rb +6 -5
  254. data/generated/google/apis/texttospeech_v1beta1/service.rb +1 -1
  255. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  256. data/generated/google/apis/toolresults_v1beta3/classes.rb +1 -1
  257. data/generated/google/apis/translate_v3beta1.rb +1 -1
  258. data/generated/google/apis/translate_v3beta1/classes.rb +22 -16
  259. data/generated/google/apis/translate_v3beta1/service.rb +31 -31
  260. data/generated/google/apis/videointelligence_v1.rb +1 -1
  261. data/generated/google/apis/videointelligence_v1/classes.rb +45 -10
  262. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  263. data/generated/google/apis/videointelligence_v1beta2/classes.rb +45 -10
  264. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  265. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +45 -10
  266. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  267. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +45 -10
  268. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  269. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +45 -10
  270. data/generated/google/apis/vision_v1.rb +1 -1
  271. data/generated/google/apis/vision_v1/classes.rb +6 -156
  272. data/generated/google/apis/vision_v1/representations.rb +0 -44
  273. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  274. data/generated/google/apis/vision_v1p1beta1/classes.rb +6 -156
  275. data/generated/google/apis/vision_v1p1beta1/representations.rb +0 -44
  276. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  277. data/generated/google/apis/vision_v1p2beta1/classes.rb +6 -156
  278. data/generated/google/apis/vision_v1p2beta1/representations.rb +0 -44
  279. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  280. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  281. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +21 -31
  282. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
  283. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  284. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +30 -42
  285. data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
  286. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  287. data/generated/google/apis/youtube_partner_v1/classes.rb +0 -83
  288. data/generated/google/apis/youtube_partner_v1/representations.rb +0 -35
  289. data/generated/google/apis/youtube_partner_v1/service.rb +0 -100
  290. data/lib/google/apis/version.rb +1 -1
  291. metadata +18 -6
  292. data/generated/google/apis/dfareporting_v3_1.rb +0 -40
  293. data/generated/google/apis/dfareporting_v3_1/classes.rb +0 -11998
  294. data/generated/google/apis/dfareporting_v3_1/representations.rb +0 -4313
  295. data/generated/google/apis/dfareporting_v3_1/service.rb +0 -8688
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/binary-authorization/
27
27
  module BinaryauthorizationV1
28
28
  VERSION = 'V1'
29
- REVISION = '20190906'
29
+ REVISION = '20190919'
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'
@@ -182,6 +182,54 @@ module Google
182
182
  end
183
183
  end
184
184
 
185
+ # Associates `members` with a `role`.
186
+ class Binding
187
+ include Google::Apis::Core::Hashable
188
+
189
+ # Represents an expression text. Example:
190
+ # title: "User account presence"
191
+ # description: "Determines whether the request has a user account"
192
+ # expression: "size(request.user) > 0"
193
+ # Corresponds to the JSON property `condition`
194
+ # @return [Google::Apis::BinaryauthorizationV1::Expr]
195
+ attr_accessor :condition
196
+
197
+ # Specifies the identities requesting access for a Cloud Platform resource.
198
+ # `members` can have the following values:
199
+ # * `allUsers`: A special identifier that represents anyone who is
200
+ # on the internet; with or without a Google account.
201
+ # * `allAuthenticatedUsers`: A special identifier that represents anyone
202
+ # who is authenticated with a Google account or a service account.
203
+ # * `user:`emailid``: An email address that represents a specific Google
204
+ # account. For example, `alice@example.com` .
205
+ # * `serviceAccount:`emailid``: An email address that represents a service
206
+ # account. For example, `my-other-app@appspot.gserviceaccount.com`.
207
+ # * `group:`emailid``: An email address that represents a Google group.
208
+ # For example, `admins@example.com`.
209
+ # * `domain:`domain``: The G Suite domain (primary) that represents all the
210
+ # users of that domain. For example, `google.com` or `example.com`.
211
+ # Corresponds to the JSON property `members`
212
+ # @return [Array<String>]
213
+ attr_accessor :members
214
+
215
+ # Role that is assigned to `members`.
216
+ # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
217
+ # Corresponds to the JSON property `role`
218
+ # @return [String]
219
+ attr_accessor :role
220
+
221
+ def initialize(**args)
222
+ update!(**args)
223
+ end
224
+
225
+ # Update properties of this object
226
+ def update!(**args)
227
+ @condition = args[:condition] if args.key?(:condition)
228
+ @members = args[:members] if args.key?(:members)
229
+ @role = args[:role] if args.key?(:role)
230
+ end
231
+ end
232
+
185
233
  # A generic empty message that you can re-use to avoid defining duplicated
186
234
  # empty messages in your APIs. A typical example is to use it as the request
187
235
  # or the response type of an API method. For instance:
@@ -201,6 +249,155 @@ module Google
201
249
  end
202
250
  end
203
251
 
252
+ # Represents an expression text. Example:
253
+ # title: "User account presence"
254
+ # description: "Determines whether the request has a user account"
255
+ # expression: "size(request.user) > 0"
256
+ class Expr
257
+ include Google::Apis::Core::Hashable
258
+
259
+ # An optional description of the expression. This is a longer text which
260
+ # describes the expression, e.g. when hovered over it in a UI.
261
+ # Corresponds to the JSON property `description`
262
+ # @return [String]
263
+ attr_accessor :description
264
+
265
+ # Textual representation of an expression in
266
+ # Common Expression Language syntax.
267
+ # The application context of the containing message determines which
268
+ # well-known feature set of CEL is supported.
269
+ # Corresponds to the JSON property `expression`
270
+ # @return [String]
271
+ attr_accessor :expression
272
+
273
+ # An optional string indicating the location of the expression for error
274
+ # reporting, e.g. a file name and a position in the file.
275
+ # Corresponds to the JSON property `location`
276
+ # @return [String]
277
+ attr_accessor :location
278
+
279
+ # An optional title for the expression, i.e. a short string describing
280
+ # its purpose. This can be used e.g. in UIs which allow to enter the
281
+ # expression.
282
+ # Corresponds to the JSON property `title`
283
+ # @return [String]
284
+ attr_accessor :title
285
+
286
+ def initialize(**args)
287
+ update!(**args)
288
+ end
289
+
290
+ # Update properties of this object
291
+ def update!(**args)
292
+ @description = args[:description] if args.key?(:description)
293
+ @expression = args[:expression] if args.key?(:expression)
294
+ @location = args[:location] if args.key?(:location)
295
+ @title = args[:title] if args.key?(:title)
296
+ end
297
+ end
298
+
299
+ # Defines an Identity and Access Management (IAM) policy. It is used to
300
+ # specify access control policies for Cloud Platform resources.
301
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more
302
+ # `members` to a single `role`. Members can be user accounts, service accounts,
303
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
304
+ # permissions (defined by IAM or configured by users). A `binding` can
305
+ # optionally specify a `condition`, which is a logic expression that further
306
+ # constrains the role binding based on attributes about the request and/or
307
+ # target resource.
308
+ # **JSON Example**
309
+ # `
310
+ # "bindings": [
311
+ # `
312
+ # "role": "role/resourcemanager.organizationAdmin",
313
+ # "members": [
314
+ # "user:mike@example.com",
315
+ # "group:admins@example.com",
316
+ # "domain:google.com",
317
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
318
+ # ]
319
+ # `,
320
+ # `
321
+ # "role": "roles/resourcemanager.organizationViewer",
322
+ # "members": ["user:eve@example.com"],
323
+ # "condition": `
324
+ # "title": "expirable access",
325
+ # "description": "Does not grant access after Sep 2020",
326
+ # "expression": "request.time <
327
+ # timestamp('2020-10-01T00:00:00.000Z')",
328
+ # `
329
+ # `
330
+ # ]
331
+ # `
332
+ # **YAML Example**
333
+ # bindings:
334
+ # - members:
335
+ # - user:mike@example.com
336
+ # - group:admins@example.com
337
+ # - domain:google.com
338
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
339
+ # role: roles/resourcemanager.organizationAdmin
340
+ # - members:
341
+ # - user:eve@example.com
342
+ # role: roles/resourcemanager.organizationViewer
343
+ # condition:
344
+ # title: expirable access
345
+ # description: Does not grant access after Sep 2020
346
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
347
+ # For a description of IAM and its features, see the
348
+ # [IAM developer's guide](https://cloud.google.com/iam/docs).
349
+ class IamPolicy
350
+ include Google::Apis::Core::Hashable
351
+
352
+ # Associates a list of `members` to a `role`. Optionally may specify a
353
+ # `condition` that determines when binding is in effect.
354
+ # `bindings` with no members will result in an error.
355
+ # Corresponds to the JSON property `bindings`
356
+ # @return [Array<Google::Apis::BinaryauthorizationV1::Binding>]
357
+ attr_accessor :bindings
358
+
359
+ # `etag` is used for optimistic concurrency control as a way to help
360
+ # prevent simultaneous updates of a policy from overwriting each other.
361
+ # It is strongly suggested that systems make use of the `etag` in the
362
+ # read-modify-write cycle to perform policy updates in order to avoid race
363
+ # conditions: An `etag` is returned in the response to `getIamPolicy`, and
364
+ # systems are expected to put that etag in the request to `setIamPolicy` to
365
+ # ensure that their change will be applied to the same version of the policy.
366
+ # If no `etag` is provided in the call to `setIamPolicy`, then the existing
367
+ # policy is overwritten. Due to blind-set semantics of an etag-less policy,
368
+ # 'setIamPolicy' will not fail even if either of incoming or stored policy
369
+ # does not meet the version requirements.
370
+ # Corresponds to the JSON property `etag`
371
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
372
+ # @return [String]
373
+ attr_accessor :etag
374
+
375
+ # Specifies the format of the policy.
376
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
377
+ # rejected.
378
+ # Operations affecting conditional bindings must specify version 3. This can
379
+ # be either setting a conditional policy, modifying a conditional binding,
380
+ # or removing a conditional binding from the stored conditional policy.
381
+ # Operations on non-conditional policies may specify any valid value or
382
+ # leave the field unset.
383
+ # If no etag is provided in the call to `setIamPolicy`, any version
384
+ # compliance checks on the incoming and/or stored policy is skipped.
385
+ # Corresponds to the JSON property `version`
386
+ # @return [Fixnum]
387
+ attr_accessor :version
388
+
389
+ def initialize(**args)
390
+ update!(**args)
391
+ end
392
+
393
+ # Update properties of this object
394
+ def update!(**args)
395
+ @bindings = args[:bindings] if args.key?(:bindings)
396
+ @etag = args[:etag] if args.key?(:etag)
397
+ @version = args[:version] if args.key?(:version)
398
+ end
399
+ end
400
+
204
401
  # Response message for BinauthzManagementService.ListAttestors.
205
402
  class ListAttestorsResponse
206
403
  include Google::Apis::Core::Hashable
@@ -334,6 +531,116 @@ module Google
334
531
  end
335
532
  end
336
533
 
534
+ # Request message for `SetIamPolicy` method.
535
+ class SetIamPolicyRequest
536
+ include Google::Apis::Core::Hashable
537
+
538
+ # Defines an Identity and Access Management (IAM) policy. It is used to
539
+ # specify access control policies for Cloud Platform resources.
540
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more
541
+ # `members` to a single `role`. Members can be user accounts, service accounts,
542
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
543
+ # permissions (defined by IAM or configured by users). A `binding` can
544
+ # optionally specify a `condition`, which is a logic expression that further
545
+ # constrains the role binding based on attributes about the request and/or
546
+ # target resource.
547
+ # **JSON Example**
548
+ # `
549
+ # "bindings": [
550
+ # `
551
+ # "role": "role/resourcemanager.organizationAdmin",
552
+ # "members": [
553
+ # "user:mike@example.com",
554
+ # "group:admins@example.com",
555
+ # "domain:google.com",
556
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
557
+ # ]
558
+ # `,
559
+ # `
560
+ # "role": "roles/resourcemanager.organizationViewer",
561
+ # "members": ["user:eve@example.com"],
562
+ # "condition": `
563
+ # "title": "expirable access",
564
+ # "description": "Does not grant access after Sep 2020",
565
+ # "expression": "request.time <
566
+ # timestamp('2020-10-01T00:00:00.000Z')",
567
+ # `
568
+ # `
569
+ # ]
570
+ # `
571
+ # **YAML Example**
572
+ # bindings:
573
+ # - members:
574
+ # - user:mike@example.com
575
+ # - group:admins@example.com
576
+ # - domain:google.com
577
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
578
+ # role: roles/resourcemanager.organizationAdmin
579
+ # - members:
580
+ # - user:eve@example.com
581
+ # role: roles/resourcemanager.organizationViewer
582
+ # condition:
583
+ # title: expirable access
584
+ # description: Does not grant access after Sep 2020
585
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
586
+ # For a description of IAM and its features, see the
587
+ # [IAM developer's guide](https://cloud.google.com/iam/docs).
588
+ # Corresponds to the JSON property `policy`
589
+ # @return [Google::Apis::BinaryauthorizationV1::IamPolicy]
590
+ attr_accessor :policy
591
+
592
+ def initialize(**args)
593
+ update!(**args)
594
+ end
595
+
596
+ # Update properties of this object
597
+ def update!(**args)
598
+ @policy = args[:policy] if args.key?(:policy)
599
+ end
600
+ end
601
+
602
+ # Request message for `TestIamPermissions` method.
603
+ class TestIamPermissionsRequest
604
+ include Google::Apis::Core::Hashable
605
+
606
+ # The set of permissions to check for the `resource`. Permissions with
607
+ # wildcards (such as '*' or 'storage.*') are not allowed. For more
608
+ # information see
609
+ # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
610
+ # Corresponds to the JSON property `permissions`
611
+ # @return [Array<String>]
612
+ attr_accessor :permissions
613
+
614
+ def initialize(**args)
615
+ update!(**args)
616
+ end
617
+
618
+ # Update properties of this object
619
+ def update!(**args)
620
+ @permissions = args[:permissions] if args.key?(:permissions)
621
+ end
622
+ end
623
+
624
+ # Response message for `TestIamPermissions` method.
625
+ class TestIamPermissionsResponse
626
+ include Google::Apis::Core::Hashable
627
+
628
+ # A subset of `TestPermissionsRequest.permissions` that the caller is
629
+ # allowed.
630
+ # Corresponds to the JSON property `permissions`
631
+ # @return [Array<String>]
632
+ attr_accessor :permissions
633
+
634
+ def initialize(**args)
635
+ update!(**args)
636
+ end
637
+
638
+ # Update properties of this object
639
+ def update!(**args)
640
+ @permissions = args[:permissions] if args.key?(:permissions)
641
+ end
642
+ end
643
+
337
644
  # An user owned Grafeas note references a Grafeas
338
645
  # Attestation.Authority Note created by the user.
339
646
  class UserOwnedGrafeasNote
@@ -46,12 +46,30 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
+ class Binding
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
49
55
  class Empty
50
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
57
 
52
58
  include Google::Apis::Core::JsonObjectSupport
53
59
  end
54
60
 
61
+ class Expr
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class IamPolicy
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
55
73
  class ListAttestorsResponse
56
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
75
 
@@ -70,6 +88,24 @@ module Google
70
88
  include Google::Apis::Core::JsonObjectSupport
71
89
  end
72
90
 
91
+ class SetIamPolicyRequest
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class TestIamPermissionsRequest
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class TestIamPermissionsResponse
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
73
109
  class UserOwnedGrafeasNote
74
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
111
 
@@ -114,12 +150,42 @@ module Google
114
150
  end
115
151
  end
116
152
 
153
+ class Binding
154
+ # @private
155
+ class Representation < Google::Apis::Core::JsonRepresentation
156
+ property :condition, as: 'condition', class: Google::Apis::BinaryauthorizationV1::Expr, decorator: Google::Apis::BinaryauthorizationV1::Expr::Representation
157
+
158
+ collection :members, as: 'members'
159
+ property :role, as: 'role'
160
+ end
161
+ end
162
+
117
163
  class Empty
118
164
  # @private
119
165
  class Representation < Google::Apis::Core::JsonRepresentation
120
166
  end
121
167
  end
122
168
 
169
+ class Expr
170
+ # @private
171
+ class Representation < Google::Apis::Core::JsonRepresentation
172
+ property :description, as: 'description'
173
+ property :expression, as: 'expression'
174
+ property :location, as: 'location'
175
+ property :title, as: 'title'
176
+ end
177
+ end
178
+
179
+ class IamPolicy
180
+ # @private
181
+ class Representation < Google::Apis::Core::JsonRepresentation
182
+ collection :bindings, as: 'bindings', class: Google::Apis::BinaryauthorizationV1::Binding, decorator: Google::Apis::BinaryauthorizationV1::Binding::Representation
183
+
184
+ property :etag, :base64 => true, as: 'etag'
185
+ property :version, as: 'version'
186
+ end
187
+ end
188
+
123
189
  class ListAttestorsResponse
124
190
  # @private
125
191
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -153,6 +219,28 @@ module Google
153
219
  end
154
220
  end
155
221
 
222
+ class SetIamPolicyRequest
223
+ # @private
224
+ class Representation < Google::Apis::Core::JsonRepresentation
225
+ property :policy, as: 'policy', class: Google::Apis::BinaryauthorizationV1::IamPolicy, decorator: Google::Apis::BinaryauthorizationV1::IamPolicy::Representation
226
+
227
+ end
228
+ end
229
+
230
+ class TestIamPermissionsRequest
231
+ # @private
232
+ class Representation < Google::Apis::Core::JsonRepresentation
233
+ collection :permissions, as: 'permissions'
234
+ end
235
+ end
236
+
237
+ class TestIamPermissionsResponse
238
+ # @private
239
+ class Representation < Google::Apis::Core::JsonRepresentation
240
+ collection :permissions, as: 'permissions'
241
+ end
242
+ end
243
+
156
244
  class UserOwnedGrafeasNote
157
245
  # @private
158
246
  class Representation < Google::Apis::Core::JsonRepresentation