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.



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

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

Instance Attribute Details

#failure_conditionString

Corresponds to the JSON property failureCondition

Returns:

  • (String)


6908
6909
6910
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 6908

def failure_condition
  @failure_condition
end

#rollout_conditionString

Corresponds to the JSON property rolloutCondition

Returns:

  • (String)


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

def rollout_condition
  @rollout_condition
end

#rollout_stepsArray<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