Class: Google::Apis::ComposerV1::ExitInfo
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ComposerV1::ExitInfo
 
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/composer_v1/classes.rb,
 lib/google/apis/composer_v1/representations.rb,
 lib/google/apis/composer_v1/representations.rb
Overview
Information about how a command ended.
Instance Attribute Summary collapse
- 
  
    
      #error  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Error message. 
- 
  
    
      #exit_code  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The exit code from the command execution. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ExitInfo 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ExitInfo. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ ExitInfo
Returns a new instance of ExitInfo.
| 558 559 560 | # File 'lib/google/apis/composer_v1/classes.rb', line 558 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#error ⇒ String
Error message. Empty if there was no error.
Corresponds to the JSON property error
| 551 552 553 | # File 'lib/google/apis/composer_v1/classes.rb', line 551 def error @error end | 
#exit_code ⇒ Fixnum
The exit code from the command execution.
Corresponds to the JSON property exitCode
| 556 557 558 | # File 'lib/google/apis/composer_v1/classes.rb', line 556 def exit_code @exit_code end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 563 564 565 566 | # File 'lib/google/apis/composer_v1/classes.rb', line 563 def update!(**args) @error = args[:error] if args.key?(:error) @exit_code = args[:exit_code] if args.key?(:exit_code) end |