View Source GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3VersionVariantsVariant (google_api_dialogflow v0.74.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/.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.