google-api-python-client 2.166.0__py2.py3-none-any.whl → 2.167.0__py2.py3-none-any.whl

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 (163) hide show
  1. {google_api_python_client-2.166.0.dist-info → google_api_python_client-2.167.0.dist-info}/METADATA +3 -2
  2. {google_api_python_client-2.166.0.dist-info → google_api_python_client-2.167.0.dist-info}/RECORD +163 -161
  3. googleapiclient/discovery_cache/documents/addressvalidation.v1.json +3 -3
  4. googleapiclient/discovery_cache/documents/admin.directory_v1.json +5 -5
  5. googleapiclient/discovery_cache/documents/admin.directoryv1.json +5 -5
  6. googleapiclient/discovery_cache/documents/admin.reports_v1.json +263 -4
  7. googleapiclient/discovery_cache/documents/admin.reportsv1.json +263 -4
  8. googleapiclient/discovery_cache/documents/aiplatform.v1.json +382 -10
  9. googleapiclient/discovery_cache/documents/aiplatform.v1beta1.json +1854 -10
  10. googleapiclient/discovery_cache/documents/alertcenter.v1beta1.json +7 -7
  11. googleapiclient/discovery_cache/documents/alloydb.v1.json +8 -2
  12. googleapiclient/discovery_cache/documents/alloydb.v1alpha.json +8 -2
  13. googleapiclient/discovery_cache/documents/alloydb.v1beta.json +8 -2
  14. googleapiclient/discovery_cache/documents/analyticsadmin.v1alpha.json +279 -3
  15. googleapiclient/discovery_cache/documents/analyticshub.v1.json +8 -1
  16. googleapiclient/discovery_cache/documents/androiddeviceprovisioning.v1.json +2 -2
  17. googleapiclient/discovery_cache/documents/androidenterprise.v1.json +5 -5
  18. googleapiclient/discovery_cache/documents/androidmanagement.v1.json +26 -2
  19. googleapiclient/discovery_cache/documents/apigee.v1.json +13 -13
  20. googleapiclient/discovery_cache/documents/areainsights.v1.json +4 -4
  21. googleapiclient/discovery_cache/documents/backupdr.v1.json +11 -3
  22. googleapiclient/discovery_cache/documents/beyondcorp.v1alpha.json +4 -108
  23. googleapiclient/discovery_cache/documents/bigquerydatatransfer.v1.json +7 -1
  24. googleapiclient/discovery_cache/documents/blockchainnodeengine.v1.json +7 -1
  25. googleapiclient/discovery_cache/documents/chat.v1.json +166 -3
  26. googleapiclient/discovery_cache/documents/chromepolicy.v1.json +36 -1
  27. googleapiclient/discovery_cache/documents/classroom.v1.json +106 -2
  28. googleapiclient/discovery_cache/documents/cloudbuild.v2.json +7 -1
  29. googleapiclient/discovery_cache/documents/cloudchannel.v1.json +4 -4
  30. googleapiclient/discovery_cache/documents/cloudfunctions.v1.json +7 -1
  31. googleapiclient/discovery_cache/documents/cloudfunctions.v2.json +7 -1
  32. googleapiclient/discovery_cache/documents/cloudfunctions.v2alpha.json +7 -1
  33. googleapiclient/discovery_cache/documents/cloudfunctions.v2beta.json +7 -1
  34. googleapiclient/discovery_cache/documents/connectors.v1.json +23 -1
  35. googleapiclient/discovery_cache/documents/connectors.v2.json +16 -1
  36. googleapiclient/discovery_cache/documents/contactcenteraiplatform.v1alpha1.json +7 -1
  37. googleapiclient/discovery_cache/documents/container.v1.json +15 -2
  38. googleapiclient/discovery_cache/documents/container.v1beta1.json +35 -2
  39. googleapiclient/discovery_cache/documents/dataform.v1beta1.json +7 -1
  40. googleapiclient/discovery_cache/documents/datalineage.v1.json +6 -1
  41. googleapiclient/discovery_cache/documents/datamigration.v1.json +53 -1
  42. googleapiclient/discovery_cache/documents/dataplex.v1.json +158 -7
  43. googleapiclient/discovery_cache/documents/datastream.v1.json +196 -1
  44. googleapiclient/discovery_cache/documents/datastream.v1alpha1.json +7 -1
  45. googleapiclient/discovery_cache/documents/deploymentmanager.alpha.json +5 -1
  46. googleapiclient/discovery_cache/documents/deploymentmanager.v2.json +23 -1
  47. googleapiclient/discovery_cache/documents/deploymentmanager.v2beta.json +5 -1
  48. googleapiclient/discovery_cache/documents/developerconnect.v1.json +603 -1
  49. googleapiclient/discovery_cache/documents/dialogflow.v2.json +258 -1
  50. googleapiclient/discovery_cache/documents/dialogflow.v2beta1.json +258 -1
  51. googleapiclient/discovery_cache/documents/dialogflow.v3.json +251 -1
  52. googleapiclient/discovery_cache/documents/dialogflow.v3beta1.json +263 -1
  53. googleapiclient/discovery_cache/documents/discoveryengine.v1.json +113 -4
  54. googleapiclient/discovery_cache/documents/discoveryengine.v1alpha.json +69 -5
  55. googleapiclient/discovery_cache/documents/discoveryengine.v1beta.json +109 -4
  56. googleapiclient/discovery_cache/documents/dlp.v2.json +2 -2
  57. googleapiclient/discovery_cache/documents/docs.v1.json +6 -2
  58. googleapiclient/discovery_cache/documents/drive.v2.json +8 -8
  59. googleapiclient/discovery_cache/documents/drive.v3.json +21 -21
  60. googleapiclient/discovery_cache/documents/driveactivity.v2.json +7 -7
  61. googleapiclient/discovery_cache/documents/drivelabels.v2.json +2 -2
  62. googleapiclient/discovery_cache/documents/drivelabels.v2beta.json +2 -2
  63. googleapiclient/discovery_cache/documents/file.v1.json +7 -1
  64. googleapiclient/discovery_cache/documents/file.v1beta1.json +39 -3
  65. googleapiclient/discovery_cache/documents/firebase.v1beta1.json +3 -2
  66. googleapiclient/discovery_cache/documents/firebasedataconnect.v1.json +1849 -0
  67. googleapiclient/discovery_cache/documents/firebasedataconnect.v1beta.json +7 -1
  68. googleapiclient/discovery_cache/documents/firebaseml.v2beta.json +99 -1
  69. googleapiclient/discovery_cache/documents/forms.v1.json +4 -4
  70. googleapiclient/discovery_cache/documents/games.v1.json +2 -2
  71. googleapiclient/discovery_cache/documents/gamesConfiguration.v1configuration.json +2 -2
  72. googleapiclient/discovery_cache/documents/gamesManagement.v1management.json +2 -2
  73. googleapiclient/discovery_cache/documents/gkehub.v1.json +7 -1
  74. googleapiclient/discovery_cache/documents/gkehub.v1alpha.json +7 -1
  75. googleapiclient/discovery_cache/documents/gkehub.v1beta.json +7 -1
  76. googleapiclient/discovery_cache/documents/gkehub.v1beta1.json +7 -1
  77. googleapiclient/discovery_cache/documents/gkehub.v2.json +7 -1
  78. googleapiclient/discovery_cache/documents/gkehub.v2alpha.json +7 -1
  79. googleapiclient/discovery_cache/documents/gkehub.v2beta.json +7 -1
  80. googleapiclient/discovery_cache/documents/gkeonprem.v1.json +15 -1
  81. googleapiclient/discovery_cache/documents/gmail.v1.json +8 -8
  82. googleapiclient/discovery_cache/documents/gmailpostmastertools.v1.json +2 -2
  83. googleapiclient/discovery_cache/documents/gmailpostmastertools.v1beta1.json +2 -2
  84. googleapiclient/discovery_cache/documents/healthcare.v1.json +7 -1
  85. googleapiclient/discovery_cache/documents/healthcare.v1beta1.json +7 -1
  86. googleapiclient/discovery_cache/documents/iam.v1.json +937 -18
  87. googleapiclient/discovery_cache/documents/ids.v1.json +7 -1
  88. googleapiclient/discovery_cache/documents/integrations.v1.json +40 -1
  89. googleapiclient/discovery_cache/documents/jobs.v3.json +8 -8
  90. googleapiclient/discovery_cache/documents/jobs.v3p1beta1.json +8 -8
  91. googleapiclient/discovery_cache/documents/jobs.v4.json +9 -9
  92. googleapiclient/discovery_cache/documents/keep.v1.json +2 -2
  93. googleapiclient/discovery_cache/documents/managedkafka.v1.json +7 -1
  94. googleapiclient/discovery_cache/documents/meet.v2.json +3 -3
  95. googleapiclient/discovery_cache/documents/merchantapi.accounts_v1beta.json +23 -7
  96. googleapiclient/discovery_cache/documents/merchantapi.lfp_v1beta.json +209 -1
  97. googleapiclient/discovery_cache/documents/merchantapi.products_v1beta.json +36 -12
  98. googleapiclient/discovery_cache/documents/metastore.v1.json +7 -1
  99. googleapiclient/discovery_cache/documents/metastore.v1alpha.json +7 -1
  100. googleapiclient/discovery_cache/documents/metastore.v1beta.json +7 -1
  101. googleapiclient/discovery_cache/documents/migrationcenter.v1.json +7 -1
  102. googleapiclient/discovery_cache/documents/migrationcenter.v1alpha1.json +7 -1
  103. googleapiclient/discovery_cache/documents/monitoring.v1.json +7 -3
  104. googleapiclient/discovery_cache/documents/monitoring.v3.json +8 -1
  105. googleapiclient/discovery_cache/documents/networkconnectivity.v1.json +12 -1
  106. googleapiclient/discovery_cache/documents/networkconnectivity.v1alpha1.json +8 -1
  107. googleapiclient/discovery_cache/documents/networkmanagement.v1.json +13 -13
  108. googleapiclient/discovery_cache/documents/networkmanagement.v1beta1.json +13 -13
  109. googleapiclient/discovery_cache/documents/networkservices.v1.json +5 -3
  110. googleapiclient/discovery_cache/documents/networkservices.v1beta1.json +33 -3
  111. googleapiclient/discovery_cache/documents/notebooks.v2.json +32 -1
  112. googleapiclient/discovery_cache/documents/observability.v1.json +8 -2
  113. googleapiclient/discovery_cache/documents/ondemandscanning.v1.json +4 -4
  114. googleapiclient/discovery_cache/documents/ondemandscanning.v1beta1.json +4 -4
  115. googleapiclient/discovery_cache/documents/oracledatabase.v1.json +93 -1
  116. googleapiclient/discovery_cache/documents/osconfig.v1.json +45 -1
  117. googleapiclient/discovery_cache/documents/osconfig.v1alpha.json +45 -1
  118. googleapiclient/discovery_cache/documents/osconfig.v1beta.json +45 -1
  119. googleapiclient/discovery_cache/documents/osconfig.v2.json +2318 -0
  120. googleapiclient/discovery_cache/documents/osconfig.v2beta.json +53 -9
  121. googleapiclient/discovery_cache/documents/parallelstore.v1.json +8 -2
  122. googleapiclient/discovery_cache/documents/parallelstore.v1beta.json +8 -2
  123. googleapiclient/discovery_cache/documents/paymentsresellersubscription.v1.json +91 -1
  124. googleapiclient/discovery_cache/documents/policysimulator.v1.json +1 -703
  125. googleapiclient/discovery_cache/documents/policysimulator.v1alpha.json +108 -1899
  126. googleapiclient/discovery_cache/documents/policysimulator.v1beta.json +104 -1895
  127. googleapiclient/discovery_cache/documents/rapidmigrationassessment.v1.json +7 -1
  128. googleapiclient/discovery_cache/documents/recommender.v1beta1.json +25 -1
  129. googleapiclient/discovery_cache/documents/redis.v1.json +16 -10
  130. googleapiclient/discovery_cache/documents/redis.v1beta1.json +16 -10
  131. googleapiclient/discovery_cache/documents/retail.v2.json +7 -7
  132. googleapiclient/discovery_cache/documents/retail.v2alpha.json +7 -7
  133. googleapiclient/discovery_cache/documents/retail.v2beta.json +7 -7
  134. googleapiclient/discovery_cache/documents/run.v1.json +9 -3
  135. googleapiclient/discovery_cache/documents/run.v2.json +12 -12
  136. googleapiclient/discovery_cache/documents/secretmanager.v1.json +17 -1
  137. googleapiclient/discovery_cache/documents/secretmanager.v1beta1.json +17 -1
  138. googleapiclient/discovery_cache/documents/secretmanager.v1beta2.json +17 -1
  139. googleapiclient/discovery_cache/documents/securitycenter.v1.json +185 -1
  140. googleapiclient/discovery_cache/documents/securitycenter.v1beta1.json +185 -1
  141. googleapiclient/discovery_cache/documents/securitycenter.v1beta2.json +186 -2
  142. googleapiclient/discovery_cache/documents/servicedirectory.v1.json +7 -1
  143. googleapiclient/discovery_cache/documents/servicedirectory.v1beta1.json +7 -1
  144. googleapiclient/discovery_cache/documents/sheets.v4.json +22 -22
  145. googleapiclient/discovery_cache/documents/slides.v1.json +7 -3
  146. googleapiclient/discovery_cache/documents/testing.v1.json +21 -1
  147. googleapiclient/discovery_cache/documents/texttospeech.v1.json +2 -2
  148. googleapiclient/discovery_cache/documents/texttospeech.v1beta1.json +2 -2
  149. googleapiclient/discovery_cache/documents/tpu.v1.json +7 -1
  150. googleapiclient/discovery_cache/documents/tpu.v1alpha1.json +7 -1
  151. googleapiclient/discovery_cache/documents/tpu.v2.json +7 -1
  152. googleapiclient/discovery_cache/documents/tpu.v2alpha1.json +46 -1
  153. googleapiclient/discovery_cache/documents/vault.v1.json +15 -16
  154. googleapiclient/discovery_cache/documents/verifiedaccess.v2.json +2 -2
  155. googleapiclient/discovery_cache/documents/vmmigration.v1.json +21 -1
  156. googleapiclient/discovery_cache/documents/vmmigration.v1alpha1.json +21 -1
  157. googleapiclient/discovery_cache/documents/workloadmanager.v1.json +8 -1
  158. googleapiclient/discovery_cache/documents/workstations.v1beta.json +17 -2
  159. googleapiclient/discovery_cache/documents/youtube.v3.json +20 -6
  160. googleapiclient/version.py +1 -1
  161. {google_api_python_client-2.166.0.dist-info → google_api_python_client-2.167.0.dist-info}/LICENSE +0 -0
  162. {google_api_python_client-2.166.0.dist-info → google_api_python_client-2.167.0.dist-info}/WHEEL +0 -0
  163. {google_api_python_client-2.166.0.dist-info → google_api_python_client-2.167.0.dist-info}/top_level.txt +0 -0
@@ -143,97 +143,6 @@
143
143
  }
144
144
  },
145
145
  "replays": {
146
- "methods": {
147
- "create": {
148
- "description": "Creates and starts a Replay using the given ReplayConfig.",
149
- "flatPath": "v1alpha/folders/{foldersId}/locations/{locationsId}/replays",
150
- "httpMethod": "POST",
151
- "id": "policysimulator.folders.locations.replays.create",
152
- "parameterOrder": [
153
- "parent"
154
- ],
155
- "parameters": {
156
- "parent": {
157
- "description": "Required. The parent resource where this Replay will be created. This resource must be a project, folder, or organization with a location. Example: `projects/my-example-project/locations/global`",
158
- "location": "path",
159
- "pattern": "^folders/[^/]+/locations/[^/]+$",
160
- "required": true,
161
- "type": "string"
162
- }
163
- },
164
- "path": "v1alpha/{+parent}/replays",
165
- "request": {
166
- "$ref": "GoogleCloudPolicysimulatorV1alphaReplay"
167
- },
168
- "response": {
169
- "$ref": "GoogleLongrunningOperation"
170
- },
171
- "scopes": [
172
- "https://www.googleapis.com/auth/cloud-platform"
173
- ]
174
- },
175
- "get": {
176
- "description": "Gets the specified Replay. Each `Replay` is available for at least 7 days.",
177
- "flatPath": "v1alpha/folders/{foldersId}/locations/{locationsId}/replays/{replaysId}",
178
- "httpMethod": "GET",
179
- "id": "policysimulator.folders.locations.replays.get",
180
- "parameterOrder": [
181
- "name"
182
- ],
183
- "parameters": {
184
- "name": {
185
- "description": "Required. The name of the Replay to retrieve, in the following format: `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}`, where `{resource-id}` is the ID of the project, folder, or organization that owns the `Replay`. Example: `projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36`",
186
- "location": "path",
187
- "pattern": "^folders/[^/]+/locations/[^/]+/replays/[^/]+$",
188
- "required": true,
189
- "type": "string"
190
- }
191
- },
192
- "path": "v1alpha/{+name}",
193
- "response": {
194
- "$ref": "GoogleCloudPolicysimulatorV1alphaReplay"
195
- },
196
- "scopes": [
197
- "https://www.googleapis.com/auth/cloud-platform"
198
- ]
199
- },
200
- "list": {
201
- "description": "Lists each Replay in a project, folder, or organization. Each `Replay` is available for at least 7 days.",
202
- "flatPath": "v1alpha/folders/{foldersId}/locations/{locationsId}/replays",
203
- "httpMethod": "GET",
204
- "id": "policysimulator.folders.locations.replays.list",
205
- "parameterOrder": [
206
- "parent"
207
- ],
208
- "parameters": {
209
- "pageSize": {
210
- "description": "The maximum number of Replay objects to return. Defaults to 50. The maximum value is 1000; values above 1000 are rounded down to 1000.",
211
- "format": "int32",
212
- "location": "query",
213
- "type": "integer"
214
- },
215
- "pageToken": {
216
- "description": "A page token, received from a previous Simulator.ListReplays call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to Simulator.ListReplays must match the call that provided the page token.",
217
- "location": "query",
218
- "type": "string"
219
- },
220
- "parent": {
221
- "description": "Required. The parent resource, in the following format: `{projects|folders|organizations}/{resource-id}/locations/global`, where `{resource-id}` is the ID of the project, folder, or organization that owns the Replay. Example: `projects/my-example-project/locations/global` Only `Replay` objects that are direct children of the provided parent are listed. In other words, `Replay` objects that are children of a project will not be included when the parent is a folder of that project.",
222
- "location": "path",
223
- "pattern": "^folders/[^/]+/locations/[^/]+$",
224
- "required": true,
225
- "type": "string"
226
- }
227
- },
228
- "path": "v1alpha/{+parent}/replays",
229
- "response": {
230
- "$ref": "GoogleCloudPolicysimulatorV1alphaListReplaysResponse"
231
- },
232
- "scopes": [
233
- "https://www.googleapis.com/auth/cloud-platform"
234
- ]
235
- }
236
- },
237
146
  "resources": {
238
147
  "operations": {
239
148
  "methods": {
@@ -304,46 +213,6 @@
304
213
  ]
305
214
  }
306
215
  }
307
- },
308
- "results": {
309
- "methods": {
310
- "list": {
311
- "description": "Lists the results of running a Replay.",
312
- "flatPath": "v1alpha/folders/{foldersId}/locations/{locationsId}/replays/{replaysId}/results",
313
- "httpMethod": "GET",
314
- "id": "policysimulator.folders.locations.replays.results.list",
315
- "parameterOrder": [
316
- "parent"
317
- ],
318
- "parameters": {
319
- "pageSize": {
320
- "description": "The maximum number of ReplayResult objects to return. Defaults to 5000. The maximum value is 5000; values above 5000 are rounded down to 5000.",
321
- "format": "int32",
322
- "location": "query",
323
- "type": "integer"
324
- },
325
- "pageToken": {
326
- "description": "A page token, received from a previous Simulator.ListReplayResults call. Provide this token to retrieve the next page of results. When paginating, all other parameters provided to [Simulator.ListReplayResults[] must match the call that provided the page token.",
327
- "location": "query",
328
- "type": "string"
329
- },
330
- "parent": {
331
- "description": "Required. The Replay whose results are listed, in the following format: `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}` Example: `projects/my-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36`",
332
- "location": "path",
333
- "pattern": "^folders/[^/]+/locations/[^/]+/replays/[^/]+$",
334
- "required": true,
335
- "type": "string"
336
- }
337
- },
338
- "path": "v1alpha/{+parent}/results",
339
- "response": {
340
- "$ref": "GoogleCloudPolicysimulatorV1alphaListReplayResultsResponse"
341
- },
342
- "scopes": [
343
- "https://www.googleapis.com/auth/cloud-platform"
344
- ]
345
- }
346
- }
347
216
  }
348
217
  }
349
218
  }
