Constructor
new EntityTypes(rpcImpl, requestDelimitedopt, responseDelimitedopt)
Constructs a new EntityTypes 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
createEntityType(request, callback) → {undefined}
Calls CreateEntityType.
Parameters:
| Name | Type | Description | 
|---|---|---|
request | 
        
        google.cloud.dialogflow.cx.v3.ICreateEntityTypeRequest | 
           CreateEntityTypeRequest message or plain object  | 
      
callback | 
        
        google.cloud.dialogflow.cx.v3.EntityTypes.CreateEntityTypeCallback | 
           Node-style callback called with the error, if any, and EntityType  | 
      
Returns:
| Type | Description | 
|---|---|
| undefined | 
createEntityType(request) → {Promise.<google.cloud.dialogflow.cx.v3.EntityType>}
Calls CreateEntityType.
Parameters:
| Name | Type | Description | 
|---|---|---|
request | 
        
        google.cloud.dialogflow.cx.v3.ICreateEntityTypeRequest | 
           CreateEntityTypeRequest message or plain object  | 
      
Returns:
| Type | Description | 
|---|---|
| Promise.<google.cloud.dialogflow.cx.v3.EntityType> | 
           Promise  | 
      
deleteEntityType(request, callback) → {undefined}
Calls DeleteEntityType.
Parameters:
| Name | Type | Description | 
|---|---|---|
request | 
        
        google.cloud.dialogflow.cx.v3.IDeleteEntityTypeRequest | 
           DeleteEntityTypeRequest message or plain object  | 
      
callback | 
        
        google.cloud.dialogflow.cx.v3.EntityTypes.DeleteEntityTypeCallback | 
           Node-style callback called with the error, if any, and Empty  | 
      
Returns:
| Type | Description | 
|---|---|
| undefined | 
deleteEntityType(request) → {Promise.<google.protobuf.Empty>}
Calls DeleteEntityType.
Parameters:
| Name | Type | Description | 
|---|---|---|
request | 
        
        google.cloud.dialogflow.cx.v3.IDeleteEntityTypeRequest | 
           DeleteEntityTypeRequest message or plain object  | 
      
Returns:
| Type | Description | 
|---|---|
| Promise.<google.protobuf.Empty> | 
           Promise  | 
      
exportEntityTypes(request, callback) → {undefined}
Calls ExportEntityTypes.
Parameters:
| Name | Type | Description | 
|---|---|---|
request | 
        
        google.cloud.dialogflow.cx.v3.IExportEntityTypesRequest | 
           ExportEntityTypesRequest message or plain object  | 
      
callback | 
        
        google.cloud.dialogflow.cx.v3.EntityTypes.ExportEntityTypesCallback | 
           Node-style callback called with the error, if any, and Operation  | 
      
Returns:
| Type | Description | 
|---|---|
| undefined | 
exportEntityTypes(request) → {Promise.<google.longrunning.Operation>}
Calls ExportEntityTypes.
Parameters:
| Name | Type | Description | 
|---|---|---|
request | 
        
        google.cloud.dialogflow.cx.v3.IExportEntityTypesRequest | 
           ExportEntityTypesRequest message or plain object  | 
      
Returns:
| Type | Description | 
|---|---|
| Promise.<google.longrunning.Operation> | 
           Promise  | 
      
getEntityType(request, callback) → {undefined}
Calls GetEntityType.
Parameters:
| Name | Type | Description | 
|---|---|---|
request | 
        
        google.cloud.dialogflow.cx.v3.IGetEntityTypeRequest | 
           GetEntityTypeRequest message or plain object  | 
      
callback | 
        
        google.cloud.dialogflow.cx.v3.EntityTypes.GetEntityTypeCallback | 
           Node-style callback called with the error, if any, and EntityType  | 
      
Returns:
| Type | Description | 
|---|---|
| undefined | 
getEntityType(request) → {Promise.<google.cloud.dialogflow.cx.v3.EntityType>}
Calls GetEntityType.
Parameters:
| Name | Type | Description | 
|---|---|---|
request | 
        
        google.cloud.dialogflow.cx.v3.IGetEntityTypeRequest | 
           GetEntityTypeRequest message or plain object  | 
      
Returns:
| Type | Description | 
|---|---|
| Promise.<google.cloud.dialogflow.cx.v3.EntityType> | 
           Promise  | 
      
importEntityTypes(request, callback) → {undefined}
Calls ImportEntityTypes.
Parameters:
| Name | Type | Description | 
|---|---|---|
request | 
        
        google.cloud.dialogflow.cx.v3.IImportEntityTypesRequest | 
           ImportEntityTypesRequest message or plain object  | 
      
callback | 
        
        google.cloud.dialogflow.cx.v3.EntityTypes.ImportEntityTypesCallback | 
           Node-style callback called with the error, if any, and Operation  | 
      
