package audit
- Alphabetic
- Public
- All
Type Members
-
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.
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()
-
final
case class
AuthenticationInfo(principalEmail: String = "", unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[AuthenticationInfo] with Product with Serializable
Authentication information for the operation.
Authentication information for the operation.
- principalEmail
The email address of the authenticated user making the request.
- Annotations
- @SerialVersionUID()
-
final
case class
AuthorizationInfo(resource: String = "", permission: String = "", granted: Boolean = false, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[AuthorizationInfo] with Product with Serializable
Authorization information for the operation.
Authorization information for the operation.
- resource
The resource being accessed, as a REST-style string. For example: bigquery.googlapis.com/projects/PROJECTID/datasets/DATASETID
- permission
The required IAM permission.
- granted
Whether or not authorization for
resourceandpermissionwas granted.
- Annotations
- @SerialVersionUID()
-
final
case class
RequestMetadata(callerIp: String = "", callerSuppliedUserAgent: String = "", unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[RequestMetadata] with Product with Serializable
Metadata about the request.
Metadata about the request.
- callerIp
The IP address of the caller.
- callerSuppliedUserAgent
The user agent of the caller. This information is not authenticated and should be treated accordingly. For example: +
google-api-python-client/1.4.0: The request was made by the Google API client for Python. +Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62: The request was made by the Google Cloud SDK CLI (gcloud). +AppEngine-Google; (+http://code.google.com/appengine; appid: s~my-project: The request was made from themy-projectApp Engine app.
- Annotations
- @SerialVersionUID()
Value Members
- object AuditLog extends GeneratedMessageCompanion[AuditLog] with Serializable
- object AuditLogProto extends GeneratedFileObject
- object AuthenticationInfo extends GeneratedMessageCompanion[AuthenticationInfo] with Serializable
- object AuthorizationInfo extends GeneratedMessageCompanion[AuthorizationInfo] with Serializable
- object RequestMetadata extends GeneratedMessageCompanion[RequestMetadata] with Serializable