Class protos.google.cloud.dialogflow.cx.v3beta1.Playbooks (4.6.0)

Represents a Playbooks

Inheritance

$protobuf.rpc.Service > protos.google.cloud.dialogflow.cx.v3beta1.Playbooks

Package

@google-cloud/dialogflow-cx

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new Playbooks 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): Playbooks;

Creates new Playbooks 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
Playbooks

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

createPlaybook(request, callback)

public createPlaybook(request: google.cloud.dialogflow.cx.v3beta1.ICreatePlaybookRequest, callback: google.cloud.dialogflow.cx.v3beta1.Playbooks.CreatePlaybookCallback): void;

Calls CreatePlaybook.

Parameters
NameDescription
request ICreatePlaybookRequest

CreatePlaybookRequest message or plain object

callback CreatePlaybookCallback

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

Returns
TypeDescription
void

createPlaybook(request)

public createPlaybook(request: google.cloud.dialogflow.cx.v3beta1.ICreatePlaybookRequest): Promise<google.cloud.dialogflow.cx.v3beta1.Playbook>;

Calls CreatePlaybook.

Parameter
NameDescription
request ICreatePlaybookRequest

CreatePlaybookRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.dialogflow.cx.v3beta1.Playbook>

Promise

createPlaybookVersion(request, callback)

public createPlaybookVersion(request: google.cloud.dialogflow.cx.v3beta1.ICreatePlaybookVersionRequest, callback: google.cloud.dialogflow.cx.v3beta1.Playbooks.CreatePlaybookVersionCallback): void;

Calls CreatePlaybookVersion.

Parameters
NameDescription
request ICreatePlaybookVersionRequest

CreatePlaybookVersionRequest message or plain object

callback CreatePlaybookVersionCallback

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

Returns
TypeDescription
void

createPlaybookVersion(request)

public createPlaybookVersion(request: google.cloud.dialogflow.cx.v3beta1.ICreatePlaybookVersionRequest): Promise<google.cloud.dialogflow.cx.v3beta1.PlaybookVersion>;

Calls CreatePlaybookVersion.

Parameter
NameDescription
request ICreatePlaybookVersionRequest

CreatePlaybookVersionRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.dialogflow.cx.v3beta1.PlaybookVersion>

Promise

deletePlaybook(request, callback)

public deletePlaybook(request: google.cloud.dialogflow.cx.v3beta1.IDeletePlaybookRequest, callback: google.cloud.dialogflow.cx.v3beta1.Playbooks.DeletePlaybookCallback): void;

Calls DeletePlaybook.

Parameters
NameDescription
request IDeletePlaybookRequest

DeletePlaybookRequest message or plain object

callback DeletePlaybookCallback

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

Returns
TypeDescription
void

deletePlaybook(request)

public deletePlaybook(request: google.cloud.dialogflow.cx.v3beta1.IDeletePlaybookRequest): Promise<google.protobuf.Empty>;

Calls DeletePlaybook.

Parameter
NameDescription
request IDeletePlaybookRequest

DeletePlaybookRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

deletePlaybookVersion(request, callback)

public deletePlaybookVersion(request: google.cloud.dialogflow.cx.v3beta1.IDeletePlaybookVersionRequest, callback: google.cloud.dialogflow.cx.v3beta1.Playbooks.DeletePlaybookVersionCallback): void;

Calls DeletePlaybookVersion.

Parameters
NameDescription
request IDeletePlaybookVersionRequest

DeletePlaybookVersionRequest message or plain object

callback DeletePlaybookVersionCallback

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

Returns
TypeDescription
void

deletePlaybookVersion(request)

public deletePlaybookVersion(request: google.cloud.dialogflow.cx.v3beta1.IDeletePlaybookVersionRequest): Promise<google.protobuf.Empty>;

Calls DeletePlaybookVersion.

Parameter
NameDescription
request IDeletePlaybookVersionRequest

DeletePlaybookVersionRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

getPlaybook(request, callback)

public getPlaybook(request: google.cloud.dialogflow.cx.v3beta1.IGetPlaybookRequest, callback: google.cloud.dialogflow.cx.v3beta1.Playbooks.GetPlaybookCallback): void;

Calls GetPlaybook.

Parameters
NameDescription
request IGetPlaybookRequest

