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
AuditLogData.request_metadata.request_attributes.
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
AuditLogData.request_metadata.request_attributes.
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
AuditLogData.request_metadata.request_attributes.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Interface AuthorizationInfoOrBuilder (0.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.16.0 (latest)](/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.audit.v1.AuthorizationInfoOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.audit.v1.AuthorizationInfoOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.audit.v1.AuthorizationInfoOrBuilder) \n\n public interface AuthorizationInfoOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getGranted()\n\n public abstract boolean getGranted()\n\nWhether or not authorization for `resource` and `permission`\nwas granted.\n\n`bool granted = 3;`\n\n### getPermission()\n\n public abstract String getPermission()\n\nThe required IAM permission.\n\n`string permission = 2;`\n\n### getPermissionBytes()\n\n public abstract ByteString getPermissionBytes()\n\nThe required IAM permission.\n\n`string permission = 2;`\n\n### getResource()\n\n public abstract String getResource()\n\nThe resource being accessed, as a REST-style string. For example:\nbigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID\n\n`string resource = 1;`\n\n### getResourceAttributes()\n\n public abstract AttributeContext.Resource getResourceAttributes()\n\nResource attributes used in IAM condition evaluation. This field contains\nresource attributes like resource type and resource name.\nTo get the whole view of the attributes used in IAM\ncondition evaluation, the user must also look into\n`AuditLogData.request_metadata.request_attributes`.\n\n`.google.rpc.context.AttributeContext.Resource resource_attributes = 5;`\n\n### getResourceAttributesOrBuilder()\n\n public abstract AttributeContext.ResourceOrBuilder getResourceAttributesOrBuilder()\n\nResource attributes used in IAM condition evaluation. This field contains\nresource attributes like resource type and resource name.\nTo get the whole view of the attributes used in IAM\ncondition evaluation, the user must also look into\n`AuditLogData.request_metadata.request_attributes`.\n\n`.google.rpc.context.AttributeContext.Resource resource_attributes = 5;`\n\n### getResourceBytes()\n\n public abstract ByteString getResourceBytes()\n\nThe resource being accessed, as a REST-style string. For example:\nbigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID\n\n`string resource = 1;`\n\n### hasResourceAttributes()\n\n public abstract boolean hasResourceAttributes()\n\nResource attributes used in IAM condition evaluation. This field contains\nresource attributes like resource type and resource name.\nTo get the whole view of the attributes used in IAM\ncondition evaluation, the user must also look into\n`AuditLogData.request_metadata.request_attributes`.\n\n`.google.rpc.context.AttributeContext.Resource resource_attributes = 5;`"]]