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
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/google-apps/calendar/firstapp
26
26
  module CalendarV3
27
27
  VERSION = 'V3'
28
- REVISION = '20190910'
28
+ REVISION = '20190929'
29
29
 
30
30
  # See, edit, share, and permanently delete all the calendars you can access using Google Calendar
31
31
  AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
@@ -829,6 +829,7 @@ module Google
829
829
  # - "eventNamedHangout" for classic Hangouts for G Suite users (http://hangouts.
830
830
  # google.com)
831
831
  # - "hangoutsMeet" for Hangouts Meet (http://meet.google.com)
832
+ # - "addOn" for 3P conference providers
832
833
  # Corresponds to the JSON property `type`
833
834
  # @return [String]
834
835
  attr_accessor :type
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/quickstart-cloud-asset-inventory
26
26
  module CloudassetV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190831'
28
+ REVISION = '20190928'
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'
@@ -42,6 +42,15 @@ module Google
42
42
  # @return [Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1AccessPolicy]
43
43
  attr_accessor :access_policy
44
44
 
45
+ # Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy,
46
+ # represented as a list of relative resource names. Ancestry path starts with
47
+ # the closest CRM ancestor and ends at root. If the asset is a CRM
48
+ # project/folder/organization, this starts from the asset itself.
49
+ # Example: ["projects/123456789", "folders/5432", "organizations/1234"]
50
+ # Corresponds to the JSON property `ancestors`
51
+ # @return [Array<String>]
52
+ attr_accessor :ancestors
53
+
45
54
  # Type of the asset. Example: "compute.googleapis.com/Disk".
46
55
  # Corresponds to the JSON property `assetType`
47
56
  # @return [String]
@@ -49,25 +58,34 @@ module Google
49
58
 
50
59
  # Defines an Identity and Access Management (IAM) policy. It is used to
51
60
  # specify access control policies for Cloud Platform resources.
52
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
53
- # `members` to a `role`, where the members can be user accounts, Google groups,
54
- # Google domains, and service accounts. A `role` is a named list of permissions
55
- # defined by IAM.
61
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more
62
+ # `members` to a single `role`. Members can be user accounts, service accounts,
63
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
64
+ # permissions (defined by IAM or configured by users). A `binding` can
65
+ # optionally specify a `condition`, which is a logic expression that further
66
+ # constrains the role binding based on attributes about the request and/or
67
+ # target resource.
56
68
  # **JSON Example**
57
69
  # `
58
70
  # "bindings": [
59
71
  # `
60
- # "role": "roles/owner",
72
+ # "role": "roles/resourcemanager.organizationAdmin",
61
73
  # "members": [
62
74
  # "user:mike@example.com",
63
75
  # "group:admins@example.com",
64
76
  # "domain:google.com",
65
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
77
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
66
78
  # ]
67
79
  # `,
68
80
  # `
69
- # "role": "roles/viewer",
70
- # "members": ["user:sean@example.com"]
81
+ # "role": "roles/resourcemanager.organizationViewer",
82
+ # "members": ["user:eve@example.com"],
83
+ # "condition": `
84
+ # "title": "expirable access",
85
+ # "description": "Does not grant access after Sep 2020",
86
+ # "expression": "request.time <
87
+ # timestamp('2020-10-01T00:00:00.000Z')",
88
+ # `
71
89
  # `
72
90
  # ]
73
91
  # `
@@ -77,11 +95,15 @@ module Google
77
95
  # - user:mike@example.com
78
96
  # - group:admins@example.com
79
97
  # - domain:google.com
80
- # - serviceAccount:my-other-app@appspot.gserviceaccount.com
81
- # role: roles/owner
98
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
99
+ # role: roles/resourcemanager.organizationAdmin
82
100
  # - members:
83
- # - user:sean@example.com
84
- # role: roles/viewer
101
+ # - user:eve@example.com
102
+ # role: roles/resourcemanager.organizationViewer
103
+ # condition:
104
+ # title: expirable access
105
+ # description: Does not grant access after Sep 2020
106
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
85
107
  # For a description of IAM and its features, see the
