google-api-client 0.45.0 → 0.48.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (542) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/autoapprove.yml +49 -0
  3. data/.github/workflows/release-please.yml +77 -0
  4. data/.gitignore +2 -0
  5. data/.kokoro/trampoline.sh +0 -0
  6. data/CHANGELOG.md +664 -188
  7. data/Gemfile +1 -0
  8. data/Rakefile +31 -3
  9. data/api_list_config.yaml +8 -0
  10. data/bin/generate-api +77 -15
  11. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
  12. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
  13. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  14. data/generated/google/apis/accessapproval_v1/classes.rb +23 -16
  15. data/generated/google/apis/accessapproval_v1/service.rb +27 -27
  16. data/generated/google/apis/accessapproval_v1.rb +1 -1
  17. data/generated/google/apis/accesscontextmanager_v1/classes.rb +68 -0
  18. data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
  19. data/generated/google/apis/accesscontextmanager_v1/service.rb +180 -0
  20. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  21. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +30 -30
  22. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  23. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -0
  24. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +15 -0
  25. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  26. data/generated/google/apis/admin_directory_v1/classes.rb +135 -0
  27. data/generated/google/apis/admin_directory_v1/representations.rb +62 -0
  28. data/generated/google/apis/admin_directory_v1/service.rb +72 -0
  29. data/generated/google/apis/admin_directory_v1.rb +1 -1
  30. data/generated/google/apis/admin_reports_v1.rb +1 -1
  31. data/generated/google/apis/admob_v1/classes.rb +29 -29
  32. data/generated/google/apis/admob_v1/service.rb +2 -1
  33. data/generated/google/apis/admob_v1.rb +3 -2
  34. data/generated/google/apis/adsense_v1_4/service.rb +4 -1
  35. data/generated/google/apis/adsense_v1_4.rb +1 -1
  36. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
  37. data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
  38. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2134 -0
  39. data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
  40. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +56 -11
  41. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +17 -0
  42. data/generated/google/apis/analyticsdata_v1alpha/service.rb +41 -0
  43. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  44. data/generated/google/apis/androidmanagement_v1/classes.rb +29 -26
  45. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  46. data/generated/google/apis/androidpublisher_v3/classes.rb +9 -1
  47. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  48. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  49. data/generated/google/apis/apigee_v1/classes.rb +252 -66
  50. data/generated/google/apis/apigee_v1/representations.rb +88 -19
  51. data/generated/google/apis/apigee_v1/service.rb +244 -38
  52. data/generated/google/apis/apigee_v1.rb +1 -1
  53. data/generated/google/apis/appsmarket_v2.rb +1 -1
  54. data/generated/google/apis/area120tables_v1alpha1/classes.rb +423 -0
  55. data/generated/google/apis/{apigateway_v1alpha1 → area120tables_v1alpha1}/representations.rb +67 -69
  56. data/generated/google/apis/area120tables_v1alpha1/service.rb +381 -0
  57. data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
  58. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -0
  59. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
  60. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  61. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +264 -0
  62. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +129 -0
  63. data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
  64. data/generated/google/apis/bigquery_v2/classes.rb +212 -23
  65. data/generated/google/apis/bigquery_v2/representations.rb +69 -0
  66. data/generated/google/apis/bigquery_v2/service.rb +47 -1
  67. data/generated/google/apis/bigquery_v2.rb +1 -1
  68. data/generated/google/apis/billingbudgets_v1/classes.rb +373 -0
  69. data/generated/google/apis/billingbudgets_v1/representations.rb +171 -0
  70. data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
  71. data/generated/google/apis/billingbudgets_v1.rb +38 -0
  72. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +12 -1
  73. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  74. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  75. data/generated/google/apis/binaryauthorization_v1/classes.rb +189 -2
  76. data/generated/google/apis/binaryauthorization_v1/representations.rb +74 -0
  77. data/generated/google/apis/binaryauthorization_v1/service.rb +35 -0
  78. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  79. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +189 -2
  80. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +74 -0
  81. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +35 -0
  82. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  83. data/generated/google/apis/books_v1/service.rb +54 -54
  84. data/generated/google/apis/books_v1.rb +1 -1
  85. data/generated/google/apis/calendar_v3/classes.rb +2 -1
  86. data/generated/google/apis/calendar_v3.rb +1 -1
  87. data/generated/google/apis/chat_v1/classes.rb +84 -2
  88. data/generated/google/apis/chat_v1/representations.rb +36 -0
  89. data/generated/google/apis/chat_v1.rb +1 -1
  90. data/generated/google/apis/civicinfo_v2/classes.rb +0 -24
  91. data/generated/google/apis/civicinfo_v2/representations.rb +0 -3
  92. data/generated/google/apis/civicinfo_v2.rb +1 -1
  93. data/generated/google/apis/classroom_v1/classes.rb +21 -21
  94. data/generated/google/apis/classroom_v1.rb +1 -1
  95. data/generated/google/apis/cloudasset_v1/classes.rb +697 -0
  96. data/generated/google/apis/cloudasset_v1/representations.rb +304 -0
  97. data/generated/google/apis/cloudasset_v1/service.rb +171 -0
  98. data/generated/google/apis/cloudasset_v1.rb +1 -1
  99. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +3 -3
  100. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  101. data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
  102. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  103. data/generated/google/apis/cloudbuild_v1/classes.rb +2 -35
  104. data/generated/google/apis/cloudbuild_v1/representations.rb +0 -15
  105. data/generated/google/apis/cloudbuild_v1/service.rb +17 -6
  106. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  107. data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -1
  108. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  109. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  110. data/generated/google/apis/cloudidentity_v1/classes.rb +78 -98
  111. data/generated/google/apis/cloudidentity_v1/representations.rb +0 -17
  112. data/generated/google/apis/cloudidentity_v1/service.rb +85 -69
  113. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  114. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +188 -0
  115. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +94 -0
  116. data/generated/google/apis/cloudidentity_v1beta1/service.rb +179 -0
  117. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  118. data/generated/google/apis/cloudresourcemanager_v1/service.rb +2 -2
  119. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  120. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -2
  121. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  122. data/generated/google/apis/cloudresourcemanager_v2/service.rb +7 -7
  123. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  124. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +7 -7
  125. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  126. data/generated/google/apis/cloudsearch_v1/classes.rb +2 -1
  127. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  128. data/generated/google/apis/cloudshell_v1/classes.rb +342 -0
  129. data/generated/google/apis/cloudshell_v1/representations.rb +200 -0
  130. data/generated/google/apis/cloudshell_v1/service.rb +177 -0
  131. data/generated/google/apis/cloudshell_v1.rb +1 -1
  132. data/generated/google/apis/composer_v1/classes.rb +2 -3
  133. data/generated/google/apis/composer_v1.rb +1 -1
  134. data/generated/google/apis/composer_v1beta1/classes.rb +4 -4
  135. data/generated/google/apis/composer_v1beta1/service.rb +37 -35
  136. data/generated/google/apis/composer_v1beta1.rb +1 -1
  137. data/generated/google/apis/compute_alpha/classes.rb +633 -146
  138. data/generated/google/apis/compute_alpha/representations.rb +131 -8
  139. data/generated/google/apis/compute_alpha/service.rb +1995 -1013
  140. data/generated/google/apis/compute_alpha.rb +1 -1
  141. data/generated/google/apis/compute_beta/classes.rb +566 -94
  142. data/generated/google/apis/compute_beta/representations.rb +100 -1
  143. data/generated/google/apis/compute_beta/service.rb +805 -136
  144. data/generated/google/apis/compute_beta.rb +1 -1
  145. data/generated/google/apis/compute_v1/classes.rb +586 -72
  146. data/generated/google/apis/compute_v1/representations.rb +98 -1
  147. data/generated/google/apis/compute_v1/service.rb +741 -133
  148. data/generated/google/apis/compute_v1.rb +1 -1
  149. data/generated/google/apis/container_v1/classes.rb +22 -10
  150. data/generated/google/apis/container_v1.rb +1 -1
  151. data/generated/google/apis/container_v1beta1/classes.rb +22 -10
  152. data/generated/google/apis/container_v1beta1.rb +1 -1
  153. data/generated/google/apis/content_v2/classes.rb +510 -1217
  154. data/generated/google/apis/content_v2/service.rb +377 -650
  155. data/generated/google/apis/content_v2.rb +3 -4
  156. data/generated/google/apis/content_v2_1/classes.rb +1001 -1053
  157. data/generated/google/apis/content_v2_1/representations.rb +253 -0
  158. data/generated/google/apis/content_v2_1/service.rb +943 -802
  159. data/generated/google/apis/content_v2_1.rb +3 -4
  160. data/generated/google/apis/datacatalog_v1beta1/classes.rb +25 -1
  161. data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -0
  162. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  163. data/generated/google/apis/dataflow_v1b3/classes.rb +32 -8
  164. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  165. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  166. data/generated/google/apis/datafusion_v1.rb +1 -1
  167. data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
  168. data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
  169. data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
  170. data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
  171. data/generated/google/apis/dataproc_v1/classes.rb +41 -3
  172. data/generated/google/apis/dataproc_v1/representations.rb +16 -0
  173. data/generated/google/apis/dataproc_v1.rb +1 -1
  174. data/generated/google/apis/dataproc_v1beta2/classes.rb +41 -3
  175. data/generated/google/apis/dataproc_v1beta2/representations.rb +16 -0
  176. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  177. data/generated/google/apis/datastore_v1/classes.rb +4 -4
  178. data/generated/google/apis/datastore_v1.rb +1 -1
  179. data/generated/google/apis/datastore_v1beta3/classes.rb +4 -4
  180. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  181. data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
  182. data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
  183. data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
  184. data/generated/google/apis/deploymentmanager_v2.rb +6 -4
  185. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
  186. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
  187. data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
  188. data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
  189. data/generated/google/apis/dfareporting_v3_3/classes.rb +0 -164
  190. data/generated/google/apis/dfareporting_v3_3/representations.rb +0 -42
  191. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  192. data/generated/google/apis/dfareporting_v3_4/classes.rb +0 -164
  193. data/generated/google/apis/dfareporting_v3_4/representations.rb +0 -42
  194. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  195. data/generated/google/apis/dialogflow_v2/classes.rb +677 -204
  196. data/generated/google/apis/dialogflow_v2/representations.rb +300 -87
  197. data/generated/google/apis/dialogflow_v2.rb +1 -1
  198. data/generated/google/apis/dialogflow_v2beta1/classes.rb +684 -212
  199. data/generated/google/apis/dialogflow_v2beta1/representations.rb +300 -87
  200. data/generated/google/apis/dialogflow_v2beta1/service.rb +62 -12
  201. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  202. data/generated/google/apis/dialogflow_v3beta1/classes.rb +813 -207
  203. data/generated/google/apis/dialogflow_v3beta1/representations.rb +354 -90
  204. data/generated/google/apis/dialogflow_v3beta1/service.rb +22 -9
  205. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  206. data/generated/google/apis/displayvideo_v1/classes.rb +216 -30
  207. data/generated/google/apis/displayvideo_v1/representations.rb +78 -0
  208. data/generated/google/apis/displayvideo_v1/service.rb +261 -18
  209. data/generated/google/apis/displayvideo_v1.rb +1 -1
  210. data/generated/google/apis/dlp_v2/classes.rb +59 -32
  211. data/generated/google/apis/dlp_v2/representations.rb +16 -0
  212. data/generated/google/apis/dlp_v2/service.rb +328 -328
  213. data/generated/google/apis/dlp_v2.rb +1 -1
  214. data/generated/google/apis/dns_v1/classes.rb +181 -0
  215. data/generated/google/apis/dns_v1/representations.rb +83 -0
  216. data/generated/google/apis/dns_v1/service.rb +11 -11
  217. data/generated/google/apis/dns_v1.rb +2 -2
  218. data/generated/google/apis/dns_v1beta2/classes.rb +182 -1
  219. data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
  220. data/generated/google/apis/dns_v1beta2/service.rb +11 -11
  221. data/generated/google/apis/dns_v1beta2.rb +2 -2
  222. data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
  223. data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
  224. data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
  225. data/generated/google/apis/documentai_v1beta3.rb +36 -0
  226. data/generated/google/apis/domains_v1alpha2/classes.rb +1540 -0
  227. data/generated/google/apis/domains_v1alpha2/representations.rb +606 -0
  228. data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
  229. data/generated/google/apis/domains_v1alpha2.rb +34 -0
  230. data/generated/google/apis/domains_v1beta1/classes.rb +1540 -0
  231. data/generated/google/apis/domains_v1beta1/representations.rb +606 -0
  232. data/generated/google/apis/domains_v1beta1/service.rb +805 -0
  233. data/generated/google/apis/domains_v1beta1.rb +34 -0
  234. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +2 -1
  235. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  236. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +4 -3
  237. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  238. data/generated/google/apis/drive_v2/classes.rb +4 -1
  239. data/generated/google/apis/drive_v2.rb +1 -1
  240. data/generated/google/apis/drive_v3/classes.rb +4 -2
  241. data/generated/google/apis/drive_v3.rb +1 -1
  242. data/generated/google/apis/{apigateway_v1alpha1 → eventarc_v1beta1}/classes.rb +327 -29
  243. data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
  244. data/generated/google/apis/{apigateway_v1alpha1 → eventarc_v1beta1}/service.rb +224 -268
  245. data/generated/google/apis/{apigateway_v1alpha1.rb → eventarc_v1beta1.rb} +8 -8
  246. data/generated/google/apis/file_v1/classes.rb +1 -1
  247. data/generated/google/apis/file_v1.rb +1 -1
  248. data/generated/google/apis/file_v1beta1/classes.rb +1 -1
  249. data/generated/google/apis/file_v1beta1.rb +1 -1
  250. data/generated/google/apis/firebase_v1beta1/service.rb +17 -4
  251. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  252. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +2 -0
  253. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  254. data/generated/google/apis/firestore_v1/classes.rb +4 -4
  255. data/generated/google/apis/firestore_v1.rb +1 -1
  256. data/generated/google/apis/firestore_v1beta1/classes.rb +4 -4
  257. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  258. data/generated/google/apis/fitness_v1/service.rb +3 -1
  259. data/generated/google/apis/fitness_v1.rb +13 -1
  260. data/generated/google/apis/games_v1/classes.rb +300 -0
  261. data/generated/google/apis/games_v1/representations.rb +116 -0
  262. data/generated/google/apis/games_v1/service.rb +34 -0
  263. data/generated/google/apis/games_v1.rb +1 -1
  264. data/generated/google/apis/gameservices_v1/classes.rb +15 -14
  265. data/generated/google/apis/gameservices_v1/service.rb +54 -51
  266. data/generated/google/apis/gameservices_v1.rb +1 -1
  267. data/generated/google/apis/gameservices_v1beta/classes.rb +15 -14
  268. data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
  269. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  270. data/generated/google/apis/genomics_v2alpha1/classes.rb +104 -0
  271. data/generated/google/apis/genomics_v2alpha1/representations.rb +47 -0
  272. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  273. data/generated/google/apis/gmail_v1/service.rb +1 -1
  274. data/generated/google/apis/gmail_v1.rb +1 -1
  275. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +10 -10
  276. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
  277. data/generated/google/apis/healthcare_v1/classes.rb +7 -5
  278. data/generated/google/apis/healthcare_v1/service.rb +2 -1
  279. data/generated/google/apis/healthcare_v1.rb +1 -1
  280. data/generated/google/apis/healthcare_v1beta1/classes.rb +1190 -285
  281. data/generated/google/apis/healthcare_v1beta1/representations.rb +516 -68
  282. data/generated/google/apis/healthcare_v1beta1/service.rb +1500 -228
  283. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  284. data/generated/google/apis/iam_v1/service.rb +1 -4
  285. data/generated/google/apis/iam_v1.rb +2 -5
  286. data/generated/google/apis/iamcredentials_v1/service.rb +2 -3
  287. data/generated/google/apis/iamcredentials_v1.rb +3 -4
  288. data/generated/google/apis/jobs_v2/classes.rb +798 -0
  289. data/generated/google/apis/jobs_v2/representations.rb +272 -0
  290. data/generated/google/apis/jobs_v2.rb +1 -1
  291. data/generated/google/apis/jobs_v3/classes.rb +798 -0
  292. data/generated/google/apis/jobs_v3/representations.rb +272 -0
  293. data/generated/google/apis/jobs_v3.rb +1 -1
  294. data/generated/google/apis/jobs_v3p1beta1/classes.rb +759 -0
  295. data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
  296. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  297. data/generated/google/apis/licensing_v1/service.rb +2 -2
  298. data/generated/google/apis/licensing_v1.rb +1 -1
  299. data/generated/google/apis/lifesciences_v2beta/classes.rb +104 -0
  300. data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
  301. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  302. data/generated/google/apis/localservices_v1/classes.rb +7 -0
  303. data/generated/google/apis/localservices_v1/representations.rb +2 -0
  304. data/generated/google/apis/localservices_v1/service.rb +20 -20
  305. data/generated/google/apis/localservices_v1.rb +1 -1
  306. data/generated/google/apis/logging_v2/classes.rb +174 -60
  307. data/generated/google/apis/logging_v2/representations.rb +64 -0
  308. data/generated/google/apis/logging_v2/service.rb +1422 -127
  309. data/generated/google/apis/logging_v2.rb +1 -1
  310. data/generated/google/apis/managedidentities_v1/classes.rb +8 -1
  311. data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
  312. data/generated/google/apis/managedidentities_v1/service.rb +1 -4
  313. data/generated/google/apis/managedidentities_v1.rb +1 -1
  314. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +87 -9
  315. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +34 -1
  316. data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
  317. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  318. data/generated/google/apis/managedidentities_v1beta1/classes.rb +88 -9
  319. data/generated/google/apis/managedidentities_v1beta1/representations.rb +34 -1
  320. data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
  321. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  322. data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
  323. data/generated/google/apis/memcache_v1beta2/service.rb +5 -5
  324. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  325. data/generated/google/apis/ml_v1/classes.rb +238 -77
  326. data/generated/google/apis/ml_v1/representations.rb +17 -0
  327. data/generated/google/apis/ml_v1.rb +1 -1
  328. data/generated/google/apis/monitoring_v3/classes.rb +71 -17
  329. data/generated/google/apis/monitoring_v3/representations.rb +18 -0
  330. data/generated/google/apis/monitoring_v3/service.rb +55 -6
  331. data/generated/google/apis/monitoring_v3.rb +1 -1
  332. data/generated/google/apis/oauth2_v2/classes.rb +165 -0
  333. data/generated/google/apis/oauth2_v2/representations.rb +68 -0
  334. data/generated/google/apis/oauth2_v2/service.rb +158 -0
  335. data/generated/google/apis/oauth2_v2.rb +40 -0
  336. data/generated/google/apis/osconfig_v1/service.rb +4 -4
  337. data/generated/google/apis/osconfig_v1.rb +3 -3
  338. data/generated/google/apis/osconfig_v1beta/service.rb +4 -4
  339. data/generated/google/apis/osconfig_v1beta.rb +3 -3
  340. data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -2
  341. data/generated/google/apis/oslogin_v1alpha/service.rb +13 -13
  342. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  343. data/generated/google/apis/people_v1/classes.rb +52 -51
  344. data/generated/google/apis/people_v1/service.rb +24 -22
  345. data/generated/google/apis/people_v1.rb +1 -1
  346. data/generated/google/apis/playablelocations_v3/classes.rb +6 -6
  347. data/generated/google/apis/playablelocations_v3.rb +1 -1
  348. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  349. data/generated/google/apis/poly_v1/classes.rb +65 -79
  350. data/generated/google/apis/poly_v1/service.rb +50 -63
  351. data/generated/google/apis/poly_v1.rb +3 -4
  352. data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
  353. data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
  354. data/generated/google/apis/privateca_v1beta1/service.rb +1487 -0
  355. data/generated/google/apis/{appsactivity_v1.rb → privateca_v1beta1.rb} +11 -11
  356. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +109 -0
  357. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  358. data/generated/google/apis/pubsub_v1/service.rb +2 -2
  359. data/generated/google/apis/pubsub_v1.rb +1 -1
  360. data/generated/google/apis/pubsublite_v1/classes.rb +2 -2
  361. data/generated/google/apis/pubsublite_v1.rb +1 -1
  362. data/generated/google/apis/realtimebidding_v1/classes.rb +84 -123
  363. data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
  364. data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
  365. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  366. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +32 -0
  367. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -0
  368. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  369. data/generated/google/apis/recommender_v1/classes.rb +1 -1
  370. data/generated/google/apis/recommender_v1/service.rb +4 -2
  371. data/generated/google/apis/recommender_v1.rb +1 -1
  372. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
  373. data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
  374. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  375. data/generated/google/apis/redis_v1/classes.rb +5 -5
  376. data/generated/google/apis/redis_v1/service.rb +2 -2
  377. data/generated/google/apis/redis_v1.rb +1 -1
  378. data/generated/google/apis/redis_v1beta1/classes.rb +33 -5
  379. data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
  380. data/generated/google/apis/redis_v1beta1/service.rb +36 -2
  381. data/generated/google/apis/redis_v1beta1.rb +1 -1
  382. data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
  383. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
  384. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  385. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
  386. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
  387. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  388. data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
  389. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
  390. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  391. data/generated/google/apis/run_v1/classes.rb +12 -132
  392. data/generated/google/apis/run_v1/representations.rb +0 -61
  393. data/generated/google/apis/run_v1/service.rb +0 -342
  394. data/generated/google/apis/run_v1.rb +1 -1
  395. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -2
  396. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  397. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  398. data/generated/google/apis/sasportal_v1alpha1/service.rb +109 -0
  399. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  400. data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
  401. data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
  402. data/generated/google/apis/searchconsole_v1/service.rb +287 -0
  403. data/generated/google/apis/searchconsole_v1.rb +7 -1
  404. data/generated/google/apis/secretmanager_v1/classes.rb +1 -2
  405. data/generated/google/apis/secretmanager_v1.rb +1 -1
  406. data/generated/google/apis/secretmanager_v1beta1/classes.rb +1 -2
  407. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  408. data/generated/google/apis/securitycenter_v1/classes.rb +5 -199
  409. data/generated/google/apis/securitycenter_v1/representations.rb +0 -72
  410. data/generated/google/apis/securitycenter_v1.rb +1 -1
  411. data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -196
  412. data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -72
  413. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  414. data/generated/google/apis/securitycenter_v1beta2/classes.rb +2 -196
  415. data/generated/google/apis/securitycenter_v1beta2/representations.rb +0 -72
  416. data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
  417. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +5 -63
  418. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
  419. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +1 -1
  420. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  421. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +5 -63
  422. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
  423. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  424. data/generated/google/apis/servicecontrol_v1/classes.rb +78 -4
  425. data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
  426. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  427. data/generated/google/apis/servicecontrol_v2/classes.rb +63 -2
  428. data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
  429. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  430. data/generated/google/apis/servicemanagement_v1/classes.rb +5 -85
  431. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -31
  432. data/generated/google/apis/servicemanagement_v1/service.rb +0 -36
  433. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  434. data/generated/google/apis/servicenetworking_v1/classes.rb +185 -64
  435. data/generated/google/apis/servicenetworking_v1/representations.rb +63 -14
  436. data/generated/google/apis/servicenetworking_v1/service.rb +2 -2
  437. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  438. data/generated/google/apis/servicenetworking_v1beta/classes.rb +139 -64
  439. data/generated/google/apis/servicenetworking_v1beta/representations.rb +46 -14
  440. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  441. data/generated/google/apis/serviceusage_v1/classes.rb +5 -63
  442. data/generated/google/apis/serviceusage_v1/representations.rb +0 -18
  443. data/generated/google/apis/serviceusage_v1.rb +1 -1
  444. data/generated/google/apis/serviceusage_v1beta1/classes.rb +35 -63
  445. data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -18
  446. data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
  447. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  448. data/generated/google/apis/sheets_v4/classes.rb +174 -84
  449. data/generated/google/apis/sheets_v4.rb +1 -1
  450. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +273 -0
  451. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +157 -0
  452. data/generated/google/apis/smartdevicemanagement_v1/service.rb +304 -0
  453. data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
  454. data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
  455. data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
  456. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  457. data/generated/google/apis/sqladmin_v1beta4/classes.rb +156 -57
  458. data/generated/google/apis/sqladmin_v1beta4/representations.rb +53 -17
  459. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  460. data/generated/google/apis/storage_v1/classes.rb +2 -10
  461. data/generated/google/apis/storage_v1/representations.rb +0 -1
  462. data/generated/google/apis/storage_v1/service.rb +3 -2
  463. data/generated/google/apis/storage_v1.rb +1 -1
  464. data/generated/google/apis/storagetransfer_v1/classes.rb +64 -34
  465. data/generated/google/apis/storagetransfer_v1/representations.rb +13 -0
  466. data/generated/google/apis/storagetransfer_v1/service.rb +22 -20
  467. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  468. data/generated/google/apis/streetviewpublish_v1/classes.rb +4 -4
  469. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  470. data/generated/google/apis/sts_v1/classes.rb +10 -9
  471. data/generated/google/apis/sts_v1.rb +1 -1
  472. data/generated/google/apis/sts_v1beta/classes.rb +67 -67
  473. data/generated/google/apis/sts_v1beta/service.rb +2 -2
  474. data/generated/google/apis/sts_v1beta.rb +1 -1
  475. data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
  476. data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
  477. data/generated/google/apis/tagmanager_v2.rb +1 -1
  478. data/generated/google/apis/testing_v1/classes.rb +92 -33
  479. data/generated/google/apis/testing_v1/representations.rb +21 -0
  480. data/generated/google/apis/testing_v1/service.rb +4 -4
  481. data/generated/google/apis/testing_v1.rb +1 -1
  482. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  483. data/generated/google/apis/toolresults_v1beta3/classes.rb +13 -0
  484. data/generated/google/apis/toolresults_v1beta3/representations.rb +12 -0
  485. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  486. data/generated/google/apis/tpu_v1/classes.rb +3 -3
  487. data/generated/google/apis/tpu_v1/service.rb +8 -8
  488. data/generated/google/apis/tpu_v1.rb +1 -1
  489. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
  490. data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
  491. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  492. data/generated/google/apis/translate_v3/classes.rb +4 -3
  493. data/generated/google/apis/translate_v3.rb +1 -1
  494. data/generated/google/apis/translate_v3beta1/classes.rb +2 -1
  495. data/generated/google/apis/translate_v3beta1.rb +1 -1
  496. data/generated/google/apis/vault_v1/classes.rb +333 -0
  497. data/generated/google/apis/vault_v1/representations.rb +162 -0
  498. data/generated/google/apis/vault_v1/service.rb +151 -0
  499. data/generated/google/apis/vault_v1.rb +1 -1
  500. data/generated/google/apis/videointelligence_v1/classes.rb +751 -28
  501. data/generated/google/apis/videointelligence_v1/representations.rb +402 -2
  502. data/generated/google/apis/videointelligence_v1/service.rb +0 -62
  503. data/generated/google/apis/videointelligence_v1.rb +1 -1
  504. data/generated/google/apis/videointelligence_v1beta2/classes.rb +751 -28
  505. data/generated/google/apis/videointelligence_v1beta2/representations.rb +402 -2
  506. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  507. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +749 -26
  508. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +402 -2
  509. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  510. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +734 -11
  511. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +402 -2
  512. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  513. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +667 -28
  514. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +368 -2
  515. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  516. data/generated/google/apis/vision_v1/classes.rb +16 -16
  517. data/generated/google/apis/vision_v1.rb +1 -1
  518. data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
  519. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  520. data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
  521. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  522. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  523. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  524. data/generated/google/apis/workflowexecutions_v1beta/service.rb +1 -1
  525. data/generated/google/apis/workflowexecutions_v1beta.rb +2 -2
  526. data/generated/google/apis/workflows_v1beta/service.rb +2 -1
  527. data/generated/google/apis/workflows_v1beta.rb +3 -2
  528. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  529. data/generated/google/apis/youtube_v3/classes.rb +0 -134
  530. data/generated/google/apis/youtube_v3/representations.rb +0 -55
  531. data/generated/google/apis/youtube_v3/service.rb +1 -1
  532. data/generated/google/apis/youtube_v3.rb +1 -1
  533. data/google-api-client.gemspec +25 -25
  534. data/lib/google/apis/core/api_command.rb +1 -0
  535. data/lib/google/apis/core/http_command.rb +2 -1
  536. data/lib/google/apis/options.rb +8 -5
  537. data/lib/google/apis/version.rb +1 -1
  538. data/synth.py +40 -0
  539. metadata +51 -12
  540. data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
  541. data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
  542. data/generated/google/apis/appsactivity_v1/service.rb +0 -126
@@ -24,21 +24,19 @@ module Google
24
24
 
25
25
  # Specifies the audit configuration for a service. The configuration determines
26
26
  # which permission types are logged, and what identities, if any, are exempted
27
- # from logging. An AuditConfig must have one or more AuditLogConfigs.
28
- # If there are AuditConfigs for both `allServices` and a specific service, the
29
- # union of the two AuditConfigs is used for that service: the log_types
30
- # specified in each AuditConfig are enabled, and the exempted_members in each
31
- # AuditLogConfig are exempted.
32
- # Example Policy with multiple AuditConfigs:
33
- # ` "audit_configs": [ ` "service": "allServices" "audit_log_configs": [ ` "
34
- # log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] `, ` "
35
- # log_type": "DATA_WRITE", `, ` "log_type": "ADMIN_READ", ` ] `, ` "service": "
36
- # sampleservice.googleapis.com" "audit_log_configs": [ ` "log_type": "DATA_READ",
37
- # `, ` "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com"
38
- # ] ` ] ` ] `
39
- # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
40
- # logging. It also exempts jose@example.com from DATA_READ logging, and aliya@
41
- # example.com from DATA_WRITE logging.
27
+ # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
28
+ # are AuditConfigs for both `allServices` and a specific service, the union of
29
+ # the two AuditConfigs is used for that service: the log_types specified in each
30
+ # AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
31
+ # exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
32
+ # service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
33
+ # exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
34
+ # ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
35
+ # "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
36
+ # , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
37
+ # this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
38
+ # exempts jose@example.com from DATA_READ logging, and aliya@example.com from
39
+ # DATA_WRITE logging.
42
40
  class AuditConfig
