Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RolloutConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3RolloutConfig

Returns a new instance of GoogleCloudDialogflowCxV3RolloutConfig.



6926
6927
6928
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6926

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#failure_conditionString

Corresponds to the JSON property failureCondition

Returns:

  • (String)


6914
6915
6916
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6914

def failure_condition
  @failure_condition
end

#rollout_conditionString

Corresponds to the JSON property rolloutCondition

Returns:

  • (String)


6919
6920
6921
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6919

def rollout_condition
  @rollout_condition
end

#rollout_stepsArray<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RolloutConfigRolloutStep>

Corresponds to the JSON property rolloutSteps



6924
6925
6926
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6924

def rollout_steps
  @rollout_steps
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6931
6932
6933
6934
6935
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6931

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