Represents an EntityTypes
Inheritance
$protobuf.rpc.Service > protos.google.cloud.dialogflow.v2.EntityTypesPackage
@google-cloud/dialogflowConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new EntityTypes service.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
batchCreateEntities(request, callback)
public batchCreateEntities(request: google.cloud.dialogflow.v2.IBatchCreateEntitiesRequest, callback: google.cloud.dialogflow.v2.EntityTypes.BatchCreateEntitiesCallback): void;
Calls BatchCreateEntities.
Name | Description |
request |
google.cloud.dialogflow.v2.IBatchCreateEntitiesRequest
BatchCreateEntitiesRequest message or plain object |
callback |
google.cloud.dialogflow.v2.EntityTypes.BatchCreateEntitiesCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
batchCreateEntities(request)
public batchCreateEntities(request: google.cloud.dialogflow.v2.IBatchCreateEntitiesRequest): Promise<google.longrunning.Operation>;
Calls BatchCreateEntities.
Name | Description |
request |
google.cloud.dialogflow.v2.IBatchCreateEntitiesRequest
BatchCreateEntitiesRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
batchDeleteEntities(request, callback)
public batchDeleteEntities(request: google.cloud.dialogflow.v2.IBatchDeleteEntitiesRequest, callback: google.cloud.dialogflow.v2.EntityTypes.BatchDeleteEntitiesCallback): void;
Calls BatchDeleteEntities.
Name | Description |
request |
google.cloud.dialogflow.v2.IBatchDeleteEntitiesRequest
BatchDeleteEntitiesRequest message or plain object |
callback |
google.cloud.dialogflow.v2.EntityTypes.BatchDeleteEntitiesCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
batchDeleteEntities(request)
public batchDeleteEntities(request: google.cloud.dialogflow.v2.IBatchDeleteEntitiesRequest): Promise<google.longrunning.Operation>;
Calls BatchDeleteEntities.
Name | Description |
request |
google.cloud.dialogflow.v2.IBatchDeleteEntitiesRequest
BatchDeleteEntitiesRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
batchDeleteEntityTypes(request, callback)
public batchDeleteEntityTypes(request: google.cloud.dialogflow.v2.IBatchDeleteEntityTypesRequest, callback: google.cloud.dialogflow.v2.EntityTypes.BatchDeleteEntityTypesCallback): void;
Calls BatchDeleteEntityTypes.
Name | Description |
request |
google.cloud.dialogflow.v2.IBatchDeleteEntityTypesRequest
BatchDeleteEntityTypesRequest message or plain object |
callback |
google.cloud.dialogflow.v2.EntityTypes.BatchDeleteEntityTypesCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
batchDeleteEntityTypes(request)
public batchDeleteEntityTypes(request: google.cloud.dialogflow.v2.IBatchDeleteEntityTypesRequest): Promise<google.longrunning.Operation>;
Calls BatchDeleteEntityTypes.
Name | Description |
request |
google.cloud.dialogflow.v2.IBatchDeleteEntityTypesRequest
BatchDeleteEntityTypesRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
batchUpdateEntities(request, callback)
public batchUpdateEntities(request: google.cloud.dialogflow.v2.IBatchUpdateEntitiesRequest, callback: google.cloud.dialogflow.v2.EntityTypes.BatchUpdateEntitiesCallback): void;
Calls BatchUpdateEntities.
Name | Description |
request |
google.cloud.dialogflow.v2.IBatchUpdateEntitiesRequest
BatchUpdateEntitiesRequest message or plain object |
callback |
google.cloud.dialogflow.v2.EntityTypes.BatchUpdateEntitiesCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
batchUpdateEntities(request)
public batchUpdateEntities(request: google.cloud.dialogflow.v2.IBatchUpdateEntitiesRequest): Promise<google.longrunning.Operation>;
Calls BatchUpdateEntities.
Name | Description |
request |
google.cloud.dialogflow.v2.IBatchUpdateEntitiesRequest
BatchUpdateEntitiesRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
batchUpdateEntityTypes(request, callback)
public batchUpdateEntityTypes(request: google.cloud.dialogflow.v2.IBatchUpdateEntityTypesRequest, callback: google.cloud.dialogflow.v2.EntityTypes.BatchUpdateEntityTypesCallback): void;
Calls BatchUpdateEntityTypes.
Name | Description |
request |
google.cloud.dialogflow.v2.IBatchUpdateEntityTypesRequest
BatchUpdateEntityTypesRequest message or plain object |
callback |
google.cloud.dialogflow.v2.EntityTypes.BatchUpdateEntityTypesCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
batchUpdateEntityTypes(request)
public batchUpdateEntityTypes(request: google.cloud.dialogflow.v2.IBatchUpdateEntityTypesRequest): Promise<google.longrunning.Operation>;
Calls BatchUpdateEntityTypes.
Name | Description |
request |
google.cloud.dialogflow.v2.IBatchUpdateEntityTypesRequest
BatchUpdateEntityTypesRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): EntityTypes;
Creates new EntityTypes 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 |
EntityTypes | RPC service. Useful where requests and/or responses are streamed. |
createEntityType(request, callback)
public createEntityType(request: google.cloud.dialogflow.v2.ICreateEntityTypeRequest, callback: google.cloud.dialogflow.v2.EntityTypes.CreateEntityTypeCallback): void;
Calls CreateEntityType.
Name | Description |
request |
google.cloud.dialogflow.v2.ICreateEntityTypeRequest
CreateEntityTypeRequest message or plain object |
callback |
google.cloud.dialogflow.v2.EntityTypes.CreateEntityTypeCallback
Node-style callback called with the error, if any, and EntityType |
Type | Description |
void |
createEntityType(request)
public createEntityType(request: google.cloud.dialogflow.v2.ICreateEntityTypeRequest): Promise<google.cloud.dialogflow.v2.EntityType>;
Calls CreateEntityType.
Name | Description |
request |
google.cloud.dialogflow.v2.ICreateEntityTypeRequest
CreateEntityTypeRequest message or plain object |
Type | Description |
Promise<google.cloud.dialogflow.v2.EntityType> | Promise |
deleteEntityType(request, callback)
public deleteEntityType(request: google.cloud.dialogflow.v2.IDeleteEntityTypeRequest, callback: google.cloud.dialogflow.v2.EntityTypes.DeleteEntityTypeCallback): void;
Calls DeleteEntityType.
Name | Description |
request |
google.cloud.dialogflow.v2.IDeleteEntityTypeRequest
DeleteEntityTypeRequest message or plain object |
callback |
google.cloud.dialogflow.v2.EntityTypes.DeleteEntityTypeCallback
Node-style callback called with the error, if any, and Empty |
Type | Description |
void |
deleteEntityType(request)
public deleteEntityType(request: google.cloud.dialogflow.v2.IDeleteEntityTypeRequest): Promise<google.protobuf.Empty>;
Calls DeleteEntityType.
Name | Description |
request |
google.cloud.dialogflow.v2.IDeleteEntityTypeRequest
DeleteEntityTypeRequest message or plain object |
Type | Description |
Promise<google.protobuf.Empty> | Promise |
getEntityType(request, callback)
public getEntityType(request: google.cloud.dialogflow.v2.IGetEntityTypeRequest, callback: google.cloud.dialogflow.v2.EntityTypes.GetEntityTypeCallback): void;
Calls GetEntityType.
Name | Description |
request |
google.cloud.dialogflow.v2.IGetEntityTypeRequest
GetEntityTypeRequest message or plain object |
callback |
google.cloud.dialogflow.v2.EntityTypes.GetEntityTypeCallback
Node-style callback called with the error, if any, and EntityType |
Type | Description |
void |
getEntityType(request)
public getEntityType(request: google.cloud.dialogflow.v2.IGetEntityTypeRequest): Promise<google.cloud.dialogflow.v2.EntityType>;
Calls GetEntityType.
Name | Description |
request |
google.cloud.dialogflow.v2.IGetEntityTypeRequest
GetEntityTypeRequest message or plain object |
Type | Description |
Promise<google.cloud.dialogflow.v2.EntityType> | Promise |
listEntityTypes(request, callback)
public listEntityTypes(request: google.cloud.dialogflow.v2.IListEntityTypesRequest, callback: google.cloud.dialogflow.v2.EntityTypes.ListEntityTypesCallback): void;
Calls ListEntityTypes.
Name | Description |
request |
google.cloud.dialogflow.v2.IListEntityTypesRequest
ListEntityTypesRequest message or plain object |
callback |
google.cloud.dialogflow.v2.EntityTypes.ListEntityTypesCallback
Node-style callback called with the error, if any, and ListEntityTypesResponse |
Type | Description |
void |
listEntityTypes(request)
public listEntityTypes(request: google.cloud.dialogflow.v2.IListEntityTypesRequest): Promise<google.cloud.dialogflow.v2.ListEntityTypesResponse>;
Calls ListEntityTypes.
Name | Description |
request |
google.cloud.dialogflow.v2.IListEntityTypesRequest
ListEntityTypesRequest message or plain object |
Type | Description |
Promise<google.cloud.dialogflow.v2.ListEntityTypesResponse> | Promise |
updateEntityType(request, callback)
public updateEntityType(request: google.cloud.dialogflow.v2.IUpdateEntityTypeRequest, callback: google.cloud.dialogflow.v2.EntityTypes.UpdateEntityTypeCallback): void;
Calls UpdateEntityType.
Name | Description |
request |
IUpdateEntityTypeRequest
UpdateEntityTypeRequest message or plain object |
callback |
google.cloud.dialogflow.v2.EntityTypes.UpdateEntityTypeCallback
Node-style callback called with the error, if any, and EntityType |
Type | Description |
void |
updateEntityType(request)
public updateEntityType(request: google.cloud.dialogflow.v2.IUpdateEntityTypeRequest): Promise<google.cloud.dialogflow.v2.EntityType>;
Calls UpdateEntityType.
Name | Description |
request |
IUpdateEntityTypeRequest
UpdateEntityTypeRequest message or plain object |
Type | Description |
Promise<google.cloud.dialogflow.v2.EntityType> | Promise |