Dialogflow CX V3 API - Class Google::Cloud::Dialogflow::CX::V3::RolloutConfig::RolloutStep (v0.21.0)

Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::RolloutConfig::RolloutStep.

A single rollout step with specified traffic allocation.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#display_name

def display_name() -> ::String
Returns
  • (::String) — The name of the rollout step;

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — The name of the rollout step;
Returns
  • (::String) — The name of the rollout step;

#min_duration

def min_duration() -> ::Google::Protobuf::Duration
Returns
  • (::Google::Protobuf::Duration) — The minimum time that this step should last. Should be longer than 1 hour. If not set, the default minimum duration for each step will be 1 hour.

#min_duration=

def min_duration=(value) -> ::Google::Protobuf::Duration
Parameter
  • value (::Google::Protobuf::Duration) — The minimum time that this step should last. Should be longer than 1 hour. If not set, the default minimum duration for each step will be 1 hour.
Returns
  • (::Google::Protobuf::Duration) — The minimum time that this step should last. Should be longer than 1 hour. If not set, the default minimum duration for each step will be 1 hour.

#traffic_percent

def traffic_percent() -> ::Integer
Returns
  • (::Integer) — The percentage of traffic allocated to the flow version of this rollout step. (0%, 100%].

#traffic_percent=

def traffic_percent=(value) -> ::Integer
Parameter
  • value (::Integer) — The percentage of traffic allocated to the flow version of this rollout step. (0%, 100%].
Returns
  • (::Integer) — The percentage of traffic allocated to the flow version of this rollout step. (0%, 100%].