GoogleApi.WorkspaceEvents.V1.Model.PayloadOptions (google_api_workspace_events v0.4.1)

View Source

Options about what data to include in the event payload. Only supported for Google Chat events.

Attributes

  • fieldMask (type: String.t, default: nil) - Optional. If include_resource is set to true, the list of fields to include in the event payload. Separate fields with a comma. For example, to include a Google Chat message's sender and create time, enter message.sender,message.createTime. If omitted, the payload includes all fields for the resource. If you specify a field that doesn't exist for the resource, the system ignores the field.
  • includeResource (type: boolean(), default: nil) - Optional. Whether the event payload includes data about the resource that changed. For example, for an event where a Google Chat message was created, whether the payload contains data about the Message resource. If false, the event payload only includes the name of the changed resource.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.WorkspaceEvents.V1.Model.PayloadOptions{
  fieldMask: String.t() | nil,
  includeResource: boolean() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.