GoogleApi.Storage.V1.Model.ObjectAccessControl (google_api_storage v0.29.0) View Source

An access-control entry.

Attributes

  • bucket (type: String.t, default: nil) - The name of the bucket.
  • domain (type: String.t, default: nil) - The domain associated with the entity, if any.
  • email (type: String.t, default: nil) - The email address associated with the entity, if any.
  • entity (type: String.t, default: nil) - The entity holding the permission, in one of the following forms:
    • user-userId
    • user-email
    • group-groupId
    • group-email
    • domain-domain
    • project-team-projectId
    • allUsers
    • allAuthenticatedUsers Examples:
    • The user liz@example.com would be user-liz@example.com.
    • The group example@googlegroups.com would be group-example@googlegroups.com.
    • To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
  • entityId (type: String.t, default: nil) - The ID for the entity, if any.
  • etag (type: String.t, default: nil) - HTTP 1.1 Entity tag for the access-control entry.
  • generation (type: String.t, default: nil) - The content generation of the object, if applied to an object.
  • id (type: String.t, default: nil) - The ID of the access-control entry.
  • kind (type: String.t, default: storage#objectAccessControl) - The kind of item this is. For object access control entries, this is always storage#objectAccessControl.
  • object (type: String.t, default: nil) - The name of the object, if applied to an object.
  • projectTeam (type: GoogleApi.Storage.V1.Model.ObjectAccessControlProjectTeam.t, default: nil) - The project team associated with the entity, if any.
  • role (type: String.t, default: nil) - The access permission for the entity.
  • selfLink (type: String.t, default: nil) - The link to this access-control entry.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Storage.V1.Model.ObjectAccessControl{
  bucket: String.t() | nil,
  domain: String.t() | nil,
  email: String.t() | nil,
  entity: String.t() | nil,
  entityId: String.t() | nil,
  etag: String.t() | nil,
  generation: String.t() | nil,
  id: String.t() | nil,
  kind: String.t() | nil,
  object: String.t() | nil,
  projectTeam:
    GoogleApi.Storage.V1.Model.ObjectAccessControlProjectTeam.t() | nil,
  role: String.t() | nil,
  selfLink: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.