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 |
getRawKey()
Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 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 |
setRawKey(String rawKey)
Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 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, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, 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 getRawKey()
null for nonepublic CustomerEncryptionKey setRawKey(String rawKey)
rawKey - rawKey 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–2019 Google. All rights reserved.