Class: Google::Apis::OsloginV1alpha::SshPublicKey
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::OsloginV1alpha::SshPublicKey
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/oslogin_v1alpha/classes.rb,
 generated/google/apis/oslogin_v1alpha/representations.rb,
 generated/google/apis/oslogin_v1alpha/representations.rb
Overview
The SSH public key information associated with a Google account.
Instance Attribute Summary collapse
- 
  
    
      #expiration_time_usec  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    An expiration time in microseconds since epoch. 
- 
  
    
      #fingerprint  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Output only. 
- 
  
    
      #key  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Public key text in SSH format, defined by RFC4253 section 6.6. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ SshPublicKey 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of SshPublicKey. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SshPublicKey
Returns a new instance of SshPublicKey
| 192 193 194 | # File 'generated/google/apis/oslogin_v1alpha/classes.rb', line 192 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#expiration_time_usec ⇒ Fixnum
An expiration time in microseconds since epoch.
Corresponds to the JSON property expirationTimeUsec
| 178 179 180 | # File 'generated/google/apis/oslogin_v1alpha/classes.rb', line 178 def expiration_time_usec @expiration_time_usec end | 
#fingerprint ⇒ String
Output only. The SHA-256 fingerprint of the SSH public key.
Corresponds to the JSON property fingerprint
| 183 184 185 | # File 'generated/google/apis/oslogin_v1alpha/classes.rb', line 183 def fingerprint @fingerprint end | 
#key ⇒ String
Public key text in SSH format, defined by
RFC4253
section 6.6.
Corresponds to the JSON property key
| 190 191 192 | # File 'generated/google/apis/oslogin_v1alpha/classes.rb', line 190 def key @key end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 197 198 199 200 201 | # File 'generated/google/apis/oslogin_v1alpha/classes.rb', line 197 def update!(**args) @expiration_time_usec = args[:expiration_time_usec] if args.key?(:expiration_time_usec) @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @key = args[:key] if args.key?(:key) end |