Googly.CloudStorage.Model.Policy (googly_cloud_storage v0.1.0)

Copy Markdown View Source

A bucket/object/managedFolder IAM policy.

Attributes

  • bindings (type: list(Googly.CloudStorage.Model.PolicyBindings.t())) - An association between a role, which comes with a set of permissions, and members who may assume that role.
  • etag (type: String.t()) - HTTP 1.1 Entity tag for the policy.
  • kind (type: String.t()) - The kind of item this is. For policies, this is always storage#policy. This field is ignored on input.
  • resource_id (type: String.t()) - 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.
  • version (type: integer()) - The IAM policy format version.

Summary

Types

t()

@type t() :: %Googly.CloudStorage.Model.Policy{
  bindings: [Googly.CloudStorage.Model.PolicyBindings.t()] | nil,
  etag: String.t() | nil,
  kind: String.t() | nil,
  resource_id: String.t() | nil,
  version: integer() | nil
}