1type: google.api.Service 2config_version: 3 3name: policysimulator.googleapis.com 4title: Policy Simulator API 5 6apis: 7- name: google.cloud.policysimulator.v1.Simulator 8- name: google.longrunning.Operations 9 10types: 11- name: google.cloud.policysimulator.v1.Replay 12- name: google.cloud.policysimulator.v1.ReplayOperationMetadata 13 14documentation: 15 summary: |- 16 Policy Simulator is a collection of endpoints for creating, running, and 17 viewing a [Replay][google.cloud.policysimulator.v1.Replay]. A `Replay` is 18 a type of simulation that lets you see how your members' access to 19 resources might change if you changed your IAM policy. 20 21 During a `Replay`, Policy Simulator re-evaluates, or replays, past access 22 attempts under both the current policy and your proposed policy, and 23 compares those results to determine how your members' access might change 24 under the 25 proposed policy. 26 27http: 28 rules: 29 - selector: google.longrunning.Operations.GetOperation 30 get: '/v1/{name=operations/**}' 31 additional_bindings: 32 - get: '/v1/{name=projects/*/locations/*/replays/*/operations/**}' 33 - get: '/v1/{name=folders/*/locations/*/replays/*/operations/**}' 34 - get: '/v1/{name=organizations/*/locations/*/replays/*/operations/**}' 35 - selector: google.longrunning.Operations.ListOperations 36 get: '/v1/{name=operations}' 37 additional_bindings: 38 - get: '/v1/{name=projects/*/locations/*/replays/*/operations}' 39 - get: '/v1/{name=folders/*/locations/*/replays/*/operations}' 40 - get: '/v1/{name=organizations/*/locations/*/replays/*/operations}' 41 42authentication: 43 rules: 44 - selector: 'google.cloud.policysimulator.v1.Simulator.*' 45 oauth: 46 canonical_scopes: |- 47 https://www.googleapis.com/auth/cloud-platform 48 - selector: google.longrunning.Operations.GetOperation 49 oauth: 50 canonical_scopes: |- 51 https://www.googleapis.com/auth/cloud-platform 52 - selector: google.longrunning.Operations.ListOperations 53 oauth: 54 canonical_scopes: |- 55 https://www.googleapis.com/auth/cloud-platform 56 57publishing: 58 new_issue_uri: https://issuetracker.google.com/issues/new?component=190865&template=1161103 59 documentation_uri: https://cloud.google.com/policy-intelligence/docs/iam-simulator-overview 60 api_short_name: policysimulator 61 github_label: 'api: policysimulator' 62 doc_tag_prefix: policysimulator 63 organization: CLOUD 64 library_settings: 65 - version: google.cloud.policysimulator.v1 66 launch_stage: GA 67 java_settings: 68 common: 69 destinations: 70 - PACKAGE_MANAGER 71 cpp_settings: 72 common: 73 destinations: 74 - PACKAGE_MANAGER 75 php_settings: 76 common: 77 destinations: 78 - PACKAGE_MANAGER 79 python_settings: 80 common: 81 destinations: 82 - PACKAGE_MANAGER 83 node_settings: 84 common: 85 destinations: 86 - PACKAGE_MANAGER 87 dotnet_settings: 88 common: 89 destinations: 90 - PACKAGE_MANAGER 91 ruby_settings: 92 common: 93 destinations: 94 - PACKAGE_MANAGER 95 go_settings: 96 common: 97 destinations: 98 - PACKAGE_MANAGER 99 proto_reference_documentation_uri: https://cloud.google.com/policysimulator/docs/reference/rpc 100