import * as pulumi from "@pulumi/pulumi"; /** * Updates an IAM policy for the specified object. */ export declare class ObjectIamPolicy extends pulumi.CustomResource { /** * Get an existing ObjectIamPolicy 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): ObjectIamPolicy; /** * Returns true if the given object is an instance of ObjectIamPolicy. 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 ObjectIamPolicy; /** * An association between a role, which comes with a set of permissions, and members who may assume that role. */ readonly bindings: pulumi.Output<{ [key: string]: string; }[]>; /** * HTTP 1.1 Entity tag for the policy. */ readonly etag: pulumi.Output; /** * The kind of item this is. For policies, this is always storage#policy. This field is ignored on input. */ readonly kind: pulumi.Output; /** * The ID of the resource to which this policy belongs. Will be of the form projects/_/buckets/bucket for buckets, and projects/_/buckets/bucket/objects/object for objects. A specific generation may be specified by appending #generationNumber to the end of the object name, e.g. projects/_/buckets/my-bucket/objects/data.txt#17. The current generation can be denoted with #0. This field is ignored on input. */ readonly resourceId: pulumi.Output; /** * The IAM policy format version. */ readonly version: pulumi.Output; /** * Create a ObjectIamPolicy 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: ObjectIamPolicyArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a ObjectIamPolicy resource. */ export interface ObjectIamPolicyArgs { /** * An association between a role, which comes with a set of permissions, and members who may assume that role. */ readonly bindings?: pulumi.Input; }>[]>; readonly bucket: pulumi.Input; /** * HTTP 1.1 Entity tag for the policy. */ readonly etag?: pulumi.Input; /** * The kind of item this is. For policies, this is always storage#policy. This field is ignored on input. */ readonly kind?: pulumi.Input; readonly object: pulumi.Input; /** * The ID of the resource to which this policy belongs. Will be of the form projects/_/buckets/bucket for buckets, and projects/_/buckets/bucket/objects/object for objects. A specific generation may be specified by appending #generationNumber to the end of the object name, e.g. projects/_/buckets/my-bucket/objects/data.txt#17. The current generation can be denoted with #0. This field is ignored on input. */ readonly resourceId?: pulumi.Input; /** * The IAM policy format version. */ readonly version?: pulumi.Input; }