86
108
  # [IAM developer's guide](https://cloud.google.com/iam/docs).
87
109
  # Corresponds to the JSON property `iamPolicy`
@@ -131,6 +153,7 @@ module Google
131
153
  def update!(**args)
132
154
  @access_level = args[:access_level] if args.key?(:access_level)
133
155
  @access_policy = args[:access_policy] if args.key?(:access_policy)
156
+ @ancestors = args[:ancestors] if args.key?(:ancestors)
134
157
  @asset_type = args[:asset_type] if args.key?(:asset_type)
135
158
  @iam_policy = args[:iam_policy] if args.key?(:iam_policy)
136
159
  @name = args[:name] if args.key?(:name)
@@ -1347,25 +1370,34 @@ module Google
1347
1370
 
1348
1371
  # Defines an Identity and Access Management (IAM) policy. It is used to
1349
1372
  # specify access control policies for Cloud Platform resources.
1350
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
1351
- # `members` to a `role`, where the members can be user accounts, Google groups,
1352
- # Google domains, and service accounts. A `role` is a named list of permissions
1353
- # defined by IAM.
1373
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more
1374
+ # `members` to a single `role`. Members can be user accounts, service accounts,
1375
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
1376
+ # permissions (defined by IAM or configured by users). A `binding` can
1377
+ # optionally specify a `condition`, which is a logic expression that further
1378
+ # constrains the role binding based on attributes about the request and/or
1379
+ # target resource.
1354
1380
  # **JSON Example**
1355
1381
  # `
1356
1382
  # "bindings": [
1357
1383
  # `
1358
- # "role": "roles/owner",
1384
+ # "role": "roles/resourcemanager.organizationAdmin",
1359
1385
  # "members": [
1360
1386
  # "user:mike@example.com",
1361
1387
  # "group:admins@example.com",
1362
1388
  # "domain:google.com",
1363
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
1389
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
1364
1390
  # ]
1365
1391
  # `,
1366
1392
  # `
1367
- # "role": "roles/viewer",
1368
- # "members": ["user:sean@example.com"]
1393
+ # "role": "roles/resourcemanager.organizationViewer",
1394
+ # "members": ["user:eve@example.com"],
1395
+ # "condition": `
1396
+ # "title": "expirable access",
1397
+ # "description": "Does not grant access after Sep 2020",
1398
+ # "expression": "request.time <
1399
+ # timestamp('2020-10-01T00:00:00.000Z')",
1400
+ # `
1369
1401
  # `
1370
1402
  # ]
1371
1403
  # `
@@ -1375,11 +1407,15 @@ module Google
1375
1407
  # - user:mike@example.com
1376
1408
  # - group:admins@example.com
1377
1409
  # - domain:google.com
1378
- # - serviceAccount:my-other-app@appspot.gserviceaccount.com
1379
- # role: roles/owner
1410
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
1411
+ # role: roles/resourcemanager.organizationAdmin
1380
1412
  # - members:
1381
- # - user:sean@example.com
1382
- # role: roles/viewer
1413
+ # - user:eve@example.com
1414
+ # role: roles/resourcemanager.organizationViewer
1415
+ # condition:
1416
+ # title: expirable access
1417
+ # description: Does not grant access after Sep 2020
1418
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
1383
1419
  # For a description of IAM and its features, see the
1384
1420
  # [IAM developer's guide](https://cloud.google.com/iam/docs).
1385
1421
  class Policy
@@ -1390,7 +1426,8 @@ module Google
1390
1426
  # @return [Array<Google::Apis::CloudassetV1::AuditConfig>]
1391
1427
  attr_accessor :audit_configs
1392
1428
 
1393
- # Associates a list of `members` to a `role`.
1429
+ # Associates a list of `members` to a `role`. Optionally may specify a
1430
+ # `condition` that determines when binding is in effect.
1394
1431
  # `bindings` with no members will result in an error.
1395
1432
  # Corresponds to the JSON property `bindings`
1396
1433
  # @return [Array<Google::Apis::CloudassetV1::Binding>]
@@ -1404,7 +1441,9 @@ module Google
1404
1441
  # systems are expected to put that etag in the request to `setIamPolicy` to
1405
1442
  # ensure that their change will be applied to the same version of the policy.
1406
1443
  # If no `etag` is provided in the call to `setIamPolicy`, then the existing
1407
- # policy is overwritten.
1444
+ # policy is overwritten. Due to blind-set semantics of an etag-less policy,
1445
+ # 'setIamPolicy' will not fail even if either of incoming or stored policy
1446
+ # does not meet the version requirements.
1408
1447
  # Corresponds to the JSON property `etag`
1409
1448
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
1410
1449
  # @return [String]
@@ -1413,9 +1452,13 @@ module Google
1413
1452
  # Specifies the format of the policy.
1414
1453
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
1415
1454
  # rejected.
1416
- # Policies with any conditional bindings must specify version 3. Policies
1417
- # without any conditional bindings may specify any valid value or leave the
1418
- # field unset.
1455
+ # Operations affecting conditional bindings must specify version 3. This can
1456
+ # be either setting a conditional policy, modifying a conditional binding,
1457
+ # or removing a conditional binding from the stored conditional policy.
1458
+ # Operations on non-conditional policies may specify any valid value or
1459
+ # leave the field unset.
1460
+ # If no etag is provided in the call to `setIamPolicy`, any version
1461
+ # compliance checks on the incoming and/or stored policy is skipped.
1419
1462
  # Corresponds to the JSON property `version`
1420
1463
  # @return [Fixnum]
1421
1464
  attr_accessor :version
@@ -197,6 +197,7 @@ module Google
197
197
 
198
198
  property :access_policy, as: 'accessPolicy', class: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1AccessPolicy, decorator: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1AccessPolicy::Representation
199
199
 
200
+ collection :ancestors, as: 'ancestors'
200
201
  property :asset_type, as: 'assetType'
201
202
  property :iam_policy, as: 'iamPolicy', class: Google::Apis::CloudassetV1::Policy, decorator: Google::Apis::CloudassetV1::Policy::Representation
202
203
 
@@ -103,7 +103,7 @@ module Google
103
103
  # The request becomes a no-op if the asset name list is empty, and the max
104
104
  # size of the asset name list is 100 in one request.
105
105
  # @param [String] content_type
106
- # Required. The content type.
106
+ # Optional. The content type.
107
107
  # @param [String] read_time_window_end_time
108
108
  # End time of the time window (inclusive).
109
109
  # Current timestamp if not specified.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/quickstart-cloud-asset-inventory
26
26
  module CloudassetV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20190831'
28
+ REVISION = '20190928'
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'
@@ -34,25 +34,34 @@ module Google
34
34
 
35
35
  # Defines an Identity and Access Management (IAM) policy. It is used to
36
36
  # specify access control policies for Cloud Platform resources.
37
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
38
- # `members` to a `role`, where the members can be user accounts, Google groups,
39
- # Google domains, and service accounts. A `role` is a named list of permissions
40
- # defined by IAM.
37
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more
38
+ # `members` to a single `role`. Members can be user accounts, service accounts,
39
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
40
+ # permissions (defined by IAM or configured by users). A `binding` can
41
+ # optionally specify a `condition`, which is a logic expression that further
42
+ # constrains the role binding based on attributes about the request and/or
43
+ # target resource.
41
44
  # **JSON Example**
42
45
  # `
43
46
  # "bindings": [
44
47
  # `
45
- # "role": "roles/owner",
48
+ # "role": "roles/resourcemanager.organizationAdmin",
46
49
  # "members": [
47
50
  # "user:mike@example.com",
48
51
  # "group:admins@example.com",
49
52
  # "domain:google.com",
50
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
53
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
51
54
  # ]
52
55
  # `,
53
56
  # `
54
- # "role": "roles/viewer",
55
- # "members": ["user:sean@example.com"]
57
+ # "role": "roles/resourcemanager.organizationViewer",
58
+ # "members": ["user:eve@example.com"],
59
+ # "condition": `
60
+ # "title": "expirable access",
61
+ # "description": "Does not grant access after Sep 2020",
62
+ # "expression": "request.time <
63
+ # timestamp('2020-10-01T00:00:00.000Z')",
64
+ # `
56
65
  # `
57
66
  # ]
58
67
  # `
@@ -62,11 +71,15 @@ module Google
62
71
  # - user:mike@example.com
63
72
  # - group:admins@example.com
64
73
  # - domain:google.com
65
- # - serviceAccount:my-other-app@appspot.gserviceaccount.com
66
- # role: roles/owner
74
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
75
+ # role: roles/resourcemanager.organizationAdmin
67
76
  # - members:
68
- # - user:sean@example.com
69
- # role: roles/viewer
77
+ # - user:eve@example.com
78
+ # role: roles/resourcemanager.organizationViewer
79
+ # condition:
80
+ # title: expirable access
81
+ # description: Does not grant access after Sep 2020
82
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
70
83
  # For a description of IAM and its features, see the
71
84
  # [IAM developer's guide](https://cloud.google.com/iam/docs).
72
85
  # Corresponds to the JSON property `iamPolicy`
@@ -499,25 +512,34 @@ module Google
499
512
 
500
513
  # Defines an Identity and Access Management (IAM) policy. It is used to
501
514
  # specify access control policies for Cloud Platform resources.
502
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
503
- # `members` to a `role`, where the members can be user accounts, Google groups,
504
- # Google domains, and service accounts. A `role` is a named list of permissions
505
- # defined by IAM.
515
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more
516
+ # `members` to a single `role`. Members can be user accounts, service accounts,
517
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
518
+ # permissions (defined by IAM or configured by users). A `binding` can
519
+ # optionally specify a `condition`, which is a logic expression that further
520
+ # constrains the role binding based on attributes about the request and/or
521
+ # target resource.
506
522
  # **JSON Example**
507
523
  # `
508
524
  # "bindings": [
509
525
  # `
510
- # "role": "roles/owner",
526
+ # "role": "roles/resourcemanager.organizationAdmin",
511
527
  # "members": [
512
528
  # "user:mike@example.com",
513
529
  # "group:admins@example.com",
514
530
  # "domain:google.com",
515
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
531
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
516
532
  # ]
517
533
  # `,
518
534
  # `
519
- # "role": "roles/viewer",
520
- # "members": ["user:sean@example.com"]
535
+ # "role": "roles/resourcemanager.organizationViewer",
536
+ # "members": ["user:eve@example.com"],
537
+ # "condition": `
538
+ # "title": "expirable access",
539
+ # "description": "Does not grant access after Sep 2020",
540
+ # "expression": "request.time <
541
+ # timestamp('2020-10-01T00:00:00.000Z')",
542
+ # `
521
543
  # `
522
544
  # ]
523
545
  # `
@@ -527,11 +549,15 @@ module Google
527
549
  # - user:mike@example.com
528
550
  # - group:admins@example.com
529
551
  # - domain:google.com
530
- # - serviceAccount:my-other-app@appspot.gserviceaccount.com
531
- # role: roles/owner
552
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
553
+ # role: roles/resourcemanager.organizationAdmin
532
554
  # - members:
533
- # - user:sean@example.com
534
- # role: roles/viewer
555
+ # - user:eve@example.com
556
+ # role: roles/resourcemanager.organizationViewer
557
+ # condition:
558
+ # title: expirable access
559
+ # description: Does not grant access after Sep 2020
560
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
535
561
  # For a description of IAM and its features, see the
536
562
  # [IAM developer's guide](https://cloud.google.com/iam/docs).
