EncryptionSpecService

google.cloud.dialogflow.v2beta1. EncryptionSpecService

Represents an EncryptionSpecService

Constructor

new EncryptionSpecService(rpcImpl, requestDelimitedopt, responseDelimitedopt)

Constructs a new EncryptionSpecService service.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Extends

  • $protobuf.rpc.Service

Methods

getEncryptionSpec(request, callback) → {undefined}

Calls GetEncryptionSpec.

Parameters:
Name Type Description
request google.cloud.dialogflow.v2beta1.IGetEncryptionSpecRequest

GetEncryptionSpecRequest message or plain object

callback google.cloud.dialogflow.v2beta1.EncryptionSpecService.GetEncryptionSpecCallback

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

Returns:
Type Description
undefined

getEncryptionSpec(request) → {Promise.<google.cloud.dialogflow.v2beta1.EncryptionSpec>}

Calls GetEncryptionSpec.

Parameters:
Name Type Description
request google.cloud.dialogflow.v2beta1.IGetEncryptionSpecRequest

GetEncryptionSpecRequest message or plain object

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

Promise

initializeEncryptionSpec(request, callback) → {undefined}

Calls InitializeEncryptionSpec.

Parameters:
Name Type Description
request google.cloud.dialogflow.v2beta1.IInitializeEncryptionSpecRequest

InitializeEncryptionSpecRequest message or plain object

callback google.cloud.dialogflow.v2beta1.EncryptionSpecService.InitializeEncryptionSpecCallback

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

Returns:
Type Description
undefined

initializeEncryptionSpec(request) → {Promise.<google.longrunning.Operation>}

Calls InitializeEncryptionSpec.

Parameters:
Name Type Description
request google.cloud.dialogflow.v2beta1.IInitializeEncryptionSpecRequest

InitializeEncryptionSpecRequest message or plain object

Returns:
Type Description
Promise.<google.longrunning.Operation>

Promise

(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {EncryptionSpecService}

Creates new EncryptionSpecService service using the specified rpc implementation.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Returns:
Type Description
EncryptionSpecService

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

Type Definitions

GetEncryptionSpecCallback(error, responseopt)

Callback as used by getEncryptionSpec.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.dialogflow.v2beta1.EncryptionSpec <optional>

EncryptionSpec

InitializeEncryptionSpecCallback(error, responseopt)

Callback as used by initializeEncryptionSpec.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation