Represents a SessionEntityTypes
Inheritance
$protobuf.rpc.Service > protos.google.cloud.dialogflow.v2.SessionEntityTypesPackage
@google-cloud/dialogflowConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new SessionEntityTypes service.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): SessionEntityTypes;
Creates new SessionEntityTypes service using the specified rpc implementation.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Type | Description |
SessionEntityTypes | RPC service. Useful where requests and/or responses are streamed. |
createSessionEntityType(request, callback)
public createSessionEntityType(request: google.cloud.dialogflow.v2.ICreateSessionEntityTypeRequest, callback: google.cloud.dialogflow.v2.SessionEntityTypes.CreateSessionEntityTypeCallback): void;
Calls CreateSessionEntityType.
Name | Description |
request |
google.cloud.dialogflow.v2.ICreateSessionEntityTypeRequest
CreateSessionEntityTypeRequest message or plain object |
callback |
google.cloud.dialogflow.v2.SessionEntityTypes.CreateSessionEntityTypeCallback
Node-style callback called with the error, if any, and SessionEntityType |
Type | Description |
void |
createSessionEntityType(request)
public createSessionEntityType(request: google.cloud.dialogflow.v2.ICreateSessionEntityTypeRequest): Promise<google.cloud.dialogflow.v2.SessionEntityType>;
Calls CreateSessionEntityType.
Name | Description |
request |
google.cloud.dialogflow.v2.ICreateSessionEntityTypeRequest
CreateSessionEntityTypeRequest message or plain object |
Type | Description |
Promise<google.cloud.dialogflow.v2.SessionEntityType> | Promise |
deleteSessionEntityType(request, callback)
public deleteSessionEntityType(request: google.cloud.dialogflow.v2.IDeleteSessionEntityTypeRequest, callback: google.cloud.dialogflow.v2.SessionEntityTypes.DeleteSessionEntityTypeCallback): void;
Calls DeleteSessionEntityType.
Name | Description |
request |
google.cloud.dialogflow.v2.IDeleteSessionEntityTypeRequest
DeleteSessionEntityTypeRequest message or plain object |
callback |
google.cloud.dialogflow.v2.SessionEntityTypes.DeleteSessionEntityTypeCallback
Node-style callback called with the error, if any, and Empty |
Type | Description |
void |
deleteSessionEntityType(request)
public deleteSessionEntityType(request: google.cloud.dialogflow.v2.IDeleteSessionEntityTypeRequest): Promise<google.protobuf.Empty>;
Calls DeleteSessionEntityType.
Name | Description |
request |
google.cloud.dialogflow.v2.IDeleteSessionEntityTypeRequest
DeleteSessionEntityTypeRequest message or plain object |
Type | Description |
Promise<google.protobuf.Empty> | Promise |
getSessionEntityType(request, callback)
public getSessionEntityType(request: google.cloud.dialogflow.v2.IGetSessionEntityTypeRequest, callback: google.cloud.dialogflow.v2.SessionEntityTypes.GetSessionEntityTypeCallback): void;
Calls GetSessionEntityType.
Name | Description |
request |
IGetSessionEntityTypeRequest
GetSessionEntityTypeRequest message or plain object |
callback |
google.cloud.dialogflow.v2.SessionEntityTypes.GetSessionEntityTypeCallback
Node-style callback called with the error, if any, and SessionEntityType |
Type | Description |
void |
getSessionEntityType(request)
public getSessionEntityType(request: google.cloud.dialogflow.v2.IGetSessionEntityTypeRequest): Promise<google.cloud.dialogflow.v2.SessionEntityType>;
Calls GetSessionEntityType.
Name | Description |
request |
IGetSessionEntityTypeRequest
GetSessionEntityTypeRequest message or plain object |
Type | Description |
Promise<google.cloud.dialogflow.v2.SessionEntityType> | Promise |
listSessionEntityTypes(request, callback)
public listSessionEntityTypes(request: google.cloud.dialogflow.v2.IListSessionEntityTypesRequest, callback: google.cloud.dialogflow.v2.SessionEntityTypes.ListSessionEntityTypesCallback): void;
Calls ListSessionEntityTypes.
Name | Description |
request |
IListSessionEntityTypesRequest
ListSessionEntityTypesRequest message or plain object |
callback |
google.cloud.dialogflow.v2.SessionEntityTypes.ListSessionEntityTypesCallback
Node-style callback called with the error, if any, and ListSessionEntityTypesResponse |
Type | Description |
void |
listSessionEntityTypes(request)
public listSessionEntityTypes(request: google.cloud.dialogflow.v2.IListSessionEntityTypesRequest): Promise<google.cloud.dialogflow.v2.ListSessionEntityTypesResponse>;
Calls ListSessionEntityTypes.
Name | Description |
request |
IListSessionEntityTypesRequest
ListSessionEntityTypesRequest message or plain object |
Type | Description |
Promise<google.cloud.dialogflow.v2.ListSessionEntityTypesResponse> | Promise |
updateSessionEntityType(request, callback)
public updateSessionEntityType(request: google.cloud.dialogflow.v2.IUpdateSessionEntityTypeRequest, callback: google.cloud.dialogflow.v2.SessionEntityTypes.UpdateSessionEntityTypeCallback): void;
Calls UpdateSessionEntityType.
Name | Description |
request |
google.cloud.dialogflow.v2.IUpdateSessionEntityTypeRequest
UpdateSessionEntityTypeRequest message or plain object |
callback |
google.cloud.dialogflow.v2.SessionEntityTypes.UpdateSessionEntityTypeCallback
Node-style callback called with the error, if any, and SessionEntityType |
Type | Description |
void |
updateSessionEntityType(request)
public updateSessionEntityType(request: google.cloud.dialogflow.v2.IUpdateSessionEntityTypeRequest): Promise<google.cloud.dialogflow.v2.SessionEntityType>;
Calls UpdateSessionEntityType.
Name | Description |
request |
google.cloud.dialogflow.v2.IUpdateSessionEntityTypeRequest
UpdateSessionEntityTypeRequest message or plain object |
Type | Description |
Promise<google.cloud.dialogflow.v2.SessionEntityType> | Promise |