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://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
27
27
  module SecuritycenterV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20190906'
29
+ REVISION = '20190920'
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'
@@ -394,7 +394,8 @@ module Google
394
394
  # @return [String]
395
395
  attr_accessor :name
396
396
 
397
- # The relative resource name of the source the finding belongs to. See:
397
+ # Immutable. The relative resource name of the source the finding belongs to.
398
+ # See:
398
399
  # https://cloud.google.com/apis/design/resource_names#relative_resource_name
399
400
  # This field is immutable after creation time.
400
401
  # For example:
@@ -593,7 +594,8 @@ module Google
593
594
  # @return [String]
594
595
  attr_accessor :filter
595
596
 
596
- # Expression that defines what assets fields to use for grouping. The string
597
+ # Required. Expression that defines what assets fields to use for grouping. The
598
+ # string
597
599
  # value should follow SQL syntax: comma separated list of fields. For
598
600
  # example:
599
601
  # "security_center_properties.resource_project,security_center_properties.
@@ -704,7 +706,8 @@ module Google
704
706
  # @return [String]
705
707
  attr_accessor :filter
706
708
 
707
- # Expression that defines what assets fields to use for grouping (including
709
+ # Required. Expression that defines what assets fields to use for grouping (
710
+ # including
708
711
  # `state`). The string value should follow SQL syntax: comma separated list
709
712
  # of fields. For example:
710
713
  # "parent,resource_name".
@@ -1072,25 +1075,34 @@ module Google
1072
1075
 
1073
1076
  # Defines an Identity and Access Management (IAM) policy. It is used to
1074
1077
  # specify access control policies for Cloud Platform resources.
1075
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
1076
- # `members` to a `role`, where the members can be user accounts, Google groups,
1077
- # Google domains, and service accounts. A `role` is a named list of permissions
1078
- # defined by IAM.
1078
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more
1079
+ # `members` to a single `role`. Members can be user accounts, service accounts,
1080
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
1081
+ # permissions (defined by IAM or configured by users). A `binding` can
1082
+ # optionally specify a `condition`, which is a logic expression that further
1083
+ # constrains the role binding based on attributes about the request and/or
1084
+ # target resource.
1079
1085
  # **JSON Example**
1080
1086
  # `
1081
1087
  # "bindings": [
1082
1088
  # `
1083
- # "role": "roles/owner",
1089
+ # "role": "role/resourcemanager.organizationAdmin",
1084
1090
  # "members": [
1085
1091
  # "user:mike@example.com",
1086
1092
  # "group:admins@example.com",
1087
1093
  # "domain:google.com",
1088
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
1094
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
1089
1095
  # ]
1090
1096
  # `,
1091
1097
  # `
1092
- # "role": "roles/viewer",
1093
- # "members": ["user:sean@example.com"]
1098
+ # "role": "roles/resourcemanager.organizationViewer",
1099
+ # "members": ["user:eve@example.com"],
1100
+ # "condition": `
1101
+ # "title": "expirable access",
1102
+ # "description": "Does not grant access after Sep 2020",
1103
+ # "expression": "request.time <
1104
+ # timestamp('2020-10-01T00:00:00.000Z')",
1105
+ # `
1094
1106
  # `
1095
1107
  # ]
1096
1108
  # `
@@ -1100,11 +1112,15 @@ module Google
1100
1112
  # - user:mike@example.com
1101
1113
  # - group:admins@example.com
1102
1114
  # - domain:google.com
1103
- # - serviceAccount:my-other-app@appspot.gserviceaccount.com
1104
- # role: roles/owner
1115
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
1116
+ # role: roles/resourcemanager.organizationAdmin
1105
1117
  # - members:
1106
- # - user:sean@example.com
1107
- # role: roles/viewer
1118
+ # - user:eve@example.com
1119
+ # role: roles/resourcemanager.organizationViewer
1120
+ # condition:
1121
+ # title: expirable access
1122
+ # description: Does not grant access after Sep 2020
1123
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
1108
1124
  # For a description of IAM and its features, see the
1109
1125
  # [IAM developer's guide](https://cloud.google.com/iam/docs).
1110
1126
  class Policy
@@ -1115,7 +1131,8 @@ module Google
1115
1131
  # @return [Array<Google::Apis::SecuritycenterV1beta1::AuditConfig>]
1116
1132
  attr_accessor :audit_configs
1117
1133
 
1118
- # Associates a list of `members` to a `role`.
1134
+ # Associates a list of `members` to a `role`. Optionally may specify a
1135
+ # `condition` that determines when binding is in effect.
1119
1136
  # `bindings` with no members will result in an error.
