ObjectIamPolicyArgs

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

Updates an IAM policy for the specified object. 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
constructor(bindings: Output<List<ObjectIamPolicyBindingsItemArgs>>? = null, bucket: Output<String>? = null, etag: Output<String>? = null, generation: Output<String>? = null, kind: Output<String>? = null, object: Output<String>? = null, resourceId: Output<String>? = null, userProject: Output<String>? = null, version: Output<Int>? = null)

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 generation: Output<String>? = null

If present, selects a specific revision of this object (as opposed to the latest version, the default).

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 object: Output<String>? = null
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.

Functions

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