Class CredentialAccessBoundary.AccessBoundaryRule.AvailabilityCondition (1.6.0)

public static final class CredentialAccessBoundary.AccessBoundaryRule.AvailabilityCondition

An optional condition that can be used as part of a 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();
 

Inheritance

java.lang.Object > CredentialAccessBoundary.AccessBoundaryRule.AvailabilityCondition

Static Methods

newBuilder()

public static CredentialAccessBoundary.AccessBoundaryRule.AvailabilityCondition.Builder newBuilder()
Returns
TypeDescription
CredentialAccessBoundary.AccessBoundaryRule.AvailabilityCondition.Builder

Methods

getDescription()

public String getDescription()
Returns
TypeDescription
String

getExpression()

public String getExpression()
Returns
TypeDescription
String

getTitle()

public String getTitle()
Returns
TypeDescription
String