Class protos.google.cloud.dialogflow.v2beta1.EncryptionSpecService (6.13.0)

Represents an EncryptionSpecService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.dialogflow.v2beta1.EncryptionSpecService

Package

@google-cloud/dialogflow

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new EncryptionSpecService service.

Parameters
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): EncryptionSpecService;

Creates new EncryptionSpecService service using the specified rpc implementation.

Parameters
Name Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
Type Description
EncryptionSpecService

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

getEncryptionSpec(request, callback)

public getEncryptionSpec(request: google.cloud.dialogflow.v2beta1.IGetEncryptionSpecRequest, callback: google.cloud.dialogflow.v2beta1.EncryptionSpecService.GetEncryptionSpecCallback): void;

Calls GetEncryptionSpec.

Parameters
Name Description
request IGetEncryptionSpecRequest

GetEncryptionSpecRequest message or plain object

callback GetEncryptionSpecCallback

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

Returns
Type Description
void

getEncryptionSpec(request)

public getEncryptionSpec(request: google.cloud.dialogflow.v2beta1.IGetEncryptionSpecRequest): Promise<google.cloud.dialogflow.v2beta1.EncryptionSpec>;

Calls GetEncryptionSpec.

Parameter
Name Description
request IGetEncryptionSpecRequest

GetEncryptionSpecRequest message or plain object

Returns
Type Description
Promise<google.cloud.dialogflow.v2beta1.EncryptionSpec>

Promise

initializeEncryptionSpec(request, callback)

public initializeEncryptionSpec(request: google.cloud.dialogflow.v2beta1.IInitializeEncryptionSpecRequest, callback: google.cloud.dialogflow.v2beta1.EncryptionSpecService.InitializeEncryptionSpecCallback): void;

Calls InitializeEncryptionSpec.

Parameters
Name Description
request IInitializeEncryptionSpecRequest

InitializeEncryptionSpecRequest message or plain object

callback InitializeEncryptionSpecCallback

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

Returns
Type Description
void

initializeEncryptionSpec(request)

public initializeEncryptionSpec(request: google.cloud.dialogflow.v2beta1.IInitializeEncryptionSpecRequest): Promise<google.longrunning.Operation>;

Calls InitializeEncryptionSpec.

Parameter
Name Description
request IInitializeEncryptionSpecRequest

InitializeEncryptionSpecRequest message or plain object

Returns
Type Description
Promise<google.longrunning.Operation>

Promise