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/kms/
27
27
  module CloudkmsV1
28
28
  VERSION = 'V1'
29
- REVISION = '20190824'
29
+ REVISION = '20190926'
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'
@@ -316,7 +316,7 @@ module Google
316
316
  # @return [Google::Apis::CloudkmsV1::CryptoKeyVersion]
317
317
  attr_accessor :primary
318
318
 
319
- # The immutable purpose of this CryptoKey.
319
+ # Immutable. The immutable purpose of this CryptoKey.
320
320
  # Corresponds to the JSON property `purpose`
321
321
  # @return [String]
322
322
  attr_accessor :purpose
@@ -501,7 +501,7 @@ module Google
501
501
  class DecryptRequest
502
502
  include Google::Apis::Core::Hashable
503
503
 
504
- # Optional data that must match the data originally supplied in
504
+ # Optional. Optional data that must match the data originally supplied in
505
505
  # EncryptRequest.additional_authenticated_data.
506
506
  # Corresponds to the JSON property `additionalAuthenticatedData`
507
507
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
@@ -597,7 +597,8 @@ module Google
597
597
  class EncryptRequest
598
598
  include Google::Apis::Core::Hashable
599
599
 
600
- # Optional data that, if specified, must also be provided during decryption
600
+ # Optional. Optional data that, if specified, must also be provided during
601
+ # decryption
601
602
  # through DecryptRequest.additional_authenticated_data.
602
603
  # The maximum size depends on the key version's
603
604
  # protection_level. For
@@ -739,6 +740,10 @@ module Google
739
740
  # using AES-KWP (RFC 5649).
740
741
  # </li>
741
742
  # </ol>
743
+ # If importing symmetric key material, it is expected that the unwrapped
744
+ # key contains plain bytes. If importing asymmetric key material, it is
745
+ # expected that the unwrapped key is in PKCS#8-encoded DER format (the
746
+ # PrivateKeyInfo structure from RFC 5208).
742
747
  # This format is the same as the format produced by PKCS#11 mechanism
743
748
  # CKM_RSA_AES_KEY_WRAP.
744
749
  # Corresponds to the JSON property `rsaAesWrappedKey`
@@ -813,8 +818,7 @@ module Google
813
818
  # @return [String]
814
819
  attr_accessor :generate_time
815
820
 
816
- # Required and immutable. The wrapping method to be used for incoming
817
- # key material.
821
+ # Required. Immutable. The wrapping method to be used for incoming key material.
818
822
  # Corresponds to the JSON property `importMethod`
819
823
  # @return [String]
820
824
  attr_accessor :import_method
@@ -825,8 +829,8 @@ module Google
825
829
  # @return [String]
826
830
  attr_accessor :name
827
831
 
828
- # Required and immutable. The protection level of the ImportJob. This
829
- # must match the
832
+ # Required. Immutable. The protection level of the ImportJob. This must match
833
+ # the
830
834
  # protection_level of the
831
835
  # version_template on the CryptoKey you
832
836
  # attempt to import into.
@@ -1146,25 +1150,34 @@ module Google
1146
1150
 
1147
1151
  # Defines an Identity and Access Management (IAM) policy. It is used to
1148
1152
  # specify access control policies for Cloud Platform resources.
1149
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
1150
- # `members` to a `role`, where the members can be user accounts, Google groups,
1151
- # Google domains, and service accounts. A `role` is a named list of permissions
1152
- # defined by IAM.
1153
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more
1154
+ # `members` to a single `role`. Members can be user accounts, service accounts,
1155
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
1156
+ # permissions (defined by IAM or configured by users). A `binding` can
1157
+ # optionally specify a `condition`, which is a logic expression that further
1158
+ # constrains the role binding based on attributes about the request and/or
1159
+ # target resource.
1153
1160
  # **JSON Example**
1154
1161
  # `
1155
1162
  # "bindings": [
1156
1163
  # `
1157
- # "role": "roles/owner",
1164
+ # "role": "roles/resourcemanager.organizationAdmin",
1158
1165
  # "members": [
1159
1166
  # "user:mike@example.com",
1160
1167
  # "group:admins@example.com",
1161
1168
  # "domain:google.com",
