Discovery Engine v1 API - Class CmekConfigServiceClientImpl (1.8.0)

public sealed class CmekConfigServiceClientImpl : CmekConfigServiceClient

Reference documentation and code samples for the Discovery Engine v1 API class CmekConfigServiceClientImpl.

CmekConfigService client wrapper implementation, for convenient use.

Inheritance

object > CmekConfigServiceClient > CmekConfigServiceClientImpl

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Remarks

Service for managing CMEK related tasks

Constructors

CmekConfigServiceClientImpl(CmekConfigServiceClient, CmekConfigServiceSettings, ILogger)

public CmekConfigServiceClientImpl(CmekConfigService.CmekConfigServiceClient grpcClient, CmekConfigServiceSettings settings, ILogger logger)

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

Parameters
Name Description
grpcClient CmekConfigServiceCmekConfigServiceClient

The underlying gRPC client.

settings CmekConfigServiceSettings

The base CmekConfigServiceSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

DeleteCmekConfigOperationsClient

public override OperationsClient DeleteCmekConfigOperationsClient { get; }

The long-running operations client for DeleteCmekConfig.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override CmekConfigService.CmekConfigServiceClient GrpcClient { get; }

The underlying gRPC CmekConfigService client

Property Value
Type Description
CmekConfigServiceCmekConfigServiceClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

UpdateCmekConfigOperationsClient

public override OperationsClient UpdateCmekConfigOperationsClient { get; }

The long-running operations client for UpdateCmekConfig.

Property Value
Type Description
OperationsClient
Overrides

Methods

DeleteCmekConfig(DeleteCmekConfigRequest, CallSettings)

public override Operation<Empty, DeleteCmekConfigMetadata> DeleteCmekConfig(DeleteCmekConfigRequest request, CallSettings callSettings = null)

De-provisions a CmekConfig.

Parameters
Name Description
request DeleteCmekConfigRequest

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
OperationEmptyDeleteCmekConfigMetadata

The RPC response.

Overrides

DeleteCmekConfigAsync(DeleteCmekConfigRequest, CallSettings)

public override Task<Operation<Empty, DeleteCmekConfigMetadata>> DeleteCmekConfigAsync(DeleteCmekConfigRequest request, CallSettings callSettings = null)

De-provisions a CmekConfig.

Parameters
Name Description
request DeleteCmekConfigRequest

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
TaskOperationEmptyDeleteCmekConfigMetadata

A Task containing the RPC response.

Overrides

GetCmekConfig(GetCmekConfigRequest, CallSettings)

public override CmekConfig GetCmekConfig(GetCmekConfigRequest request, CallSettings callSettings = null)

Gets the [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig].

Parameters
Name Description
request GetCmekConfigRequest

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
CmekConfig

The RPC response.

Overrides

GetCmekConfigAsync(GetCmekConfigRequest, CallSettings)

public override Task<CmekConfig> GetCmekConfigAsync(GetCmekConfigRequest request, CallSettings callSettings = null)

Gets the [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig].

Parameters
Name Description
request GetCmekConfigRequest

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
TaskCmekConfig

A Task containing the RPC response.

Overrides

ListCmekConfigs(ListCmekConfigsRequest, CallSettings)

public override ListCmekConfigsResponse ListCmekConfigs(ListCmekConfigsRequest request, CallSettings callSettings = null)

Lists all the [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig]s with the project.

Parameters
Name Description
request ListCmekConfigsRequest

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
ListCmekConfigsResponse

The RPC response.

Overrides

ListCmekConfigsAsync(ListCmekConfigsRequest, CallSettings)

public override Task<ListCmekConfigsResponse> ListCmekConfigsAsync(ListCmekConfigsRequest request, CallSettings callSettings = null)

Lists all the [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig]s with the project.

Parameters
Name Description
request ListCmekConfigsRequest

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
TaskListCmekConfigsResponse

A Task containing the RPC response.

Overrides

UpdateCmekConfig(UpdateCmekConfigRequest, CallSettings)

public override Operation<CmekConfig, UpdateCmekConfigMetadata> UpdateCmekConfig(UpdateCmekConfigRequest request, CallSettings callSettings = null)

Provisions a CMEK key for use in a location of a customer's project. This method will also conduct location validation on the provided cmekConfig to make sure the key is valid and can be used in the selected location.

Parameters
Name Description
request UpdateCmekConfigRequest

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
OperationCmekConfigUpdateCmekConfigMetadata

The RPC response.

Overrides

UpdateCmekConfigAsync(UpdateCmekConfigRequest, CallSettings)

public override Task<Operation<CmekConfig, UpdateCmekConfigMetadata>> UpdateCmekConfigAsync(UpdateCmekConfigRequest request, CallSettings callSettings = null)

Provisions a CMEK key for use in a location of a customer's project. This method will also conduct location validation on the provided cmekConfig to make sure the key is valid and can be used in the selected location.

Parameters
Name Description
request UpdateCmekConfigRequest

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
TaskOperationCmekConfigUpdateCmekConfigMetadata

A Task containing the RPC response.

Overrides