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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
HmacKey() |
| Modifier and Type | Method and Description |
|---|---|
HmacKey |
clone() |
String |
getKind()
The kind of item this is.
|
HmacKeyMetadata |
getMetadata()
Key metadata.
|
String |
getSecret()
HMAC secret key material.
|
HmacKey |
set(String fieldName,
Object value) |
HmacKey |
setKind(String kind)
The kind of item this is.
|
HmacKey |
setMetadata(HmacKeyMetadata metadata)
Key metadata.
|
HmacKey |
setSecret(String secret)
HMAC secret key material.
|
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 getKind()
null for nonepublic HmacKey setKind(String kind)
kind - kind or null for nonepublic HmacKeyMetadata getMetadata()
null for nonepublic HmacKey setMetadata(HmacKeyMetadata metadata)
metadata - metadata or null for nonepublic String getSecret()
null for nonepublic HmacKey setSecret(String secret)
secret - secret or null for nonepublic HmacKey set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic HmacKey clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.