google-api-client 0.42.2 → 0.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (358) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +129 -0
  3. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
  4. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
  5. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
  6. data/generated/google/apis/accessapproval_v1.rb +1 -1
  7. data/generated/google/apis/accessapproval_v1/classes.rb +9 -0
  8. data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
  9. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +523 -653
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
  12. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  13. data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
  14. data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
  15. data/generated/google/apis/admob_v1.rb +1 -1
  16. data/generated/google/apis/admob_v1/classes.rb +139 -270
  17. data/generated/google/apis/admob_v1/service.rb +11 -13
  18. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  19. data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
  20. data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
  21. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  22. data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
  23. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  24. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +193 -220
  25. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
  26. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
  28. data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
  29. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  30. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  31. data/generated/google/apis/androidpublisher_v3/classes.rb +281 -342
  32. data/generated/google/apis/androidpublisher_v3/service.rb +125 -153
  33. data/generated/google/apis/apigee_v1.rb +6 -7
  34. data/generated/google/apis/apigee_v1/classes.rb +733 -1180
  35. data/generated/google/apis/apigee_v1/service.rb +879 -1133
  36. data/generated/google/apis/appsmarket_v2.rb +1 -1
  37. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  38. data/generated/google/apis/bigtableadmin_v2/service.rb +1 -1
  39. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  40. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +97 -118
  41. data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
  42. data/generated/google/apis/blogger_v2.rb +2 -3
  43. data/generated/google/apis/blogger_v2/classes.rb +1 -2
  44. data/generated/google/apis/blogger_v2/service.rb +1 -2
  45. data/generated/google/apis/blogger_v3.rb +2 -3
  46. data/generated/google/apis/blogger_v3/classes.rb +1 -2
  47. data/generated/google/apis/blogger_v3/service.rb +1 -2
  48. data/generated/google/apis/chromeuxreport_v1.rb +1 -1
  49. data/generated/google/apis/chromeuxreport_v1/classes.rb +55 -66
  50. data/generated/google/apis/classroom_v1.rb +1 -1
  51. data/generated/google/apis/classroom_v1/classes.rb +250 -365
  52. data/generated/google/apis/classroom_v1/service.rb +643 -902
  53. data/generated/google/apis/cloudasset_v1.rb +1 -1
  54. data/generated/google/apis/cloudasset_v1/classes.rb +15 -11
  55. data/generated/google/apis/cloudasset_v1/service.rb +62 -45
  56. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  57. data/generated/google/apis/cloudasset_v1beta1/classes.rb +3 -1
  58. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  59. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  60. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +3 -1
  61. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  62. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +7 -0
  63. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
  64. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  65. data/generated/google/apis/cloudsearch_v1/classes.rb +1 -2
  66. data/generated/google/apis/compute_alpha.rb +1 -1
  67. data/generated/google/apis/compute_alpha/classes.rb +350 -20
  68. data/generated/google/apis/compute_alpha/representations.rb +100 -0
  69. data/generated/google/apis/compute_alpha/service.rb +15 -7
  70. data/generated/google/apis/compute_beta.rb +1 -1
  71. data/generated/google/apis/compute_beta/classes.rb +39 -14
  72. data/generated/google/apis/compute_beta/representations.rb +2 -0
  73. data/generated/google/apis/compute_beta/service.rb +15 -7
  74. data/generated/google/apis/compute_v1.rb +1 -1
  75. data/generated/google/apis/compute_v1/classes.rb +65 -42
  76. data/generated/google/apis/compute_v1/representations.rb +18 -15
  77. data/generated/google/apis/compute_v1/service.rb +63 -19
  78. data/generated/google/apis/container_v1.rb +1 -1
  79. data/generated/google/apis/container_v1/classes.rb +26 -0
  80. data/generated/google/apis/container_v1/representations.rb +15 -0
  81. data/generated/google/apis/content_v2.rb +1 -1
  82. data/generated/google/apis/content_v2/classes.rb +9 -0
  83. data/generated/google/apis/content_v2_1.rb +1 -1
  84. data/generated/google/apis/content_v2_1/classes.rb +9 -0
  85. data/generated/google/apis/customsearch_v1.rb +1 -1
  86. data/generated/google/apis/customsearch_v1/classes.rb +303 -492
  87. data/generated/google/apis/customsearch_v1/service.rb +184 -341
  88. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  89. data/generated/google/apis/datacatalog_v1beta1/classes.rb +572 -380
  90. data/generated/google/apis/datacatalog_v1beta1/service.rb +440 -319
  91. data/generated/google/apis/datafusion_v1.rb +43 -0
  92. data/generated/google/apis/datafusion_v1/classes.rb +1154 -0
  93. data/generated/google/apis/datafusion_v1/representations.rb +390 -0
  94. data/generated/google/apis/datafusion_v1/service.rb +680 -0
  95. data/generated/google/apis/dataproc_v1.rb +1 -1
  96. data/generated/google/apis/dataproc_v1/classes.rb +192 -316
  97. data/generated/google/apis/dataproc_v1/service.rb +134 -168
  98. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  99. data/generated/google/apis/dataproc_v1beta2/classes.rb +198 -317
  100. data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
  101. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  102. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  103. data/generated/google/apis/dialogflow_v2.rb +1 -1
  104. data/generated/google/apis/dialogflow_v2/classes.rb +1238 -1589
  105. data/generated/google/apis/dialogflow_v2/service.rb +324 -448
  106. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  107. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1313 -1681
  108. data/generated/google/apis/dialogflow_v2beta1/service.rb +742 -998
  109. data/generated/google/apis/displayvideo_v1.rb +1 -1
  110. data/generated/google/apis/displayvideo_v1/classes.rb +104 -0
  111. data/generated/google/apis/displayvideo_v1/representations.rb +36 -0
  112. data/generated/google/apis/displayvideo_v1/service.rb +104 -0
  113. data/generated/google/apis/dlp_v2.rb +1 -1
  114. data/generated/google/apis/dlp_v2/classes.rb +5 -4
  115. data/generated/google/apis/dns_v1.rb +1 -1
  116. data/generated/google/apis/dns_v1/classes.rb +7 -7
  117. data/generated/google/apis/dns_v1beta2.rb +1 -1
  118. data/generated/google/apis/dns_v1beta2/classes.rb +7 -7
  119. data/generated/google/apis/dns_v2beta1.rb +1 -1
  120. data/generated/google/apis/dns_v2beta1/classes.rb +7 -7
  121. data/generated/google/apis/domainsrdap_v1.rb +1 -1
  122. data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
  123. data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
  124. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  125. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
  126. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +4 -2
  127. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  128. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +196 -1
  129. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
  130. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +4 -2
  131. data/generated/google/apis/drive_v2.rb +1 -1
  132. data/generated/google/apis/drive_v2/classes.rb +3 -1
  133. data/generated/google/apis/drive_v3.rb +1 -1
  134. data/generated/google/apis/drive_v3/classes.rb +9 -1
  135. data/generated/google/apis/drive_v3/representations.rb +1 -0
  136. data/generated/google/apis/driveactivity_v2.rb +1 -1
  137. data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
  138. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  139. data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
  140. data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
  141. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  142. data/generated/google/apis/firebase_v1beta1/classes.rb +313 -345
  143. data/generated/google/apis/firebase_v1beta1/representations.rb +1 -0
  144. data/generated/google/apis/firebase_v1beta1/service.rb +356 -420
  145. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  146. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
  147. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
  148. data/generated/google/apis/firebasehosting_v1.rb +1 -1
  149. data/generated/google/apis/firebasehosting_v1/classes.rb +36 -40
  150. data/generated/google/apis/firebasehosting_v1/service.rb +19 -22
  151. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  152. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +148 -177
  153. data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -145
  154. data/generated/google/apis/firebaseml_v1.rb +1 -1
  155. data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
  156. data/generated/google/apis/firebaseml_v1/service.rb +19 -22
  157. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  158. data/generated/google/apis/firebaseml_v1beta2/classes.rb +60 -70
  159. data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
  160. data/generated/google/apis/gameservices_v1.rb +1 -1
  161. data/generated/google/apis/gameservices_v1/classes.rb +344 -523
  162. data/generated/google/apis/gameservices_v1/service.rb +167 -207
  163. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  164. data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
  165. data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
  166. data/generated/google/apis/genomics_v1.rb +1 -1
  167. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  168. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  169. data/generated/google/apis/genomics_v2alpha1/classes.rb +3 -75
  170. data/generated/google/apis/genomics_v2alpha1/representations.rb +0 -27
  171. data/generated/google/apis/genomics_v2alpha1/service.rb +0 -34
  172. data/generated/google/apis/gmail_v1.rb +3 -3
  173. data/generated/google/apis/gmail_v1/classes.rb +216 -269
  174. data/generated/google/apis/gmail_v1/service.rb +257 -286
  175. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
  176. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
  177. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +34 -40
  178. data/generated/google/apis/healthcare_v1.rb +1 -1
  179. data/generated/google/apis/healthcare_v1/service.rb +26 -14
  180. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  181. data/generated/google/apis/healthcare_v1beta1/classes.rb +85 -17
  182. data/generated/google/apis/healthcare_v1beta1/representations.rb +39 -0
  183. data/generated/google/apis/healthcare_v1beta1/service.rb +87 -16
  184. data/generated/google/apis/language_v1.rb +1 -1
  185. data/generated/google/apis/language_v1/classes.rb +93 -111
  186. data/generated/google/apis/language_v1/service.rb +4 -4
  187. data/generated/google/apis/language_v1beta1.rb +1 -1
  188. data/generated/google/apis/language_v1beta1/classes.rb +78 -90
  189. data/generated/google/apis/language_v1beta1/service.rb +2 -2
  190. data/generated/google/apis/language_v1beta2.rb +1 -1
  191. data/generated/google/apis/language_v1beta2/classes.rb +95 -112
  192. data/generated/google/apis/language_v1beta2/service.rb +4 -4
  193. data/generated/google/apis/libraryagent_v1.rb +1 -1
  194. data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
  195. data/generated/google/apis/libraryagent_v1/service.rb +13 -16
  196. data/generated/google/apis/logging_v2.rb +1 -1
  197. data/generated/google/apis/logging_v2/classes.rb +6 -6
  198. data/generated/google/apis/managedidentities_v1.rb +1 -1
  199. data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
  200. data/generated/google/apis/managedidentities_v1/service.rb +78 -99
  201. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  202. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +336 -457
  203. data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
  204. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  205. data/generated/google/apis/managedidentities_v1beta1/classes.rb +332 -456
  206. data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
  207. data/generated/google/apis/memcache_v1.rb +35 -0
  208. data/generated/google/apis/memcache_v1/classes.rb +1157 -0
  209. data/generated/google/apis/memcache_v1/representations.rb +471 -0
  210. data/generated/google/apis/memcache_v1/service.rb +558 -0
  211. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  212. data/generated/google/apis/memcache_v1beta2/classes.rb +41 -502
  213. data/generated/google/apis/memcache_v1beta2/representations.rb +9 -110
  214. data/generated/google/apis/memcache_v1beta2/service.rb +0 -119
  215. data/generated/google/apis/monitoring_v1.rb +1 -1
  216. data/generated/google/apis/monitoring_v1/classes.rb +12 -11
  217. data/generated/google/apis/monitoring_v3.rb +1 -1
  218. data/generated/google/apis/monitoring_v3/classes.rb +31 -14
  219. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  220. data/generated/google/apis/osconfig_v1.rb +1 -1
  221. data/generated/google/apis/osconfig_v1/classes.rb +721 -0
  222. data/generated/google/apis/osconfig_v1/representations.rb +337 -0
  223. data/generated/google/apis/people_v1.rb +1 -1
  224. data/generated/google/apis/people_v1/classes.rb +148 -13
  225. data/generated/google/apis/people_v1/representations.rb +57 -0
  226. data/generated/google/apis/people_v1/service.rb +60 -48
  227. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  228. data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
  229. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  230. data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
  231. data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
  232. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  233. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
  234. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
  235. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  236. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +122 -146
  237. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -49
  238. data/generated/google/apis/realtimebidding_v1.rb +1 -4
  239. data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
  240. data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
  241. data/generated/google/apis/recommendationengine_v1beta1.rb +2 -2
  242. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +10 -8
  243. data/generated/google/apis/recommendationengine_v1beta1/service.rb +1 -1
  244. data/generated/google/apis/recommender_v1.rb +1 -1
  245. data/generated/google/apis/recommender_v1/classes.rb +76 -100
  246. data/generated/google/apis/recommender_v1/service.rb +43 -58
  247. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  248. data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
  249. data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
  250. data/generated/google/apis/run_v1.rb +1 -1
  251. data/generated/google/apis/run_v1/classes.rb +2 -2
  252. data/generated/google/apis/run_v1/service.rb +38 -2
  253. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  254. data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
  255. data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
  256. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  257. data/generated/google/apis/sasportal_v1alpha1/classes.rb +122 -146
  258. data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -49
  259. data/generated/google/apis/searchconsole_v1.rb +1 -1
  260. data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
  261. data/generated/google/apis/securitycenter_v1.rb +1 -1
  262. data/generated/google/apis/securitycenter_v1/classes.rb +574 -826
  263. data/generated/google/apis/securitycenter_v1/service.rb +250 -332
  264. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  265. data/generated/google/apis/securitycenter_v1beta1/classes.rb +521 -746
  266. data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
  267. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  268. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +176 -208
  269. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +21 -25
  270. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  271. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +545 -791
  272. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +247 -330
  273. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  274. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1149 -1783
  275. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +111 -138
  276. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  277. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1137 -1774
  278. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
  279. data/generated/google/apis/servicecontrol_v2.rb +38 -0
  280. data/generated/google/apis/servicecontrol_v2/classes.rb +1121 -0
  281. data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
  282. data/generated/google/apis/servicecontrol_v2/service.rb +165 -0
  283. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  284. data/generated/google/apis/servicemanagement_v1/classes.rb +49 -1
  285. data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
  286. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  287. data/generated/google/apis/servicenetworking_v1/classes.rb +1119 -1758
  288. data/generated/google/apis/servicenetworking_v1/service.rb +94 -114
  289. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  290. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1065 -1684
  291. data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
  292. data/generated/google/apis/serviceusage_v1.rb +1 -1
  293. data/generated/google/apis/serviceusage_v1/classes.rb +1140 -1823
  294. data/generated/google/apis/serviceusage_v1/service.rb +63 -80
  295. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  296. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1235 -1986
  297. data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
  298. data/generated/google/apis/spanner_v1.rb +1 -1
  299. data/generated/google/apis/spanner_v1/classes.rb +3 -2
  300. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  301. data/generated/google/apis/storagetransfer_v1/classes.rb +8 -10
  302. data/generated/google/apis/storagetransfer_v1/service.rb +26 -2
  303. data/generated/google/apis/tagmanager_v1.rb +2 -3
  304. data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
  305. data/generated/google/apis/tagmanager_v1/service.rb +20 -21
  306. data/generated/google/apis/tagmanager_v2.rb +2 -3
  307. data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
  308. data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
  309. data/generated/google/apis/tagmanager_v2/service.rb +187 -283
  310. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  311. data/generated/google/apis/toolresults_v1beta3/classes.rb +665 -931
  312. data/generated/google/apis/toolresults_v1beta3/service.rb +231 -349
  313. data/generated/google/apis/tpu_v1.rb +1 -1
  314. data/generated/google/apis/tpu_v1/classes.rb +68 -78
  315. data/generated/google/apis/tpu_v1/service.rb +21 -25
  316. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  317. data/generated/google/apis/tpu_v1alpha1/classes.rb +68 -78
  318. data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
  319. data/generated/google/apis/translate_v3.rb +1 -1
  320. data/generated/google/apis/translate_v3/service.rb +14 -1
  321. data/generated/google/apis/translate_v3beta1.rb +1 -1
  322. data/generated/google/apis/translate_v3beta1/service.rb +14 -1
  323. data/generated/google/apis/vision_v1.rb +1 -1
  324. data/generated/google/apis/vision_v1/classes.rb +1304 -1870
  325. data/generated/google/apis/vision_v1/service.rb +254 -340
  326. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  327. data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1790
  328. data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
  329. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  330. data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1790
  331. data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
  332. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  333. data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
  334. data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
  335. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  336. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
  337. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
  338. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  339. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
  340. data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
  341. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  342. data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
  343. data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
  344. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  345. data/generated/google/apis/youtube_partner_v1/service.rb +19 -19
  346. data/generated/google/apis/youtube_v3.rb +1 -1
  347. data/generated/google/apis/youtube_v3/classes.rb +937 -1175
  348. data/generated/google/apis/youtube_v3/service.rb +975 -1284
  349. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  350. data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
  351. data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
  352. data/lib/google/apis/core/base_service.rb +7 -1
  353. data/lib/google/apis/version.rb +1 -1
  354. metadata +15 -7
  355. data/generated/google/apis/fitness_v1.rb +0 -85
  356. data/generated/google/apis/fitness_v1/classes.rb +0 -1020
  357. data/generated/google/apis/fitness_v1/representations.rb +0 -398
  358. data/generated/google/apis/fitness_v1/service.rb +0 -647
@@ -58,6 +58,12 @@ module Google
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
+ class CalendarUrl
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
61
67
  class ContactGroup
62
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
69
 
@@ -136,6 +142,12 @@ module Google
136
142
  include Google::Apis::Core::JsonObjectSupport
137
143
  end
138
144
 
145
+ class ExternalId
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
139
151
  class FieldMetadata
140
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
153
 
@@ -208,6 +220,12 @@ module Google
208
220
  include Google::Apis::Core::JsonObjectSupport
209
221
  end
210
222
 
223
+ class MiscKeyword
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
211
229
  class ModifyContactGroupMembersRequest
212
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
231
 
@@ -436,6 +454,17 @@ module Google
436
454
  end
437
455
  end
438
456
 
457
+ class CalendarUrl
458
+ # @private
459
+ class Representation < Google::Apis::Core::JsonRepresentation
460
+ property :formatted_type, as: 'formattedType'
461
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
462
+
463
+ property :type, as: 'type'
464
+ property :url, as: 'url'
465
+ end
466
+ end
467
+
439
468
  class ContactGroup
440
469
  # @private
441
470
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -559,6 +588,17 @@ module Google
559
588
  end
560
589
  end
561
590
 
591
+ class ExternalId
592
+ # @private
593
+ class Representation < Google::Apis::Core::JsonRepresentation
594
+ property :formatted_type, as: 'formattedType'
595
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
596
+
597
+ property :type, as: 'type'
598
+ property :value, as: 'value'
599
+ end
600
+ end
601
+
562
602
  class FieldMetadata
