gcloud org-policies set-custom-constraint - set a custom constraint from a JSON or YAML file
gcloud org-policies set-custom-constraint CUSTOM_CONSTRAINT_FILE [GCLOUD_WIDE_FLAG ...]
Sets a Custom Constraint from a JSON or YAML file. The custom constraint will be created if it does not exist, or updated if it already exists.
To set the custom constraint from the file on the path './sample_path', run:
$ gcloud org-policies set-custom-constraint ./sample_path
- CUSTOM_CONSTRAINT_FILE
Path to JSON or YAML file that contains the organization policy.
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.