View Source GoogleApi.CloudSearch.V1.Model.BackgroundColoredText (google_api_cloud_search v0.22.0)

Attributes

  • backgroundColor (type: String.t, default: nil) - [Optional] Color of the background. The text color can change depending on the selected background color, and the client does not have control over this. If missing, the background will be WHITE.
  • text (type: String.t, default: nil) - [Required] The text to display.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudSearch.V1.Model.BackgroundColoredText{
  backgroundColor: String.t() | nil,
  text: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.