Constructor
new Changelogs(rpcImpl, requestDelimitedopt, responseDelimitedopt)
Constructs a new Changelogs 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
getChangelog(request, callback) → {undefined}
Calls GetChangelog.
Parameters:
| Name | Type | Description | 
|---|---|---|
| request | google.cloud.dialogflow.cx.v3.IGetChangelogRequest | GetChangelogRequest message or plain object | 
| callback | google.cloud.dialogflow.cx.v3.Changelogs.GetChangelogCallback | Node-style callback called with the error, if any, and Changelog | 
Returns:
| Type | Description | 
|---|---|
| undefined | 
getChangelog(request) → {Promise.<google.cloud.dialogflow.cx.v3.Changelog>}
Calls GetChangelog.
Parameters:
| Name | Type | Description | 
|---|---|---|
| request | google.cloud.dialogflow.cx.v3.IGetChangelogRequest | GetChangelogRequest message or plain object | 
Returns:
| Type | Description | 
|---|---|
| Promise.<google.cloud.dialogflow.cx.v3.Changelog> | Promise | 
listChangelogs(request, callback) → {undefined}
Calls ListChangelogs.
Parameters:
| Name | Type | Description | 
|---|---|---|
| request | google.cloud.dialogflow.cx.v3.IListChangelogsRequest | ListChangelogsRequest message or plain object | 
| callback | google.cloud.dialogflow.cx.v3.Changelogs.ListChangelogsCallback | Node-style callback called with the error, if any, and ListChangelogsResponse | 
Returns:
| Type | Description | 
|---|---|
| undefined | 
listChangelogs(request) → {Promise.<google.cloud.dialogflow.cx.v3.ListChangelogsResponse>}
Calls ListChangelogs.
Parameters:
| Name | Type | Description | 
|---|---|---|
| request | google.cloud.dialogflow.cx.v3.IListChangelogsRequest | ListChangelogsRequest message or plain object | 
Returns:
| Type | Description | 
|---|---|
| Promise.<google.cloud.dialogflow.cx.v3.ListChangelogsResponse> | Promise | 
(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {Changelogs}
Creates new Changelogs 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 | 
|---|---|
| Changelogs | RPC service. Useful where requests and/or responses are streamed. | 
Type Definitions
GetChangelogCallback(error, responseopt)
Callback as used by getChangelog.
Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
| error | Error | null | Error, if any | |
| response | google.cloud.dialogflow.cx.v3.Changelog | <optional> | Changelog | 
ListChangelogsCallback(error, responseopt)
Callback as used by listChangelogs.
Parameters:
| Name | Type | Attributes | Description | 
|---|---|---|---|
| error | Error | null | Error, if any | |
| response | google.cloud.dialogflow.cx.v3.ListChangelogsResponse | <optional> | ListChangelogsResponse |