Google Cloud Orchestration Airflow V1 Client - Class StopAirflowCommandRequest (1.3.0)

Reference documentation and code samples for the Google Cloud Orchestration Airflow V1 Client class StopAirflowCommandRequest.

Stop Airflow Command request.

Generated from protobuf message google.cloud.orchestration.airflow.service.v1.StopAirflowCommandRequest

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

↳ execution_id string

The unique ID of the command execution.

↳ pod string

The name of the pod where the command is executed.

↳ pod_namespace string

The namespace of the pod where the command is executed.

↳ force bool

If true, the execution is terminated forcefully (SIGKILL). If false, the execution is stopped gracefully, giving it time for cleanup.

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

getExecutionId

The unique ID of the command execution.

Returns
TypeDescription
string

setExecutionId

The unique ID of the command execution.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPod

The name of the pod where the command is executed.

Returns
TypeDescription
string

setPod

The name of the pod where the command is executed.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPodNamespace

The namespace of the pod where the command is executed.

Returns
TypeDescription
string

setPodNamespace

The namespace of the pod where the command is executed.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getForce

If true, the execution is terminated forcefully (SIGKILL). If false, the execution is stopped gracefully, giving it time for cleanup.

Returns
TypeDescription
bool

setForce

If true, the execution is terminated forcefully (SIGKILL). If false, the execution is stopped gracefully, giving it time for cleanup.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this