BucketAccessControl

com.google.storage.v2.storage.BucketAccessControl
See theBucketAccessControl companion object
final case class BucketAccessControl(role: String, id: String, entity: String, entityAlt: String, entityId: String, etag: String, email: String, domain: String, projectTeam: Option[ProjectTeam], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[BucketAccessControl]

An access-control entry.

Value parameters

domain

The domain associated with the entity, if any.

email

The email address associated with the entity, if any.

entity

The entity holding the permission, in one of the following forms: * user-{userid} * user-{email} * group-{groupid} * group-{email} * domain-{domain} * project-{team}-{projectnumber} * project-{team}-{projectid} * allUsers * allAuthenticatedUsers Examples: * The user [email protected] would be [email protected]. * The group [email protected] would be [email protected] * All members of the Google Apps for Business domain example.com would be domain-example.com For project entities, project-{team}-{projectnumber} format will be returned on response.

entityAlt

Output only. The alternative entity format, if exists. For project entities, project-{team}-{projectid} format will be returned on response.

entityId

The ID for the entity, if any.

etag

The etag of the BucketAccessControl. If included in the metadata of an update or delete request message, the operation operation will only be performed if the etag matches that of the bucket's BucketAccessControl.

id

The ID of the access-control entry.

projectTeam

The project team associated with the entity, if any.

role

The access permission for the entity.

Attributes

Companion
object
Source
BucketAccessControl.scala
Graph
Supertypes
trait Updatable[BucketAccessControl]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def getField(`__field`: FieldDescriptor): PValue

Attributes

Source
BucketAccessControl.scala
def getFieldByNumber(`__fieldNumber`: Int): Any

Attributes

Source
BucketAccessControl.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source
BucketAccessControl.scala
def toProtoString: String

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns

human-readable representation of this message.

Source
BucketAccessControl.scala
def withDomain(`__v`: String): BucketAccessControl

Attributes

Source
BucketAccessControl.scala
def withEmail(`__v`: String): BucketAccessControl

Attributes

Source
BucketAccessControl.scala
def withEntity(`__v`: String): BucketAccessControl

Attributes

Source
BucketAccessControl.scala
def withEntityAlt(`__v`: String): BucketAccessControl

Attributes

Source
BucketAccessControl.scala
def withEntityId(`__v`: String): BucketAccessControl

Attributes

Source
BucketAccessControl.scala
def withEtag(`__v`: String): BucketAccessControl

Attributes

Source
BucketAccessControl.scala
def withId(`__v`: String): BucketAccessControl

Attributes

Source
BucketAccessControl.scala
def withRole(`__v`: String): BucketAccessControl

Attributes

Source
BucketAccessControl.scala
def withUnknownFields(`__v`: UnknownFieldSet): BucketAccessControl

Attributes

Source
BucketAccessControl.scala
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Source
BucketAccessControl.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala

Attributes

Inherited from:
Updatable
Source
Lenses.scala
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala