Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down Expand Up @@ -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`

Expand All @@ -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`

Expand All @@ -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:
Expand Down