GCP: Resource.name.startsWith
Jump to navigation
Jump to search
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[edit]
See also[edit]
Advertising: