google-api-client 0.37.3 → 0.38.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (440) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +146 -0
  3. data/api_list_config.yaml +2 -0
  4. data/api_names.yaml +2 -0
  5. data/bin/generate-api +9 -1
  6. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  7. data/generated/google/apis/accesscontextmanager_v1/classes.rb +0 -36
  8. data/generated/google/apis/accesscontextmanager_v1/representations.rb +0 -6
  9. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  10. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +0 -36
  11. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -6
  12. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  13. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +10 -3
  14. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  15. data/generated/google/apis/admin_directory_v1.rb +1 -1
  16. data/generated/google/apis/admin_directory_v1/classes.rb +0 -147
  17. data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
  18. data/generated/google/apis/admin_directory_v1/service.rb +0 -60
  19. data/generated/google/apis/adsense_v1_4.rb +1 -1
  20. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  21. data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
  22. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  23. data/generated/google/apis/alertcenter_v1beta1/classes.rb +1 -1
  24. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  25. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
  26. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1/classes.rb +2 -2
  28. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  29. data/generated/google/apis/androidmanagement_v1/service.rb +2 -2
  30. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  31. data/generated/google/apis/androidpublisher_v2/classes.rb +2 -2
  32. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  33. data/generated/google/apis/androidpublisher_v3/classes.rb +2 -2
  34. data/generated/google/apis/appengine_v1.rb +1 -1
  35. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  36. data/generated/google/apis/appengine_v1beta.rb +1 -1
  37. data/generated/google/apis/bigquery_v2.rb +1 -1
  38. data/generated/google/apis/bigquery_v2/classes.rb +224 -5
  39. data/generated/google/apis/bigquery_v2/representations.rb +65 -0
  40. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  41. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  42. data/generated/google/apis/bigqueryreservation_v1/classes.rb +413 -0
  43. data/generated/google/apis/bigqueryreservation_v1/representations.rb +194 -0
  44. data/generated/google/apis/bigqueryreservation_v1/service.rb +745 -0
  45. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  46. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +69 -20
  47. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +29 -13
  48. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +4 -39
  49. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  50. data/generated/google/apis/bigtableadmin_v1/classes.rb +20 -17
  51. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  52. data/generated/google/apis/bigtableadmin_v2/classes.rb +26 -21
  53. data/generated/google/apis/bigtableadmin_v2/service.rb +93 -53
  54. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  55. data/generated/google/apis/billingbudgets_v1beta1/service.rb +3 -3
  56. data/generated/google/apis/blogger_v2.rb +5 -4
  57. data/generated/google/apis/blogger_v2/classes.rb +297 -45
  58. data/generated/google/apis/blogger_v2/representations.rb +105 -26
  59. data/generated/google/apis/blogger_v2/service.rb +79 -134
  60. data/generated/google/apis/blogger_v3.rb +4 -3
  61. data/generated/google/apis/blogger_v3/classes.rb +60 -53
  62. data/generated/google/apis/blogger_v3/representations.rb +10 -18
  63. data/generated/google/apis/blogger_v3/service.rb +183 -463
  64. data/generated/google/apis/calendar_v3.rb +1 -1
  65. data/generated/google/apis/calendar_v3/classes.rb +1 -14
  66. data/generated/google/apis/chat_v1.rb +1 -1
  67. data/generated/google/apis/chat_v1/classes.rb +1 -1
  68. data/generated/google/apis/cloudasset_v1.rb +1 -1
  69. data/generated/google/apis/cloudasset_v1/classes.rb +81 -90
  70. data/generated/google/apis/cloudasset_v1/representations.rb +1 -6
  71. data/generated/google/apis/cloudasset_v1/service.rb +2 -2
  72. data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
  73. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +669 -0
  74. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +199 -0
  75. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +187 -0
  76. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  77. data/generated/google/apis/cloudbuild_v1/classes.rb +12 -1
  78. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  79. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  80. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +9 -0
  81. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  82. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  83. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +9 -0
  84. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  85. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  86. data/generated/google/apis/clouddebugger_v2/classes.rb +8 -0
  87. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  88. data/generated/google/apis/cloudidentity_v1/classes.rb +0 -561
  89. data/generated/google/apis/cloudidentity_v1/representations.rb +0 -226
  90. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  91. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +652 -2
  92. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +272 -0
  93. data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -2
  94. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  95. data/generated/google/apis/cloudresourcemanager_v1/service.rb +3 -0
  96. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  97. data/generated/google/apis/cloudsearch_v1/classes.rb +52 -50
  98. data/generated/google/apis/cloudshell_v1.rb +1 -1
  99. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  100. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  101. data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
  102. data/generated/google/apis/cloudtrace_v1.rb +3 -3
  103. data/generated/google/apis/cloudtrace_v1/service.rb +2 -2
  104. data/generated/google/apis/cloudtrace_v2.rb +3 -3
  105. data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
  106. data/generated/google/apis/cloudtrace_v2beta1.rb +3 -3
  107. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +1 -2
  108. data/generated/google/apis/cloudtrace_v2beta1/service.rb +2 -2
  109. data/generated/google/apis/composer_v1.rb +1 -1
  110. data/generated/google/apis/composer_v1/classes.rb +178 -0
  111. data/generated/google/apis/composer_v1/representations.rb +54 -0
  112. data/generated/google/apis/composer_v1beta1.rb +1 -1
  113. data/generated/google/apis/composer_v1beta1/classes.rb +36 -5
  114. data/generated/google/apis/composer_v1beta1/representations.rb +4 -0
  115. data/generated/google/apis/compute_alpha.rb +1 -1
  116. data/generated/google/apis/compute_alpha/classes.rb +1320 -307
  117. data/generated/google/apis/compute_alpha/representations.rb +284 -18
  118. data/generated/google/apis/compute_alpha/service.rb +4914 -3211
  119. data/generated/google/apis/compute_beta.rb +1 -1
  120. data/generated/google/apis/compute_beta/classes.rb +819 -236
  121. data/generated/google/apis/compute_beta/representations.rb +245 -16
  122. data/generated/google/apis/compute_beta/service.rb +3369 -2227
  123. data/generated/google/apis/compute_v1.rb +1 -1
  124. data/generated/google/apis/compute_v1/classes.rb +837 -133
  125. data/generated/google/apis/compute_v1/representations.rb +307 -0
  126. data/generated/google/apis/compute_v1/service.rb +3155 -2026
  127. data/generated/google/apis/container_v1.rb +1 -1
  128. data/generated/google/apis/container_v1/classes.rb +42 -22
  129. data/generated/google/apis/container_v1/service.rb +2 -2
  130. data/generated/google/apis/container_v1beta1.rb +1 -1
  131. data/generated/google/apis/container_v1beta1/classes.rb +116 -136
  132. data/generated/google/apis/container_v1beta1/representations.rb +23 -51
  133. data/generated/google/apis/container_v1beta1/service.rb +2 -2
  134. data/generated/google/apis/content_v2.rb +1 -1
  135. data/generated/google/apis/content_v2/classes.rb +1030 -113
  136. data/generated/google/apis/content_v2_1.rb +1 -1
  137. data/generated/google/apis/content_v2_1/classes.rb +987 -138
  138. data/generated/google/apis/content_v2_1/representations.rb +87 -0
  139. data/generated/google/apis/content_v2_1/service.rb +73 -0
  140. data/generated/google/apis/customsearch_v1.rb +3 -3
  141. data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
  142. data/generated/google/apis/customsearch_v1/representations.rb +166 -95
  143. data/generated/google/apis/customsearch_v1/service.rb +373 -104
  144. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  145. data/generated/google/apis/datacatalog_v1beta1/classes.rb +2 -2
  146. data/generated/google/apis/datacatalog_v1beta1/service.rb +16 -24
  147. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  148. data/generated/google/apis/dataflow_v1b3/classes.rb +220 -0
  149. data/generated/google/apis/dataflow_v1b3/representations.rb +99 -0
  150. data/generated/google/apis/dataflow_v1b3/service.rb +327 -0
  151. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  152. data/generated/google/apis/datafusion_v1beta1/classes.rb +27 -1
  153. data/generated/google/apis/datafusion_v1beta1/representations.rb +15 -0
  154. data/generated/google/apis/dataproc_v1.rb +1 -1
  155. data/generated/google/apis/dataproc_v1/classes.rb +76 -7
  156. data/generated/google/apis/dataproc_v1/representations.rb +21 -0
  157. data/generated/google/apis/dataproc_v1/service.rb +72 -15
  158. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  159. data/generated/google/apis/dataproc_v1beta2/classes.rb +191 -7
  160. data/generated/google/apis/dataproc_v1beta2/representations.rb +79 -0
  161. data/generated/google/apis/dataproc_v1beta2/service.rb +148 -15
  162. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  163. data/generated/google/apis/dfareporting_v3_3/classes.rb +19 -13
  164. data/generated/google/apis/dfareporting_v3_3/service.rb +5 -4
  165. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  166. data/generated/google/apis/dfareporting_v3_4/classes.rb +152 -15
  167. data/generated/google/apis/dfareporting_v3_4/representations.rb +46 -0
  168. data/generated/google/apis/dfareporting_v3_4/service.rb +5 -4
  169. data/generated/google/apis/dialogflow_v2.rb +1 -1
  170. data/generated/google/apis/dialogflow_v2/classes.rb +130 -127
  171. data/generated/google/apis/dialogflow_v2/service.rb +49 -49
  172. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  173. data/generated/google/apis/dialogflow_v2beta1/classes.rb +129 -126
  174. data/generated/google/apis/dialogflow_v2beta1/service.rb +96 -96
  175. data/generated/google/apis/dlp_v2.rb +1 -1
  176. data/generated/google/apis/dlp_v2/classes.rb +80 -14
  177. data/generated/google/apis/dlp_v2/representations.rb +32 -0
  178. data/generated/google/apis/dlp_v2/service.rb +3 -0
  179. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  180. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +9 -2
  181. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  182. data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
  183. data/generated/google/apis/drive_v2.rb +1 -1
  184. data/generated/google/apis/drive_v2/classes.rb +54 -2
  185. data/generated/google/apis/drive_v2/representations.rb +18 -0
  186. data/generated/google/apis/drive_v2/service.rb +81 -9
  187. data/generated/google/apis/drive_v3.rb +1 -1
  188. data/generated/google/apis/drive_v3/classes.rb +54 -2
  189. data/generated/google/apis/drive_v3/representations.rb +18 -0
  190. data/generated/google/apis/drive_v3/service.rb +37 -4
  191. data/generated/google/apis/file_v1.rb +1 -1
  192. data/generated/google/apis/file_v1beta1.rb +1 -1
  193. data/generated/google/apis/file_v1beta1/classes.rb +2 -2
  194. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  195. data/generated/google/apis/firebase_v1beta1/service.rb +8 -5
  196. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  197. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +6 -6
  198. data/generated/google/apis/firebasehosting_v1beta1/service.rb +762 -3
  199. data/generated/google/apis/firestore_v1.rb +1 -1
  200. data/generated/google/apis/firestore_v1/classes.rb +11 -2
  201. data/generated/google/apis/firestore_v1/representations.rb +2 -0
  202. data/generated/google/apis/firestore_v1/service.rb +2 -2
  203. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  204. data/generated/google/apis/firestore_v1beta1/classes.rb +11 -2
  205. data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
  206. data/generated/google/apis/firestore_v1beta1/service.rb +2 -2
  207. data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
  208. data/generated/google/apis/games_configuration_v1configuration/classes.rb +39 -53
  209. data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
  210. data/generated/google/apis/games_management_v1management.rb +1 -1
  211. data/generated/google/apis/games_management_v1management/classes.rb +7 -0
  212. data/generated/google/apis/games_management_v1management/representations.rb +1 -0
  213. data/generated/google/apis/games_v1.rb +1 -1
  214. data/generated/google/apis/games_v1/classes.rb +13 -0
  215. data/generated/google/apis/games_v1/representations.rb +2 -0
  216. data/generated/google/apis/{proximitybeacon_v1beta1.rb → gameservices_v1beta.rb} +11 -11
  217. data/generated/google/apis/gameservices_v1beta/classes.rb +2342 -0
  218. data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
  219. data/generated/google/apis/gameservices_v1beta/service.rb +1469 -0
  220. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  221. data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
  222. data/generated/google/apis/gmail_v1.rb +3 -2
  223. data/generated/google/apis/gmail_v1/classes.rb +258 -199
  224. data/generated/google/apis/gmail_v1/service.rb +552 -744
  225. data/generated/google/apis/{mirror_v1.rb → healthcare_v1.rb} +10 -13
  226. data/generated/google/apis/healthcare_v1/classes.rb +2639 -0
  227. data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
  228. data/generated/google/apis/healthcare_v1/service.rb +3470 -0
  229. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  230. data/generated/google/apis/healthcare_v1beta1/classes.rb +569 -23
  231. data/generated/google/apis/healthcare_v1beta1/representations.rb +236 -1
  232. data/generated/google/apis/healthcare_v1beta1/service.rb +147 -18
  233. data/generated/google/apis/homegraph_v1.rb +1 -1
  234. data/generated/google/apis/homegraph_v1/classes.rb +67 -63
  235. data/generated/google/apis/homegraph_v1/service.rb +43 -47
  236. data/generated/google/apis/iap_v1.rb +1 -1
  237. data/generated/google/apis/iap_v1/classes.rb +190 -0
  238. data/generated/google/apis/iap_v1/representations.rb +66 -0
  239. data/generated/google/apis/jobs_v2.rb +1 -1
  240. data/generated/google/apis/language_v1.rb +1 -1
  241. data/generated/google/apis/language_v1/classes.rb +6 -6
  242. data/generated/google/apis/language_v1beta1.rb +1 -1
  243. data/generated/google/apis/language_v1beta1/classes.rb +5 -5
  244. data/generated/google/apis/language_v1beta2.rb +1 -1
  245. data/generated/google/apis/language_v1beta2/classes.rb +8 -7
  246. data/generated/google/apis/logging_v2.rb +3 -3
  247. data/generated/google/apis/logging_v2/classes.rb +3 -4
  248. data/generated/google/apis/logging_v2/service.rb +2 -2
  249. data/generated/google/apis/managedidentities_v1.rb +1 -1
  250. data/generated/google/apis/managedidentities_v1/classes.rb +54 -145
  251. data/generated/google/apis/managedidentities_v1/representations.rb +17 -33
  252. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  253. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -145
  254. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +17 -33
  255. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  256. data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -145
  257. data/generated/google/apis/managedidentities_v1beta1/representations.rb +17 -33
  258. data/generated/google/apis/manufacturers_v1.rb +1 -1
  259. data/generated/google/apis/manufacturers_v1/classes.rb +3 -3
  260. data/generated/google/apis/manufacturers_v1/representations.rb +1 -1
  261. data/generated/google/apis/memcache_v1beta2.rb +35 -0
  262. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → memcache_v1beta2}/classes.rb +1083 -761
  263. data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
  264. data/generated/google/apis/memcache_v1beta2/service.rb +674 -0
  265. data/generated/google/apis/ml_v1.rb +1 -1
  266. data/generated/google/apis/ml_v1/classes.rb +47 -7
  267. data/generated/google/apis/ml_v1/representations.rb +4 -0
  268. data/generated/google/apis/monitoring_v1.rb +7 -8
  269. data/generated/google/apis/monitoring_v1/classes.rb +54 -15
  270. data/generated/google/apis/monitoring_v1/representations.rb +3 -0
  271. data/generated/google/apis/monitoring_v1/service.rb +7 -8
  272. data/generated/google/apis/monitoring_v3.rb +7 -8
  273. data/generated/google/apis/monitoring_v3/classes.rb +300 -27
  274. data/generated/google/apis/monitoring_v3/representations.rb +128 -0
  275. data/generated/google/apis/monitoring_v3/service.rb +52 -17
  276. data/generated/google/apis/oauth2_v2.rb +4 -4
  277. data/generated/google/apis/oauth2_v2/classes.rb +1 -13
  278. data/generated/google/apis/oauth2_v2/representations.rb +2 -4
  279. data/generated/google/apis/oauth2_v2/service.rb +10 -12
  280. data/generated/google/apis/osconfig_v1.rb +35 -0
  281. data/generated/google/apis/osconfig_v1/classes.rb +1223 -0
  282. data/generated/google/apis/osconfig_v1/representations.rb +506 -0
  283. data/generated/google/apis/osconfig_v1/service.rb +386 -0
  284. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  285. data/generated/google/apis/osconfig_v1beta/classes.rb +10 -2
  286. data/generated/google/apis/people_v1.rb +1 -1
  287. data/generated/google/apis/people_v1/classes.rb +30 -12
  288. data/generated/google/apis/people_v1/representations.rb +1 -0
  289. data/generated/google/apis/people_v1/service.rb +12 -24
  290. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  291. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +4 -3
  292. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +282 -0
  293. data/generated/google/apis/pubsub_v1.rb +1 -1
  294. data/generated/google/apis/pubsub_v1/classes.rb +9 -5
  295. data/generated/google/apis/pubsub_v1/service.rb +1 -1
  296. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  297. data/generated/google/apis/pubsub_v1beta2/classes.rb +5 -2
  298. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  299. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -4
  300. data/generated/google/apis/redis_v1.rb +1 -1
  301. data/generated/google/apis/redis_v1/classes.rb +30 -7
  302. data/generated/google/apis/redis_v1/representations.rb +13 -0
  303. data/generated/google/apis/redis_v1/service.rb +36 -0
  304. data/generated/google/apis/redis_v1beta1.rb +1 -1
  305. data/generated/google/apis/redis_v1beta1/classes.rb +11 -7
  306. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  307. data/generated/google/apis/remotebuildexecution_v1/classes.rb +171 -37
  308. data/generated/google/apis/remotebuildexecution_v1/representations.rb +28 -0
  309. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  310. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +171 -37
  311. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +28 -0
  312. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  313. data/generated/google/apis/remotebuildexecution_v2/classes.rb +181 -45
  314. data/generated/google/apis/remotebuildexecution_v2/representations.rb +29 -0
  315. data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
  316. data/generated/google/apis/run_v1.rb +1 -1
  317. data/generated/google/apis/run_v1/classes.rb +6 -13
  318. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  319. data/generated/google/apis/sasportal_v1alpha1/classes.rb +4 -3
  320. data/generated/google/apis/sasportal_v1alpha1/service.rb +282 -0
  321. data/generated/google/apis/secretmanager_v1.rb +2 -2
  322. data/generated/google/apis/secretmanager_v1/service.rb +4 -1
  323. data/generated/google/apis/secretmanager_v1beta1.rb +2 -2
  324. data/generated/google/apis/secretmanager_v1beta1/service.rb +4 -1
  325. data/generated/google/apis/securitycenter_v1.rb +4 -4
  326. data/generated/google/apis/securitycenter_v1/classes.rb +142 -114
  327. data/generated/google/apis/securitycenter_v1/service.rb +11 -3
  328. data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
  329. data/generated/google/apis/securitycenter_v1beta1/classes.rb +137 -123
  330. data/generated/google/apis/securitycenter_v1beta1/service.rb +3 -3
  331. data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
  332. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +87 -75
  333. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
  334. data/generated/google/apis/securitycenter_v1p1beta1.rb +4 -4
  335. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +117 -95
  336. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +11 -3
  337. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  338. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +41 -6
  339. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
  340. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → serviceconsumermanagement_v1beta1.rb} +8 -9
  341. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4170 -0
  342. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1308 -0
  343. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
  344. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  345. data/generated/google/apis/servicecontrol_v1/classes.rb +2 -2
  346. data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → servicedirectory_v1beta1.rb} +9 -9
  347. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +800 -0
  348. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +304 -0
  349. data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
  350. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  351. data/generated/google/apis/servicemanagement_v1/classes.rb +41 -6
  352. data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
  353. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  354. data/generated/google/apis/servicenetworking_v1/classes.rb +179 -6
  355. data/generated/google/apis/servicenetworking_v1/representations.rb +72 -0
  356. data/generated/google/apis/servicenetworking_v1/service.rb +53 -21
  357. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  358. data/generated/google/apis/servicenetworking_v1beta/classes.rb +149 -6
  359. data/generated/google/apis/servicenetworking_v1beta/representations.rb +57 -0
  360. data/generated/google/apis/serviceusage_v1.rb +1 -1
  361. data/generated/google/apis/serviceusage_v1/classes.rb +116 -6
  362. data/generated/google/apis/serviceusage_v1/representations.rb +45 -0
  363. data/generated/google/apis/serviceusage_v1/service.rb +42 -0
  364. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  365. data/generated/google/apis/serviceusage_v1beta1/classes.rb +97 -32
  366. data/generated/google/apis/serviceusage_v1beta1/representations.rb +31 -15
  367. data/generated/google/apis/serviceusage_v1beta1/service.rb +0 -43
  368. data/generated/google/apis/sheets_v4.rb +1 -1
  369. data/generated/google/apis/sheets_v4/classes.rb +2 -2
  370. data/generated/google/apis/spanner_v1.rb +1 -1
  371. data/generated/google/apis/spanner_v1/classes.rb +463 -1
  372. data/generated/google/apis/spanner_v1/representations.rb +178 -0
  373. data/generated/google/apis/spanner_v1/service.rb +498 -10
  374. data/generated/google/apis/speech_v1.rb +1 -1
  375. data/generated/google/apis/speech_v1/classes.rb +7 -3
  376. data/generated/google/apis/speech_v1/representations.rb +1 -0
  377. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  378. data/generated/google/apis/speech_v1p1beta1/classes.rb +7 -3
  379. data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
  380. data/generated/google/apis/speech_v2beta1.rb +1 -1
  381. data/generated/google/apis/speech_v2beta1/classes.rb +7 -0
  382. data/generated/google/apis/speech_v2beta1/representations.rb +1 -0
  383. data/generated/google/apis/sql_v1beta4.rb +1 -1
  384. data/generated/google/apis/sql_v1beta4/classes.rb +3 -3
  385. data/generated/google/apis/sql_v1beta4/service.rb +54 -384
  386. data/generated/google/apis/storage_v1.rb +1 -1
  387. data/generated/google/apis/storage_v1/classes.rb +18 -0
  388. data/generated/google/apis/storage_v1/representations.rb +2 -0
  389. data/generated/google/apis/storage_v1/service.rb +28 -3
  390. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  391. data/generated/google/apis/storagetransfer_v1/classes.rb +194 -11
  392. data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
  393. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  394. data/generated/google/apis/toolresults_v1beta3/classes.rb +217 -0
  395. data/generated/google/apis/toolresults_v1beta3/representations.rb +84 -0
  396. data/generated/google/apis/toolresults_v1beta3/service.rb +76 -29
  397. data/generated/google/apis/vault_v1.rb +1 -1
  398. data/generated/google/apis/videointelligence_v1.rb +1 -1
  399. data/generated/google/apis/videointelligence_v1/classes.rb +744 -4
  400. data/generated/google/apis/videointelligence_v1/representations.rb +356 -0
  401. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  402. data/generated/google/apis/videointelligence_v1beta2/classes.rb +744 -4
  403. data/generated/google/apis/videointelligence_v1beta2/representations.rb +356 -0
  404. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  405. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +744 -4
  406. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +356 -0
  407. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  408. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +744 -4
  409. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +356 -0
  410. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  411. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +744 -4
  412. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +356 -0
  413. data/generated/google/apis/vision_v1.rb +1 -1
  414. data/generated/google/apis/vision_v1/classes.rb +1 -1
  415. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  416. data/generated/google/apis/vision_v1p1beta1/classes.rb +1 -1
  417. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  418. data/generated/google/apis/vision_v1p2beta1/classes.rb +1 -1
  419. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  420. data/generated/google/apis/youtube_v3.rb +4 -1
  421. data/generated/google/apis/youtube_v3/classes.rb +7 -0
  422. data/generated/google/apis/youtube_v3/representations.rb +1 -0
  423. data/lib/google/apis/generator/annotator.rb +1 -1
  424. data/lib/google/apis/version.rb +1 -1
  425. metadata +32 -23
  426. data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
  427. data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +0 -123
  428. data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
  429. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +0 -399
  430. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
  431. data/generated/google/apis/mirror_v1/classes.rb +0 -1072
  432. data/generated/google/apis/mirror_v1/representations.rb +0 -390
  433. data/generated/google/apis/mirror_v1/service.rb +0 -928
  434. data/generated/google/apis/oauth2_v1.rb +0 -40
  435. data/generated/google/apis/oauth2_v1/classes.rb +0 -197
  436. data/generated/google/apis/oauth2_v1/representations.rb +0 -73
  437. data/generated/google/apis/oauth2_v1/service.rb +0 -160
  438. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
  439. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
  440. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
@@ -418,24 +418,21 @@ module Google
418
418
  class Representation < Google::Apis::Core::JsonRepresentation
419
419
  property :basic, as: 'basic', class: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1BasicLevel, decorator: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1BasicLevel::Representation
420
420
 
421
- property :create_time, as: 'createTime'
422
421
  property :custom, as: 'custom', class: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1CustomLevel, decorator: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1CustomLevel::Representation
423
422
 
424
423
  property :description, as: 'description'
425
424
  property :name, as: 'name'
426
425
  property :title, as: 'title'
427
- property :update_time, as: 'updateTime'
428
426
  end
429
427
  end
430
428
 
431
429
  class GoogleIdentityAccesscontextmanagerV1AccessPolicy
432
430
  # @private
433
431
  class Representation < Google::Apis::Core::JsonRepresentation
434
- property :create_time, as: 'createTime'
432
+ property :etag, as: 'etag'
435
433
  property :name, as: 'name'
436
434
  property :parent, as: 'parent'
437
435
  property :title, as: 'title'
438
- property :update_time, as: 'updateTime'
439
436
  end
440
437
  end
441
438
 
@@ -494,7 +491,6 @@ module Google
494
491
  class GoogleIdentityAccesscontextmanagerV1ServicePerimeter
495
492
  # @private
496
493
  class Representation < Google::Apis::Core::JsonRepresentation
497
- property :create_time, as: 'createTime'
498
494
  property :description, as: 'description'
499
495
  property :name, as: 'name'
500
496
  property :perimeter_type, as: 'perimeterType'
@@ -503,7 +499,6 @@ module Google
503
499
  property :status, as: 'status', class: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig, decorator: Google::Apis::CloudassetV1::GoogleIdentityAccesscontextmanagerV1ServicePerimeterConfig::Representation
504
500
 
505
501
  property :title, as: 'title'
506
- property :update_time, as: 'updateTime'
507
502
  property :use_explicit_dry_run_spec, as: 'useExplicitDryRunSpec'
508
503
  end
509
504
  end
@@ -278,8 +278,8 @@ module Google
278
278
  # @param [String] content_type
279
279
  # Optional. The content type.
280
280
  # @param [String] read_time_window_end_time
281
- # End time of the time window (inclusive).
282
- # Current timestamp if not specified.
281
+ # End time of the time window (inclusive). If not specified, the current
282
+ # timestamp is used instead.
283
283
  # @param [String] read_time_window_start_time
284
284
  # Start time of the time window (exclusive).
285
285
  # @param [String] fields
@@ -0,0 +1,34 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'google/apis/cloudasset_v1p1beta1/service.rb'
16
+ require 'google/apis/cloudasset_v1p1beta1/classes.rb'
17
+ require 'google/apis/cloudasset_v1p1beta1/representations.rb'
18
+
19
+ module Google
20
+ module Apis
21
+ # Cloud Asset API
22
+ #
23
+ # The cloud asset API manages the history and inventory of cloud resources.
24
+ #
25
+ # @see https://cloud.google.com/asset-inventory/docs/quickstart
26
+ module CloudassetV1p1beta1
27
+ VERSION = 'V1p1beta1'
28
+ REVISION = '20200403'
29
+
30
+ # View and manage your data across Google Cloud Platform services
31
+ AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,669 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module CloudassetV1p1beta1
24
+
25
+ # Specifies the audit configuration for a service.
26
+ # The configuration determines which permission types are logged, and what
27
+ # identities, if any, are exempted from logging.
28
+ # An AuditConfig must have one or more AuditLogConfigs.
29
+ # If there are AuditConfigs for both `allServices` and a specific service,
30
+ # the union of the two AuditConfigs is used for that service: the log_types
31
+ # specified in each AuditConfig are enabled, and the exempted_members in each
32
+ # AuditLogConfig are exempted.
33
+ # Example Policy with multiple AuditConfigs:
34
+ # `
35
+ # "audit_configs": [
36
+ # `
37
+ # "service": "allServices"
38
+ # "audit_log_configs": [
39
+ # `
40
+ # "log_type": "DATA_READ",
41
+ # "exempted_members": [
42
+ # "user:jose@example.com"
43
+ # ]
44
+ # `,
45
+ # `
46
+ # "log_type": "DATA_WRITE",
47
+ # `,
48
+ # `
49
+ # "log_type": "ADMIN_READ",
50
+ # `
51
+ # ]
52
+ # `,
53
+ # `
54
+ # "service": "sampleservice.googleapis.com"
55
+ # "audit_log_configs": [
56
+ # `
57
+ # "log_type": "DATA_READ",
58
+ # `,
59
+ # `
60
+ # "log_type": "DATA_WRITE",
61
+ # "exempted_members": [
62
+ # "user:aliya@example.com"
63
+ # ]
64
+ # `
65
+ # ]
66
+ # `
67
+ # ]
68
+ # `
69
+ # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
70
+ # logging. It also exempts jose@example.com from DATA_READ logging, and
71
+ # aliya@example.com from DATA_WRITE logging.
72
+ class AuditConfig
73
+ include Google::Apis::Core::Hashable
74
+
75
+ # The configuration for logging of each type of permission.
76
+ # Corresponds to the JSON property `auditLogConfigs`
77
+ # @return [Array<Google::Apis::CloudassetV1p1beta1::AuditLogConfig>]
78
+ attr_accessor :audit_log_configs
79
+
80
+ # Specifies a service that will be enabled for audit logging.
81
+ # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
82
+ # `allServices` is a special value that covers all services.
83
+ # Corresponds to the JSON property `service`
84
+ # @return [String]
85
+ attr_accessor :service
86
+
87
+ def initialize(**args)
88
+ update!(**args)
89
+ end
90
+
91
+ # Update properties of this object
92
+ def update!(**args)
93
+ @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
94
+ @service = args[:service] if args.key?(:service)
95
+ end
96
+ end
97
+
98
+ # Provides the configuration for logging a type of permissions.
99
+ # Example:
100
+ # `
101
+ # "audit_log_configs": [
102
+ # `
103
+ # "log_type": "DATA_READ",
104
+ # "exempted_members": [
105
+ # "user:jose@example.com"
106
+ # ]
107
+ # `,
108
+ # `
109
+ # "log_type": "DATA_WRITE",
110
+ # `
111
+ # ]
112
+ # `
113
+ # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
114
+ # jose@example.com from DATA_READ logging.
115
+ class AuditLogConfig
116
+ include Google::Apis::Core::Hashable
117
+
118
+ # Specifies the identities that do not cause logging for this type of
119
+ # permission.
120
+ # Follows the same format of Binding.members.
121
+ # Corresponds to the JSON property `exemptedMembers`
122
+ # @return [Array<String>]
123
+ attr_accessor :exempted_members
124
+
125
+ # The log type that this config enables.
126
+ # Corresponds to the JSON property `logType`
127
+ # @return [String]
128
+ attr_accessor :log_type
129
+
130
+ def initialize(**args)
131
+ update!(**args)
132
+ end
133
+
134
+ # Update properties of this object
135
+ def update!(**args)
136
+ @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
137
+ @log_type = args[:log_type] if args.key?(:log_type)
138
+ end
139
+ end
140
+
141
+ # Associates `members` with a `role`.
142
+ class Binding
143
+ include Google::Apis::Core::Hashable
144
+
145
+ # Represents a textual expression in the Common Expression Language (CEL)
146
+ # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
147
+ # are documented at https://github.com/google/cel-spec.
148
+ # Example (Comparison):
149
+ # title: "Summary size limit"
150
+ # description: "Determines if a summary is less than 100 chars"
151
+ # expression: "document.summary.size() < 100"
152
+ # Example (Equality):
153
+ # title: "Requestor is owner"
154
+ # description: "Determines if requestor is the document owner"
155
+ # expression: "document.owner == request.auth.claims.email"
156
+ # Example (Logic):
157
+ # title: "Public documents"
158
+ # description: "Determine whether the document should be publicly visible"
159
+ # expression: "document.type != 'private' && document.type != 'internal'"
160
+ # Example (Data Manipulation):
161
+ # title: "Notification string"
162
+ # description: "Create a notification string with a timestamp."
163
+ # expression: "'New message received at ' + string(document.create_time)"
164
+ # The exact variables and functions that may be referenced within an expression
165
+ # are determined by the service that evaluates it. See the service
166
+ # documentation for additional information.
167
+ # Corresponds to the JSON property `condition`
168
+ # @return [Google::Apis::CloudassetV1p1beta1::Expr]
169
+ attr_accessor :condition
170
+
171
+ # Specifies the identities requesting access for a Cloud Platform resource.
172
+ # `members` can have the following values:
173
+ # * `allUsers`: A special identifier that represents anyone who is
174
+ # on the internet; with or without a Google account.
175
+ # * `allAuthenticatedUsers`: A special identifier that represents anyone
176
+ # who is authenticated with a Google account or a service account.
177
+ # * `user:`emailid``: An email address that represents a specific Google
178
+ # account. For example, `alice@example.com` .
179
+ # * `serviceAccount:`emailid``: An email address that represents a service
180
+ # account. For example, `my-other-app@appspot.gserviceaccount.com`.
181
+ # * `group:`emailid``: An email address that represents a Google group.
182
+ # For example, `admins@example.com`.
183
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
184
+ # identifier) representing a user that has been recently deleted. For
185
+ # example, `alice@example.com?uid=123456789012345678901`. If the user is
186
+ # recovered, this value reverts to `user:`emailid`` and the recovered user
187
+ # retains the role in the binding.
188
+ # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
189
+ # unique identifier) representing a service account that has been recently
190
+ # deleted. For example,
191
+ # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
192
+ # If the service account is undeleted, this value reverts to
193
+ # `serviceAccount:`emailid`` and the undeleted service account retains the
194
+ # role in the binding.
195
+ # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
196
+ # identifier) representing a Google group that has been recently
197
+ # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
198
+ # the group is recovered, this value reverts to `group:`emailid`` and the
199
+ # recovered group retains the role in the binding.
200
+ # * `domain:`domain``: The G Suite domain (primary) that represents all the
201
+ # users of that domain. For example, `google.com` or `example.com`.
202
+ # Corresponds to the JSON property `members`
203
+ # @return [Array<String>]
204
+ attr_accessor :members
205
+
206
+ # Role that is assigned to `members`.
207
+ # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
208
+ # Corresponds to the JSON property `role`
209
+ # @return [String]
210
+ attr_accessor :role
211
+
212
+ def initialize(**args)
213
+ update!(**args)
214
+ end
215
+
216
+ # Update properties of this object
217
+ def update!(**args)
218
+ @condition = args[:condition] if args.key?(:condition)
219
+ @members = args[:members] if args.key?(:members)
220
+ @role = args[:role] if args.key?(:role)
221
+ end
222
+ end
223
+
224
+ # Explanation about the IAM policy search result.
225
+ class Explanation
226
+ include Google::Apis::Core::Hashable
227
+
228
+ # The map from roles to their included permission matching the permission
229
+ # query (e.g. containing `policy.role.permissions:`). A sample role string:
230
+ # "roles/compute.instanceAdmin". The roles can also be found in the
231
+ # returned `policy` bindings. Note that the map is populated only if
232
+ # requesting with a permission query.
233
+ # Corresponds to the JSON property `matchedPermissions`
234
+ # @return [Hash<String,Google::Apis::CloudassetV1p1beta1::Permissions>]
235
+ attr_accessor :matched_permissions
236
+
237
+ def initialize(**args)
238
+ update!(**args)
239
+ end
240
+
241
+ # Update properties of this object
242
+ def update!(**args)
243
+ @matched_permissions = args[:matched_permissions] if args.key?(:matched_permissions)
244
+ end
245
+ end
246
+
247
+ # Represents a textual expression in the Common Expression Language (CEL)
248
+ # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
249
+ # are documented at https://github.com/google/cel-spec.
250
+ # Example (Comparison):
251
+ # title: "Summary size limit"
252
+ # description: "Determines if a summary is less than 100 chars"
253
+ # expression: "document.summary.size() < 100"
254
+ # Example (Equality):
255
+ # title: "Requestor is owner"
256
+ # description: "Determines if requestor is the document owner"
257
+ # expression: "document.owner == request.auth.claims.email"
258
+ # Example (Logic):
259
+ # title: "Public documents"
260
+ # description: "Determine whether the document should be publicly visible"
261
+ # expression: "document.type != 'private' && document.type != 'internal'"
262
+ # Example (Data Manipulation):
263
+ # title: "Notification string"
264
+ # description: "Create a notification string with a timestamp."
265
+ # expression: "'New message received at ' + string(document.create_time)"
266
+ # The exact variables and functions that may be referenced within an expression
267
+ # are determined by the service that evaluates it. See the service
268
+ # documentation for additional information.
269
+ class Expr
270
+ include Google::Apis::Core::Hashable
271
+
272
+ # Optional. Description of the expression. This is a longer text which
273
+ # describes the expression, e.g. when hovered over it in a UI.
274
+ # Corresponds to the JSON property `description`
275
+ # @return [String]
276
+ attr_accessor :description
277
+
278
+ # Textual representation of an expression in Common Expression Language
279
+ # syntax.
280
+ # Corresponds to the JSON property `expression`
281
+ # @return [String]
282
+ attr_accessor :expression
283
+
284
+ # Optional. String indicating the location of the expression for error
285
+ # reporting, e.g. a file name and a position in the file.
286
+ # Corresponds to the JSON property `location`
287
+ # @return [String]
288
+ attr_accessor :location
289
+
290
+ # Optional. Title for the expression, i.e. a short string describing
291
+ # its purpose. This can be used e.g. in UIs which allow to enter the
292
+ # expression.
293
+ # Corresponds to the JSON property `title`
294
+ # @return [String]
295
+ attr_accessor :title
296
+
297
+ def initialize(**args)
298
+ update!(**args)
299
+ end
300
+
301
+ # Update properties of this object
302
+ def update!(**args)
303
+ @description = args[:description] if args.key?(:description)
304
+ @expression = args[:expression] if args.key?(:expression)
305
+ @location = args[:location] if args.key?(:location)
306
+ @title = args[:title] if args.key?(:title)
307
+ end
308
+ end
309
+
310
+ # The result for a IAM Policy search.
311
+ class IamPolicySearchResult
312
+ include Google::Apis::Core::Hashable
313
+
314
+ # Explanation about the IAM policy search result.
315
+ # Corresponds to the JSON property `explanation`
316
+ # @return [Google::Apis::CloudassetV1p1beta1::Explanation]
317
+ attr_accessor :explanation
318
+
319
+ # An Identity and Access Management (IAM) policy, which specifies access
320
+ # controls for Google Cloud resources.
321
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more
322
+ # `members` to a single `role`. Members can be user accounts, service accounts,
323
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
324
+ # permissions; each `role` can be an IAM predefined role or a user-created
325
+ # custom role.
326
+ # Optionally, a `binding` can specify a `condition`, which is a logical
327
+ # expression that allows access to a resource only if the expression evaluates
328
+ # to `true`. A condition can add constraints based on attributes of the
329
+ # request, the resource, or both.
330
+ # **JSON example:**
331
+ # `
332
+ # "bindings": [
333
+ # `
334
+ # "role": "roles/resourcemanager.organizationAdmin",
335
+ # "members": [
336
+ # "user:mike@example.com",
337
+ # "group:admins@example.com",
338
+ # "domain:google.com",
339
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
340
+ # ]
341
+ # `,
342
+ # `
343
+ # "role": "roles/resourcemanager.organizationViewer",
344
+ # "members": ["user:eve@example.com"],
345
+ # "condition": `
346
+ # "title": "expirable access",
347
+ # "description": "Does not grant access after Sep 2020",
348
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
349
+ # ",
350
+ # `
351
+ # `
352
+ # ],
353
+ # "etag": "BwWWja0YfJA=",
354
+ # "version": 3
355
+ # `
356
+ # **YAML example:**
357
+ # bindings:
358
+ # - members:
359
+ # - user:mike@example.com
360
+ # - group:admins@example.com
361
+ # - domain:google.com
362
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
363
+ # role: roles/resourcemanager.organizationAdmin
364
+ # - members:
365
+ # - user:eve@example.com
366
+ # role: roles/resourcemanager.organizationViewer
367
+ # condition:
368
+ # title: expirable access
369
+ # description: Does not grant access after Sep 2020
370
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
371
+ # - etag: BwWWja0YfJA=
372
+ # - version: 3
373
+ # For a description of IAM and its features, see the
374
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
375
+ # Corresponds to the JSON property `policy`
376
+ # @return [Google::Apis::CloudassetV1p1beta1::Policy]
377
+ attr_accessor :policy
378
+
379
+ # The project that the associated GCP resource belongs to, in the form of
380
+ # `projects/`project_number``. If an IAM policy is set on a resource (like VM
381
+ # instance, Cloud Storage bucket), the project field will indicate the
382
+ # project that contains the resource. If an IAM policy is set on a folder or
383
+ # orgnization, the project field will be empty.
384
+ # Corresponds to the JSON property `project`
385
+ # @return [String]
386
+ attr_accessor :project
387
+
388
+ # The [full resource
389
+ # name](https://cloud.google.com/apis/design/resource_names#full_resource_name)
390
+ # of the resource associated with this IAM policy.
391
+ # Corresponds to the JSON property `resource`
392
+ # @return [String]
393
+ attr_accessor :resource
394
+
395
+ def initialize(**args)
396
+ update!(**args)
397
+ end
398
+
399
+ # Update properties of this object
400
+ def update!(**args)
401
+ @explanation = args[:explanation] if args.key?(:explanation)
402
+ @policy = args[:policy] if args.key?(:policy)
403
+ @project = args[:project] if args.key?(:project)
404
+ @resource = args[:resource] if args.key?(:resource)
405
+ end
406
+ end
407
+
408
+ # IAM permissions
409
+ class Permissions
410
+ include Google::Apis::Core::Hashable
411
+
412
+ # A list of permissions. A sample permission string: "compute.disk.get".
413
+ # Corresponds to the JSON property `permissions`
414
+ # @return [Array<String>]
415
+ attr_accessor :permissions
416
+
417
+ def initialize(**args)
418
+ update!(**args)
419
+ end
420
+
421
+ # Update properties of this object
422
+ def update!(**args)
423
+ @permissions = args[:permissions] if args.key?(:permissions)
424
+ end
425
+ end
426
+
427
+ # An Identity and Access Management (IAM) policy, which specifies access
428
+ # controls for Google Cloud resources.
429
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more
430
+ # `members` to a single `role`. Members can be user accounts, service accounts,
431
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
432
+ # permissions; each `role` can be an IAM predefined role or a user-created
433
+ # custom role.
434
+ # Optionally, a `binding` can specify a `condition`, which is a logical
435
+ # expression that allows access to a resource only if the expression evaluates
436
+ # to `true`. A condition can add constraints based on attributes of the
437
+ # request, the resource, or both.
438
+ # **JSON example:**
439
+ # `
440
+ # "bindings": [
441
+ # `
442
+ # "role": "roles/resourcemanager.organizationAdmin",
443
+ # "members": [
444
+ # "user:mike@example.com",
445
+ # "group:admins@example.com",
446
+ # "domain:google.com",
447
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
448
+ # ]
449
+ # `,
450
+ # `
451
+ # "role": "roles/resourcemanager.organizationViewer",
452
+ # "members": ["user:eve@example.com"],
453
+ # "condition": `
454
+ # "title": "expirable access",
455
+ # "description": "Does not grant access after Sep 2020",
456
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
457
+ # ",
458
+ # `
459
+ # `
460
+ # ],
461
+ # "etag": "BwWWja0YfJA=",
462
+ # "version": 3
463
+ # `
464
+ # **YAML example:**
465
+ # bindings:
466
+ # - members:
467
+ # - user:mike@example.com
468
+ # - group:admins@example.com
469
+ # - domain:google.com
470
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
471
+ # role: roles/resourcemanager.organizationAdmin
472
+ # - members:
473
+ # - user:eve@example.com
474
+ # role: roles/resourcemanager.organizationViewer
475
+ # condition:
476
+ # title: expirable access
477
+ # description: Does not grant access after Sep 2020
478
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
479
+ # - etag: BwWWja0YfJA=
480
+ # - version: 3
481
+ # For a description of IAM and its features, see the
482
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
483
+ class Policy
484
+ include Google::Apis::Core::Hashable
485
+
486
+ # Specifies cloud audit logging configuration for this policy.
487
+ # Corresponds to the JSON property `auditConfigs`
488
+ # @return [Array<Google::Apis::CloudassetV1p1beta1::AuditConfig>]
489
+ attr_accessor :audit_configs
490
+
491
+ # Associates a list of `members` to a `role`. Optionally, may specify a
492
+ # `condition` that determines how and when the `bindings` are applied. Each
493
+ # of the `bindings` must contain at least one member.
494
+ # Corresponds to the JSON property `bindings`
495
+ # @return [Array<Google::Apis::CloudassetV1p1beta1::Binding>]
496
+ attr_accessor :bindings
497
+
498
+ # `etag` is used for optimistic concurrency control as a way to help
499
+ # prevent simultaneous updates of a policy from overwriting each other.
500
+ # It is strongly suggested that systems make use of the `etag` in the
501
+ # read-modify-write cycle to perform policy updates in order to avoid race
502
+ # conditions: An `etag` is returned in the response to `getIamPolicy`, and
503
+ # systems are expected to put that etag in the request to `setIamPolicy` to
504
+ # ensure that their change will be applied to the same version of the policy.
505
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
506
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
507
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
508
+ # the conditions in the version `3` policy are lost.
509
+ # Corresponds to the JSON property `etag`
510
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
511
+ # @return [String]
512
+ attr_accessor :etag
513
+
514
+ # Specifies the format of the policy.
515
+ # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
516
+ # are rejected.
517
+ # Any operation that affects conditional role bindings must specify version
518
+ # `3`. This requirement applies to the following operations:
519
+ # * Getting a policy that includes a conditional role binding
520
+ # * Adding a conditional role binding to a policy
521
+ # * Changing a conditional role binding in a policy
522
+ # * Removing any role binding, with or without a condition, from a policy
523
+ # that includes conditions
524
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
525
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
526
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
527
+ # the conditions in the version `3` policy are lost.
528
+ # If a policy does not include any conditions, operations on that policy may
529
+ # specify any valid version or leave the field unset.
530
+ # Corresponds to the JSON property `version`
531
+ # @return [Fixnum]
532
+ attr_accessor :version
533
+
534
+ def initialize(**args)
535
+ update!(**args)
536
+ end
537
+
538
+ # Update properties of this object
539
+ def update!(**args)
540
+ @audit_configs = args[:audit_configs] if args.key?(:audit_configs)
541
+ @bindings = args[:bindings] if args.key?(:bindings)
542
+ @etag = args[:etag] if args.key?(:etag)
543
+ @version = args[:version] if args.key?(:version)
544
+ end
545
+ end
546
+
547
+ # Search all IAM policies response.
548
+ class SearchAllIamPoliciesResponse
549
+ include Google::Apis::Core::Hashable
550
+
551
+ # Set if there are more results than those appearing in this response; to get
552
+ # the next set of results, call this method again, using this value as the
553
+ # `page_token`.
554
+ # Corresponds to the JSON property `nextPageToken`
555
+ # @return [String]
556
+ attr_accessor :next_page_token
557
+
558
+ # A list of IamPolicy that match the search query. Related information such
559
+ # as the associated resource is returned along with the policy.
560
+ # Corresponds to the JSON property `results`
561
+ # @return [Array<Google::Apis::CloudassetV1p1beta1::IamPolicySearchResult>]
562
+ attr_accessor :results
563
+
564
+ def initialize(**args)
565
+ update!(**args)
566
+ end
567
+
568
+ # Update properties of this object
569
+ def update!(**args)
570
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
571
+ @results = args[:results] if args.key?(:results)
572
+ end
573
+ end
574
+
575
+ # Search all resources response.
576
+ class SearchAllResourcesResponse
577
+ include Google::Apis::Core::Hashable
578
+
579
+ # If there are more results than those appearing in this response, then
580
+ # `next_page_token` is included. To get the next set of results, call this
581
+ # method again using the value of `next_page_token` as `page_token`.
582
+ # Corresponds to the JSON property `nextPageToken`
583
+ # @return [String]
584
+ attr_accessor :next_page_token
585
+
586
+ # A list of resource that match the search query.
587
+ # Corresponds to the JSON property `results`
588
+ # @return [Array<Google::Apis::CloudassetV1p1beta1::StandardResourceMetadata>]
589
+ attr_accessor :results
590
+
591
+ def initialize(**args)
592
+ update!(**args)
593
+ end
594
+
595
+ # Update properties of this object
596
+ def update!(**args)
597
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
598
+ @results = args[:results] if args.key?(:results)
599
+ end
600
+ end
601
+
602
+ # The standard metadata of a cloud resource.
603
+ class StandardResourceMetadata
604
+ include Google::Apis::Core::Hashable
605
+
606
+ # Additional searchable attributes of this resource.
607
+ # Informational only. The exact set of attributes is subject to change.
608
+ # For example: project id, DNS name etc.
609
+ # Corresponds to the JSON property `additionalAttributes`
610
+ # @return [Array<String>]
611
+ attr_accessor :additional_attributes
612
+
613
+ # The type of this resource.
614
+ # For example: "compute.googleapis.com/Disk".
615
+ # Corresponds to the JSON property `assetType`
616
+ # @return [String]
617
+ attr_accessor :asset_type
618
+
619
+ # One or more paragraphs of text description of this resource. Maximum length
620
+ # could be up to 1M bytes.
621
+ # Corresponds to the JSON property `description`
622
+ # @return [String]
623
+ attr_accessor :description
624
+
625
+ # The display name of this resource.
626
+ # Corresponds to the JSON property `displayName`
627
+ # @return [String]
628
+ attr_accessor :display_name
629
+
630
+ # Location can be "global", regional like "us-east1", or zonal like
631
+ # "us-west1-b".
632
+ # Corresponds to the JSON property `location`
633
+ # @return [String]
634
+ attr_accessor :location
635
+
636
+ # The full resource name. For example:
637
+ # `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/
638
+ # instance1`.
639
+ # See [Resource
640
+ # Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
641
+ # for more information.
642
+ # Corresponds to the JSON property `name`
643
+ # @return [String]
644
+ attr_accessor :name
645
+
646
+ # The project that this resource belongs to, in the form of
647
+ # `projects/`project_number``.
648
+ # Corresponds to the JSON property `project`
649
+ # @return [String]
650
+ attr_accessor :project
651
+
652
+ def initialize(**args)
653
+ update!(**args)
654
+ end
655
+
656
+ # Update properties of this object
657
+ def update!(**args)
658
+ @additional_attributes = args[:additional_attributes] if args.key?(:additional_attributes)
659
+ @asset_type = args[:asset_type] if args.key?(:asset_type)
660
+ @description = args[:description] if args.key?(:description)
661
+ @display_name = args[:display_name] if args.key?(:display_name)
662
+ @location = args[:location] if args.key?(:location)
663
+ @name = args[:name] if args.key?(:name)
664
+ @project = args[:project] if args.key?(:project)
665
+ end
666
+ end
667
+ end
668
+ end
669
+ end