563
603
  # @private
564
604
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -683,6 +723,17 @@ module Google
683
723
  end
684
724
  end
685
725
 
726
+ class MiscKeyword
727
+ # @private
728
+ class Representation < Google::Apis::Core::JsonRepresentation
729
+ property :formatted_type, as: 'formattedType'
730
+ property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::FieldMetadata, decorator: Google::Apis::PeopleV1::FieldMetadata::Representation
731
+
732
+ property :type, as: 'type'
733
+ property :value, as: 'value'
734
+ end
735
+ end
736
+
686
737
  class ModifyContactGroupMembersRequest
687
738
  # @private
688
739
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -777,6 +828,8 @@ module Google
777
828
 
778
829
  collection :bragging_rights, as: 'braggingRights', class: Google::Apis::PeopleV1::BraggingRights, decorator: Google::Apis::PeopleV1::BraggingRights::Representation
779
830
 
831
+ collection :calendar_urls, as: 'calendarUrls', class: Google::Apis::PeopleV1::CalendarUrl, decorator: Google::Apis::PeopleV1::CalendarUrl::Representation
832
+
780
833
  collection :cover_photos, as: 'coverPhotos', class: Google::Apis::PeopleV1::CoverPhoto, decorator: Google::Apis::PeopleV1::CoverPhoto::Representation
781
834
 
782
835
  collection :email_addresses, as: 'emailAddresses', class: Google::Apis::PeopleV1::EmailAddress, decorator: Google::Apis::PeopleV1::EmailAddress::Representation
@@ -784,6 +837,8 @@ module Google
784
837
  property :etag, as: 'etag'
785
838
  collection :events, as: 'events', class: Google::Apis::PeopleV1::Event, decorator: Google::Apis::PeopleV1::Event::Representation
786
839
 
840
+ collection :external_ids, as: 'externalIds', class: Google::Apis::PeopleV1::ExternalId, decorator: Google::Apis::PeopleV1::ExternalId::Representation
841
+
787
842
  collection :file_ases, as: 'fileAses', class: Google::Apis::PeopleV1::FileAs, decorator: Google::Apis::PeopleV1::FileAs::Representation
788
843
 
789
844
  collection :genders, as: 'genders', class: Google::Apis::PeopleV1::Gender, decorator: Google::Apis::PeopleV1::Gender::Representation
@@ -798,6 +853,8 @@ module Google
798
853
 
799
854
  property :metadata, as: 'metadata', class: Google::Apis::PeopleV1::PersonMetadata, decorator: Google::Apis::PeopleV1::PersonMetadata::Representation
800
855
 
856
+ collection :misc_keywords, as: 'miscKeywords', class: Google::Apis::PeopleV1::MiscKeyword, decorator: Google::Apis::PeopleV1::MiscKeyword::Representation
857
+
801
858
  collection :names, as: 'names', class: Google::Apis::PeopleV1::Name, decorator: Google::Apis::PeopleV1::Name::Representation
802
859
 
803
860
  collection :nicknames, as: 'nicknames', class: Google::Apis::PeopleV1::Nickname, decorator: Google::Apis::PeopleV1::Nickname::Representation
@@ -382,16 +382,20 @@ module Google
382
382
  execute_or_queue_command(command, &block)
383
383
  end
384
384
 
385
- # Create a new contact and return the person resource for that contact.
385
+ # Create a new contact and return the person resource for that contact. The
386
+ # request throws a 400 error if more than one field is specified on a field that
387
+ # is a singleton for contact sources: * biographies * birthdays * genders *
388
+ # names
386
389
  # @param [Google::Apis::PeopleV1::Person] person_object
387
390
  # @param [String] person_fields
388
391
  # Required. A field mask to restrict which fields on each person are returned.
389
392
  # Multiple fields can be specified by separating them with commas. Defaults to
390
393
  # all fields if not set. Valid values are: * addresses * ageRanges * biographies
391
- # * birthdays * coverPhotos * emailAddresses * events * genders * imClients *
392
- # interests * locales * memberships * metadata * names * nicknames * occupations
393
- # * organizations * phoneNumbers * photos * relations * residences *
394
- # sipAddresses * skills * urls * userDefined
394
+ # * birthdays * calendarUrls * coverPhotos * emailAddresses * events *
395
+ # externalIds * genders * imClients * interests * locales * memberships *
396
+ # metadata * miscKeywords * names * nicknames * occupations * organizations *
397
+ # phoneNumbers * photos * relations * residences * sipAddresses * skills * urls *
398
+ # userDefined
395
399
  # @param [Array<String>, String] sources
396
400
  # Optional. A mask of what source types to return. Defaults to ReadSourceType.
397
401
  # CONTACT and ReadSourceType.PROFILE if not set.
@@ -462,10 +466,11 @@ module Google
462
466
  # Optional. A field mask to restrict which fields on the person are returned.
463
467
  # Multiple fields can be specified by separating them with commas. Defaults to
464
468
  # empty if not set, which will skip the post mutate get. Valid values are: *
465
- # addresses * ageRanges * biographies * birthdays * coverPhotos * emailAddresses
466
- # * events * genders * imClients * interests * locales * memberships * metadata *
467
- # names * nicknames * occupations * organizations * phoneNumbers * photos *
468
- # relations * residences * sipAddresses * skills * urls * userDefined
469
+ # addresses * ageRanges * biographies * birthdays * calendarUrls * coverPhotos *
470
+ # emailAddresses * events * externalIds * genders * imClients * interests *
471
+ # locales * memberships * metadata * miscKeywords * names * nicknames *
472
+ # occupations * organizations * phoneNumbers * photos * relations * residences *
473
+ # sipAddresses * skills * urls * userDefined
469
474
  # @param [Array<String>, String] sources
470
475
  # Optional. A mask of what source types to return. Defaults to ReadSourceType.
471
476
  # CONTACT and ReadSourceType.PROFILE if not set.
@@ -511,11 +516,11 @@ module Google
511
516
  # @param [String] person_fields
512
517
  # Required. A field mask to restrict which fields on the person are returned.
513
518
  # Multiple fields can be specified by separating them with commas. Valid values
514
- # are: * addresses * ageRanges * biographies * birthdays * coverPhotos *
515
- # emailAddresses * events * genders * imClients * interests * locales *
516
- # memberships * metadata * names * nicknames * occupations * organizations *
517
- # phoneNumbers * photos * relations * residences * sipAddresses * skills * urls *
518
- # userDefined
519
+ # are: * addresses * ageRanges * biographies * birthdays * calendarUrls *
520
+ # coverPhotos * emailAddresses * events * externalIds * genders * imClients *
521
+ # interests * locales * memberships * metadata * miscKeywords * names *
522
+ # nicknames * occupations * organizations * phoneNumbers * photos * relations *
523
+ # residences * sipAddresses * skills * urls * userDefined
519
524
  # @param [String] request_mask_include_field
520
525
  # Required. Comma-separated list of person fields to be included in the response.
521
526
  # Each path should start with `person.`: for example, `person.names` or `person.
@@ -559,11 +564,11 @@ module Google
559
564
  # @param [String] person_fields
560
565
  # Required. A field mask to restrict which fields on each person are returned.
561
566
  # Multiple fields can be specified by separating them with commas. Valid values
