[][src]Struct gcp_client::google::storage::v1::ObjectAccessControl

pub struct ObjectAccessControl {
    pub role: String,
    pub etag: String,
    pub id: String,
    pub bucket: String,
    pub object: String,
    pub generation: i64,
    pub entity: String,
    pub entity_id: String,
    pub email: String,
    pub domain: String,
    pub project_team: Option<ProjectTeam>,
}

An access-control entry.

Fields

role: String

The access permission for the entity.

etag: String

HTTP 1.1 Entity tag for the access-control entry. See [https://tools.ietf.org/html/rfc7232#section-2.3][RFC 7232 §2.3].

id: String

The ID of the access-control entry.

bucket: String

The name of the bucket.

object: String

The name of the object, if applied to an object.

generation: i64

The content generation of the object, if applied to an object.

entity: String

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.
  • All members of the Google Apps for Business domain example.com would be domain-example.com.
entity_id: String

The ID for the entity, if any.

email: String

The email address associated with the entity, if any.

domain: String

The domain associated with the entity, if any.

project_team: Option<ProjectTeam>

The project team associated with the entity, if any.

Trait Implementations

impl Clone for ObjectAccessControl[src]

impl Debug for ObjectAccessControl[src]

impl Default for ObjectAccessControl[src]

impl Message for ObjectAccessControl[src]

impl PartialEq<ObjectAccessControl> for ObjectAccessControl[src]

impl StructuralPartialEq for ObjectAccessControl[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]