public interface AuthorizationInfoOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getGranted()
public abstract boolean getGranted()
Whether or not authorization for resource
and permission
was granted.
bool granted = 3;
Returns | |
---|---|
Type | Description |
boolean |
The granted. |
getPermission()
public abstract String getPermission()
The required IAM permission.
string permission = 2;
Returns | |
---|---|
Type | Description |
String |
The permission. |
getPermissionBytes()
public abstract ByteString getPermissionBytes()
The required IAM permission.
string permission = 2;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
boolean |
Whether the resourceAttributes field is set. |