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

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

Request to trigger database failover (only for highly resilient environments).

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

Namespace

Google \ Cloud \ Orchestration \ Airflow \ Service \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ environment string

Target environment: "projects/{projectId}/locations/{locationId}/environments/{environmentId}"

getEnvironment

Target environment: "projects/{projectId}/locations/{locationId}/environments/{environmentId}"

Returns
TypeDescription
string

setEnvironment

Target environment: "projects/{projectId}/locations/{locationId}/environments/{environmentId}"

Parameter
NameDescription
var string
Returns
TypeDescription
$this