public final class Secret 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 Genomics 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 |
|---|
Secret() |
| Modifier and Type | Method and Description |
|---|---|
Secret |
clone() |
String |
getCipherText()
The value of the cipherText response from the `encrypt` method.
|
String |
getKeyName()
The name of the Cloud KMS key that will be used to decrypt the secret value.
|
Secret |
set(String fieldName,
Object value) |
Secret |
setCipherText(String cipherText)
The value of the cipherText response from the `encrypt` method.
|
Secret |
setKeyName(String keyName)
The name of the Cloud KMS key that will be used to decrypt the secret value.
|
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 getCipherText()
null for nonepublic Secret setCipherText(String cipherText)
cipherText - cipherText or null for nonepublic String getKeyName()
null for nonepublic Secret setKeyName(String keyName)
keyName - keyName or null for nonepublic Secret set(String fieldName, Object value)
set in class GenericJsonpublic Secret clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.