class Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RolloutConfig
The configuration for auto rollout.
Attributes
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](cloud.google. com/dialogflow/cx/docs/reference/condition). Corresponds to the JSON property `failureCondition` @return [String]
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](cloud.google.com/dialogflow/cx/docs/ reference/condition). Corresponds to the JSON property `rolloutCondition` @return [String]
Steps to roll out a flow version. Steps should be sorted by percentage in ascending order. Corresponds to the JSON property `rolloutSteps` @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RolloutConfigRolloutStep>]
Public Class Methods
# File lib/google/apis/dialogflow_v3/classes.rb, line 4535 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dialogflow_v3/classes.rb, line 4540 def update!(**args) @failure_condition = args[:failure_condition] if args.key?(:failure_condition) @rollout_condition = args[:rollout_condition] if args.key?(:rollout_condition) @rollout_steps = args[:rollout_steps] if args.key?(:rollout_steps) end