BucketIamPolicyArgs

data class BucketIamPolicyArgs(val bindings: Output<List<BucketIamPolicyBindingsItemArgs>>? = null, val bucket: Output<String>? = null, val etag: Output<String>? = null, val kind: Output<String>? = null, val resourceId: Output<String>? = null, val userProject: Output<String>? = null, val version: Output<Int>? = null) : ConvertibleToJava<BucketIamPolicyArgs>

Updates an IAM policy for the specified bucket. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

Constructors

Link copied to clipboard
fun BucketIamPolicyArgs(bindings: Output<List<BucketIamPolicyBindingsItemArgs>>? = null, bucket: Output<String>? = null, etag: Output<String>? = null, kind: Output<String>? = null, resourceId: Output<String>? = null, userProject: Output<String>? = null, version: Output<Int>? = null)

Functions

Link copied to clipboard
open override fun toJava(): BucketIamPolicyArgs

Properties

Link copied to clipboard

An association between a role, which comes with a set of permissions, and members who may assume that role.

Link copied to clipboard
val bucket: Output<String>? = null
Link copied to clipboard
val etag: Output<String>? = null

HTTP 1.1 Entity tag for the policy.

Link copied to clipboard
val kind: Output<String>? = null

The kind of item this is. For policies, this is always storage#policy. This field is ignored on input.

Link copied to clipboard
val resourceId: Output<String>? = null

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.

Link copied to clipboard
val userProject: Output<String>? = null

The project to be billed for this request. Required for Requester Pays buckets.

Link copied to clipboard
val version: Output<Int>? = null

The IAM policy format version.