1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-18 06:47:12 +00:00

gcloud: Wed Mar 12 10:54:38 UTC 2025

This commit is contained in:
Automated 2025-03-12 10:54:38 +00:00
parent 6dc93282df
commit a459a88a5f
152 changed files with 2634 additions and 1748 deletions

View file

@ -0,0 +1,28 @@
NAME
gcloud beta policy-intelligence - a platform to help better understand,
use, and manage policies at scale
SYNOPSIS
gcloud beta policy-intelligence GROUP | COMMAND [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) A platform to help better understand, use, and manage policies at
scale.
GCLOUD WIDE FLAGS
These flags are available to all commands: --help.
Run $ gcloud help for details.
GROUPS
GROUP is one of the following:
simulate
(BETA) Simulate changes to organization policies.
NOTES
This command is currently in beta and might change without notice. This
variant is also available:
$ gcloud policy-intelligence

View file

@ -0,0 +1,25 @@
NAME
gcloud beta policy-intelligence simulate - simulate changes to organization
policies
SYNOPSIS
gcloud beta policy-intelligence simulate COMMAND [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) Simulate changes to organization policies.
GCLOUD WIDE FLAGS
These flags are available to all commands: --help.
Run $ gcloud help for details.
COMMANDS
COMMAND is one of the following:
orgpolicy
(BETA) Understand how changes to organization policies could affect
your resources.
NOTES
This command is currently in beta and might change without notice.

View file

@ -0,0 +1,66 @@
NAME
gcloud beta policy-intelligence simulate orgpolicy - understand how changes
to organization policies could affect your resources
SYNOPSIS
gcloud beta policy-intelligence simulate orgpolicy
--organization=ORGANIZATION_ID
[--custom-constraints=[CUSTOM_CONSTRAINTS,...]]
[--policies=[POLICIES,...]] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) Understand how changes to organization policies could affect your
resources.
EXAMPLES
To simulate changes to custom constraints defined in
./custom-constraint.json, run:
$ gcloud beta policy-intelligence simulate orgpolicy \
--organization=ORGANIZATION_ID \
--custom-constraints=custom-constraint.json
To simulate changes to organization policies defined in ./policy.json, run:
$ gcloud beta 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 beta 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 command is currently in beta and might change without notice.