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

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

The request message for Environments.UpdateEnvironment.

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

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ environment Google\Cloud\Dialogflow\Cx\V3\Environment

Required. The environment to update.

↳ update_mask Google\Protobuf\FieldMask

Required. The mask to control which fields get updated.

getEnvironment

Required. The environment to update.

Returns
TypeDescription
Google\Cloud\Dialogflow\Cx\V3\Environment|null

hasEnvironment

clearEnvironment

setEnvironment

Required. The environment to update.

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

getUpdateMask

Required. The mask to control which fields get updated.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. The mask to control which fields get updated.

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

static::build

Parameters
NameDescription
environment Google\Cloud\Dialogflow\Cx\V3\Environment

Required. The environment to update.

updateMask Google\Protobuf\FieldMask

Required. The mask to control which fields get updated.

Returns
TypeDescription
Google\Cloud\Dialogflow\Cx\V3\UpdateEnvironmentRequest