43
41
  include Google::Apis::Core::Hashable
44
42
 
@@ -47,11 +45,6 @@ module Google
47
45
  # @return [Array<Google::Apis::DeploymentmanagerV2::AuditLogConfig>]
48
46
  attr_accessor :audit_log_configs
49
47
 
50
- #
51
- # Corresponds to the JSON property `exemptedMembers`
52
- # @return [Array<String>]
53
- attr_accessor :exempted_members
54
-
55
48
  # Specifies a service that will be enabled for audit logging. For example, `
56
49
  # storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
57
50
  # value that covers all services.
@@ -66,31 +59,24 @@ module Google
66
59
  # Update properties of this object
67
60
  def update!(**args)
68
61
  @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
69
- @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
70
62
  @service = args[:service] if args.key?(:service)
71
63
  end
72
64
  end
73
65
 
74
- # Provides the configuration for logging a type of permissions. Example:
75
- # ` "audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "
76
- # user:jose@example.com" ] `, ` "log_type": "DATA_WRITE", ` ] `
77
- # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@
78
- # example.com from DATA_READ logging.
66
+ # Provides the configuration for logging a type of permissions. Example: ` "
67
+ # audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
68
+ # jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
69
+ # DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
70
+ # DATA_READ logging.
79
71
  class AuditLogConfig
