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

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 single flow version with specified traffic allocation.

Instance Attribute Summary collapse

Instance Attribute Details

#is_control_group::Boolean

Returns Whether the variant is for the control group.

Returns:

  • (::Boolean)

    Whether the variant is for the control group.



257
258
259
260
# File 'proto_docs/google/cloud/dialogflow/cx/v3/experiment.rb', line 257

class Variant
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#traffic_allocation::Float

Returns 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.

Returns:

  • (::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.



257
258
259
260
# File 'proto_docs/google/cloud/dialogflow/cx/v3/experiment.rb', line 257

class Variant
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#version::String

Returns The name of the flow version. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>.

Returns:

  • (::String)

    The name of the flow version. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>.



257
258
259
260
# File 'proto_docs/google/cloud/dialogflow/cx/v3/experiment.rb', line 257

class Variant
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end