AssistantApiSettingsHospitalityCardSettingsCardConfig

GoogleApi.ContentWarehouse.V1.Model.AssistantApiSettingsHospitalityCardSettingsCardConfig


Table of Contents ▼

Jump to a specific part of the page:

Description

Configuration for hospitality card.

Attributes List

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

View Attributes

Attributes

  1. activeActionRequired (type: boolean(), default: nil)
    - Whether the UI module requires user action. If true, the UI module can peek on to the top of Ambient. See SmartDisplayModuleState::ACTIVE_ACTION_REQUIRED.
  2. dismissable (type: boolean(), default: nil)
    - Whether the UI module is dismissable.
  3. effectiveTime (type: GoogleApi.ContentWarehouse.V1.Model.AssistantApiTimestamp, default: nil)
    - The time that the module is effective and visible to the user. If not set, the module is effective immediately.
  4. expiryTime (type: GoogleApi.ContentWarehouse.V1.Model.AssistantApiTimestamp, default: nil)
    - The time that the module is expired and invisible to the user. If not set, the module never expires.
  5. imageUrl (type: String.t, default: nil)
    - The image URL for the UI module.
  6. moduleId (type: String.t, default: nil)
    - Module ID.
  7. payloadQuery (type: String.t, default: nil)
    - Payload query to the partner AoG action when user responds to UI Module, e.g. “Tell the hotel how my stay is going”.
  8. title (type: String.t, default: nil)
    - Title of the message to be shown to user at the top of the UI Module.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.AssistantApiSettingsHospitalityCardSettingsCardConfig{
activeActionRequired: boolean() | nil,
dismissable: boolean() | nil,
effectiveTime: GoogleApi.ContentWarehouse.V1.Model.AssistantApiTimestamp.t() | nil,
expiryTime: GoogleApi.ContentWarehouse.V1.Model.AssistantApiTimestamp.t() | nil,
imageUrl: String.t() | nil,
moduleId: String.t() | nil,
payloadQuery: String.t() | nil,
title: String.t() | nil
}

Function

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

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