1120
1137
  # Corresponds to the JSON property `bindings`
1121
1138
  # @return [Array<Google::Apis::SecuritycenterV1beta1::Binding>]
@@ -1129,7 +1146,9 @@ module Google
1129
1146
  # systems are expected to put that etag in the request to `setIamPolicy` to
1130
1147
  # ensure that their change will be applied to the same version of the policy.
1131
1148
  # If no `etag` is provided in the call to `setIamPolicy`, then the existing
1132
- # policy is overwritten.
1149
+ # policy is overwritten. Due to blind-set semantics of an etag-less policy,
1150
+ # 'setIamPolicy' will not fail even if either of incoming or stored policy
1151
+ # does not meet the version requirements.
1133
1152
  # Corresponds to the JSON property `etag`
1134
1153
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
1135
1154
  # @return [String]
@@ -1138,9 +1157,13 @@ module Google
1138
1157
  # Specifies the format of the policy.
1139
1158
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
1140
1159
  # rejected.
1141
- # Policies with any conditional bindings must specify version 3. Policies
1142
- # without any conditional bindings may specify any valid value or leave the
1143
- # field unset.
1160
+ # Operations affecting conditional bindings must specify version 3. This can
1161
+ # be either setting a conditional policy, modifying a conditional binding,
1162
+ # or removing a conditional binding from the stored conditional policy.
1163
+ # Operations on non-conditional policies may specify any valid value or
1164
+ # leave the field unset.
1165
+ # If no etag is provided in the call to `setIamPolicy`, any version
1166
+ # compliance checks on the incoming and/or stored policy is skipped.
1144
1167
  # Corresponds to the JSON property `version`
1145
1168
  # @return [Fixnum]
1146
1169
  attr_accessor :version
@@ -1176,7 +1199,7 @@ module Google
1176
1199
  class SecurityCenterProperties
1177
1200
  include Google::Apis::Core::Hashable
1178
1201
 
1179
- # The full resource name of the GCP resource this asset
1202
+ # Immutable. The full resource name of the GCP resource this asset
1180
1203
  # represents. This field is immutable after create time. See:
1181
1204
  # https://cloud.google.com/apis/design/resource_names#full_resource_name
1182
1205
  # Corresponds to the JSON property `resourceName`
@@ -1264,12 +1287,12 @@ module Google
1264
1287
  class SetFindingStateRequest
1265
1288
  include Google::Apis::Core::Hashable
1266
1289
 
1267
- # The time at which the updated state takes effect.
1290
+ # Required. The time at which the updated state takes effect.
1268
1291
  # Corresponds to the JSON property `startTime`
1269
1292
  # @return [String]
1270
1293
  attr_accessor :start_time
1271
1294
 
1272
- # The desired State of the finding.
1295
+ # Required. The desired State of the finding.
1273
1296
  # Corresponds to the JSON property `state`
1274
1297
  # @return [String]
1275
1298
  attr_accessor :state
@@ -1291,25 +1314,34 @@ module Google
1291
1314
 
1292
1315
  # Defines an Identity and Access Management (IAM) policy. It is used to
1293
1316
  # specify access control policies for Cloud Platform resources.
1294
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
1295
- # `members` to a `role`, where the members can be user accounts, Google groups,
1296
- # Google domains, and service accounts. A `role` is a named list of permissions
1297
- # defined by IAM.
1317
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more
1318
+ # `members` to a single `role`. Members can be user accounts, service accounts,
1319
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
1320
+ # permissions (defined by IAM or configured by users). A `binding` can
1321
+ # optionally specify a `condition`, which is a logic expression that further
1322
+ # constrains the role binding based on attributes about the request and/or
1323
+ # target resource.
1298
1324
  # **JSON Example**
1299
1325
  # `
1300
1326
  # "bindings": [
1301
1327
  # `
1302
- # "role": "roles/owner",
1328
+ # "role": "role/resourcemanager.organizationAdmin",
1303
1329
  # "members": [
1304
1330
  # "user:mike@example.com",
1305
1331
  # "group:admins@example.com",
1306
1332
  # "domain:google.com",
1307
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
1333
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
1308
1334
  # ]
1309
1335
  # `,
1310
1336
  # `
1311
- # "role": "roles/viewer",
1312
- # "members": ["user:sean@example.com"]
1337
+ # "role": "roles/resourcemanager.organizationViewer",
1338
+ # "members": ["user:eve@example.com"],
1339
+ # "condition": `
1340
+ # "title": "expirable access",
1341
+ # "description": "Does not grant access after Sep 2020",
1342
+ # "expression": "request.time <
1343
+ # timestamp('2020-10-01T00:00:00.000Z')",
1344
+ # `
1313
1345
  # `
1314
1346
  # ]
1315
1347
  # `
@@ -1319,11 +1351,15 @@ module Google
1319
1351
  # - user:mike@example.com
1320
1352
  # - group:admins@example.com
1321
1353
  # - domain:google.com
1322
- # - serviceAccount:my-other-app@appspot.gserviceaccount.com
1323
- # role: roles/owner
1354
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
1355
+ # role: roles/resourcemanager.organizationAdmin
1324
1356
  # - members:
1325
- # - user:sean@example.com
1326
- # role: roles/viewer
1357
+ # - user:eve@example.com
1358
+ # role: roles/resourcemanager.organizationViewer
1359
+ # condition:
1360
+ # title: expirable access
1361
+ # description: Does not grant access after Sep 2020
1362
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
1327
1363
  # For a description of IAM and its features, see the
1328
1364
  # [IAM developer's guide](https://cloud.google.com/iam/docs).
1329
1365
  # Corresponds to the JSON property `policy`
@@ -50,7 +50,8 @@ module Google
50
50
 
51
51
  # Gets the settings for an organization.
52
52
  # @param [String] name
53
- # Name of the organization to get organization settings for. Its format is
53
+ # Required. Name of the organization to get organization settings for. Its
54
+ # format is
54
55
  # "organizations/[organization_id]/organizationSettings".
55
56
  # @param [String] fields
56
57
  # Selector specifying which fields to include in a partial response.
@@ -121,7 +122,7 @@ module Google
121
122
  # Filters an organization's assets and groups them by their specified
122
123
  # properties.
123
124
  # @param [String] parent
124
- # Name of the organization to groupBy. Its format is
125
+ # Required. Name of the organization to groupBy. Its format is
125
126
  # "organizations/[organization_id]".
126
127
  # @param [Google::Apis::SecuritycenterV1beta1::GroupAssetsRequest] group_assets_request_object
127
128
  # @param [String] fields
@@ -155,7 +156,7 @@ module Google
155
156
 
156
157
  # Lists an organization's assets.
157
158
  # @param [String] parent
158
- # Name of the organization assets should belong to. Its format is
159
+ # Required. Name of the organization assets should belong to. Its format is
159
160
  # "organizations/[organization_id]".
160
161
  # @param [String] compare_duration
161
162
  # When compare_duration is set, the ListAssetResult's "state" attribute is
@@ -264,7 +265,7 @@ module Google
264
265
  # it is called too frequently the caller will receive a TOO_MANY_REQUESTS
265
266
  # error.
266
267
  # @param [String] parent
267
- # Name of the organization to run asset discovery for. Its format is
268
+ # Required. Name of the organization to run asset discovery for. Its format is
268
269
  # "organizations/[organization_id]".
269
270
  # @param [Google::Apis::SecuritycenterV1beta1::RunAssetDiscoveryRequest] run_asset_discovery_request_object
270
271
  # @param [String] fields
@@ -495,7 +496,7 @@ module Google
495
496
 
496
497
  # Creates a source.
497
498
  # @param [String] parent
498
- # Resource name of the new source's parent. Its format should be
499
+ # Required. Resource name of the new source's parent. Its format should be
499
500
  # "organizations/[organization_id]".
500
501
  # @param [Google::Apis::SecuritycenterV1beta1::Source] source_object
501
502
  # @param [String] fields
@@ -529,7 +530,7 @@ module Google
529
530
 
530
531
  # Gets a source.
531
532
  # @param [String] name
532
- # Relative resource name of the source. Its format is
533
+ # Required. Relative resource name of the source. Its format is
533
534
  # "organizations/[organization_id]/source/[source_id]".
534
535
  # @param [String] fields
535
536
  # Selector specifying which fields to include in a partial response.
@@ -594,7 +595,7 @@ module Google
594
595
 
595
596
  # Lists all sources belonging to an organization.
596
597
  # @param [String] parent
597
- # Resource name of the parent of sources to list. Its format should be
598
+ # Required. Resource name of the parent of sources to list. Its format should be
598
599
  # "organizations/[organization_id]".
599
600
  # @param [Fixnum] page_size
600
601
  # The maximum number of results to return in a single response. Default is
@@ -742,11 +743,11 @@ module Google
742
743
  # Creates a finding. The corresponding source must exist for finding creation
743
744
  # to succeed.
744
745
  # @param [String] parent
