View Source GoogleApi.Gmail.V1.Model.WatchResponse (google_api_gmail v0.15.0)

Push notification watch response.

Attributes

  • expiration (type: String.t, default: nil) - When Gmail will stop sending notifications for mailbox updates (epoch millis). Call watch again before this time to renew the watch.
  • historyId (type: String.t, default: nil) - The ID of the mailbox's current history record.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Gmail.V1.Model.WatchResponse{
  expiration: String.t() | nil,
  historyId: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.