ObjectIamPolicyArgs constructor

const ObjectIamPolicyArgs({
  1. Input<List<ObjectIamPolicyBindingsItem>>? bindings,
  2. required Input<String> bucket,
  3. Input<String>? etag,
  4. Input<String>? generation,
  5. Input<String>? kind,
  6. required Input<String> object_,
  7. Input<String>? resourceId,
  8. Input<String>? userProject,
  9. Input<int>? version,
})

Creates a new ObjectIamPolicyArgs. bindings An association between a role, which comes with a set of permissions, and members who may assume that role. bucket Required. etag HTTP 1.1 Entity tag for the policy. generation If present, selects a specific revision of this object (as opposed to the latest version, the default). kind The kind of item this is. For policies, this is always storage#policy. This field is ignored on input. object_ Required. resourceId The ID of the resource to which this policy belongs. Will be of the form projects//buckets/bucket for buckets, projects//buckets/bucket/objects/object for objects, and projects//buckets/bucket/managedFolders/managedFolder. 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. userProject The project to be billed for this request. Required for Requester Pays buckets. version The IAM policy format version.

Implementation

const ObjectIamPolicyArgs({
  this.bindings,
  required this.bucket,
  this.etag,
  this.generation,
  this.kind,
  required this.object_,
  this.resourceId,
  this.userProject,
  this.version,
});