562
- # are: * addresses * ageRanges * biographies * birthdays * coverPhotos *
563
- # emailAddresses * events * genders * imClients * interests * locales *
564
- # memberships * metadata * names * nicknames * occupations * organizations *
565
- # phoneNumbers * photos * relations * residences * sipAddresses * skills * urls *
566
- # userDefined
567
+ # are: * addresses * ageRanges * biographies * birthdays * calendarUrls *
568
+ # coverPhotos * emailAddresses * events * externalIds * genders * imClients *
569
+ # interests * locales * memberships * metadata * miscKeywords * names *
570
+ # nicknames * occupations * organizations * phoneNumbers * photos * relations *
571
+ # residences * sipAddresses * skills * urls * userDefined
567
572
  # @param [String] request_mask_include_field
568
573
  # Required. Comma-separated list of person fields to be included in the response.
569
574
  # Each path should start with `person.`: for example, `person.names` or `person.
@@ -624,11 +629,11 @@ module Google
624
629
  # @param [String] read_mask
625
630
  # Required. A field mask to restrict which fields on each person are returned.
626
631
  # Multiple fields can be specified by separating them with commas. Valid values
627
- # are: * addresses * ageRanges * biographies * birthdays * coverPhotos *
628
- # emailAddresses * events * genders * imClients * interests * locales *
629
- # memberships * metadata * names * nicknames * occupations * organizations *
630
- # phoneNumbers * photos * relations * residences * sipAddresses * skills * urls *
631
- # userDefined
632
+ # are: * addresses * ageRanges * biographies * birthdays * calendarUrls *
633
+ # coverPhotos * emailAddresses * events * externalIds * genders * imClients *
634
+ # interests * locales * memberships * metadata * miscKeywords * names *
635
+ # nicknames * occupations * organizations * phoneNumbers * photos * relations *
636
+ # residences * sipAddresses * skills * urls * userDefined
632
637
  # @param [Boolean] request_sync_token
633
638
  # Optional. Whether the response should include `next_sync_token`, which can be
634
639
  # used to get all changes since the last request. For subsequent sync requests
@@ -692,11 +697,11 @@ module Google
692
697
  # @param [String] read_mask
693
698
  # Required. A field mask to restrict which fields on each person are returned.
694
699
  # Multiple fields can be specified by separating them with commas. Valid values
695
- # are: * addresses * ageRanges * biographies * birthdays * coverPhotos *
696
- # emailAddresses * events * genders * imClients * interests * locales *
697
- # memberships * metadata * names * nicknames * occupations * organizations *
698
- # phoneNumbers * photos * relations * residences * sipAddresses * skills * urls *
699
- # userDefined
700
+ # are: * addresses * ageRanges * biographies * birthdays * calendarUrls *
701
+ # coverPhotos * emailAddresses * events * externalIds * genders * imClients *
702
+ # interests * locales * memberships * metadata * miscKeywords * names *
703
+ # nicknames * occupations * organizations * phoneNumbers * photos * relations *
704
+ # residences * sipAddresses * skills * urls * userDefined
700
705
  # @param [Array<String>, String] sources
701
706
  # Required. Directory sources to return.
702
707
  # @param [String] fields
@@ -732,13 +737,18 @@ module Google
732
737
  end
733
738
 
734
739
  # Update contact data for an existing contact person. Any non-contact data will
735
- # not be modified. The request throws a 400 error if `updatePersonFields` is not
736
- # specified. The request throws a 400 error if `person.metadata.sources` is not
737
- # specified for the contact to be updated. The request throws a 400 error with
738
- # an error with reason `"failedPrecondition"` if `person.metadata.sources.etag`
739
- # is different than the contact's etag, which indicates the contact has changed
740
- # since its data was read. Clients should get the latest person and re-apply
741
- # their updates to the latest person.
740
+ # not be modified. Any non-contact data in the person to update will be ignored.
741
+ # All fields specified in the `update_mask` will be replaced. The server returns
742
+ # a 400 error if `person.metadata.sources` is not specified for the contact to
743
+ # be updated or if there is no contact source. The server returns a 400 error
744
+ # with reason `"failedPrecondition"` if `person.metadata.sources.etag` is
745
+ # different than the contact's etag, which indicates the contact has changed
746
+ # since its data was read. Clients should get the latest person and merge their
747
+ # updates into the latest person. The server returns a 400 error if `memberships`
748
+ # are being updated and there are no contact group memberships specified on the
749
+ # person. The server returns a 400 error if more than one field is specified on
750
+ # a field that is a singleton for contact sources: * biographies * birthdays *
751
+ # genders * names
742
752
  # @param [String] resource_name
743
753
  # The resource name for the person, assigned by the server. An ASCII string with
744
754
  # a max length of 27 characters, in the form of `people/`person_id``.
@@ -747,10 +757,11 @@ module Google
747
757
  # Optional. A field mask to restrict which fields on each person are returned.
748
758
  # Multiple fields can be specified by separating them with commas. Defaults to
749
759
  # all fields if not set. Valid values are: * addresses * ageRanges * biographies
750
- # * birthdays * coverPhotos * emailAddresses * events * genders * imClients *
751
- # interests * locales * memberships * metadata * names * nicknames * occupations
752
- # * organizations * phoneNumbers * photos * relations * residences *
753
- # sipAddresses * skills * urls * userDefined
760
+ # * birthdays * calendarUrls * coverPhotos * emailAddresses * events *
761
+ # externalIds * genders * imClients * interests * locales * memberships *
762
+ # metadata * miscKeywords * names * nicknames * occupations * organizations *
763
+ # phoneNumbers * photos * relations * residences * sipAddresses * skills * urls *
764
+ # userDefined
754
765
  # @param [Array<String>, String] sources
755
766
  # Optional. A mask of what source types to return. Defaults to ReadSourceType.
756
767
  # CONTACT and ReadSourceType.PROFILE if not set.
@@ -758,9 +769,10 @@ module Google
758
769
  # Required. A field mask to restrict which fields on the person are updated.
759
770
  # Multiple fields can be specified by separating them with commas. All updated
760
771
  # fields will be replaced. Valid values are: * addresses * biographies *
761
- # birthdays * emailAddresses * events * genders * imClients * interests *
762
- # locales * memberships * names * nicknames * occupations * organizations *
763
- # phoneNumbers * relations * residences * sipAddresses * urls * userDefined
772
+ # birthdays * calendarUrls * emailAddresses * events * externalIds * genders *
773
+ # imClients * interests * locales * memberships * miscKeywords * names *
774
+ # nicknames * occupations * organizations * phoneNumbers * relations *
775
+ # residences * sipAddresses * urls * userDefined
764
776
  # @param [String] fields
765
777
  # Selector specifying which fields to include in a partial response.
766
778
  # @param [String] quota_user
@@ -842,11 +854,11 @@ module Google
842
854
  # @param [String] person_fields
843
855
  # Required. A field mask to restrict which fields on each person are returned.
844
856
  # Multiple fields can be specified by separating them with commas. Valid values
845
- # are: * addresses * ageRanges * biographies * birthdays * coverPhotos *
846
- # emailAddresses * events * genders * imClients * interests * locales *
847
- # memberships * metadata * names * nicknames * occupations * organizations *
848
- # phoneNumbers * photos * relations * residences * sipAddresses * skills * urls *
849
- # userDefined
857
+ # are: * addresses * ageRanges * biographies * birthdays * calendarUrls *
858
+ # coverPhotos * emailAddresses * events * externalIds * genders * imClients *
859
+ # interests * locales * memberships * metadata * miscKeywords * names *
860
+ # nicknames * occupations * organizations * phoneNumbers * photos * relations *
861
+ # residences * sipAddresses * skills * urls * userDefined
850
862
  # @param [String] request_mask_include_field
851
863
  # Required. Comma-separated list of person fields to be included in the response.
852
864
  # Each path should start with `person.`: for example, `person.names` or `person.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/android/work/play/custom-app-api/
26
26
  module PlaycustomappV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200611'
28
+ REVISION = '20200801'
29
29
 
30
30
  # View and manage your Google Play Developer account
31
31
  AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
@@ -31,8 +31,8 @@ module Google
31
31
  # @return [String]
32
32
  attr_accessor :language_code
33
33
 
34
- # Output only. Package name of the created Android app.
35
- # Only present in the API response.
34
+ # Output only. Package name of the created Android app. Only present in the API
35
+ # response.
36
36
  # Corresponds to the JSON property `packageName`
37
37
  # @return [String]
38
38
  attr_accessor :package_name
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/iam/
26
26
  module PolicytroubleshooterV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200606'
28
+ REVISION = '20200801'
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'
@@ -26,31 +26,28 @@ module Google
26
26
  class GoogleCloudPolicytroubleshooterV1AccessTuple
27
27
  include Google::Apis::Core::Hashable
28
28
 
