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