View Source GoogleApi.ContentWarehouse.V1.Model.AssistantRemindersAttachment (google_api_content_warehouse v0.4.0)

Proto descrbing an attachment to an Assistant Reminder. If the attachment has different behavior on different surfaces (e.g., deeplinks), there will be multiple attachments attach to the Reminder. Each of them will specify the surface type and the corresponding deeplink.

Attributes

  • id (type: String.t, default: nil) - REQUIRED. An unique identifier for the attachment. We have a plan to index this field, so it's marked as REQUIRED. Chat with opa-reminders-eng@ if you have a use case without an attachment ID.
  • link (type: GoogleApi.ContentWarehouse.V1.Model.AssistantRemindersAttachmentLink.t, default: nil) -
  • surfaceType (type: list(String.t), default: nil) - REQUIRED. Surface types this attachment should be shown.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.AssistantRemindersAttachment{
  id: String.t() | nil,
  link:
    GoogleApi.ContentWarehouse.V1.Model.AssistantRemindersAttachmentLink.t()
    | nil,
  surfaceType: [String.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.