Google Cloud Dialogflow v2 API - Class EncryptionSpecService.EncryptionSpecServiceBase (4.22.0)

[BindServiceMethod(typeof(EncryptionSpecService), "BindService")]
public abstract class EncryptionSpecService.EncryptionSpecServiceBase

Reference documentation and code samples for the Google Cloud Dialogflow v2 API class EncryptionSpecService.EncryptionSpecServiceBase.

Base class for server-side implementations of EncryptionSpecService

Inheritance

object > EncryptionSpecService.EncryptionSpecServiceBase

Namespace

Google.Cloud.Dialogflow.V2

Assembly

Google.Cloud.Dialogflow.V2.dll

Methods

GetEncryptionSpec(GetEncryptionSpecRequest, ServerCallContext)

public virtual Task<EncryptionSpec> GetEncryptionSpec(GetEncryptionSpecRequest request, ServerCallContext context)

Gets location-level encryption key specification.

Parameters
Name Description
request GetEncryptionSpecRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskEncryptionSpec

The response to send back to the client (wrapped by a task).

InitializeEncryptionSpec(InitializeEncryptionSpecRequest, ServerCallContext)

public virtual Task<Operation> InitializeEncryptionSpec(InitializeEncryptionSpecRequest request, ServerCallContext context)

Initializes a location-level encryption key specification. An error will be thrown if the location has resources already created before the initialization. Once the encryption specification is initialized at a location, it is immutable and all newly created resources under the location will be encrypted with the existing specification.

Parameters
Name Description
request InitializeEncryptionSpecRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).