GoogleApi.DFAReporting.V34.Model.SiteCompanionSetting (google_api_dfa_reporting v0.31.0)

View Source

Companion Settings

Attributes

  • companionsDisabled (type: boolean(), default: nil) - Whether companions are disabled for this site template.
  • enabledSizes (type: list(GoogleApi.DFAReporting.V34.Model.Size.t), default: nil) - Allowlist of companion sizes to be served via this site template. Set this list to null or empty to serve all companion sizes.
  • imageOnly (type: boolean(), default: nil) - Whether to serve only static images as companions.
  • kind (type: String.t, default: nil) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#siteCompanionSetting".

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.DFAReporting.V34.Model.SiteCompanionSetting{
  companionsDisabled: boolean() | nil,
  enabledSizes: [GoogleApi.DFAReporting.V34.Model.Size.t()] | nil,
  imageOnly: boolean() | nil,
  kind: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.