blob: 034a192e81bb23aec96bb2f59c0fd881960fc0df [file] [log] [blame]
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="composer_v1.html">Cloud Composer API</a> . <a href="composer_v1.projects.html">projects</a> . <a href="composer_v1.projects.locations.html">locations</a> . <a href="composer_v1.projects.locations.environments.html">environments</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070078 <code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070079<p class="firstline">Create a new environment.</p>
80<p class="toc_element">
81 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
82<p class="firstline">Delete an environment.</p>
83<p class="toc_element">
84 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
85<p class="firstline">Get an existing environment.</p>
86<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070087 <code><a href="#list">list(parent, pageToken=None, pageSize=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070088<p class="firstline">List environments.</p>
89<p class="toc_element">
90 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
91<p class="firstline">Retrieves the next page of results.</p>
92<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070093 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070094<p class="firstline">Update an environment.</p>
95<h3>Method Details</h3>
96<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -070097 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070098 <pre>Create a new environment.
99
100Args:
101 parent: string, The parent must be of the form
Bu Sun Kim65020912020-05-20 12:08:20 -0700102&quot;projects/{projectId}/locations/{locationId}&quot;. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700103 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700104 The object takes the form of:
105
106{ # An environment for running orchestration tasks.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700107 &quot;uuid&quot;: &quot;A String&quot;, # Output only. The UUID (Universally Unique IDentifier) associated with this environment.
108 # This value is generated when the environment is created.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700109 &quot;labels&quot;: { # Optional. User-defined labels for this environment.
110 # The labels map can contain no more than 64 entries. Entries of the labels
111 # map are UTF8 strings that comply with the following restrictions:
112 #
113 # * Keys must conform to regexp: \p{Ll}\p{Lo}{0,62}
114 # * Values must conform to regexp: [\p{Ll}\p{Lo}\p{N}_-]{0,63}
115 # * Both keys and values are additionally constrained to be &lt;= 128 bytes in
116 # size.
117 &quot;a_key&quot;: &quot;A String&quot;,
118 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700119 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which this environment was created.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700120 &quot;config&quot;: { # Configuration information for an environment. # Configuration parameters for this environment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700121 &quot;gkeCluster&quot;: &quot;A String&quot;, # Output only. The Kubernetes Engine cluster used to run this environment.
122 &quot;airflowUri&quot;: &quot;A String&quot;, # Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
123 # [Airflow web
124 # interface](/composer/docs/how-to/accessing/airflow-web-interface)).
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700125 &quot;privateEnvironmentConfig&quot;: { # The configuration information for configuring a Private IP Cloud Composer # The configuration used for the Private IP Cloud Composer environment.
126 # environment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700127 &quot;enablePrivateEnvironment&quot;: True or False, # Optional. If `true`, a Private IP Cloud Composer environment is created.
128 # If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be
129 # set to true.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700130 &quot;privateClusterConfig&quot;: { # Configuration options for the private GKE cluster in a Cloud Composer # Optional. Configuration for the private GKE cluster for a Private IP
131 # Cloud Composer environment.
132 # environment.
133 &quot;enablePrivateEndpoint&quot;: True or False, # Optional. If `true`, access to the public endpoint of the GKE cluster is
134 # denied.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700135 &quot;masterIpv4ReservedRange&quot;: &quot;A String&quot;, # Output only. The IP range in CIDR notation to use for the hosted master network. This
136 # range is used for assigning internal IP addresses to the GKE cluster
137 # master or set of masters and to the internal load balancer virtual IP.
138 # This range must not overlap with any other ranges in use
139 # within the cluster&#x27;s network.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700140 &quot;masterIpv4CidrBlock&quot;: &quot;A String&quot;, # Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
141 # left blank, the default value of &#x27;172.16.0.0/23&#x27; is used.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700142 },
143 &quot;webServerIpv4ReservedRange&quot;: &quot;A String&quot;, # Output only. The IP range reserved for the tenant project&#x27;s App Engine VMs.
144 &quot;webServerIpv4CidrBlock&quot;: &quot;A String&quot;, # Optional. The CIDR block from which IP range for web server will be reserved. Needs
145 # to be disjoint from `private_cluster_config.master_ipv4_cidr_block` and
146 # `cloud_sql_ipv4_cidr_block`.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700147 &quot;cloudSqlIpv4CidrBlock&quot;: &quot;A String&quot;, # Optional. The CIDR block from which IP range in tenant project will be reserved for
148 # Cloud SQL. Needs to be disjoint from `web_server_ipv4_cidr_block`.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700149 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700150 &quot;softwareConfig&quot;: { # Specifies the selection and configuration of software inside the environment. # The configuration settings for software inside the environment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700151 &quot;airflowConfigOverrides&quot;: { # Optional. Apache Airflow configuration properties to override.
152 #
153 # Property keys contain the section and property names, separated by a
154 # hyphen, for example &quot;core-dags_are_paused_at_creation&quot;. Section names must
155 # not contain hyphens (&quot;-&quot;), opening square brackets (&quot;[&quot;), or closing
156 # square brackets (&quot;]&quot;). The property name must not be empty and must not
157 # contain an equals sign (&quot;=&quot;) or semicolon (&quot;;&quot;). Section and property names
158 # must not contain a period (&quot;.&quot;). Apache Airflow configuration property
159 # names must be written in
160 # [snake_case](https://en.wikipedia.org/wiki/Snake_case). Property values can
161 # contain any character, and can be written in any lower/upper case format.
162 #
163 # Certain Apache Airflow configuration property values are
164 # [blacklisted](/composer/docs/how-to/managing/setting-airflow-configurations#airflow_configuration_blacklists),
165 # and cannot be overridden.
166 &quot;a_key&quot;: &quot;A String&quot;,
167 },
168 &quot;pythonVersion&quot;: &quot;A String&quot;, # Optional. The major version of Python used to run the Apache Airflow
169 # scheduler, worker, and webserver processes.
170 #
171 # Can be set to &#x27;2&#x27; or &#x27;3&#x27;. If not specified, the default is &#x27;2&#x27;. Cannot be
172 # updated.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700173 &quot;imageVersion&quot;: &quot;A String&quot;, # The version of the software running in the environment.
174 # This encapsulates both the version of Cloud Composer functionality and the
175 # version of Apache Airflow. It must match the regular expression
176 # `composer-([0-9]+\.[0-9]+\.[0-9]+|latest)-airflow-[0-9]+\.[0-9]+(\.[0-9]+.*)?`.
177 # When used as input, the server also checks if the provided version is
178 # supported and denies the request for an unsupported version.
179 #
180 # The Cloud Composer portion of the version is a
181 # [semantic version](https://semver.org) or `latest`. When the patch version
182 # is omitted, the current Cloud Composer patch version is selected.
183 # When `latest` is provided instead of an explicit version number,
184 # the server replaces `latest` with the current Cloud Composer version
185 # and stores that version number in the same field.
186 #
187 # The portion of the image version that follows &lt;em&gt;airflow-&lt;/em&gt; is an
188 # official Apache Airflow repository
189 # [release name](https://github.com/apache/incubator-airflow/releases).
190 #
191 # See also [Version
192 # List](/composer/docs/concepts/versioning/composer-versions).
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700193 &quot;pypiPackages&quot;: { # Optional. Custom Python Package Index (PyPI) packages to be installed in
194 # the environment.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700195 #
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700196 # Keys refer to the lowercase package name such as &quot;numpy&quot;
197 # and values are the lowercase extras and version specifier such as
198 # &quot;==1.12.0&quot;, &quot;[devel,gcp_api]&quot;, or &quot;[devel]&gt;=1.8.2, &lt;1.9.2&quot;. To specify a
199 # package without pinning it to a version specifier, use the empty string as
200 # the value.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700201 &quot;a_key&quot;: &quot;A String&quot;,
202 },
203 &quot;envVariables&quot;: { # Optional. Additional environment variables to provide to the Apache Airflow
204 # scheduler, worker, and webserver processes.
205 #
206 # Environment variable names must match the regular expression
207 # `a-zA-Z_*`. They cannot specify Apache Airflow
208 # software configuration overrides (they cannot match the regular expression
209 # `AIRFLOW__[A-Z0-9_]+__[A-Z0-9_]+`), and they cannot match any of the
210 # following reserved names:
211 #
212 # * `AIRFLOW_HOME`
213 # * `C_FORCE_ROOT`
214 # * `CONTAINER_NAME`
215 # * `DAGS_FOLDER`
216 # * `GCP_PROJECT`
217 # * `GCS_BUCKET`
218 # * `GKE_CLUSTER_NAME`
219 # * `SQL_DATABASE`
220 # * `SQL_INSTANCE`
221 # * `SQL_PASSWORD`
222 # * `SQL_PROJECT`
223 # * `SQL_REGION`
224 # * `SQL_USER`
225 &quot;a_key&quot;: &quot;A String&quot;,
226 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700227 },
228 &quot;nodeCount&quot;: 42, # The number of nodes in the Kubernetes Engine cluster that will be
229 # used to run this environment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700230 &quot;nodeConfig&quot;: { # The configuration information for the Kubernetes Engine nodes running # The configuration used for the Kubernetes Engine cluster.
231 # the Apache Airflow software.
232 &quot;serviceAccount&quot;: &quot;A String&quot;, # Optional. The Google Cloud Platform Service Account to be used by the node
233 # VMs. If a service account is not specified, the &quot;default&quot; Compute Engine
234 # service account is used. Cannot be updated.
235 &quot;oauthScopes&quot;: [ # Optional. The set of Google API scopes to be made available on all
236 # node VMs. If `oauth_scopes` is empty, defaults to
237 # [&quot;https://www.googleapis.com/auth/cloud-platform&quot;]. Cannot be updated.
238 &quot;A String&quot;,
239 ],
240 &quot;machineType&quot;: &quot;A String&quot;, # Optional. The Compute Engine
241 # [machine type](/compute/docs/machine-types) used for cluster instances,
242 # specified as a
243 # [relative resource
244 # name](/apis/design/resource_names#relative_resource_name). For example:
245 # &quot;projects/{projectId}/zones/{zoneId}/machineTypes/{machineTypeId}&quot;.
246 #
247 # The `machineType` must belong to the enclosing environment&#x27;s project and
248 # location. If both this field and `nodeConfig.location` are specified,
249 # this `machineType` must belong to the `nodeConfig.location`; if both are
250 # unspecified, the service will pick a zone in the Compute Engine region
251 # corresponding to the Cloud Composer location, and propagate that choice to
252 # both fields. If exactly one of this field and `nodeConfig.location` is
253 # specified, the location information from the specified field will be
254 # propagated to the unspecified field.
255 #
256 # The `machineTypeId` must not be a [shared-core machine
257 # type](/compute/docs/machine-types#sharedcore).
258 #
259 # If this field is unspecified, the `machineTypeId` defaults
260 # to &quot;n1-standard-1&quot;.
261 &quot;ipAllocationPolicy&quot;: { # Configuration for controlling how IPs are allocated in the # Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
262 # GKE cluster running the Apache Airflow software.
263 &quot;clusterIpv4CidrBlock&quot;: &quot;A String&quot;, # Optional. The IP address range used to allocate IP addresses to pods in
264 # the GKE cluster.
265 #
266 # This field is applicable only when `use_ip_aliases` is true.
267 #
268 # Set to blank to have GKE choose a range with the default size.
269 #
270 # Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific
271 # netmask.
272 #
273 # Set to a
274 # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
275 # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
276 # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
277 # to use.
278 &quot;servicesIpv4CidrBlock&quot;: &quot;A String&quot;, # Optional. The IP address range of the services IP addresses in this
279 # GKE cluster.
280 #
281 # This field is applicable only when `use_ip_aliases` is true.
282 #
283 # Set to blank to have GKE choose a range with the default size.
284 #
285 # Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific
286 # netmask.
287 #
288 # Set to a
289 # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
290 # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
291 # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
292 # to use.
293 &quot;clusterSecondaryRangeName&quot;: &quot;A String&quot;, # Optional. The name of the GKE cluster&#x27;s secondary range used to allocate
294 # IP addresses to pods.
295 #
296 # This field is applicable only when `use_ip_aliases` is true.
297 &quot;servicesSecondaryRangeName&quot;: &quot;A String&quot;, # Optional. The name of the services&#x27; secondary range used to allocate
298 # IP addresses to the GKE cluster.
299 #
300 # This field is applicable only when `use_ip_aliases` is true.
301 &quot;useIpAliases&quot;: True or False, # Optional. Whether or not to enable Alias IPs in the GKE cluster.
302 # If `true`, a VPC-native cluster is created.
303 },
304 &quot;location&quot;: &quot;A String&quot;, # Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
305 # to deploy the VMs used to run the Apache Airflow software, specified as a
306 # [relative resource
307 # name](/apis/design/resource_names#relative_resource_name). For example:
308 # &quot;projects/{projectId}/zones/{zoneId}&quot;.
309 #
310 # This `location` must belong to the enclosing environment&#x27;s project and
311 # location. If both this field and `nodeConfig.machineType` are specified,
312 # `nodeConfig.machineType` must belong to this `location`; if both are
313 # unspecified, the service will pick a zone in the Compute Engine region
314 # corresponding to the Cloud Composer location, and propagate that choice to
315 # both fields. If only one field (`location` or `nodeConfig.machineType`) is
316 # specified, the location information from the specified field will be
317 # propagated to the unspecified field.
318 &quot;subnetwork&quot;: &quot;A String&quot;, # Optional. The Compute Engine subnetwork to be used for machine
319 # communications, specified as a
320 # [relative resource
321 # name](/apis/design/resource_names#relative_resource_name). For example:
322 # &quot;projects/{projectId}/regions/{regionId}/subnetworks/{subnetworkId}&quot;
323 #
324 # If a subnetwork is provided, `nodeConfig.network` must also be provided,
325 # and the subnetwork must belong to the enclosing environment&#x27;s project and
326 # location.
327 &quot;diskSizeGb&quot;: 42, # Optional. The disk size in GB used for node VMs. Minimum size is 20GB.
328 # If unspecified, defaults to 100GB. Cannot be updated.
329 &quot;tags&quot;: [ # Optional. The list of instance tags applied to all node VMs. Tags are used
330 # to identify valid sources or targets for network firewalls. Each tag within
331 # the list must comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).
332 # Cannot be updated.
333 &quot;A String&quot;,
334 ],
335 &quot;network&quot;: &quot;A String&quot;, # Optional. The Compute Engine network to be used for machine
336 # communications, specified as a
337 # [relative resource
338 # name](/apis/design/resource_names#relative_resource_name). For example:
339 # &quot;projects/{projectId}/global/networks/{networkId}&quot;.
340 #
341 # [Shared VPC](/vpc/docs/shared-vpc) is not currently supported. The
342 # network must belong to the environment&#x27;s project. If unspecified, the
343 # &quot;default&quot; network ID in the environment&#x27;s project is used. If a
344 # [Custom Subnet Network](/vpc/docs/vpc#vpc_networks_and_subnets)
345 # is provided, `nodeConfig.subnetwork` must also be provided.
346 },
347 &quot;dagGcsPrefix&quot;: &quot;A String&quot;, # Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
348 # Storage objects reside in a flat namespace, a hierarchical file tree
349 # can be simulated using &quot;/&quot;-delimited object name prefixes. DAG objects for
350 # this environment reside in a simulated directory with the given prefix.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700351 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700352 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which this environment was last modified.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700353 &quot;state&quot;: &quot;A String&quot;, # The current state of the environment.
354 &quot;name&quot;: &quot;A String&quot;, # The resource name of the environment, in the form:
355 # &quot;projects/{projectId}/locations/{locationId}/environments/{environmentId}&quot;
356 #
357 # EnvironmentId must start with a lowercase letter followed by up to 63
358 # lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700359}
360
361 x__xgafv: string, V1 error format.
362 Allowed values
363 1 - v1 error format
364 2 - v2 error format
365
366Returns:
367 An object of the form:
368
369 { # This resource represents a long-running operation that is the result of a
370 # network API call.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700371 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
372 # originally returns it. If you use the default HTTP mapping, the
373 # `name` should be a resource name ending with `operations/{unique_id}`.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700374 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
375 # method returns no data on success, such as `Delete`, the response is
376 # `google.protobuf.Empty`. If the original method is standard
377 # `Get`/`Create`/`Update`, the response should be the resource. For other
378 # methods, the response should have the type `XxxResponse`, where `Xxx`
379 # is the original method name. For example, if the original method name
380 # is `TakeSnapshot()`, the inferred response type is
381 # `TakeSnapshotResponse`.
382 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
383 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700384 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
385 # contains progress information and common metadata such as create time.
386 # Some services might not provide such metadata. Any method that returns a
387 # long-running operation should document the metadata type, if any.
388 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
389 },
390 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
391 # If `true`, the operation is completed, and either `error` or `response` is
392 # available.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700393 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # The error result of the operation in case of failure or cancellation.
394 # different programming environments, including REST APIs and RPC APIs. It is
395 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
396 # three pieces of data: error code, error message, and error details.
397 #
398 # You can find out more about this error model and how to work with it in the
399 # [API Design Guide](https://cloud.google.com/apis/design/errors).
400 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
401 # message types for APIs to use.
402 {
403 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
404 },
405 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700406 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
407 # user-facing error message should be localized and sent in the
408 # google.rpc.Status.details field, or localized by the client.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700409 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700410 },
411 }</pre>
412</div>
413
414<div class="method">
415 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
416 <pre>Delete an environment.
417
418Args:
419 name: string, The environment to delete, in the form:
420&quot;projects/{projectId}/locations/{locationId}/environments/{environmentId}&quot; (required)
421 x__xgafv: string, V1 error format.
422 Allowed values
423 1 - v1 error format
424 2 - v2 error format
425
426Returns:
427 An object of the form:
428
429 { # This resource represents a long-running operation that is the result of a
430 # network API call.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700431 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
432 # originally returns it. If you use the default HTTP mapping, the
433 # `name` should be a resource name ending with `operations/{unique_id}`.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700434 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
435 # method returns no data on success, such as `Delete`, the response is
436 # `google.protobuf.Empty`. If the original method is standard
437 # `Get`/`Create`/`Update`, the response should be the resource. For other
438 # methods, the response should have the type `XxxResponse`, where `Xxx`
439 # is the original method name. For example, if the original method name
440 # is `TakeSnapshot()`, the inferred response type is
441 # `TakeSnapshotResponse`.
442 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
443 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700444 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
445 # contains progress information and common metadata such as create time.
446 # Some services might not provide such metadata. Any method that returns a
447 # long-running operation should document the metadata type, if any.
448 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
449 },
450 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
451 # If `true`, the operation is completed, and either `error` or `response` is
452 # available.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700453 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # The error result of the operation in case of failure or cancellation.
454 # different programming environments, including REST APIs and RPC APIs. It is
455 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
456 # three pieces of data: error code, error message, and error details.
457 #
458 # You can find out more about this error model and how to work with it in the
459 # [API Design Guide](https://cloud.google.com/apis/design/errors).
460 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
461 # message types for APIs to use.
462 {
463 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
464 },
465 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700466 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
467 # user-facing error message should be localized and sent in the
468 # google.rpc.Status.details field, or localized by the client.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700469 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700470 },
471 }</pre>
472</div>
473
474<div class="method">
475 <code class="details" id="get">get(name, x__xgafv=None)</code>
476 <pre>Get an existing environment.
477
478Args:
479 name: string, The resource name of the environment to get, in the form:
480&quot;projects/{projectId}/locations/{locationId}/environments/{environmentId}&quot; (required)
481 x__xgafv: string, V1 error format.
482 Allowed values
483 1 - v1 error format
484 2 - v2 error format
485
486Returns:
487 An object of the form:
488
489 { # An environment for running orchestration tasks.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700490 &quot;uuid&quot;: &quot;A String&quot;, # Output only. The UUID (Universally Unique IDentifier) associated with this environment.
491 # This value is generated when the environment is created.
Bu Sun Kim65020912020-05-20 12:08:20 -0700492 &quot;labels&quot;: { # Optional. User-defined labels for this environment.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700493 # The labels map can contain no more than 64 entries. Entries of the labels
494 # map are UTF8 strings that comply with the following restrictions:
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700495 #
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700496 # * Keys must conform to regexp: \p{Ll}\p{Lo}{0,62}
497 # * Values must conform to regexp: [\p{Ll}\p{Lo}\p{N}_-]{0,63}
Dan O'Mearadd494642020-05-01 07:42:23 -0700498 # * Both keys and values are additionally constrained to be &lt;= 128 bytes in
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700499 # size.
Bu Sun Kim65020912020-05-20 12:08:20 -0700500 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700501 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700502 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which this environment was created.
Bu Sun Kim65020912020-05-20 12:08:20 -0700503 &quot;config&quot;: { # Configuration information for an environment. # Configuration parameters for this environment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700504 &quot;gkeCluster&quot;: &quot;A String&quot;, # Output only. The Kubernetes Engine cluster used to run this environment.
505 &quot;airflowUri&quot;: &quot;A String&quot;, # Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
506 # [Airflow web
507 # interface](/composer/docs/how-to/accessing/airflow-web-interface)).
Bu Sun Kim65020912020-05-20 12:08:20 -0700508 &quot;privateEnvironmentConfig&quot;: { # The configuration information for configuring a Private IP Cloud Composer # The configuration used for the Private IP Cloud Composer environment.
509 # environment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700510 &quot;enablePrivateEnvironment&quot;: True or False, # Optional. If `true`, a Private IP Cloud Composer environment is created.
511 # If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be
512 # set to true.
Bu Sun Kim65020912020-05-20 12:08:20 -0700513 &quot;privateClusterConfig&quot;: { # Configuration options for the private GKE cluster in a Cloud Composer # Optional. Configuration for the private GKE cluster for a Private IP
514 # Cloud Composer environment.
515 # environment.
Bu Sun Kim65020912020-05-20 12:08:20 -0700516 &quot;enablePrivateEndpoint&quot;: True or False, # Optional. If `true`, access to the public endpoint of the GKE cluster is
517 # denied.
518 &quot;masterIpv4ReservedRange&quot;: &quot;A String&quot;, # Output only. The IP range in CIDR notation to use for the hosted master network. This
519 # range is used for assigning internal IP addresses to the GKE cluster
520 # master or set of masters and to the internal load balancer virtual IP.
521 # This range must not overlap with any other ranges in use
522 # within the cluster&#x27;s network.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700523 &quot;masterIpv4CidrBlock&quot;: &quot;A String&quot;, # Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
524 # left blank, the default value of &#x27;172.16.0.0/23&#x27; is used.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700525 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700526 &quot;webServerIpv4ReservedRange&quot;: &quot;A String&quot;, # Output only. The IP range reserved for the tenant project&#x27;s App Engine VMs.
527 &quot;webServerIpv4CidrBlock&quot;: &quot;A String&quot;, # Optional. The CIDR block from which IP range for web server will be reserved. Needs
528 # to be disjoint from `private_cluster_config.master_ipv4_cidr_block` and
529 # `cloud_sql_ipv4_cidr_block`.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700530 &quot;cloudSqlIpv4CidrBlock&quot;: &quot;A String&quot;, # Optional. The CIDR block from which IP range in tenant project will be reserved for
531 # Cloud SQL. Needs to be disjoint from `web_server_ipv4_cidr_block`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700532 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700533 &quot;softwareConfig&quot;: { # Specifies the selection and configuration of software inside the environment. # The configuration settings for software inside the environment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700534 &quot;airflowConfigOverrides&quot;: { # Optional. Apache Airflow configuration properties to override.
535 #
536 # Property keys contain the section and property names, separated by a
537 # hyphen, for example &quot;core-dags_are_paused_at_creation&quot;. Section names must
538 # not contain hyphens (&quot;-&quot;), opening square brackets (&quot;[&quot;), or closing
539 # square brackets (&quot;]&quot;). The property name must not be empty and must not
540 # contain an equals sign (&quot;=&quot;) or semicolon (&quot;;&quot;). Section and property names
541 # must not contain a period (&quot;.&quot;). Apache Airflow configuration property
542 # names must be written in
543 # [snake_case](https://en.wikipedia.org/wiki/Snake_case). Property values can
544 # contain any character, and can be written in any lower/upper case format.
545 #
546 # Certain Apache Airflow configuration property values are
547 # [blacklisted](/composer/docs/how-to/managing/setting-airflow-configurations#airflow_configuration_blacklists),
548 # and cannot be overridden.
549 &quot;a_key&quot;: &quot;A String&quot;,
550 },
551 &quot;pythonVersion&quot;: &quot;A String&quot;, # Optional. The major version of Python used to run the Apache Airflow
552 # scheduler, worker, and webserver processes.
553 #
554 # Can be set to &#x27;2&#x27; or &#x27;3&#x27;. If not specified, the default is &#x27;2&#x27;. Cannot be
555 # updated.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700556 &quot;imageVersion&quot;: &quot;A String&quot;, # The version of the software running in the environment.
557 # This encapsulates both the version of Cloud Composer functionality and the
558 # version of Apache Airflow. It must match the regular expression
559 # `composer-([0-9]+\.[0-9]+\.[0-9]+|latest)-airflow-[0-9]+\.[0-9]+(\.[0-9]+.*)?`.
560 # When used as input, the server also checks if the provided version is
561 # supported and denies the request for an unsupported version.
562 #
563 # The Cloud Composer portion of the version is a
564 # [semantic version](https://semver.org) or `latest`. When the patch version
565 # is omitted, the current Cloud Composer patch version is selected.
566 # When `latest` is provided instead of an explicit version number,
567 # the server replaces `latest` with the current Cloud Composer version
568 # and stores that version number in the same field.
569 #
570 # The portion of the image version that follows &lt;em&gt;airflow-&lt;/em&gt; is an
571 # official Apache Airflow repository
572 # [release name](https://github.com/apache/incubator-airflow/releases).
573 #
574 # See also [Version
575 # List](/composer/docs/concepts/versioning/composer-versions).
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700576 &quot;pypiPackages&quot;: { # Optional. Custom Python Package Index (PyPI) packages to be installed in
577 # the environment.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700578 #
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700579 # Keys refer to the lowercase package name such as &quot;numpy&quot;
580 # and values are the lowercase extras and version specifier such as
581 # &quot;==1.12.0&quot;, &quot;[devel,gcp_api]&quot;, or &quot;[devel]&gt;=1.8.2, &lt;1.9.2&quot;. To specify a
582 # package without pinning it to a version specifier, use the empty string as
583 # the value.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700584 &quot;a_key&quot;: &quot;A String&quot;,
585 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700586 &quot;envVariables&quot;: { # Optional. Additional environment variables to provide to the Apache Airflow
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700587 # scheduler, worker, and webserver processes.
588 #
589 # Environment variable names must match the regular expression
590 # `a-zA-Z_*`. They cannot specify Apache Airflow
591 # software configuration overrides (they cannot match the regular expression
592 # `AIRFLOW__[A-Z0-9_]+__[A-Z0-9_]+`), and they cannot match any of the
593 # following reserved names:
594 #
595 # * `AIRFLOW_HOME`
596 # * `C_FORCE_ROOT`
597 # * `CONTAINER_NAME`
598 # * `DAGS_FOLDER`
599 # * `GCP_PROJECT`
600 # * `GCS_BUCKET`
601 # * `GKE_CLUSTER_NAME`
602 # * `SQL_DATABASE`
603 # * `SQL_INSTANCE`
604 # * `SQL_PASSWORD`
605 # * `SQL_PROJECT`
606 # * `SQL_REGION`
607 # * `SQL_USER`
Bu Sun Kim65020912020-05-20 12:08:20 -0700608 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700609 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700610 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700611 &quot;nodeCount&quot;: 42, # The number of nodes in the Kubernetes Engine cluster that will be
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700612 # used to run this environment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700613 &quot;nodeConfig&quot;: { # The configuration information for the Kubernetes Engine nodes running # The configuration used for the Kubernetes Engine cluster.
614 # the Apache Airflow software.
615 &quot;serviceAccount&quot;: &quot;A String&quot;, # Optional. The Google Cloud Platform Service Account to be used by the node
616 # VMs. If a service account is not specified, the &quot;default&quot; Compute Engine
617 # service account is used. Cannot be updated.
618 &quot;oauthScopes&quot;: [ # Optional. The set of Google API scopes to be made available on all
619 # node VMs. If `oauth_scopes` is empty, defaults to
620 # [&quot;https://www.googleapis.com/auth/cloud-platform&quot;]. Cannot be updated.
621 &quot;A String&quot;,
622 ],
623 &quot;machineType&quot;: &quot;A String&quot;, # Optional. The Compute Engine
624 # [machine type](/compute/docs/machine-types) used for cluster instances,
625 # specified as a
626 # [relative resource
627 # name](/apis/design/resource_names#relative_resource_name). For example:
628 # &quot;projects/{projectId}/zones/{zoneId}/machineTypes/{machineTypeId}&quot;.
629 #
630 # The `machineType` must belong to the enclosing environment&#x27;s project and
631 # location. If both this field and `nodeConfig.location` are specified,
632 # this `machineType` must belong to the `nodeConfig.location`; if both are
633 # unspecified, the service will pick a zone in the Compute Engine region
634 # corresponding to the Cloud Composer location, and propagate that choice to
635 # both fields. If exactly one of this field and `nodeConfig.location` is
636 # specified, the location information from the specified field will be
637 # propagated to the unspecified field.
638 #
639 # The `machineTypeId` must not be a [shared-core machine
640 # type](/compute/docs/machine-types#sharedcore).
641 #
642 # If this field is unspecified, the `machineTypeId` defaults
643 # to &quot;n1-standard-1&quot;.
644 &quot;ipAllocationPolicy&quot;: { # Configuration for controlling how IPs are allocated in the # Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
645 # GKE cluster running the Apache Airflow software.
646 &quot;clusterIpv4CidrBlock&quot;: &quot;A String&quot;, # Optional. The IP address range used to allocate IP addresses to pods in
647 # the GKE cluster.
648 #
649 # This field is applicable only when `use_ip_aliases` is true.
650 #
651 # Set to blank to have GKE choose a range with the default size.
652 #
653 # Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific
654 # netmask.
655 #
656 # Set to a
657 # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
658 # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
659 # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
660 # to use.
661 &quot;servicesIpv4CidrBlock&quot;: &quot;A String&quot;, # Optional. The IP address range of the services IP addresses in this
662 # GKE cluster.
663 #
664 # This field is applicable only when `use_ip_aliases` is true.
665 #
666 # Set to blank to have GKE choose a range with the default size.
667 #
668 # Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific
669 # netmask.
670 #
671 # Set to a
672 # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
673 # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
674 # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
675 # to use.
676 &quot;clusterSecondaryRangeName&quot;: &quot;A String&quot;, # Optional. The name of the GKE cluster&#x27;s secondary range used to allocate
677 # IP addresses to pods.
678 #
679 # This field is applicable only when `use_ip_aliases` is true.
680 &quot;servicesSecondaryRangeName&quot;: &quot;A String&quot;, # Optional. The name of the services&#x27; secondary range used to allocate
681 # IP addresses to the GKE cluster.
682 #
683 # This field is applicable only when `use_ip_aliases` is true.
684 &quot;useIpAliases&quot;: True or False, # Optional. Whether or not to enable Alias IPs in the GKE cluster.
685 # If `true`, a VPC-native cluster is created.
686 },
687 &quot;location&quot;: &quot;A String&quot;, # Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
688 # to deploy the VMs used to run the Apache Airflow software, specified as a
689 # [relative resource
690 # name](/apis/design/resource_names#relative_resource_name). For example:
691 # &quot;projects/{projectId}/zones/{zoneId}&quot;.
692 #
693 # This `location` must belong to the enclosing environment&#x27;s project and
694 # location. If both this field and `nodeConfig.machineType` are specified,
695 # `nodeConfig.machineType` must belong to this `location`; if both are
696 # unspecified, the service will pick a zone in the Compute Engine region
697 # corresponding to the Cloud Composer location, and propagate that choice to
698 # both fields. If only one field (`location` or `nodeConfig.machineType`) is
699 # specified, the location information from the specified field will be
700 # propagated to the unspecified field.
701 &quot;subnetwork&quot;: &quot;A String&quot;, # Optional. The Compute Engine subnetwork to be used for machine
702 # communications, specified as a
703 # [relative resource
704 # name](/apis/design/resource_names#relative_resource_name). For example:
705 # &quot;projects/{projectId}/regions/{regionId}/subnetworks/{subnetworkId}&quot;
706 #
707 # If a subnetwork is provided, `nodeConfig.network` must also be provided,
708 # and the subnetwork must belong to the enclosing environment&#x27;s project and
709 # location.
710 &quot;diskSizeGb&quot;: 42, # Optional. The disk size in GB used for node VMs. Minimum size is 20GB.
711 # If unspecified, defaults to 100GB. Cannot be updated.
712 &quot;tags&quot;: [ # Optional. The list of instance tags applied to all node VMs. Tags are used
713 # to identify valid sources or targets for network firewalls. Each tag within
714 # the list must comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).
715 # Cannot be updated.
716 &quot;A String&quot;,
717 ],
718 &quot;network&quot;: &quot;A String&quot;, # Optional. The Compute Engine network to be used for machine
719 # communications, specified as a
720 # [relative resource
721 # name](/apis/design/resource_names#relative_resource_name). For example:
722 # &quot;projects/{projectId}/global/networks/{networkId}&quot;.
723 #
724 # [Shared VPC](/vpc/docs/shared-vpc) is not currently supported. The
725 # network must belong to the environment&#x27;s project. If unspecified, the
726 # &quot;default&quot; network ID in the environment&#x27;s project is used. If a
727 # [Custom Subnet Network](/vpc/docs/vpc#vpc_networks_and_subnets)
728 # is provided, `nodeConfig.subnetwork` must also be provided.
729 },
730 &quot;dagGcsPrefix&quot;: &quot;A String&quot;, # Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
731 # Storage objects reside in a flat namespace, a hierarchical file tree
732 # can be simulated using &quot;/&quot;-delimited object name prefixes. DAG objects for
733 # this environment reside in a simulated directory with the given prefix.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700734 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700735 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which this environment was last modified.
Bu Sun Kim65020912020-05-20 12:08:20 -0700736 &quot;state&quot;: &quot;A String&quot;, # The current state of the environment.
737 &quot;name&quot;: &quot;A String&quot;, # The resource name of the environment, in the form:
738 # &quot;projects/{projectId}/locations/{locationId}/environments/{environmentId}&quot;
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700739 #
Dan O'Mearadd494642020-05-01 07:42:23 -0700740 # EnvironmentId must start with a lowercase letter followed by up to 63
741 # lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700742 }</pre>
743</div>
744
745<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700746 <code class="details" id="list">list(parent, pageToken=None, pageSize=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700747 <pre>List environments.
748
749Args:
750 parent: string, List environments in the given project and location, in the form:
Bu Sun Kim65020912020-05-20 12:08:20 -0700751&quot;projects/{projectId}/locations/{locationId}&quot; (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700752 pageToken: string, The next_page_token value returned from a previous List request, if any.
Bu Sun Kim65020912020-05-20 12:08:20 -0700753 pageSize: integer, The maximum number of environments to return.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700754 x__xgafv: string, V1 error format.
755 Allowed values
756 1 - v1 error format
757 2 - v2 error format
758
759Returns:
760 An object of the form:
761
762 { # The environments in a project and location.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700763 &quot;nextPageToken&quot;: &quot;A String&quot;, # The page token used to query for the next page if one exists.
Bu Sun Kim65020912020-05-20 12:08:20 -0700764 &quot;environments&quot;: [ # The list of environments returned by a ListEnvironmentsRequest.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700765 { # An environment for running orchestration tasks.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700766 &quot;uuid&quot;: &quot;A String&quot;, # Output only. The UUID (Universally Unique IDentifier) associated with this environment.
767 # This value is generated when the environment is created.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700768 &quot;labels&quot;: { # Optional. User-defined labels for this environment.
769 # The labels map can contain no more than 64 entries. Entries of the labels
770 # map are UTF8 strings that comply with the following restrictions:
771 #
772 # * Keys must conform to regexp: \p{Ll}\p{Lo}{0,62}
773 # * Values must conform to regexp: [\p{Ll}\p{Lo}\p{N}_-]{0,63}
774 # * Both keys and values are additionally constrained to be &lt;= 128 bytes in
775 # size.
776 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700777 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700778 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which this environment was created.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700779 &quot;config&quot;: { # Configuration information for an environment. # Configuration parameters for this environment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700780 &quot;gkeCluster&quot;: &quot;A String&quot;, # Output only. The Kubernetes Engine cluster used to run this environment.
781 &quot;airflowUri&quot;: &quot;A String&quot;, # Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
782 # [Airflow web
783 # interface](/composer/docs/how-to/accessing/airflow-web-interface)).
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700784 &quot;privateEnvironmentConfig&quot;: { # The configuration information for configuring a Private IP Cloud Composer # The configuration used for the Private IP Cloud Composer environment.
785 # environment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700786 &quot;enablePrivateEnvironment&quot;: True or False, # Optional. If `true`, a Private IP Cloud Composer environment is created.
787 # If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be
788 # set to true.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700789 &quot;privateClusterConfig&quot;: { # Configuration options for the private GKE cluster in a Cloud Composer # Optional. Configuration for the private GKE cluster for a Private IP
790 # Cloud Composer environment.
791 # environment.
792 &quot;enablePrivateEndpoint&quot;: True or False, # Optional. If `true`, access to the public endpoint of the GKE cluster is
793 # denied.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700794 &quot;masterIpv4ReservedRange&quot;: &quot;A String&quot;, # Output only. The IP range in CIDR notation to use for the hosted master network. This
795 # range is used for assigning internal IP addresses to the GKE cluster
796 # master or set of masters and to the internal load balancer virtual IP.
797 # This range must not overlap with any other ranges in use
798 # within the cluster&#x27;s network.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700799 &quot;masterIpv4CidrBlock&quot;: &quot;A String&quot;, # Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
800 # left blank, the default value of &#x27;172.16.0.0/23&#x27; is used.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700801 },
802 &quot;webServerIpv4ReservedRange&quot;: &quot;A String&quot;, # Output only. The IP range reserved for the tenant project&#x27;s App Engine VMs.
803 &quot;webServerIpv4CidrBlock&quot;: &quot;A String&quot;, # Optional. The CIDR block from which IP range for web server will be reserved. Needs
804 # to be disjoint from `private_cluster_config.master_ipv4_cidr_block` and
805 # `cloud_sql_ipv4_cidr_block`.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700806 &quot;cloudSqlIpv4CidrBlock&quot;: &quot;A String&quot;, # Optional. The CIDR block from which IP range in tenant project will be reserved for
807 # Cloud SQL. Needs to be disjoint from `web_server_ipv4_cidr_block`.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700808 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700809 &quot;softwareConfig&quot;: { # Specifies the selection and configuration of software inside the environment. # The configuration settings for software inside the environment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700810 &quot;airflowConfigOverrides&quot;: { # Optional. Apache Airflow configuration properties to override.
811 #
812 # Property keys contain the section and property names, separated by a
813 # hyphen, for example &quot;core-dags_are_paused_at_creation&quot;. Section names must
814 # not contain hyphens (&quot;-&quot;), opening square brackets (&quot;[&quot;), or closing
815 # square brackets (&quot;]&quot;). The property name must not be empty and must not
816 # contain an equals sign (&quot;=&quot;) or semicolon (&quot;;&quot;). Section and property names
817 # must not contain a period (&quot;.&quot;). Apache Airflow configuration property
818 # names must be written in
819 # [snake_case](https://en.wikipedia.org/wiki/Snake_case). Property values can
820 # contain any character, and can be written in any lower/upper case format.
821 #
822 # Certain Apache Airflow configuration property values are
823 # [blacklisted](/composer/docs/how-to/managing/setting-airflow-configurations#airflow_configuration_blacklists),
824 # and cannot be overridden.
825 &quot;a_key&quot;: &quot;A String&quot;,
826 },
827 &quot;pythonVersion&quot;: &quot;A String&quot;, # Optional. The major version of Python used to run the Apache Airflow
828 # scheduler, worker, and webserver processes.
829 #
830 # Can be set to &#x27;2&#x27; or &#x27;3&#x27;. If not specified, the default is &#x27;2&#x27;. Cannot be
831 # updated.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700832 &quot;imageVersion&quot;: &quot;A String&quot;, # The version of the software running in the environment.
833 # This encapsulates both the version of Cloud Composer functionality and the
834 # version of Apache Airflow. It must match the regular expression
835 # `composer-([0-9]+\.[0-9]+\.[0-9]+|latest)-airflow-[0-9]+\.[0-9]+(\.[0-9]+.*)?`.
836 # When used as input, the server also checks if the provided version is
837 # supported and denies the request for an unsupported version.
838 #
839 # The Cloud Composer portion of the version is a
840 # [semantic version](https://semver.org) or `latest`. When the patch version
841 # is omitted, the current Cloud Composer patch version is selected.
842 # When `latest` is provided instead of an explicit version number,
843 # the server replaces `latest` with the current Cloud Composer version
844 # and stores that version number in the same field.
845 #
846 # The portion of the image version that follows &lt;em&gt;airflow-&lt;/em&gt; is an
847 # official Apache Airflow repository
848 # [release name](https://github.com/apache/incubator-airflow/releases).
849 #
850 # See also [Version
851 # List](/composer/docs/concepts/versioning/composer-versions).
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700852 &quot;pypiPackages&quot;: { # Optional. Custom Python Package Index (PyPI) packages to be installed in
853 # the environment.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700854 #
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700855 # Keys refer to the lowercase package name such as &quot;numpy&quot;
856 # and values are the lowercase extras and version specifier such as
857 # &quot;==1.12.0&quot;, &quot;[devel,gcp_api]&quot;, or &quot;[devel]&gt;=1.8.2, &lt;1.9.2&quot;. To specify a
858 # package without pinning it to a version specifier, use the empty string as
859 # the value.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700860 &quot;a_key&quot;: &quot;A String&quot;,
861 },
862 &quot;envVariables&quot;: { # Optional. Additional environment variables to provide to the Apache Airflow
863 # scheduler, worker, and webserver processes.
864 #
865 # Environment variable names must match the regular expression
866 # `a-zA-Z_*`. They cannot specify Apache Airflow
867 # software configuration overrides (they cannot match the regular expression
868 # `AIRFLOW__[A-Z0-9_]+__[A-Z0-9_]+`), and they cannot match any of the
869 # following reserved names:
870 #
871 # * `AIRFLOW_HOME`
872 # * `C_FORCE_ROOT`
873 # * `CONTAINER_NAME`
874 # * `DAGS_FOLDER`
875 # * `GCP_PROJECT`
876 # * `GCS_BUCKET`
877 # * `GKE_CLUSTER_NAME`
878 # * `SQL_DATABASE`
879 # * `SQL_INSTANCE`
880 # * `SQL_PASSWORD`
881 # * `SQL_PROJECT`
882 # * `SQL_REGION`
883 # * `SQL_USER`
884 &quot;a_key&quot;: &quot;A String&quot;,
885 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700886 },
887 &quot;nodeCount&quot;: 42, # The number of nodes in the Kubernetes Engine cluster that will be
888 # used to run this environment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700889 &quot;nodeConfig&quot;: { # The configuration information for the Kubernetes Engine nodes running # The configuration used for the Kubernetes Engine cluster.
890 # the Apache Airflow software.
891 &quot;serviceAccount&quot;: &quot;A String&quot;, # Optional. The Google Cloud Platform Service Account to be used by the node
892 # VMs. If a service account is not specified, the &quot;default&quot; Compute Engine
893 # service account is used. Cannot be updated.
894 &quot;oauthScopes&quot;: [ # Optional. The set of Google API scopes to be made available on all
895 # node VMs. If `oauth_scopes` is empty, defaults to
896 # [&quot;https://www.googleapis.com/auth/cloud-platform&quot;]. Cannot be updated.
897 &quot;A String&quot;,
898 ],
899 &quot;machineType&quot;: &quot;A String&quot;, # Optional. The Compute Engine
900 # [machine type](/compute/docs/machine-types) used for cluster instances,
901 # specified as a
902 # [relative resource
903 # name](/apis/design/resource_names#relative_resource_name). For example:
904 # &quot;projects/{projectId}/zones/{zoneId}/machineTypes/{machineTypeId}&quot;.
905 #
906 # The `machineType` must belong to the enclosing environment&#x27;s project and
907 # location. If both this field and `nodeConfig.location` are specified,
908 # this `machineType` must belong to the `nodeConfig.location`; if both are
909 # unspecified, the service will pick a zone in the Compute Engine region
910 # corresponding to the Cloud Composer location, and propagate that choice to
911 # both fields. If exactly one of this field and `nodeConfig.location` is
912 # specified, the location information from the specified field will be
913 # propagated to the unspecified field.
914 #
915 # The `machineTypeId` must not be a [shared-core machine
916 # type](/compute/docs/machine-types#sharedcore).
917 #
918 # If this field is unspecified, the `machineTypeId` defaults
919 # to &quot;n1-standard-1&quot;.
920 &quot;ipAllocationPolicy&quot;: { # Configuration for controlling how IPs are allocated in the # Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
921 # GKE cluster running the Apache Airflow software.
922 &quot;clusterIpv4CidrBlock&quot;: &quot;A String&quot;, # Optional. The IP address range used to allocate IP addresses to pods in
923 # the GKE cluster.
924 #
925 # This field is applicable only when `use_ip_aliases` is true.
926 #
927 # Set to blank to have GKE choose a range with the default size.
928 #
929 # Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific
930 # netmask.
931 #
932 # Set to a
933 # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
934 # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
935 # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
936 # to use.
937 &quot;servicesIpv4CidrBlock&quot;: &quot;A String&quot;, # Optional. The IP address range of the services IP addresses in this
938 # GKE cluster.
939 #
940 # This field is applicable only when `use_ip_aliases` is true.
941 #
942 # Set to blank to have GKE choose a range with the default size.
943 #
944 # Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific
945 # netmask.
946 #
947 # Set to a
948 # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
949 # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
950 # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
951 # to use.
952 &quot;clusterSecondaryRangeName&quot;: &quot;A String&quot;, # Optional. The name of the GKE cluster&#x27;s secondary range used to allocate
953 # IP addresses to pods.
954 #
955 # This field is applicable only when `use_ip_aliases` is true.
956 &quot;servicesSecondaryRangeName&quot;: &quot;A String&quot;, # Optional. The name of the services&#x27; secondary range used to allocate
957 # IP addresses to the GKE cluster.
958 #
959 # This field is applicable only when `use_ip_aliases` is true.
960 &quot;useIpAliases&quot;: True or False, # Optional. Whether or not to enable Alias IPs in the GKE cluster.
961 # If `true`, a VPC-native cluster is created.
962 },
963 &quot;location&quot;: &quot;A String&quot;, # Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
964 # to deploy the VMs used to run the Apache Airflow software, specified as a
965 # [relative resource
966 # name](/apis/design/resource_names#relative_resource_name). For example:
967 # &quot;projects/{projectId}/zones/{zoneId}&quot;.
968 #
969 # This `location` must belong to the enclosing environment&#x27;s project and
970 # location. If both this field and `nodeConfig.machineType` are specified,
971 # `nodeConfig.machineType` must belong to this `location`; if both are
972 # unspecified, the service will pick a zone in the Compute Engine region
973 # corresponding to the Cloud Composer location, and propagate that choice to
974 # both fields. If only one field (`location` or `nodeConfig.machineType`) is
975 # specified, the location information from the specified field will be
976 # propagated to the unspecified field.
977 &quot;subnetwork&quot;: &quot;A String&quot;, # Optional. The Compute Engine subnetwork to be used for machine
978 # communications, specified as a
979 # [relative resource
980 # name](/apis/design/resource_names#relative_resource_name). For example:
981 # &quot;projects/{projectId}/regions/{regionId}/subnetworks/{subnetworkId}&quot;
982 #
983 # If a subnetwork is provided, `nodeConfig.network` must also be provided,
984 # and the subnetwork must belong to the enclosing environment&#x27;s project and
985 # location.
986 &quot;diskSizeGb&quot;: 42, # Optional. The disk size in GB used for node VMs. Minimum size is 20GB.
987 # If unspecified, defaults to 100GB. Cannot be updated.
988 &quot;tags&quot;: [ # Optional. The list of instance tags applied to all node VMs. Tags are used
989 # to identify valid sources or targets for network firewalls. Each tag within
990 # the list must comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).
991 # Cannot be updated.
992 &quot;A String&quot;,
993 ],
994 &quot;network&quot;: &quot;A String&quot;, # Optional. The Compute Engine network to be used for machine
995 # communications, specified as a
996 # [relative resource
997 # name](/apis/design/resource_names#relative_resource_name). For example:
998 # &quot;projects/{projectId}/global/networks/{networkId}&quot;.
999 #
1000 # [Shared VPC](/vpc/docs/shared-vpc) is not currently supported. The
1001 # network must belong to the environment&#x27;s project. If unspecified, the
1002 # &quot;default&quot; network ID in the environment&#x27;s project is used. If a
1003 # [Custom Subnet Network](/vpc/docs/vpc#vpc_networks_and_subnets)
1004 # is provided, `nodeConfig.subnetwork` must also be provided.
1005 },
1006 &quot;dagGcsPrefix&quot;: &quot;A String&quot;, # Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
1007 # Storage objects reside in a flat namespace, a hierarchical file tree
1008 # can be simulated using &quot;/&quot;-delimited object name prefixes. DAG objects for
1009 # this environment reside in a simulated directory with the given prefix.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001010 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001011 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which this environment was last modified.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001012 &quot;state&quot;: &quot;A String&quot;, # The current state of the environment.
1013 &quot;name&quot;: &quot;A String&quot;, # The resource name of the environment, in the form:
1014 # &quot;projects/{projectId}/locations/{locationId}/environments/{environmentId}&quot;
1015 #
1016 # EnvironmentId must start with a lowercase letter followed by up to 63
1017 # lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001018 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001019 ],
1020 }</pre>
1021</div>
1022
1023<div class="method">
1024 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
1025 <pre>Retrieves the next page of results.
1026
1027Args:
1028 previous_request: The request for the previous page. (required)
1029 previous_response: The response from the request for the previous page. (required)
1030
1031Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -07001032 A request object that you can call &#x27;execute()&#x27; on to request the next
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001033 page. Returns None if there are no more items in the collection.
1034 </pre>
1035</div>
1036
1037<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07001038 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001039 <pre>Update an environment.
1040
1041Args:
1042 name: string, The relative resource name of the environment to update, in the form:
Bu Sun Kim65020912020-05-20 12:08:20 -07001043&quot;projects/{projectId}/locations/{locationId}/environments/{environmentId}&quot; (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07001044 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001045 The object takes the form of:
1046
1047{ # An environment for running orchestration tasks.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001048 &quot;uuid&quot;: &quot;A String&quot;, # Output only. The UUID (Universally Unique IDentifier) associated with this environment.
1049 # This value is generated when the environment is created.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001050 &quot;labels&quot;: { # Optional. User-defined labels for this environment.
1051 # The labels map can contain no more than 64 entries. Entries of the labels
1052 # map are UTF8 strings that comply with the following restrictions:
1053 #
1054 # * Keys must conform to regexp: \p{Ll}\p{Lo}{0,62}
1055 # * Values must conform to regexp: [\p{Ll}\p{Lo}\p{N}_-]{0,63}
1056 # * Both keys and values are additionally constrained to be &lt;= 128 bytes in
1057 # size.
1058 &quot;a_key&quot;: &quot;A String&quot;,
1059 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001060 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which this environment was created.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001061 &quot;config&quot;: { # Configuration information for an environment. # Configuration parameters for this environment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001062 &quot;gkeCluster&quot;: &quot;A String&quot;, # Output only. The Kubernetes Engine cluster used to run this environment.
1063 &quot;airflowUri&quot;: &quot;A String&quot;, # Output only. The URI of the Apache Airflow Web UI hosted within this environment (see
1064 # [Airflow web
1065 # interface](/composer/docs/how-to/accessing/airflow-web-interface)).
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001066 &quot;privateEnvironmentConfig&quot;: { # The configuration information for configuring a Private IP Cloud Composer # The configuration used for the Private IP Cloud Composer environment.
1067 # environment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001068 &quot;enablePrivateEnvironment&quot;: True or False, # Optional. If `true`, a Private IP Cloud Composer environment is created.
1069 # If this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be
1070 # set to true.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001071 &quot;privateClusterConfig&quot;: { # Configuration options for the private GKE cluster in a Cloud Composer # Optional. Configuration for the private GKE cluster for a Private IP
1072 # Cloud Composer environment.
Bu Sun Kim65020912020-05-20 12:08:20 -07001073 # environment.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001074 &quot;enablePrivateEndpoint&quot;: True or False, # Optional. If `true`, access to the public endpoint of the GKE cluster is
1075 # denied.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001076 &quot;masterIpv4ReservedRange&quot;: &quot;A String&quot;, # Output only. The IP range in CIDR notation to use for the hosted master network. This
1077 # range is used for assigning internal IP addresses to the GKE cluster
1078 # master or set of masters and to the internal load balancer virtual IP.
1079 # This range must not overlap with any other ranges in use
1080 # within the cluster&#x27;s network.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001081 &quot;masterIpv4CidrBlock&quot;: &quot;A String&quot;, # Optional. The CIDR block from which IPv4 range for GKE master will be reserved. If
1082 # left blank, the default value of &#x27;172.16.0.0/23&#x27; is used.
Bu Sun Kim65020912020-05-20 12:08:20 -07001083 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001084 &quot;webServerIpv4ReservedRange&quot;: &quot;A String&quot;, # Output only. The IP range reserved for the tenant project&#x27;s App Engine VMs.
1085 &quot;webServerIpv4CidrBlock&quot;: &quot;A String&quot;, # Optional. The CIDR block from which IP range for web server will be reserved. Needs
1086 # to be disjoint from `private_cluster_config.master_ipv4_cidr_block` and
1087 # `cloud_sql_ipv4_cidr_block`.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001088 &quot;cloudSqlIpv4CidrBlock&quot;: &quot;A String&quot;, # Optional. The CIDR block from which IP range in tenant project will be reserved for
1089 # Cloud SQL. Needs to be disjoint from `web_server_ipv4_cidr_block`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001090 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001091 &quot;softwareConfig&quot;: { # Specifies the selection and configuration of software inside the environment. # The configuration settings for software inside the environment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001092 &quot;airflowConfigOverrides&quot;: { # Optional. Apache Airflow configuration properties to override.
1093 #
1094 # Property keys contain the section and property names, separated by a
1095 # hyphen, for example &quot;core-dags_are_paused_at_creation&quot;. Section names must
1096 # not contain hyphens (&quot;-&quot;), opening square brackets (&quot;[&quot;), or closing
1097 # square brackets (&quot;]&quot;). The property name must not be empty and must not
1098 # contain an equals sign (&quot;=&quot;) or semicolon (&quot;;&quot;). Section and property names
1099 # must not contain a period (&quot;.&quot;). Apache Airflow configuration property
1100 # names must be written in
1101 # [snake_case](https://en.wikipedia.org/wiki/Snake_case). Property values can
1102 # contain any character, and can be written in any lower/upper case format.
1103 #
1104 # Certain Apache Airflow configuration property values are
1105 # [blacklisted](/composer/docs/how-to/managing/setting-airflow-configurations#airflow_configuration_blacklists),
1106 # and cannot be overridden.
1107 &quot;a_key&quot;: &quot;A String&quot;,
1108 },
1109 &quot;pythonVersion&quot;: &quot;A String&quot;, # Optional. The major version of Python used to run the Apache Airflow
1110 # scheduler, worker, and webserver processes.
1111 #
1112 # Can be set to &#x27;2&#x27; or &#x27;3&#x27;. If not specified, the default is &#x27;2&#x27;. Cannot be
1113 # updated.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001114 &quot;imageVersion&quot;: &quot;A String&quot;, # The version of the software running in the environment.
1115 # This encapsulates both the version of Cloud Composer functionality and the
1116 # version of Apache Airflow. It must match the regular expression
1117 # `composer-([0-9]+\.[0-9]+\.[0-9]+|latest)-airflow-[0-9]+\.[0-9]+(\.[0-9]+.*)?`.
1118 # When used as input, the server also checks if the provided version is
1119 # supported and denies the request for an unsupported version.
1120 #
1121 # The Cloud Composer portion of the version is a
1122 # [semantic version](https://semver.org) or `latest`. When the patch version
1123 # is omitted, the current Cloud Composer patch version is selected.
1124 # When `latest` is provided instead of an explicit version number,
1125 # the server replaces `latest` with the current Cloud Composer version
1126 # and stores that version number in the same field.
1127 #
1128 # The portion of the image version that follows &lt;em&gt;airflow-&lt;/em&gt; is an
1129 # official Apache Airflow repository
1130 # [release name](https://github.com/apache/incubator-airflow/releases).
1131 #
1132 # See also [Version
1133 # List](/composer/docs/concepts/versioning/composer-versions).
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001134 &quot;pypiPackages&quot;: { # Optional. Custom Python Package Index (PyPI) packages to be installed in
1135 # the environment.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001136 #
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001137 # Keys refer to the lowercase package name such as &quot;numpy&quot;
1138 # and values are the lowercase extras and version specifier such as
1139 # &quot;==1.12.0&quot;, &quot;[devel,gcp_api]&quot;, or &quot;[devel]&gt;=1.8.2, &lt;1.9.2&quot;. To specify a
1140 # package without pinning it to a version specifier, use the empty string as
1141 # the value.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001142 &quot;a_key&quot;: &quot;A String&quot;,
1143 },
1144 &quot;envVariables&quot;: { # Optional. Additional environment variables to provide to the Apache Airflow
1145 # scheduler, worker, and webserver processes.
1146 #
1147 # Environment variable names must match the regular expression
1148 # `a-zA-Z_*`. They cannot specify Apache Airflow
1149 # software configuration overrides (they cannot match the regular expression
1150 # `AIRFLOW__[A-Z0-9_]+__[A-Z0-9_]+`), and they cannot match any of the
1151 # following reserved names:
1152 #
1153 # * `AIRFLOW_HOME`
1154 # * `C_FORCE_ROOT`
1155 # * `CONTAINER_NAME`
1156 # * `DAGS_FOLDER`
1157 # * `GCP_PROJECT`
1158 # * `GCS_BUCKET`
1159 # * `GKE_CLUSTER_NAME`
1160 # * `SQL_DATABASE`
1161 # * `SQL_INSTANCE`
1162 # * `SQL_PASSWORD`
1163 # * `SQL_PROJECT`
1164 # * `SQL_REGION`
1165 # * `SQL_USER`
1166 &quot;a_key&quot;: &quot;A String&quot;,
1167 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001168 },
1169 &quot;nodeCount&quot;: 42, # The number of nodes in the Kubernetes Engine cluster that will be
1170 # used to run this environment.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001171 &quot;nodeConfig&quot;: { # The configuration information for the Kubernetes Engine nodes running # The configuration used for the Kubernetes Engine cluster.
1172 # the Apache Airflow software.
1173 &quot;serviceAccount&quot;: &quot;A String&quot;, # Optional. The Google Cloud Platform Service Account to be used by the node
1174 # VMs. If a service account is not specified, the &quot;default&quot; Compute Engine
1175 # service account is used. Cannot be updated.
1176 &quot;oauthScopes&quot;: [ # Optional. The set of Google API scopes to be made available on all
1177 # node VMs. If `oauth_scopes` is empty, defaults to
1178 # [&quot;https://www.googleapis.com/auth/cloud-platform&quot;]. Cannot be updated.
1179 &quot;A String&quot;,
1180 ],
1181 &quot;machineType&quot;: &quot;A String&quot;, # Optional. The Compute Engine
1182 # [machine type](/compute/docs/machine-types) used for cluster instances,
1183 # specified as a
1184 # [relative resource
1185 # name](/apis/design/resource_names#relative_resource_name). For example:
1186 # &quot;projects/{projectId}/zones/{zoneId}/machineTypes/{machineTypeId}&quot;.
1187 #
1188 # The `machineType` must belong to the enclosing environment&#x27;s project and
1189 # location. If both this field and `nodeConfig.location` are specified,
1190 # this `machineType` must belong to the `nodeConfig.location`; if both are
1191 # unspecified, the service will pick a zone in the Compute Engine region
1192 # corresponding to the Cloud Composer location, and propagate that choice to
1193 # both fields. If exactly one of this field and `nodeConfig.location` is
1194 # specified, the location information from the specified field will be
1195 # propagated to the unspecified field.
1196 #
1197 # The `machineTypeId` must not be a [shared-core machine
1198 # type](/compute/docs/machine-types#sharedcore).
1199 #
1200 # If this field is unspecified, the `machineTypeId` defaults
1201 # to &quot;n1-standard-1&quot;.
1202 &quot;ipAllocationPolicy&quot;: { # Configuration for controlling how IPs are allocated in the # Optional. The configuration for controlling how IPs are allocated in the GKE cluster.
1203 # GKE cluster running the Apache Airflow software.
1204 &quot;clusterIpv4CidrBlock&quot;: &quot;A String&quot;, # Optional. The IP address range used to allocate IP addresses to pods in
1205 # the GKE cluster.
1206 #
1207 # This field is applicable only when `use_ip_aliases` is true.
1208 #
1209 # Set to blank to have GKE choose a range with the default size.
1210 #
1211 # Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific
1212 # netmask.
1213 #
1214 # Set to a
1215 # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
1216 # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
1217 # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
1218 # to use.
1219 &quot;servicesIpv4CidrBlock&quot;: &quot;A String&quot;, # Optional. The IP address range of the services IP addresses in this
1220 # GKE cluster.
1221 #
1222 # This field is applicable only when `use_ip_aliases` is true.
1223 #
1224 # Set to blank to have GKE choose a range with the default size.
1225 #
1226 # Set to /netmask (e.g. `/14`) to have GKE choose a range with a specific
1227 # netmask.
1228 #
1229 # Set to a
1230 # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
1231 # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
1232 # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
1233 # to use.
1234 &quot;clusterSecondaryRangeName&quot;: &quot;A String&quot;, # Optional. The name of the GKE cluster&#x27;s secondary range used to allocate
1235 # IP addresses to pods.
1236 #
1237 # This field is applicable only when `use_ip_aliases` is true.
1238 &quot;servicesSecondaryRangeName&quot;: &quot;A String&quot;, # Optional. The name of the services&#x27; secondary range used to allocate
1239 # IP addresses to the GKE cluster.
1240 #
1241 # This field is applicable only when `use_ip_aliases` is true.
1242 &quot;useIpAliases&quot;: True or False, # Optional. Whether or not to enable Alias IPs in the GKE cluster.
1243 # If `true`, a VPC-native cluster is created.
1244 },
1245 &quot;location&quot;: &quot;A String&quot;, # Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
1246 # to deploy the VMs used to run the Apache Airflow software, specified as a
1247 # [relative resource
1248 # name](/apis/design/resource_names#relative_resource_name). For example:
1249 # &quot;projects/{projectId}/zones/{zoneId}&quot;.
1250 #
1251 # This `location` must belong to the enclosing environment&#x27;s project and
1252 # location. If both this field and `nodeConfig.machineType` are specified,
1253 # `nodeConfig.machineType` must belong to this `location`; if both are
1254 # unspecified, the service will pick a zone in the Compute Engine region
1255 # corresponding to the Cloud Composer location, and propagate that choice to
1256 # both fields. If only one field (`location` or `nodeConfig.machineType`) is
1257 # specified, the location information from the specified field will be
1258 # propagated to the unspecified field.
1259 &quot;subnetwork&quot;: &quot;A String&quot;, # Optional. The Compute Engine subnetwork to be used for machine
1260 # communications, specified as a
1261 # [relative resource
1262 # name](/apis/design/resource_names#relative_resource_name). For example:
1263 # &quot;projects/{projectId}/regions/{regionId}/subnetworks/{subnetworkId}&quot;
1264 #
1265 # If a subnetwork is provided, `nodeConfig.network` must also be provided,
1266 # and the subnetwork must belong to the enclosing environment&#x27;s project and
1267 # location.
1268 &quot;diskSizeGb&quot;: 42, # Optional. The disk size in GB used for node VMs. Minimum size is 20GB.
1269 # If unspecified, defaults to 100GB. Cannot be updated.
1270 &quot;tags&quot;: [ # Optional. The list of instance tags applied to all node VMs. Tags are used
1271 # to identify valid sources or targets for network firewalls. Each tag within
1272 # the list must comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).
1273 # Cannot be updated.
1274 &quot;A String&quot;,
1275 ],
1276 &quot;network&quot;: &quot;A String&quot;, # Optional. The Compute Engine network to be used for machine
1277 # communications, specified as a
1278 # [relative resource
1279 # name](/apis/design/resource_names#relative_resource_name). For example:
1280 # &quot;projects/{projectId}/global/networks/{networkId}&quot;.
1281 #
1282 # [Shared VPC](/vpc/docs/shared-vpc) is not currently supported. The
1283 # network must belong to the environment&#x27;s project. If unspecified, the
1284 # &quot;default&quot; network ID in the environment&#x27;s project is used. If a
1285 # [Custom Subnet Network](/vpc/docs/vpc#vpc_networks_and_subnets)
1286 # is provided, `nodeConfig.subnetwork` must also be provided.
1287 },
1288 &quot;dagGcsPrefix&quot;: &quot;A String&quot;, # Output only. The Cloud Storage prefix of the DAGs for this environment. Although Cloud
1289 # Storage objects reside in a flat namespace, a hierarchical file tree
1290 # can be simulated using &quot;/&quot;-delimited object name prefixes. DAG objects for
1291 # this environment reside in a simulated directory with the given prefix.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001292 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001293 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which this environment was last modified.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001294 &quot;state&quot;: &quot;A String&quot;, # The current state of the environment.
1295 &quot;name&quot;: &quot;A String&quot;, # The resource name of the environment, in the form:
1296 # &quot;projects/{projectId}/locations/{locationId}/environments/{environmentId}&quot;
1297 #
1298 # EnvironmentId must start with a lowercase letter followed by up to 63
1299 # lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001300}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001301
1302 updateMask: string, Required. A comma-separated list of paths, relative to `Environment`, of
1303fields to update.
1304For example, to set the version of scikit-learn to install in the
1305environment to 0.19.0 and to remove an existing installation of
1306numpy, the `updateMask` parameter would include the following two
Bu Sun Kim65020912020-05-20 12:08:20 -07001307`paths` values: &quot;config.softwareConfig.pypiPackages.scikit-learn&quot; and
1308&quot;config.softwareConfig.pypiPackages.numpy&quot;. The included patch
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001309environment would specify the scikit-learn version as follows:
1310
1311 {
Bu Sun Kim65020912020-05-20 12:08:20 -07001312 &quot;config&quot;:{
1313 &quot;softwareConfig&quot;:{
1314 &quot;pypiPackages&quot;:{
1315 &quot;scikit-learn&quot;:&quot;==0.19.0&quot;
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001316 }
1317 }
1318 }
1319 }
1320
1321Note that in the above example, any existing PyPI packages
1322other than scikit-learn and numpy will be unaffected.
1323
Bu Sun Kim65020912020-05-20 12:08:20 -07001324Only one update type may be included in a single request&#x27;s `updateMask`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001325For example, one cannot update both the PyPI packages and
1326labels in the same request. However, it is possible to update multiple
1327members of a map field simultaneously in the same request. For example,
Bu Sun Kim65020912020-05-20 12:08:20 -07001328to set the labels &quot;label1&quot; and &quot;label2&quot; while clearing &quot;label3&quot; (assuming
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001329it already exists), one can
Bu Sun Kim65020912020-05-20 12:08:20 -07001330provide the paths &quot;labels.label1&quot;, &quot;labels.label2&quot;, and &quot;labels.label3&quot;
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001331and populate the patch environment as follows:
1332
1333 {
Bu Sun Kim65020912020-05-20 12:08:20 -07001334 &quot;labels&quot;:{
1335 &quot;label1&quot;:&quot;new-label1-value&quot;
1336 &quot;label2&quot;:&quot;new-label2-value&quot;
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001337 }
1338 }
1339
1340Note that in the above example, any existing labels that are not
1341included in the `updateMask` will be unaffected.
1342
1343It is also possible to replace an entire map field by providing the
Bu Sun Kim65020912020-05-20 12:08:20 -07001344map field&#x27;s path in the `updateMask`. The new value of the field will
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001345be that which is provided in the patch environment. For example, to
1346delete all pre-existing user-specified PyPI packages and
1347install botocore at version 1.7.14, the `updateMask` would contain
Bu Sun Kim65020912020-05-20 12:08:20 -07001348the path &quot;config.softwareConfig.pypiPackages&quot;, and
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001349the patch environment would be the following:
1350
1351 {
Bu Sun Kim65020912020-05-20 12:08:20 -07001352 &quot;config&quot;:{
1353 &quot;softwareConfig&quot;:{
1354 &quot;pypiPackages&quot;:{
1355 &quot;botocore&quot;:&quot;==1.7.14&quot;
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001356 }
1357 }
1358 }
1359 }
1360
1361**Note:** Only the following fields can be updated:
1362
Dan O'Mearadd494642020-05-01 07:42:23 -07001363 &lt;table&gt;
1364 &lt;tbody&gt;
1365 &lt;tr&gt;
1366 &lt;td&gt;&lt;strong&gt;Mask&lt;/strong&gt;&lt;/td&gt;
1367 &lt;td&gt;&lt;strong&gt;Purpose&lt;/strong&gt;&lt;/td&gt;
1368 &lt;/tr&gt;
1369 &lt;tr&gt;
1370 &lt;td&gt;config.softwareConfig.pypiPackages
1371 &lt;/td&gt;
1372 &lt;td&gt;Replace all custom custom PyPI packages. If a replacement
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001373 package map is not included in `environment`, all custom
1374 PyPI packages are cleared. It is an error to provide both this mask and a
Dan O'Mearadd494642020-05-01 07:42:23 -07001375 mask specifying an individual package.&lt;/td&gt;
1376 &lt;/tr&gt;
1377 &lt;tr&gt;
1378 &lt;td&gt;config.softwareConfig.pypiPackages.&lt;var&gt;packagename&lt;/var&gt;&lt;/td&gt;
1379 &lt;td&gt;Update the custom PyPI package &lt;var&gt;packagename&lt;/var&gt;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001380 preserving other packages. To delete the package, include it in
1381 `updateMask`, and omit the mapping for it in
1382 `environment.config.softwareConfig.pypiPackages`. It is an error
1383 to provide both a mask of this form and the
Bu Sun Kim65020912020-05-20 12:08:20 -07001384 &quot;config.softwareConfig.pypiPackages&quot; mask.&lt;/td&gt;
Dan O'Mearadd494642020-05-01 07:42:23 -07001385 &lt;/tr&gt;
1386 &lt;tr&gt;
1387 &lt;td&gt;labels&lt;/td&gt;
1388 &lt;td&gt;Replace all environment labels. If a replacement labels map is not
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001389 included in `environment`, all labels are cleared. It is an error to
1390 provide both this mask and a mask specifying one or more individual
Dan O'Mearadd494642020-05-01 07:42:23 -07001391 labels.&lt;/td&gt;
1392 &lt;/tr&gt;
1393 &lt;tr&gt;
1394 &lt;td&gt;labels.&lt;var&gt;labelName&lt;/var&gt;&lt;/td&gt;
1395 &lt;td&gt;Set the label named &lt;var&gt;labelName&lt;/var&gt;, while preserving other
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001396 labels. To delete the label, include it in `updateMask` and omit its
1397 mapping in `environment.labels`. It is an error to provide both a
Bu Sun Kim65020912020-05-20 12:08:20 -07001398 mask of this form and the &quot;labels&quot; mask.&lt;/td&gt;
Dan O'Mearadd494642020-05-01 07:42:23 -07001399 &lt;/tr&gt;
1400 &lt;tr&gt;
1401 &lt;td&gt;config.nodeCount&lt;/td&gt;
1402 &lt;td&gt;Horizontally scale the number of nodes in the environment. An integer
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001403 greater than or equal to 3 must be provided in the `config.nodeCount`
1404 field.
Dan O'Mearadd494642020-05-01 07:42:23 -07001405 &lt;/td&gt;
1406 &lt;/tr&gt;
1407 &lt;tr&gt;
1408 &lt;td&gt;config.softwareConfig.airflowConfigOverrides&lt;/td&gt;
1409 &lt;td&gt;Replace all Apache Airflow config overrides. If a replacement config
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001410 overrides map is not included in `environment`, all config overrides
1411 are cleared.
1412 It is an error to provide both this mask and a mask specifying one or
Dan O'Mearadd494642020-05-01 07:42:23 -07001413 more individual config overrides.&lt;/td&gt;
1414 &lt;/tr&gt;
1415 &lt;tr&gt;
1416 &lt;td&gt;config.softwareConfig.airflowConfigOverrides.&lt;var&gt;section&lt;/var&gt;-&lt;var&gt;name
1417 &lt;/var&gt;&lt;/td&gt;
1418 &lt;td&gt;Override the Apache Airflow config property &lt;var&gt;name&lt;/var&gt; in the
1419 section named &lt;var&gt;section&lt;/var&gt;, preserving other properties. To delete
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001420 the property override, include it in `updateMask` and omit its mapping
1421 in `environment.config.softwareConfig.airflowConfigOverrides`.
1422 It is an error to provide both a mask of this form and the
Bu Sun Kim65020912020-05-20 12:08:20 -07001423 &quot;config.softwareConfig.airflowConfigOverrides&quot; mask.&lt;/td&gt;
Dan O'Mearadd494642020-05-01 07:42:23 -07001424 &lt;/tr&gt;
1425 &lt;tr&gt;
1426 &lt;td&gt;config.softwareConfig.envVariables&lt;/td&gt;
1427 &lt;td&gt;Replace all environment variables. If a replacement environment
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001428 variable map is not included in `environment`, all custom environment
1429 variables are cleared.
1430 It is an error to provide both this mask and a mask specifying one or
Dan O'Mearadd494642020-05-01 07:42:23 -07001431 more individual environment variables.&lt;/td&gt;
1432 &lt;/tr&gt;
1433 &lt;/tbody&gt;
1434 &lt;/table&gt;
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001435 x__xgafv: string, V1 error format.
1436 Allowed values
1437 1 - v1 error format
1438 2 - v2 error format
1439
1440Returns:
1441 An object of the form:
1442
1443 { # This resource represents a long-running operation that is the result of a
1444 # network API call.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001445 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
1446 # originally returns it. If you use the default HTTP mapping, the
1447 # `name` should be a resource name ending with `operations/{unique_id}`.
Bu Sun Kim65020912020-05-20 12:08:20 -07001448 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001449 # method returns no data on success, such as `Delete`, the response is
1450 # `google.protobuf.Empty`. If the original method is standard
1451 # `Get`/`Create`/`Update`, the response should be the resource. For other
1452 # methods, the response should have the type `XxxResponse`, where `Xxx`
1453 # is the original method name. For example, if the original method name
1454 # is `TakeSnapshot()`, the inferred response type is
1455 # `TakeSnapshotResponse`.
Bu Sun Kim65020912020-05-20 12:08:20 -07001456 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001457 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001458 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
1459 # contains progress information and common metadata such as create time.
1460 # Some services might not provide such metadata. Any method that returns a
1461 # long-running operation should document the metadata type, if any.
1462 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1463 },
1464 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
1465 # If `true`, the operation is completed, and either `error` or `response` is
1466 # available.
Bu Sun Kim65020912020-05-20 12:08:20 -07001467 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # The error result of the operation in case of failure or cancellation.
1468 # different programming environments, including REST APIs and RPC APIs. It is
1469 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1470 # three pieces of data: error code, error message, and error details.
1471 #
1472 # You can find out more about this error model and how to work with it in the
1473 # [API Design Guide](https://cloud.google.com/apis/design/errors).
Bu Sun Kim65020912020-05-20 12:08:20 -07001474 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
1475 # message types for APIs to use.
1476 {
1477 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1478 },
1479 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001480 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
1481 # user-facing error message should be localized and sent in the
1482 # google.rpc.Status.details field, or localized by the client.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001483 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
Bu Sun Kim65020912020-05-20 12:08:20 -07001484 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001485 }</pre>
1486</div>
1487
1488</body></html>