Google Cloud Dialogflow V2 Client - Class UpdateSessionEntityTypeRequest (1.2.0)

Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class UpdateSessionEntityTypeRequest.

The request message for SessionEntityTypes.UpdateSessionEntityType.

Generated from protobuf message google.cloud.dialogflow.v2.UpdateSessionEntityTypeRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ session_entity_type Google\Cloud\Dialogflow\V2\SessionEntityType

Required. The session entity type to update.

↳ update_mask Google\Protobuf\FieldMask

Optional. The mask to control which fields get updated.

getSessionEntityType

Required. The session entity type to update.

Returns
TypeDescription
Google\Cloud\Dialogflow\V2\SessionEntityType|null

hasSessionEntityType

clearSessionEntityType

setSessionEntityType

Required. The session entity type to update.

Parameter
NameDescription
var Google\Cloud\Dialogflow\V2\SessionEntityType
Returns
TypeDescription
$this

getUpdateMask

Optional. The mask to control which fields get updated.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. The mask to control which fields get updated.

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