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

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

Returns
Type Description
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
Name Description
var string[]
Returns
Type Description
$this