Class: Google::Cloud::Dialogflow::CX::V3::VersionVariants

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/cx/v3/experiment.rb

Overview

A list of flow version variants.

Defined Under Namespace

Classes: Variant

Instance Attribute Summary collapse

Instance Attribute Details

#variants::Array<::Google::Cloud::Dialogflow::CX::V3::VersionVariants::Variant>

Returns A list of flow version variants.

Returns:



240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
# File 'proto_docs/google/cloud/dialogflow/cx/v3/experiment.rb', line 240

class VersionVariants
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # A single flow version with specified traffic allocation.
  # @!attribute [rw] version
  #   @return [::String]
  #     The name of the flow version.
  #     Format:
  #     `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>`.
  # @!attribute [rw] traffic_allocation
  #   @return [::Float]
  #     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.
  # @!attribute [rw] is_control_group
  #   @return [::Boolean]
  #     Whether the variant is for the control group.
  class Variant
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end