public interface AutokeyConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getEtag()
Optional.
|
com.google.protobuf.ByteString |
getEtagBytes()
Optional.
|
String |
getKeyProject()
Optional.
|
com.google.protobuf.ByteString |
getKeyProjectBytes()
Optional.
|
String |
getName()
Identifier.
|
com.google.protobuf.ByteString |
getNameBytes()
Identifier.
|
AutokeyConfig.State |
getState()
Output only.
|
int |
getStateValue()
Output only.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
Identifier. Name of the [AutokeyConfig][google.cloud.kms.v1.AutokeyConfig]
resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig`.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];com.google.protobuf.ByteString getNameBytes()
Identifier. Name of the [AutokeyConfig][google.cloud.kms.v1.AutokeyConfig]
resource, e.g. `folders/{FOLDER_NUMBER}/autokeyConfig`.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];String getKeyProject()
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.
string key_project = 2 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getKeyProjectBytes()
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.
string key_project = 2 [(.google.api.field_behavior) = OPTIONAL];int getStateValue()
Output only. The state for the AutokeyConfig.
.google.cloud.kms.v1.AutokeyConfig.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
AutokeyConfig.State getState()
Output only. The state for the AutokeyConfig.
.google.cloud.kms.v1.AutokeyConfig.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
String getEtag()
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.
string etag = 6 [(.google.api.field_behavior) = OPTIONAL];com.google.protobuf.ByteString getEtagBytes()
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.
string etag = 6 [(.google.api.field_behavior) = OPTIONAL];Copyright © 2025 Google LLC. All rights reserved.