Reference documentation and code samples for the Cloud Composer V1 API class Google::Cloud::Orchestration::Airflow::Service::V1::ExecuteAirflowCommandRequest.
Execute Airflow Command request.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#command
def command() -> ::String
Returns
- (::String) — Airflow command.
#command=
def command=(value) -> ::String
Parameter
- value (::String) — Airflow command.
Returns
- (::String) — Airflow command.
#environment
def environment() -> ::String
Returns
- (::String) — The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".
#environment=
def environment=(value) -> ::String
Parameter
- value (::String) — The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".
Returns
- (::String) — The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".
#parameters
def parameters() -> ::Array<::String>
Returns
-
(::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"]
.
#parameters=
def parameters=(value) -> ::Array<::String>
Parameter
-
value (::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"]
.
Returns
-
(::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"]
.
#subcommand
def subcommand() -> ::String
Returns
- (::String) — Airflow subcommand.
#subcommand=
def subcommand=(value) -> ::String
Parameter
- value (::String) — Airflow subcommand.
Returns
- (::String) — Airflow subcommand.