View Source GoogleApi.Content.V21.Model.ActionReason (google_api_content v0.67.1)

A single reason why the action is not available.

Attributes

  • action (type: GoogleApi.Content.V21.Model.Action.t, default: nil) - Optional. An action that needs to be performed to solve the problem represented by this reason. This action will always be available. Should be rendered as a link or button next to the summarizing message. For example, the review may be available only once merchant configure all required attributes. In such a situation this action can be a link to the form, where they can fill the missing attribute to unblock the main action.
  • detail (type: String.t, default: nil) - Detailed explanation of the reason. Should be displayed as a hint if present.
  • message (type: String.t, default: nil) - Messages summarizing the reason, why the action is not available. For example: "Review requested on Jan 03. Review requests can take a few days to complete."

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V21.Model.ActionReason{
  action: GoogleApi.Content.V21.Model.Action.t() | nil,
  detail: String.t() | nil,
  message: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.