29
- # Required. The full resource name that identifies the resource. For example,
30
- # `//compute.googleapis.com/projects/my-project/zones/us-central1-a/instances/my-
31
- # instance`.
32
- # For examples of full resource names for Google Cloud services, see
29
+ # Required. The full resource name that identifies the resource. For example, `//
30
+ # compute.googleapis.com/projects/my-project/zones/us-central1-a/instances/my-
31
+ # instance`. For examples of full resource names for Google Cloud services, see
33
32
  # https://cloud.google.com/iam/help/troubleshooter/full-resource-names.
34
33
  # Corresponds to the JSON property `fullResourceName`
35
34
  # @return [String]
36
35
  attr_accessor :full_resource_name
37
36
 
38
37
  # Required. The IAM permission to check for the specified member and resource.
39
- # For a complete list of IAM permissions, see
40
- # https://cloud.google.com/iam/help/permissions/reference.
41
- # For a complete list of predefined IAM roles and the permissions in each
42
- # role, see https://cloud.google.com/iam/help/roles/reference.
38
+ # For a complete list of IAM permissions, see https://cloud.google.com/iam/help/
39
+ # permissions/reference. For a complete list of predefined IAM roles and the
40
+ # permissions in each role, see https://cloud.google.com/iam/help/roles/
41
+ # reference.
43
42
  # Corresponds to the JSON property `permission`
44
43
  # @return [String]
45
44
  attr_accessor :permission
46
45
 
47
46
  # Required. The member, or principal, whose access you want to check, in the
48
- # form of
49
- # the email address that represents that member. For example,
50
- # `alice@example.com` or
51
- # `my-service-account@my-project.iam.gserviceaccount.com`.
52
- # The member must be a Google Account or a service account. Other types of
53
- # members are not supported.
47
+ # form of the email address that represents that member. For example, `alice@
48
+ # example.com` or `my-service-account@my-project.iam.gserviceaccount.com`. The
49
+ # member must be a Google Account or a service account. Other types of members
50
+ # are not supported.
54
51
  # Corresponds to the JSON property `principal`
55
52
  # @return [String]
56
53
  attr_accessor :principal
@@ -73,58 +70,45 @@ module Google
73
70
  include Google::Apis::Core::Hashable
74
71
 
75
72
  # Required. Indicates whether _this binding_ provides the specified permission
76
- # to the
77
- # specified member for the specified resource.
78
- # This field does _not_ indicate whether the member actually has the
79
- # permission for the resource. There might be another binding that overrides
80
- # this binding. To determine whether the member actually has the permission,
81
- # use the `access` field in the
73
+ # to the specified member for the specified resource. This field does _not_
74
+ # indicate whether the member actually has the permission for the resource.
75
+ # There might be another binding that overrides this binding. To determine
76
+ # whether the member actually has the permission, use the `access` field in the
82
77
  # TroubleshootIamPolicyResponse.
83
78
  # Corresponds to the JSON property `access`
84
79
  # @return [String]
85
80
  attr_accessor :access
86
81
 
87
- # Represents a textual expression in the Common Expression Language (CEL)
88
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
89
- # are documented at https://github.com/google/cel-spec.
90
- # Example (Comparison):
91
- # title: "Summary size limit"
92
- # description: "Determines if a summary is less than 100 chars"
93
- # expression: "document.summary.size() < 100"
94
- # Example (Equality):
95
- # title: "Requestor is owner"
96
- # description: "Determines if requestor is the document owner"
97
- # expression: "document.owner == request.auth.claims.email"
98
- # Example (Logic):
99
- # title: "Public documents"
100
- # description: "Determine whether the document should be publicly visible"
101
- # expression: "document.type != 'private' && document.type != 'internal'"
102
- # Example (Data Manipulation):
103
- # title: "Notification string"
104
- # description: "Create a notification string with a timestamp."
105
- # expression: "'New message received at ' + string(document.create_time)"
106
- # The exact variables and functions that may be referenced within an expression
107
- # are determined by the service that evaluates it. See the service
108
- # documentation for additional information.
82
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
83
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
84
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
85
+ # "Summary size limit" description: "Determines if a summary is less than 100
86
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
87
+ # Requestor is owner" description: "Determines if requestor is the document
88
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
89
+ # Logic): title: "Public documents" description: "Determine whether the document
90
+ # should be publicly visible" expression: "document.type != 'private' &&
91
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
92
+ # string" description: "Create a notification string with a timestamp."
93
+ # expression: "'New message received at ' + string(document.create_time)" The
94
+ # exact variables and functions that may be referenced within an expression are
95
+ # determined by the service that evaluates it. See the service documentation for
96
+ # additional information.
109
97
  # Corresponds to the JSON property `condition`
110
98
  # @return [Google::Apis::PolicytroubleshooterV1::GoogleTypeExpr]
111
99
  attr_accessor :condition
112
100
 
113
- # Indicates whether each member in the binding includes the member specified
114
- # in the request, either directly or indirectly. Each key identifies a member
115
- # in the binding, and each value indicates whether the member in the binding
116
- # includes the member in the request.
117
- # For example, suppose that a binding includes the following members:
118
- # * `user:alice@example.com`
119
- # * `group:product-eng@example.com`
120
- # You want to troubleshoot access for `user:bob@example.com`. This user is a
121
- # member of the group `group:product-eng@example.com`.
122
- # For the first member in the binding, the key is `user:alice@example.com`,
123
- # and the `membership` field in the value is set to
124
- # `MEMBERSHIP_NOT_INCLUDED`.
125
- # For the second member in the binding, the key is
126
- # `group:product-eng@example.com`, and the `membership` field in the value is
127
- # set to `MEMBERSHIP_INCLUDED`.
101
+ # Indicates whether each member in the binding includes the member specified in
102
+ # the request, either directly or indirectly. Each key identifies a member in
103
+ # the binding, and each value indicates whether the member in the binding
104
+ # includes the member in the request. For example, suppose that a binding
105
+ # includes the following members: * `user:alice@example.com` * `group:product-
106
+ # eng@example.com` You want to troubleshoot access for `user:bob@example.com`.
107
+ # This user is a member of the group `group:product-eng@example.com`. For the
108
+ # first member in the binding, the key is `user:alice@example.com`, and the `
109
+ # membership` field in the value is set to `MEMBERSHIP_NOT_INCLUDED`. For the
110
+ # second member in the binding, the key is `group:product-eng@example.com`, and
111
+ # the `membership` field in the value is set to `MEMBERSHIP_INCLUDED`.
128
112
  # Corresponds to the JSON property `memberships`
129
113
  # @return [Hash<String,Google::Apis::PolicytroubleshooterV1::GoogleCloudPolicytroubleshooterV1BindingExplanationAnnotatedMembership>]
130
114
  attr_accessor :memberships
@@ -135,8 +119,7 @@ module Google
135
119
  # @return [String]
136
120
  attr_accessor :relevance
137
121
 
138
- # The role that this binding grants. For example,
139
- # `roles/compute.serviceAgent`.
122
+ # The role that this binding grants. For example, `roles/compute.serviceAgent`.
140
123
  # For a complete list of predefined IAM roles, as well as the permissions in
141
124
  # each role, see https://cloud.google.com/iam/help/roles/reference.
142
125
  # Corresponds to the JSON property `role`
@@ -149,8 +132,8 @@ module Google
149
132
  # @return [String]
150
133
  attr_accessor :role_permission
151
134
 
152
- # The relevance of the permission's existence, or nonexistence, in the role
153
- # to the overall determination for the entire policy.
135
+ # The relevance of the permission's existence, or nonexistence, in the role to
136
+ # the overall determination for the entire policy.
154
137
  # Corresponds to the JSON property `rolePermissionRelevance`
155
138
  # @return [String]
156
139
  attr_accessor :role_permission_relevance
@@ -197,110 +180,70 @@ module Google
197
180
  end
198
181
  end
199
182
 
200
- # Details about how a specific IAM Policy contributed
201
- # to the access check.
183
+ # Details about how a specific IAM Policy contributed to the access check.
202
184
  class GoogleCloudPolicytroubleshooterV1ExplainedPolicy
203
185
  include Google::Apis::Core::Hashable
204
186
 
205
187
  # Indicates whether _this policy_ provides the specified permission to the
206
- # specified member for the specified resource.
207
- # This field does _not_ indicate whether the member actually has the
208
- # permission for the resource. There might be another policy that overrides
209
- # this policy. To determine whether the member actually has the permission,
210
- # use the `access` field in the
188
+ # specified member for the specified resource. This field does _not_ indicate
189
+ # whether the member actually has the permission for the resource. There might
190
+ # be another policy that overrides this policy. To determine whether the member
191
+ # actually has the permission, use the `access` field in the
211
192
  # TroubleshootIamPolicyResponse.
212
193
  # Corresponds to the JSON property `access`
213
194
  # @return [String]
214
195
  attr_accessor :access
215
196
 
216
- # Details about how each binding in the policy affects the member's ability,
217
- # or inability, to use the permission for the resource.
218
- # If the sender of the request does not have access to the policy, this field
219
- # is omitted.
197
+ # Details about how each binding in the policy affects the member's ability, or
198
+ # inability, to use the permission for the resource. If the sender of the
199
+ # request does not have access to the policy, this field is omitted.
220
200
  # Corresponds to the JSON property `bindingExplanations`
221
201
  # @return [Array<Google::Apis::PolicytroubleshooterV1::GoogleCloudPolicytroubleshooterV1BindingExplanation>]
222
202
  attr_accessor :binding_explanations
223
203
 
224
- # The full resource name that identifies the resource. For example,
225
- # `//compute.googleapis.com/projects/my-project/zones/us-central1-a/instances/my-
226
- # instance`.
227
- # If the sender of the request does not have access to the policy, this field
228
- # is omitted.
229
- # For examples of full resource names for Google Cloud services, see
204
+ # The full resource name that identifies the resource. For example, `//compute.
205
+ # googleapis.com/projects/my-project/zones/us-central1-a/instances/my-instance`.
206
+ # If the sender of the request does not have access to the policy, this field is
207
+ # omitted. For examples of full resource names for Google Cloud services, see
230
208
  # https://cloud.google.com/iam/help/troubleshooter/full-resource-names.
231
209
  # Corresponds to the JSON property `fullResourceName`
232
210
  # @return [String]
233
211
  attr_accessor :full_resource_name
234
212
 
235
213
  # An Identity and Access Management (IAM) policy, which specifies access
236
- # controls for Google Cloud resources.
237
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
238
- # `members` to a single `role`. Members can be user accounts, service accounts,
239
- # Google groups, and domains (such as G Suite). A `role` is a named list of
240
- # permissions; each `role` can be an IAM predefined role or a user-created
241
- # custom role.
242
- # For some types of Google Cloud resources, a `binding` can also specify a
243
- # `condition`, which is a logical expression that allows access to a resource
244
- # only if the expression evaluates to `true`. A condition can add constraints
245
- # based on attributes of the request, the resource, or both. To learn which
246
- # resources support conditions in their IAM policies, see the
247
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
248
- # policies).
249
- # **JSON example:**
250
- # `
251
- # "bindings": [
252
- # `
253
- # "role": "roles/resourcemanager.organizationAdmin",
254
- # "members": [
255
- # "user:mike@example.com",
256
- # "group:admins@example.com",
257
- # "domain:google.com",
258
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
259
- # ]
260
- # `,
261
- # `
262
- # "role": "roles/resourcemanager.organizationViewer",
263
- # "members": [
264
- # "user:eve@example.com"
265
- # ],
266
- # "condition": `
267
- # "title": "expirable access",
268
- # "description": "Does not grant access after Sep 2020",
269
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
270
- # ",
271
- # `
272
- # `
273
- # ],
274
- # "etag": "BwWWja0YfJA=",
275
- # "version": 3
276
- # `
277
- # **YAML example:**
278
- # bindings:
279
- # - members:
280
- # - user:mike@example.com
281
- # - group:admins@example.com
282
- # - domain:google.com
283
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
284
- # role: roles/resourcemanager.organizationAdmin
285
- # - members:
286
- # - user:eve@example.com
287
- # role: roles/resourcemanager.organizationViewer
288
- # condition:
289
- # title: expirable access
290
- # description: Does not grant access after Sep 2020
291
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
292
- # - etag: BwWWja0YfJA=
293
- # - version: 3
294
- # For a description of IAM and its features, see the
295
- # [IAM documentation](https://cloud.google.com/iam/docs/).
214
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
215
+ # A `binding` binds one or more `members` to a single `role`. Members can be
216
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
217
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
218
+ # role or a user-created custom role. For some types of Google Cloud resources,
219
+ # a `binding` can also specify a `condition`, which is a logical expression that
220
+ # allows access to a resource only if the expression evaluates to `true`. A
221
+ # condition can add constraints based on attributes of the request, the resource,
222
+ # or both. To learn which resources support conditions in their IAM policies,
223
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
224
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
225
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
226
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
227
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
228
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
229
+ # title": "expirable access", "description": "Does not grant access after Sep
230
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
231
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
232
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
233
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
234
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
235
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
236
+ # description: Does not grant access after Sep 2020 expression: request.time <
237
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
238
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
239
+ # google.com/iam/docs/).
296
240
  # Corresponds to the JSON property `policy`
297
241
  # @return [Google::Apis::PolicytroubleshooterV1::GoogleIamV1Policy]
298
242
  attr_accessor :policy
299
243
 
300
244
  # The relevance of this policy to the overall determination in the
301
- # TroubleshootIamPolicyResponse.
302
- # If the sender of the request does not have access to the policy, this field
303
- # is omitted.
245
+ # TroubleshootIamPolicyResponse. If the sender of the request does not have
246
+ # access to the policy, this field is omitted.
304
247
  # Corresponds to the JSON property `relevance`
305
248
  # @return [String]
306
249
  attr_accessor :relevance
@@ -349,13 +292,12 @@ module Google
349
292
  attr_accessor :access
350
293
 
351
294
  # List of IAM policies that were evaluated to check the member's permissions,
352
- # with annotations to indicate how each policy contributed to the final
353
- # result.
295
+ # with annotations to indicate how each policy contributed to the final result.
354
296
  # The list of policies can include the policy for the resource itself. It can
355
297
  # also include policies that are inherited from higher levels of the resource
356
- # hierarchy, including the organization, the folder, and the project.
357
- # To learn more about the resource hierarchy, see
358
- # https://cloud.google.com/iam/help/resource-hierarchy.
298
+ # hierarchy, including the organization, the folder, and the project. To learn
299
+ # more about the resource hierarchy, see https://cloud.google.com/iam/help/
300
+ # resource-hierarchy.
359
301
  # Corresponds to the JSON property `explainedPolicies`
360
302
  # @return [Array<Google::Apis::PolicytroubleshooterV1::GoogleCloudPolicytroubleshooterV1ExplainedPolicy>]
361
303
  attr_accessor :explained_policies
@@ -371,53 +313,21 @@ module Google
371
313
  end
372
314
  end
373
315
 
374
- # Specifies the audit configuration for a service.
375
- # The configuration determines which permission types are logged, and what
376
- # identities, if any, are exempted from logging.
377
- # An AuditConfig must have one or more AuditLogConfigs.
378
- # If there are AuditConfigs for both `allServices` and a specific service,
379
- # the union of the two AuditConfigs is used for that service: the log_types
380
- # specified in each AuditConfig are enabled, and the exempted_members in each
381
- # AuditLogConfig are exempted.
382
- # Example Policy with multiple AuditConfigs:
383
- # `
384
- # "audit_configs": [
385
- # `
386
- # "service": "allServices",
387
- # "audit_log_configs": [
388
- # `
389
- # "log_type": "DATA_READ",
390
- # "exempted_members": [
391
- # "user:jose@example.com"
392
- # ]
393
- # `,
394
- # `
395
- # "log_type": "DATA_WRITE"
396
- # `,
397
- # `
398
- # "log_type": "ADMIN_READ"
399
- # `
400
- # ]
401
- # `,
402
- # `
403
- # "service": "sampleservice.googleapis.com",
404
- # "audit_log_configs": [
405
- # `
406
- # "log_type": "DATA_READ"
407
- # `,
408
- # `
409
- # "log_type": "DATA_WRITE",
410
- # "exempted_members": [
411
- # "user:aliya@example.com"
412
- # ]
413
- # `
414
- # ]
415
- # `
416
- # ]
417
- # `
418
- # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
419
- # logging. It also exempts jose@example.com from DATA_READ logging, and
420
- # aliya@example.com from DATA_WRITE logging.
316
+ # Specifies the audit configuration for a service. The configuration determines
317
+ # which permission types are logged, and what identities, if any, are exempted
318
+ # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
319
+ # are AuditConfigs for both `allServices` and a specific service, the union of
320
+ # the two AuditConfigs is used for that service: the log_types specified in each
321
+ # AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
322
+ # exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
323
+ # service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
324
+ # exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
325
+ # ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
326
+ # "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
327
+ # , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
328
+ # this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
329
+ # exempts jose@example.com from DATA_READ logging, and aliya@example.com from
330
+ # DATA_WRITE logging.
421
331
  class GoogleIamV1AuditConfig
422
332
  include Google::Apis::Core::Hashable
423
333
 
@@ -426,9 +336,9 @@ module Google
426
336
  # @return [Array<Google::Apis::PolicytroubleshooterV1::GoogleIamV1AuditLogConfig>]
