Represents a Deployments
Inheritance
$protobuf.rpc.Service > protos.google.cloud.dialogflow.cx.v3beta1.DeploymentsPackage
@google-cloud/dialogflow-cxConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new Deployments service.
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): Deployments;
Creates new Deployments service using the specified rpc implementation.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Type | Description |
Deployments | RPC service. Useful where requests and/or responses are streamed. |
getDeployment(request, callback)
public getDeployment(request: google.cloud.dialogflow.cx.v3beta1.IGetDeploymentRequest, callback: google.cloud.dialogflow.cx.v3beta1.Deployments.GetDeploymentCallback): void;
Calls GetDeployment.
Name | Description |
request |
IGetDeploymentRequest
GetDeploymentRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3beta1.Deployments.GetDeploymentCallback
Node-style callback called with the error, if any, and Deployment |
Type | Description |
void |
getDeployment(request)
public getDeployment(request: google.cloud.dialogflow.cx.v3beta1.IGetDeploymentRequest): Promise<google.cloud.dialogflow.cx.v3beta1.Deployment>;
Calls GetDeployment.
Name | Description |
request |
IGetDeploymentRequest
GetDeploymentRequest message or plain object |
Type | Description |
Promise<google.cloud.dialogflow.cx.v3beta1.Deployment> | Promise |
listDeployments(request, callback)
public listDeployments(request: google.cloud.dialogflow.cx.v3beta1.IListDeploymentsRequest, callback: google.cloud.dialogflow.cx.v3beta1.Deployments.ListDeploymentsCallback): void;
Calls ListDeployments.
Name | Description |
request |
google.cloud.dialogflow.cx.v3beta1.IListDeploymentsRequest
ListDeploymentsRequest message or plain object |
callback |
google.cloud.dialogflow.cx.v3beta1.Deployments.ListDeploymentsCallback
Node-style callback called with the error, if any, and ListDeploymentsResponse |
Type | Description |
void |
listDeployments(request)
public listDeployments(request: google.cloud.dialogflow.cx.v3beta1.IListDeploymentsRequest): Promise<google.cloud.dialogflow.cx.v3beta1.ListDeploymentsResponse>;
Calls ListDeployments.
Name | Description |
request |
google.cloud.dialogflow.cx.v3beta1.IListDeploymentsRequest
ListDeploymentsRequest message or plain object |
Type | Description |
Promise<google.cloud.dialogflow.cx.v3beta1.ListDeploymentsResponse> | Promise |