public interface EncryptionSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getKmsKey()
Required.
|
com.google.protobuf.ByteString |
getKmsKeyBytes()
Required.
|
String |
getName()
Immutable.
|
com.google.protobuf.ByteString |
getNameBytes()
Immutable.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
Immutable. The resource name of the encryption key specification resource.
Format:
projects/{project}/locations/{location}/encryptionSpec
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];com.google.protobuf.ByteString getNameBytes()
Immutable. The resource name of the encryption key specification resource.
Format:
projects/{project}/locations/{location}/encryptionSpec
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];String getKmsKey()
Required. The name of customer-managed encryption key that is used to
secure a resource and its sub-resources. If empty, the resource is secured
by our default encryption key. Only the key in the same location as this
resource is allowed to be used for encryption. Format:
`projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}`
string kms_key = 2 [(.google.api.field_behavior) = REQUIRED];com.google.protobuf.ByteString getKmsKeyBytes()
Required. The name of customer-managed encryption key that is used to
secure a resource and its sub-resources. If empty, the resource is secured
by our default encryption key. Only the key in the same location as this
resource is allowed to be used for encryption. Format:
`projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{key}`
string kms_key = 2 [(.google.api.field_behavior) = REQUIRED];Copyright © 2025 Google LLC. All rights reserved.