Class: Google::Apis::CloudshellV1::AddPublicKeyResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::CloudshellV1::AddPublicKeyResponse
 
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudshell_v1/classes.rb,
 lib/google/apis/cloudshell_v1/representations.rb,
 lib/google/apis/cloudshell_v1/representations.rb
Overview
Response message for AddPublicKey.
Instance Attribute Summary collapse
- 
  
    
      #key  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Key that was added to the environment. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ AddPublicKeyResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of AddPublicKeyResponse. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ AddPublicKeyResponse
Returns a new instance of AddPublicKeyResponse.
| 71 72 73 | # File 'lib/google/apis/cloudshell_v1/classes.rb', line 71 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#key ⇒ String
Key that was added to the environment.
Corresponds to the JSON property key
| 69 70 71 | # File 'lib/google/apis/cloudshell_v1/classes.rb', line 69 def key @key end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 76 77 78 | # File 'lib/google/apis/cloudshell_v1/classes.rb', line 76 def update!(**args) @key = args[:key] if args.key?(:key) end |