1162
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
1169
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
1163
1170
  # ]
1164
1171
  # `,
1165
1172
  # `
1166
- # "role": "roles/viewer",
1167
- # "members": ["user:sean@example.com"]
1173
+ # "role": "roles/resourcemanager.organizationViewer",
1174
+ # "members": ["user:eve@example.com"],
1175
+ # "condition": `
1176
+ # "title": "expirable access",
1177
+ # "description": "Does not grant access after Sep 2020",
1178
+ # "expression": "request.time <
1179
+ # timestamp('2020-10-01T00:00:00.000Z')",
1180
+ # `
1168
1181
  # `
1169
1182
  # ]
1170
1183
  # `
@@ -1174,11 +1187,15 @@ module Google
1174
1187
  # - user:mike@example.com
1175
1188
  # - group:admins@example.com
1176
1189
  # - domain:google.com
1177
- # - serviceAccount:my-other-app@appspot.gserviceaccount.com
1178
- # role: roles/owner
1190
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
1191
+ # role: roles/resourcemanager.organizationAdmin
1179
1192
  # - members:
1180
- # - user:sean@example.com
1181
- # role: roles/viewer
1193
+ # - user:eve@example.com
1194
+ # role: roles/resourcemanager.organizationViewer
1195
+ # condition:
1196
+ # title: expirable access
1197
+ # description: Does not grant access after Sep 2020
1198
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
1182
1199
  # For a description of IAM and its features, see the
1183
1200
  # [IAM developer's guide](https://cloud.google.com/iam/docs).
1184
1201
  class Policy
@@ -1189,7 +1206,8 @@ module Google
1189
1206
  # @return [Array<Google::Apis::CloudkmsV1::AuditConfig>]
1190
1207
  attr_accessor :audit_configs
1191
1208
 
1192
- # Associates a list of `members` to a `role`.
1209
+ # Associates a list of `members` to a `role`. Optionally may specify a
1210
+ # `condition` that determines when binding is in effect.
1193
1211
  # `bindings` with no members will result in an error.
1194
1212
  # Corresponds to the JSON property `bindings`
1195
1213
  # @return [Array<Google::Apis::CloudkmsV1::Binding>]
@@ -1203,13 +1221,24 @@ module Google
1203
1221
  # systems are expected to put that etag in the request to `setIamPolicy` to
1204
1222
  # ensure that their change will be applied to the same version of the policy.
1205
1223
  # If no `etag` is provided in the call to `setIamPolicy`, then the existing
1206
- # policy is overwritten.
1224
+ # policy is overwritten. Due to blind-set semantics of an etag-less policy,
1225
+ # 'setIamPolicy' will not fail even if either of incoming or stored policy
1226
+ # does not meet the version requirements.
1207
1227
  # Corresponds to the JSON property `etag`
1208
1228
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
1209
1229
  # @return [String]
1210
1230
  attr_accessor :etag
1211
1231
 
1212
- # Deprecated.
1232
+ # Specifies the format of the policy.
1233
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
1234
+ # rejected.
1235
+ # Operations affecting conditional bindings must specify version 3. This can
1236
+ # be either setting a conditional policy, modifying a conditional binding,
1237
+ # or removing a conditional binding from the stored conditional policy.
1238
+ # Operations on non-conditional policies may specify any valid value or
1239
+ # leave the field unset.
1240
+ # If no etag is provided in the call to `setIamPolicy`, any version
1241
+ # compliance checks on the incoming and/or stored policy is skipped.
1213
1242
  # Corresponds to the JSON property `version`
1214
1243
  # @return [Fixnum]
1215
1244
  attr_accessor :version
@@ -1277,25 +1306,34 @@ module Google
1277
1306
 
1278
1307
  # Defines an Identity and Access Management (IAM) policy. It is used to
1279
1308
  # specify access control policies for Cloud Platform resources.
1280
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
1281
- # `members` to a `role`, where the members can be user accounts, Google groups,
1282
- # Google domains, and service accounts. A `role` is a named list of permissions
1283
- # defined by IAM.
1309
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more
1310
+ # `members` to a single `role`. Members can be user accounts, service accounts,
1311
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
1312
+ # permissions (defined by IAM or configured by users). A `binding` can
1313
+ # optionally specify a `condition`, which is a logic expression that further
1314
+ # constrains the role binding based on attributes about the request and/or
1315
+ # target resource.
1284
1316
  # **JSON Example**
1285
1317
  # `
1286
1318
  # "bindings": [
1287
1319
  # `
1288
- # "role": "roles/owner",
1320
+ # "role": "roles/resourcemanager.organizationAdmin",
1289
1321
  # "members": [
1290
1322
  # "user:mike@example.com",
1291
1323
  # "group:admins@example.com",
1292
1324
  # "domain:google.com",
1293
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
1325
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
1294
1326
  # ]
1295
1327
  # `,
1296
1328
  # `
1297
- # "role": "roles/viewer",
1298
- # "members": ["user:sean@example.com"]
1329
+ # "role": "roles/resourcemanager.organizationViewer",
1330
+ # "members": ["user:eve@example.com"],
1331
+ # "condition": `
1332
+ # "title": "expirable access",
1333
+ # "description": "Does not grant access after Sep 2020",
1334
+ # "expression": "request.time <
1335
+ # timestamp('2020-10-01T00:00:00.000Z')",
1336
+ # `
1299
1337
  # `
1300
1338
  # ]
1301
1339
  # `
@@ -1305,11 +1343,15 @@ module Google
1305
1343
  # - user:mike@example.com
1306
1344
  # - group:admins@example.com
1307
1345
  # - domain:google.com
1308
- # - serviceAccount:my-other-app@appspot.gserviceaccount.com
1309
- # role: roles/owner
1346
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
1347
+ # role: roles/resourcemanager.organizationAdmin
1310
1348
  # - members:
1311
- # - user:sean@example.com
1312
- # role: roles/viewer
1349
+ # - user:eve@example.com
1350
+ # role: roles/resourcemanager.organizationViewer
1351
+ # condition:
1352
+ # title: expirable access
1353
+ # description: Does not grant access after Sep 2020
1354
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
1313
1355
  # For a description of IAM and its features, see the
1314
1356
  # [IAM developer's guide](https://cloud.google.com/iam/docs).
1315
1357
  # Corresponds to the JSON property `policy`
@@ -1382,7 +1424,7 @@ module Google
1382
1424
  class UpdateCryptoKeyPrimaryVersionRequest
1383
1425
  include Google::Apis::Core::Hashable
1384
1426
 
1385
- # The id of the child CryptoKeyVersion to use as primary.
1427
+ # Required. The id of the child CryptoKeyVersion to use as primary.
1386
1428
  # Corresponds to the JSON property `cryptoKeyVersionId`
1387
1429
  # @return [String]
1388
1430
  attr_accessor :crypto_key_version_id
@@ -157,7 +157,7 @@ module Google
157
157
 
158
158
  # Returns metadata for a given KeyRing.
159
159
  # @param [String] name
160
- # The name of the KeyRing to get.
160
+ # Required. The name of the KeyRing to get.
161
161
  # @param [String] fields
162
162
  # Selector specifying which fields to include in a partial response.
163
163
  # @param [String] quota_user
@@ -193,9 +193,11 @@ module Google
193
193
  # See the operation documentation for the appropriate value for this field.
194
194
  # @param [Fixnum] options_requested_policy_version
195
195
  # Optional. The policy format version to be returned.
196
- # Acceptable values are 0, 1, and 3.
197
- # If the value is 0, or the field is omitted, policy format version 1 will be
198
- # returned.
196
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
197
+ # rejected.
198
+ # Requests for policies with any conditional bindings must specify version 3.
199
+ # Policies without any conditional bindings may specify any valid value or
200
+ # leave the field unset.
199
201
  # @param [String] fields
200
202
  # Selector specifying which fields to include in a partial response.
201
203
  # @param [String] quota_user
@@ -239,12 +241,12 @@ module Google
239
241
  # [Sorting and filtering list
240
242
  # results](https://cloud.google.com/kms/docs/sorting-and-filtering).
241
243
  # @param [Fixnum] page_size
242
- # Optional limit on the number of KeyRings to include in the
244
+ # Optional. Optional limit on the number of KeyRings to include in the
243
245
  # response. Further KeyRings can subsequently be obtained by
244
246
  # including the ListKeyRingsResponse.next_page_token in a subsequent
245
247
  # request. If unspecified, the server will pick an appropriate default.
246
248
  # @param [String] page_token
247
- # Optional pagination token, returned earlier via
249
+ # Optional. Optional pagination token, returned earlier via
248
250
  # ListKeyRingsResponse.next_page_token.
249
251
  # @param [String] fields
250
252
  # Selector specifying which fields to include in a partial response.
@@ -475,7 +477,7 @@ module Google
475
477
  # Returns metadata for a given CryptoKey, as well as its
476
478
  # primary CryptoKeyVersion.
477
479
  # @param [String] name
478
- # The name of the CryptoKey to get.
480
+ # Required. The name of the CryptoKey to get.
479
481
  # @param [String] fields
480
482
  # Selector specifying which fields to include in a partial response.
481
483
  # @param [String] quota_user
@@ -511,9 +513,11 @@ module Google
511
513
  # See the operation documentation for the appropriate value for this field.
512
514
  # @param [Fixnum] options_requested_policy_version
513
515
  # Optional. The policy format version to be returned.
514
- # Acceptable values are 0, 1, and 3.
515
- # If the value is 0, or the field is omitted, policy format version 1 will be
516
- # returned.
516
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
517
+ # rejected.
518
+ # Requests for policies with any conditional bindings must specify version 3.
519
+ # Policies without any conditional bindings may specify any valid value or
520
+ # leave the field unset.
517
521
  # @param [String] fields
518
522
  # Selector specifying which fields to include in a partial response.
519
523
  # @param [String] quota_user
@@ -557,12 +561,12 @@ module Google
557
561
  # [Sorting and filtering list
558
562
  # results](https://cloud.google.com/kms/docs/sorting-and-filtering).
559
563
  # @param [Fixnum] page_size
560
- # Optional limit on the number of CryptoKeys to include in the
564
+ # Optional. Optional limit on the number of CryptoKeys to include in the
561
565
  # response. Further CryptoKeys can subsequently be obtained by
562
566
  # including the ListCryptoKeysResponse.next_page_token in a subsequent
563
567
  # request. If unspecified, the server will pick an appropriate default.
564
568
  # @param [String] page_token
565
- # Optional pagination token, returned earlier via
569
+ # Optional. Optional pagination token, returned earlier via
566
570
  # ListCryptoKeysResponse.next_page_token.
567
571
  # @param [String] version_view
568
572
  # The fields of the primary version to include in the response.
@@ -604,7 +608,7 @@ module Google
604
608
  # `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
605
609
  # @param [Google::Apis::CloudkmsV1::CryptoKey] crypto_key_object
606
610
  # @param [String] update_mask
607
- # Required list of fields to be updated in this request.
611
+ # Required. List of fields to be updated in this request.
608
612
  # @param [String] fields
609
613
  # Selector specifying which fields to include in a partial response.
610
614
  # @param [String] quota_user
@@ -712,7 +716,7 @@ module Google
712
716
  # Update the version of a CryptoKey that will be used in Encrypt.
713
717
  # Returns an error if called on an asymmetric key.
714
718
  # @param [String] name
715
- # The resource name of the CryptoKey to update.
719
+ # Required. The resource name of the CryptoKey to update.
716
720
  # @param [Google::Apis::CloudkmsV1::UpdateCryptoKeyPrimaryVersionRequest] update_crypto_key_primary_version_request_object
717
721
  # @param [String] fields
718
722
  # Selector specifying which fields to include in a partial response.
@@ -862,7 +866,7 @@ module Google
862
866
  # Before the destroy_time is reached,
863
867
  # RestoreCryptoKeyVersion may be called to reverse the process.
864
868
  # @param [String] name
865
- # The resource name of the CryptoKeyVersion to destroy.
869
+ # Required. The resource name of the CryptoKeyVersion to destroy.
866
870
  # @param [Google::Apis::CloudkmsV1::DestroyCryptoKeyVersionRequest] destroy_crypto_key_version_request_object
867
871
  # @param [String] fields
868
872
  # Selector specifying which fields to include in a partial response.
@@ -895,7 +899,7 @@ module Google
895
899
 
896
900
  # Returns metadata for a given CryptoKeyVersion.
897
901
  # @param [String] name
898
- # The name of the CryptoKeyVersion to get.
902
+ # Required. The name of the CryptoKeyVersion to get.
899
903
  # @param [String] fields
900
904
  # Selector specifying which fields to include in a partial response.
901
905
  # @param [String] quota_user
@@ -928,7 +932,7 @@ module Google
928
932
  # ASYMMETRIC_SIGN or
929
933
  # ASYMMETRIC_DECRYPT.
930
934
  # @param [String] name
931
- # The name of the CryptoKeyVersion public key to
935
+ # Required. The name of the CryptoKeyVersion public key to
932
936
  # get.
933
937
  # @param [String] fields
934
938
  # Selector specifying which fields to include in a partial response.
@@ -1009,13 +1013,13 @@ module Google
1009
1013
  # [Sorting and filtering list
1010
1014
  # results](https://cloud.google.com/kms/docs/sorting-and-filtering).
1011
1015
  # @param [Fixnum] page_size
1012
- # Optional limit on the number of CryptoKeyVersions to
1016
+ # Optional. Optional limit on the number of CryptoKeyVersions to
1013
1017
  # include in the response. Further CryptoKeyVersions can
1014
1018
  # subsequently be obtained by including the
1015
1019
  # ListCryptoKeyVersionsResponse.next_page_token in a subsequent request.
1016
1020
  # If unspecified, the server will pick an appropriate default.
1017
1021
  # @param [String] page_token
1018
- # Optional pagination token, returned earlier via
1022
+ # Optional. Optional pagination token, returned earlier via
1019
1023
  # ListCryptoKeyVersionsResponse.next_page_token.
1020
1024
  # @param [String] view
1021
1025
  # The fields to include in the response.
@@ -1062,7 +1066,7 @@ module Google
1062
1066
  # `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
1063
1067
  # @param [Google::Apis::CloudkmsV1::CryptoKeyVersion] crypto_key_version_object
1064
1068
  # @param [String] update_mask
1065
- # Required list of fields to be updated in this request.
1069
+ # Required. List of fields to be updated in this request.
1066
1070
  # @param [String] fields
1067
1071
  # Selector specifying which fields to include in a partial response.
1068
1072
  # @param [String] quota_user
@@ -1100,7 +1104,7 @@ module Google
1100
1104
  # will be set to DISABLED,
1101
1105
  # and destroy_time will be cleared.
1102
1106
  # @param [String] name
1103
- # The resource name of the CryptoKeyVersion to restore.
1107
+ # Required. The resource name of the CryptoKeyVersion to restore.
1104
1108
  # @param [Google::Apis::CloudkmsV1::RestoreCryptoKeyVersionRequest] restore_crypto_key_version_request_object
1105
1109
  # @param [String] fields
1106
1110
  # Selector specifying which fields to include in a partial response.
@@ -1172,7 +1176,7 @@ module Google
1172
1176
 
1173
1177
  # Returns metadata for a given ImportJob.
1174
1178
  # @param [String] name
1175
- # The name of the ImportJob to get.
1179
+ # Required. The name of the ImportJob to get.
1176
1180
  # @param [String] fields
1177
1181
  # Selector specifying which fields to include in a partial response.
1178
1182
  # @param [String] quota_user
@@ -1208,9 +1212,11 @@ module Google
1208
1212
  # See the operation documentation for the appropriate value for this field.
1209
1213
  # @param [Fixnum] options_requested_policy_version
1210
1214
  # Optional. The policy format version to be returned.
1211
- # Acceptable values are 0, 1, and 3.
1212
- # If the value is 0, or the field is omitted, policy format version 1 will be
1213
- # returned.
1215
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
1216
+ # rejected.
1217
+ # Requests for policies with any conditional bindings must specify version 3.
1218
+ # Policies without any conditional bindings may specify any valid value or
1219
+ # leave the field unset.
1214
1220
  # @param [String] fields
1215
1221
  # Selector specifying which fields to include in a partial response.
1216
1222
  # @param [String] quota_user
@@ -1254,12 +1260,12 @@ module Google
1254
1260
  # [Sorting and filtering list
1255
1261
  # results](https://cloud.google.com/kms/docs/sorting-and-filtering).
1256
1262
  # @param [Fixnum] page_size
1257
- # Optional limit on the number of ImportJobs to include in the
1263
+ # Optional. Optional limit on the number of ImportJobs to include in the
1258
1264
  # response. Further ImportJobs can subsequently be obtained by
1259
1265
  # including the ListImportJobsResponse.next_page_token in a subsequent
1260
1266
  # request. If unspecified, the server will pick an appropriate default.
1261
1267
  # @param [String] page_token
1262
- # Optional pagination token, returned earlier via
1268
+ # Optional. Optional pagination token, returned earlier via
1263
1269
  # ListImportJobsResponse.next_page_token.
1264
1270
  # @param [String] fields
1265
1271
  # Selector specifying which fields to include in a partial response.
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/private-catalog/
27
27
  module CloudprivatecatalogproducerV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20190907'
29
+ REVISION = '20190921'
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'
@@ -747,25 +747,34 @@ module Google
747
747
 
748
748
  # Defines an Identity and Access Management (IAM) policy. It is used to
749
749
  # specify access control policies for Cloud Platform resources.
750
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
751
- # `members` to a `role`, where the members can be user accounts, Google groups,
752
- # Google domains, and service accounts. A `role` is a named list of permissions
753
- # defined by IAM.
750
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more
751
+ # `members` to a single `role`. Members can be user accounts, service accounts,
752
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
753
+ # permissions (defined by IAM or configured by users). A `binding` can
754
+ # optionally specify a `condition`, which is a logic expression that further
755
+ # constrains the role binding based on attributes about the request and/or
756
+ # target resource.
754
757
  # **JSON Example**
755
758
  # `
756
759
  # "bindings": [
757
760
  # `
758
- # "role": "roles/owner",
761
+ # "role": "roles/resourcemanager.organizationAdmin",
759
762
  # "members": [
760
763
  # "user:mike@example.com",
761
764
  # "group:admins@example.com",
762
765
  # "domain:google.com",
763
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
766
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
764
767
  # ]
765
768
  # `,
766
769
  # `
767
- # "role": "roles/viewer",
768
- # "members": ["user:sean@example.com"]
770
+ # "role": "roles/resourcemanager.organizationViewer",
771
+ # "members": ["user:eve@example.com"],
772
+ # "condition": `
773
+ # "title": "expirable access",
774
+ # "description": "Does not grant access after Sep 2020",
775
+ # "expression": "request.time <
776
+ # timestamp('2020-10-01T00:00:00.000Z')",
777
+ # `
769
778
  # `
770
779
  # ]
771
780
  # `
@@ -775,11 +784,15 @@ module Google
775
784
  # - user:mike@example.com
776
785
  # - group:admins@example.com
777
786
  # - domain:google.com
778
- # - serviceAccount:my-other-app@appspot.gserviceaccount.com
779
- # role: roles/owner
787
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
788
+ # role: roles/resourcemanager.organizationAdmin
780
789
  # - members:
781
- # - user:sean@example.com
782
- # role: roles/viewer
790
+ # - user:eve@example.com
791
+ # role: roles/resourcemanager.organizationViewer
792
+ # condition:
793
+ # title: expirable access
794
+ # description: Does not grant access after Sep 2020
795
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
783
796
  # For a description of IAM and its features, see the
784
797
  # [IAM developer's guide](https://cloud.google.com/iam/docs).
785
798
  class GoogleIamV1Policy
@@ -790,7 +803,8 @@ module Google
790
803
  # @return [Array<Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1AuditConfig>]
791
804
  attr_accessor :audit_configs
792
805
 
793
- # Associates a list of `members` to a `role`.
806
+ # Associates a list of `members` to a `role`. Optionally may specify a
807
+ # `condition` that determines when binding is in effect.
794
808
  # `bindings` with no members will result in an error.
795
809
  # Corresponds to the JSON property `bindings`
796
810
  # @return [Array<Google::Apis::CloudprivatecatalogproducerV1beta1::GoogleIamV1Binding>]
@@ -804,7 +818,9 @@ module Google
804
818
  # systems are expected to put that etag in the request to `setIamPolicy` to
805
819
  # ensure that their change will be applied to the same version of the policy.
806
820
  # If no `etag` is provided in the call to `setIamPolicy`, then the existing
807
- # policy is overwritten.
821
+ # policy is overwritten. Due to blind-set semantics of an etag-less policy,
822
+ # 'setIamPolicy' will not fail even if either of incoming or stored policy
823
+ # does not meet the version requirements.
808
824
  # Corresponds to the JSON property `etag`
809
825
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
810
826
  # @return [String]
@@ -813,9 +829,13 @@ module Google
813
829
  # Specifies the format of the policy.
814
830
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
815
831
  # rejected.
816
- # Policies with any conditional bindings must specify version 3. Policies
817
- # without any conditional bindings may specify any valid value or leave the
818
- # field unset.
832
+ # Operations affecting conditional bindings must specify version 3. This can
833
+ # be either setting a conditional policy, modifying a conditional binding,
834
+ # or removing a conditional binding from the stored conditional policy.
835
+ # Operations on non-conditional policies may specify any valid value or
836
+ # leave the field unset.
837
+ # If no etag is provided in the call to `setIamPolicy`, any version
838
+ # compliance checks on the incoming and/or stored policy is skipped.
819
839
  # Corresponds to the JSON property `version`
820
840
  # @return [Fixnum]
821
841
  attr_accessor :version
@@ -839,25 +859,34 @@ module Google
839
859
 
840
860
  # Defines an Identity and Access Management (IAM) policy. It is used to
841
861
  # specify access control policies for Cloud Platform resources.
842
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
843
- # `members` to a `role`, where the members can be user accounts, Google groups,
844
- # Google domains, and service accounts. A `role` is a named list of permissions
845
- # defined by IAM.
862
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more
863
+ # `members` to a single `role`. Members can be user accounts, service accounts,
864
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
865
+ # permissions (defined by IAM or configured by users). A `binding` can
866
+ # optionally specify a `condition`, which is a logic expression that further
867
+ # constrains the role binding based on attributes about the request and/or
868
+ # target resource.
846
869
  # **JSON Example**
847
870
  # `
848
871
  # "bindings": [
849
872
  # `
850
- # "role": "roles/owner",
873
+ # "role": "roles/resourcemanager.organizationAdmin",
851
874
  # "members": [
852
875
  # "user:mike@example.com",
853
876
  # "group:admins@example.com",
854
877
  # "domain:google.com",
855
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
878
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
856
879
  # ]
857
880
  # `,
858
881
  # `
859
- # "role": "roles/viewer",
860
- # "members": ["user:sean@example.com"]
882
+ # "role": "roles/resourcemanager.organizationViewer",
883
+ # "members": ["user:eve@example.com"],
884
+ # "condition": `
885
+ # "title": "expirable access",
886
+ # "description": "Does not grant access after Sep 2020",
887
+ # "expression": "request.time <
888
+ # timestamp('2020-10-01T00:00:00.000Z')",
889
+ # `
861
890
  # `
862
891
  # ]
863
892
  # `
@@ -867,11 +896,15 @@ module Google
867
896
  # - user:mike@example.com
868
897
  # - group:admins@example.com
869
898
  # - domain:google.com
870
- # - serviceAccount:my-other-app@appspot.gserviceaccount.com
871
- # role: roles/owner
899
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
900
+ # role: roles/resourcemanager.organizationAdmin
872
901
  # - members:
873
- # - user:sean@example.com
874
- # role: roles/viewer
902
+ # - user:eve@example.com
903
+ # role: roles/resourcemanager.organizationViewer
904
+ # condition:
905
+ # title: expirable access
906
+ # description: Does not grant access after Sep 2020
907
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
875
908
  # For a description of IAM and its features, see the
876
909
  # [IAM developer's guide](https://cloud.google.com/iam/docs).
877
910
  # Corresponds to the JSON property `policy`