Some or all of the information on this page might not apply to Trusted Cloud by S3NS.
Class EnvironmentsConnection (2.12.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 2.12.0keyboard_arrow_down
Functions
virtual options()
Returns
Type
Description
Options
virtual CreateEnvironment(google::cloud::orchestration::airflow::service::v1::CreateEnvironmentRequest const &)
Parameter
Name
Description
request
google::cloud::orchestration::airflow::service::v1::CreateEnvironmentRequest const &
Returns
Type
Description
future< StatusOr< google::cloud::orchestration::airflow::service::v1::Environment > >
virtual GetEnvironment(google::cloud::orchestration::airflow::service::v1::GetEnvironmentRequest const &)
Parameter
Name
Description
request
google::cloud::orchestration::airflow::service::v1::GetEnvironmentRequest const &
Returns
Type
Description
StatusOr< google::cloud::orchestration::airflow::service::v1::Environment >
virtual ListEnvironments(google::cloud::orchestration::airflow::service::v1::ListEnvironmentsRequest)
Parameter
Name
Description
request
google::cloud::orchestration::airflow::service::v1::ListEnvironmentsRequest
Returns
Type
Description
StreamRange< google::cloud::orchestration::airflow::service::v1::Environment >
virtual UpdateEnvironment(google::cloud::orchestration::airflow::service::v1::UpdateEnvironmentRequest const &)
Parameter
Name
Description
request
google::cloud::orchestration::airflow::service::v1::UpdateEnvironmentRequest const &
Returns
Type
Description
future< StatusOr< google::cloud::orchestration::airflow::service::v1::Environment > >
virtual DeleteEnvironment(google::cloud::orchestration::airflow::service::v1::DeleteEnvironmentRequest const &)
Parameter
Name
Description
request
google::cloud::orchestration::airflow::service::v1::DeleteEnvironmentRequest const &
Returns
Type
Description
future< StatusOr< google::cloud::orchestration::airflow::service::v1::OperationMetadata > >
virtual ExecuteAirflowCommand(google::cloud::orchestration::airflow::service::v1::ExecuteAirflowCommandRequest const &)
Parameter
Name
Description
request
google::cloud::orchestration::airflow::service::v1::ExecuteAirflowCommandRequest const &
Returns
Type
Description
StatusOr< google::cloud::orchestration::airflow::service::v1::ExecuteAirflowCommandResponse >
virtual StopAirflowCommand(google::cloud::orchestration::airflow::service::v1::StopAirflowCommandRequest const &)
Parameter
Name
Description
request
google::cloud::orchestration::airflow::service::v1::StopAirflowCommandRequest const &
Returns
Type
Description
StatusOr< google::cloud::orchestration::airflow::service::v1::StopAirflowCommandResponse >
virtual PollAirflowCommand(google::cloud::orchestration::airflow::service::v1::PollAirflowCommandRequest const &)
Parameter
Name
Description
request
google::cloud::orchestration::airflow::service::v1::PollAirflowCommandRequest const &
Returns
Type
Description
StatusOr< google::cloud::orchestration::airflow::service::v1::PollAirflowCommandResponse >
virtual SaveSnapshot(google::cloud::orchestration::airflow::service::v1::SaveSnapshotRequest const &)
Parameter
Name
Description
request
google::cloud::orchestration::airflow::service::v1::SaveSnapshotRequest const &
Returns
Type
Description
future< StatusOr< google::cloud::orchestration::airflow::service::v1::SaveSnapshotResponse > >
virtual LoadSnapshot(google::cloud::orchestration::airflow::service::v1::LoadSnapshotRequest const &)
Parameter
Name
Description
request
google::cloud::orchestration::airflow::service::v1::LoadSnapshotRequest const &
Returns
Type
Description
future< StatusOr< google::cloud::orchestration::airflow::service::v1::LoadSnapshotResponse > >
virtual DatabaseFailover(google::cloud::orchestration::airflow::service::v1::DatabaseFailoverRequest const &)
Parameter
Name
Description
request
google::cloud::orchestration::airflow::service::v1::DatabaseFailoverRequest const &
Returns
Type
Description
future< StatusOr< google::cloud::orchestration::airflow::service::v1::DatabaseFailoverResponse > >
virtual FetchDatabaseProperties(google::cloud::orchestration::airflow::service::v1::FetchDatabasePropertiesRequest const &)
Parameter
Name
Description
request
google::cloud::orchestration::airflow::service::v1::FetchDatabasePropertiesRequest const &
Returns
Type
Description
StatusOr< google::cloud::orchestration::airflow::service::v1::FetchDatabasePropertiesResponse >
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-26 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-26 UTC."],[[["This webpage details the `EnvironmentsConnection` class for version 2.12.0 of the Google Cloud Composer C++ client library, which is an interface for the `EnvironmentsClient`."],["The `EnvironmentsConnection` class provides virtual methods for various operations related to managing Airflow environments, such as creating, retrieving, listing, updating, and deleting environments."],["It supports executing, stopping, and polling Airflow commands, as well as managing snapshots and database failover."],["The class is designed to allow users to inject custom behaviors for testing, exemplified by the `MockEnvironmentsConnection` for mocking."],["The page provides a list of older versions, with 2.37.0-rc being the latest, that can be accessed via a hyperlink."]]],[]]