AuthorizationInfo
import type { AuthorizationInfo } from "https://googleapis.deno.dev/v1/servicecontrol:v2.ts";
Authorization information for the operation.
interface AuthorizationInfo {
granted?: boolean;
permission?: string;
permissionType?:
| "PERMISSION_TYPE_UNSPECIFIED"
| "ADMIN_READ"
| "ADMIN_WRITE"
| "DATA_READ"
| "DATA_WRITE";
resource?: string;
resourceAttributes?: Resource;
}§Properties
§
permissionType?: "PERMISSION_TYPE_UNSPECIFIED" | "ADMIN_READ" | "ADMIN_WRITE" | "DATA_READ" | "DATA_WRITE"
[src]The type of the permission that was checked. For data access audit logs this corresponds with the permission type that must be enabled in the project/folder/organization IAM policy in order for the log to be written.
§
resource?: string
[src]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
§
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
.