80
72
  include Google::Apis::Core::Hashable
81
73
 
82
74
  # Specifies the identities that do not cause logging for this type of permission.
83
- # Follows the same format of [Binding.members][].
75
+ # Follows the same format of Binding.members.
84
76
  # Corresponds to the JSON property `exemptedMembers`
85
77
  # @return [Array<String>]
86
78
  attr_accessor :exempted_members
87
79
 
88
- #
89
- # Corresponds to the JSON property `ignoreChildExemptions`
90
- # @return [Boolean]
91
- attr_accessor :ignore_child_exemptions
92
- alias_method :ignore_child_exemptions?, :ignore_child_exemptions
93
-
94
80
  # The log type that this config enables.
95
81
  # Corresponds to the JSON property `logType`
96
82
  # @return [String]
@@ -103,88 +89,59 @@ module Google
103
89
  # Update properties of this object
104
90
  def update!(**args)
105
91
  @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
106
- @ignore_child_exemptions = args[:ignore_child_exemptions] if args.key?(:ignore_child_exemptions)
107
92
  @log_type = args[:log_type] if args.key?(:log_type)
108
93
  end
109
94
  end
110
95
 
111
- # Authorization-related information used by Cloud Audit Logging.
112
- class AuthorizationLoggingOptions
113
- include Google::Apis::Core::Hashable
114
-
115
- # The type of the permission that was checked.
116
- # Corresponds to the JSON property `permissionType`
117
- # @return [String]
118
- attr_accessor :permission_type
119
-
120
- def initialize(**args)
121
- update!(**args)
122
- end
123
-
124
- # Update properties of this object
125
- def update!(**args)
126
- @permission_type = args[:permission_type] if args.key?(:permission_type)
127
- end
128
- end
129
-
130
96
  # Associates `members` with a `role`.
131
97
  class Binding
132
98
  include Google::Apis::Core::Hashable
133
99
 
134
100
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
135
101
  # CEL is a C-like expression language. The syntax and semantics of CEL are
136
- # documented at https://github.com/google/cel-spec.
137
- # Example (Comparison):
138
- # title: "Summary size limit" description: "Determines if a summary is less than
139
- # 100 chars" expression: "document.summary.size() < 100"
140
- # Example (Equality):
141
- # title: "Requestor is owner" description: "Determines if requestor is the
142
- # document owner" expression: "document.owner == request.auth.claims.email"
143
- # Example (Logic):
144
- # title: "Public documents" description: "Determine whether the document should
145
- # be publicly visible" expression: "document.type != 'private' && document.type !
146
- # = 'internal'"
147
- # Example (Data Manipulation):
148
- # title: "Notification string" description: "Create a notification string with a
149
- # timestamp." expression: "'New message received at ' + string(document.
150
- # create_time)"
151
- # The exact variables and functions that may be referenced within an expression
152
- # are determined by the service that evaluates it. See the service documentation
153
- # for additional information.
102
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
103
+ # "Summary size limit" description: "Determines if a summary is less than 100
104
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
105
+ # Requestor is owner" description: "Determines if requestor is the document
106
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
107
+ # Logic): title: "Public documents" description: "Determine whether the document
108
+ # should be publicly visible" expression: "document.type != 'private' &&
109
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
110
+ # string" description: "Create a notification string with a timestamp."
111
+ # expression: "'New message received at ' + string(document.create_time)" The
112
+ # exact variables and functions that may be referenced within an expression are
113
+ # determined by the service that evaluates it. See the service documentation for
114
+ # additional information.
154
115
  # Corresponds to the JSON property `condition`
155
116
  # @return [Google::Apis::DeploymentmanagerV2::Expr]
156
117
  attr_accessor :condition
157
118
 
158
119
  # Specifies the identities requesting access for a Cloud Platform resource. `
159
- # members` can have the following values:
160
- # * `allUsers`: A special identifier that represents anyone who is on the
161
- # internet; with or without a Google account.
162
- # * `allAuthenticatedUsers`: A special identifier that represents anyone who is
163
- # authenticated with a Google account or a service account.
164
- # * `user:`emailid``: An email address that represents a specific Google account.
165
- # For example, `alice@example.com` .
166
- # * `serviceAccount:`emailid``: An email address that represents a service
167
- # account. For example, `my-other-app@appspot.gserviceaccount.com`.
168
- # * `group:`emailid``: An email address that represents a Google group. For
169
- # example, `admins@example.com`.
170
- # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
171
- # identifier) representing a user that has been recently deleted. For example, `
172
- # alice@example.com?uid=123456789012345678901`. If the user is recovered, this
173
- # value reverts to `user:`emailid`` and the recovered user retains the role in
174
- # the binding.
175
- # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
176
- # unique identifier) representing a service account that has been recently
177
- # deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=
178
- # 123456789012345678901`. If the service account is undeleted, this value
179
- # reverts to `serviceAccount:`emailid`` and the undeleted service account
180
- # retains the role in the binding.
181
- # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
120
+ # members` can have the following values: * `allUsers`: A special identifier
121
+ # that represents anyone who is on the internet; with or without a Google
122
+ # account. * `allAuthenticatedUsers`: A special identifier that represents
123
+ # anyone who is authenticated with a Google account or a service account. * `
124
+ # user:`emailid``: An email address that represents a specific Google account.
125
+ # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
126
+ # address that represents a service account. For example, `my-other-app@appspot.
127
+ # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
128
+ # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
129
+ # `uniqueid``: An email address (plus unique identifier) representing a user
130
+ # that has been recently deleted. For example, `alice@example.com?uid=
131
+ # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
132
+ # emailid`` and the recovered user retains the role in the binding. * `deleted:
133
+ # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
134
+ # identifier) representing a service account that has been recently deleted. For
135
+ # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
136
+ # If the service account is undeleted, this value reverts to `serviceAccount:`
137
+ # emailid`` and the undeleted service account retains the role in the binding. *
138
+ # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
182
139
  # identifier) representing a Google group that has been recently deleted. For
183
140
  # example, `admins@example.com?uid=123456789012345678901`. If the group is
184
141
  # recovered, this value reverts to `group:`emailid`` and the recovered group
185
- # retains the role in the binding.
186
- # * `domain:`domain``: The G Suite domain (primary) that represents all the
187
- # users of that domain. For example, `google.com` or `example.com`.
142
+ # retains the role in the binding. * `domain:`domain``: The G Suite domain (
143
+ # primary) that represents all the users of that domain. For example, `google.
144
+ # com` or `example.com`.
188
145
  # Corresponds to the JSON property `members`
189
146
  # @return [Array<String>]
190
147
  attr_accessor :members
@@ -207,50 +164,6 @@ module Google
207
164
  end
208
165
  end
209
166
 
210
- # A condition to be met.
211
- class Condition
212
- include Google::Apis::Core::Hashable
213
-
214
- # Trusted attributes supplied by the IAM system.
215
- # Corresponds to the JSON property `iam`
216
- # @return [String]
217
- attr_accessor :iam
218
-
219
- # An operator to apply the subject with.
220
- # Corresponds to the JSON property `op`
221
- # @return [String]
222
- attr_accessor :op
223
-
224
- # Trusted attributes discharged by the service.
225
- # Corresponds to the JSON property `svc`
226
- # @return [String]
227
- attr_accessor :svc
228
-
229
- # Trusted attributes supplied by any service that owns resources and uses the
230
- # IAM system for access control.
231
- # Corresponds to the JSON property `sys`
232
- # @return [String]
233
- attr_accessor :sys
234
-
235
- # The objects of the condition.
236
- # Corresponds to the JSON property `values`
237
- # @return [Array<String>]
238
- attr_accessor :values
239
-
240
- def initialize(**args)
241
- update!(**args)
242
- end
243
-
244
- # Update properties of this object
245
- def update!(**args)
246
- @iam = args[:iam] if args.key?(:iam)
247
- @op = args[:op] if args.key?(:op)
248
- @svc = args[:svc] if args.key?(:svc)
249
- @sys = args[:sys] if args.key?(:sys)
250
- @values = args[:values] if args.key?(:values)
251
- end
252
- end
253
-
254
167
  #
255
168
  class ConfigFile
256
169
  include Google::Apis::Core::Hashable
@@ -283,8 +196,8 @@ module Google
283
196
  # update()`, `stop()`, and `cancelPreview()` requests. A fingerprint is a
284
197
  # randomly generated value that must be provided with `update()`, `stop()`, and `
285
198
  # cancelPreview()` requests to perform optimistic locking. This ensures
286
- # optimistic concurrency so that only one request happens at a time.
287
- # The fingerprint is initially generated by Deployment Manager and changes after
199
+ # optimistic concurrency so that only one request happens at a time. The
200
+ # fingerprint is initially generated by Deployment Manager and changes after
288
201
  # every request to modify data. To get the latest fingerprint value, perform a `
289
202
  # get()` request to a deployment.
290
203
  # Corresponds to the JSON property `fingerprint`
@@ -302,11 +215,11 @@ module Google
302
215
  # @return [String]
303
216
  attr_accessor :insert_time
304
217
 
305
- # Map of labels; provided by the client when the resource is created or updated.
306
- # Specifically: Label keys must be between 1 and 63 characters long and must
307
- # conform to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`
308
- # Label values must be between 0 and 63 characters long and must conform to the
309
- # regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
218
+ # Map of One Platform labels; provided by the client when the resource is
219
+ # created or updated. Specifically: Label keys must be between 1 and 63
220
+ # characters long and must conform to the following regular expression: `[a-z]([-
221
+ # a-z0-9]*[a-z0-9])?` Label values must be between 0 and 63 characters long and
222
+ # must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
310
223
  # Corresponds to the JSON property `labels`
311
224
  # @return [Array<Google::Apis::DeploymentmanagerV2::DeploymentLabelEntry>]
312
225
  attr_accessor :labels
@@ -328,21 +241,16 @@ module Google
328
241
  # @return [String]
329
242
  attr_accessor :name
330
243
 
331
- # Represents an Operation resource.
332
- # Google Compute Engine has three Operation resources:
333
- # * [Global](/compute/docs/reference/rest/`$api_version`/globalOperations) * [
334
- # Regional](/compute/docs/reference/rest/`$api_version`/regionOperations) * [
335
- # Zonal](/compute/docs/reference/rest/`$api_version`/zoneOperations)
336
- # You can use an operation resource to manage asynchronous API requests. For
337
- # more information, read Handling API responses.
338
- # Operations can be global, regional or zonal.
339
- # - For global operations, use the `globalOperations` resource.
340
- # - For regional operations, use the `regionOperations` resource.
341
- # - For zonal operations, use the `zonalOperations` resource.
342
- # For more information, read Global, Regional, and Zonal Resources. (==
343
- # resource_for `$api_version`.globalOperations ==) (== resource_for `$
344
- # api_version`.regionOperations ==) (== resource_for `$api_version`.
345
- # zoneOperations ==)
244
+ # Represents an Operation resource. Google Compute Engine has three Operation
245
+ # resources: * [Global](/compute/docs/reference/rest/`$api_version`/
246
+ # globalOperations) * [Regional](/compute/docs/reference/rest/`$api_version`/
247
+ # regionOperations) * [Zonal](/compute/docs/reference/rest/`$api_version`/
248
+ # zoneOperations) You can use an operation resource to manage asynchronous API
249
+ # requests. For more information, read Handling API responses. Operations can be
250
+ # global, regional or zonal. - For global operations, use the `globalOperations`
251
+ # resource. - For regional operations, use the `regionOperations` resource. -
252
+ # For zonal operations, use the `zonalOperations` resource. For more information,
253
+ # read Global, Regional, and Zonal Resources.
346
254
  # Corresponds to the JSON property `operation`
347
255
  # @return [Google::Apis::DeploymentmanagerV2::Operation]
348
256
  attr_accessor :operation
@@ -352,12 +260,14 @@ module Google
352
260
  # @return [String]
353
261
  attr_accessor :self_link
354
262
 
355
- #
263
+ # [Input Only] The parameters that define your deployment, including the
264
+ # deployment configuration and relevant templates.
356
265
  # Corresponds to the JSON property `target`
357
266
  # @return [Google::Apis::DeploymentmanagerV2::TargetConfiguration]
358
267
  attr_accessor :target
359
268
 
360
- #
269
+ # Output only. If Deployment Manager is currently updating or previewing an
270
+ # update to this deployment, the updated configuration appears here.
361
271
  # Corresponds to the JSON property `update`
362
272
  # @return [Google::Apis::DeploymentmanagerV2::DeploymentUpdate]
363
273
  attr_accessor :update
@@ -388,16 +298,16 @@ module Google
388
298
  end
389
299
  end
390
300
 
391
- #
301
+ # Label object for Deployments
392
302
  class DeploymentLabelEntry
393
303
  include Google::Apis::Core::Hashable
394
304
 
395
- #
305
+ # Key of the label
396
306
  # Corresponds to the JSON property `key`
397
307
  # @return [String]
398
308
  attr_accessor :key
399
309
 
400
- #
310
+ # Value of the label
401
311
  # Corresponds to the JSON property `value`
402
312
  # @return [String]
403
313
  attr_accessor :value
@@ -423,7 +333,7 @@ module Google
423
333
  # @return [String]
424
334
  attr_accessor :description
425
335
 
426
- # Output only. Map of labels; provided by the client when the resource is
336
+ # Map of One Platform labels; provided by the client when the resource is
427
337
  # created or updated. Specifically: Label keys must be between 1 and 63
428
338
  # characters long and must conform to the following regular expression: `[a-z]([-
429
339
  # a-z0-9]*[a-z0-9])?` Label values must be between 0 and 63 characters long and
@@ -450,16 +360,16 @@ module Google
450
360
  end
451
361
  end
452
362
 
453
- #
363
+ # Label object for DeploymentUpdate
454
364
  class DeploymentUpdateLabelEntry
455
365
  include Google::Apis::Core::Hashable
456
366
 
457
- #
367
+ # Key of the label
458
368
  # Corresponds to the JSON property `key`
459
369
  # @return [String]
460
370
  attr_accessor :key
461
371
 
462
- #
372
+ # Value of the label
463
373
  # Corresponds to the JSON property `value`
464
374
  # @return [String]
465
375
  attr_accessor :value
@@ -484,10 +394,10 @@ module Google
484
394
  # to perform optimistic locking. This ensures optimistic concurrency so that the
485
395
  # deployment does not have conflicting requests (e.g. if someone attempts to
486
396
  # make a new update request while another user attempts to cancel a preview,