Returns:
| Type | Description | 
|---|---|
| undefined | 
importEntityTypes(request) → {Promise.<google.longrunning.Operation>}
Calls ImportEntityTypes.
Parameters:
| Name | Type | Description | 
|---|---|---|
request | 
        
        google.cloud.dialogflow.cx.v3.IImportEntityTypesRequest | 
           ImportEntityTypesRequest message or plain object  | 
      
Returns:
| Type | Description | 
|---|---|
| Promise.<google.longrunning.Operation> | 
           Promise  | 
      
listEntityTypes(request, callback) → {undefined}
Calls ListEntityTypes.
Parameters:
| Name | Type | Description | 
|---|---|---|
request | 
        
        google.cloud.dialogflow.cx.v3.IListEntityTypesRequest | 
           ListEntityTypesRequest message or plain object  | 
      
callback | 
        
        google.cloud.dialogflow.cx.v3.EntityTypes.ListEntityTypesCallback | 
           Node-style callback called with the error, if any, and ListEntityTypesResponse  | 
      
Returns:
| Type | Description | 
|---|---|
| undefined | 
listEntityTypes(request) → {Promise.<google.cloud.dialogflow.cx.v3.ListEntityTypesResponse>}
Calls ListEntityTypes.
Parameters:
| Name | Type | Description | 
|---|---|---|
request | 
        
        google.cloud.dialogflow.cx.v3.IListEntityTypesRequest | 
           ListEntityTypesRequest message or plain object  | 
      
Returns:
| Type | Description | 
|---|---|
| Promise.<google.cloud.dialogflow.cx.v3.ListEntityTypesResponse> | 
           Promise  | 
      
updateEntityType(request, callback) → {undefined}
Calls UpdateEntityType.
Parameters:
| Name | Type | Description | 
|---|---|---|
request | 
        
        google.cloud.dialogflow.cx.v3.IUpdateEntityTypeRequest | 
           UpdateEntityTypeRequest message or plain object  | 
      
callback | 
        
        google.cloud.dialogflow.cx.v3.EntityTypes.UpdateEntityTypeCallback | 
           Node-style callback called with the error, if any, and EntityType  | 
      
Returns:
| Type | Description | 
|---|---|
| undefined | 
updateEntityType(request) → {Promise.<google.cloud.dialogflow.cx.v3.EntityType>}
Calls UpdateEntityType.
Parameters:
| Name | Type | Description | 
|---|---|---|
request | 
        
        google.cloud.dialogflow.cx.v3.IUpdateEntityTypeRequest | 
           UpdateEntityTypeRequest message or plain object  | 
      
Returns:
| Type | Description | 
|---|---|
| Promise.<google.cloud.dialogflow.cx.v3.EntityType> | 
           Promise  | 
      
(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {EntityTypes}
Creates new EntityTypes 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 | 
|---|---|
| EntityTypes | 
           RPC service. Useful where requests and/or responses are streamed.  | 
      
Type Definitions
CreateEntityTypeCallback(error, responseopt)
Callback as used by createEntityType.
Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
error | 
        
        Error | null | 
           Error, if any  | 
      |
response | 
        
        google.cloud.dialogflow.cx.v3.EntityType | 
            
              <optional> | 
        
        
        
           EntityType  | 
      
DeleteEntityTypeCallback(error, responseopt)
Callback as used by deleteEntityType.
Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
error | 
        
        Error | null | 
           Error, if any  | 
      |
response | 
        
        google.protobuf.Empty | 
            
              <optional> | 
        
        
        
           Empty  | 
      
ExportEntityTypesCallback(error, responseopt)
Callback as used by exportEntityTypes.
Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
error | 
        
        Error | null | 
           Error, if any  | 
      |
response | 
        
        google.longrunning.Operation | 
            
              <optional> | 
        
        
        
           Operation  | 
      
GetEntityTypeCallback(error, responseopt)
Callback as used by getEntityType.
Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
error | 
        
        Error | null | 
           Error, if any  | 
      |
response | 
        
        google.cloud.dialogflow.cx.v3.EntityType | 
            
              <optional> | 
        
        
        
           EntityType  | 
      
ImportEntityTypesCallback(error, responseopt)
Callback as used by importEntityTypes.
Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
error | 
        
        Error | null | 
           Error, if any  | 
      |
response | 
        
        google.longrunning.Operation | 
            
              <optional> | 
        
        
        
           Operation  | 
      
ListEntityTypesCallback(error, responseopt)
Callback as used by listEntityTypes.
Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
error | 
        
        Error | null | 
           Error, if any  | 
      |
response | 
        
        google.cloud.dialogflow.cx.v3.ListEntityTypesResponse | 
            
              <optional> | 
        
        
        
           ListEntityTypesResponse  | 
      
UpdateEntityTypeCallback(error, responseopt)
Callback as used by updateEntityType.
Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
error | 
        
        Error | null | 
           Error, if any  | 
      |
response | 
        
        google.cloud.dialogflow.cx.v3.EntityType | 
            
              <optional> | 
        
        
        
           EntityType  |