Class: Google::Apis::ComposerV1beta1::ExecuteAirflowCommandResponse
- Inherits:
-
Object
- Object
- Google::Apis::ComposerV1beta1::ExecuteAirflowCommandResponse
- 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 ExecuteAirflowCommandRequest.
Instance Attribute Summary collapse
-
#error ⇒ String
Error message.
-
#execution_id ⇒ String
The unique ID of the command execution for polling.
-
#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) ⇒ ExecuteAirflowCommandResponse
constructor
A new instance of ExecuteAirflowCommandResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExecuteAirflowCommandResponse
Returns a new instance of ExecuteAirflowCommandResponse.
594 595 596 |
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 594 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
577 578 579 |
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 577 def error @error end |
#execution_id ⇒ String
The unique ID of the command execution for polling.
Corresponds to the JSON property executionId
582 583 584 |
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 582 def execution_id @execution_id end |
#pod ⇒ String
The name of the pod where the command is executed.
Corresponds to the JSON property pod
587 588 589 |
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 587 def pod @pod end |
#pod_namespace ⇒ String
The namespace of the pod where the command is executed.
Corresponds to the JSON property podNamespace
592 593 594 |
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 592 def pod_namespace @pod_namespace end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
599 600 601 602 603 604 |
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 599 def update!(**args) @error = args[:error] if args.key?(:error) @execution_id = args[:execution_id] if args.key?(:execution_id) @pod = args[:pod] if args.key?(:pod) @pod_namespace = args[:pod_namespace] if args.key?(:pod_namespace) end |