Google Cloud Dialogflow Cx V3 Client - Class Deployment (0.1.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
NameDescription
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
TypeDescription
string

setName

The name of the deployment.

Format: projects/

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFlowVersion

The name of the flow version for this deployment.

Format: projects/

Returns
TypeDescription
string

setFlowVersion

The name of the flow version for this deployment.

Format: projects/

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getState

The current state of the deployment.

Returns
TypeDescription
int

setState

The current state of the deployment.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getResult

Result of the deployment.

Returns
TypeDescription
Google\Cloud\Dialogflow\Cx\V3\Deployment\Result|null

hasResult

clearResult

setResult

Result of the deployment.

Parameter
NameDescription
var Google\Cloud\Dialogflow\Cx\V3\Deployment\Result
Returns
TypeDescription
$this

getStartTime

Start time of this deployment.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

Start time of this deployment.

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

getEndTime

End time of this deployment.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

End time of this deployment.

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