public final class HmacKeyMetadata
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 |
|---|
HmacKeyMetadata() |
| Modifier and Type | Method and Description |
|---|---|
HmacKeyMetadata |
clone() |
String |
getAccessId()
The ID of the HMAC Key.
|
String |
getEtag()
HTTP 1.1 Entity tag for the HMAC key.
|
String |
getId()
The ID of the HMAC key, including the Project ID and the Access ID.
|
String |
getKind()
The kind of item this is.
|
String |
getProjectId()
Project ID owning the service account to which the key authenticates.
|
String |
getSelfLink()
The link to this resource.
|
String |
getServiceAccountEmail()
The email address of the key's associated service account.
|
String |
getState()
The state of the key.
|
com.google.api.client.util.DateTime |
getTimeCreated()
The creation time of the HMAC key in RFC 3339 format.
|
com.google.api.client.util.DateTime |
getUpdated()
The last modification time of the HMAC key metadata in RFC 3339 format.
|
HmacKeyMetadata |
set(String fieldName,
Object value) |
HmacKeyMetadata |
setAccessId(String accessId)
The ID of the HMAC Key.
|
HmacKeyMetadata |
setEtag(String etag)
HTTP 1.1 Entity tag for the HMAC key.
|
HmacKeyMetadata |
setId(String id)
The ID of the HMAC key, including the Project ID and the Access ID.
|
HmacKeyMetadata |
setKind(String kind)
The kind of item this is.
|
HmacKeyMetadata |
setProjectId(String projectId)
Project ID owning the service account to which the key authenticates.
|
HmacKeyMetadata |
setSelfLink(String selfLink)
The link to this resource.
|
HmacKeyMetadata |
setServiceAccountEmail(String serviceAccountEmail)
The email address of the key's associated service account.
|
HmacKeyMetadata |
setState(String state)
The state of the key.
|
HmacKeyMetadata |
setTimeCreated(com.google.api.client.util.DateTime timeCreated)
The creation time of the HMAC key in RFC 3339 format.
|
HmacKeyMetadata |
setUpdated(com.google.api.client.util.DateTime updated)
The last modification time of the HMAC key metadata in RFC 3339 format.
|
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 getAccessId()
null for nonepublic HmacKeyMetadata setAccessId(String accessId)
accessId - accessId or null for nonepublic String getEtag()
null for nonepublic HmacKeyMetadata setEtag(String etag)
etag - etag or null for nonepublic String getId()
null for nonepublic HmacKeyMetadata setId(String id)
id - id or null for nonepublic String getKind()
null for nonepublic HmacKeyMetadata setKind(String kind)
kind - kind or null for nonepublic String getProjectId()
null for nonepublic HmacKeyMetadata setProjectId(String projectId)
projectId - projectId or null for nonepublic String getSelfLink()
null for nonepublic HmacKeyMetadata setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getServiceAccountEmail()
null for nonepublic HmacKeyMetadata setServiceAccountEmail(String serviceAccountEmail)
serviceAccountEmail - serviceAccountEmail or null for nonepublic String getState()
null for nonepublic HmacKeyMetadata setState(String state)
state - state or null for nonepublic com.google.api.client.util.DateTime getTimeCreated()
null for nonepublic HmacKeyMetadata setTimeCreated(com.google.api.client.util.DateTime timeCreated)
timeCreated - timeCreated or null for nonepublic com.google.api.client.util.DateTime getUpdated()
null for nonepublic HmacKeyMetadata setUpdated(com.google.api.client.util.DateTime updated)
updated - updated or null for nonepublic HmacKeyMetadata set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic HmacKeyMetadata clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.