public final class SshPublicKey
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 OS Login 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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
SshPublicKey() |
Modifier and Type | Method and Description |
---|---|
SshPublicKey |
clone() |
Long |
getExpirationTimeUsec()
An expiration time in microseconds since epoch.
|
String |
getFingerprint()
Output only.
|
String |
getKey()
Public key text in SSH format, defined by RFC4253 section 6.6.
|
String |
getName()
Output only.
|
SshPublicKey |
set(String fieldName,
Object value) |
SshPublicKey |
setExpirationTimeUsec(Long expirationTimeUsec)
An expiration time in microseconds since epoch.
|
SshPublicKey |
setFingerprint(String fingerprint)
Output only.
|
SshPublicKey |
setKey(String key)
Public key text in SSH format, defined by RFC4253 section 6.6.
|
SshPublicKey |
setName(String name)
Output only.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Long getExpirationTimeUsec()
null
for nonepublic SshPublicKey setExpirationTimeUsec(Long expirationTimeUsec)
expirationTimeUsec
- expirationTimeUsec or null
for nonepublic String getFingerprint()
null
for nonepublic SshPublicKey setFingerprint(String fingerprint)
fingerprint
- fingerprint or null
for nonepublic String getKey()
null
for nonepublic SshPublicKey setKey(String key)
key
- key or null
for nonepublic String getName()
null
for nonepublic SshPublicKey setName(String name)
name
- name or null
for nonepublic SshPublicKey set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public SshPublicKey clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.