public final class CustomerEncryptionKey extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description | 
|---|
| CustomerEncryptionKey() | 
| Modifier and Type | Method and Description | 
|---|---|
| CustomerEncryptionKey | clone() | 
| String | getKmsKeyName()The name of the encryption key that is stored in Google Cloud KMS. | 
| String | getKmsKeyServiceAccount()The service account being used for the encryption request for the given KMS key. | 
| String | getRawKey()Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either
 encrypt or decrypt this resource. | 
| String | getRsaEncryptedKey()Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to
 either encrypt or decrypt this resource. | 
| String | getSha256()[Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key
 that protects this resource. | 
| CustomerEncryptionKey | set(String fieldName,
   Object value) | 
| CustomerEncryptionKey | setKmsKeyName(String kmsKeyName)The name of the encryption key that is stored in Google Cloud KMS. | 
| CustomerEncryptionKey | setKmsKeyServiceAccount(String kmsKeyServiceAccount)The service account being used for the encryption request for the given KMS key. | 
| CustomerEncryptionKey | setRawKey(String rawKey)Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either
 encrypt or decrypt this resource. | 
| CustomerEncryptionKey | setRsaEncryptedKey(String rsaEncryptedKey)Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to
 either encrypt or decrypt this resource. | 
| CustomerEncryptionKey | setSha256(String sha256)[Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key
 that protects this resource. | 
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getKmsKeyName()
null for nonepublic CustomerEncryptionKey setKmsKeyName(String kmsKeyName)
kmsKeyName - kmsKeyName or null for nonepublic String getKmsKeyServiceAccount()
null for nonepublic CustomerEncryptionKey setKmsKeyServiceAccount(String kmsKeyServiceAccount)
kmsKeyServiceAccount - kmsKeyServiceAccount or null for nonepublic String getRawKey()
null for nonepublic CustomerEncryptionKey setRawKey(String rawKey)
rawKey - rawKey or null for nonepublic String getRsaEncryptedKey()
null for nonepublic CustomerEncryptionKey setRsaEncryptedKey(String rsaEncryptedKey)
rsaEncryptedKey - rsaEncryptedKey or null for nonepublic String getSha256()
null for nonepublic CustomerEncryptionKey setSha256(String sha256)
sha256 - sha256 or null for nonepublic CustomerEncryptionKey set(String fieldName, Object value)
set in class GenericJsonpublic CustomerEncryptionKey clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.