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.Flags
Constructor and Description |
---|
HmacKeyMetadata() |
Modifier and Type | Method and Description |
---|---|
HmacKeyMetadata |
clone() |
java.lang.String |
getAccessId()
The ID of the HMAC Key.
|
java.lang.String |
getEtag()
HTTP 1.1 Entity tag for the HMAC key.
|
java.lang.String |
getId()
The ID of the HMAC key, including the Project ID and the Access ID.
|
java.lang.String |
getKind()
The kind of item this is.
|
java.lang.String |
getProjectId()
Project ID owning the service account to which the key authenticates.
|
java.lang.String |
getSelfLink()
The link to this resource.
|
java.lang.String |
getServiceAccountEmail()
The email address of the key's associated service account.
|
java.lang.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(java.lang.String fieldName,
java.lang.Object value) |
HmacKeyMetadata |
setAccessId(java.lang.String accessId)
The ID of the HMAC Key.
|
HmacKeyMetadata |
setEtag(java.lang.String etag)
HTTP 1.1 Entity tag for the HMAC key.
|
HmacKeyMetadata |
setId(java.lang.String id)
The ID of the HMAC key, including the Project ID and the Access ID.
|
HmacKeyMetadata |
setKind(java.lang.String kind)
The kind of item this is.
|
HmacKeyMetadata |
setProjectId(java.lang.String projectId)
Project ID owning the service account to which the key authenticates.
|
HmacKeyMetadata |
setSelfLink(java.lang.String selfLink)
The link to this resource.
|
HmacKeyMetadata |
setServiceAccountEmail(java.lang.String serviceAccountEmail)
The email address of the key's associated service account.
|
HmacKeyMetadata |
setState(java.lang.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, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getAccessId()
null
for nonepublic HmacKeyMetadata setAccessId(java.lang.String accessId)
accessId
- accessId or null
for nonepublic java.lang.String getEtag()
null
for nonepublic HmacKeyMetadata setEtag(java.lang.String etag)
etag
- etag or null
for nonepublic java.lang.String getId()
null
for nonepublic HmacKeyMetadata setId(java.lang.String id)
id
- id or null
for nonepublic java.lang.String getKind()
null
for nonepublic HmacKeyMetadata setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.lang.String getProjectId()
null
for nonepublic HmacKeyMetadata setProjectId(java.lang.String projectId)
projectId
- projectId or null
for nonepublic java.lang.String getSelfLink()
null
for nonepublic HmacKeyMetadata setSelfLink(java.lang.String selfLink)
selfLink
- selfLink or null
for nonepublic java.lang.String getServiceAccountEmail()
null
for nonepublic HmacKeyMetadata setServiceAccountEmail(java.lang.String serviceAccountEmail)
serviceAccountEmail
- serviceAccountEmail or null
for nonepublic java.lang.String getState()
null
for nonepublic HmacKeyMetadata setState(java.lang.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(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public HmacKeyMetadata clone()
clone
in class com.google.api.client.json.GenericJson