import * as pulumi from "@pulumi/pulumi"; /** * Creates a new ACL entry on the specified object. */ export declare class ObjectAccessControl extends pulumi.CustomResource { /** * Get an existing ObjectAccessControl resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ObjectAccessControl; /** * Returns true if the given object is an instance of ObjectAccessControl. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ObjectAccessControl; /** * The name of the bucket. */ readonly bucket: pulumi.Output; /** * The domain associated with the entity, if any. */ readonly domain: pulumi.Output; /** * The email address associated with the entity, if any. */ readonly email: pulumi.Output; /** * 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. */ readonly entity: pulumi.Output; /** * The ID for the entity, if any. */ readonly entityId: pulumi.Output; /** * HTTP 1.1 Entity tag for the access-control entry. */ readonly etag: pulumi.Output; /** * The content generation of the object, if applied to an object. */ readonly generation: pulumi.Output; /** * The kind of item this is. For object access control entries, this is always storage#objectAccessControl. */ readonly kind: pulumi.Output; /** * The name of the object, if applied to an object. */ readonly object: pulumi.Output; /** * The project team associated with the entity, if any. */ readonly projectTeam: pulumi.Output<{ [key: string]: string; }>; /** * The access permission for the entity. */ readonly role: pulumi.Output; /** * The link to this access-control entry. */ readonly selfLink: pulumi.Output; /** * Create a ObjectAccessControl resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ObjectAccessControlArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a ObjectAccessControl resource. */ export interface ObjectAccessControlArgs { /** * The name of the bucket. */ readonly bucket: pulumi.Input; /** * The domain associated with the entity, if any. */ readonly domain?: pulumi.Input; /** * The email address associated with the entity, if any. */ readonly email?: pulumi.Input; /** * 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. */ readonly entity: pulumi.Input; /** * The ID for the entity, if any. */ readonly entityId?: pulumi.Input; /** * HTTP 1.1 Entity tag for the access-control entry. */ readonly etag?: pulumi.Input; /** * The content generation of the object, if applied to an object. */ readonly generation?: pulumi.Input; /** * The ID of the access-control entry. */ readonly id?: pulumi.Input; /** * The kind of item this is. For object access control entries, this is always storage#objectAccessControl. */ readonly kind?: pulumi.Input; /** * The name of the object, if applied to an object. */ readonly object: pulumi.Input; /** * The project team associated with the entity, if any. */ readonly projectTeam?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The access permission for the entity. */ readonly role?: pulumi.Input; /** * The link to this access-control entry. */ readonly selfLink?: pulumi.Input; }