Google Cloud Dialogflow Cx V3 Client - Class Deployment (0.4.1)

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

Represents a deployment in an environment. A deployment happens when a flow version configured to be active in the environment. You can configure running pre-deployment steps, e.g. running validation test cases, experiment auto-rollout, etc.

Generated from protobuf message google.cloud.dialogflow.cx.v3.Deployment

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

The name of the deployment. Format: projects/

↳ flow_version string

The name of the flow version for this deployment. Format: projects/

↳ state int

The current state of the deployment.

↳ result Google\Cloud\Dialogflow\Cx\V3\Deployment\Result

Result of the deployment.

↳ start_time Google\Protobuf\Timestamp

Start time of this deployment.

↳ end_time Google\Protobuf\Timestamp

End time of this deployment.

getName

The name of the deployment.

Format: projects/

Returns
Type Description
string

setName

The name of the deployment.

Format: projects/

Parameter
Name Description
var string
Returns
Type Description
$this

getFlowVersion

The name of the flow version for this deployment.

Format: projects/

Returns
Type Description
string

setFlowVersion

The name of the flow version for this deployment.

Format: projects/

Parameter
Name Description
var string
Returns
Type Description
$this

getState

The current state of the deployment.

Returns
Type Description
int

setState

The current state of the deployment.

Parameter
Name Description
var int
Returns
Type Description
$this

getResult

Result of the deployment.

Returns
Type Description
Google\Cloud\Dialogflow\Cx\V3\Deployment\Result|null

hasResult

clearResult

setResult

Result of the deployment.

Parameter
Name Description
var Google\Cloud\Dialogflow\Cx\V3\Deployment\Result
Returns
Type Description
$this

getStartTime

Start time of this deployment.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

Start time of this deployment.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getEndTime

End time of this deployment.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

End time of this deployment.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this