SocialGraphApiProtoPrompt

GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoPrompt


Table of Contents ▼

Jump to a specific part of the page:

Description

Used in PeopleAPI layers + FBS/ContactsService (not in ProfileService)

Attributes List

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

View Attributes

Attributes

  1. activeState (type: String.t, default: nil)
    - Indicates if this prompt is active regardless of its reccurrence date, dismiss date or notification triggers. This is required.
  2. content (type: GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoPromptContent, default: nil)
    -
  3. lastDismissDate (type: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeDate, default: nil)
    - The most recent day the user dismissed this prompt. Empty means the user has never dismissed the prompt.
  4. notificationTriggers (type: list(GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoNotificationTrigger), default: nil)
    - If this is empty, only the "Prompt Spark" will be displayed (in the time-range read from per type config), no push notifications will be shown. If push notification are configured with this field, the "Prompt Spark" time-range will be determined by earliest notification value here.
  5. purpose (type: String.t, default: nil)
    - Read-only. This is derived from the containing field value.
  6. recurrence (type: GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoRecurrence, default: nil)
    - How frequently will this prompt occur and how many times.
  7. uniquePromptId (type: String.t, default: nil)
    - Prompt ID is generated by server on initial mutate.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoPrompt{
activeState: String.t() | nil,
content: GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoPromptContent.t() | nil,
lastDismissDate: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeDate.t() | nil,
notificationTriggers: [ GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoNotificationTrigger.t() ] | nil,
purpose: String.t() | nil,
recurrence: GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoRecurrence.t() | nil,
uniquePromptId: String.t() | nil
}

Function

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

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