GetPlaybookRequest message or plain object

callback GetPlaybookCallback

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

Returns
TypeDescription
void

getPlaybook(request)

public getPlaybook(request: google.cloud.dialogflow.cx.v3beta1.IGetPlaybookRequest): Promise<google.cloud.dialogflow.cx.v3beta1.Playbook>;

Calls GetPlaybook.

Parameter
NameDescription
request IGetPlaybookRequest

GetPlaybookRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.dialogflow.cx.v3beta1.Playbook>

Promise

getPlaybookVersion(request, callback)

public getPlaybookVersion(request: google.cloud.dialogflow.cx.v3beta1.IGetPlaybookVersionRequest, callback: google.cloud.dialogflow.cx.v3beta1.Playbooks.GetPlaybookVersionCallback): void;

Calls GetPlaybookVersion.

Parameters
NameDescription
request IGetPlaybookVersionRequest

GetPlaybookVersionRequest message or plain object

callback GetPlaybookVersionCallback

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

Returns
TypeDescription
void

getPlaybookVersion(request)

public getPlaybookVersion(request: google.cloud.dialogflow.cx.v3beta1.IGetPlaybookVersionRequest): Promise<google.cloud.dialogflow.cx.v3beta1.PlaybookVersion>;

Calls GetPlaybookVersion.

Parameter
NameDescription
request IGetPlaybookVersionRequest

GetPlaybookVersionRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.dialogflow.cx.v3beta1.PlaybookVersion>

Promise

listPlaybooks(request, callback)

public listPlaybooks(request: google.cloud.dialogflow.cx.v3beta1.IListPlaybooksRequest, callback: google.cloud.dialogflow.cx.v3beta1.Playbooks.ListPlaybooksCallback): void;

Calls ListPlaybooks.

Parameters
NameDescription
request IListPlaybooksRequest

ListPlaybooksRequest message or plain object

callback ListPlaybooksCallback

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

Returns
TypeDescription
void

listPlaybooks(request)

public listPlaybooks(request: google.cloud.dialogflow.cx.v3beta1.IListPlaybooksRequest): Promise<google.cloud.dialogflow.cx.v3beta1.ListPlaybooksResponse>;

Calls ListPlaybooks.

Parameter
NameDescription
request IListPlaybooksRequest

ListPlaybooksRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.dialogflow.cx.v3beta1.ListPlaybooksResponse>

Promise

listPlaybookVersions(request, callback)

public listPlaybookVersions(request: google.cloud.dialogflow.cx.v3beta1.IListPlaybookVersionsRequest, callback: google.cloud.dialogflow.cx.v3beta1.Playbooks.ListPlaybookVersionsCallback): void;

Calls ListPlaybookVersions.

Parameters
NameDescription
request IListPlaybookVersionsRequest

ListPlaybookVersionsRequest message or plain object

callback ListPlaybookVersionsCallback

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

Returns
TypeDescription
void

listPlaybookVersions(request)

public listPlaybookVersions(request: google.cloud.dialogflow.cx.v3beta1.IListPlaybookVersionsRequest): Promise<google.cloud.dialogflow.cx.v3beta1.ListPlaybookVersionsResponse>;

Calls ListPlaybookVersions.

Parameter
NameDescription
request IListPlaybookVersionsRequest

ListPlaybookVersionsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.dialogflow.cx.v3beta1.ListPlaybookVersionsResponse>

Promise

updatePlaybook(request, callback)

public updatePlaybook(request: google.cloud.dialogflow.cx.v3beta1.IUpdatePlaybookRequest, callback: google.cloud.dialogflow.cx.v3beta1.Playbooks.UpdatePlaybookCallback): void;

Calls UpdatePlaybook.

Parameters
NameDescription
request IUpdatePlaybookRequest

UpdatePlaybookRequest message or plain object

callback UpdatePlaybookCallback

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

Returns
TypeDescription
void

updatePlaybook(request)

public updatePlaybook(request: google.cloud.dialogflow.cx.v3beta1.IUpdatePlaybookRequest): Promise<google.cloud.dialogflow.cx.v3beta1.Playbook>;

Calls UpdatePlaybook.

Parameter
NameDescription
request IUpdatePlaybookRequest

UpdatePlaybookRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.dialogflow.cx.v3beta1.Playbook>

Promise