537
563
  class Policy
@@ -542,7 +568,8 @@ module Google
542
568
  # @return [Array<Google::Apis::CloudassetV1beta1::AuditConfig>]
543
569
  attr_accessor :audit_configs
544
570
 
545
- # Associates a list of `members` to a `role`.
571
+ # Associates a list of `members` to a `role`. Optionally may specify a
572
+ # `condition` that determines when binding is in effect.
546
573
  # `bindings` with no members will result in an error.
547
574
  # Corresponds to the JSON property `bindings`
548
575
  # @return [Array<Google::Apis::CloudassetV1beta1::Binding>]
@@ -556,7 +583,9 @@ module Google
556
583
  # systems are expected to put that etag in the request to `setIamPolicy` to
557
584
  # ensure that their change will be applied to the same version of the policy.
558
585
  # If no `etag` is provided in the call to `setIamPolicy`, then the existing
559
- # policy is overwritten.
586
+ # policy is overwritten. Due to blind-set semantics of an etag-less policy,
587
+ # 'setIamPolicy' will not fail even if either of incoming or stored policy
588
+ # does not meet the version requirements.
560
589
  # Corresponds to the JSON property `etag`
561
590
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
562
591
  # @return [String]
@@ -565,9 +594,13 @@ module Google
565
594
  # Specifies the format of the policy.
566
595
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
567
596
  # rejected.
568
- # Policies with any conditional bindings must specify version 3. Policies
569
- # without any conditional bindings may specify any valid value or leave the
570
- # field unset.
597
+ # Operations affecting conditional bindings must specify version 3. This can
598
+ # be either setting a conditional policy, modifying a conditional binding,
599
+ # or removing a conditional binding from the stored conditional policy.
600
+ # Operations on non-conditional policies may specify any valid value or
601
+ # leave the field unset.
602
+ # If no etag is provided in the call to `setIamPolicy`, any version
603
+ # compliance checks on the incoming and/or stored policy is skipped.
571
604
  # Corresponds to the JSON property `version`
572
605
  # @return [Fixnum]
573
606
  attr_accessor :version
@@ -139,7 +139,7 @@ module Google
139
139
  # The request becomes a no-op if the asset name list is empty, and the max
140
140
  # size of the asset name list is 100 in one request.
141
141
  # @param [String] content_type
142
- # Required. The content type.
142
+ # Optional. The content type.
143
143
  # @param [String] read_time_window_end_time
144
144
  # End time of the time window (inclusive).
145
145
  # Current timestamp if not specified.
@@ -268,7 +268,7 @@ module Google
268
268
  # The request becomes a no-op if the asset name list is empty, and the max
269
269
  # size of the asset name list is 100 in one request.
270
270
  # @param [String] content_type
271
- # Required. The content type.
271
+ # Optional. The content type.
272
272
  # @param [String] read_time_window_end_time
273
273
  # End time of the time window (inclusive).
274
274
  # Current timestamp if not specified.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/functions
26
26
  module CloudfunctionsV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190807'
28
+ REVISION = '20190917'
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'
@@ -190,7 +190,7 @@ module Google
190
190
  class CallFunctionRequest
191
191
  include Google::Apis::Core::Hashable
192
192
 
193
- # Input to be passed to the function.
193
+ # Required. Input to be passed to the function.
194
194
  # Corresponds to the JSON property `data`
195
195
  # @return [String]
196
196
  attr_accessor :data
@@ -986,7 +986,12 @@ module Google
986
986
  # @return [String]
987
987
  attr_accessor :etag
988
988
 
989
- # Deprecated.
989
+ # Specifies the format of the policy.
990
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
991
+ # rejected.
992
+ # Policies with any conditional bindings must specify version 3. Policies
993
+ # without any conditional bindings may specify any valid value or leave the
994
+ # field unset.
990
995
  # Corresponds to the JSON property `version`
991
996
  # @return [Fixnum]
992
997
  attr_accessor :version