[BindServiceMethod(typeof(AutokeyAdmin), "BindService")]
public abstract class AutokeyAdmin.AutokeyAdminBase
Reference documentation and code samples for the Google Cloud Key Management Service v1 API class AutokeyAdmin.AutokeyAdminBase.
Base class for server-side implementations of AutokeyAdmin
Namespace
Google.Cloud.Kms.V1Assembly
Google.Cloud.Kms.V1.dll
Methods
GetAutokeyConfig(GetAutokeyConfigRequest, ServerCallContext)
public virtual Task<AutokeyConfig> GetAutokeyConfig(GetAutokeyConfigRequest request, ServerCallContext context)
Returns the [AutokeyConfig][google.cloud.kms.v1.AutokeyConfig] for a folder.
Parameters | |
---|---|
Name | Description |
request |
GetAutokeyConfigRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskAutokeyConfig |
The response to send back to the client (wrapped by a task). |
ShowEffectiveAutokeyConfig(ShowEffectiveAutokeyConfigRequest, ServerCallContext)
public virtual Task<ShowEffectiveAutokeyConfigResponse> ShowEffectiveAutokeyConfig(ShowEffectiveAutokeyConfigRequest request, ServerCallContext context)
Returns the effective Cloud KMS Autokey configuration for a given project.
Parameters | |
---|---|
Name | Description |
request |
ShowEffectiveAutokeyConfigRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskShowEffectiveAutokeyConfigResponse |
The response to send back to the client (wrapped by a task). |
UpdateAutokeyConfig(UpdateAutokeyConfigRequest, ServerCallContext)
public virtual Task<AutokeyConfig> UpdateAutokeyConfig(UpdateAutokeyConfigRequest request, ServerCallContext context)
Updates the [AutokeyConfig][google.cloud.kms.v1.AutokeyConfig] for a
folder. The caller must have both cloudkms.autokeyConfigs.update
permission on the parent folder and cloudkms.cryptoKeys.setIamPolicy
permission on the provided key project. A
[KeyHandle][google.cloud.kms.v1.KeyHandle] creation in the folder's
descendant projects will use this configuration to determine where to
create the resulting [CryptoKey][google.cloud.kms.v1.CryptoKey].
Parameters | |
---|---|
Name | Description |
request |
UpdateAutokeyConfigRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
TaskAutokeyConfig |
The response to send back to the client (wrapped by a task). |