Class: Google::Apis::ComposerV1::StopAirflowCommandRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ComposerV1::StopAirflowCommandRequest
 
- 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
Stop Airflow Command request.
Instance Attribute Summary collapse
- 
  
    
      #execution_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The unique ID of the command execution. 
- 
  
    
      #force  ⇒ Boolean 
    
    
      (also: #force?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    If true, the execution is terminated forcefully (SIGKILL). 
- 
  
    
      #pod  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The name of the pod where the command is executed. 
- 
  
    
      #pod_namespace  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The namespace of the pod where the command is executed. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ StopAirflowCommandRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of StopAirflowCommandRequest. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ StopAirflowCommandRequest
Returns a new instance of StopAirflowCommandRequest.
| 1731 1732 1733 | # File 'lib/google/apis/composer_v1/classes.rb', line 1731 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#execution_id ⇒ String
The unique ID of the command execution.
Corresponds to the JSON property executionId
| 1712 1713 1714 | # File 'lib/google/apis/composer_v1/classes.rb', line 1712 def execution_id @execution_id end | 
#force ⇒ Boolean Also known as: force?
If true, the execution is terminated forcefully (SIGKILL). If false, the
execution is stopped gracefully, giving it time for cleanup.
Corresponds to the JSON property force
| 1718 1719 1720 | # File 'lib/google/apis/composer_v1/classes.rb', line 1718 def force @force end | 
#pod ⇒ String
The name of the pod where the command is executed.
Corresponds to the JSON property pod
| 1724 1725 1726 | # File 'lib/google/apis/composer_v1/classes.rb', line 1724 def pod @pod end | 
#pod_namespace ⇒ String
The namespace of the pod where the command is executed.
Corresponds to the JSON property podNamespace
| 1729 1730 1731 | # File 'lib/google/apis/composer_v1/classes.rb', line 1729 def pod_namespace @pod_namespace end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1736 1737 1738 1739 1740 1741 | # File 'lib/google/apis/composer_v1/classes.rb', line 1736 def update!(**args) @execution_id = args[:execution_id] if args.key?(:execution_id) @force = args[:force] if args.key?(:force) @pod = args[:pod] if args.key?(:pod) @pod_namespace = args[:pod_namespace] if args.key?(:pod_namespace) end |