Google Cloud Dialogflow Cx V3 Client - Class RolloutStep (0.2.1)

Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class RolloutStep.

A single rollout step with specified traffic allocation.

Generated from protobuf message google.cloud.dialogflow.cx.v3.RolloutConfig.RolloutStep

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3 \ RolloutConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ display_name string

The name of the rollout step;

↳ traffic_percent int

The percentage of traffic allocated to the flow version of this rollout step. (0%, 100%].

↳ min_duration 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.

getDisplayName

The name of the rollout step;

Returns
TypeDescription
string

setDisplayName

The name of the rollout step;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTrafficPercent

The percentage of traffic allocated to the flow version of this rollout step. (0%, 100%].

Returns
TypeDescription
int

setTrafficPercent

The percentage of traffic allocated to the flow version of this rollout step. (0%, 100%].

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getMinDuration

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
TypeDescription
Google\Protobuf\Duration|null

hasMinDuration

clearMinDuration

setMinDuration

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.

Parameter
NameDescription
var Google\Protobuf\Duration
Returns
TypeDescription
$this