Class protos.google.cloud.dialogflow.cx.v3beta1.Pages (4.3.1)

Represents a Pages

Inheritance

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

Package

@google-cloud/dialogflow-cx

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

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

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

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

createPage(request, callback)

public createPage(request: google.cloud.dialogflow.cx.v3beta1.ICreatePageRequest, callback: google.cloud.dialogflow.cx.v3beta1.Pages.CreatePageCallback): void;

Calls CreatePage.

Parameters
NameDescription
request ICreatePageRequest

CreatePageRequest message or plain object

callback CreatePageCallback

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

Returns
TypeDescription
void

createPage(request)

public createPage(request: google.cloud.dialogflow.cx.v3beta1.ICreatePageRequest): Promise<google.cloud.dialogflow.cx.v3beta1.Page>;

Calls CreatePage.

Parameter
NameDescription
request ICreatePageRequest

CreatePageRequest message or plain object

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

Promise

deletePage(request, callback)

public deletePage(request: google.cloud.dialogflow.cx.v3beta1.IDeletePageRequest, callback: google.cloud.dialogflow.cx.v3beta1.Pages.DeletePageCallback): void;

Calls DeletePage.

Parameters
NameDescription
request IDeletePageRequest

DeletePageRequest message or plain object

callback DeletePageCallback

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

Returns
TypeDescription
void

deletePage(request)

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

Calls DeletePage.

Parameter
NameDescription
request IDeletePageRequest

DeletePageRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

getPage(request, callback)

public getPage(request: google.cloud.dialogflow.cx.v3beta1.IGetPageRequest, callback: google.cloud.dialogflow.cx.v3beta1.Pages.GetPageCallback): void;

Calls GetPage.

Parameters
NameDescription
request IGetPageRequest

GetPageRequest message or plain object

callback GetPageCallback

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

Returns
TypeDescription
void

getPage(request)

public getPage(request: google.cloud.dialogflow.cx.v3beta1.IGetPageRequest): Promise<google.cloud.dialogflow.cx.v3beta1.Page>;

Calls GetPage.

Parameter
NameDescription
request IGetPageRequest

GetPageRequest message or plain object

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

Promise

listPages(request, callback)

public listPages(request: google.cloud.dialogflow.cx.v3beta1.IListPagesRequest, callback: google.cloud.dialogflow.cx.v3beta1.Pages.ListPagesCallback): void;

Calls ListPages.

Parameters
NameDescription
request IListPagesRequest

ListPagesRequest message or plain object

callback ListPagesCallback

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

Returns
TypeDescription
void

listPages(request)

public listPages(request: google.cloud.dialogflow.cx.v3beta1.IListPagesRequest): Promise<google.cloud.dialogflow.cx.v3beta1.ListPagesResponse>;

Calls ListPages.

Parameter
NameDescription
request IListPagesRequest

ListPagesRequest message or plain object

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

Promise

updatePage(request, callback)

public updatePage(request: google.cloud.dialogflow.cx.v3beta1.IUpdatePageRequest, callback: google.cloud.dialogflow.cx.v3beta1.Pages.UpdatePageCallback): void;

Calls UpdatePage.

Parameters
NameDescription
request IUpdatePageRequest

UpdatePageRequest message or plain object

callback UpdatePageCallback

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

Returns
TypeDescription
void

updatePage(request)

public updatePage(request: google.cloud.dialogflow.cx.v3beta1.IUpdatePageRequest): Promise<google.cloud.dialogflow.cx.v3beta1.Page>;

Calls UpdatePage.

Parameter
NameDescription
request IUpdatePageRequest

UpdatePageRequest message or plain object

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

Promise