Class: Google::Apis::ComposerV1beta1::StopAirflowCommandResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/composer_v1beta1/classes.rb,
lib/google/apis/composer_v1beta1/representations.rb,
lib/google/apis/composer_v1beta1/representations.rb

Overview

Response to StopAirflowCommandRequest.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StopAirflowCommandResponse

Returns a new instance of StopAirflowCommandResponse.



2157
2158
2159
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 2157

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#is_doneBoolean Also known as: is_done?

Whether the execution is still running. Corresponds to the JSON property isDone

Returns:

  • (Boolean)


2149
2150
2151
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 2149

def is_done
  @is_done
end

#outputArray<String>

Output message from stopping execution request. Corresponds to the JSON property output

Returns:

  • (Array<String>)


2155
2156
2157
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 2155

def output
  @output
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2162
2163
2164
2165
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 2162

def update!(**args)
  @is_done = args[:is_done] if args.key?(:is_done)
  @output = args[:output] if args.key?(:output)
end