427
337
  attr_accessor :audit_log_configs
428
338
 
429
- # Specifies a service that will be enabled for audit logging.
430
- # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
431
- # `allServices` is a special value that covers all services.
339
+ # Specifies a service that will be enabled for audit logging. For example, `
340
+ # storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
341
+ # value that covers all services.
432
342
  # Corresponds to the JSON property `service`
433
343
  # @return [String]
434
344
  attr_accessor :service
@@ -444,28 +354,15 @@ module Google
444
354
  end
445
355
  end
446
356
 
447
- # Provides the configuration for logging a type of permissions.
448
- # Example:
449
- # `
450
- # "audit_log_configs": [
451
- # `
452
- # "log_type": "DATA_READ",
453
- # "exempted_members": [
454
- # "user:jose@example.com"
455
- # ]
456
- # `,
457
- # `
458
- # "log_type": "DATA_WRITE"
459
- # `
460
- # ]
461
- # `
462
- # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
463
- # jose@example.com from DATA_READ logging.
357
+ # Provides the configuration for logging a type of permissions. Example: ` "
358
+ # audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
359
+ # jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
360
+ # DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
361
+ # DATA_READ logging.
464
362
  class GoogleIamV1AuditLogConfig
465
363
  include Google::Apis::Core::Hashable
466
364
 
467
- # Specifies the identities that do not cause logging for this type of
468
- # permission.
365
+ # Specifies the identities that do not cause logging for this type of permission.
469
366
  # Follows the same format of Binding.members.
470
367
  # Corresponds to the JSON property `exemptedMembers`
471
368
  # @return [Array<String>]
@@ -491,69 +388,57 @@ module Google
491
388
  class GoogleIamV1Binding
492
389
  include Google::Apis::Core::Hashable
493
390
 
494
- # Represents a textual expression in the Common Expression Language (CEL)
495
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
496
- # are documented at https://github.com/google/cel-spec.
497
- # Example (Comparison):
498
- # title: "Summary size limit"
499
- # description: "Determines if a summary is less than 100 chars"
500
- # expression: "document.summary.size() < 100"
501
- # Example (Equality):
502
- # title: "Requestor is owner"
503
- # description: "Determines if requestor is the document owner"
504
- # expression: "document.owner == request.auth.claims.email"
505
- # Example (Logic):
506
- # title: "Public documents"
507
- # description: "Determine whether the document should be publicly visible"
508
- # expression: "document.type != 'private' && document.type != 'internal'"
509
- # Example (Data Manipulation):
510
- # title: "Notification string"
511
- # description: "Create a notification string with a timestamp."
512
- # expression: "'New message received at ' + string(document.create_time)"
513
- # The exact variables and functions that may be referenced within an expression
514
- # are determined by the service that evaluates it. See the service
515
- # documentation for additional information.
391
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
392
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
393
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
394
+ # "Summary size limit" description: "Determines if a summary is less than 100
395
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
396
+ # Requestor is owner" description: "Determines if requestor is the document
397
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
398
+ # Logic): title: "Public documents" description: "Determine whether the document
399
+ # should be publicly visible" expression: "document.type != 'private' &&
400
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
401
+ # string" description: "Create a notification string with a timestamp."
402
+ # expression: "'New message received at ' + string(document.create_time)" The
403
+ # exact variables and functions that may be referenced within an expression are
404
+ # determined by the service that evaluates it. See the service documentation for
405
+ # additional information.
516
406
  # Corresponds to the JSON property `condition`
517
407
  # @return [Google::Apis::PolicytroubleshooterV1::GoogleTypeExpr]
518
408
  attr_accessor :condition
519
409
 
520
- # Specifies the identities requesting access for a Cloud Platform resource.
521
- # `members` can have the following values:
522
- # * `allUsers`: A special identifier that represents anyone who is
523
- # on the internet; with or without a Google account.
524
- # * `allAuthenticatedUsers`: A special identifier that represents anyone
525
- # who is authenticated with a Google account or a service account.
526
- # * `user:`emailid``: An email address that represents a specific Google
527
- # account. For example, `alice@example.com` .
528
- # * `serviceAccount:`emailid``: An email address that represents a service
529
- # account. For example, `my-other-app@appspot.gserviceaccount.com`.
530
- # * `group:`emailid``: An email address that represents a Google group.
531
- # For example, `admins@example.com`.
532
- # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
533
- # identifier) representing a user that has been recently deleted. For
534
- # example, `alice@example.com?uid=123456789012345678901`. If the user is
535
- # recovered, this value reverts to `user:`emailid`` and the recovered user
536
- # retains the role in the binding.
537
- # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
538
- # unique identifier) representing a service account that has been recently
539
- # deleted. For example,
540
- # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
541
- # If the service account is undeleted, this value reverts to
542
- # `serviceAccount:`emailid`` and the undeleted service account retains the
543
- # role in the binding.
544
- # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
545
- # identifier) representing a Google group that has been recently
546
- # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
547
- # the group is recovered, this value reverts to `group:`emailid`` and the
548
- # recovered group retains the role in the binding.
549
- # * `domain:`domain``: The G Suite domain (primary) that represents all the
550
- # users of that domain. For example, `google.com` or `example.com`.
410
+ # Specifies the identities requesting access for a Cloud Platform resource. `
411
+ # members` can have the following values: * `allUsers`: A special identifier
412
+ # that represents anyone who is on the internet; with or without a Google
413
+ # account. * `allAuthenticatedUsers`: A special identifier that represents
414
+ # anyone who is authenticated with a Google account or a service account. * `
415
+ # user:`emailid``: An email address that represents a specific Google account.
416
+ # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
417
+ # address that represents a service account. For example, `my-other-app@appspot.
418
+ # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
419
+ # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
420
+ # `uniqueid``: An email address (plus unique identifier) representing a user
421
+ # that has been recently deleted. For example, `alice@example.com?uid=
422
+ # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
423
+ # emailid`` and the recovered user retains the role in the binding. * `deleted:
424
+ # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
425
+ # identifier) representing a service account that has been recently deleted. For
426
+ # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
427
+ # If the service account is undeleted, this value reverts to `serviceAccount:`
428
+ # emailid`` and the undeleted service account retains the role in the binding. *
429
+ # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
430
+ # identifier) representing a Google group that has been recently deleted. For
431
+ # example, `admins@example.com?uid=123456789012345678901`. If the group is
432
+ # recovered, this value reverts to `group:`emailid`` and the recovered group
433
+ # retains the role in the binding. * `domain:`domain``: The G Suite domain (
434
+ # primary) that represents all the users of that domain. For example, `google.
435
+ # com` or `example.com`.
551
436
  # Corresponds to the JSON property `members`
552
437
  # @return [Array<String>]
553
438
  attr_accessor :members
554
439
 
555
- # Role that is assigned to `members`.
556
- # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
440
+ # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
441
+ # , or `roles/owner`.
557
442
  # Corresponds to the JSON property `role`
558
443
  # @return [String]
559
444
  attr_accessor :role
@@ -571,66 +456,32 @@ module Google
571
456
  end
572
457
 
573
458
  # An Identity and Access Management (IAM) policy, which specifies access
574
- # controls for Google Cloud resources.
575
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
576
- # `members` to a single `role`. Members can be user accounts, service accounts,
577
- # Google groups, and domains (such as G Suite). A `role` is a named list of
578
- # permissions; each `role` can be an IAM predefined role or a user-created
579
- # custom role.
580
- # For some types of Google Cloud resources, a `binding` can also specify a
581
- # `condition`, which is a logical expression that allows access to a resource
582
- # only if the expression evaluates to `true`. A condition can add constraints
583
- # based on attributes of the request, the resource, or both. To learn which
584
- # resources support conditions in their IAM policies, see the
585
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
586
- # policies).
587
- # **JSON example:**
588
- # `
589
- # "bindings": [
590
- # `
591
- # "role": "roles/resourcemanager.organizationAdmin",
592
- # "members": [
593
- # "user:mike@example.com",
594
- # "group:admins@example.com",
595
- # "domain:google.com",
596
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
597
- # ]
598
- # `,
599
- # `
600
- # "role": "roles/resourcemanager.organizationViewer",
601
- # "members": [
602
- # "user:eve@example.com"
603
- # ],
604
- # "condition": `
605
- # "title": "expirable access",
606
- # "description": "Does not grant access after Sep 2020",
607
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
608
- # ",
609
- # `
610
- # `
611
- # ],
612
- # "etag": "BwWWja0YfJA=",
613
- # "version": 3
614
- # `
615
- # **YAML example:**
616
- # bindings:
617
- # - members:
618
- # - user:mike@example.com
619
- # - group:admins@example.com
620
- # - domain:google.com
621
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
622
- # role: roles/resourcemanager.organizationAdmin
623
- # - members:
624
- # - user:eve@example.com
625
- # role: roles/resourcemanager.organizationViewer
626
- # condition:
627
- # title: expirable access
628
- # description: Does not grant access after Sep 2020
629
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
630
- # - etag: BwWWja0YfJA=
631
- # - version: 3
632
- # For a description of IAM and its features, see the
633
- # [IAM documentation](https://cloud.google.com/iam/docs/).
459
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
460
+ # A `binding` binds one or more `members` to a single `role`. Members can be
461
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
462
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
463
+ # role or a user-created custom role. For some types of Google Cloud resources,
464
+ # a `binding` can also specify a `condition`, which is a logical expression that
465
+ # allows access to a resource only if the expression evaluates to `true`. A
466
+ # condition can add constraints based on attributes of the request, the resource,
467
+ # or both. To learn which resources support conditions in their IAM policies,
468
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
469
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
470
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
471
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
472
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
473
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
474
+ # title": "expirable access", "description": "Does not grant access after Sep
475
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
476
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
477
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
478
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
479
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
480
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
481
+ # description: Does not grant access after Sep 2020 expression: request.time <
482
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
483
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
484
+ # google.com/iam/docs/).
634
485
  class GoogleIamV1Policy
