View Source GoogleApi.Admin.Reports_v1.Model.Activity (google_api_admin v0.40.0)

JSON template for the activity resource.

Attributes

  • actor (type: GoogleApi.Admin.Reports_v1.Model.ActivityActor.t, default: nil) - User doing the action.
  • etag (type: String.t, default: nil) - ETag of the entry.
  • events (type: list(GoogleApi.Admin.Reports_v1.Model.ActivityEvents.t), default: nil) - Activity events in the report.
  • id (type: GoogleApi.Admin.Reports_v1.Model.ActivityId.t, default: nil) - Unique identifier for each activity record.
  • ipAddress (type: String.t, default: nil) - IP address of the user doing the action. This is the Internet Protocol (IP) address of the user when logging into Google Workspace, which may or may not reflect the user's physical location. For example, the IP address can be the user's proxy server's address or a virtual private network (VPN) address. The API supports IPv4 and IPv6.
  • kind (type: String.t, default: admin#reports#activity) - The type of API resource. For an activity report, the value is audit#activity.
  • ownerDomain (type: String.t, default: nil) - This is the domain that is affected by the report's event. For example domain of Admin console or the Drive application's document owner.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Admin.Reports_v1.Model.Activity{
  actor: GoogleApi.Admin.Reports_v1.Model.ActivityActor.t() | nil,
  etag: String.t() | nil,
  events: [GoogleApi.Admin.Reports_v1.Model.ActivityEvents.t()] | nil,
  id: GoogleApi.Admin.Reports_v1.Model.ActivityId.t() | nil,
  ipAddress: String.t() | nil,
  kind: String.t() | nil,
  ownerDomain: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.