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
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/kubernetes-engine/docs/concepts/add-on/service-broker
28
28
  module ServicebrokerV1alpha1
29
29
  VERSION = 'V1alpha1'
30
- REVISION = '20190909'
30
+ REVISION = '20190924'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -776,25 +776,34 @@ module Google
776
776
 
777
777
  # Defines an Identity and Access Management (IAM) policy. It is used to
778
778
  # specify access control policies for Cloud Platform resources.
779
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
780
- # `members` to a `role`, where the members can be user accounts, Google groups,
781
- # Google domains, and service accounts. A `role` is a named list of permissions
782
- # defined by IAM.
779
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more
780
+ # `members` to a single `role`. Members can be user accounts, service accounts,
781
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
782
+ # permissions (defined by IAM or configured by users). A `binding` can
783
+ # optionally specify a `condition`, which is a logic expression that further
784
+ # constrains the role binding based on attributes about the request and/or
785
+ # target resource.
783
786
  # **JSON Example**
784
787
  # `
785
788
  # "bindings": [
786
789
  # `
787
- # "role": "roles/owner",
790
+ # "role": "roles/resourcemanager.organizationAdmin",
788
791
  # "members": [
789
792
  # "user:mike@example.com",
790
793
  # "group:admins@example.com",
791
794
  # "domain:google.com",
792
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
795
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
793
796
  # ]
794
797
  # `,
795
798
  # `
796
- # "role": "roles/viewer",
797
- # "members": ["user:sean@example.com"]
799
+ # "role": "roles/resourcemanager.organizationViewer",
800
+ # "members": ["user:eve@example.com"],
801
+ # "condition": `
802
+ # "title": "expirable access",
803
+ # "description": "Does not grant access after Sep 2020",
804
+ # "expression": "request.time <
805
+ # timestamp('2020-10-01T00:00:00.000Z')",
806
+ # `
798
807
  # `
799
808
  # ]
800
809
  # `
@@ -804,17 +813,22 @@ module Google
804
813
  # - user:mike@example.com
805
814
  # - group:admins@example.com
806
815
  # - domain:google.com
807
- # - serviceAccount:my-other-app@appspot.gserviceaccount.com
808
- # role: roles/owner
816
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
817
+ # role: roles/resourcemanager.organizationAdmin
809
818
  # - members:
810
- # - user:sean@example.com
811
- # role: roles/viewer
819
+ # - user:eve@example.com
820
+ # role: roles/resourcemanager.organizationViewer
821
+ # condition:
822
+ # title: expirable access
823
+ # description: Does not grant access after Sep 2020
824
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
812
825
  # For a description of IAM and its features, see the
813
826
  # [IAM developer's guide](https://cloud.google.com/iam/docs).
814
827
  class GoogleIamV1Policy
815
828
  include Google::Apis::Core::Hashable
816
829
 
817
- # Associates a list of `members` to a `role`.
830
+ # Associates a list of `members` to a `role`. Optionally may specify a
831
+ # `condition` that determines when binding is in effect.
818
832
  # `bindings` with no members will result in an error.
819
833
  # Corresponds to the JSON property `bindings`
820
834
  # @return [Array<Google::Apis::ServicebrokerV1alpha1::GoogleIamV1Binding>]
@@ -828,7 +842,9 @@ module Google
828
842
  # systems are expected to put that etag in the request to `setIamPolicy` to
829
843
  # ensure that their change will be applied to the same version of the policy.
830
844
  # If no `etag` is provided in the call to `setIamPolicy`, then the existing
831
- # policy is overwritten.
845
+ # policy is overwritten. Due to blind-set semantics of an etag-less policy,
846
+ # 'setIamPolicy' will not fail even if either of incoming or stored policy
847
+ # does not meet the version requirements.
832
848
  # Corresponds to the JSON property `etag`
833
849
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
834
850
  # @return [String]
@@ -837,9 +853,13 @@ module Google
837
853
  # Specifies the format of the policy.
838
854
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
839
855
  # rejected.
840
- # Policies with any conditional bindings must specify version 3. Policies
841
- # without any conditional bindings may specify any valid value or leave the
842
- # field unset.
856
+ # Operations affecting conditional bindings must specify version 3. This can
857
+ # be either setting a conditional policy, modifying a conditional binding,
858
+ # or removing a conditional binding from the stored conditional policy.
859
+ # Operations on non-conditional policies may specify any valid value or
860
+ # leave the field unset.
861
+ # If no etag is provided in the call to `setIamPolicy`, any version
862
+ # compliance checks on the incoming and/or stored policy is skipped.
843
863
  # Corresponds to the JSON property `version`
844
864
  # @return [Fixnum]
845
865
  attr_accessor :version
@@ -862,25 +882,34 @@ module Google
862
882
 
863
883
  # Defines an Identity and Access Management (IAM) policy. It is used to
864
884
  # specify access control policies for Cloud Platform resources.
865
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
866
- # `members` to a `role`, where the members can be user accounts, Google groups,
867
- # Google domains, and service accounts. A `role` is a named list of permissions
868
- # defined by IAM.
885
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more
886
+ # `members` to a single `role`. Members can be user accounts, service accounts,
887
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
888
+ # permissions (defined by IAM or configured by users). A `binding` can
889
+ # optionally specify a `condition`, which is a logic expression that further
890
+ # constrains the role binding based on attributes about the request and/or
891
+ # target resource.
869
892
  # **JSON Example**
870
893
  # `
871
894
  # "bindings": [
872
895
  # `
873
- # "role": "roles/owner",
896
+ # "role": "roles/resourcemanager.organizationAdmin",
874
897
  # "members": [
875
898
  # "user:mike@example.com",
876
899
  # "group:admins@example.com",
877
900
  # "domain:google.com",
878
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
901
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
879
902
  # ]
880
903
  # `,
881
904
  # `
882
- # "role": "roles/viewer",
883
- # "members": ["user:sean@example.com"]
905
+ # "role": "roles/resourcemanager.organizationViewer",
906
+ # "members": ["user:eve@example.com"],
907
+ # "condition": `
908
+ # "title": "expirable access",
909
+ # "description": "Does not grant access after Sep 2020",
910
+ # "expression": "request.time <
911
+ # timestamp('2020-10-01T00:00:00.000Z')",
912
+ # `
884
913
  # `
885
914
  # ]
886
915
  # `
@@ -890,11 +919,15 @@ module Google
890
919
  # - user:mike@example.com
891
920
  # - group:admins@example.com
892
921
  # - domain:google.com
893
- # - serviceAccount:my-other-app@appspot.gserviceaccount.com
894
- # role: roles/owner
922
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
923
+ # role: roles/resourcemanager.organizationAdmin
895
924
  # - members:
896
- # - user:sean@example.com
897
- # role: roles/viewer
925
+ # - user:eve@example.com
926
+ # role: roles/resourcemanager.organizationViewer
927
+ # condition:
928
+ # title: expirable access
929
+ # description: Does not grant access after Sep 2020
930
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
898
931
  # For a description of IAM and its features, see the
899
932
  # [IAM developer's guide](https://cloud.google.com/iam/docs).
900
933
  # Corresponds to the JSON property `policy`
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/kubernetes-engine/docs/concepts/add-on/service-broker
28
28
  module ServicebrokerV1beta1
29
29
  VERSION = 'V1beta1'
30
- REVISION = '20190909'
30
+ REVISION = '20190924'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -893,25 +893,34 @@ module Google
893
893
 
894
894
  # Defines an Identity and Access Management (IAM) policy. It is used to
895
895
  # specify access control policies for Cloud Platform resources.
896
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
897
- # `members` to a `role`, where the members can be user accounts, Google groups,
898
- # Google domains, and service accounts. A `role` is a named list of permissions
899
- # defined by IAM.
896
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more
897
+ # `members` to a single `role`. Members can be user accounts, service accounts,
898
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
899
+ # permissions (defined by IAM or configured by users). A `binding` can
900
+ # optionally specify a `condition`, which is a logic expression that further
901
+ # constrains the role binding based on attributes about the request and/or
902
+ # target resource.
900
903
  # **JSON Example**
901
904
  # `
902
905
  # "bindings": [
903
906
  # `
904
- # "role": "roles/owner",
907
+ # "role": "roles/resourcemanager.organizationAdmin",
905
908
  # "members": [
906
909
  # "user:mike@example.com",
907
910
  # "group:admins@example.com",
908
911
  # "domain:google.com",
909
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
912
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
910
913
  # ]
911
914
  # `,
912
915
  # `
913
- # "role": "roles/viewer",
914
- # "members": ["user:sean@example.com"]
916
+ # "role": "roles/resourcemanager.organizationViewer",
917
+ # "members": ["user:eve@example.com"],
918
+ # "condition": `
919
+ # "title": "expirable access",
920
+ # "description": "Does not grant access after Sep 2020",
921
+ # "expression": "request.time <
922
+ # timestamp('2020-10-01T00:00:00.000Z')",
923
+ # `
915
924
  # `
916
925
  # ]
917
926
  # `
@@ -921,17 +930,22 @@ module Google
921
930
  # - user:mike@example.com
922
931
  # - group:admins@example.com
923
932
  # - domain:google.com
924
- # - serviceAccount:my-other-app@appspot.gserviceaccount.com
925
- # role: roles/owner
933
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
934
+ # role: roles/resourcemanager.organizationAdmin
926
935
  # - members:
927
- # - user:sean@example.com
928
- # role: roles/viewer
936
+ # - user:eve@example.com
937
+ # role: roles/resourcemanager.organizationViewer
938
+ # condition:
939
+ # title: expirable access
940
+ # description: Does not grant access after Sep 2020
941
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
929
942
  # For a description of IAM and its features, see the
930
943
  # [IAM developer's guide](https://cloud.google.com/iam/docs).
931
944
  class GoogleIamV1Policy
932
945
  include Google::Apis::Core::Hashable
933
946
 
934
- # Associates a list of `members` to a `role`.
947
+ # Associates a list of `members` to a `role`. Optionally may specify a
948
+ # `condition` that determines when binding is in effect.
935
949
  # `bindings` with no members will result in an error.
936
950
  # Corresponds to the JSON property `bindings`
937
951
  # @return [Array<Google::Apis::ServicebrokerV1beta1::GoogleIamV1Binding>]
@@ -945,7 +959,9 @@ module Google
945
959
  # systems are expected to put that etag in the request to `setIamPolicy` to
946
960
  # ensure that their change will be applied to the same version of the policy.
947
961
  # If no `etag` is provided in the call to `setIamPolicy`, then the existing
948
- # policy is overwritten.
962
+ # policy is overwritten. Due to blind-set semantics of an etag-less policy,
963
+ # 'setIamPolicy' will not fail even if either of incoming or stored policy
964
+ # does not meet the version requirements.
949
965
  # Corresponds to the JSON property `etag`
950
966
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
951
967
  # @return [String]
@@ -954,9 +970,13 @@ module Google
954
970
  # Specifies the format of the policy.
955
971
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
956
972
  # rejected.
957
- # Policies with any conditional bindings must specify version 3. Policies
958
- # without any conditional bindings may specify any valid value or leave the
959
- # field unset.
973
+ # Operations affecting conditional bindings must specify version 3. This can
974
+ # be either setting a conditional policy, modifying a conditional binding,
975
+ # or removing a conditional binding from the stored conditional policy.
976
+ # Operations on non-conditional policies may specify any valid value or
977
+ # leave the field unset.
978
+ # If no etag is provided in the call to `setIamPolicy`, any version
979
+ # compliance checks on the incoming and/or stored policy is skipped.
960
980
  # Corresponds to the JSON property `version`
961
981
  # @return [Fixnum]
962
982
  attr_accessor :version
@@ -979,25 +999,34 @@ module Google
979
999
 
980
1000
  # Defines an Identity and Access Management (IAM) policy. It is used to
981
1001
  # specify access control policies for Cloud Platform resources.
982
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
983
- # `members` to a `role`, where the members can be user accounts, Google groups,
984
- # Google domains, and service accounts. A `role` is a named list of permissions
985
- # defined by IAM.
1002
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more
1003
+ # `members` to a single `role`. Members can be user accounts, service accounts,
1004
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
1005
+ # permissions (defined by IAM or configured by users). A `binding` can
1006
+ # optionally specify a `condition`, which is a logic expression that further
1007
+ # constrains the role binding based on attributes about the request and/or
1008
+ # target resource.
986
1009
  # **JSON Example**
987
1010
  # `
988
1011
  # "bindings": [
989
1012
  # `
990
- # "role": "roles/owner",
1013
+ # "role": "roles/resourcemanager.organizationAdmin",
991
1014
  # "members": [
992
1015
  # "user:mike@example.com",
993
1016
  # "group:admins@example.com",
994
1017
  # "domain:google.com",
995
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
1018
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
996
1019
  # ]
997
1020
  # `,
998
1021
  # `
999
- # "role": "roles/viewer",
1000
- # "members": ["user:sean@example.com"]
1022
+ # "role": "roles/resourcemanager.organizationViewer",
1023
+ # "members": ["user:eve@example.com"],
1024
+ # "condition": `
1025
+ # "title": "expirable access",
1026
+ # "description": "Does not grant access after Sep 2020",
1027
+ # "expression": "request.time <
1028
+ # timestamp('2020-10-01T00:00:00.000Z')",
1029
+ # `
1001
1030
  # `
1002
1031
  # ]
1003
1032
  # `
@@ -1007,11 +1036,15 @@ module Google
1007
1036
  # - user:mike@example.com
1008
1037
  # - group:admins@example.com
1009
1038
  # - domain:google.com
1010
- # - serviceAccount:my-other-app@appspot.gserviceaccount.com
1011
- # role: roles/owner
1039
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
1040
+ # role: roles/resourcemanager.organizationAdmin
1012
1041
  # - members:
1013
- # - user:sean@example.com
1014
- # role: roles/viewer
1042
+ # - user:eve@example.com
1043
+ # role: roles/resourcemanager.organizationViewer
1044
+ # condition:
1045
+ # title: expirable access
1046
+ # description: Does not grant access after Sep 2020
1047
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
1015
1048
  # For a description of IAM and its features, see the
1016
1049
  # [IAM developer's guide](https://cloud.google.com/iam/docs).
1017
1050
  # Corresponds to the JSON property `policy`
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/service-consumer-management/docs/overview
26
26
  module ServiceconsumermanagementV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190907'
28
+ REVISION = '20190920'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -1887,6 +1887,15 @@ module Google
1887
1887
  # @return [String]
1888
1888
  attr_accessor :metric_kind
1889
1889
 
1890
+ # Read-only. If present, then a time
1891
+ # series, which is identified partially by
1892
+ # a metric type and a MonitoredResourceDescriptor, that is associated
1893
+ # with this metric type can only be associated with one of the monitored
1894
+ # resource types listed here.
1895
+ # Corresponds to the JSON property `monitoredResourceTypes`
1896
+ # @return [Array<String>]
1897
+ attr_accessor :monitored_resource_types
1898
+
1890
1899
  # The resource name of the metric descriptor.
1891
1900
  # Corresponds to the JSON property `name`
1892
1901
  # @return [String]
@@ -1977,6 +1986,7 @@ module Google
1977
1986
  @launch_stage = args[:launch_stage] if args.key?(:launch_stage)
1978
1987
  @metadata = args[:metadata] if args.key?(:metadata)
1979
1988
  @metric_kind = args[:metric_kind] if args.key?(:metric_kind)
1989
+ @monitored_resource_types = args[:monitored_resource_types] if args.key?(:monitored_resource_types)
1980
1990
  @name = args[:name] if args.key?(:name)
1981
1991
  @type = args[:type] if args.key?(:type)
1982
1992
  @unit = args[:unit] if args.key?(:unit)
@@ -1995,8 +2005,7 @@ module Google
1995
2005
  # @return [String]
1996
2006
  attr_accessor :ingest_delay
1997
2007
 
1998
- # Deprecated. Please use the MetricDescriptor.launch_stage instead.
1999
- # The launch stage of the metric definition.
2008
+ # Deprecated. Must use the MetricDescriptor.launch_stage instead.
2000
2009
  # Corresponds to the JSON property `launchStage`
2001
2010
  # @return [String]
2002
2011
  attr_accessor :launch_stage
@@ -909,6 +909,7 @@ module Google
909
909
  property :metadata, as: 'metadata', class: Google::Apis::ServiceconsumermanagementV1::MetricDescriptorMetadata, decorator: Google::Apis::ServiceconsumermanagementV1::MetricDescriptorMetadata::Representation
910
910
 
911
911
  property :metric_kind, as: 'metricKind'
912
+ collection :monitored_resource_types, as: 'monitoredResourceTypes'
912
913
  property :name, as: 'name'
913
914
  property :type, as: 'type'
914
915
  property :unit, as: 'unit'
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/service-management/
28
28
  module ServicemanagementV1
29
29
  VERSION = 'V1'
30
- REVISION = '20190903'
30
+ REVISION = '20190920'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -3043,25 +3043,34 @@ module Google
3043
3043
 
3044
3044
  # Defines an Identity and Access Management (IAM) policy. It is used to
3045
3045
  # specify access control policies for Cloud Platform resources.
3046
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
3047
- # `members` to a `role`, where the members can be user accounts, Google groups,
3048
- # Google domains, and service accounts. A `role` is a named list of permissions
3049
- # defined by IAM.
3046
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more
3047
+ # `members` to a single `role`. Members can be user accounts, service accounts,
3048
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
3049
+ # permissions (defined by IAM or configured by users). A `binding` can
3050
+ # optionally specify a `condition`, which is a logic expression that further
3051
+ # constrains the role binding based on attributes about the request and/or
3052
+ # target resource.
3050
3053
  # **JSON Example**
3051
3054
  # `
3052
3055
  # "bindings": [
3053
3056
  # `
3054
- # "role": "roles/owner",
3057
+ # "role": "role/resourcemanager.organizationAdmin",
3055
3058
  # "members": [
3056
3059
  # "user:mike@example.com",
3057
3060
  # "group:admins@example.com",
3058
3061
  # "domain:google.com",
3059
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
3062
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
3060
3063
  # ]
3061
3064
  # `,
3062
3065
  # `
3063
- # "role": "roles/viewer",
3064
- # "members": ["user:sean@example.com"]
3066
+ # "role": "roles/resourcemanager.organizationViewer",
3067
+ # "members": ["user:eve@example.com"],
3068
+ # "condition": `
3069
+ # "title": "expirable access",
3070
+ # "description": "Does not grant access after Sep 2020",
3071
+ # "expression": "request.time <
3072
+ # timestamp('2020-10-01T00:00:00.000Z')",
3073
+ # `
3065
3074
  # `
3066
3075
  # ]
3067
3076
  # `
@@ -3071,11 +3080,15 @@ module Google
3071
3080
  # - user:mike@example.com
3072
3081
  # - group:admins@example.com
3073
3082
  # - domain:google.com
3074
- # - serviceAccount:my-other-app@appspot.gserviceaccount.com
3075
- # role: roles/owner
3083
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
3084
+ # role: roles/resourcemanager.organizationAdmin
3076
3085
  # - members:
3077
- # - user:sean@example.com
3078
- # role: roles/viewer
3086
+ # - user:eve@example.com
3087
+ # role: roles/resourcemanager.organizationViewer
3088
+ # condition:
3089
+ # title: expirable access
3090
+ # description: Does not grant access after Sep 2020
3091
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
3079
3092
  # For a description of IAM and its features, see the
3080
3093
  # [IAM developer's guide](https://cloud.google.com/iam/docs).
3081
3094
  class Policy
@@ -3086,7 +3099,8 @@ module Google
3086
3099
  # @return [Array<Google::Apis::ServicemanagementV1::AuditConfig>]
3087
3100
  attr_accessor :audit_configs
3088
3101
 
3089
- # Associates a list of `members` to a `role`.
3102
+ # Associates a list of `members` to a `role`. Optionally may specify a
3103
+ # `condition` that determines when binding is in effect.
3090
3104
  # `bindings` with no members will result in an error.
3091
3105
  # Corresponds to the JSON property `bindings`
3092
3106
  # @return [Array<Google::Apis::ServicemanagementV1::Binding>]
@@ -3100,7 +3114,9 @@ module Google
3100
3114
  # systems are expected to put that etag in the request to `setIamPolicy` to
3101
3115
  # ensure that their change will be applied to the same version of the policy.
3102
3116
  # If no `etag` is provided in the call to `setIamPolicy`, then the existing
3103
- # policy is overwritten.
3117
+ # policy is overwritten. Due to blind-set semantics of an etag-less policy,
3118
+ # 'setIamPolicy' will not fail even if either of incoming or stored policy
3119
+ # does not meet the version requirements.
3104
3120
  # Corresponds to the JSON property `etag`
3105
3121
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
3106
3122
  # @return [String]
@@ -3109,9 +3125,13 @@ module Google
3109
3125
  # Specifies the format of the policy.
3110
3126
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
3111
3127
  # rejected.
3112
- # Policies with any conditional bindings must specify version 3. Policies
3113
- # without any conditional bindings may specify any valid value or leave the
3114
- # field unset.
3128
+ # Operations affecting conditional bindings must specify version 3. This can
3129
+ # be either setting a conditional policy, modifying a conditional binding,
3130
+ # or removing a conditional binding from the stored conditional policy.
3131
+ # Operations on non-conditional policies may specify any valid value or
3132
+ # leave the field unset.
3133
+ # If no etag is provided in the call to `setIamPolicy`, any version
3134
+ # compliance checks on the incoming and/or stored policy is skipped.
3115
3135
  # Corresponds to the JSON property `version`
3116
3136
  # @return [Fixnum]
3117
3137
  attr_accessor :version
@@ -3227,10 +3247,7 @@ module Google
3227
3247
  # @return [String]
3228
3248
  attr_accessor :display_name
3229
3249
 
3230
- # Duration of this limit in textual notation. Example: "100s", "24h", "1d".
3231
- # For duration longer than a day, only multiple of days is supported. We
3232
- # support only "100s" and "1d" for now. Additional support will be added in
3233
- # the future. "0" indicates indefinite duration.
3250
+ # Duration of this limit in textual notation. Must be "100s" or "1d".
3234
3251
  # Used by group-based quotas only.
3235
3252
  # Corresponds to the JSON property `duration`
3236
3253
  # @return [String]
@@ -3851,25 +3868,34 @@ module Google
3851
3868
 
3852
3869
  # Defines an Identity and Access Management (IAM) policy. It is used to
3853
3870
  # specify access control policies for Cloud Platform resources.
3854
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
3855
- # `members` to a `role`, where the members can be user accounts, Google groups,
3856
- # Google domains, and service accounts. A `role` is a named list of permissions
3857
- # defined by IAM.
3871
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more
3872
+ # `members` to a single `role`. Members can be user accounts, service accounts,
3873
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
3874
+ # permissions (defined by IAM or configured by users). A `binding` can
3875
+ # optionally specify a `condition`, which is a logic expression that further
3876
+ # constrains the role binding based on attributes about the request and/or
3877
+ # target resource.
3858
3878
  # **JSON Example**
3859
3879
  # `
3860
3880
  # "bindings": [
3861
3881
  # `
3862
- # "role": "roles/owner",
3882
+ # "role": "role/resourcemanager.organizationAdmin",
3863
3883
  # "members": [
3864
3884
  # "user:mike@example.com",
3865
3885
  # "group:admins@example.com",
3866
3886
  # "domain:google.com",
3867
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
3887
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
3868
3888
  # ]
3869
3889
  # `,
3870
3890
  # `
3871
- # "role": "roles/viewer",
3872
- # "members": ["user:sean@example.com"]
3891
+ # "role": "roles/resourcemanager.organizationViewer",
3892
+ # "members": ["user:eve@example.com"],
3893
+ # "condition": `
3894
+ # "title": "expirable access",
3895
+ # "description": "Does not grant access after Sep 2020",
3896
+ # "expression": "request.time <
3897
+ # timestamp('2020-10-01T00:00:00.000Z')",
3898
+ # `
3873
3899
  # `
3874
3900
  # ]
3875
3901
  # `
@@ -3879,11 +3905,15 @@ module Google
3879
3905
  # - user:mike@example.com
3880
3906
  # - group:admins@example.com
3881
3907
  # - domain:google.com
3882
- # - serviceAccount:my-other-app@appspot.gserviceaccount.com
3883
- # role: roles/owner
3908
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
3909
+ # role: roles/resourcemanager.organizationAdmin
3884
3910
  # - members:
3885
- # - user:sean@example.com
3886
- # role: roles/viewer
3911
+ # - user:eve@example.com
3912
+ # role: roles/resourcemanager.organizationViewer
3913
+ # condition:
3914
+ # title: expirable access
3915
+ # description: Does not grant access after Sep 2020
3916
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
3887
3917
  # For a description of IAM and its features, see the
3888
3918
  # [IAM developer's guide](https://cloud.google.com/iam/docs).
3889
3919
  # Corresponds to the JSON property `policy`