Google Cloud Dialogflow V2 Client - Class UpdateSessionEntityTypeRequest (1.12.2)

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

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
Google\Cloud\Dialogflow\V2\SessionEntityType|null

hasSessionEntityType

clearSessionEntityType

setSessionEntityType

Required. The session entity type to update.

Parameter
Name Description
var Google\Cloud\Dialogflow\V2\SessionEntityType
Returns
Type Description
$this

getUpdateMask

Optional. The mask to control which fields get updated.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. The mask to control which fields get updated.

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

static::build

Parameter
Name Description
sessionEntityType Google\Cloud\Dialogflow\V2\SessionEntityType

Required. The session entity type to update.

Returns
Type Description
Google\Cloud\Dialogflow\V2\UpdateSessionEntityTypeRequest

static::buildFromSessionEntityTypeUpdateMask

Parameters
Name Description
sessionEntityType Google\Cloud\Dialogflow\V2\SessionEntityType

Required. The session entity type to update.

updateMask Google\Protobuf\FieldMask

Optional. The mask to control which fields get updated.

Returns
Type Description
Google\Cloud\Dialogflow\V2\UpdateSessionEntityTypeRequest