Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RolloutConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RolloutConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Instance Attribute Summary collapse
-
#failure_condition ⇒ String
Corresponds to the JSON property
failureCondition. -
#rollout_condition ⇒ String
Corresponds to the JSON property
rolloutCondition. -
#rollout_steps ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RolloutConfigRolloutStep>
Corresponds to the JSON property
rolloutSteps.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3RolloutConfig
constructor
A new instance of GoogleCloudDialogflowCxV3RolloutConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3RolloutConfig
Returns a new instance of GoogleCloudDialogflowCxV3RolloutConfig.
6920 6921 6922 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6920 def initialize(**args) update!(**args) end |
Instance Attribute Details
#failure_condition ⇒ String
Corresponds to the JSON property failureCondition
6908 6909 6910 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6908 def failure_condition @failure_condition end |
#rollout_condition ⇒ String
Corresponds to the JSON property rolloutCondition
6913 6914 6915 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6913 def rollout_condition @rollout_condition end |
#rollout_steps ⇒ Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RolloutConfigRolloutStep>
Corresponds to the JSON property rolloutSteps
6918 6919 6920 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6918 def rollout_steps @rollout_steps end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6925 6926 6927 6928 6929 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6925 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 |