google_api_service_control v0.1.0 GoogleApi.ServiceControl.V1.Model.AuditLog View Source

Common audit log format for Google Cloud Platform API operations.

Attributes

  • authenticationInfo (AuthenticationInfo): Authentication information. Defaults to: null.
  • authorizationInfo ([AuthorizationInfo]): Authorization information. If there are multiple resources or permissions involved, then there is one AuthorizationInfo element for each {resource, permission} tuple. Defaults to: null.
  • metadata (%{optional(String.t) => String.t}): Other service-specific data about the request, response, and other information associated with the current audited event. Defaults to: null.
  • methodName (String.t): 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" Defaults to: null.
  • numResponseItems (String.t): The number of items returned from a List or Query API method, if applicable. Defaults to: null.
  • request (%{optional(String.t) => String.t}): 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 `@type` property. Defaults to: null.
  • requestMetadata (RequestMetadata): Metadata about the operation. Defaults to: null.
  • resourceLocation (ResourceLocation): The resource location information. Defaults to: null.
  • resourceName (String.t): 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" Defaults to: null.
  • response (%{optional(String.t) => String.t}): 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 `@type` property. Defaults to: null.
  • serviceData (%{optional(String.t) => String.t}): Deprecated, use `metadata` field instead. Other service-specific data about the request, response, and other activities. Defaults to: null.
  • serviceName (String.t): The name of the API service performing the operation. For example, `"datastore.googleapis.com"`. Defaults to: null.
  • status (Status): The status of the overall operation. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields

Link to this section Types

Link to this type t() View Source
t() :: %GoogleApi.ServiceControl.V1.Model.AuditLog{
  authenticationInfo: GoogleApi.ServiceControl.V1.Model.AuthenticationInfo.t(),
  authorizationInfo: [GoogleApi.ServiceControl.V1.Model.AuthorizationInfo.t()],
  metadata: map(),
  methodName: any(),
  numResponseItems: any(),
  request: map(),
  requestMetadata: GoogleApi.ServiceControl.V1.Model.RequestMetadata.t(),
  resourceLocation: GoogleApi.ServiceControl.V1.Model.ResourceLocation.t(),
  resourceName: any(),
  response: map(),
  serviceData: map(),
  serviceName: any(),
  status: GoogleApi.ServiceControl.V1.Model.Status.t()
}

Link to this section Functions

Link to this function decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.