Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ObjectAccessControl

import type { ObjectAccessControl } from "https://googleapis.deno.dev/v1/storage:v1.ts";

An access-control entry.

interface ObjectAccessControl {
bucket?: string;
domain?: string;
email?: string;
entity?: string;
entityId?: string;
etag?: string;
generation?: bigint;
id?: string;
kind?: string;
object?: string;
projectTeam?: {
projectNumber?: string;
team?: string;
}
;
role?: string;
selfLink?: string;
}

§Properties

§
bucket?: string
[src]

The name of the bucket.

§
domain?: string
[src]

The domain associated with the entity, if any.

§
email?: string
[src]

The email address associated with the entity, if any.

§
entity?: string
[src]

The entity holding the permission, in one of the following forms: - user-userId - user-email - group-groupId - group-email - domain-domain - project-team-projectId - allUsers - allAuthenticatedUsers Examples: - The user liz@example.com would be user-liz@example.com. - The group example@googlegroups.com would be group-example@googlegroups.com. - To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.

§
entityId?: string
[src]

The ID for the entity, if any.

§
etag?: string
[src]

HTTP 1.1 Entity tag for the access-control entry.

§
generation?: bigint
[src]

The content generation of the object, if applied to an object.

§
id?: string
[src]

The ID of the access-control entry.

§
kind?: string
[src]

The kind of item this is. For object access control entries, this is always storage#objectAccessControl.

§
object?: string
[src]

The name of the object, if applied to an object.

§
projectTeam?: {
projectNumber?: string;
team?: string;
}
[src]

The project team associated with the entity, if any.

§
role?: string
[src]

The access permission for the entity.