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):
Attributes
-
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. -
dismissable
(type:boolean()
, default:nil
)
- Whether the UI module is dismissable. -
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. -
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. -
imageUrl
(type:String.t
, default:nil
)
- The image URL for the UI module. -
moduleId
(type:String.t
, default:nil
)
- Module ID. -
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”. -
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
}
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