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
createSessionEntityType(request, callback) → {undefined}
Calls CreateSessionEntityType.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dialogflow.cx.v3.ICreateSessionEntityTypeRequest |
CreateSessionEntityTypeRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3.SessionEntityTypes.CreateSessionEntityTypeCallback |
Node-style callback called with the error, if any, and SessionEntityType |
Returns:
Type | Description |
---|---|
undefined |
createSessionEntityType(request) → {Promise.<google.cloud.dialogflow.cx.v3.SessionEntityType>}
Calls CreateSessionEntityType.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dialogflow.cx.v3.ICreateSessionEntityTypeRequest |
CreateSessionEntityTypeRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.dialogflow.cx.v3.SessionEntityType> |
Promise |
deleteSessionEntityType(request, callback) → {undefined}
Calls DeleteSessionEntityType.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dialogflow.cx.v3.IDeleteSessionEntityTypeRequest |
DeleteSessionEntityTypeRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3.SessionEntityTypes.DeleteSessionEntityTypeCallback |
Node-style callback called with the error, if any, and Empty |
Returns:
Type | Description |
---|---|
undefined |
deleteSessionEntityType(request) → {Promise.<google.protobuf.Empty>}
Calls DeleteSessionEntityType.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dialogflow.cx.v3.IDeleteSessionEntityTypeRequest |
DeleteSessionEntityTypeRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.protobuf.Empty> |
Promise |
getSessionEntityType(request, callback) → {undefined}
Calls GetSessionEntityType.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dialogflow.cx.v3.IGetSessionEntityTypeRequest |
GetSessionEntityTypeRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3.SessionEntityTypes.GetSessionEntityTypeCallback |
Node-style callback called with the error, if any, and SessionEntityType |
Returns:
Type | Description |
---|---|
undefined |
getSessionEntityType(request) → {Promise.<google.cloud.dialogflow.cx.v3.SessionEntityType>}
Calls GetSessionEntityType.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dialogflow.cx.v3.IGetSessionEntityTypeRequest |
GetSessionEntityTypeRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.dialogflow.cx.v3.SessionEntityType> |
Promise |
listSessionEntityTypes(request, callback) → {undefined}
Calls ListSessionEntityTypes.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dialogflow.cx.v3.IListSessionEntityTypesRequest |
ListSessionEntityTypesRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3.SessionEntityTypes.ListSessionEntityTypesCallback |
Node-style callback called with the error, if any, and ListSessionEntityTypesResponse |
Returns:
Type | Description |
---|---|
undefined |
listSessionEntityTypes(request) → {Promise.<google.cloud.dialogflow.cx.v3.ListSessionEntityTypesResponse>}
Calls ListSessionEntityTypes.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dialogflow.cx.v3.IListSessionEntityTypesRequest |
ListSessionEntityTypesRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.dialogflow.cx.v3.ListSessionEntityTypesResponse> |
Promise |
updateSessionEntityType(request, callback) → {undefined}
Calls UpdateSessionEntityType.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dialogflow.cx.v3.IUpdateSessionEntityTypeRequest |
UpdateSessionEntityTypeRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3.SessionEntityTypes.UpdateSessionEntityTypeCallback |
Node-style callback called with the error, if any, and SessionEntityType |
Returns:
Type | Description |
---|---|
undefined |
updateSessionEntityType(request) → {Promise.<google.cloud.dialogflow.cx.v3.SessionEntityType>}
Calls UpdateSessionEntityType.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.dialogflow.cx.v3.IUpdateSessionEntityTypeRequest |
UpdateSessionEntityTypeRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.dialogflow.cx.v3.SessionEntityType> |
Promise |
(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 |
Returns:
Type | Description |
---|---|
SessionEntityTypes |
RPC service. Useful where requests and/or responses are streamed. |
Type Definitions
CreateSessionEntityTypeCallback(error, responseopt)
Callback as used by createSessionEntityType.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.dialogflow.cx.v3.SessionEntityType |
<optional> |
SessionEntityType |
DeleteSessionEntityTypeCallback(error, responseopt)
Callback as used by 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 getSessionEntityType.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.dialogflow.cx.v3.SessionEntityType |
<optional> |
SessionEntityType |
ListSessionEntityTypesCallback(error, responseopt)
Callback as used by listSessionEntityTypes.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.dialogflow.cx.v3.ListSessionEntityTypesResponse |
<optional> |
ListSessionEntityTypesResponse |
UpdateSessionEntityTypeCallback(error, responseopt)
Callback as used by updateSessionEntityType.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.dialogflow.cx.v3.SessionEntityType |
<optional> |
SessionEntityType |