[BindServiceMethod(typeof(CmekConfigService), "BindService")]
public abstract class CmekConfigService.CmekConfigServiceBaseReference documentation and code samples for the Discovery Engine v1 API class CmekConfigService.CmekConfigServiceBase.
Base class for server-side implementations of CmekConfigService
Namespace
Google.Cloud.DiscoveryEngine.V1Assembly
Google.Cloud.DiscoveryEngine.V1.dll
Methods
DeleteCmekConfig(DeleteCmekConfigRequest, ServerCallContext)
public virtual Task<Operation> DeleteCmekConfig(DeleteCmekConfigRequest request, ServerCallContext context)De-provisions a CmekConfig.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteCmekConfigRequestThe request received from the client. |
context |
ServerCallContextThe 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). |
GetCmekConfig(GetCmekConfigRequest, ServerCallContext)
public virtual Task<CmekConfig> GetCmekConfig(GetCmekConfigRequest request, ServerCallContext context)Gets the [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig].
| Parameters | |
|---|---|
| Name | Description |
request |
GetCmekConfigRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskCmekConfig |
The response to send back to the client (wrapped by a task). |
ListCmekConfigs(ListCmekConfigsRequest, ServerCallContext)
public virtual Task<ListCmekConfigsResponse> ListCmekConfigs(ListCmekConfigsRequest request, ServerCallContext context)Lists all the [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig]s with the project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListCmekConfigsRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskListCmekConfigsResponse |
The response to send back to the client (wrapped by a task). |
UpdateCmekConfig(UpdateCmekConfigRequest, ServerCallContext)
public virtual Task<Operation> UpdateCmekConfig(UpdateCmekConfigRequest request, ServerCallContext context)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 |
UpdateCmekConfigRequestThe request received from the client. |
context |
ServerCallContextThe 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). |