Class protos.google.cloud.dialogflow.cx.v3beta1.Changelogs (4.9.0)

Represents a Changelogs

Inheritance

$protobuf.rpc.Service > protos.google.cloud.dialogflow.cx.v3beta1.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
Name Description
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
Name Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
Type Description
Changelogs

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

getChangelog(request, callback)

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

Calls GetChangelog.

Parameters
Name Description
request IGetChangelogRequest

GetChangelogRequest message or plain object

callback GetChangelogCallback

Node-style callback called with the error, if any, and Changelog

Returns
Type Description
void

getChangelog(request)

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

Calls GetChangelog.

Parameter
Name Description
request IGetChangelogRequest

GetChangelogRequest message or plain object

Returns
Type Description
Promise<google.cloud.dialogflow.cx.v3beta1.Changelog>

Promise

listChangelogs(request, callback)

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

Calls ListChangelogs.

Parameters
Name Description
request IListChangelogsRequest

ListChangelogsRequest message or plain object

callback ListChangelogsCallback

Node-style callback called with the error, if any, and ListChangelogsResponse

Returns
Type Description
void

listChangelogs(request)

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

Calls ListChangelogs.

Parameter
Name Description
request IListChangelogsRequest

ListChangelogsRequest message or plain object

Returns
Type Description
Promise<google.cloud.dialogflow.cx.v3beta1.ListChangelogsResponse>

Promise