Difference between revisions of "Gcloud projects set-iam-policy"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
* https://cloud.google.com/sdk/gcloud/reference/projects/set-iam-policy | * https://cloud.google.com/sdk/gcloud/reference/projects/set-iam-policy | ||
+ | |||
+ | gcloud projects set-iam-policy example-project-id-1 [[policy.json]] | ||
+ | |||
== Related == | == Related == | ||
Line 6: | Line 9: | ||
[[gcloud projects get-iam-policy]] | [[gcloud projects get-iam-policy]] | ||
* [[Terraform IAM policy for projects]] | * [[Terraform IAM policy for projects]] | ||
+ | * <code>[[expression:]]</code> | ||
+ | * <code>[[resource.name.startsWith]]</code> | ||
== See also == | == See also == |
Latest revision as of 13:36, 26 July 2022
gcloud projects set-iam-policy example-project-id-1 policy.json
Related[edit]
gcloud projects add-iam-policy-binding gcloud projects get-iam-policy
See also[edit]
Advertising: