Class protos.google.cloud.dialogflow.cx.v3beta1.Deployments (3.2.1)

Represents a Deployments

Inheritance

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

Package

@google-cloud/dialogflow-cx

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

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

Creates new Deployments 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
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.

Parameters
NameDescription
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

Returns
TypeDescription
void

getDeployment(request)

public getDeployment(request: google.cloud.dialogflow.cx.v3beta1.IGetDeploymentRequest): Promise<google.cloud.dialogflow.cx.v3beta1.Deployment>;

Calls GetDeployment.

Parameter
NameDescription
request IGetDeploymentRequest

GetDeploymentRequest message or plain object

Returns
TypeDescription
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.

Parameters
NameDescription
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

Returns
TypeDescription
void

listDeployments(request)

public listDeployments(request: google.cloud.dialogflow.cx.v3beta1.IListDeploymentsRequest): Promise<google.cloud.dialogflow.cx.v3beta1.ListDeploymentsResponse>;

Calls ListDeployments.

Parameter
NameDescription
request google.cloud.dialogflow.cx.v3beta1.IListDeploymentsRequest

ListDeploymentsRequest message or plain object

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

Promise