Google Cloud Dialogflow v2beta1 API - Class EncryptionSpecServiceClientImpl (1.0.0-beta19)

public sealed class EncryptionSpecServiceClientImpl : EncryptionSpecServiceClient

Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class EncryptionSpecServiceClientImpl.

EncryptionSpecService client wrapper implementation, for convenient use.

Inheritance

object > EncryptionSpecServiceClient > EncryptionSpecServiceClientImpl

Namespace

Google.Cloud.Dialogflow.V2Beta1

Assembly

Google.Cloud.Dialogflow.V2Beta1.dll

Remarks

Manages encryption spec settings for Dialogflow and Agent Assist.

Constructors

EncryptionSpecServiceClientImpl(EncryptionSpecServiceClient, EncryptionSpecServiceSettings, ILogger)

public EncryptionSpecServiceClientImpl(EncryptionSpecService.EncryptionSpecServiceClient grpcClient, EncryptionSpecServiceSettings settings, ILogger logger)

Constructs a client wrapper for the EncryptionSpecService service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient EncryptionSpecServiceEncryptionSpecServiceClient

The underlying gRPC client.

settings EncryptionSpecServiceSettings

The base EncryptionSpecServiceSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override EncryptionSpecService.EncryptionSpecServiceClient GrpcClient { get; }

The underlying gRPC EncryptionSpecService client

Property Value
Type Description
EncryptionSpecServiceEncryptionSpecServiceClient
Overrides

InitializeEncryptionSpecOperationsClient

public override OperationsClient InitializeEncryptionSpecOperationsClient { get; }

The long-running operations client for InitializeEncryptionSpec.

Property Value
Type Description
OperationsClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

Methods

GetEncryptionSpec(GetEncryptionSpecRequest, CallSettings)

public override EncryptionSpec GetEncryptionSpec(GetEncryptionSpecRequest request, CallSettings callSettings = null)

Gets location-level encryption key specification.

Parameters
Name Description
request GetEncryptionSpecRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
EncryptionSpec

The RPC response.

Overrides

GetEncryptionSpecAsync(GetEncryptionSpecRequest, CallSettings)

public override Task<EncryptionSpec> GetEncryptionSpecAsync(GetEncryptionSpecRequest request, CallSettings callSettings = null)

Gets location-level encryption key specification.

Parameters
Name Description
request GetEncryptionSpecRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskEncryptionSpec

A Task containing the RPC response.

Overrides

InitializeEncryptionSpec(InitializeEncryptionSpecRequest, CallSettings)

public override Operation<InitializeEncryptionSpecResponse, InitializeEncryptionSpecMetadata> InitializeEncryptionSpec(InitializeEncryptionSpecRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationInitializeEncryptionSpecResponseInitializeEncryptionSpecMetadata

The RPC response.

Overrides

InitializeEncryptionSpecAsync(InitializeEncryptionSpecRequest, CallSettings)

public override Task<Operation<InitializeEncryptionSpecResponse, InitializeEncryptionSpecMetadata>> InitializeEncryptionSpecAsync(InitializeEncryptionSpecRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationInitializeEncryptionSpecResponseInitializeEncryptionSpecMetadata

A Task containing the RPC response.

Overrides