Google Cloud Orchestration Airflow V1 Client - Class ExecuteAirflowCommandRequest (1.4.2)

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
NameDescription
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
TypeDescription
string

setEnvironment

The resource name of the environment in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}".

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCommand

Airflow command.

Returns
TypeDescription
string

setCommand

Airflow command.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSubcommand

Airflow subcommand.

Returns
TypeDescription
string

setSubcommand

Airflow subcommand.

Parameter
NameDescription
var string
Returns
TypeDescription
$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"].

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setParameters

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"].

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this