1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-20 21:20:07 +00:00

gcloud: Wed Jun 28 10:42:37 UTC 2023

This commit is contained in:
Automated 2023-06-28 10:42:37 +00:00
parent dc0d916cee
commit 0248e53b76
139 changed files with 3939 additions and 162 deletions

View file

@ -11,6 +11,30 @@ DESCRIPTION
created if it does not exist, or updated if it already exists.
EXAMPLES
Organization policy list constraint YAML file example:
name: projects/PROJECT_ID/policies/CONSTRAINT_NAME
spec:
rules:
- values:
denied_values:
- VALUE_A
Organization policy list constraint JSON file example:
{
"name": "projects/PROJECT_ID/policies/CONSTRAINT_NAME",
"spec": {
"rules": [
{
"values": {
"deniedValues": ["VALUE_A"]
}
}
]
}
}
To set the policy from the file on the path './sample_path', run:
$ gcloud org-policies set-policy ./sample_path