NAME
    gcloud policy-intelligence simulate orgpolicy - understand how changes to
        organization policies could affect your resources

SYNOPSIS
    gcloud policy-intelligence simulate orgpolicy
        --organization=ORGANIZATION_ID
        [--custom-constraints=[CUSTOM_CONSTRAINTS,...]]
        [--policies=[POLICIES,...]] [GCLOUD_WIDE_FLAG ...]

DESCRIPTION
    Understand how changes to organization policies could affect your
    resources.

EXAMPLES
    To simulate changes to custom constraints defined in
    ./custom-constraint.json, run:

        $ gcloud policy-intelligence simulate orgpolicy \
            --organization=ORGANIZATION_ID \
            --custom-constraints=custom-constraint.json

    To simulate changes to organization policies defined in ./policy.json, run:

        $ gcloud policy-intelligence simulate orgpolicy \
            --organization=ORGANIZATION_ID --policies=policy.json

    To simulate changes to both custom constraints defined in
    ./custom-constraint.json and organization policies defined in
    ./policy.json, run:

        $ gcloud policy-intelligence simulate orgpolicy \
            --organization=ORGANIZATION_ID --policies=policy.json \
            --custom-constraints=custom-constraint.json

    See
    https://cloud.google.com/policy-intelligence/docs/test-organization-policies
    for more information about Policy Simulator for Organization Policy.

REQUIRED FLAGS
     --organization=ORGANIZATION_ID
        Organization ID.

OPTIONAL FLAGS
     --custom-constraints=[CUSTOM_CONSTRAINTS,...]
        Path to the JSON or YAML file that contains the custom constraints to
        simulate. Multiple custom constraints can be simulated by providing
        multiple, comma-separated paths. For example:
        --custom-constraints=constraint1.json,constraint2.json

     --policies=[POLICIES,...]
        Path to the JSON or YAML file that contains the organization policy to
        simulate. Multiple policies can be simulated by providing multiple,
        comma-separated paths. For example: --policies=p1.json,p2.json

GCLOUD WIDE FLAGS
    These flags are available to all commands: --access-token-file, --account,
    --billing-project, --configuration, --flags-file, --flatten, --format,
    --help, --impersonate-service-account, --log-http, --project, --quiet,
    --trace-token, --user-output-enabled, --verbosity.

    Run $ gcloud help for details.

NOTES
    This variant is also available:

        $ gcloud beta policy-intelligence simulate orgpolicy

