SessionEntityTypes

google.cloud.dialogflow.v2beta1. SessionEntityTypes

Represents a SessionEntityTypes

Constructor

new SessionEntityTypes(rpcImpl, requestDelimitedopt, responseDelimitedopt)

Constructs a new SessionEntityTypes service.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Extends

  • $protobuf.rpc.Service

Methods

(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {SessionEntityTypes}

Creates new SessionEntityTypes service using the specified rpc implementation.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

createSessionEntityType(request, callback) → {undefined}

Calls CreateSessionEntityType.

Parameters:
Name Type Description
request google.cloud.dialogflow.v2beta1.ICreateSessionEntityTypeRequest

CreateSessionEntityTypeRequest message or plain object

callback google.cloud.dialogflow.v2beta1.SessionEntityTypes.CreateSessionEntityTypeCallback

Node-style callback called with the error, if any, and SessionEntityType

createSessionEntityType(request) → {Promise.<google.cloud.dialogflow.v2beta1.SessionEntityType>}

Calls CreateSessionEntityType.

Parameters:
Name Type Description
request google.cloud.dialogflow.v2beta1.ICreateSessionEntityTypeRequest

CreateSessionEntityTypeRequest message or plain object

deleteSessionEntityType(request, callback) → {undefined}

Calls DeleteSessionEntityType.

Parameters:
Name Type Description
request google.cloud.dialogflow.v2beta1.IDeleteSessionEntityTypeRequest

DeleteSessionEntityTypeRequest message or plain object

callback google.cloud.dialogflow.v2beta1.SessionEntityTypes.DeleteSessionEntityTypeCallback

Node-style callback called with the error, if any, and Empty

deleteSessionEntityType(request) → {Promise.<google.protobuf.Empty>}

Calls DeleteSessionEntityType.

Parameters:
Name Type Description
request google.cloud.dialogflow.v2beta1.IDeleteSessionEntityTypeRequest

DeleteSessionEntityTypeRequest message or plain object

getSessionEntityType(request, callback) → {undefined}

Calls GetSessionEntityType.

Parameters:
Name Type Description
request google.cloud.dialogflow.v2beta1.IGetSessionEntityTypeRequest

GetSessionEntityTypeRequest message or plain object

callback google.cloud.dialogflow.v2beta1.SessionEntityTypes.GetSessionEntityTypeCallback

Node-style callback called with the error, if any, and SessionEntityType

getSessionEntityType(request) → {Promise.<google.cloud.dialogflow.v2beta1.SessionEntityType>}

Calls GetSessionEntityType.

Parameters:
Name Type Description
request google.cloud.dialogflow.v2beta1.IGetSessionEntityTypeRequest

GetSessionEntityTypeRequest message or plain object

listSessionEntityTypes(request, callback) → {undefined}

Calls ListSessionEntityTypes.

Parameters:
Name Type Description
request google.cloud.dialogflow.v2beta1.IListSessionEntityTypesRequest

ListSessionEntityTypesRequest message or plain object

callback google.cloud.dialogflow.v2beta1.SessionEntityTypes.ListSessionEntityTypesCallback

Node-style callback called with the error, if any, and ListSessionEntityTypesResponse

listSessionEntityTypes(request) → {Promise.<google.cloud.dialogflow.v2beta1.ListSessionEntityTypesResponse>}

Calls ListSessionEntityTypes.

Parameters:
Name Type Description
request google.cloud.dialogflow.v2beta1.IListSessionEntityTypesRequest

ListSessionEntityTypesRequest message or plain object

updateSessionEntityType(request, callback) → {undefined}

Calls UpdateSessionEntityType.

Parameters:
Name Type Description
request google.cloud.dialogflow.v2beta1.IUpdateSessionEntityTypeRequest

UpdateSessionEntityTypeRequest message or plain object

callback google.cloud.dialogflow.v2beta1.SessionEntityTypes.UpdateSessionEntityTypeCallback

Node-style callback called with the error, if any, and SessionEntityType

updateSessionEntityType(request) → {Promise.<google.cloud.dialogflow.v2beta1.SessionEntityType>}

Calls UpdateSessionEntityType.

Parameters:
Name Type Description
request google.cloud.dialogflow.v2beta1.IUpdateSessionEntityTypeRequest

UpdateSessionEntityTypeRequest message or plain object

Type Definitions

CreateSessionEntityTypeCallback(error, responseopt)

Callback as used by google.cloud.dialogflow.v2beta1.SessionEntityTypes#createSessionEntityType.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.dialogflow.v2beta1.SessionEntityType <optional>

SessionEntityType

DeleteSessionEntityTypeCallback(error, responseopt)

Callback as used by google.cloud.dialogflow.v2beta1.SessionEntityTypes#deleteSessionEntityType.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.protobuf.Empty <optional>

Empty

GetSessionEntityTypeCallback(error, responseopt)

Callback as used by google.cloud.dialogflow.v2beta1.SessionEntityTypes#getSessionEntityType.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.dialogflow.v2beta1.SessionEntityType <optional>

SessionEntityType

ListSessionEntityTypesCallback(error, responseopt)

Callback as used by google.cloud.dialogflow.v2beta1.SessionEntityTypes#listSessionEntityTypes.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.dialogflow.v2beta1.ListSessionEntityTypesResponse <optional>

ListSessionEntityTypesResponse

UpdateSessionEntityTypeCallback(error, responseopt)

Callback as used by google.cloud.dialogflow.v2beta1.SessionEntityTypes#updateSessionEntityType.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.dialogflow.v2beta1.SessionEntityType <optional>

SessionEntityType