public final class HmacKey
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 Storage JSON 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.Flags| Constructor and Description |
|---|
HmacKey() |
| Modifier and Type | Method and Description |
|---|---|
HmacKey |
clone() |
java.lang.String |
getKind()
The kind of item this is.
|
HmacKeyMetadata |
getMetadata()
Key metadata.
|
java.lang.String |
getSecret()
HMAC secret key material.
|
HmacKey |
set(java.lang.String fieldName,
java.lang.Object value) |
HmacKey |
setKind(java.lang.String kind)
The kind of item this is.
|
HmacKey |
setMetadata(HmacKeyMetadata metadata)
Key metadata.
|
HmacKey |
setSecret(java.lang.String secret)
HMAC secret key material.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getKind()
null for nonepublic HmacKey setKind(java.lang.String kind)
kind - kind or null for nonepublic HmacKeyMetadata getMetadata()
null for nonepublic HmacKey setMetadata(HmacKeyMetadata metadata)
metadata - metadata or null for nonepublic java.lang.String getSecret()
null for nonepublic HmacKey setSecret(java.lang.String secret)
secret - secret or null for nonepublic HmacKey set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic HmacKey clone()
clone in class com.google.api.client.json.GenericJson