Reference documentation and code samples for the Google Cloud Orchestration Airflow V1 Client class ExecuteAirflowCommandRequest.
Execute Airflow Command request.
Generated from protobuf message google.cloud.orchestration.airflow.service.v1.ExecuteAirflowCommandRequest
Namespace
Google \ Cloud \ Orchestration \ Airflow \ Service \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ environment
string
The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".
↳ command
string
Airflow command.
↳ subcommand
string
Airflow subcommand.
↳ parameters
array
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"].
getEnvironment
The resource name of the environment in the form:
"projects/{projectId}/locations/{locationId}/environments/{environmentId}".
Returns
Type
Description
string
setEnvironment
The resource name of the environment in the form:
"projects/{projectId}/locations/{locationId}/environments/{environmentId}".
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getCommand
Airflow command.
Returns
Type
Description
string
setCommand
Airflow command.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getSubcommand
Airflow subcommand.
Returns
Type
Description
string
setSubcommand
Airflow subcommand.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getParameters
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"].
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google Cloud Orchestration Airflow V1 Client - Class ExecuteAirflowCommandRequest (2.1.8)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.8 (latest)](/php/docs/reference/cloud-orchestration-airflow/latest/V1.ExecuteAirflowCommandRequest)\n- [2.1.7](/php/docs/reference/cloud-orchestration-airflow/2.1.7/V1.ExecuteAirflowCommandRequest)\n- [2.0.1](/php/docs/reference/cloud-orchestration-airflow/2.0.1/V1.ExecuteAirflowCommandRequest)\n- [1.6.4](/php/docs/reference/cloud-orchestration-airflow/1.6.4/V1.ExecuteAirflowCommandRequest)\n- [1.5.0](/php/docs/reference/cloud-orchestration-airflow/1.5.0/V1.ExecuteAirflowCommandRequest)\n- [1.4.2](/php/docs/reference/cloud-orchestration-airflow/1.4.2/V1.ExecuteAirflowCommandRequest)\n- [1.3.0](/php/docs/reference/cloud-orchestration-airflow/1.3.0/V1.ExecuteAirflowCommandRequest)\n- [1.2.0](/php/docs/reference/cloud-orchestration-airflow/1.2.0/V1.ExecuteAirflowCommandRequest)\n- [1.1.0](/php/docs/reference/cloud-orchestration-airflow/1.1.0/V1.ExecuteAirflowCommandRequest)\n- [1.0.4](/php/docs/reference/cloud-orchestration-airflow/1.0.4/V1.ExecuteAirflowCommandRequest) \nReference documentation and code samples for the Google Cloud Orchestration Airflow V1 Client class ExecuteAirflowCommandRequest.\n\nExecute Airflow Command request.\n\nGenerated from protobuf message `google.cloud.orchestration.airflow.service.v1.ExecuteAirflowCommandRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Orchestration \\\\ Airflow \\\\ Service \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getEnvironment\n\nThe resource name of the environment in the form:\n\"projects/{projectId}/locations/{locationId}/environments/{environmentId}\".\n\n### setEnvironment\n\nThe resource name of the environment in the form:\n\"projects/{projectId}/locations/{locationId}/environments/{environmentId}\".\n\n### getCommand\n\nAirflow command.\n\n### setCommand\n\nAirflow command.\n\n### getSubcommand\n\nAirflow subcommand.\n\n### setSubcommand\n\nAirflow subcommand.\n\n### getParameters\n\nParameters for the Airflow command/subcommand as an array of arguments.\n\nIt may contain positional arguments like `[\"my-dag-id\"]`, key-value\nparameters like `[\"--foo=bar\"]` or `[\"--foo\",\"bar\"]`,\nor other flags like `[\"-f\"]`.\n\n### setParameters\n\nParameters for the Airflow command/subcommand as an array of arguments.\n\nIt may contain positional arguments like `[\"my-dag-id\"]`, key-value\nparameters like `[\"--foo=bar\"]` or `[\"--foo\",\"bar\"]`,\nor other flags like `[\"-f\"]`."]]