public final class ImportTrustedKeyWrappedCryptoKeyVersionRequest
extends com.google.api.client.json.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 Cloud Key Management Service (KMS) API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ImportTrustedKeyWrappedCryptoKeyVersionRequest() |
| Modifier and Type | Method and Description |
|---|---|
ImportTrustedKeyWrappedCryptoKeyVersionRequest |
clone() |
byte[] |
decodeWrappedKey()
Required.
|
ImportTrustedKeyWrappedCryptoKeyVersionRequest |
encodeWrappedKey(byte[] wrappedKey)
Required.
|
String |
getAlgorithm()
Required.
|
String |
getCryptoKeyVersion()
Optional.
|
String |
getImportingKey()
Required.
|
String |
getWrappedKey()
Required.
|
ImportTrustedKeyWrappedCryptoKeyVersionRequest |
set(String fieldName,
Object value) |
ImportTrustedKeyWrappedCryptoKeyVersionRequest |
setAlgorithm(String algorithm)
Required.
|
ImportTrustedKeyWrappedCryptoKeyVersionRequest |
setCryptoKeyVersion(String cryptoKeyVersion)
Optional.
|
ImportTrustedKeyWrappedCryptoKeyVersionRequest |
setImportingKey(String importingKey)
Required.
|
ImportTrustedKeyWrappedCryptoKeyVersionRequest |
setWrappedKey(String wrappedKey)
Required.
|
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 ImportTrustedKeyWrappedCryptoKeyVersionRequest()
public String getAlgorithm()
null for nonepublic ImportTrustedKeyWrappedCryptoKeyVersionRequest setAlgorithm(String algorithm)
algorithm - algorithm or null for nonepublic String getCryptoKeyVersion()
null for nonepublic ImportTrustedKeyWrappedCryptoKeyVersionRequest setCryptoKeyVersion(String cryptoKeyVersion)
cryptoKeyVersion - cryptoKeyVersion or null for nonepublic String getImportingKey()
null for nonepublic ImportTrustedKeyWrappedCryptoKeyVersionRequest setImportingKey(String importingKey)
importingKey - importingKey or null for nonepublic String getWrappedKey()
null for nonedecodeWrappedKey()public byte[] decodeWrappedKey()
null for nonegetWrappedKey()public ImportTrustedKeyWrappedCryptoKeyVersionRequest setWrappedKey(String wrappedKey)
wrappedKey - wrappedKey or null for none#encodeWrappedKey()public ImportTrustedKeyWrappedCryptoKeyVersionRequest encodeWrappedKey(byte[] wrappedKey)
The value is encoded Base64 or {@code null} for none.
public ImportTrustedKeyWrappedCryptoKeyVersionRequest set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic ImportTrustedKeyWrappedCryptoKeyVersionRequest clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.