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

Common audit log format for Google Cloud Platform API operations.

Attributes

  • authenticationInfo (GoogleApi.ServiceControl.V1.Model.AuthenticationInfo.t): Authentication information. Defaults to nil.

  • authorizationInfo (list(GoogleApi.ServiceControl.V1.Model.AuthorizationInfo.t)): Authorization information. If there are multiple resources or permissions involved, then there is one AuthorizationInfo element for each {resource, permission} tuple. Defaults to nil.

  • metadata (map()): Other service-specific data about the request, response, and other information associated with the current audited event. Defaults to nil.

  • 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 nil.

  • numResponseItems (String.t): The number of items returned from a List or Query API method, if applicable. Defaults to nil.

  • request (map()): 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 nil.

  • requestMetadata (GoogleApi.ServiceControl.V1.Model.RequestMetadata.t): Metadata about the operation. Defaults to nil.

  • resourceLocation (GoogleApi.ServiceControl.V1.Model.ResourceLocation.t): The resource location information. Defaults to nil.

  • 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 nil.

  • resourceOriginalState (map()): The resource's original state before mutation. Present only for operations which have successfully modified the targeted resource(s). In general, this field should contain all changed fields, except those that are already been included in request, response, metadata or service_data fields. When the JSON object represented here has a proto equivalent, the proto name will be indicated in the @type property. Defaults to nil.

  • response (map()): 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 nil.

  • serviceData (map()): Deprecated, use metadata field instead. Other service-specific data about the request, response, and other activities. Defaults to nil.

  • serviceName (String.t): The name of the API service performing the operation. For example, "datastore.googleapis.com". Defaults to nil.

  • status (GoogleApi.ServiceControl.V1.Model.Status.t): The status of the overall operation. Defaults to nil.

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: String.t(),
  numResponseItems: String.t(),
  request: map(),
  requestMetadata: GoogleApi.ServiceControl.V1.Model.RequestMetadata.t(),
  resourceLocation: GoogleApi.ServiceControl.V1.Model.ResourceLocation.t(),
  resourceName: String.t(),
  resourceOriginalState: map(),
  response: map(),
  serviceData: map(),
  serviceName: String.t(),
  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.