Class CredentialAccessBoundary.AccessBoundaryRule.AvailabilityCondition (1.30.1)

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
Type Description
CredentialAccessBoundary.AccessBoundaryRule.AvailabilityCondition.Builder

Methods

getDescription()

public String getDescription()
Returns
Type Description
String

getExpression()

public String getExpression()
Returns
Type Description
String

getTitle()

public String getTitle()
Returns
Type Description
String