Class: Google::Apis::ComposerV1::ExecuteAirflowCommandRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ComposerV1::ExecuteAirflowCommandRequest
 
- 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
Execute Airflow Command request.
Instance Attribute Summary collapse
- 
  
    
      #command  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Airflow command. 
- 
  
    
      #parameters  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Parameters for the Airflow command/subcommand as an array of arguments. 
- 
  
    
      #subcommand  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Airflow subcommand. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ExecuteAirflowCommandRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ExecuteAirflowCommandRequest. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ ExecuteAirflowCommandRequest
Returns a new instance of ExecuteAirflowCommandRequest.
| 495 496 497 | # File 'lib/google/apis/composer_v1/classes.rb', line 495 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#command ⇒ String
Airflow command.
Corresponds to the JSON property command
| 481 482 483 | # File 'lib/google/apis/composer_v1/classes.rb', line 481 def command @command end | 
#parameters ⇒ Array<String>
Parameters for the Airflow command/subcommand as an array of arguments. It may
contain positional arguments like ["my-dag-id"], key-value parameters like [
"--foo=bar"] or ["--foo","bar"], or other flags like ["-f"].
Corresponds to the JSON property parameters
| 488 489 490 | # File 'lib/google/apis/composer_v1/classes.rb', line 488 def parameters @parameters end | 
#subcommand ⇒ String
Airflow subcommand.
Corresponds to the JSON property subcommand
| 493 494 495 | # File 'lib/google/apis/composer_v1/classes.rb', line 493 def subcommand @subcommand end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 500 501 502 503 504 | # File 'lib/google/apis/composer_v1/classes.rb', line 500 def update!(**args) @command = args[:command] if args.key?(:command) @parameters = args[:parameters] if args.key?(:parameters) @subcommand = args[:subcommand] if args.key?(:subcommand) end |