View Source GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesCloudProviderInfoAgentStyle (google_api_content_warehouse v0.4.0)

The style customizations for the 3p agent.

Attributes

  • backgroundColor (type: GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesColor.t, default: nil) - The background color of the agent. Used if no background image is specified for the given display orientation, or if the provided background image does not fit.
  • headerTheme (type: String.t, default: nil) -
  • landscapeBackgroundImageUrl (type: String.t, default: nil) - URL for the background image of the agent on landscape display.
  • logoUrl (type: String.t, default: nil) - URL for the image containing the 3p logo. This can include logomark and logotype, or logotype only. If present, this can be used in place of the square logo contained in the top level logo_url field in CloudProviderInfo. See go/cards-logo-customization for details on applying this logo.
  • maskColor (type: GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesColor.t, default: nil) - The color of the mask to apply to the background. See go/aog-cards-background-mask for details on applying this mask.
  • portraitBackgroundImageUrl (type: String.t, default: nil) - URL for the background image of the agent on portrait display.
  • primaryColor (type: GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesColor.t, default: nil) - The primary color of the agent. Used by the client to style the header and suggestion chips.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesCloudProviderInfoAgentStyle{
    backgroundColor:
      GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesColor.t() | nil,
    headerTheme: String.t() | nil,
    landscapeBackgroundImageUrl: String.t() | nil,
    logoUrl: String.t() | nil,
    maskColor:
      GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesColor.t() | nil,
    portraitBackgroundImageUrl: String.t() | nil,
    primaryColor:
      GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesColor.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.