AuthorizationInfo

com.google.cloud.audit.audit_log.AuthorizationInfo
See theAuthorizationInfo companion object
final case class AuthorizationInfo(resource: String, permission: String, granted: Boolean, resourceAttributes: Option[Resource], unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[AuthorizationInfo]

Authorization information for the operation.

Attributes

granted

Whether or not authorization for resource and permission was granted.

permission

The required IAM permission.

resource

The resource being accessed, as a REST-style or cloud resource string. For example: bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID or projects/PROJECTID/datasets/DATASETID

resourceAttributes

Resource attributes used in IAM condition evaluation. This field contains resource attributes like resource type and resource name. To get the whole view of the attributes used in IAM condition evaluation, the user must also look into AuditLog.request_metadata.request_attributes.

Companion:
object
Source:
AuthorizationInfo.scala
Graph
Supertypes
trait Updatable[AuthorizationInfo]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def getField(`__field`: FieldDescriptor): PValue

Attributes

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

Attributes

Source:
AuthorizationInfo.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source:
AuthorizationInfo.scala

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:
AuthorizationInfo.scala
def withUnknownFields(`__v`: UnknownFieldSet): AuthorizationInfo

Attributes

Source:
AuthorizationInfo.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:
AuthorizationInfo.scala

Inherited methods

Attributes

Inherited from:
Product

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