public sealed class SshPublicKey : IMessage<SshPublicKey>, IEquatable<SshPublicKey>, IDeepCloneable<SshPublicKey>, IBufferMessage, IMessage
Reference documentation and code samples for the Google.Cloud.OsLogin.Common class SshPublicKey.
The SSH public key information associated with a Google account.
Implements
IMessageSshPublicKey, IEquatableSshPublicKey, IDeepCloneableSshPublicKey, IBufferMessage, IMessageNamespace
GoogleGoogle.CloudGoogle.Cloud.OsLoginCommonAssembly
Google.Cloud.OsLogin.Common.dll
Constructors
SshPublicKey()
public SshPublicKey()
SshPublicKey(SshPublicKey)
public SshPublicKey(SshPublicKey other)
Parameter | |
---|---|
Name | Description |
other | SshPublicKey |
Properties
ExpirationTimeUsec
public long ExpirationTimeUsec { get; set; }
An expiration time in microseconds since epoch.
Property Value | |
---|---|
Type | Description |
long |
Fingerprint
public string Fingerprint { get; set; }
Output only. The SHA-256 fingerprint of the SSH public key.
Property Value | |
---|---|
Type | Description |
string |
Key
public string Key { get; set; }
Public key text in SSH format, defined by <a href="https://www.ietf.org/rfc/rfc4253.txt"; target="_blank">RFC4253</a> section 6.6.
Property Value | |
---|---|
Type | Description |
string |
Name
public string Name { get; set; }
Output only. The canonical resource name.
Property Value | |
---|---|
Type | Description |
string |
SshPublicKeyName
public SshPublicKeyName SshPublicKeyName { get; set; }
SshPublicKeyName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
SshPublicKeyName |