Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RolloutConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RolloutConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Overview
The configuration for auto rollout.
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::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep>
Steps to roll out a flow version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1RolloutConfig
constructor
A new instance of GoogleCloudDialogflowCxV3beta1RolloutConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1RolloutConfig
Returns a new instance of GoogleCloudDialogflowCxV3beta1RolloutConfig.
10882 10883 10884 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10882 def initialize(**args) update!(**args) end |
Instance Attribute Details
#failure_condition ⇒ String
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.
Corresponds to the JSON property failureCondition
10865 10866 10867 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10865 def failure_condition @failure_condition end |
#rollout_condition ⇒ 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.
Corresponds to the JSON property rolloutCondition
10874 10875 10876 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10874 def rollout_condition @rollout_condition end |
#rollout_steps ⇒ Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RolloutConfigRolloutStep>
Steps to roll out a flow version. Steps should be sorted by percentage in
ascending order.
Corresponds to the JSON property rolloutSteps
10880 10881 10882 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10880 def rollout_steps @rollout_steps end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10887 10888 10889 10890 10891 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 10887 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 |