745
- # Resource name of the new finding's parent. Its format should be
746
+ # Required. Resource name of the new finding's parent. Its format should be
746
747
  # "organizations/[organization_id]/sources/[source_id]".
747
748
  # @param [Google::Apis::SecuritycenterV1beta1::Finding] finding_object
748
749
  # @param [String] finding_id
749
- # Unique identifier provided by the client within the parent scope.
750
+ # Required. Unique identifier provided by the client within the parent scope.
750
751
  # It must be alphanumeric and less than or equal to 32 characters and
751
752
  # greater than 0 characters in length.
752
753
  # @param [String] fields
@@ -784,7 +785,7 @@ module Google
784
785
  # To group across all sources provide a `-` as the source id.
785
786
  # Example: /v1beta1/organizations/123/sources/-/findings
786
787
  # @param [String] parent
787
- # Name of the source to groupBy. Its format is
788
+ # Required. Name of the source to groupBy. Its format is
788
789
  # "organizations/[organization_id]/sources/[source_id]". To groupBy across
789
790
  # all sources provide a source_id of `-`. For example:
790
791
  # organizations/123/sources/-
@@ -822,7 +823,7 @@ module Google
822
823
  # To list across all sources provide a `-` as the source id.
823
824
  # Example: /v1beta1/organizations/123/sources/-/findings
824
825
  # @param [String] parent
825
- # Name of the source the findings belong to. Its format is
826
+ # Required. Name of the source the findings belong to. Its format is
826
827
  # "organizations/[organization_id]/sources/[source_id]". To list across all
827
828
  # sources provide a source_id of `-`. For example:
828
829
  # organizations/123/sources/-
@@ -946,7 +947,7 @@ module Google
946
947
 
947
948
  # Updates the state of a finding.
948
949
  # @param [String] name
949
- # The relative resource name of the finding. See:
950
+ # Required. The relative resource name of the finding. See:
950
951
  # https://cloud.google.com/apis/design/resource_names#relative_resource_name
951
952
  # Example:
952
953
  # "organizations/123/sources/456/finding/789".
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/kubernetes-engine/docs/concepts/add-on/service-broker
28
28
  module ServicebrokerV1
29
29
  VERSION = 'V1'
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'
@@ -72,25 +72,34 @@ module Google
72
72
 
73
73
  # Defines an Identity and Access Management (IAM) policy. It is used to
74
74
  # specify access control policies for Cloud Platform resources.
75
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
76
- # `members` to a `role`, where the members can be user accounts, Google groups,
77
- # Google domains, and service accounts. A `role` is a named list of permissions
78
- # defined by IAM.
75
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more
76
+ # `members` to a single `role`. Members can be user accounts, service accounts,
77
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
78
+ # permissions (defined by IAM or configured by users). A `binding` can
79
+ # optionally specify a `condition`, which is a logic expression that further
80
+ # constrains the role binding based on attributes about the request and/or
81
+ # target resource.
79
82
  # **JSON Example**
80
83
  # `
81
84
  # "bindings": [
82
85
  # `
83
- # "role": "roles/owner",
86
+ # "role": "roles/resourcemanager.organizationAdmin",
84
87
  # "members": [
85
88
  # "user:mike@example.com",
86
89
  # "group:admins@example.com",
87
90
  # "domain:google.com",
88
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
91
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
89
92
  # ]
90
93
  # `,
91
94
  # `
92
- # "role": "roles/viewer",
93
- # "members": ["user:sean@example.com"]
95
+ # "role": "roles/resourcemanager.organizationViewer",
96
+ # "members": ["user:eve@example.com"],
97
+ # "condition": `
98
+ # "title": "expirable access",
99
+ # "description": "Does not grant access after Sep 2020",
100
+ # "expression": "request.time <
101
+ # timestamp('2020-10-01T00:00:00.000Z')",
102
+ # `
94
103
  # `
95
104
  # ]
96
105
  # `
@@ -100,17 +109,22 @@ module Google
100
109
  # - user:mike@example.com
101
110
  # - group:admins@example.com
102
111
  # - domain:google.com
103
- # - serviceAccount:my-other-app@appspot.gserviceaccount.com
104
- # role: roles/owner
112
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
113
+ # role: roles/resourcemanager.organizationAdmin
105
114
  # - members:
106
- # - user:sean@example.com
107
- # role: roles/viewer
115
+ # - user:eve@example.com
116
+ # role: roles/resourcemanager.organizationViewer
117
+ # condition:
118
+ # title: expirable access
119
+ # description: Does not grant access after Sep 2020
120
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
108
121
  # For a description of IAM and its features, see the
109
122
  # [IAM developer's guide](https://cloud.google.com/iam/docs).
110
123
  class GoogleIamV1Policy
111
124
  include Google::Apis::Core::Hashable
112
125
 
113
- # Associates a list of `members` to a `role`.
126
+ # Associates a list of `members` to a `role`. Optionally may specify a
127
+ # `condition` that determines when binding is in effect.
114
128
  # `bindings` with no members will result in an error.
115
129
  # Corresponds to the JSON property `bindings`
116
130
  # @return [Array<Google::Apis::ServicebrokerV1::GoogleIamV1Binding>]
@@ -124,7 +138,9 @@ module Google
124
138
  # systems are expected to put that etag in the request to `setIamPolicy` to
125
139
  # ensure that their change will be applied to the same version of the policy.
126
140
  # If no `etag` is provided in the call to `setIamPolicy`, then the existing
127
- # policy is overwritten.
141
+ # policy is overwritten. Due to blind-set semantics of an etag-less policy,
142
+ # 'setIamPolicy' will not fail even if either of incoming or stored policy
143
+ # does not meet the version requirements.
128
144
  # Corresponds to the JSON property `etag`
129
145
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
130
146
  # @return [String]
@@ -133,9 +149,13 @@ module Google
133
149
  # Specifies the format of the policy.
134
150
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
135
151
  # rejected.
136
- # Policies with any conditional bindings must specify version 3. Policies
137
- # without any conditional bindings may specify any valid value or leave the
138
- # field unset.
152
+ # Operations affecting conditional bindings must specify version 3. This can
153
+ # be either setting a conditional policy, modifying a conditional binding,
154
+ # or removing a conditional binding from the stored conditional policy.
155
+ # Operations on non-conditional policies may specify any valid value or
156
+ # leave the field unset.
157
+ # If no etag is provided in the call to `setIamPolicy`, any version
158
+ # compliance checks on the incoming and/or stored policy is skipped.
139
159
  # Corresponds to the JSON property `version`
140
160
  # @return [Fixnum]
141
161
  attr_accessor :version
@@ -158,25 +178,34 @@ module Google
158
178
 
159
179
  # Defines an Identity and Access Management (IAM) policy. It is used to
160
180
  # specify access control policies for Cloud Platform resources.
161
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
162
- # `members` to a `role`, where the members can be user accounts, Google groups,
163
- # Google domains, and service accounts. A `role` is a named list of permissions
164
- # defined by IAM.
181
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more
182
+ # `members` to a single `role`. Members can be user accounts, service accounts,
183
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
184
+ # permissions (defined by IAM or configured by users). A `binding` can
185
+ # optionally specify a `condition`, which is a logic expression that further
186
+ # constrains the role binding based on attributes about the request and/or
187
+ # target resource.
165
188
  # **JSON Example**
166
189
  # `
167
190
  # "bindings": [
168
191
  # `
169
- # "role": "roles/owner",
192
+ # "role": "roles/resourcemanager.organizationAdmin",
170
193
  # "members": [
171
194
  # "user:mike@example.com",
172
195
  # "group:admins@example.com",
173
196
  # "domain:google.com",
174
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
197
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
175
198
  # ]
176
199
  # `,
177
200
  # `
178
- # "role": "roles/viewer",
179
- # "members": ["user:sean@example.com"]
201
+ # "role": "roles/resourcemanager.organizationViewer",
202
+ # "members": ["user:eve@example.com"],
203
+ # "condition": `
204
+ # "title": "expirable access",
205
+ # "description": "Does not grant access after Sep 2020",
206
+ # "expression": "request.time <
207
+ # timestamp('2020-10-01T00:00:00.000Z')",
208
+ # `
180
209
  # `
181
210
  # ]
182
211
  # `
@@ -186,11 +215,15 @@ module Google
186
215
  # - user:mike@example.com
187
216
  # - group:admins@example.com
188
217
  # - domain:google.com
189
- # - serviceAccount:my-other-app@appspot.gserviceaccount.com
190
- # role: roles/owner
218
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
219
+ # role: roles/resourcemanager.organizationAdmin
191
220
  # - members:
192
- # - user:sean@example.com
193
- # role: roles/viewer
221
+ # - user:eve@example.com
222
+ # role: roles/resourcemanager.organizationViewer
223
+ # condition:
224
+ # title: expirable access
225
+ # description: Does not grant access after Sep 2020
226
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
194
227
  # For a description of IAM and its features, see the
195
228
  # [IAM developer's guide](https://cloud.google.com/iam/docs).
196
229
  # Corresponds to the JSON property `policy`