Interface AuthorizationInfoOrBuilder (2.37.1)

public interface AuthorizationInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGranted()

public abstract boolean getGranted()

Whether or not authorization for resource and permission was granted.

bool granted = 3;

Returns
TypeDescription
boolean

The granted.

getPermission()

public abstract String getPermission()

The required IAM permission.

string permission = 2;

Returns
TypeDescription
String

The permission.

getPermissionBytes()

public abstract ByteString getPermissionBytes()

The required IAM permission.

string permission = 2;

Returns
TypeDescription
ByteString

The bytes for permission.

getResource()

public abstract String getResource()

The resource being accessed, as a REST-style or cloud resource string. For example:

 bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID

or projects/PROJECTID/datasets/DATASETID

string resource = 1;

Returns
TypeDescription
String

The resource.

getResourceAttributes()

public abstract AttributeContext.Resource getResourceAttributes()

Resource attributes used in IAM condition evaluation. This field contains resource attributes like resource type and resource name.

To get the whole view of the attributes used in IAM condition evaluation, the user must also look into AuditLog.request_metadata.request_attributes.

.google.rpc.context.AttributeContext.Resource resource_attributes = 5;

Returns
TypeDescription
AttributeContext.Resource

The resourceAttributes.

getResourceAttributesOrBuilder()

public abstract AttributeContext.ResourceOrBuilder getResourceAttributesOrBuilder()

Resource attributes used in IAM condition evaluation. This field contains resource attributes like resource type and resource name.

To get the whole view of the attributes used in IAM condition evaluation, the user must also look into AuditLog.request_metadata.request_attributes.

.google.rpc.context.AttributeContext.Resource resource_attributes = 5;

Returns
TypeDescription
AttributeContext.ResourceOrBuilder

getResourceBytes()

public abstract ByteString getResourceBytes()

The resource being accessed, as a REST-style or cloud resource string. For example:

 bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID

or projects/PROJECTID/datasets/DATASETID

string resource = 1;

Returns
TypeDescription
ByteString

The bytes for resource.

hasResourceAttributes()

public abstract boolean hasResourceAttributes()

Resource attributes used in IAM condition evaluation. This field contains resource attributes like resource type and resource name.

To get the whole view of the attributes used in IAM condition evaluation, the user must also look into AuditLog.request_metadata.request_attributes.

.google.rpc.context.AttributeContext.Resource resource_attributes = 5;

Returns
TypeDescription
boolean

Whether the resourceAttributes field is set.