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

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
Name Description
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
Type Description
string

setDisplayName

The name of the rollout step;

Parameter
Name Description
var string
Returns
Type Description
$this

getTrafficPercent

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

Returns
Type Description
int

setTrafficPercent

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

Parameter
Name Description
var int
Returns
Type Description
$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
Type Description
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
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this