Constructor
new Generators(rpcImpl, requestDelimitedopt, responseDelimitedopt)
Constructs a new Generators 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
createGenerator(request, callback) → {undefined}
Calls CreateGenerator.
Parameters:
| Name | Type | Description | 
|---|---|---|
request | 
        
        google.cloud.dialogflow.cx.v3beta1.ICreateGeneratorRequest | 
           CreateGeneratorRequest message or plain object  | 
      
callback | 
        
        google.cloud.dialogflow.cx.v3beta1.Generators.CreateGeneratorCallback | 
           Node-style callback called with the error, if any, and Generator  | 
      
Returns:
| Type | Description | 
|---|---|
| undefined | 
createGenerator(request) → {Promise.<google.cloud.dialogflow.cx.v3beta1.Generator>}
Calls CreateGenerator.
Parameters:
| Name | Type | Description | 
|---|---|---|
request | 
        
        google.cloud.dialogflow.cx.v3beta1.ICreateGeneratorRequest | 
           CreateGeneratorRequest message or plain object  | 
      
Returns:
| Type | Description | 
|---|---|
| Promise.<google.cloud.dialogflow.cx.v3beta1.Generator> | 
           Promise  | 
      
deleteGenerator(request, callback) → {undefined}
Calls DeleteGenerator.
Parameters:
| Name | Type | Description | 
|---|---|---|
request | 
        
        google.cloud.dialogflow.cx.v3beta1.IDeleteGeneratorRequest | 
           DeleteGeneratorRequest message or plain object  | 
      
callback | 
        
        google.cloud.dialogflow.cx.v3beta1.Generators.DeleteGeneratorCallback | 
           Node-style callback called with the error, if any, and Empty  | 
      
Returns:
| Type | Description | 
|---|---|
| undefined | 
deleteGenerator(request) → {Promise.<google.protobuf.Empty>}
Calls DeleteGenerator.
Parameters:
| Name | Type | Description | 
|---|---|---|
request | 
        
        google.cloud.dialogflow.cx.v3beta1.IDeleteGeneratorRequest | 
           DeleteGeneratorRequest message or plain object  | 
      
Returns:
| Type | Description | 
|---|---|
| Promise.<google.protobuf.Empty> | 
           Promise  | 
      
getGenerator(request, callback) → {undefined}
Calls GetGenerator.
Parameters:
| Name | Type | Description | 
|---|---|---|
request | 
        
        google.cloud.dialogflow.cx.v3beta1.IGetGeneratorRequest | 
           GetGeneratorRequest message or plain object  | 
      
callback | 
        
        google.cloud.dialogflow.cx.v3beta1.Generators.GetGeneratorCallback | 
           Node-style callback called with the error, if any, and Generator  | 
      
Returns:
| Type | Description | 
|---|---|
| undefined | 
getGenerator(request) → {Promise.<google.cloud.dialogflow.cx.v3beta1.Generator>}
Calls GetGenerator.
Parameters:
| Name | Type | Description | 
|---|---|---|
request | 
        
        google.cloud.dialogflow.cx.v3beta1.IGetGeneratorRequest | 
           GetGeneratorRequest message or plain object  | 
      
Returns:
| Type | Description | 
|---|---|
| Promise.<google.cloud.dialogflow.cx.v3beta1.Generator> | 
           Promise  | 
      
listGenerators(request, callback) → {undefined}
Calls ListGenerators.
Parameters:
| Name | Type | Description | 
|---|---|---|
request | 
        
        google.cloud.dialogflow.cx.v3beta1.IListGeneratorsRequest | 
           ListGeneratorsRequest message or plain object  | 
      
callback | 
        
        google.cloud.dialogflow.cx.v3beta1.Generators.ListGeneratorsCallback | 
           Node-style callback called with the error, if any, and ListGeneratorsResponse  | 
      
Returns:
| Type | Description | 
|---|---|
| undefined | 
listGenerators(request) → {Promise.<google.cloud.dialogflow.cx.v3beta1.ListGeneratorsResponse>}
Calls ListGenerators.
Parameters:
| Name | Type | Description | 
|---|---|---|
request | 
        
        google.cloud.dialogflow.cx.v3beta1.IListGeneratorsRequest | 
           ListGeneratorsRequest message or plain object  | 
      
Returns:
| Type | Description | 
|---|---|
| Promise.<google.cloud.dialogflow.cx.v3beta1.ListGeneratorsResponse> | 
           Promise  | 
      
updateGenerator(request, callback) → {undefined}
Calls UpdateGenerator.
Parameters:
| Name | Type | Description | 
|---|---|---|
request | 
        
        google.cloud.dialogflow.cx.v3beta1.IUpdateGeneratorRequest | 
           UpdateGeneratorRequest message or plain object  | 
      
callback | 
        
        google.cloud.dialogflow.cx.v3beta1.Generators.UpdateGeneratorCallback | 
           Node-style callback called with the error, if any, and Generator  | 
      
Returns:
| Type | Description | 
|---|---|
| undefined | 
updateGenerator(request) → {Promise.<google.cloud.dialogflow.cx.v3beta1.Generator>}
Calls UpdateGenerator.
Parameters:
| Name | Type | Description | 
|---|---|---|
request | 
        
        google.cloud.dialogflow.cx.v3beta1.IUpdateGeneratorRequest | 
           UpdateGeneratorRequest message or plain object  | 
      
Returns:
| Type | Description | 
|---|---|
| Promise.<google.cloud.dialogflow.cx.v3beta1.Generator> | 
           Promise  | 
      
(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {Generators}
Creates new Generators 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 | 
|---|---|
| Generators | 
           RPC service. Useful where requests and/or responses are streamed.  | 
      
Type Definitions
CreateGeneratorCallback(error, responseopt)
Callback as used by createGenerator.
Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
error | 
        
        Error | null | 
           Error, if any  | 
      |
response | 
        
        google.cloud.dialogflow.cx.v3beta1.Generator | 
            
              <optional> | 
        
        
        
           Generator  | 
      
DeleteGeneratorCallback(error, responseopt)
Callback as used by deleteGenerator.
Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
error | 
        
        Error | null | 
           Error, if any  | 
      |
response | 
        
        google.protobuf.Empty | 
            
              <optional> | 
        
        
        
           Empty  | 
      
GetGeneratorCallback(error, responseopt)
Callback as used by getGenerator.
Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
error | 
        
        Error | null | 
           Error, if any  | 
      |
response | 
        
        google.cloud.dialogflow.cx.v3beta1.Generator | 
            
              <optional> | 
        
        
        
           Generator  | 
      
ListGeneratorsCallback(error, responseopt)
Callback as used by listGenerators.
Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
error | 
        
        Error | null | 
           Error, if any  | 
      |
response | 
        
        google.cloud.dialogflow.cx.v3beta1.ListGeneratorsResponse | 
            
              <optional> | 
        
        
        
           ListGeneratorsResponse  | 
      
UpdateGeneratorCallback(error, responseopt)
Callback as used by updateGenerator.
Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
error | 
        
        Error | null | 
           Error, if any  | 
      |
response | 
        
        google.cloud.dialogflow.cx.v3beta1.Generator | 
            
              <optional> | 
        
        
        
           Generator  |