AssistantRemindersAttachment

GoogleApi.ContentWarehouse.V1.Model.AssistantRemindersAttachment


Table of Contents ▼

Jump to a specific part of the page:

Description

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 List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. 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.
  2. surfaceType (type: list(String.t), default: nil)
    - REQUIRED. Surface types this attachment should be shown.

Type

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

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.AssistantRemindersAttachment