This is an automated email from the ASF dual-hosted git repository. potiuk pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push: new d8f023d2a83 Improve grammar in cloud_composer.rst (#45708) d8f023d2a83 is described below commit d8f023d2a83e8eb4c4575ccc4ac74098bc371724 Author: Andrii Abramov <11317222+aaabra...@users.noreply.github.com> AuthorDate: Thu Jan 16 20:59:16 2025 +0100 Improve grammar in cloud_composer.rst (#45708) --- .../operators/cloud/cloud_composer.rst | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/apache-airflow-providers-google/operators/cloud/cloud_composer.rst b/docs/apache-airflow-providers-google/operators/cloud/cloud_composer.rst index 7b05bbc6baa..8cb930b86c7 100644 --- a/docs/apache-airflow-providers-google/operators/cloud/cloud_composer.rst +++ b/docs/apache-airflow-providers-google/operators/cloud/cloud_composer.rst @@ -31,11 +31,11 @@ command-line tools, so you can focus on your workflows and not your infrastructu For more information about the service visit `Cloud Composer production documentation <Product documentation <https://cloud.google.com/composer/docs/concepts/overview>`__ -Create a environment +Create an environment --------------------- Before you create a cloud composer environment you need to define it. -For more information about the available fields to pass when creating a environment, visit `Cloud Composer create environment API. <https://cloud.google.com/composer/docs/reference/rest/v1/projects.locations.environments#Environment>`__ +For more information about the available fields to pass when creating an environment, visit `Cloud Composer create environment API. <https://cloud.google.com/composer/docs/reference/rest/v1/projects.locations.environments#Environment>`__ A simple environment configuration can look as followed: @@ -63,10 +63,10 @@ or you can define the same operator in the deferrable mode: :start-after: [START howto_operator_create_composer_environment_deferrable_mode] :end-before: [END howto_operator_create_composer_environment_deferrable_mode] -Get a environment +Get an environment ------------------ -To get a environment you can use: +To get an environment you can use: :class:`~airflow.providers.google.cloud.operators.cloud_composer.CloudComposerGetEnvironmentOperator` @@ -76,10 +76,10 @@ To get a environment you can use: :start-after: [START howto_operator_get_composer_environment] :end-before: [END howto_operator_get_composer_environment] -List a environments +List environments -------------------- -To get a environment you can use: +To get an environment you can use: :class:`~airflow.providers.google.cloud.operators.cloud_composer.CloudComposerListEnvironmentsOperator` @@ -89,11 +89,11 @@ To get a environment you can use: :start-after: [START howto_operator_list_composer_environments] :end-before: [END howto_operator_list_composer_environments] -Update a environments +Update environments ---------------------- -You can update the environments by providing a environments config and an updateMask. -In the updateMask argument you specifies the path, relative to Environment, of the field to update. +You can update the environments by providing an environment config and an updateMask. +In the updateMask argument you specify the path, relative to the environment, of the field to update. For more information on updateMask and other parameters take a look at `Cloud Composer update environment API. <https://cloud.google.com/composer/docs/reference/rest/v1/projects.locations.environments/patch>`__ An example of a new service config and the updateMask: