Package com.google.cloud.audit
Interface AuthorizationInfoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AuthorizationInfo,AuthorizationInfo.Builder
public interface AuthorizationInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetGranted()Whether or not authorization for `resource` and `permission` was granted.StringgetPermission()The required IAM permission.com.google.protobuf.ByteStringgetPermissionBytes()The required IAM permission.StringgetResource()The resource being accessed, as a REST-style or cloud resource string.AttributeContext.ResourcegetResourceAttributes()Resource attributes used in IAM condition evaluation.AttributeContext.ResourceOrBuildergetResourceAttributesOrBuilder()Resource attributes used in IAM condition evaluation.com.google.protobuf.ByteStringgetResourceBytes()The resource being accessed, as a REST-style or cloud resource string.booleanhasResourceAttributes()Resource attributes used in IAM condition evaluation.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getResource
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/DATASETIDstring resource = 1;- Returns:
- The resource.
-
getResourceBytes
com.google.protobuf.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/DATASETIDstring resource = 1;- Returns:
- The bytes for resource.
-
getPermission
String getPermission()
The required IAM permission.
string permission = 2;- Returns:
- The permission.
-
getPermissionBytes
com.google.protobuf.ByteString getPermissionBytes()
The required IAM permission.
string permission = 2;- Returns:
- The bytes for permission.
-
getGranted
boolean getGranted()
Whether or not authorization for `resource` and `permission` was granted.
bool granted = 3;- Returns:
- The granted.
-
hasResourceAttributes
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:
- Whether the resourceAttributes field is set.
-
getResourceAttributes
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:
- The resourceAttributes.
-
getResourceAttributesOrBuilder
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;
-
-