View Source GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3VersionVariantsVariant (google_api_dialogflow v0.88.0)

A single flow version with specified traffic allocation.

Attributes

  • isControlGroup (type: boolean(), default: nil) - Whether the variant is for the control group.
  • trafficAllocation (type: number(), default: nil) - Percentage of the traffic which should be routed to this version of flow. Traffic allocation for a single flow must sum up to 1.0.
  • version (type: String.t, default: nil) - The name of the flow version. Format: projects//locations//agents//flows//versions/.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3VersionVariantsVariant{
    isControlGroup: boolean() | nil,
    trafficAllocation: number() | nil,
    version: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.