public sealed class AutokeyConfig : IMessage<AutokeyConfig>, IEquatable<AutokeyConfig>, IDeepCloneable<AutokeyConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Key Management Service v1 API class AutokeyConfig.
Cloud KMS Autokey configuration for a folder.
Implements
IMessageAutokeyConfig, IEquatableAutokeyConfig, IDeepCloneableAutokeyConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Kms.V1Assembly
Google.Cloud.Kms.V1.dll
Constructors
AutokeyConfig()
public AutokeyConfig()
AutokeyConfig(AutokeyConfig)
public AutokeyConfig(AutokeyConfig other)
Parameter | |
---|---|
Name | Description |
other |
AutokeyConfig |
Properties
AutokeyConfigName
public AutokeyConfigName AutokeyConfigName { get; set; }
AutokeyConfigName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
AutokeyConfigName |
Etag
public string Etag { get; set; }
Optional. A checksum computed by the server based on the value of other fields. This may be sent on update requests to ensure that the client has an up-to-date value before proceeding. The request will be rejected with an ABORTED error on a mismatched etag.
Property Value | |
---|---|
Type | Description |
string |
KeyProject
public string KeyProject { get; set; }
Optional. Name of the key project, e.g. projects/{PROJECT_ID}
or
projects/{PROJECT_NUMBER}
, where Cloud KMS Autokey will provision a new
[CryptoKey][google.cloud.kms.v1.CryptoKey] when a
[KeyHandle][google.cloud.kms.v1.KeyHandle] is created. On
[UpdateAutokeyConfig][google.cloud.kms.v1.AutokeyAdmin.UpdateAutokeyConfig],
the caller will require cloudkms.cryptoKeys.setIamPolicy
permission on
this key project. Once configured, for Cloud KMS Autokey to function
properly, this key project must have the Cloud KMS API activated and the
Cloud KMS Service Agent for this key project must be granted the
cloudkms.admin
role (or pertinent permissions). A request with an empty
key project field will clear the configuration.
Property Value | |
---|---|
Type | Description |
string |
Name
public string Name { get; set; }
Identifier. Name of the [AutokeyConfig][google.cloud.kms.v1.AutokeyConfig]
resource, e.g. folders/{FOLDER_NUMBER}/autokeyConfig
.
Property Value | |
---|---|
Type | Description |
string |
State
public AutokeyConfig.Types.State State { get; set; }
Output only. The state for the AutokeyConfig.
Property Value | |
---|---|
Type | Description |
AutokeyConfigTypesState |