@@ -426,138 +295,129 @@
426
295
  "locations": {
427
296
  "resources": {
428
297
  "orgPolicyViolationsPreviews": {
298
+ "resources": {
299
+ "operations": {
429
300
  "methods": {
430
- "create": {
431
- "description": "CreateOrgPolicyViolationsPreview creates an OrgPolicyViolationsPreview for the proposed changes in the provided OrgPolicyViolationsPreview.OrgPolicyOverlay. The changes to OrgPolicy are specified by this `OrgPolicyOverlay`. The resources to scan are inferred from these specified changes.",
432
- "flatPath": "v1alpha/organizations/{organizationsId}/locations/{locationsId}/orgPolicyViolationsPreviews",
433
- "httpMethod": "POST",
434
- "id": "policysimulator.organizations.locations.orgPolicyViolationsPreviews.create",
301
+ "get": {
302
+ "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
303
+ "flatPath": "v1alpha/organizations/{organizationsId}/locations/{locationsId}/orgPolicyViolationsPreviews/{orgPolicyViolationsPreviewsId}/operations/{operationsId}",
304
+ "httpMethod": "GET",
305
+ "id": "policysimulator.organizations.locations.orgPolicyViolationsPreviews.operations.get",
435
306
  "parameterOrder": [
436
- "parent"
307
+ "name"
437
308
  ],
438
309
  "parameters": {
439
- "orgPolicyViolationsPreviewId": {
440
- "description": "Optional. An optional user-specified ID for the OrgPolicyViolationsPreview. If not provided, a random ID will be generated.",
441
- "location": "query",
442
- "type": "string"
443
- },
444
- "parent": {
445
- "description": "Required. The organization under which this OrgPolicyViolationsPreview will be created. Example: `organizations/my-example-org/locations/global`",
310
+ "name": {
311
+ "description": "The name of the operation resource.",
446
312
  "location": "path",
447
- "pattern": "^organizations/[^/]+/locations/[^/]+$",
313
+ "pattern": "^organizations/[^/]+/locations/[^/]+/orgPolicyViolationsPreviews/[^/]+/operations/.*$",
448
314
  "required": true,
449
315
  "type": "string"
450
316
  }
451
317
  },
452
- "path": "v1alpha/{+parent}/orgPolicyViolationsPreviews",
453
- "request": {
454
- "$ref": "GoogleCloudPolicysimulatorV1alphaOrgPolicyViolationsPreview"
455
- },
318
+ "path": "v1alpha/{+name}",
456
319
  "response": {
457
320
  "$ref": "GoogleLongrunningOperation"
458
321
  },
459
322
  "scopes": [
460
323
  "https://www.googleapis.com/auth/cloud-platform"
461
324
  ]
462
- },
463
- "generate": {
464
- "description": "GenerateOrgPolicyViolationsPreview generates an OrgPolicyViolationsPreview for the proposed changes in the provided OrgPolicyViolationsPreview.OrgPolicyOverlay. The changes to OrgPolicy are specified by this `OrgPolicyOverlay`. The resources to scan are inferred from these specified changes.",
465
- "flatPath": "v1alpha/organizations/{organizationsId}/locations/{locationsId}/orgPolicyViolationsPreviews:generate",
466
- "httpMethod": "POST",
467
- "id": "policysimulator.organizations.locations.orgPolicyViolationsPreviews.generate",
468
- "parameterOrder": [
469
- "parent"
470
- ],
471
- "parameters": {
472
- "parent": {
473
- "description": "Required. The organization under which this OrgPolicyViolationsPreview will be created. Example: `organizations/my-example-org/locations/global`",
474
- "location": "path",
475
- "pattern": "^organizations/[^/]+/locations/[^/]+$",
476
- "required": true,
477
- "type": "string"
325
+ }
326
+ }
327
+ }
478
328
  }
479
329
  },
480
- "path": "v1alpha/{+parent}/orgPolicyViolationsPreviews:generate",
481
- "request": {
482
- "$ref": "GoogleCloudPolicysimulatorV1alphaOrgPolicyViolationsPreview"
483
- },
484
- "response": {
485
- "$ref": "GoogleLongrunningOperation"
486
- },
487
- "scopes": [
488
- "https://www.googleapis.com/auth/cloud-platform"
489
- ]
490
- },
330
+ "replays": {
331
+ "resources": {
332
+ "operations": {
333
+ "methods": {
491
334
  "get": {
492
- "description": "GetOrgPolicyViolationsPreview gets the specified OrgPolicyViolationsPreview. Each OrgPolicyViolationsPreview is available for at least 7 days.",
493
- "flatPath": "v1alpha/organizations/{organizationsId}/locations/{locationsId}/orgPolicyViolationsPreviews/{orgPolicyViolationsPreviewsId}",
335
+ "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
336
+ "flatPath": "v1alpha/organizations/{organizationsId}/locations/{locationsId}/replays/{replaysId}/operations/{operationsId}",
494
337
  "httpMethod": "GET",
495
- "id": "policysimulator.organizations.locations.orgPolicyViolationsPreviews.get",
338
+ "id": "policysimulator.organizations.locations.replays.operations.get",
496
339
  "parameterOrder": [
497
340
  "name"
498
341
  ],
499
342
  "parameters": {
500
343
  "name": {
501
- "description": "Required. The name of the OrgPolicyViolationsPreview to get.",
344
+ "description": "The name of the operation resource.",
502
345
  "location": "path",
503
- "pattern": "^organizations/[^/]+/locations/[^/]+/orgPolicyViolationsPreviews/[^/]+$",
346
+ "pattern": "^organizations/[^/]+/locations/[^/]+/replays/[^/]+/operations/.*$",
504
347
  "required": true,
505
348
  "type": "string"
506
349
  }
507
350
  },
508
351
  "path": "v1alpha/{+name}",
509
352
  "response": {
510
- "$ref": "GoogleCloudPolicysimulatorV1alphaOrgPolicyViolationsPreview"
353
+ "$ref": "GoogleLongrunningOperation"
511
354
  },
512
355
  "scopes": [
513
356
  "https://www.googleapis.com/auth/cloud-platform"
514
357
  ]
515
358
  },
516
359
  "list": {
517
- "description": "ListOrgPolicyViolationsPreviews lists each OrgPolicyViolationsPreview in an organization. Each OrgPolicyViolationsPreview is available for at least 7 days.",
518
- "flatPath": "v1alpha/organizations/{organizationsId}/locations/{locationsId}/orgPolicyViolationsPreviews",
360
+ "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
361
+ "flatPath": "v1alpha/organizations/{organizationsId}/locations/{locationsId}/replays/{replaysId}/operations",
519
362
  "httpMethod": "GET",
520
- "id": "policysimulator.organizations.locations.orgPolicyViolationsPreviews.list",
363
+ "id": "policysimulator.organizations.locations.replays.operations.list",
521
364
  "parameterOrder": [
522
- "parent"
365
+ "name"
523
366
  ],
524
367
  "parameters": {
368
+ "filter": {
369
+ "description": "The standard list filter.",
370
+ "location": "query",
371
+ "type": "string"
372
+ },
373
+ "name": {
374
+ "description": "The name of the operation's parent resource.",
375
+ "location": "path",
376
+ "pattern": "^organizations/[^/]+/locations/[^/]+/replays/[^/]+/operations$",
377
+ "required": true,
378
+ "type": "string"
379
+ },
525
380
  "pageSize": {
526
- "description": "Optional. The maximum number of items to return. The service may return fewer than this value. If unspecified, at most 5 items will be returned. The maximum value is 10; values above 10 will be coerced to 10.",
381
+ "description": "The standard list page size.",
527
382
  "format": "int32",
528
383
  "location": "query",
529
384
  "type": "integer"
530
385
  },
531
386
  "pageToken": {
532
- "description": "Optional. A page token, received from a previous call. Provide this to retrieve the subsequent page. When paginating, all other parameters must match the call that provided the page token.",
387
+ "description": "The standard list page token.",
533
388
  "location": "query",
534
389
  "type": "string"
535
- },
536
- "parent": {
537
- "description": "Required. The parent the violations are scoped to. Format: `organizations/{organization}/locations/{location}` Example: `organizations/my-example-org/locations/global`",
538
- "location": "path",
539
- "pattern": "^organizations/[^/]+/locations/[^/]+$",
540
- "required": true,
541
- "type": "string"
542
390
  }
543
391
  },
544
- "path": "v1alpha/{+parent}/orgPolicyViolationsPreviews",
392
+ "path": "v1alpha/{+name}",
545
393
  "response": {
546
- "$ref": "GoogleCloudPolicysimulatorV1alphaListOrgPolicyViolationsPreviewsResponse"
394
+ "$ref": "GoogleLongrunningListOperationsResponse"
547
395
  },
548
396
  "scopes": [
549
397
  "https://www.googleapis.com/auth/cloud-platform"
550
398
  ]
551
399
  }
400
+ }
401
+ }
402
+ }
403
+ }
404
+ }
405
+ }
406
+ }
552
407
  },
408
+ "projects": {
409
+ "resources": {
410
+ "locations": {
411
+ "resources": {
412
+ "orgPolicyViolationsPreviews": {
553
413
  "resources": {
554
414
  "operations": {
555
415
  "methods": {
556
416
  "get": {
557
417
  "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
558
- "flatPath": "v1alpha/organizations/{organizationsId}/locations/{locationsId}/orgPolicyViolationsPreviews/{orgPolicyViolationsPreviewsId}/operations/{operationsId}",
418
+ "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/orgPolicyViolationsPreviews/{orgPolicyViolationsPreviewsId}/operations/{operationsId}",
559
419
  "httpMethod": "GET",
560
- "id": "policysimulator.organizations.locations.orgPolicyViolationsPreviews.operations.get",
420
+ "id": "policysimulator.projects.locations.orgPolicyViolationsPreviews.operations.get",
561
421
  "parameterOrder": [
562
422
  "name"
563
423
  ],
@@ -565,7 +425,7 @@
565
425
  "name": {
566
426
  "description": "The name of the operation resource.",
567
427
  "location": "path",
568
- "pattern": "^organizations/[^/]+/locations/[^/]+/orgPolicyViolationsPreviews/[^/]+/operations/.*$",
428
+ "pattern": "^projects/[^/]+/locations/[^/]+/orgPolicyViolationsPreviews/[^/]+/operations/.*$",
569
429
  "required": true,
570
430
  "type": "string"
571
431
  }
@@ -579,72 +439,31 @@
579
439
  ]
580
440
  }
581
441
  }
582
- },
583
- "orgPolicyViolations": {
584
- "methods": {
585
- "list": {
586
- "description": "ListOrgPolicyViolations lists the OrgPolicyViolations that are present in an OrgPolicyViolationsPreview.",
587
- "flatPath": "v1alpha/organizations/{organizationsId}/locations/{locationsId}/orgPolicyViolationsPreviews/{orgPolicyViolationsPreviewsId}/orgPolicyViolations",
588
- "httpMethod": "GET",
589
- "id": "policysimulator.organizations.locations.orgPolicyViolationsPreviews.orgPolicyViolations.list",
590
- "parameterOrder": [
591
- "parent"
592
- ],
593
- "parameters": {
594
- "pageSize": {
595
- "description": "Optional. The maximum number of items to return. The service may return fewer than this value. If unspecified, at most 50 items will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.",
596
- "format": "int32",
597
- "location": "query",
598
- "type": "integer"
599
- },
600
- "pageToken": {
601
- "description": "Optional. A page token, received from a previous call. Provide this to retrieve the subsequent page. When paginating, all other parameters must match the call that provided the page token.",
602
- "location": "query",
603
- "type": "string"
604
- },
605
- "parent": {
606
- "description": "Required. The OrgPolicyViolationsPreview to get OrgPolicyViolations from. Format: organizations/{organization}/locations/{location}/orgPolicyViolationsPreviews/{orgPolicyViolationsPreview}",
607
- "location": "path",
608
- "pattern": "^organizations/[^/]+/locations/[^/]+/orgPolicyViolationsPreviews/[^/]+$",
609
- "required": true,
610
- "type": "string"
611
- }
612
- },
613
- "path": "v1alpha/{+parent}/orgPolicyViolations",
614
- "response": {
615
- "$ref": "GoogleCloudPolicysimulatorV1alphaListOrgPolicyViolationsResponse"
616
- },
617
- "scopes": [
618
- "https://www.googleapis.com/auth/cloud-platform"
619
- ]
620
- }
621
- }
622
442
  }
623
443
  }
624
444
  },
625
445
  "replays": {
446
+ "resources": {
447
+ "operations": {
626
448
  "methods": {
627
- "create": {
628
- "description": "Creates and starts a Replay using the given ReplayConfig.",
629
- "flatPath": "v1alpha/organizations/{organizationsId}/locations/{locationsId}/replays",
630
- "httpMethod": "POST",
631
- "id": "policysimulator.organizations.locations.replays.create",
449
+ "get": {
450
+ "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
451
+ "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/replays/{replaysId}/operations/{operationsId}",
452
+ "httpMethod": "GET",
453
+ "id": "policysimulator.projects.locations.replays.operations.get",
632
454
  "parameterOrder": [
633
- "parent"
455
+ "name"
634
456
  ],
635
457
  "parameters": {
636
- "parent": {
637
- "description": "Required. The parent resource where this Replay will be created. This resource must be a project, folder, or organization with a location. Example: `projects/my-example-project/locations/global`",
458
+ "name": {
459
+ "description": "The name of the operation resource.",
638
460
  "location": "path",
639
- "pattern": "^organizations/[^/]+/locations/[^/]+$",
461
+ "pattern": "^projects/[^/]+/locations/[^/]+/replays/[^/]+/operations/.*$",
640
462
  "required": true,
641
463
  "type": "string"
642
464
  }
643
465
  },
644
- "path": "v1alpha/{+parent}/replays",
645
- "request": {
646
- "$ref": "GoogleCloudPolicysimulatorV1alphaReplay"
647
- },
466
+ "path": "v1alpha/{+name}",
648
467
  "response": {
649
468
  "$ref": "GoogleLongrunningOperation"
650
469
  },
@@ -652,1374 +471,65 @@
652
471
  "https://www.googleapis.com/auth/cloud-platform"
653
472
  ]
654
473
  },
655
- "get": {
656
- "description": "Gets the specified Replay. Each `Replay` is available for at least 7 days.",
657
- "flatPath": "v1alpha/organizations/{organizationsId}/locations/{locationsId}/replays/{replaysId}",
474
+ "list": {
475
+ "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
476
+ "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/replays/{replaysId}/operations",
658
477
  "httpMethod": "GET",
659
- "id": "policysimulator.organizations.locations.replays.get",
478
+ "id": "policysimulator.projects.locations.replays.operations.list",
660
479
  "parameterOrder": [
661
480
  "name"
662
481
  ],
663
482
  "parameters": {
483
+ "filter": {
484
+ "description": "The standard list filter.",
485
+ "location": "query",
486
+ "type": "string"
487
+ },
664
488
  "name": {
665
- "description": "Required. The name of the Replay to retrieve, in the following format: `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}`, where `{resource-id}` is the ID of the project, folder, or organization that owns the `Replay`. Example: `projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36`",
489
+ "description": "The name of the operation's parent resource.",
666
490
  "location": "path",
667
- "pattern": "^organizations/[^/]+/locations/[^/]+/replays/[^/]+$",
491
+ "pattern": "^projects/[^/]+/locations/[^/]+/replays/[^/]+/operations$",
668
492
  "required": true,
669
493
  "type": "string"
670
- }
671
- },
672
- "path": "v1alpha/{+name}",
673
- "response": {
674
- "$ref": "GoogleCloudPolicysimulatorV1alphaReplay"
675
- },
676
- "scopes": [
677
- "https://www.googleapis.com/auth/cloud-platform"
678
- ]
679
494
  },
680
- "list": {
681
- "description": "Lists each Replay in a project, folder, or organization. Each `Replay` is available for at least 7 days.",
682
- "flatPath": "v1alpha/organizations/{organizationsId}/locations/{locationsId}/replays",
683
- "httpMethod": "GET",
684
- "id": "policysimulator.organizations.locations.replays.list",
685
- "parameterOrder": [
686
- "parent"
687
- ],
688
- "parameters": {
689
495
  "pageSize": {
690
- "description": "The maximum number of Replay objects to return. Defaults to 50. The maximum value is 1000; values above 1000 are rounded down to 1000.",
496
+ "description": "The standard list page size.",
691
497
  "format": "int32",
692
498
  "location": "query",
693
499
  "type": "integer"
694
500
  },
695
501
  "pageToken": {
696
- "description": "A page token, received from a previous Simulator.ListReplays call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to Simulator.ListReplays must match the call that provided the page token.",
502
+ "description": "The standard list page token.",
697
503
  "location": "query",
698
504
  "type": "string"
699
- },
700
- "parent": {
701
- "description": "Required. The parent resource, in the following format: `{projects|folders|organizations}/{resource-id}/locations/global`, where `{resource-id}` is the ID of the project, folder, or organization that owns the Replay. Example: `projects/my-example-project/locations/global` Only `Replay` objects that are direct children of the provided parent are listed. In other words, `Replay` objects that are children of a project will not be included when the parent is a folder of that project.",
702
- "location": "path",
703
- "pattern": "^organizations/[^/]+/locations/[^/]+$",
704
- "required": true,
705
- "type": "string"
706
505
  }
707
506
  },
708
- "path": "v1alpha/{+parent}/replays",
507
+ "path": "v1alpha/{+name}",
709
508
  "response": {
710
- "$ref": "GoogleCloudPolicysimulatorV1alphaListReplaysResponse"
509
+ "$ref": "GoogleLongrunningListOperationsResponse"
711
510
  },
712
511
  "scopes": [
713
512
  "https://www.googleapis.com/auth/cloud-platform"
714
513
  ]
715
514
  }
716
- },
717
- "resources": {
718
- "operations": {
719
- "methods": {
720
- "get": {
721
- "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
722
- "flatPath": "v1alpha/organizations/{organizationsId}/locations/{locationsId}/replays/{replaysId}/operations/{operationsId}",
723
- "httpMethod": "GET",
724
- "id": "policysimulator.organizations.locations.replays.operations.get",
725
- "parameterOrder": [
726
- "name"
727
- ],
728
- "parameters": {
729
- "name": {
730
- "description": "The name of the operation resource.",
731
- "location": "path",
732
- "pattern": "^organizations/[^/]+/locations/[^/]+/replays/[^/]+/operations/.*$",
733
- "required": true,
734
- "type": "string"
735
- }
736
- },
737
- "path": "v1alpha/{+name}",
738
- "response": {
739
- "$ref": "GoogleLongrunningOperation"
740
- },
741
- "scopes": [
742
- "https://www.googleapis.com/auth/cloud-platform"
743
- ]
744
- },
745
- "list": {
746
- "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
747
- "flatPath": "v1alpha/organizations/{organizationsId}/locations/{locationsId}/replays/{replaysId}/operations",
748
- "httpMethod": "GET",
749
- "id": "policysimulator.organizations.locations.replays.operations.list",
750
- "parameterOrder": [
751
- "name"
752
- ],
753
- "parameters": {
754
- "filter": {
755
- "description": "The standard list filter.",
756
- "location": "query",
757
- "type": "string"
758
- },
759
- "name": {
760
- "description": "The name of the operation's parent resource.",
761
- "location": "path",
762
- "pattern": "^organizations/[^/]+/locations/[^/]+/replays/[^/]+/operations$",
763
- "required": true,
764
- "type": "string"
765
- },
766
- "pageSize": {
767
- "description": "The standard list page size.",
768
- "format": "int32",
769
- "location": "query",
770
- "type": "integer"
771
- },
772
- "pageToken": {
773
- "description": "The standard list page token.",
774
- "location": "query",
775
- "type": "string"
776
- }
777
- },
778
- "path": "v1alpha/{+name}",
779
- "response": {
780
- "$ref": "GoogleLongrunningListOperationsResponse"
781
- },
782
- "scopes": [
783
- "https://www.googleapis.com/auth/cloud-platform"
784
- ]
785
- }
786
- }
787
- },
788
- "results": {
789
- "methods": {
790
- "list": {
791
- "description": "Lists the results of running a Replay.",
792
- "flatPath": "v1alpha/organizations/{organizationsId}/locations/{locationsId}/replays/{replaysId}/results",
793
- "httpMethod": "GET",
794
- "id": "policysimulator.organizations.locations.replays.results.list",
795
- "parameterOrder": [
796
- "parent"
797
- ],
798
- "parameters": {
799
- "pageSize": {
800
- "description": "The maximum number of ReplayResult objects to return. Defaults to 5000. The maximum value is 5000; values above 5000 are rounded down to 5000.",
801
- "format": "int32",
802
- "location": "query",
803
- "type": "integer"
804
- },
805
- "pageToken": {
806
- "description": "A page token, received from a previous Simulator.ListReplayResults call. Provide this token to retrieve the next page of results. When paginating, all other parameters provided to [Simulator.ListReplayResults[] must match the call that provided the page token.",
807
- "location": "query",
808
- "type": "string"
809
- },
810
- "parent": {
811
- "description": "Required. The Replay whose results are listed, in the following format: `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}` Example: `projects/my-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36`",
812
- "location": "path",
813
- "pattern": "^organizations/[^/]+/locations/[^/]+/replays/[^/]+$",
814
- "required": true,
815
- "type": "string"
816
- }
817
- },
818
- "path": "v1alpha/{+parent}/results",
819
- "response": {
820
- "$ref": "GoogleCloudPolicysimulatorV1alphaListReplayResultsResponse"
821
- },
822
- "scopes": [
823
- "https://www.googleapis.com/auth/cloud-platform"
824
- ]
825
- }
826
- }
827
- }
828
- }
829
- }
830
- }
831
- }
832
- }
833
- },
834
- "projects": {
835
- "resources": {
836
- "locations": {
837
- "resources": {
838
- "orgPolicyViolationsPreviews": {
839
- "resources": {
840
- "operations": {
841
- "methods": {
842
- "get": {
843
- "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
844
- "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/orgPolicyViolationsPreviews/{orgPolicyViolationsPreviewsId}/operations/{operationsId}",
845
- "httpMethod": "GET",
846
- "id": "policysimulator.projects.locations.orgPolicyViolationsPreviews.operations.get",
847
- "parameterOrder": [
848
- "name"
849
- ],
850
- "parameters": {
851
- "name": {
852
- "description": "The name of the operation resource.",
853
- "location": "path",
854
- "pattern": "^projects/[^/]+/locations/[^/]+/orgPolicyViolationsPreviews/[^/]+/operations/.*$",
855
- "required": true,
856
- "type": "string"
857
- }
858
- },
859
- "path": "v1alpha/{+name}",
860
- "response": {
861
- "$ref": "GoogleLongrunningOperation"
862
- },
863
- "scopes": [
864
- "https://www.googleapis.com/auth/cloud-platform"
865
- ]
866
- }
867
- }
868
- }
869
- }
870
- },
871
- "replays": {
872
- "methods": {
873
- "create": {
874
- "description": "Creates and starts a Replay using the given ReplayConfig.",
875
- "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/replays",
876
- "httpMethod": "POST",
877
- "id": "policysimulator.projects.locations.replays.create",
878
- "parameterOrder": [
879
- "parent"
880
- ],
881
- "parameters": {
882
- "parent": {
883
- "description": "Required. The parent resource where this Replay will be created. This resource must be a project, folder, or organization with a location. Example: `projects/my-example-project/locations/global`",
884
- "location": "path",
885
- "pattern": "^projects/[^/]+/locations/[^/]+$",
886
- "required": true,
887
- "type": "string"
888
- }
889
- },
890
- "path": "v1alpha/{+parent}/replays",
891
- "request": {
892
- "$ref": "GoogleCloudPolicysimulatorV1alphaReplay"
893
- },
894
- "response": {
895
- "$ref": "GoogleLongrunningOperation"
896
- },
897
- "scopes": [
898
- "https://www.googleapis.com/auth/cloud-platform"
899
- ]
900
- },
901
- "get": {
902
- "description": "Gets the specified Replay. Each `Replay` is available for at least 7 days.",
903
- "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/replays/{replaysId}",
904
- "httpMethod": "GET",
905
- "id": "policysimulator.projects.locations.replays.get",
906
- "parameterOrder": [
907
- "name"
908
- ],
909
- "parameters": {
910
- "name": {
911
- "description": "Required. The name of the Replay to retrieve, in the following format: `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}`, where `{resource-id}` is the ID of the project, folder, or organization that owns the `Replay`. Example: `projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36`",
912
- "location": "path",
913
- "pattern": "^projects/[^/]+/locations/[^/]+/replays/[^/]+$",
914
- "required": true,
915
- "type": "string"
916
- }
917
- },
918
- "path": "v1alpha/{+name}",
919
- "response": {
920
- "$ref": "GoogleCloudPolicysimulatorV1alphaReplay"
921
- },
922
- "scopes": [
923
- "https://www.googleapis.com/auth/cloud-platform"
924
- ]
925
- },
926
- "list": {
927
- "description": "Lists each Replay in a project, folder, or organization. Each `Replay` is available for at least 7 days.",
928
- "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/replays",
929
- "httpMethod": "GET",
930
- "id": "policysimulator.projects.locations.replays.list",
931
- "parameterOrder": [
932
- "parent"
933
- ],
934
- "parameters": {
935
- "pageSize": {
936
- "description": "The maximum number of Replay objects to return. Defaults to 50. The maximum value is 1000; values above 1000 are rounded down to 1000.",
937
- "format": "int32",
938
- "location": "query",
939
- "type": "integer"
940
- },
941
- "pageToken": {
942
- "description": "A page token, received from a previous Simulator.ListReplays call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to Simulator.ListReplays must match the call that provided the page token.",
943
- "location": "query",
944
- "type": "string"
945
- },
946
- "parent": {
947
- "description": "Required. The parent resource, in the following format: `{projects|folders|organizations}/{resource-id}/locations/global`, where `{resource-id}` is the ID of the project, folder, or organization that owns the Replay. Example: `projects/my-example-project/locations/global` Only `Replay` objects that are direct children of the provided parent are listed. In other words, `Replay` objects that are children of a project will not be included when the parent is a folder of that project.",
948
- "location": "path",
949
- "pattern": "^projects/[^/]+/locations/[^/]+$",
950
- "required": true,
951
- "type": "string"
952
- }
953
- },
954
- "path": "v1alpha/{+parent}/replays",
955
- "response": {
956
- "$ref": "GoogleCloudPolicysimulatorV1alphaListReplaysResponse"
957
- },
958
- "scopes": [
959
- "https://www.googleapis.com/auth/cloud-platform"
960
- ]
961
- }
962
- },
963
- "resources": {
964
- "operations": {
965
- "methods": {
966
- "get": {
967
- "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
968
- "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/replays/{replaysId}/operations/{operationsId}",
969
- "httpMethod": "GET",
970
- "id": "policysimulator.projects.locations.replays.operations.get",
971
- "parameterOrder": [
972
- "name"
973
- ],
974
- "parameters": {
975
- "name": {
976
- "description": "The name of the operation resource.",
977
- "location": "path",
978
- "pattern": "^projects/[^/]+/locations/[^/]+/replays/[^/]+/operations/.*$",
979
- "required": true,
980
- "type": "string"
981
- }
982
- },
983
- "path": "v1alpha/{+name}",
984
- "response": {
985
- "$ref": "GoogleLongrunningOperation"
986
- },
987
- "scopes": [
988
- "https://www.googleapis.com/auth/cloud-platform"
989
- ]
990
- },
991
- "list": {
992
- "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
993
- "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/replays/{replaysId}/operations",
994
- "httpMethod": "GET",
995
- "id": "policysimulator.projects.locations.replays.operations.list",
996
- "parameterOrder": [
997
- "name"
998
- ],
999
- "parameters": {
1000
- "filter": {
1001
- "description": "The standard list filter.",
1002
- "location": "query",
1003
- "type": "string"
1004
- },
1005
- "name": {
1006
- "description": "The name of the operation's parent resource.",
1007
- "location": "path",
1008
- "pattern": "^projects/[^/]+/locations/[^/]+/replays/[^/]+/operations$",
1009
- "required": true,
1010
- "type": "string"
1011
- },
1012
- "pageSize": {
1013
- "description": "The standard list page size.",
1014
- "format": "int32",
1015
- "location": "query",
1016
- "type": "integer"
1017
- },
1018
- "pageToken": {
1019
- "description": "The standard list page token.",
1020
- "location": "query",
1021
- "type": "string"
1022
- }
1023
- },
1024
- "path": "v1alpha/{+name}",
1025
- "response": {
1026
- "$ref": "GoogleLongrunningListOperationsResponse"
1027
- },
1028
- "scopes": [
1029
- "https://www.googleapis.com/auth/cloud-platform"
1030
- ]
1031
- }
1032
- }
1033
- },
1034
- "results": {
1035
- "methods": {
1036
- "list": {
1037
- "description": "Lists the results of running a Replay.",
1038
- "flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/replays/{replaysId}/results",
1039
- "httpMethod": "GET",
1040
- "id": "policysimulator.projects.locations.replays.results.list",
1041
- "parameterOrder": [
1042
- "parent"
1043
- ],
1044
- "parameters": {
1045
- "pageSize": {
1046
- "description": "The maximum number of ReplayResult objects to return. Defaults to 5000. The maximum value is 5000; values above 5000 are rounded down to 5000.",
1047
- "format": "int32",
1048
- "location": "query",
1049
- "type": "integer"
1050
- },
1051
- "pageToken": {
1052
- "description": "A page token, received from a previous Simulator.ListReplayResults call. Provide this token to retrieve the next page of results. When paginating, all other parameters provided to [Simulator.ListReplayResults[] must match the call that provided the page token.",
1053
- "location": "query",
1054
- "type": "string"
1055
- },
1056
- "parent": {
1057
- "description": "Required. The Replay whose results are listed, in the following format: `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}` Example: `projects/my-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36`",
1058
- "location": "path",
1059
- "pattern": "^projects/[^/]+/locations/[^/]+/replays/[^/]+$",
1060
- "required": true,
1061
- "type": "string"
1062
- }
1063
- },
1064
- "path": "v1alpha/{+parent}/results",
1065
- "response": {
1066
- "$ref": "GoogleCloudPolicysimulatorV1alphaListReplayResultsResponse"
1067
- },
1068
- "scopes": [
1069
- "https://www.googleapis.com/auth/cloud-platform"
1070
- ]
1071
- }
1072
- }
1073
- }
1074
- }
1075
- }
1076
- }
1077
- }
1078
- }
1079
- }
1080
- },
1081
- "revision": "20250119",
1082
- "rootUrl": "https://policysimulator.googleapis.com/",
1083
- "schemas": {
1084
- "GoogleCloudOrgpolicyV2AlternatePolicySpec": {
1085
- "description": "Similar to PolicySpec but with an extra 'launch' field for launch reference. The PolicySpec here is specific for dry-run.",
1086
- "id": "GoogleCloudOrgpolicyV2AlternatePolicySpec",
1087
- "properties": {
1088
- "launch": {
1089
- "description": "Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy.",
1090
- "type": "string"
1091
- },
1092
- "spec": {
1093
- "$ref": "GoogleCloudOrgpolicyV2PolicySpec",
1094
- "description": "Specify constraint for configurations of Google Cloud resources."
1095
- }
1096
- },
1097
- "type": "object"
1098
- },
1099
- "GoogleCloudOrgpolicyV2CustomConstraint": {
1100
- "description": "A custom constraint defined by customers which can *only* be applied to the given resource types and organization. By creating a custom constraint, customers can apply policies of this custom constraint. *Creating a custom constraint itself does NOT apply any policy enforcement*.",
1101
- "id": "GoogleCloudOrgpolicyV2CustomConstraint",
1102
- "properties": {
1103
- "actionType": {
1104
- "description": "Allow or deny type.",
1105
- "enum": [
1106
- "ACTION_TYPE_UNSPECIFIED",
1107
- "ALLOW",
1108
- "DENY"
1109
- ],
1110
- "enumDescriptions": [
1111
- "This is only used for distinguishing unset values and should never be used. Results in an error.",
1112
- "Allowed action type.",
1113
- "Deny action type."
1114
- ],
1115
- "type": "string"
1116
- },
1117
- "condition": {
1118
- "description": "A Common Expression Language (CEL) condition which is used in the evaluation of the constraint. For example: `resource.instanceName.matches(\"[production|test]_.*_(\\d)+\")` or, `resource.management.auto_upgrade == true` The max length of the condition is 1000 characters.",
1119
- "type": "string"
1120
- },
1121
- "description": {
1122
- "description": "Detailed information about this custom policy constraint. The max length of the description is 2000 characters.",
1123
- "type": "string"
1124
- },
1125
- "displayName": {
1126
- "description": "One line display name for the UI. The max length of the display_name is 200 characters.",
1127
- "type": "string"
1128
- },
1129
- "methodTypes": {
1130
- "description": "All the operations being applied for this constraint.",
1131
- "items": {
1132
- "enum": [
1133
- "METHOD_TYPE_UNSPECIFIED",
1134
- "CREATE",
1135
- "UPDATE",
1136
- "DELETE",
1137
- "REMOVE_GRANT",
1138
- "GOVERN_TAGS"
1139
- ],
1140
- "enumDescriptions": [
1141
- "This is only used for distinguishing unset values and should never be used. Results in an error.",
1142
- "Constraint applied when creating the resource.",
1143
- "Constraint applied when updating the resource.",
1144
- "Constraint applied when deleting the resource. Not currently supported.",
1145
- "Constraint applied when removing an IAM grant.",
1146
- "Constraint applied when enforcing forced tagging."
1147
- ],
1148
- "type": "string"
1149
- },
1150
- "type": "array"
1151
- },
1152
- "name": {
1153
- "description": "Immutable. Name of the constraint. This is unique within the organization. Format of the name should be * `organizations/{organization_id}/customConstraints/{custom_constraint_id}` Example: `organizations/123/customConstraints/custom.createOnlyE2TypeVms` The max length is 70 characters and the minimum length is 1. Note that the prefix `organizations/{organization_id}/customConstraints/` is not counted.",
1154
- "type": "string"
1155
- },
1156
- "resourceTypes": {
1157
- "description": "Immutable. The resource instance type on which this policy applies. Format will be of the form : `/` Example: * `compute.googleapis.com/Instance`.",
1158
- "items": {
1159
- "type": "string"
1160
- },
1161
- "type": "array"
1162
- },
1163
- "updateTime": {
1164
- "description": "Output only. The last time this custom constraint was updated. This represents the last time that the `CreateCustomConstraint` or `UpdateCustomConstraint` methods were called.",
1165
- "format": "google-datetime",
1166
- "readOnly": true,
1167
- "type": "string"
1168
- }
1169
- },
1170
- "type": "object"
1171
- },
1172
- "GoogleCloudOrgpolicyV2Policy": {
1173
- "description": "Defines an organization policy which is used to specify constraints for configurations of Google Cloud resources.",
1174
- "id": "GoogleCloudOrgpolicyV2Policy",
1175
- "properties": {
1176
- "alternate": {
1177
- "$ref": "GoogleCloudOrgpolicyV2AlternatePolicySpec",
1178
- "deprecated": true,
1179
- "description": "Deprecated."
1180
- },
1181
- "dryRunSpec": {
1182
- "$ref": "GoogleCloudOrgpolicyV2PolicySpec",
1183
- "description": "Dry-run policy. Audit-only policy, can be used to monitor how the policy would have impacted the existing and future resources if it's enforced."
1184
- },
1185
- "etag": {
1186
- "description": "Optional. An opaque tag indicating the current state of the policy, used for concurrency control. This 'etag' is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.",
1187
- "type": "string"
1188
- },
1189
- "name": {
1190
- "description": "Immutable. The resource name of the policy. Must be one of the following forms, where `constraint_name` is the name of the constraint which this policy configures: * `projects/{project_number}/policies/{constraint_name}` * `folders/{folder_id}/policies/{constraint_name}` * `organizations/{organization_id}/policies/{constraint_name}` For example, `projects/123/policies/compute.disableSerialPortAccess`. Note: `projects/{project_id}/policies/{constraint_name}` is also an acceptable name for API requests, but responses will return the name using the equivalent project number.",
1191
- "type": "string"
1192
- },
1193
- "spec": {
1194
- "$ref": "GoogleCloudOrgpolicyV2PolicySpec",
1195
- "description": "Basic information about the organization policy."
1196
- }
1197
- },
1198
- "type": "object"
1199
- },
1200
- "GoogleCloudOrgpolicyV2PolicySpec": {
1201
- "description": "Defines a Google Cloud policy specification which is used to specify constraints for configurations of Google Cloud resources.",
1202
- "id": "GoogleCloudOrgpolicyV2PolicySpec",
1203
- "properties": {
1204
- "etag": {
1205
- "description": "An opaque tag indicating the current version of the policySpec, used for concurrency control. This field is ignored if used in a `CreatePolicy` request. When the policy is returned from either a `GetPolicy` or a `ListPolicies` request, this `etag` indicates the version of the current policySpec to use when executing a read-modify-write loop. When the policy is returned from a `GetEffectivePolicy` request, the `etag` will be unset.",
1206
- "type": "string"
1207
- },
1208
- "inheritFromParent": {
1209
- "description": "Determines the inheritance behavior for this policy. If `inherit_from_parent` is true, policy rules set higher up in the hierarchy (up to the closest root) are inherited and present in the effective policy. If it is false, then no rules are inherited, and this policy becomes the new root for evaluation. This field can be set only for policies which configure list constraints.",
1210
- "type": "boolean"
1211
- },
1212
- "reset": {
1213
- "description": "Ignores policies set above this resource and restores the `constraint_default` enforcement behavior of the specific constraint at this resource. This field can be set in policies for either list or boolean constraints. If set, `rules` must be empty and `inherit_from_parent` must be set to false.",
1214
- "type": "boolean"
1215
- },
1216
- "rules": {
1217
- "description": "In policies for boolean constraints, the following requirements apply: - There must be one and only one policy rule where condition is unset. - Boolean policy rules with conditions must set `enforced` to the opposite of the policy rule without a condition. - During policy evaluation, policy rules with conditions that are true for a target resource take precedence.",
1218
- "items": {
1219
- "$ref": "GoogleCloudOrgpolicyV2PolicySpecPolicyRule"
1220
- },
1221
- "type": "array"
1222
- },
1223
- "updateTime": {
1224
- "description": "Output only. The time stamp this was previously updated. This represents the last time a call to `CreatePolicy` or `UpdatePolicy` was made for that policy.",
1225
- "format": "google-datetime",
1226
- "readOnly": true,
1227
- "type": "string"
1228
- }
1229
- },
1230
- "type": "object"
1231
- },
1232
- "GoogleCloudOrgpolicyV2PolicySpecPolicyRule": {
1233
- "description": "A rule used to express this policy.",
1234
- "id": "GoogleCloudOrgpolicyV2PolicySpecPolicyRule",
1235
- "properties": {
1236
- "allowAll": {
1237
- "description": "Setting this to true means that all values are allowed. This field can be set only in policies for list constraints.",
1238
- "type": "boolean"
1239
- },
1240
- "condition": {
1241
- "$ref": "GoogleTypeExpr",
1242
- "description": "A condition which determines whether this rule is used in the evaluation of the policy. When set, the `expression` field in the `Expr' must include from 1 to 10 subexpressions, joined by the \"||\" or \"&&\" operators. Each subexpression must be of the form \"resource.matchTag('/tag_key_short_name, 'tag_value_short_name')\". or \"resource.matchTagId('tagKeys/key_id', 'tagValues/value_id')\". where key_name and value_name are the resource names for Label Keys and Values. These names are available from the Tag Manager Service. An example expression is: \"resource.matchTag('123456789/environment, 'prod')\". or \"resource.matchTagId('tagKeys/123', 'tagValues/456')\"."
1243
- },
1244
- "denyAll": {
1245
- "description": "Setting this to true means that all values are denied. This field can be set only in policies for list constraints.",
1246
- "type": "boolean"
1247
- },
1248
- "enforce": {
1249
- "description": "If `true`, then the policy is enforced. If `false`, then any configuration is acceptable. This field can be set only in policies for boolean constraints.",
1250
- "type": "boolean"
1251
- },
1252
- "parameters": {
1253
- "additionalProperties": {
1254
- "description": "Properties of the object.",
1255
- "type": "any"
1256
- },
1257
- "description": "Optional. Required for managed constraints if parameters are defined. Passes parameter values when policy enforcement is enabled. Ensure that parameter value types match those defined in the constraint definition. For example: { \"allowedLocations\" : [\"us-east1\", \"us-west1\"], \"allowAll\" : true }",
1258
- "type": "object"
1259
- },
1260
- "values": {
1261
- "$ref": "GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues",
1262
- "description": "List of values to be used for this policy rule. This field can be set only in policies for list constraints."
1263
- }
1264
- },
1265
- "type": "object"
1266
- },
1267
- "GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues": {
1268
- "description": "A message that holds specific allowed and denied values. This message can define specific values and subtrees of the Resource Manager resource hierarchy (`Organizations`, `Folders`, `Projects`) that are allowed or denied. This is achieved by using the `under:` and optional `is:` prefixes. The `under:` prefix is used to denote resource subtree values. The `is:` prefix is used to denote specific values, and is required only if the value contains a \":\". Values prefixed with \"is:\" are treated the same as values with no prefix. Ancestry subtrees must be in one of the following formats: - `projects/` (for example, `projects/tokyo-rain-123`) - `folders/` (for example, `folders/1234`) - `organizations/` (for example, `organizations/1234`) The `supports_under` field of the associated `Constraint` defines whether ancestry prefixes can be used.",
1269
- "id": "GoogleCloudOrgpolicyV2PolicySpecPolicyRuleStringValues",
1270
- "properties": {
1271
- "allowedValues": {
1272
- "description": "List of values allowed at this resource.",
1273
- "items": {
1274
- "type": "string"
1275
- },
1276
- "type": "array"
1277
- },
1278
- "deniedValues": {
1279
- "description": "List of values denied at this resource.",
1280
- "items": {
1281
- "type": "string"
1282
- },
1283
- "type": "array"
1284
- }
1285
- },
1286
- "type": "object"
1287
- },
1288
- "GoogleCloudPolicysimulatorV1Replay": {
1289
- "description": "A resource describing a `Replay`, or simulation.",
1290
- "id": "GoogleCloudPolicysimulatorV1Replay",
1291
- "properties": {
1292
- "config": {
1293
- "$ref": "GoogleCloudPolicysimulatorV1ReplayConfig",
1294
- "description": "Required. The configuration used for the `Replay`."
1295
- },
1296
- "name": {
1297
- "description": "Output only. The resource name of the `Replay`, which has the following format: `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}`, where `{resource-id}` is the ID of the project, folder, or organization that owns the Replay. Example: `projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36`",
1298
- "readOnly": true,
1299
- "type": "string"
1300
- },
1301
- "resultsSummary": {
1302
- "$ref": "GoogleCloudPolicysimulatorV1ReplayResultsSummary",
1303
- "description": "Output only. Summary statistics about the replayed log entries.",
1304
- "readOnly": true
1305
- },
1306
- "state": {
1307
- "description": "Output only. The current state of the `Replay`.",
1308
- "enum": [
1309
- "STATE_UNSPECIFIED",
1310
- "PENDING",
1311
- "RUNNING",
1312
- "SUCCEEDED",
1313
- "FAILED"
1314
- ],
1315
- "enumDescriptions": [
1316
- "Default value. This value is unused.",
1317
- "The `Replay` has not started yet.",
1318
- "The `Replay` is currently running.",
1319
- "The `Replay` has successfully completed.",
1320
- "The `Replay` has finished with an error."
1321
- ],
1322
- "readOnly": true,
1323
- "type": "string"
1324
- }
1325
- },
1326
- "type": "object"
1327
- },
1328
- "GoogleCloudPolicysimulatorV1ReplayConfig": {
1329
- "description": "The configuration used for a Replay.",
1330
- "id": "GoogleCloudPolicysimulatorV1ReplayConfig",
1331
- "properties": {
1332
- "logSource": {
1333
- "description": "The logs to use as input for the Replay.",
1334
- "enum": [
1335
- "LOG_SOURCE_UNSPECIFIED",
1336
- "RECENT_ACCESSES"
1337
- ],
1338
- "enumDescriptions": [
1339
- "An unspecified log source. If the log source is unspecified, the Replay defaults to using `RECENT_ACCESSES`.",
1340
- "All access logs from the last 90 days. These logs may not include logs from the most recent 7 days."
1341
- ],
1342
- "type": "string"
1343
- },
1344
- "policyOverlay": {
1345
- "additionalProperties": {
1346
- "$ref": "GoogleIamV1Policy"
1347
- },
1348
- "description": "A mapping of the resources that you want to simulate policies for and the policies that you want to simulate. Keys are the full resource names for the resources. For example, `//cloudresourcemanager.googleapis.com/projects/my-project`. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names. Values are Policy objects representing the policies that you want to simulate. Replays automatically take into account any IAM policies inherited through the resource hierarchy, and any policies set on descendant resources. You do not need to include these policies in the policy overlay.",
1349
- "type": "object"
1350
- }
1351
- },
1352
- "type": "object"
1353
- },
1354
- "GoogleCloudPolicysimulatorV1ReplayOperationMetadata": {
1355
- "description": "Metadata about a Replay operation.",
1356
- "id": "GoogleCloudPolicysimulatorV1ReplayOperationMetadata",
1357
- "properties": {
1358
- "startTime": {
1359
- "description": "Time when the request was received.",
1360
- "format": "google-datetime",
1361
- "type": "string"
1362
- }
1363
- },
1364
- "type": "object"
1365
- },
1366
- "GoogleCloudPolicysimulatorV1ReplayResultsSummary": {
1367
- "description": "Summary statistics about the replayed log entries.",
1368
- "id": "GoogleCloudPolicysimulatorV1ReplayResultsSummary",
1369
- "properties": {
1370
- "differenceCount": {
1371
- "description": "The number of replayed log entries with a difference between baseline and simulated policies.",
1372
- "format": "int32",
1373
- "type": "integer"
1374
- },
1375
- "errorCount": {
1376
- "description": "The number of log entries that could not be replayed.",
1377
- "format": "int32",
1378
- "type": "integer"
1379
- },
1380
- "logCount": {
1381
- "description": "The total number of log entries replayed.",
1382
- "format": "int32",
1383
- "type": "integer"
1384
- },
1385
- "newestDate": {
1386
- "$ref": "GoogleTypeDate",
1387
- "description": "The date of the newest log entry replayed."
1388
- },
1389
- "oldestDate": {
1390
- "$ref": "GoogleTypeDate",
1391
- "description": "The date of the oldest log entry replayed."
1392
- },
1393
- "unchangedCount": {
1394
- "description": "The number of replayed log entries with no difference between baseline and simulated policies.",
1395
- "format": "int32",
1396
- "type": "integer"
1397
- }
1398
- },
1399
- "type": "object"
1400
- },
1401
- "GoogleCloudPolicysimulatorV1alphaAccessStateDiff": {
1402
- "description": "A summary and comparison of the principal's access under the current (baseline) policies and the proposed (simulated) policies for a single access tuple.",
1403
- "id": "GoogleCloudPolicysimulatorV1alphaAccessStateDiff",
1404
- "properties": {
1405
- "accessChange": {
1406
- "description": "How the principal's access, specified in the AccessState field, changed between the current (baseline) policies and proposed (simulated) policies.",
1407
- "enum": [
1408
- "ACCESS_CHANGE_TYPE_UNSPECIFIED",
1409
- "NO_CHANGE",
1410
- "UNKNOWN_CHANGE",
1411
- "ACCESS_REVOKED",
1412
- "ACCESS_GAINED",
1413
- "ACCESS_MAYBE_REVOKED",
1414
- "ACCESS_MAYBE_GAINED"
1415
- ],
1416
- "enumDescriptions": [
1417
- "Default value. This value is unused.",
1418
- "The principal's access did not change. This includes the case where both baseline and simulated are UNKNOWN, but the unknown information is equivalent.",
1419
- "The principal's access under both the current policies and the proposed policies is `UNKNOWN`, but the unknown information differs between them.",
1420
- "The principal had access under the current policies (`GRANTED`), but will no longer have access after the proposed changes (`NOT_GRANTED`).",
1421
- "The principal did not have access under the current policies (`NOT_GRANTED`), but will have access after the proposed changes (`GRANTED`).",
1422
- "This result can occur for the following reasons: * The principal had access under the current policies (`GRANTED`), but their access after the proposed changes is `UNKNOWN`. * The principal's access under the current policies is `UNKNOWN`, but they will not have access after the proposed changes (`NOT_GRANTED`).",
1423
- "This result can occur for the following reasons: * The principal did not have access under the current policies (`NOT_GRANTED`), but their access after the proposed changes is `UNKNOWN`. * The principal's access under the current policies is `UNKNOWN`, but they will have access after the proposed changes (`GRANTED`)."
1424
- ],
1425
- "type": "string"
1426
- },
1427
- "baseline": {
1428
- "$ref": "GoogleCloudPolicysimulatorV1alphaExplainedAccess",
1429
- "description": "The results of evaluating the access tuple under the current (baseline) policies. If the AccessState couldn't be fully evaluated, this field explains why."
1430
- },
1431
- "simulated": {
1432
- "$ref": "GoogleCloudPolicysimulatorV1alphaExplainedAccess",
1433
- "description": "The results of evaluating the access tuple under the proposed (simulated) policies. If the AccessState couldn't be fully evaluated, this field explains why."
1434
- }
1435
- },
1436
- "type": "object"
1437
- },
1438
- "GoogleCloudPolicysimulatorV1alphaAccessTuple": {
1439
- "description": "Information about the principal, resource, and permission to check.",
1440
- "id": "GoogleCloudPolicysimulatorV1alphaAccessTuple",
1441
- "properties": {
1442
- "fullResourceName": {
1443
- "description": "Required. The full resource name that identifies the resource. For example, `//compute.googleapis.com/projects/my-project/zones/us-central1-a/instances/my-instance`. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names.",
1444
- "type": "string"
1445
- },
1446
- "permission": {
1447
- "description": "Required. The IAM permission to check for the specified principal and resource. For a complete list of IAM permissions, see https://cloud.google.com/iam/help/permissions/reference. For a complete list of predefined IAM roles and the permissions in each role, see https://cloud.google.com/iam/help/roles/reference.",
1448
- "type": "string"
1449
- },
1450
- "principal": {
1451
- "description": "Required. The principal whose access you want to check, in the form of the email address that represents that principal. For example, `alice@example.com` or `my-service-account@my-project.iam.gserviceaccount.com`. The principal must be a Google Account or a service account. Other types of principals are not supported.",
1452
- "type": "string"
1453
- }
1454
- },
1455
- "type": "object"
1456
- },
1457
- "GoogleCloudPolicysimulatorV1alphaBindingExplanation": {
1458
- "description": "Details about how a binding in a policy affects a principal's ability to use a permission.",
1459
- "id": "GoogleCloudPolicysimulatorV1alphaBindingExplanation",
1460
- "properties": {
1461
- "access": {
1462
- "description": "Required. Indicates whether _this binding_ provides the specified permission to the specified principal for the specified resource. This field does _not_ indicate whether the principal actually has the permission for the resource. There might be another binding that overrides this binding. To determine whether the principal actually has the permission, use the `access` field in the TroubleshootIamPolicyResponse.",
1463
- "enum": [
1464
- "ACCESS_STATE_UNSPECIFIED",
1465
- "GRANTED",
1466
- "NOT_GRANTED",
1467
- "UNKNOWN_CONDITIONAL",
1468
- "UNKNOWN_INFO_DENIED"
1469
- ],
1470
- "enumDescriptions": [
1471
- "Default value. This value is unused.",
1472
- "The principal has the permission.",
1473
- "The principal does not have the permission.",
1474
- "The principal has the permission only if a condition expression evaluates to `true`.",
1475
- "The user who created the Replay does not have access to all of the policies that Policy Simulator needs to evaluate."
1476
- ],
1477
- "type": "string"
1478
- },
1479
- "condition": {
1480
- "$ref": "GoogleTypeExpr",
1481
- "description": "A condition expression that prevents this binding from granting access unless the expression evaluates to `true`. To learn about IAM Conditions, see https://cloud.google.com/iam/docs/conditions-overview."
1482
- },
1483
- "memberships": {
1484
- "additionalProperties": {
1485
- "$ref": "GoogleCloudPolicysimulatorV1alphaBindingExplanationAnnotatedMembership"
1486
- },
1487
- "description": "Indicates whether each principal in the binding includes the principal specified in the request, either directly or indirectly. Each key identifies a principal in the binding, and each value indicates whether the principal in the binding includes the principal in the request. For example, suppose that a binding includes the following principals: * `user:alice@example.com` * `group:product-eng@example.com` The principal in the replayed access tuple is `user:bob@example.com`. This user is a principal of the group `group:product-eng@example.com`. For the first principal in the binding, the key is `user:alice@example.com`, and the `membership` field in the value is set to `MEMBERSHIP_NOT_INCLUDED`. For the second principal in the binding, the key is `group:product-eng@example.com`, and the `membership` field in the value is set to `MEMBERSHIP_INCLUDED`.",
1488
- "type": "object"
1489
- },
1490
- "relevance": {
1491
- "description": "The relevance of this binding to the overall determination for the entire policy.",
1492
- "enum": [
1493
- "HEURISTIC_RELEVANCE_UNSPECIFIED",
1494
- "NORMAL",
1495
- "HIGH"
1496
- ],
1497
- "enumDescriptions": [
1498
- "Default value. This value is unused.",
1499
- "The data point has a limited effect on the result. Changing the data point is unlikely to affect the overall determination.",
1500
- "The data point has a strong effect on the result. Changing the data point is likely to affect the overall determination."
1501
- ],
1502
- "type": "string"
1503
- },
1504
- "role": {
1505
- "description": "The role that this binding grants. For example, `roles/compute.serviceAgent`. For a complete list of predefined IAM roles, as well as the permissions in each role, see https://cloud.google.com/iam/help/roles/reference.",
1506
- "type": "string"
1507
- },
1508
- "rolePermission": {
1509
- "description": "Indicates whether the role granted by this binding contains the specified permission.",
1510
- "enum": [
1511
- "ROLE_PERMISSION_UNSPECIFIED",
1512
- "ROLE_PERMISSION_INCLUDED",
1513
- "ROLE_PERMISSION_NOT_INCLUDED",
1514
- "ROLE_PERMISSION_UNKNOWN_INFO_DENIED"
1515
- ],
1516
- "enumDescriptions": [
1517
- "Default value. This value is unused.",
1518
- "The permission is included in the role.",
1519
- "The permission is not included in the role.",
1520
- "The user who created the Replay is not allowed to access the binding."
1521
- ],
1522
- "type": "string"
1523
- },
1524
- "rolePermissionRelevance": {
1525
- "description": "The relevance of the permission's existence, or nonexistence, in the role to the overall determination for the entire policy.",
1526
- "enum": [
1527
- "HEURISTIC_RELEVANCE_UNSPECIFIED",
1528
- "NORMAL",
1529
- "HIGH"
1530
- ],
1531
- "enumDescriptions": [
1532
- "Default value. This value is unused.",
1533
- "The data point has a limited effect on the result. Changing the data point is unlikely to affect the overall determination.",
1534
- "The data point has a strong effect on the result. Changing the data point is likely to affect the overall determination."
1535
- ],
1536
- "type": "string"
1537
- }
1538
- },
1539
- "type": "object"
1540
- },
1541
- "GoogleCloudPolicysimulatorV1alphaBindingExplanationAnnotatedMembership": {
1542
- "description": "Details about whether the binding includes the principal.",
1543
- "id": "GoogleCloudPolicysimulatorV1alphaBindingExplanationAnnotatedMembership",
1544
- "properties": {
1545
- "membership": {
1546
- "description": "Indicates whether the binding includes the principal.",
1547
- "enum": [
1548
- "MEMBERSHIP_UNSPECIFIED",
1549
- "MEMBERSHIP_INCLUDED",
1550
- "MEMBERSHIP_NOT_INCLUDED",
1551
- "MEMBERSHIP_UNKNOWN_INFO_DENIED",
1552
- "MEMBERSHIP_UNKNOWN_UNSUPPORTED"
1553
- ],
1554
- "enumDescriptions": [
1555
- "Default value. This value is unused.",
1556
- "The binding includes the principal. The principal can be included directly or indirectly. For example: * A principal is included directly if that principal is listed in the binding. * A principal is included indirectly if that principal is in a Google group or Google Workspace domain that is listed in the binding.",
1557
- "The binding does not include the principal.",
1558
- "The user who created the Replay is not allowed to access the binding.",
1559
- "The principal is an unsupported type. Only Google Accounts and service accounts are supported."
1560
- ],
1561
- "type": "string"
1562
- },
1563
- "relevance": {
1564
- "description": "The relevance of the principal's status to the overall determination for the binding.",
1565
- "enum": [
1566
- "HEURISTIC_RELEVANCE_UNSPECIFIED",
1567
- "NORMAL",
1568
- "HIGH"
1569
- ],
1570
- "enumDescriptions": [
1571
- "Default value. This value is unused.",
1572
- "The data point has a limited effect on the result. Changing the data point is unlikely to affect the overall determination.",
1573
- "The data point has a strong effect on the result. Changing the data point is likely to affect the overall determination."
1574
- ],
1575
- "type": "string"
1576
- }
1577
- },
1578
- "type": "object"
1579
- },
1580
- "GoogleCloudPolicysimulatorV1alphaCreateOrgPolicyViolationsPreviewOperationMetadata": {
1581
- "description": "CreateOrgPolicyViolationsPreviewOperationMetadata is metadata about an OrgPolicyViolationsPreview generations operation.",
1582
- "id": "GoogleCloudPolicysimulatorV1alphaCreateOrgPolicyViolationsPreviewOperationMetadata",
1583
- "properties": {
1584
- "requestTime": {
1585
- "description": "Time when the request was received.",
1586
- "format": "google-datetime",
1587
- "type": "string"
1588
- },
1589
- "resourcesFound": {
1590
- "description": "Total number of resources that need scanning. Should equal resource_scanned + resources_pending",
1591
- "format": "int32",
1592
- "type": "integer"
1593
- },
1594
- "resourcesPending": {
1595
- "description": "Number of resources still to scan.",
1596
- "format": "int32",
1597
- "type": "integer"
1598
- },
1599
- "resourcesScanned": {
1600
- "description": "Number of resources already scanned.",
1601
- "format": "int32",
1602
- "type": "integer"
1603
- },
1604
- "startTime": {
1605
- "description": "Time when the request started processing, i.e., when the state was set to RUNNING.",
1606
- "format": "google-datetime",
1607
- "type": "string"
1608
- },
1609
- "state": {
1610
- "description": "Output only. The current state of the operation.",
1611
- "enum": [
1612
- "PREVIEW_STATE_UNSPECIFIED",
1613
- "PREVIEW_PENDING",
1614
- "PREVIEW_RUNNING",
1615
- "PREVIEW_SUCCEEDED",
1616
- "PREVIEW_FAILED"
1617
- ],
1618
- "enumDescriptions": [
1619
- "The state is unspecified.",
1620
- "The OrgPolicyViolationsPreview has not been created yet.",
1621
- "The OrgPolicyViolationsPreview is currently being created.",
1622
- "The OrgPolicyViolationsPreview creation finished successfully.",
1623
- "The OrgPolicyViolationsPreview creation failed with an error."
1624
- ],
1625
- "readOnly": true,
1626
- "type": "string"
1627
- }
1628
- },
1629
- "type": "object"
1630
- },
1631
- "GoogleCloudPolicysimulatorV1alphaExplainedAccess": {
1632
- "description": "Details about how a set of policies, listed in ExplainedPolicy, resulted in a certain AccessState when replaying an access tuple.",
1633
- "id": "GoogleCloudPolicysimulatorV1alphaExplainedAccess",
1634
- "properties": {
1635
- "accessState": {
1636
- "description": "Whether the principal in the access tuple has permission to access the resource in the access tuple under the given policies.",
1637
- "enum": [
1638
- "ACCESS_STATE_UNSPECIFIED",
1639
- "GRANTED",
1640
- "NOT_GRANTED",
1641
- "UNKNOWN_CONDITIONAL",
1642
- "UNKNOWN_INFO_DENIED"
1643
- ],
1644
- "enumDescriptions": [
1645
- "Default value. This value is unused.",
1646
- "The principal has the permission.",
1647
- "The principal does not have the permission.",
1648
- "The principal has the permission only if a condition expression evaluates to `true`.",
1649
- "The user who created the Replay does not have access to all of the policies that Policy Simulator needs to evaluate."
1650
- ],
1651
- "type": "string"
1652
- },
1653
- "errors": {
1654
- "description": "If the AccessState is `UNKNOWN`, this field contains a list of errors explaining why the result is `UNKNOWN`. If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is omitted.",
1655
- "items": {
1656
- "$ref": "GoogleRpcStatus"
1657
- },
1658
- "type": "array"
1659
- },
1660
- "policies": {
1661
- "description": "If the AccessState is `UNKNOWN`, this field contains the policies that led to that result. If the `AccessState` is `GRANTED` or `NOT_GRANTED`, this field is omitted.",
1662
- "items": {
1663
- "$ref": "GoogleCloudPolicysimulatorV1alphaExplainedPolicy"
1664
- },
1665
- "type": "array"
1666
- }
1667
- },
1668
- "type": "object"
1669
- },
1670
- "GoogleCloudPolicysimulatorV1alphaExplainedPolicy": {
1671
- "description": "Details about how a specific IAM Policy contributed to the access check.",
1672
- "id": "GoogleCloudPolicysimulatorV1alphaExplainedPolicy",
1673
- "properties": {
1674
- "access": {
1675
- "description": "Indicates whether _this policy_ provides the specified permission to the specified principal for the specified resource. This field does _not_ indicate whether the principal actually has the permission for the resource. There might be another policy that overrides this policy. To determine whether the principal actually has the permission, use the `access` field in the TroubleshootIamPolicyResponse.",
1676
- "enum": [
1677
- "ACCESS_STATE_UNSPECIFIED",
1678
- "GRANTED",
1679
- "NOT_GRANTED",
1680
- "UNKNOWN_CONDITIONAL",
1681
- "UNKNOWN_INFO_DENIED"
1682
- ],
1683
- "enumDescriptions": [
1684
- "Default value. This value is unused.",
1685
- "The principal has the permission.",
1686
- "The principal does not have the permission.",
1687
- "The principal has the permission only if a condition expression evaluates to `true`.",
1688
- "The user who created the Replay does not have access to all of the policies that Policy Simulator needs to evaluate."
1689
- ],
1690
- "type": "string"
1691
- },
1692
- "bindingExplanations": {
1693
- "description": "Details about how each binding in the policy affects the principal's ability, or inability, to use the permission for the resource. If the user who created the Replay does not have access to the policy, this field is omitted.",
1694
- "items": {
1695
- "$ref": "GoogleCloudPolicysimulatorV1alphaBindingExplanation"
1696
- },
1697
- "type": "array"
1698
- },
1699
- "fullResourceName": {
1700
- "description": "The full resource name that identifies the resource. For example, `//compute.googleapis.com/projects/my-project/zones/us-central1-a/instances/my-instance`. If the user who created the Replay does not have access to the policy, this field is omitted. For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names.",
1701
- "type": "string"
1702
- },
1703
- "policy": {
1704
- "$ref": "GoogleIamV1Policy",
1705
- "description": "The IAM policy attached to the resource. If the user who created the Replay does not have access to the policy, this field is empty."
1706
- },
1707
- "relevance": {
1708
- "description": "The relevance of this policy to the overall determination in the TroubleshootIamPolicyResponse. If the user who created the Replay does not have access to the policy, this field is omitted.",
1709
- "enum": [
1710
- "HEURISTIC_RELEVANCE_UNSPECIFIED",
1711
- "NORMAL",
1712
- "HIGH"
1713
- ],
1714
- "enumDescriptions": [
1715
- "Default value. This value is unused.",
1716
- "The data point has a limited effect on the result. Changing the data point is unlikely to affect the overall determination.",
1717
- "The data point has a strong effect on the result. Changing the data point is likely to affect the overall determination."
1718
- ],
1719
- "type": "string"
1720
- }
1721
- },
1722
- "type": "object"
1723
- },
1724
- "GoogleCloudPolicysimulatorV1alphaGenerateOrgPolicyViolationsPreviewOperationMetadata": {
1725
- "description": "GenerateOrgPolicyViolationsPreviewOperationMetadata is metadata about an OrgPolicyViolationsPreview generations operation.",
1726
- "id": "GoogleCloudPolicysimulatorV1alphaGenerateOrgPolicyViolationsPreviewOperationMetadata",
1727
- "properties": {
1728
- "requestTime": {
1729
- "description": "Time when the request was received.",
1730
- "format": "google-datetime",
1731
- "type": "string"
1732
- },
1733
- "resourcesFound": {
1734
- "description": "Total number of resources that need scanning. Should equal resource_scanned + resources_pending",
1735
- "format": "int32",
1736
- "type": "integer"
1737
- },
1738
- "resourcesPending": {
1739
- "description": "Number of resources still to scan.",
1740
- "format": "int32",
1741
- "type": "integer"
1742
- },
1743
- "resourcesScanned": {
1744
- "description": "Number of resources already scanned.",
1745
- "format": "int32",
1746
- "type": "integer"
1747
- },
1748
- "startTime": {
1749
- "description": "Time when the request started processing, i.e. when the state was set to RUNNING.",
1750
- "format": "google-datetime",
1751
- "type": "string"
1752
- },
1753
- "state": {
1754
- "description": "The current state of the operation.",
1755
- "enum": [
1756
- "PREVIEW_STATE_UNSPECIFIED",
1757
- "PREVIEW_PENDING",
1758
- "PREVIEW_RUNNING",
1759
- "PREVIEW_SUCCEEDED",
1760
- "PREVIEW_FAILED"
1761
- ],
1762
- "enumDescriptions": [
1763
- "The state is unspecified.",
1764
- "The OrgPolicyViolationsPreview has not been created yet.",
1765
- "The OrgPolicyViolationsPreview is currently being created.",
1766
- "The OrgPolicyViolationsPreview creation finished successfully.",
1767
- "The OrgPolicyViolationsPreview creation failed with an error."
1768
- ],
1769
- "type": "string"
1770
- }
1771
- },
1772
- "type": "object"
1773
- },
1774
- "GoogleCloudPolicysimulatorV1alphaListOrgPolicyViolationsPreviewsResponse": {
1775
- "description": "ListOrgPolicyViolationsPreviewsResponse is the response message for OrgPolicyViolationsPreviewService.ListOrgPolicyViolationsPreviews.",
1776
- "id": "GoogleCloudPolicysimulatorV1alphaListOrgPolicyViolationsPreviewsResponse",
1777
- "properties": {
1778
- "nextPageToken": {
1779
- "description": "A token that you can use to retrieve the next page of results. If this field is omitted, there are no subsequent pages.",
1780
- "type": "string"
1781
- },
1782
- "orgPolicyViolationsPreviews": {
1783
- "description": "The list of OrgPolicyViolationsPreview",
1784
- "items": {
1785
- "$ref": "GoogleCloudPolicysimulatorV1alphaOrgPolicyViolationsPreview"
1786
- },
1787
- "type": "array"
1788
- }
1789
- },
1790
- "type": "object"
1791
- },
1792
- "GoogleCloudPolicysimulatorV1alphaListOrgPolicyViolationsResponse": {
1793
- "description": "ListOrgPolicyViolationsResponse is the response message for OrgPolicyViolationsPreviewService.ListOrgPolicyViolations",
1794
- "id": "GoogleCloudPolicysimulatorV1alphaListOrgPolicyViolationsResponse",
1795
- "properties": {
1796
- "nextPageToken": {
1797
- "description": "A token that you can use to retrieve the next page of results. If this field is omitted, there are no subsequent pages.",
1798
- "type": "string"
1799
- },
1800
- "orgPolicyViolations": {
1801
- "description": "The list of OrgPolicyViolations",
1802
- "items": {
1803
- "$ref": "GoogleCloudPolicysimulatorV1alphaOrgPolicyViolation"
1804
- },
1805
- "type": "array"
1806
- }
1807
- },
1808
- "type": "object"
1809
- },
1810
- "GoogleCloudPolicysimulatorV1alphaListReplayResultsResponse": {
1811
- "description": "Response message for Simulator.ListReplayResults.",
1812
- "id": "GoogleCloudPolicysimulatorV1alphaListReplayResultsResponse",
1813
- "properties": {
1814
- "nextPageToken": {
1815
- "description": "A token that you can use to retrieve the next page of ReplayResult objects. If this field is omitted, there are no subsequent pages.",
1816
- "type": "string"
1817
- },
1818
- "replayResults": {
1819
- "description": "The results of running a Replay.",
1820
- "items": {
1821
- "$ref": "GoogleCloudPolicysimulatorV1alphaReplayResult"
1822
- },
1823
- "type": "array"
1824
- }
1825
- },
1826
- "type": "object"
1827
- },
1828
- "GoogleCloudPolicysimulatorV1alphaListReplaysResponse": {
1829
- "description": "Response message for Simulator.ListReplays.",
1830
- "id": "GoogleCloudPolicysimulatorV1alphaListReplaysResponse",
1831
- "properties": {
1832
- "nextPageToken": {
1833
- "description": "A token that you can use to retrieve the next page of results. If this field is omitted, there are no subsequent pages.",
1834
- "type": "string"
1835
- },
1836
- "replays": {
1837
- "description": "The list of Replay objects.",
1838
- "items": {
1839
- "$ref": "GoogleCloudPolicysimulatorV1alphaReplay"
1840
- },
1841
- "type": "array"
1842
- }
1843
- },
1844
- "type": "object"
1845
- },
1846
- "GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlay": {
1847
- "description": "The proposed changes to OrgPolicy.",
1848
- "id": "GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlay",
1849
- "properties": {
1850
- "customConstraints": {
1851
- "description": "Optional. The OrgPolicy CustomConstraint changes to preview violations for. Any existing CustomConstraints with the same name will be overridden in the simulation. That is, violations will be determined as if all custom constraints in the overlay were instantiated. Only a single custom_constraint is supported in the overlay at a time. For evaluating multiple constraints, multiple `GenerateOrgPolicyViolationsPreview` requests are made, where each request evaluates a single constraint.",
1852
- "items": {
1853
- "$ref": "GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlayCustomConstraintOverlay"
1854
- },
1855
- "type": "array"
1856
- },
1857
- "policies": {
1858
- "description": "Optional. The OrgPolicy changes to preview violations for. Any existing OrgPolicies with the same name will be overridden in the simulation. That is, violations will be determined as if all policies in the overlay were created or updated.",
1859
- "items": {
1860
- "$ref": "GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlayPolicyOverlay"
1861
- },
1862
- "type": "array"
1863
- }
1864
- },
1865
- "type": "object"
1866
- },
1867
- "GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlayCustomConstraintOverlay": {
1868
- "description": "A change to an OrgPolicy custom constraint.",
1869
- "id": "GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlayCustomConstraintOverlay",
1870
- "properties": {
1871
- "customConstraint": {
1872
- "$ref": "GoogleCloudOrgpolicyV2CustomConstraint",
1873
- "description": "Optional. The new or updated custom constraint."
1874
- },
1875
- "customConstraintParent": {
1876
- "description": "Optional. Resource the constraint is attached to. Example: \"organization/987654\"",
1877
- "type": "string"
1878
- }
1879
- },
1880
- "type": "object"
1881
- },
1882
- "GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlayPolicyOverlay": {
1883
- "description": "A change to an OrgPolicy.",
1884
- "id": "GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlayPolicyOverlay",
1885
- "properties": {
1886
- "policy": {
1887
- "$ref": "GoogleCloudOrgpolicyV2Policy",
1888
- "description": "Optional. The new or updated OrgPolicy."
1889
- },
1890
- "policyParent": {
1891
- "description": "Optional. The parent of the policy we are attaching to. Example: \"projects/123456\"",
1892
- "type": "string"
1893
515
  }
1894
- },
1895
- "type": "object"
1896
- },
1897
- "GoogleCloudPolicysimulatorV1alphaOrgPolicyViolation": {
1898
- "description": "OrgPolicyViolation is a resource representing a single resource violating a single OrgPolicy constraint.",
1899
- "id": "GoogleCloudPolicysimulatorV1alphaOrgPolicyViolation",
1900
- "properties": {
1901
- "customConstraint": {
1902
- "$ref": "GoogleCloudOrgpolicyV2CustomConstraint",
1903
- "description": "The custom constraint being violated."
1904
- },
1905
- "error": {
1906
- "$ref": "GoogleRpcStatus",
1907
- "description": "Any error encountered during the evaluation."
1908
- },
1909
- "name": {
1910
- "description": "The name of the `OrgPolicyViolation`. Example: organizations/my-example-org/locations/global/orgPolicyViolationsPreviews/506a5f7f/orgPolicyViolations/38ce`",
1911
- "type": "string"
1912
- },
1913
- "resource": {
1914
- "$ref": "GoogleCloudPolicysimulatorV1alphaResourceContext",
1915
- "description": "The resource violating the constraint."
1916
516
  }
1917
- },
1918
- "type": "object"
1919
- },
1920
- "GoogleCloudPolicysimulatorV1alphaOrgPolicyViolationsPreview": {
1921
- "description": "OrgPolicyViolationsPreview is a resource providing a preview of the violations that will exist if an OrgPolicy change is made. The list of violations are modeled as child resources and retrieved via a ListOrgPolicyViolations API call. There are potentially more OrgPolicyViolations than could fit in an embedded field. Thus, the use of a child resource instead of a field.",
1922
- "id": "GoogleCloudPolicysimulatorV1alphaOrgPolicyViolationsPreview",
1923
- "properties": {
1924
- "createTime": {
1925
- "description": "Output only. Time when this `OrgPolicyViolationsPreview` was created.",
1926
- "format": "google-datetime",
1927
- "readOnly": true,
1928
- "type": "string"
1929
- },
1930
- "customConstraints": {
1931
- "description": "Output only. The names of the constraints against which all `OrgPolicyViolations` were evaluated. If `OrgPolicyOverlay` only contains `PolicyOverlay` then it contains the name of the configured custom constraint, applicable to the specified policies. Otherwise it contains the name of the constraint specified in `CustomConstraintOverlay`. Format: `organizations/{organization_id}/customConstraints/{custom_constraint_id}` Example: `organizations/123/customConstraints/custom.createOnlyE2TypeVms`",
1932
- "items": {
1933
- "type": "string"
1934
- },
1935
- "readOnly": true,
1936
- "type": "array"
1937
- },
1938
- "name": {
1939
- "description": "Output only. The resource name of the `OrgPolicyViolationsPreview`. It has the following format: `organizations/{organization}/locations/{location}/orgPolicyViolationsPreviews/{orgPolicyViolationsPreview}` Example: `organizations/my-example-org/locations/global/orgPolicyViolationsPreviews/506a5f7f`",
1940
- "readOnly": true,
1941
- "type": "string"
1942
- },
1943
- "overlay": {
1944
- "$ref": "GoogleCloudPolicysimulatorV1alphaOrgPolicyOverlay",
1945
- "description": "Required. The proposed changes we are previewing violations for."
1946
- },
1947
- "resourceCounts": {
1948
- "$ref": "GoogleCloudPolicysimulatorV1alphaOrgPolicyViolationsPreviewResourceCounts",
1949
- "description": "Output only. A summary of the state of all resources scanned for compliance with the changed OrgPolicy.",
1950
- "readOnly": true
1951
- },
1952
- "state": {
1953
- "description": "Output only. The state of the `OrgPolicyViolationsPreview`.",
1954
- "enum": [
1955
- "PREVIEW_STATE_UNSPECIFIED",
1956
- "PREVIEW_PENDING",
1957
- "PREVIEW_RUNNING",
1958
- "PREVIEW_SUCCEEDED",
1959
- "PREVIEW_FAILED"
1960
- ],
1961
- "enumDescriptions": [
1962
- "The state is unspecified.",
1963
- "The OrgPolicyViolationsPreview has not been created yet.",
1964
- "The OrgPolicyViolationsPreview is currently being created.",
1965
- "The OrgPolicyViolationsPreview creation finished successfully.",
1966
- "The OrgPolicyViolationsPreview creation failed with an error."
1967
- ],
1968
- "readOnly": true,
1969
- "type": "string"
1970
- },
1971
- "violationsCount": {
1972
- "description": "Output only. The number of OrgPolicyViolations in this `OrgPolicyViolationsPreview`. This count may differ from `resource_summary.noncompliant_count` because each OrgPolicyViolation is specific to a resource **and** constraint. If there are multiple constraints being evaluated (i.e. multiple policies in the overlay), a single resource may violate multiple constraints.",
1973
- "format": "int32",
1974
- "readOnly": true,
1975
- "type": "integer"
1976
517
  }
1977
- },
1978
- "type": "object"
1979
- },
1980
- "GoogleCloudPolicysimulatorV1alphaOrgPolicyViolationsPreviewResourceCounts": {
1981
- "description": "A summary of the state of all resources scanned for compliance with the changed OrgPolicy.",
1982
- "id": "GoogleCloudPolicysimulatorV1alphaOrgPolicyViolationsPreviewResourceCounts",
1983
- "properties": {
1984
- "compliant": {
1985
- "description": "Output only. Number of scanned resources with zero violations.",
1986
- "format": "int32",
1987
- "readOnly": true,
1988
- "type": "integer"
1989
- },
1990
- "errors": {
1991
- "description": "Output only. Number of resources that returned an error when scanned.",
1992
- "format": "int32",
1993
- "readOnly": true,
1994
- "type": "integer"
1995
- },
1996
- "noncompliant": {
1997
- "description": "Output only. Number of scanned resources with at least one violation.",
1998
- "format": "int32",
1999
- "readOnly": true,
2000
- "type": "integer"
2001
- },
2002
- "scanned": {
2003
- "description": "Output only. Number of resources checked for compliance. Must equal: unenforced + noncompliant + compliant + error",
2004
- "format": "int32",
2005
- "readOnly": true,
2006
- "type": "integer"
2007
- },
2008
- "unenforced": {
2009
- "description": "Output only. Number of resources where the constraint was not enforced, i.e. the Policy set `enforced: false` for that resource.",
2010
- "format": "int32",
2011
- "readOnly": true,
2012
- "type": "integer"
518
+ }
519
+ }
520
+ }
521
+ }
2013
522
  }
2014
523
  },
2015
- "type": "object"
2016
- },
2017
- "GoogleCloudPolicysimulatorV1alphaReplay": {
524
+ "revision": "20250323",
525
+ "rootUrl": "https://policysimulator.googleapis.com/",
526
+ "schemas": {
527
+ "GoogleCloudPolicysimulatorV1Replay": {
2018
528
  "description": "A resource describing a `Replay`, or simulation.",
2019
- "id": "GoogleCloudPolicysimulatorV1alphaReplay",
529
+ "id": "GoogleCloudPolicysimulatorV1Replay",
2020
530
  "properties": {
2021
531
  "config": {
2022
- "$ref": "GoogleCloudPolicysimulatorV1alphaReplayConfig",
532
+ "$ref": "GoogleCloudPolicysimulatorV1ReplayConfig",
2023
533
  "description": "Required. The configuration used for the `Replay`."
2024
534
  },
2025
535
  "name": {
@@ -2028,7 +538,7 @@
2028
538
  "type": "string"
2029
539
  },
2030
540
  "resultsSummary": {
2031
- "$ref": "GoogleCloudPolicysimulatorV1alphaReplayResultsSummary",
541
+ "$ref": "GoogleCloudPolicysimulatorV1ReplayResultsSummary",
2032
542
  "description": "Output only. Summary statistics about the replayed log entries.",
2033
543
  "readOnly": true
2034
544
  },
@@ -2054,9 +564,9 @@
2054
564
  },
2055
565
  "type": "object"
2056
566
  },
2057
- "GoogleCloudPolicysimulatorV1alphaReplayConfig": {
567
+ "GoogleCloudPolicysimulatorV1ReplayConfig": {
2058
568
  "description": "The configuration used for a Replay.",
2059
- "id": "GoogleCloudPolicysimulatorV1alphaReplayConfig",
569
+ "id": "GoogleCloudPolicysimulatorV1ReplayConfig",
2060
570
  "properties": {
2061
571
  "logSource": {
2062
572
  "description": "The logs to use as input for the Replay.",
@@ -2080,51 +590,21 @@
2080
590
  },
2081
591
  "type": "object"
2082
592
  },
2083
- "GoogleCloudPolicysimulatorV1alphaReplayDiff": {
2084
- "description": "The difference between the results of evaluating an access tuple under the current (baseline) policies and under the proposed (simulated) policies. This difference explains how a principal's access could change if the proposed policies were applied.",
2085
- "id": "GoogleCloudPolicysimulatorV1alphaReplayDiff",
2086
- "properties": {
2087
- "accessDiff": {
2088
- "$ref": "GoogleCloudPolicysimulatorV1alphaAccessStateDiff",
2089
- "description": "A summary and comparison of the principal's access under the current (baseline) policies and the proposed (simulated) policies for a single access tuple. The evaluation of the principal's access is reported in the AccessState field."
2090
- }
2091
- },
2092
- "type": "object"
2093
- },
2094
- "GoogleCloudPolicysimulatorV1alphaReplayResult": {
2095
- "description": "The result of replaying a single access tuple against a simulated state.",
2096
- "id": "GoogleCloudPolicysimulatorV1alphaReplayResult",
593
+ "GoogleCloudPolicysimulatorV1ReplayOperationMetadata": {
594
+ "description": "Metadata about a Replay operation.",
595
+ "id": "GoogleCloudPolicysimulatorV1ReplayOperationMetadata",
2097
596
  "properties": {
2098
- "accessTuple": {
2099
- "$ref": "GoogleCloudPolicysimulatorV1alphaAccessTuple",
2100
- "description": "The access tuple that was replayed. This field includes information about the principal, resource, and permission that were involved in the access attempt."
2101
- },
2102
- "diff": {
2103
- "$ref": "GoogleCloudPolicysimulatorV1alphaReplayDiff",
2104
- "description": "The difference between the principal's access under the current (baseline) policies and the principal's access under the proposed (simulated) policies. This field is only included for access tuples that were successfully replayed and had different results under the current policies and the proposed policies."
2105
- },
2106
- "error": {
2107
- "$ref": "GoogleRpcStatus",
2108
- "description": "The error that caused the access tuple replay to fail. This field is only included for access tuples that were not replayed successfully."
2109
- },
2110
- "lastSeenDate": {
2111
- "$ref": "GoogleTypeDate",
2112
- "description": "The latest date this access tuple was seen in the logs."
2113
- },
2114
- "name": {
2115
- "description": "The resource name of the `ReplayResult`, in the following format: `{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}/results/{replay-result-id}`, where `{resource-id}` is the ID of the project, folder, or organization that owns the Replay. Example: `projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36/results/1234`",
2116
- "type": "string"
2117
- },
2118
- "parent": {
2119
- "description": "The Replay that the access tuple was included in.",
597
+ "startTime": {
598
+ "description": "Time when the request was received.",
599
+ "format": "google-datetime",
2120
600
  "type": "string"
2121
601
  }
2122
602
  },
2123
603
  "type": "object"
2124
604
  },
2125
- "GoogleCloudPolicysimulatorV1alphaReplayResultsSummary": {
605
+ "GoogleCloudPolicysimulatorV1ReplayResultsSummary": {
2126
606
  "description": "Summary statistics about the replayed log entries.",
2127
- "id": "GoogleCloudPolicysimulatorV1alphaReplayResultsSummary",
607
+ "id": "GoogleCloudPolicysimulatorV1ReplayResultsSummary",
2128
608
  "properties": {
2129
609
  "differenceCount": {
2130
610
  "description": "The number of replayed log entries with a difference between baseline and simulated policies.",
@@ -2157,277 +637,6 @@
2157
637
  },
2158
638
  "type": "object"
2159
639
  },
2160
- "GoogleCloudPolicysimulatorV1alphaResourceContext": {
2161
- "description": "ResourceContext provides the context we know about a resource. It is similar in concept to google.cloud.asset.v1.Resource, but focuses on the information specifically used by Simulator.",
2162
- "id": "GoogleCloudPolicysimulatorV1alphaResourceContext",
2163
- "properties": {
2164
- "ancestors": {
2165
- "description": "The ancestry path of the resource in Google Cloud [resource hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-resource-hierarchy), represented as a list of relative resource names. An ancestry path starts with the closest ancestor in the hierarchy and ends at root. If the resource is a project, folder, or organization, the ancestry path starts from the resource itself. Example: `[\"projects/123456789\", \"folders/5432\", \"organizations/1234\"]`",
2166
- "items": {
2167
- "type": "string"
2168
- },
2169
- "type": "array"
2170
- },
2171
- "assetType": {
2172
- "description": "The asset type of the resource as defined by CAIS. Example: `compute.googleapis.com/Firewall` See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information.",
2173
- "type": "string"
2174
- },
2175
- "resource": {
2176
- "description": "The full name of the resource. Example: `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` See [Resource names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information.",
2177
- "type": "string"
2178
- }
2179
- },
2180
- "type": "object"
2181
- },
2182
- "GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata": {
2183
- "description": "CreateOrgPolicyViolationsPreviewOperationMetadata is metadata about an OrgPolicyViolationsPreview generations operation.",
2184
- "id": "GoogleCloudPolicysimulatorV1betaCreateOrgPolicyViolationsPreviewOperationMetadata",
2185
- "properties": {
2186
- "requestTime": {
2187
- "description": "Time when the request was received.",
2188
- "format": "google-datetime",
2189
- "type": "string"
2190
- },
2191
- "resourcesFound": {
2192
- "description": "Total number of resources that need scanning. Should equal resource_scanned + resources_pending",
2193
- "format": "int32",
2194
- "type": "integer"
2195
- },
2196
- "resourcesPending": {
2197
- "description": "Number of resources still to scan.",
2198
- "format": "int32",
2199
- "type": "integer"
2200
- },
2201
- "resourcesScanned": {
2202
- "description": "Number of resources already scanned.",
2203
- "format": "int32",
2204
- "type": "integer"
2205
- },
2206
- "startTime": {
2207
- "description": "Time when the request started processing, i.e., when the state was set to RUNNING.",
2208
- "format": "google-datetime",
2209
- "type": "string"
2210
- },
2211
- "state": {
2212
- "description": "Output only. The current state of the operation.",
2213
- "enum": [
2214
- "PREVIEW_STATE_UNSPECIFIED",
2215
- "PREVIEW_PENDING",
2216
- "PREVIEW_RUNNING",
2217
- "PREVIEW_SUCCEEDED",
2218
- "PREVIEW_FAILED"
2219
- ],
2220
- "enumDescriptions": [
2221
- "The state is unspecified.",
2222
- "The OrgPolicyViolationsPreview has not been created yet.",
2223
- "The OrgPolicyViolationsPreview is currently being created.",
2224
- "The OrgPolicyViolationsPreview creation finished successfully.",
2225
- "The OrgPolicyViolationsPreview creation failed with an error."
2226
- ],
2227
- "readOnly": true,
2228
- "type": "string"
2229
- }
2230
- },
2231
- "type": "object"
2232
- },
2233
- "GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata": {
2234
- "description": "GenerateOrgPolicyViolationsPreviewOperationMetadata is metadata about an OrgPolicyViolationsPreview generations operation.",
2235
- "id": "GoogleCloudPolicysimulatorV1betaGenerateOrgPolicyViolationsPreviewOperationMetadata",
2236
- "properties": {
2237
- "requestTime": {
2238
- "description": "Time when the request was received.",
2239
- "format": "google-datetime",
2240
- "type": "string"
2241
- },
2242
- "resourcesFound": {
2243
- "description": "Total number of resources that need scanning. Should equal resource_scanned + resources_pending",
2244
- "format": "int32",
2245
- "type": "integer"
2246
- },
2247
- "resourcesPending": {
2248
- "description": "Number of resources still to scan.",
2249
- "format": "int32",
2250
- "type": "integer"
2251
- },
2252
- "resourcesScanned": {
2253
- "description": "Number of resources already scanned.",
2254
- "format": "int32",
2255
- "type": "integer"
2256
- },
2257
- "startTime": {
2258
- "description": "Time when the request started processing, i.e. when the state was set to RUNNING.",
2259
- "format": "google-datetime",
2260
- "type": "string"
2261
- },
2262
- "state": {
2263
- "description": "The current state of the operation.",
2264
- "enum": [
2265
- "PREVIEW_STATE_UNSPECIFIED",
2266
- "PREVIEW_PENDING",
2267
- "PREVIEW_RUNNING",
2268
- "PREVIEW_SUCCEEDED",
2269
- "PREVIEW_FAILED"
2270
- ],
2271
- "enumDescriptions": [
2272
- "The state is unspecified.",
2273
- "The OrgPolicyViolationsPreview has not been created yet.",
2274
- "The OrgPolicyViolationsPreview is currently being created.",
2275
- "The OrgPolicyViolationsPreview creation finished successfully.",
2276
- "The OrgPolicyViolationsPreview creation failed with an error."
2277
- ],
2278
- "type": "string"
2279
- }
2280
- },
2281
- "type": "object"
2282
- },
2283
- "GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay": {
2284
- "description": "The proposed changes to OrgPolicy.",
2285
- "id": "GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay",
2286
- "properties": {
2287
- "customConstraints": {
2288
- "description": "Optional. The OrgPolicy CustomConstraint changes to preview violations for. Any existing CustomConstraints with the same name will be overridden in the simulation. That is, violations will be determined as if all custom constraints in the overlay were instantiated. Only a single custom_constraint is supported in the overlay at a time. For evaluating multiple constraints, multiple `GenerateOrgPolicyViolationsPreview` requests are made, where each request evaluates a single constraint.",
2289
- "items": {
2290
- "$ref": "GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayCustomConstraintOverlay"
2291
- },
2292
- "type": "array"
2293
- },
2294
- "policies": {
2295
- "description": "Optional. The OrgPolicy changes to preview violations for. Any existing OrgPolicies with the same name will be overridden in the simulation. That is, violations will be determined as if all policies in the overlay were created or updated.",
2296
- "items": {
2297
- "$ref": "GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayPolicyOverlay"
2298
- },
2299
- "type": "array"
2300
- }
2301
- },
2302
- "type": "object"
2303
- },
2304
- "GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayCustomConstraintOverlay": {
2305
- "description": "A change to an OrgPolicy custom constraint.",
2306
- "id": "GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayCustomConstraintOverlay",
2307
- "properties": {
2308
- "customConstraint": {
2309
- "$ref": "GoogleCloudOrgpolicyV2CustomConstraint",
2310
- "description": "Optional. The new or updated custom constraint."
2311
- },
2312
- "customConstraintParent": {
2313
- "description": "Optional. Resource the constraint is attached to. Example: \"organization/987654\"",
2314
- "type": "string"
2315
- }
2316
- },
2317
- "type": "object"
2318
- },
2319
- "GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayPolicyOverlay": {
2320
- "description": "A change to an OrgPolicy.",
2321
- "id": "GoogleCloudPolicysimulatorV1betaOrgPolicyOverlayPolicyOverlay",
2322
- "properties": {
2323
- "policy": {
2324
- "$ref": "GoogleCloudOrgpolicyV2Policy",
2325
- "description": "Optional. The new or updated OrgPolicy."
2326
- },
2327
- "policyParent": {
2328
- "description": "Optional. The parent of the policy we are attaching to. Example: \"projects/123456\"",
2329
- "type": "string"
2330
- }
2331
- },
2332
- "type": "object"
2333
- },
2334
- "GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview": {
2335
- "description": "OrgPolicyViolationsPreview is a resource providing a preview of the violations that will exist if an OrgPolicy change is made. The list of violations are modeled as child resources and retrieved via a ListOrgPolicyViolations API call. There are potentially more OrgPolicyViolations than could fit in an embedded field. Thus, the use of a child resource instead of a field.",
2336
- "id": "GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreview",
2337
- "properties": {
2338
- "createTime": {
2339
- "description": "Output only. Time when this `OrgPolicyViolationsPreview` was created.",
2340
- "format": "google-datetime",
2341
- "readOnly": true,
2342
- "type": "string"
2343
- },
2344
- "customConstraints": {
2345
- "description": "Output only. The names of the constraints against which all `OrgPolicyViolations` were evaluated. If `OrgPolicyOverlay` only contains `PolicyOverlay` then it contains the name of the configured custom constraint, applicable to the specified policies. Otherwise it contains the name of the constraint specified in `CustomConstraintOverlay`. Format: `organizations/{organization_id}/customConstraints/{custom_constraint_id}` Example: `organizations/123/customConstraints/custom.createOnlyE2TypeVms`",
2346
- "items": {
2347
- "type": "string"
2348
- },
2349
- "readOnly": true,
2350
- "type": "array"
2351
- },
2352
- "name": {
2353
- "description": "Output only. The resource name of the `OrgPolicyViolationsPreview`. It has the following format: `organizations/{organization}/locations/{location}/orgPolicyViolationsPreviews/{orgPolicyViolationsPreview}` Example: `organizations/my-example-org/locations/global/orgPolicyViolationsPreviews/506a5f7f`",
2354
- "readOnly": true,
2355
- "type": "string"
2356
- },
2357
- "overlay": {
2358
- "$ref": "GoogleCloudPolicysimulatorV1betaOrgPolicyOverlay",
2359
- "description": "Required. The proposed changes we are previewing violations for."
2360
- },
2361
- "resourceCounts": {
2362
- "$ref": "GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreviewResourceCounts",
2363
- "description": "Output only. A summary of the state of all resources scanned for compliance with the changed OrgPolicy.",
2364
- "readOnly": true
2365
- },
2366
- "state": {
2367
- "description": "Output only. The state of the `OrgPolicyViolationsPreview`.",
2368
- "enum": [
2369
- "PREVIEW_STATE_UNSPECIFIED",
2370
- "PREVIEW_PENDING",
2371
- "PREVIEW_RUNNING",
2372
- "PREVIEW_SUCCEEDED",
2373
- "PREVIEW_FAILED"
2374
- ],
2375
- "enumDescriptions": [
2376
- "The state is unspecified.",
2377
- "The OrgPolicyViolationsPreview has not been created yet.",
2378
- "The OrgPolicyViolationsPreview is currently being created.",
2379
- "The OrgPolicyViolationsPreview creation finished successfully.",
2380
- "The OrgPolicyViolationsPreview creation failed with an error."
2381
- ],
2382
- "readOnly": true,
2383
- "type": "string"
2384
- },
2385
- "violationsCount": {
2386
- "description": "Output only. The number of OrgPolicyViolations in this `OrgPolicyViolationsPreview`. This count may differ from `resource_summary.noncompliant_count` because each OrgPolicyViolation is specific to a resource **and** constraint. If there are multiple constraints being evaluated (i.e. multiple policies in the overlay), a single resource may violate multiple constraints.",
2387
- "format": "int32",
2388
- "readOnly": true,
2389
- "type": "integer"
2390
- }
2391
- },
2392
- "type": "object"
2393
- },
2394
- "GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreviewResourceCounts": {
2395
- "description": "A summary of the state of all resources scanned for compliance with the changed OrgPolicy.",
2396
- "id": "GoogleCloudPolicysimulatorV1betaOrgPolicyViolationsPreviewResourceCounts",
2397
- "properties": {
2398
- "compliant": {
2399
- "description": "Output only. Number of scanned resources with zero violations.",
2400
- "format": "int32",
2401
- "readOnly": true,
2402
- "type": "integer"
2403
- },
2404
- "errors": {
2405
- "description": "Output only. Number of resources that returned an error when scanned.",
2406
- "format": "int32",
2407
- "readOnly": true,
2408
- "type": "integer"
2409
- },
2410
- "noncompliant": {
2411
- "description": "Output only. Number of scanned resources with at least one violation.",
2412
- "format": "int32",
2413
- "readOnly": true,
2414
- "type": "integer"
2415
- },
2416
- "scanned": {
2417
- "description": "Output only. Number of resources checked for compliance. Must equal: unenforced + noncompliant + compliant + error",
2418
- "format": "int32",
2419
- "readOnly": true,
2420
- "type": "integer"
2421
- },
2422
- "unenforced": {
2423
- "description": "Output only. Number of resources where the constraint was not enforced, i.e. the Policy set `enforced: false` for that resource.",
2424
- "format": "int32",
2425
- "readOnly": true,
2426
- "type": "integer"
2427
- }
2428
- },
2429
- "type": "object"
2430
- },
2431
640
  "GoogleIamV1AuditConfig": {
2432
641
  "description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.",
2433
642
  "id": "GoogleIamV1AuditConfig",