487
- # this would prevent one of the requests).
488
- # The fingerprint is initially generated by Deployment Manager and changes after
489
- # every request to modify a deployment. To get the latest fingerprint value,
490
- # perform a `get()` request on the deployment.
397
+ # this would prevent one of the requests). The fingerprint is initially
398
+ # generated by Deployment Manager and changes after every request to modify a
399
+ # deployment. To get the latest fingerprint value, perform a `get()` request on
400
+ # the deployment.
491
401
  # Corresponds to the JSON property `fingerprint`
492
402
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
493
403
  # @return [String]
@@ -538,10 +448,9 @@ module Google
538
448
  # optimistic locking. This ensures optimistic concurrency so that the deployment
539
449
  # does not have conflicting requests (e.g. if someone attempts to make a new
540
450
  # update request while another user attempts to stop an ongoing update request,
541
- # this would prevent a collision).
542
- # The fingerprint is initially generated by Deployment Manager and changes after
543
- # every request to modify a deployment. To get the latest fingerprint value,
544
- # perform a `get()` request on the deployment.
451
+ # this would prevent a collision). The fingerprint is initially generated by
452
+ # Deployment Manager and changes after every request to modify a deployment. To
453
+ # get the latest fingerprint value, perform a `get()` request on the deployment.
545
454
  # Corresponds to the JSON property `fingerprint`
546
455
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
547
456
  # @return [String]
@@ -559,24 +468,19 @@ module Google
559
468
 
560
469
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
561
470
  # CEL is a C-like expression language. The syntax and semantics of CEL are
562
- # documented at https://github.com/google/cel-spec.
563
- # Example (Comparison):
564
- # title: "Summary size limit" description: "Determines if a summary is less than
565
- # 100 chars" expression: "document.summary.size() < 100"
566
- # Example (Equality):
567
- # title: "Requestor is owner" description: "Determines if requestor is the
568
- # document owner" expression: "document.owner == request.auth.claims.email"
569
- # Example (Logic):
570
- # title: "Public documents" description: "Determine whether the document should
571
- # be publicly visible" expression: "document.type != 'private' && document.type !
572
- # = 'internal'"
573
- # Example (Data Manipulation):
574
- # title: "Notification string" description: "Create a notification string with a
575
- # timestamp." expression: "'New message received at ' + string(document.
576
- # create_time)"
577
- # The exact variables and functions that may be referenced within an expression
578
- # are determined by the service that evaluates it. See the service documentation
579
- # for additional information.
471
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
472
+ # "Summary size limit" description: "Determines if a summary is less than 100
473
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
474
+ # Requestor is owner" description: "Determines if requestor is the document
475
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
476
+ # Logic): title: "Public documents" description: "Determine whether the document
477
+ # should be publicly visible" expression: "document.type != 'private' &&
478
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
479
+ # string" description: "Create a notification string with a timestamp."
480
+ # expression: "'New message received at ' + string(document.create_time)" The
481
+ # exact variables and functions that may be referenced within an expression are
482
+ # determined by the service that evaluates it. See the service documentation for
483
+ # additional information.
580
484
  class Expr
581
485
  include Google::Apis::Core::Hashable
582
486
 
@@ -634,35 +538,32 @@ module Google
634
538
  attr_accessor :etag
635
539
 
636
540
  # An Identity and Access Management (IAM) policy, which specifies access
637
- # controls for Google Cloud resources.
638
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more `
639
- # members` to a single `role`. Members can be user accounts, service accounts,
640
- # Google groups, and domains (such as G Suite). A `role` is a named list of
641
- # permissions; each `role` can be an IAM predefined role or a user-created
642
- # custom role.
643
- # For some types of Google Cloud resources, a `binding` can also specify a `
644
- # condition`, which is a logical expression that allows access to a resource
645
- # only if the expression evaluates to `true`. A condition can add constraints
646
- # based on attributes of the request, the resource, or both. To learn which
647
- # resources support conditions in their IAM policies, see the [IAM documentation]
648
- # (https://cloud.google.com/iam/help/conditions/resource-policies).
649
- # **JSON example:**
650
- # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
651
- # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
652
- # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
653
- # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
654
- # ], "condition": ` "title": "expirable access", "description": "Does not grant
655
- # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
656
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 `
657
- # **YAML example:**
658
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
659
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
660
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
661
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
662
- # access description: Does not grant access after Sep 2020 expression: request.
663
- # time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3
664
- # For a description of IAM and its features, see the [IAM documentation](https://
665
- # cloud.google.com/iam/docs/).
541
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
542
+ # A `binding` binds one or more `members` to a single `role`. Members can be
543
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
544
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
545
+ # role or a user-created custom role. For some types of Google Cloud resources,
546
+ # a `binding` can also specify a `condition`, which is a logical expression that
547
+ # allows access to a resource only if the expression evaluates to `true`. A
548
+ # condition can add constraints based on attributes of the request, the resource,
549
+ # or both. To learn which resources support conditions in their IAM policies,
550
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
551
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
552
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
553
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
554
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
555
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
556
+ # title": "expirable access", "description": "Does not grant access after Sep
557
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
558
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
559
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
560
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
561
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
562
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
563
+ # description: Does not grant access after Sep 2020 expression: request.time <
564
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
565
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
566
+ # google.com/iam/docs/).
666
567
  # Corresponds to the JSON property `policy`
667
568
  # @return [Google::Apis::DeploymentmanagerV2::Policy]
668
569
  attr_accessor :policy
@@ -704,171 +605,11 @@ module Google
704
605
  end
705
606
  end
706
607
 
707
- # Specifies what kind of log the caller must write
708
- class LogConfig
709
- include Google::Apis::Core::Hashable
710
-
711
- # Write a Cloud Audit log
712
- # Corresponds to the JSON property `cloudAudit`
713
- # @return [Google::Apis::DeploymentmanagerV2::LogConfigCloudAuditOptions]
714
- attr_accessor :cloud_audit
715
-
716
- # Increment a streamz counter with the specified metric and field names.
717
- # Metric names should start with a '/', generally be lowercase-only, and end in "
718
- # _count". Field names should not contain an initial slash. The actual exported
719
- # metric names will have "/iam/policy" prepended.
720
- # Field names correspond to IAM request parameters and field values are their
721
- # respective values.
722
- # Supported field names: - "authority", which is "[token]" if IAMContext.token
723
- # is present, otherwise the value of IAMContext.authority_selector if present,
724
- # and otherwise a representation of IAMContext.principal; or - "iam_principal",
725
- # a representation of IAMContext.principal even if a token or authority selector
726
- # is present; or - "" (empty string), resulting in a counter with no fields.
727
- # Examples: counter ` metric: "/debug_access_count" field: "iam_principal" ` ==>
728
- # increment counter /iam/policy/debug_access_count `iam_principal=[value of
729
- # IAMContext.principal]`
730
- # Corresponds to the JSON property `counter`
731
- # @return [Google::Apis::DeploymentmanagerV2::LogConfigCounterOptions]
732
- attr_accessor :counter
733
-
734
- # Write a Data Access (Gin) log
735
- # Corresponds to the JSON property `dataAccess`
736
- # @return [Google::Apis::DeploymentmanagerV2::LogConfigDataAccessOptions]
737
- attr_accessor :data_access
738
-
739
- def initialize(**args)
740
- update!(**args)
741
- end
742
-
743
- # Update properties of this object
744
- def update!(**args)
745
- @cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit)
746
- @counter = args[:counter] if args.key?(:counter)
747
- @data_access = args[:data_access] if args.key?(:data_access)
748
- end
749
- end
750
-
751
- # Write a Cloud Audit log
752
- class LogConfigCloudAuditOptions
753
- include Google::Apis::Core::Hashable
754
-
755
- # Authorization-related information used by Cloud Audit Logging.
756
- # Corresponds to the JSON property `authorizationLoggingOptions`
757
- # @return [Google::Apis::DeploymentmanagerV2::AuthorizationLoggingOptions]
758
- attr_accessor :authorization_logging_options
759
-
760
- # The log_name to populate in the Cloud Audit Record.
761
- # Corresponds to the JSON property `logName`
762
- # @return [String]
763
- attr_accessor :log_name
764
-
765
- def initialize(**args)
766
- update!(**args)
767
- end
768
-
769
- # Update properties of this object
770
- def update!(**args)
771
- @authorization_logging_options = args[:authorization_logging_options] if args.key?(:authorization_logging_options)
772
- @log_name = args[:log_name] if args.key?(:log_name)
773
- end
774
- end
775
-
776
- # Increment a streamz counter with the specified metric and field names.
777
- # Metric names should start with a '/', generally be lowercase-only, and end in "
778
- # _count". Field names should not contain an initial slash. The actual exported
779
- # metric names will have "/iam/policy" prepended.
780
- # Field names correspond to IAM request parameters and field values are their
781
- # respective values.
782
- # Supported field names: - "authority", which is "[token]" if IAMContext.token
783
- # is present, otherwise the value of IAMContext.authority_selector if present,
784
- # and otherwise a representation of IAMContext.principal; or - "iam_principal",
785
- # a representation of IAMContext.principal even if a token or authority selector
786
- # is present; or - "" (empty string), resulting in a counter with no fields.
787
- # Examples: counter ` metric: "/debug_access_count" field: "iam_principal" ` ==>
788
- # increment counter /iam/policy/debug_access_count `iam_principal=[value of
789
- # IAMContext.principal]`
790
- class LogConfigCounterOptions
791
- include Google::Apis::Core::Hashable
792
-
793
- # Custom fields.
794
- # Corresponds to the JSON property `customFields`
795
- # @return [Array<Google::Apis::DeploymentmanagerV2::LogConfigCounterOptionsCustomField>]
796
- attr_accessor :custom_fields
797
-
798
- # The field value to attribute.
799
- # Corresponds to the JSON property `field`
800
- # @return [String]
801
- attr_accessor :field
802
-
803
- # The metric to update.
804
- # Corresponds to the JSON property `metric`
805
- # @return [String]
806
- attr_accessor :metric
807
-
808
- def initialize(**args)
809
- update!(**args)
810
- end
811
-
812
- # Update properties of this object
813
- def update!(**args)
814
- @custom_fields = args[:custom_fields] if args.key?(:custom_fields)
815
- @field = args[:field] if args.key?(:field)
816
- @metric = args[:metric] if args.key?(:metric)
817
- end
818
- end
819
-
820
- # Custom fields. These can be used to create a counter with arbitrary field/
821
- # value pairs. See: go/rpcsp-custom-fields.
822
- class LogConfigCounterOptionsCustomField
823
- include Google::Apis::Core::Hashable
824
-
825
- # Name is the field name.
826
- # Corresponds to the JSON property `name`
827
- # @return [String]
828
- attr_accessor :name
829
-
830
- # Value is the field value. It is important that in contrast to the
831
- # CounterOptions.field, the value here is a constant that is not derived from
832
- # the IAMContext.
833
- # Corresponds to the JSON property `value`
834
- # @return [String]
835
- attr_accessor :value
836
-
837
- def initialize(**args)
838
- update!(**args)
839
- end
840
-
841
- # Update properties of this object
842
- def update!(**args)
843
- @name = args[:name] if args.key?(:name)
844
- @value = args[:value] if args.key?(:value)
845
- end
846
- end
847
-
848
- # Write a Data Access (Gin) log
849
- class LogConfigDataAccessOptions
850
- include Google::Apis::Core::Hashable
851
-
852
- #
853
- # Corresponds to the JSON property `logMode`
854
- # @return [String]
855
- attr_accessor :log_mode
856
-
857
- def initialize(**args)
858
- update!(**args)
859
- end
860
-
861
- # Update properties of this object
862
- def update!(**args)
863
- @log_mode = args[:log_mode] if args.key?(:log_mode)
864
- end
865
- end
866
-
867
608
  #
868
609
  class Manifest
869
610
  include Google::Apis::Core::Hashable
870
611
 
871
- #
612
+ # Output only. The YAML configuration for this manifest.
872
613
  # Corresponds to the JSON property `config`
873
614
  # @return [Google::Apis::DeploymentmanagerV2::ConfigFile]
874
615
  attr_accessor :config
@@ -899,8 +640,7 @@ module Google
899
640
  # @return [String]
900
641
  attr_accessor :layout
901
642
 
902
- # Output only.
903
- # The name of the manifest.
643
+ # Output only. The name of the manifest.
904
644
  # Corresponds to the JSON property `name`
905
645
  # @return [String]
906
646
  attr_accessor :name
@@ -953,21 +693,16 @@ module Google
953
693
  end
954
694
  end
955
695
 
956
- # Represents an Operation resource.
957
- # Google Compute Engine has three Operation resources:
958
- # * [Global](/compute/docs/reference/rest/`$api_version`/globalOperations) * [
959
- # Regional](/compute/docs/reference/rest/`$api_version`/regionOperations) * [
960
- # Zonal](/compute/docs/reference/rest/`$api_version`/zoneOperations)
961
- # You can use an operation resource to manage asynchronous API requests. For
962
- # more information, read Handling API responses.
963
- # Operations can be global, regional or zonal.
964
- # - For global operations, use the `globalOperations` resource.
965
- # - For regional operations, use the `regionOperations` resource.
966
- # - For zonal operations, use the `zonalOperations` resource.
967
- # For more information, read Global, Regional, and Zonal Resources. (==
968
- # resource_for `$api_version`.globalOperations ==) (== resource_for `$
969
- # api_version`.regionOperations ==) (== resource_for `$api_version`.
970
- # zoneOperations ==)
696
+ # Represents an Operation resource. Google Compute Engine has three Operation
697
+ # resources: * [Global](/compute/docs/reference/rest/`$api_version`/
698
+ # globalOperations) * [Regional](/compute/docs/reference/rest/`$api_version`/
699
+ # regionOperations) * [Zonal](/compute/docs/reference/rest/`$api_version`/
700
+ # zoneOperations) You can use an operation resource to manage asynchronous API
701
+ # requests. For more information, read Handling API responses. Operations can be
702
+ # global, regional or zonal. - For global operations, use the `globalOperations`
703
+ # resource. - For regional operations, use the `regionOperations` resource. -
704
+ # For zonal operations, use the `zonalOperations` resource. For more information,
705
+ # read Global, Regional, and Zonal Resources.
971
706
  class Operation
972
707
  include Google::Apis::Core::Hashable
973
708
 
@@ -1203,8 +938,8 @@ module Google
1203
938
  # @return [String]
1204
939
  attr_accessor :code
1205
940
 
1206
- # [Output Only] Metadata about this warning in key: value format. For example:
1207
- # "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
941
+ # [Output Only] Metadata about this warning in key: value format. For example: "
942
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
1208
943
  # Corresponds to the JSON property `data`
1209
944
  # @return [Array<Google::Apis::DeploymentmanagerV2::Operation::Warning::Datum>]
1210
945
  attr_accessor :data
@@ -1285,35 +1020,32 @@ module Google
1285
1020
  end
1286
1021
 
1287
1022
  # An Identity and Access Management (IAM) policy, which specifies access
1288
- # controls for Google Cloud resources.
1289
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more `
1290
- # members` to a single `role`. Members can be user accounts, service accounts,
1291
- # Google groups, and domains (such as G Suite). A `role` is a named list of
1292
- # permissions; each `role` can be an IAM predefined role or a user-created
1293
- # custom role.
1294
- # For some types of Google Cloud resources, a `binding` can also specify a `
1295
- # condition`, which is a logical expression that allows access to a resource
1296
- # only if the expression evaluates to `true`. A condition can add constraints
1297
- # based on attributes of the request, the resource, or both. To learn which
1298
- # resources support conditions in their IAM policies, see the [IAM documentation]
1299
- # (https://cloud.google.com/iam/help/conditions/resource-policies).
1300
- # **JSON example:**
1301
- # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members":
1302
- # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1303
- # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1304
- # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1305
- # ], "condition": ` "title": "expirable access", "description": "Does not grant
1306
- # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1307
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 `
1308
- # **YAML example:**
1309
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
1310
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1311
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1312
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1313
- # access description: Does not grant access after Sep 2020 expression: request.
1314
- # time < timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3
1315
- # For a description of IAM and its features, see the [IAM documentation](https://
1316
- # cloud.google.com/iam/docs/).
1023
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1024
+ # A `binding` binds one or more `members` to a single `role`. Members can be
1025
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
1026
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
1027
+ # role or a user-created custom role. For some types of Google Cloud resources,
1028
+ # a `binding` can also specify a `condition`, which is a logical expression that
1029
+ # allows access to a resource only if the expression evaluates to `true`. A
1030
+ # condition can add constraints based on attributes of the request, the resource,
1031
+ # or both. To learn which resources support conditions in their IAM policies,
1032
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1033
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1034
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1035
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1036
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1037
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1038
+ # title": "expirable access", "description": "Does not grant access after Sep
1039
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1040
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1041
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
1042
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1043
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1044
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
1045
+ # description: Does not grant access after Sep 2020 expression: request.time <
1046
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1047
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
1048
+ # google.com/iam/docs/).
1317
1049
  class Policy
1318
1050
  include Google::Apis::Core::Hashable
1319
1051
 
@@ -1335,51 +1067,31 @@ module Google
1335
1067
  # to perform policy updates in order to avoid race conditions: An `etag` is
1336
1068
  # returned in the response to `getIamPolicy`, and systems are expected to put
1337
1069
  # that etag in the request to `setIamPolicy` to ensure that their change will be
1338
- # applied to the same version of the policy.
1339
- # **Important:** If you use IAM Conditions, you must include the `etag` field
1340
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
1341
- # to overwrite a version `3` policy with a version `1` policy, and all of the
1342
- # conditions in the version `3` policy are lost.
1070
+ # applied to the same version of the policy. **Important:** If you use IAM
1071
+ # Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
1072
+ # If you omit this field, then IAM allows you to overwrite a version `3` policy
1073
+ # with a version `1` policy, and all of the conditions in the version `3` policy
1074
+ # are lost.
1343
1075
  # Corresponds to the JSON property `etag`
1344
1076
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
1345
1077
  # @return [String]
1346
1078
  attr_accessor :etag
1347
1079
 
1348
- #
1349
- # Corresponds to the JSON property `iamOwned`
1350
- # @return [Boolean]
1351
- attr_accessor :iam_owned
1352
- alias_method :iam_owned?, :iam_owned
1353
-
1354
- # If more than one rule is specified, the rules are applied in the following
1355
- # manner: - All matching LOG rules are always applied. - If any DENY/
1356
- # DENY_WITH_LOG rule matches, permission is denied. Logging will be applied if
1357
- # one or more matching rule requires logging. - Otherwise, if any ALLOW/
1358
- # ALLOW_WITH_LOG rule matches, permission is granted. Logging will be applied if
1359
- # one or more matching rule requires logging. - Otherwise, if no rule applies,
1360
- # permission is denied.
1361
- # Corresponds to the JSON property `rules`
1362
- # @return [Array<Google::Apis::DeploymentmanagerV2::Rule>]
1363
- attr_accessor :rules
1364
-
1365
- # Specifies the format of the policy.
1366
- # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are
1367
- # rejected.
1368
- # Any operation that affects conditional role bindings must specify version `3`.
1369
- # This requirement applies to the following operations:
1370
- # * Getting a policy that includes a conditional role binding * Adding a
1371
- # conditional role binding to a policy * Changing a conditional role binding in
1372
- # a policy * Removing any role binding, with or without a condition, from a
1373
- # policy that includes conditions
1374
- # **Important:** If you use IAM Conditions, you must include the `etag` field
1080
+ # Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
1081
+ # Requests that specify an invalid value are rejected. Any operation that
1082
+ # affects conditional role bindings must specify version `3`. This requirement
1083
+ # applies to the following operations: * Getting a policy that includes a
1084
+ # conditional role binding * Adding a conditional role binding to a policy *
1085
+ # Changing a conditional role binding in a policy * Removing any role binding,
1086
+ # with or without a condition, from a policy that includes conditions **
1087
+ # Important:** If you use IAM Conditions, you must include the `etag` field
1375
1088
  # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
1376
1089
  # to overwrite a version `3` policy with a version `1` policy, and all of the
1377
- # conditions in the version `3` policy are lost.
1378
- # If a policy does not include any conditions, operations on that policy may
1379
- # specify any valid version or leave the field unset.
1380
- # To learn which resources support conditions in their IAM policies, see the [
1381
- # IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
1382
- # policies).
1090
+ # conditions in the version `3` policy are lost. If a policy does not include
1091
+ # any conditions, operations on that policy may specify any valid version or
1092
+ # leave the field unset. To learn which resources support conditions in their
1093
+ # IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
1094
+ # conditions/resource-policies).
1383
1095
  # Corresponds to the JSON property `version`
1384
1096
  # @return [Fixnum]
1385
1097
  attr_accessor :version
@@ -1393,8 +1105,6 @@ module Google
1393
1105
  @audit_configs = args[:audit_configs] if args.key?(:audit_configs)
1394
1106
  @bindings = args[:bindings] if args.key?(:bindings)
1395
1107
  @etag = args[:etag] if args.key?(:etag)
1396
- @iam_owned = args[:iam_owned] if args.key?(:iam_owned)
1397
- @rules = args[:rules] if args.key?(:rules)
1398
1108
  @version = args[:version] if args.key?(:version)
1399
1109
  end
1400
1110
  end
@@ -1447,7 +1157,8 @@ module Google
1447
1157
  # @return [String]
1448
1158
  attr_accessor :type
1449
1159
 
1450
- #
1160
+ # Output only. If Deployment Manager is currently updating or previewing an
1161
+ # update to this resource, the updated configuration appears here.
1451
1162
  # Corresponds to the JSON property `update`
1452
1163
  # @return [Google::Apis::DeploymentmanagerV2::ResourceUpdate]
1453
1164
  attr_accessor :update
@@ -1498,8 +1209,8 @@ module Google
1498
1209
  # @return [String]
1499
1210
  attr_accessor :code
1500
1211
 
1501
- # [Output Only] Metadata about this warning in key: value format. For example:
1502
- # "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
1212
+ # [Output Only] Metadata about this warning in key: value format. For example: "
1213
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
1503
1214
  # Corresponds to the JSON property `data`
1504
1215
  # @return [Array<Google::Apis::DeploymentmanagerV2::Resource::Warning::Datum>]
1505
1216
  attr_accessor :data
@@ -1699,8 +1410,8 @@ module Google
1699
1410
  # @return [String]
1700
1411
  attr_accessor :code
1701
1412
 
1702
- # [Output Only] Metadata about this warning in key: value format. For example:
1703
- # "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
1413
+ # [Output Only] Metadata about this warning in key: value format. For example: "
1414
+ # data": [ ` "key": "scope", "value": "zones/us-east1-d" `
1704
1415
  # Corresponds to the JSON property `data`
1705
1416
  # @return [Array<Google::Apis::DeploymentmanagerV2::ResourceUpdate::Warning::Datum>]
1706
1417
  attr_accessor :data
@@ -1780,72 +1491,11 @@ module Google
1780
1491
  end
1781
1492
  end
1782
1493
 
1783
- # A rule to be applied in a Policy.
1784
- class Rule
1785
- include Google::Apis::Core::Hashable
1786
-
1787
- # Required
1788
- # Corresponds to the JSON property `action`
1789
- # @return [String]
1790
- attr_accessor :action
1791
-
1792
- # Additional restrictions that must be met. All conditions must pass for the
1793
- # rule to match.
1794
- # Corresponds to the JSON property `conditions`
1795
- # @return [Array<Google::Apis::DeploymentmanagerV2::Condition>]
1796
- attr_accessor :conditions
1797
-
1798
- # Human-readable description of the rule.
1799
- # Corresponds to the JSON property `description`
1800
- # @return [String]
1801
- attr_accessor :description
1802
-
1803
- # If one or more 'in' clauses are specified, the rule matches if the PRINCIPAL/
1804
- # AUTHORITY_SELECTOR is in at least one of these entries.
1805
- # Corresponds to the JSON property `ins`
1806
- # @return [Array<String>]
1807
- attr_accessor :ins
1808
-
1809
- # The config returned to callers of tech.iam.IAM.CheckPolicy for any entries
1810
- # that match the LOG action.
1811
- # Corresponds to the JSON property `logConfigs`
1812
- # @return [Array<Google::Apis::DeploymentmanagerV2::LogConfig>]
1813
- attr_accessor :log_configs
1814
-
1815
- # If one or more 'not_in' clauses are specified, the rule matches if the
1816
- # PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.
1817
- # Corresponds to the JSON property `notIns`
1818
- # @return [Array<String>]
1819
- attr_accessor :not_ins
1820
-
1821
- # A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value
1822
- # of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.
1823
- # *') matches all verbs.
1824
- # Corresponds to the JSON property `permissions`
1825
- # @return [Array<String>]
1826
- attr_accessor :permissions
1827
-
1828
- def initialize(**args)
1829
- update!(**args)
1830
- end
1831
-
1832
- # Update properties of this object
1833
- def update!(**args)
1834
- @action = args[:action] if args.key?(:action)
1835
- @conditions = args[:conditions] if args.key?(:conditions)
1836
- @description = args[:description] if args.key?(:description)
1837
- @ins = args[:ins] if args.key?(:ins)
1838
- @log_configs = args[:log_configs] if args.key?(:log_configs)
1839
- @not_ins = args[:not_ins] if args.key?(:not_ins)
1840
- @permissions = args[:permissions] if args.key?(:permissions)
1841
- end
1842
- end
1843
-
1844
1494
  #
1845
1495
  class TargetConfiguration
1846
1496
  include Google::Apis::Core::Hashable
1847
1497
 
1848
- #
1498
+ # The configuration to use for this deployment.
1849
1499
  # Corresponds to the JSON property `config`
1850
1500
  # @return [Google::Apis::DeploymentmanagerV2::ConfigFile]
1851
1501
  attr_accessor :config
@@ -1926,21 +1576,16 @@ module Google
1926
1576
  # @return [String]
1927
1577
  attr_accessor :name
1928
1578
 
1929
- # Represents an Operation resource.
1930
- # Google Compute Engine has three Operation resources:
1931
- # * [Global](/compute/docs/reference/rest/`$api_version`/globalOperations) * [
1932
- # Regional](/compute/docs/reference/rest/`$api_version`/regionOperations) * [
1933
- # Zonal](/compute/docs/reference/rest/`$api_version`/zoneOperations)
1934
- # You can use an operation resource to manage asynchronous API requests. For
1935
- # more information, read Handling API responses.
1936
- # Operations can be global, regional or zonal.
1937
- # - For global operations, use the `globalOperations` resource.
1938
- # - For regional operations, use the `regionOperations` resource.
1939
- # - For zonal operations, use the `zonalOperations` resource.
1940
- # For more information, read Global, Regional, and Zonal Resources. (==
1941
- # resource_for `$api_version`.globalOperations ==) (== resource_for `$
1942
- # api_version`.regionOperations ==) (== resource_for `$api_version`.
1943
- # zoneOperations ==)
1579
+ # Represents an Operation resource. Google Compute Engine has three Operation
1580
+ # resources: * [Global](/compute/docs/reference/rest/`$api_version`/
1581
+ # globalOperations) * [Regional](/compute/docs/reference/rest/`$api_version`/
1582
+ # regionOperations) * [Zonal](/compute/docs/reference/rest/`$api_version`/
1583
+ # zoneOperations) You can use an operation resource to manage asynchronous API
1584
+ # requests. For more information, read Handling API responses. Operations can be
1585
+ # global, regional or zonal. - For global operations, use the `globalOperations`
1586
+ # resource. - For regional operations, use the `regionOperations` resource. -
1587
+ # For zonal operations, use the `zonalOperations` resource. For more information,
1588
+ # read Global, Regional, and Zonal Resources.
1944
1589
  # Corresponds to the JSON property `operation`
1945
1590
  # @return [Google::Apis::DeploymentmanagerV2::Operation]
1946
1591
  attr_accessor :operation