Reference documentation and code samples for the Google Cloud OsLogin Client class SshPublicKey.
The SSH public key information associated with a Google account.
Generated from protobuf message google.cloud.oslogin.common.SshPublicKey
Namespace
Google \ Cloud \ OsLogin \ CommonMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ key
↳ expiration_time_usec
int|string
An expiration time in microseconds since epoch.
↳ fingerprint
string
Output only. The SHA-256 fingerprint of the SSH public key.
↳ name
string
Output only. The canonical resource name.
getKey
Public key text in SSH format, defined by RFC4253 section 6.6.
string
setKey
Public key text in SSH format, defined by RFC4253 section 6.6.
var
string
$this
getExpirationTimeUsec
An expiration time in microseconds since epoch.
int|string
setExpirationTimeUsec
An expiration time in microseconds since epoch.
var
int|string
$this
getFingerprint
Output only. The SHA-256 fingerprint of the SSH public key.
string
setFingerprint
Output only. The SHA-256 fingerprint of the SSH public key.
var
string
$this
getName
Output only. The canonical resource name.
string
setName
Output only. The canonical resource name.
var
string
$this

