Class: Google::Apis::CloudshellV1alpha1::CreatePublicKeyRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::CloudshellV1alpha1::CreatePublicKeyRequest
 
- Defined in:
- generated/google/apis/cloudshell_v1alpha1/classes.rb,
 generated/google/apis/cloudshell_v1alpha1/representations.rb,
 generated/google/apis/cloudshell_v1alpha1/representations.rb
Overview
Request message for CreatePublicKey.
Instance Attribute Summary collapse
- 
  
    
      #key  ⇒ Google::Apis::CloudshellV1alpha1::PublicKey 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A public SSH key, corresponding to a private SSH key held by the client. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ CreatePublicKeyRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of CreatePublicKeyRequest. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ CreatePublicKeyRequest
Returns a new instance of CreatePublicKeyRequest
| 34 35 36 | # File 'generated/google/apis/cloudshell_v1alpha1/classes.rb', line 34 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#key ⇒ Google::Apis::CloudshellV1alpha1::PublicKey
A public SSH key, corresponding to a private SSH key held by the client.
Corresponds to the JSON property key
| 32 33 34 | # File 'generated/google/apis/cloudshell_v1alpha1/classes.rb', line 32 def key @key end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 39 40 41 | # File 'generated/google/apis/cloudshell_v1alpha1/classes.rb', line 39 def update!(**args) @key = args[:key] if args.key?(:key) end |