Class: Google::Cloud::Dialogflow::CX::V3::RolloutConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::CX::V3::RolloutConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/cx/v3/experiment.rb
Overview
The configuration for auto rollout.
Defined Under Namespace
Classes: RolloutStep
Instance Attribute Summary collapse
-
#failure_condition ⇒ ::String
The conditions that are used to evaluate the failure of a rollout step.
-
#rollout_condition ⇒ ::String
The conditions that are used to evaluate the success of a rollout step.
-
#rollout_steps ⇒ ::Array<::Google::Cloud::Dialogflow::CX::V3::RolloutConfig::RolloutStep>
Steps to roll out a flow version.
Instance Attribute Details
#failure_condition ⇒ ::String
Returns The conditions that are used to evaluate the failure of a rollout step. If not specified, no rollout steps will fail. E.g. "containment_rate < 10% OR average_turn_count < 3". See the conditions reference.
293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/experiment.rb', line 293 class RolloutConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A single rollout step with specified traffic allocation. # @!attribute [rw] display_name # @return [::String] # The name of the rollout step; # @!attribute [rw] traffic_percent # @return [::Integer] # The percentage of traffic allocated to the flow version of this rollout # step. (0%, 100%]. # @!attribute [rw] min_duration # @return [::Google::Protobuf::Duration] # The minimum time that this step should last. Should be longer than 1 # hour. If not set, the default minimum duration for each step will be 1 # hour. class RolloutStep include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#rollout_condition ⇒ ::String
Returns The conditions that are used to evaluate the success of a rollout step. If not specified, all rollout steps will proceed to the next one unless failure conditions are met. E.g. "containment_rate > 60% AND callback_rate < 20%". See the conditions reference.
293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/experiment.rb', line 293 class RolloutConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A single rollout step with specified traffic allocation. # @!attribute [rw] display_name # @return [::String] # The name of the rollout step; # @!attribute [rw] traffic_percent # @return [::Integer] # The percentage of traffic allocated to the flow version of this rollout # step. (0%, 100%]. # @!attribute [rw] min_duration # @return [::Google::Protobuf::Duration] # The minimum time that this step should last. Should be longer than 1 # hour. If not set, the default minimum duration for each step will be 1 # hour. class RolloutStep include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#rollout_steps ⇒ ::Array<::Google::Cloud::Dialogflow::CX::V3::RolloutConfig::RolloutStep>
Returns Steps to roll out a flow version. Steps should be sorted by percentage in ascending order.
293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/experiment.rb', line 293 class RolloutConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A single rollout step with specified traffic allocation. # @!attribute [rw] display_name # @return [::String] # The name of the rollout step; # @!attribute [rw] traffic_percent # @return [::Integer] # The percentage of traffic allocated to the flow version of this rollout # step. (0%, 100%]. # @!attribute [rw] min_duration # @return [::Google::Protobuf::Duration] # The minimum time that this step should last. Should be longer than 1 # hour. If not set, the default minimum duration for each step will be 1 # hour. class RolloutStep include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |