Class: Google::Apis::AdminDirectoryV1::UserSshPublicKey
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AdminDirectoryV1::UserSshPublicKey
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/admin_directory_v1/classes.rb,
 generated/google/apis/admin_directory_v1/representations.rb,
 generated/google/apis/admin_directory_v1/representations.rb
Overview
JSON template for a POSIX account entry.
Instance Attribute Summary collapse
- 
  
    
      #expiration_time_usec  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    An expiration time in microseconds since epoch. 
- 
  
    
      #fingerprint  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A SHA-256 fingerprint of the SSH public key. 
- 
  
    
      #key  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    An SSH public key. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ UserSshPublicKey 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of UserSshPublicKey. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ UserSshPublicKey
Returns a new instance of UserSshPublicKey
| 3937 3938 3939 | # File 'generated/google/apis/admin_directory_v1/classes.rb', line 3937 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
| 3925 3926 3927 | # File 'generated/google/apis/admin_directory_v1/classes.rb', line 3925 def expiration_time_usec @expiration_time_usec end | 
#fingerprint ⇒ String
A SHA-256 fingerprint of the SSH public key. (Read-only)
Corresponds to the JSON property fingerprint
| 3930 3931 3932 | # File 'generated/google/apis/admin_directory_v1/classes.rb', line 3930 def fingerprint @fingerprint end | 
#key ⇒ String
An SSH public key.
Corresponds to the JSON property key
| 3935 3936 3937 | # File 'generated/google/apis/admin_directory_v1/classes.rb', line 3935 def key @key end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 3942 3943 3944 3945 3946 | # File 'generated/google/apis/admin_directory_v1/classes.rb', line 3942 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 |