Class: Google::Apis::ComposerV1beta1::ExecuteAirflowCommandResponse

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 ExecuteAirflowCommandRequest.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ExecuteAirflowCommandResponse

Returns a new instance of ExecuteAirflowCommandResponse.



581
582
583
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 581

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

Instance Attribute Details

#errorString

Error message. Empty if there was no error. Corresponds to the JSON property error

Returns:

  • (String)


564
565
566
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 564

def error
  @error
end

#execution_idString

The unique ID of the command execution for polling. Corresponds to the JSON property executionId

Returns:

  • (String)


569
570
571
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 569

def execution_id
  @execution_id
end

#podString

The name of the pod where the command is executed. Corresponds to the JSON property pod

Returns:

  • (String)


574
575
576
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 574

def pod
  @pod
end

#pod_namespaceString

The namespace of the pod where the command is executed. Corresponds to the JSON property podNamespace

Returns:

  • (String)


579
580
581
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 579

def pod_namespace
  @pod_namespace
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



586
587
588
589
590
591
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 586

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