public static class HmacKey.HmacKeyMetadata extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
HmacKey.HmacKeyMetadata.Builder
Builder for
HmacKeyMetadata objects. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAccessId()
Returns the access id for this HMAC key.
|
Long |
getCreateTime()
Returns the creation time of this HMAC key.
|
String |
getEtag()
Returns HTTP 1.1 Entity tag for this HMAC key.
|
String |
getId()
Returns the resource name of this HMAC key.
|
String |
getProjectId()
Returns the project id associated with this HMAC key.
|
ServiceAccount |
getServiceAccount()
Returns the service account associated with this HMAC key.
|
HmacKey.HmacKeyState |
getState()
Returns the current state of this HMAC key.
|
Long |
getUpdateTime()
Returns the last updated time of this HMAC key.
|
int |
hashCode() |
static HmacKey.HmacKeyMetadata.Builder |
newBuilder(ServiceAccount serviceAccount) |
static HmacKey.HmacKeyMetadata |
of(ServiceAccount serviceAccount,
String accessId,
String projectId) |
HmacKey.HmacKeyMetadata.Builder |
toBuilder() |
com.google.api.services.storage.model.HmacKeyMetadata |
toPb() |
public static HmacKey.HmacKeyMetadata.Builder newBuilder(ServiceAccount serviceAccount)
public HmacKey.HmacKeyMetadata.Builder toBuilder()
public static HmacKey.HmacKeyMetadata of(ServiceAccount serviceAccount, String accessId, String projectId)
public com.google.api.services.storage.model.HmacKeyMetadata toPb()
public String getAccessId()
public String getEtag()
public String getId()
public String getProjectId()
public ServiceAccount getServiceAccount()
public HmacKey.HmacKeyState getState()
public Long getCreateTime()
public Long getUpdateTime()
Copyright © 2019 Google LLC. All rights reserved.