Google Cloud Dialogflow V2 Client - Class UpdateSessionEntityTypeRequest (1.17.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 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
SessionEntityType|null

hasSessionEntityType

clearSessionEntityType

setSessionEntityType

Required. The session entity type to update.

Parameter
Name Description
var 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 SessionEntityType

Required. The session entity type to update.

Returns
Type Description
UpdateSessionEntityTypeRequest

static::buildFromSessionEntityTypeUpdateMask

Parameters
Name Description
sessionEntityType SessionEntityType

Required. The session entity type to update.

updateMask Google\Protobuf\FieldMask

Optional. The mask to control which fields get updated.

Returns
Type Description
UpdateSessionEntityTypeRequest