635
486
  include Google::Apis::Core::Hashable
636
487
 
@@ -639,48 +490,44 @@ module Google
639
490
  # @return [Array<Google::Apis::PolicytroubleshooterV1::GoogleIamV1AuditConfig>]
640
491
  attr_accessor :audit_configs
641
492
 
642
- # Associates a list of `members` to a `role`. Optionally, may specify a
643
- # `condition` that determines how and when the `bindings` are applied. Each
644
- # of the `bindings` must contain at least one member.
493
+ # Associates a list of `members` to a `role`. Optionally, may specify a `
494
+ # condition` that determines how and when the `bindings` are applied. Each of
495
+ # the `bindings` must contain at least one member.
645
496
  # Corresponds to the JSON property `bindings`
646
497
  # @return [Array<Google::Apis::PolicytroubleshooterV1::GoogleIamV1Binding>]
647
498
  attr_accessor :bindings
648
499
 
649
- # `etag` is used for optimistic concurrency control as a way to help
650
- # prevent simultaneous updates of a policy from overwriting each other.
651
- # It is strongly suggested that systems make use of the `etag` in the
652
- # read-modify-write cycle to perform policy updates in order to avoid race
653
- # conditions: An `etag` is returned in the response to `getIamPolicy`, and
654
- # systems are expected to put that etag in the request to `setIamPolicy` to
655
- # ensure that their change will be applied to the same version of the policy.
656
- # **Important:** If you use IAM Conditions, you must include the `etag` field
657
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
658
- # you to overwrite a version `3` policy with a version `1` policy, and all of
659
- # the conditions in the version `3` policy are lost.
500
+ # `etag` is used for optimistic concurrency control as a way to help prevent
501
+ # simultaneous updates of a policy from overwriting each other. It is strongly
502
+ # suggested that systems make use of the `etag` in the read-modify-write cycle
503
+ # to perform policy updates in order to avoid race conditions: An `etag` is
504
+ # returned in the response to `getIamPolicy`, and systems are expected to put
505
+ # that etag in the request to `setIamPolicy` to ensure that their change will be
506
+ # applied to the same version of the policy. **Important:** If you use IAM
507
+ # Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
508
+ # If you omit this field, then IAM allows you to overwrite a version `3` policy
509
+ # with a version `1` policy, and all of the conditions in the version `3` policy
510
+ # are lost.
660
511
  # Corresponds to the JSON property `etag`
661
512
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
662
513
  # @return [String]
663
514
  attr_accessor :etag
664
515
 
665
- # Specifies the format of the policy.
666
- # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
667
- # are rejected.
668
- # Any operation that affects conditional role bindings must specify version
669
- # `3`. This requirement applies to the following operations:
670
- # * Getting a policy that includes a conditional role binding
671
- # * Adding a conditional role binding to a policy
672
- # * Changing a conditional role binding in a policy
673
- # * Removing any role binding, with or without a condition, from a policy
674
- # that includes conditions
675
- # **Important:** If you use IAM Conditions, you must include the `etag` field
676
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
677
- # you to overwrite a version `3` policy with a version `1` policy, and all of
678
- # the conditions in the version `3` policy are lost.
679
- # If a policy does not include any conditions, operations on that policy may
680
- # specify any valid version or leave the field unset.
681
- # To learn which resources support conditions in their IAM policies, see the
682
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
683
- # policies).
516
+ # Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
517
+ # Requests that specify an invalid value are rejected. Any operation that
518
+ # affects conditional role bindings must specify version `3`. This requirement
519
+ # applies to the following operations: * Getting a policy that includes a
520
+ # conditional role binding * Adding a conditional role binding to a policy *
521
+ # Changing a conditional role binding in a policy * Removing any role binding,
522
+ # with or without a condition, from a policy that includes conditions **
523
+ # Important:** If you use IAM Conditions, you must include the `etag` field
524
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
525
+ # to overwrite a version `3` policy with a version `1` policy, and all of the
526
+ # conditions in the version `3` policy are lost. If a policy does not include
527
+ # any conditions, operations on that policy may specify any valid version or
528
+ # leave the field unset. To learn which resources support conditions in their
529
+ # IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
530
+ # conditions/resource-policies).
684
531
  # Corresponds to the JSON property `version`
685
532
  # @return [Fixnum]
686
533
  attr_accessor :version
@@ -698,52 +545,43 @@ module Google
698
545
  end
699
546
  end
700
547
 
701
- # Represents a textual expression in the Common Expression Language (CEL)
702
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
703
- # are documented at https://github.com/google/cel-spec.
704
- # Example (Comparison):
705
- # title: "Summary size limit"
706
- # description: "Determines if a summary is less than 100 chars"
707
- # expression: "document.summary.size() < 100"
708
- # Example (Equality):
709
- # title: "Requestor is owner"
710
- # description: "Determines if requestor is the document owner"
711
- # expression: "document.owner == request.auth.claims.email"
712
- # Example (Logic):
713
- # title: "Public documents"
714
- # description: "Determine whether the document should be publicly visible"
715
- # expression: "document.type != 'private' && document.type != 'internal'"
716
- # Example (Data Manipulation):
717
- # title: "Notification string"
718
- # description: "Create a notification string with a timestamp."
719
- # expression: "'New message received at ' + string(document.create_time)"
720
- # The exact variables and functions that may be referenced within an expression
721
- # are determined by the service that evaluates it. See the service
722
- # documentation for additional information.
548
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
549
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
550
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
551
+ # "Summary size limit" description: "Determines if a summary is less than 100
552
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
553
+ # Requestor is owner" description: "Determines if requestor is the document
554
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
555
+ # Logic): title: "Public documents" description: "Determine whether the document
556
+ # should be publicly visible" expression: "document.type != 'private' &&
557
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
558
+ # string" description: "Create a notification string with a timestamp."
559
+ # expression: "'New message received at ' + string(document.create_time)" The
560
+ # exact variables and functions that may be referenced within an expression are
561
+ # determined by the service that evaluates it. See the service documentation for
562
+ # additional information.
723
563
  class GoogleTypeExpr
724
564
  include Google::Apis::Core::Hashable
725
565
 
726
- # Optional. Description of the expression. This is a longer text which
727
- # describes the expression, e.g. when hovered over it in a UI.
566
+ # Optional. Description of the expression. This is a longer text which describes
567
+ # the expression, e.g. when hovered over it in a UI.
728
568
  # Corresponds to the JSON property `description`
729
569
  # @return [String]
730
570
  attr_accessor :description
731
571
 
732
- # Textual representation of an expression in Common Expression Language
733
- # syntax.
572
+ # Textual representation of an expression in Common Expression Language syntax.
734
573
  # Corresponds to the JSON property `expression`
735
574
  # @return [String]
736
575
  attr_accessor :expression
737
576
 
738
- # Optional. String indicating the location of the expression for error
739
- # reporting, e.g. a file name and a position in the file.
577
+ # Optional. String indicating the location of the expression for error reporting,
578
+ # e.g. a file name and a position in the file.
740
579
  # Corresponds to the JSON property `location`
741
580
  # @return [String]
742
581
  attr_accessor :location
743
582
 
744
- # Optional. Title for the expression, i.e. a short string describing
745
- # its purpose. This can be used e.g. in UIs which allow to enter the
746
- # expression.
583
+ # Optional. Title for the expression, i.e. a short string describing its purpose.
584
+ # This can be used e.g. in UIs which allow to enter the expression.
747
585
  # Corresponds to the JSON property `title`
748
586
  # @return [String]
749
587
  attr_accessor :title