public static final class CredentialAccessBoundary.AccessBoundaryRule.AvailabilityCondition extends Object
CredentialAccessBoundary.AccessBoundaryRule
to further
restrict permissions.
For example, you can define an AvailabilityCondition that applies to a set of Cloud Storage objects whose names start with auth:
AvailabilityCondition availabilityCondition = AvailabilityCondition.newBuilder()
.setExpression("resource.name.startsWith('projects/_/buckets/bucket-123/objects/auth')")
.build();
Modifier and Type | Class and Description |
---|---|
static class |
CredentialAccessBoundary.AccessBoundaryRule.AvailabilityCondition.Builder |
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
String |
getExpression() |
String |
getTitle() |
static CredentialAccessBoundary.AccessBoundaryRule.AvailabilityCondition.Builder |
newBuilder() |
Copyright © 2023 Google. All rights reserved.