final case class AuditLog(serviceName: String = "", methodName: String = "", resourceName: String = "", numResponseItems: Long = 0L, status: Option[Status] = _root_.scala.None, authenticationInfo: Option[AuthenticationInfo] = _root_.scala.None, authorizationInfo: Seq[AuthorizationInfo] = _root_.scala.Seq.empty, requestMetadata: Option[RequestMetadata] = _root_.scala.None, request: Option[Struct] = _root_.scala.None, response: Option[Struct] = _root_.scala.None, serviceData: Option[Any] = _root_.scala.None, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[AuditLog] with Product with Serializable
Common audit log format for Google Cloud Platform API operations.
- serviceName
The name of the API service performing the operation. For example,
"datastore.googleapis.com".- methodName
The name of the service method or operation. For API calls, this should be the name of the API method. For example, "google.datastore.v1.Datastore.RunQuery" "google.logging.v1.LoggingService.DeleteLog"
- resourceName
The resource or collection that is the target of the operation. The name is a scheme-less URI, not including the API service name. For example: "shelves/SHELF_ID/books" "shelves/SHELF_ID/books/BOOK_ID"
- numResponseItems
The number of items returned from a List or Query API method, if applicable.
- status
The status of the overall operation.
- authenticationInfo
Authentication information.
- authorizationInfo
Authorization information. If there are multiple resources or permissions involved, then there is one AuthorizationInfo element for each {resource, permission} tuple.
- requestMetadata
Metadata about the operation.
- request
The operation request. This may not include all request parameters, such as those that are too large, privacy-sensitive, or duplicated elsewhere in the log record. It should never include user-generated data, such as file contents. When the JSON object represented here has a proto equivalent, the proto name will be indicated in the
@typeproperty.- response
The operation response. This may not include all response elements, such as those that are too large, privacy-sensitive, or duplicated elsewhere in the log record. It should never include user-generated data, such as file contents. When the JSON object represented here has a proto equivalent, the proto name will be indicated in the
@typeproperty.- serviceData
Other service-specific data about the request, response, and other activities.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- AuditLog
- Product
- Equals
- Updatable
- GeneratedMessage
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
AuditLog(serviceName: String = "", methodName: String = "", resourceName: String = "", numResponseItems: Long = 0L, status: Option[Status] = _root_.scala.None, authenticationInfo: Option[AuthenticationInfo] = _root_.scala.None, authorizationInfo: Seq[AuthorizationInfo] = _root_.scala.Seq.empty, requestMetadata: Option[RequestMetadata] = _root_.scala.None, request: Option[Struct] = _root_.scala.None, response: Option[Struct] = _root_.scala.None, serviceData: Option[Any] = _root_.scala.None, unknownFields: UnknownFieldSet = ...)
- serviceName
The name of the API service performing the operation. For example,
"datastore.googleapis.com".- methodName
The name of the service method or operation. For API calls, this should be the name of the API method. For example, "google.datastore.v1.Datastore.RunQuery" "google.logging.v1.LoggingService.DeleteLog"
- resourceName
The resource or collection that is the target of the operation. The name is a scheme-less URI, not including the API service name. For example: "shelves/SHELF_ID/books" "shelves/SHELF_ID/books/BOOK_ID"
- numResponseItems
The number of items returned from a List or Query API method, if applicable.
- status
The status of the overall operation.
- authenticationInfo
Authentication information.
- authorizationInfo
Authorization information. If there are multiple resources or permissions involved, then there is one AuthorizationInfo element for each {resource, permission} tuple.
- requestMetadata
Metadata about the operation.
- request
The operation request. This may not include all request parameters, such as those that are too large, privacy-sensitive, or duplicated elsewhere in the log record. It should never include user-generated data, such as file contents. When the JSON object represented here has a proto equivalent, the proto name will be indicated in the
@typeproperty.- response
The operation response. This may not include all response elements, such as those that are too large, privacy-sensitive, or duplicated elsewhere in the log record. It should never include user-generated data, such as file contents. When the JSON object represented here has a proto equivalent, the proto name will be indicated in the
@typeproperty.- serviceData
Other service-specific data about the request, response, and other activities.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addAllAuthorizationInfo(__vs: Iterable[AuthorizationInfo]): AuditLog
- def addAuthorizationInfo(__vs: AuthorizationInfo*): AuditLog
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val authenticationInfo: Option[AuthenticationInfo]
- val authorizationInfo: Seq[AuthorizationInfo]
- def clearAuthenticationInfo: AuditLog
- def clearAuthorizationInfo: AuditLog
- def clearRequest: AuditLog
- def clearRequestMetadata: AuditLog
- def clearResponse: AuditLog
- def clearServiceData: AuditLog
- def clearStatus: AuditLog
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
companion: AuditLog.type
- Definition Classes
- AuditLog → GeneratedMessage
- def discardUnknownFields: AuditLog
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def getAuthenticationInfo: AuthenticationInfo
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getField(__field: FieldDescriptor): PValue
- Definition Classes
- AuditLog → GeneratedMessage
-
def
getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- AuditLog → GeneratedMessage
- def getRequest: Struct
- def getRequestMetadata: RequestMetadata
- def getResponse: Struct
- def getServiceData: Any
- def getStatus: Status
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val methodName: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val numResponseItems: Long
- val request: Option[Struct]
- val requestMetadata: Option[RequestMetadata]
- val resourceName: String
- val response: Option[Struct]
-
def
serializedSize: Int
- Definition Classes
- AuditLog → GeneratedMessage
- val serviceData: Option[Any]
- val serviceName: String
- val status: Option[Status]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
-
final
def
toByteString: ByteString
- Definition Classes
- GeneratedMessage
-
final
def
toPMessage: PMessage
- Definition Classes
- GeneratedMessage
-
def
toProtoString: String
- Definition Classes
- AuditLog → GeneratedMessage
- val unknownFields: UnknownFieldSet
-
def
update(ms: (Lens[AuditLog, AuditLog]) ⇒ Mutation[AuditLog]*): AuditLog
- Definition Classes
- Updatable
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def withAuthenticationInfo(__v: AuthenticationInfo): AuditLog
- def withAuthorizationInfo(__v: Seq[AuthorizationInfo]): AuditLog
- def withMethodName(__v: String): AuditLog
- def withNumResponseItems(__v: Long): AuditLog
- def withRequest(__v: Struct): AuditLog
- def withRequestMetadata(__v: RequestMetadata): AuditLog
- def withResourceName(__v: String): AuditLog
- def withResponse(__v: Struct): AuditLog
- def withServiceData(__v: Any): AuditLog
- def withServiceName(__v: String): AuditLog
- def withStatus(__v: Status): AuditLog
- def withUnknownFields(__v: UnknownFieldSet): AuditLog
-
final
def
writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
-
def
writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- AuditLog → GeneratedMessage
-
final
def
writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage