View Source GoogleApi.CloudSearch.V1.Model.ThirdPartyGenericCard (google_api_cloud_search v0.23.0)

Attributes

  • cardId (type: String.t, default: nil) - Unique identifier for the card.
  • category (type: String.t, default: nil) - Category that the card belongs to.
  • content (type: GoogleApi.CloudSearch.V1.Model.Content.t, default: nil) - [Required] Card content.
  • context (type: GoogleApi.CloudSearch.V1.Model.Context.t, default: nil) - [Required] Context where the card should be triggered.
  • isDismissible (type: boolean(), default: nil) - Whether the card can be dismissed.
  • priority (type: integer(), default: nil) - Priority of the card, where 0 is the highest priority.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudSearch.V1.Model.ThirdPartyGenericCard{
  cardId: String.t() | nil,
  category: String.t() | nil,
  content: GoogleApi.CloudSearch.V1.Model.Content.t() | nil,
  context: GoogleApi.CloudSearch.V1.Model.Context.t() | nil,
  isDismissible: boolean() | nil,
  priority: integer() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.