Class protos.google.cloud.dialogflow.cx.v3.Changelogs (2.15.0)

Represents a Changelogs

Inheritance

$protobuf.rpc.Service > protos.google.cloud.dialogflow.cx.v3.Changelogs

Package

@google-cloud/dialogflow-cx

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new Changelogs service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): Changelogs;

Creates new Changelogs service using the specified rpc implementation.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
Changelogs

RPC service. Useful where requests and/or responses are streamed.

getChangelog(request, callback)

public getChangelog(request: google.cloud.dialogflow.cx.v3.IGetChangelogRequest, callback: google.cloud.dialogflow.cx.v3.Changelogs.GetChangelogCallback): void;

Calls GetChangelog.

Parameters
NameDescription
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
TypeDescription
void

getChangelog(request)

public getChangelog(request: google.cloud.dialogflow.cx.v3.IGetChangelogRequest): Promise<google.cloud.dialogflow.cx.v3.Changelog>;

Calls GetChangelog.

Parameter
NameDescription
request google.cloud.dialogflow.cx.v3.IGetChangelogRequest

GetChangelogRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.dialogflow.cx.v3.Changelog>

Promise

listChangelogs(request, callback)

public listChangelogs(request: google.cloud.dialogflow.cx.v3.IListChangelogsRequest, callback: google.cloud.dialogflow.cx.v3.Changelogs.ListChangelogsCallback): void;

Calls ListChangelogs.

Parameters
NameDescription
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
TypeDescription
void

listChangelogs(request)

public listChangelogs(request: google.cloud.dialogflow.cx.v3.IListChangelogsRequest): Promise<google.cloud.dialogflow.cx.v3.ListChangelogsResponse>;

Calls ListChangelogs.

Parameter
NameDescription
request google.cloud.dialogflow.cx.v3.IListChangelogsRequest

ListChangelogsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.dialogflow.cx.v3.ListChangelogsResponse>

Promise