Represents a Pages
Inheritance
$protobuf.rpc.Service > protos.google.cloud.dialogflow.cx.v3beta1.PagesPackage
@google-cloud/dialogflow-cxConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new Pages service.
| Parameters | |
|---|---|
| Name | Description | 
| rpcImpl | $protobuf.RPCImplRPC implementation | 
| requestDelimited | booleanWhether requests are length-delimited | 
| responseDelimited | booleanWhether 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 | |
|---|---|
| Name | Description | 
| rpcImpl | $protobuf.RPCImplRPC implementation | 
| requestDelimited | booleanWhether requests are length-delimited | 
| responseDelimited | booleanWhether responses are length-delimited | 
| Returns | |
|---|---|
| Type | Description | 
| 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 | |
|---|---|
| Name | Description | 
| request | ICreatePageRequestCreatePageRequest message or plain object | 
| callback | CreatePageCallbackNode-style callback called with the error, if any, and Page | 
| Returns | |
|---|---|
| Type | Description | 
| void | |
createPage(request)
public createPage(request: google.cloud.dialogflow.cx.v3beta1.ICreatePageRequest): Promise<google.cloud.dialogflow.cx.v3beta1.Page>;Calls CreatePage.
| Parameter | |
|---|---|
| Name | Description | 
| request | ICreatePageRequestCreatePageRequest message or plain object | 
| Returns | |
|---|---|
| Type | Description | 
| 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 | |
|---|---|
| Name | Description | 
| request | IDeletePageRequestDeletePageRequest message or plain object | 
| callback | DeletePageCallbackNode-style callback called with the error, if any, and Empty | 
| Returns | |
|---|---|
| Type | Description | 
| void | |
deletePage(request)
public deletePage(request: google.cloud.dialogflow.cx.v3beta1.IDeletePageRequest): Promise<google.protobuf.Empty>;Calls DeletePage.
| Parameter | |
|---|---|
| Name | Description | 
| request | IDeletePageRequestDeletePageRequest message or plain object | 
| Returns | |
|---|---|
| Type | Description | 
| 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 | |
|---|---|
| Name | Description | 
| request | IGetPageRequestGetPageRequest message or plain object | 
| callback | GetPageCallbackNode-style callback called with the error, if any, and Page | 
| Returns | |
|---|---|
| Type | Description | 
| void | |
getPage(request)
public getPage(request: google.cloud.dialogflow.cx.v3beta1.IGetPageRequest): Promise<google.cloud.dialogflow.cx.v3beta1.Page>;Calls GetPage.
| Parameter | |
|---|---|
| Name | Description | 
| request | IGetPageRequestGetPageRequest message or plain object | 
| Returns | |
|---|---|
| Type | Description | 
| 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 | |
|---|---|
| Name | Description | 
| request | IListPagesRequestListPagesRequest message or plain object | 
| callback | ListPagesCallbackNode-style callback called with the error, if any, and ListPagesResponse | 
| Returns | |
|---|---|
| Type | Description | 
| void | |
listPages(request)
public listPages(request: google.cloud.dialogflow.cx.v3beta1.IListPagesRequest): Promise<google.cloud.dialogflow.cx.v3beta1.ListPagesResponse>;Calls ListPages.
| Parameter | |
|---|---|
| Name | Description | 
| request | IListPagesRequestListPagesRequest message or plain object | 
| Returns | |
|---|---|
| Type | Description | 
| 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 | |
|---|---|
| Name | Description | 
| request | IUpdatePageRequestUpdatePageRequest message or plain object | 
| callback | UpdatePageCallbackNode-style callback called with the error, if any, and Page | 
| Returns | |
|---|---|
| Type | Description | 
| void | |
updatePage(request)
public updatePage(request: google.cloud.dialogflow.cx.v3beta1.IUpdatePageRequest): Promise<google.cloud.dialogflow.cx.v3beta1.Page>;Calls UpdatePage.
| Parameter | |
|---|---|
| Name | Description | 
| request | IUpdatePageRequestUpdatePageRequest message or plain object | 
| Returns | |
|---|---|
| Type | Description | 
| Promise<google.cloud.dialogflow.cx.v3beta1.Page> | Promise |