Cloud OS Login V1beta API - Class Google::Cloud::OsLogin::Common::SshPublicKey (v0.14.0)

Reference documentation and code samples for the Cloud OS Login V1beta API class Google::Cloud::OsLogin::Common::SshPublicKey.

The SSH public key information associated with a Google account.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#expiration_time_usec

def expiration_time_usec() -> ::Integer
Returns
  • (::Integer) — An expiration time in microseconds since epoch.

#expiration_time_usec=

def expiration_time_usec=(value) -> ::Integer
Parameter
  • value (::Integer) — An expiration time in microseconds since epoch.
Returns
  • (::Integer) — An expiration time in microseconds since epoch.

#fingerprint

def fingerprint() -> ::String
Returns
  • (::String) — Output only. The SHA-256 fingerprint of the SSH public key.

#key

def key() -> ::String
Returns
  • (::String) — Public key text in SSH format, defined by RFC4253 section 6.6.

#key=

def key=(value) -> ::String
Parameter
  • value (::String) — Public key text in SSH format, defined by RFC4253 section 6.6.
Returns
  • (::String) — Public key text in SSH format, defined by RFC4253 section 6.6.

#name

def name() -> ::String
Returns
  • (::String) — Output only. The canonical resource name.