AssistantApiSettingsHospitalityCardSettingsYouTubeCardConfig

GoogleApi.ContentWarehouse.V1.Model.AssistantApiSettingsHospitalityCardSettingsYouTubeCardConfig


Table of Contents ▼

Jump to a specific part of the page:

Description

Configuration for YouTube video card (Stargazer tile).

Attributes List

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

View Attributes

Attributes

  1. imageUrl (type: String.t, default: nil)
    - URL of image to go on card. The URL must be a public link accessible from ZeroState.
  2. playlistId (type: String.t, default: nil)
    - ID of YouTube playlist to play on card tap. A playlist is used instead of a single video id to avoid autoplaying related videos. The playlist and the videos it contains must be public or unlisted to be accessible from ZeroState.
  3. text (type: String.t, default: nil)
    - Text on card (i.e., video title).

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.AssistantApiSettingsHospitalityCardSettingsYouTubeCardConfig{
imageUrl: String.t() | nil,
playlistId: String.t() | nil,
text: String.t() | nil
}

Function

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

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