gCP: Resource.name.startsWith
Revision as of 10:01, 6 December 2022 by Ant (talk | contribs) (Ant moved page Resource.name.startsWith to GCP: Resource.name.startsWith)
uniform bucket-level access required
resource.type != 'compute.googleapis.com/Instance' || resource.name.extract('/instances/{name}').startsWith('dev-')
Example from official documentation: [1]
resource.type == "storage.googleapis.com/Bucket" && resource.name.startsWith("projects/_/buckets/exampleco-site-assets-")
Related
See also
gcloud projects [ set-iam-policy | get-iam-policy | add-iam-policy-binding ], resource.name.startsWith
Advertising: