public final class ClientSideAccessBoundaryRule extends GeneratedMessage implements ClientSideAccessBoundaryRuleOrBuilder
An access boundary rule that defines an upper bound of IAM
permissions on a single resource. This proto has a compiled version of the
availability_condition in the STS API AccessBoundaryRule
(google3/google/identity/sts/v1/access_boundary.proto). It is used to
format the access boundary restriction in the Client-Side CAB access token.
Protobuf type cloud.identity.unifiedauth.proto.ClientSideAccessBoundaryRule
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
AVAILABLE_PERMISSIONS_FIELD_NUMBER
public static final int AVAILABLE_PERMISSIONS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
AVAILABLE_RESOURCE_FIELD_NUMBER
public static final int AVAILABLE_RESOURCE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
COMPILED_AVAILABILITY_CONDITION_FIELD_NUMBER
public static final int COMPILED_AVAILABILITY_CONDITION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ClientSideAccessBoundaryRule getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ClientSideAccessBoundaryRule.Builder newBuilder()
newBuilder(ClientSideAccessBoundaryRule prototype)
public static ClientSideAccessBoundaryRule.Builder newBuilder(ClientSideAccessBoundaryRule prototype)
public static ClientSideAccessBoundaryRule parseDelimitedFrom(InputStream input)
public static ClientSideAccessBoundaryRule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ClientSideAccessBoundaryRule parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ClientSideAccessBoundaryRule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ClientSideAccessBoundaryRule parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ClientSideAccessBoundaryRule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ClientSideAccessBoundaryRule parseFrom(CodedInputStream input)
public static ClientSideAccessBoundaryRule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ClientSideAccessBoundaryRule parseFrom(InputStream input)
public static ClientSideAccessBoundaryRule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ClientSideAccessBoundaryRule parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ClientSideAccessBoundaryRule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ClientSideAccessBoundaryRule> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAvailablePermissions(int index)
public String getAvailablePermissions(int index)
A list of permissions that may be allowed for use on the specified
resource.
The only supported values in the list are IAM roles, following the format
of [google.iam.v1.Binding.role][].
Example value: inRole:roles/logging.viewer for predefined roles and
inRole:organizations/{ORGANIZATION_ID}/roles/logging.viewer for custom
roles.
repeated string available_permissions = 2;
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The availablePermissions at the given index.
|
getAvailablePermissionsBytes(int index)
public ByteString getAvailablePermissionsBytes(int index)
A list of permissions that may be allowed for use on the specified
resource.
The only supported values in the list are IAM roles, following the format
of [google.iam.v1.Binding.role][].
Example value: inRole:roles/logging.viewer for predefined roles and
inRole:organizations/{ORGANIZATION_ID}/roles/logging.viewer for custom
roles.
repeated string available_permissions = 2;
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the availablePermissions at the given index.
|
getAvailablePermissionsCount()
public int getAvailablePermissionsCount()
A list of permissions that may be allowed for use on the specified
resource.
The only supported values in the list are IAM roles, following the format
of [google.iam.v1.Binding.role][].
Example value: inRole:roles/logging.viewer for predefined roles and
inRole:organizations/{ORGANIZATION_ID}/roles/logging.viewer for custom
roles.
repeated string available_permissions = 2;
| Returns |
| Type |
Description |
int |
The count of availablePermissions.
|
getAvailablePermissionsList()
public ProtocolStringList getAvailablePermissionsList()
A list of permissions that may be allowed for use on the specified
resource.
The only supported values in the list are IAM roles, following the format
of [google.iam.v1.Binding.role][].
Example value: inRole:roles/logging.viewer for predefined roles and
inRole:organizations/{ORGANIZATION_ID}/roles/logging.viewer for custom
roles.
repeated string available_permissions = 2;
getAvailableResource()
public String getAvailableResource()
The full resource name of a Google Cloud resource entity.
The format definition is at
https://cloud.google.com/apis/design/resource_names.
Example value: //cloudresourcemanager.googleapis.com/projects/my-project.
string available_resource = 1 [features = { ... }
| Returns |
| Type |
Description |
String |
The availableResource.
|
getAvailableResourceBytes()
public ByteString getAvailableResourceBytes()
The full resource name of a Google Cloud resource entity.
The format definition is at
https://cloud.google.com/apis/design/resource_names.
Example value: //cloudresourcemanager.googleapis.com/projects/my-project.
string available_resource = 1 [features = { ... }
| Returns |
| Type |
Description |
ByteString |
The bytes for availableResource.
|
getCompiledAvailabilityCondition()
public Expr getCompiledAvailabilityCondition()
The compiled version of the
availability_condition in the STS API AccessBoundaryRule
(google3/google/identity/sts/v1/access_boundary.proto) with limited
function support.
.google.api.expr.Expr compiled_availability_condition = 4;
| Returns |
| Type |
Description |
dev.cel.expr.Expr |
The compiledAvailabilityCondition.
|
getCompiledAvailabilityConditionOrBuilder()
public ExprOrBuilder getCompiledAvailabilityConditionOrBuilder()
The compiled version of the
availability_condition in the STS API AccessBoundaryRule
(google3/google/identity/sts/v1/access_boundary.proto) with limited
function support.
.google.api.expr.Expr compiled_availability_condition = 4;
| Returns |
| Type |
Description |
dev.cel.expr.ExprOrBuilder |
|
getDefaultInstanceForType()
public ClientSideAccessBoundaryRule getDefaultInstanceForType()
getParserForType()
public Parser<ClientSideAccessBoundaryRule> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hasCompiledAvailabilityCondition()
public boolean hasCompiledAvailabilityCondition()
The compiled version of the
availability_condition in the STS API AccessBoundaryRule
(google3/google/identity/sts/v1/access_boundary.proto) with limited
function support.
.google.api.expr.Expr compiled_availability_condition = 4;
| Returns |
| Type |
Description |
boolean |
Whether the compiledAvailabilityCondition field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ClientSideAccessBoundaryRule.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ClientSideAccessBoundaryRule.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public ClientSideAccessBoundaryRule.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides