blob: 74a0c40ce5ed05395e28247993bb44b9d4f4e150 [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="container_v1beta1.html">Kubernetes Engine API</a> . <a href="container_v1beta1.projects.html">projects</a> . <a href="container_v1beta1.projects.zones.html">zones</a> . <a href="container_v1beta1.projects.zones.clusters.html">clusters</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="container_v1beta1.projects.zones.clusters.nodePools.html">nodePools()</a></code>
79</p>
80<p class="firstline">Returns the nodePools Resource.</p>
81
82<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070083 <code><a href="#addons">addons(projectId, zone, clusterId, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070084<p class="firstline">Sets the addons for a specific cluster.</p>
85<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070086 <code><a href="#completeIpRotation">completeIpRotation(projectId, zone, clusterId, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070087<p class="firstline">Completes master IP rotation.</p>
88<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070089 <code><a href="#create">create(projectId, zone, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070090<p class="firstline">Creates a cluster, consisting of the specified number and type of Google</p>
91<p class="toc_element">
92 <code><a href="#delete">delete(projectId, zone, clusterId, name=None, x__xgafv=None)</a></code></p>
93<p class="firstline">Deletes the cluster, including the Kubernetes endpoint and all worker</p>
94<p class="toc_element">
95 <code><a href="#get">get(projectId, zone, clusterId, name=None, x__xgafv=None)</a></code></p>
96<p class="firstline">Gets the details for a specific cluster.</p>
97<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070098 <code><a href="#legacyAbac">legacyAbac(projectId, zone, clusterId, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070099<p class="firstline">Enables or disables the ABAC authorization mechanism on a cluster.</p>
100<p class="toc_element">
101 <code><a href="#list">list(projectId, zone, parent=None, x__xgafv=None)</a></code></p>
102<p class="firstline">Lists all clusters owned by a project in either the specified zone or all</p>
103<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700104 <code><a href="#locations">locations(projectId, zone, clusterId, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700105<p class="firstline">Sets the locations for a specific cluster.</p>
106<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700107 <code><a href="#logging">logging(projectId, zone, clusterId, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700108<p class="firstline">Sets the logging service for a specific cluster.</p>
109<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700110 <code><a href="#master">master(projectId, zone, clusterId, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700111<p class="firstline">Updates the master for a specific cluster.</p>
112<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700113 <code><a href="#monitoring">monitoring(projectId, zone, clusterId, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700114<p class="firstline">Sets the monitoring service for a specific cluster.</p>
115<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700116 <code><a href="#resourceLabels">resourceLabels(projectId, zone, clusterId, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700117<p class="firstline">Sets labels on a cluster.</p>
118<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700119 <code><a href="#setMaintenancePolicy">setMaintenancePolicy(projectId, zone, clusterId, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700120<p class="firstline">Sets the maintenance policy for a cluster.</p>
121<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700122 <code><a href="#setMasterAuth">setMasterAuth(projectId, zone, clusterId, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700123<p class="firstline">Sets master auth materials. Currently supports changing the admin password</p>
124<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700125 <code><a href="#setNetworkPolicy">setNetworkPolicy(projectId, zone, clusterId, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700126<p class="firstline">Enables or disables Network Policy for a cluster.</p>
127<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700128 <code><a href="#startIpRotation">startIpRotation(projectId, zone, clusterId, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700129<p class="firstline">Starts master IP rotation.</p>
130<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700131 <code><a href="#update">update(projectId, zone, clusterId, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700132<p class="firstline">Updates the settings for a specific cluster.</p>
133<h3>Method Details</h3>
134<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700135 <code class="details" id="addons">addons(projectId, zone, clusterId, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700136 <pre>Sets the addons for a specific cluster.
137
138Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700139 projectId: string, Required. Deprecated. The Google Developers Console [project ID or project
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700140number](https://support.google.com/cloud/answer/6158840).
141This field has been deprecated and replaced by the name field. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700142 zone: string, Required. Deprecated. The name of the Google Compute Engine
143[zone](https://cloud.google.com/compute/docs/zones#available) in which the
144cluster resides. This field has been deprecated and replaced by the name
145field. (required)
146 clusterId: string, Required. Deprecated. The name of the cluster to upgrade.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700147This field has been deprecated and replaced by the name field. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700148 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700149 The object takes the form of:
150
151{ # SetAddonsRequest sets the addons associated with the cluster.
Bu Sun Kim65020912020-05-20 12:08:20 -0700152 &quot;name&quot;: &quot;A String&quot;, # The name (project, location, cluster) of the cluster to set addons.
153 # Specified in the format `projects/*/locations/*/clusters/*`.
154 &quot;projectId&quot;: &quot;A String&quot;, # Required. Deprecated. The Google Developers Console [project ID or project
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700155 # number](https://support.google.com/cloud/answer/6158840).
156 # This field has been deprecated and replaced by the name field.
Bu Sun Kim65020912020-05-20 12:08:20 -0700157 &quot;zone&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the Google Compute Engine
158 # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
159 # cluster resides. This field has been deprecated and replaced by the name
160 # field.
161 &quot;clusterId&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the cluster to upgrade.
162 # This field has been deprecated and replaced by the name field.
163 &quot;addonsConfig&quot;: { # Configuration for the addons that can be automatically spun up in the # Required. The desired configurations for the various addons available to run in the
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700164 # cluster.
165 # cluster, enabling additional functionality.
Bu Sun Kim65020912020-05-20 12:08:20 -0700166 &quot;httpLoadBalancing&quot;: { # Configuration options for the HTTP (L7) load balancing controller addon, # Configuration for the HTTP (L7) load balancing controller addon, which
167 # makes it easy to set up HTTP load balancers for services in a cluster.
168 # which makes it easy to set up HTTP load balancers for services in a cluster.
169 &quot;disabled&quot;: True or False, # Whether the HTTP Load Balancing controller is enabled in the cluster.
170 # When enabled, it runs a small pod in the cluster that manages the load
171 # balancers.
Dan O'Mearadd494642020-05-01 07:42:23 -0700172 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700173 &quot;kubernetesDashboard&quot;: { # Configuration for the Kubernetes Dashboard. # Configuration for the Kubernetes Dashboard.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700174 # This addon is deprecated, and will be disabled in 1.15. It is recommended
175 # to use the Cloud Console to manage and monitor your Kubernetes clusters,
176 # workloads and applications. For more information, see:
177 # https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
Bu Sun Kim65020912020-05-20 12:08:20 -0700178 &quot;disabled&quot;: True or False, # Whether the Kubernetes Dashboard is enabled for this cluster.
179 },
180 &quot;dnsCacheConfig&quot;: { # Configuration for NodeLocal DNSCache # Configuration for NodeLocalDNS, a dns cache running on cluster nodes
181 &quot;enabled&quot;: True or False, # Whether NodeLocal DNSCache is enabled for this cluster.
182 },
183 &quot;kalmConfig&quot;: { # Configuration options for the KALM addon. # Configuration for the KALM addon, which manages the lifecycle of k8s
184 # applications.
185 &quot;enabled&quot;: True or False, # Whether KALM is enabled for this cluster.
186 },
187 &quot;gcePersistentDiskCsiDriverConfig&quot;: { # Configuration for the Compute Engine PD CSI driver. This option can only be # Configuration for the Compute Engine Persistent Disk CSI driver.
188 # enabled at cluster creation time.
189 &quot;enabled&quot;: True or False, # Whether the Compute Engine PD CSI driver is enabled for this cluster.
190 },
191 &quot;istioConfig&quot;: { # Configuration options for Istio addon. # Configuration for Istio, an open platform to connect, manage, and secure
192 # microservices.
Bu Sun Kim65020912020-05-20 12:08:20 -0700193 &quot;auth&quot;: &quot;A String&quot;, # The specified Istio auth mode, either none, or mutual TLS.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700194 &quot;disabled&quot;: True or False, # Whether Istio is enabled for this cluster.
195 },
196 &quot;networkPolicyConfig&quot;: { # Configuration for NetworkPolicy. This only tracks whether the addon # Configuration for NetworkPolicy. This only tracks whether the addon
197 # is enabled or not on the Master, it does not track whether network policy
198 # is enabled for the nodes.
199 # is enabled or not on the Master, it does not track whether network policy
200 # is enabled for the nodes.
201 &quot;disabled&quot;: True or False, # Whether NetworkPolicy is enabled for this cluster.
202 },
203 &quot;cloudRunConfig&quot;: { # Configuration options for the Cloud Run feature. # Configuration for the Cloud Run addon. The `IstioConfig` addon must be
204 # enabled in order to enable Cloud Run addon. This option can only be enabled
205 # at cluster creation time.
206 &quot;disabled&quot;: True or False, # Whether Cloud Run addon is enabled for this cluster.
207 },
208 &quot;configConnectorConfig&quot;: { # Configuration options for the Config Connector add-on. # Configuration for the ConfigConnector add-on, a Kubernetes
209 # extension to manage hosted GCP services through the Kubernetes API
210 &quot;enabled&quot;: True or False, # Whether Cloud Connector is enabled for this cluster.
211 },
212 &quot;horizontalPodAutoscaling&quot;: { # Configuration options for the horizontal pod autoscaling feature, which # Configuration for the horizontal pod autoscaling feature, which
213 # increases or decreases the number of replica pods a replication controller
214 # has based on the resource usage of the existing pods.
215 # increases or decreases the number of replica pods a replication controller
216 # has based on the resource usage of the existing pods.
217 &quot;disabled&quot;: True or False, # Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
218 # When enabled, it ensures that metrics are collected into Stackdriver
219 # Monitoring.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700220 },
221 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700222 }
223
224 x__xgafv: string, V1 error format.
225 Allowed values
226 1 - v1 error format
227 2 - v2 error format
228
229Returns:
230 An object of the form:
231
232 { # This operation resource represents operations that may have happened or are
233 # happening on the cluster. All fields are output only.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700234 &quot;targetLink&quot;: &quot;A String&quot;, # Server-defined URL for the target of the operation.
235 &quot;detail&quot;: &quot;A String&quot;, # Detailed operation progress, if available.
236 &quot;operationType&quot;: &quot;A String&quot;, # The operation type.
237 &quot;status&quot;: &quot;A String&quot;, # The current status of the operation.
238 &quot;name&quot;: &quot;A String&quot;, # The server-assigned ID for the operation.
Bu Sun Kim65020912020-05-20 12:08:20 -0700239 &quot;nodepoolConditions&quot;: [ # Which conditions caused the current node pool state.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700240 { # StatusCondition describes why a cluster or a node pool has a certain status
241 # (e.g., ERROR or DEGRADED).
Bu Sun Kim65020912020-05-20 12:08:20 -0700242 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
243 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700244 },
245 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700246 &quot;endTime&quot;: &quot;A String&quot;, # [Output only] The time the operation completed, in
247 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
Bu Sun Kim65020912020-05-20 12:08:20 -0700248 &quot;location&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine
Dan O'Mearadd494642020-05-01 07:42:23 -0700249 # [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
250 # or
251 # [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
252 # in which the cluster resides.
Bu Sun Kim65020912020-05-20 12:08:20 -0700253 &quot;startTime&quot;: &quot;A String&quot;, # [Output only] The time the operation started, in
254 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
255 &quot;clusterConditions&quot;: [ # Which conditions caused the current cluster state.
256 { # StatusCondition describes why a cluster or a node pool has a certain status
257 # (e.g., ERROR or DEGRADED).
258 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
259 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
260 },
261 ],
262 &quot;progress&quot;: { # Information about operation (or operation stage) progress. # Output only. [Output only] Progress information for an operation.
Bu Sun Kim65020912020-05-20 12:08:20 -0700263 &quot;metrics&quot;: [ # Progress metric bundle, for example:
264 # metrics: [{name: &quot;nodes done&quot;, int_value: 15},
265 # {name: &quot;nodes total&quot;, int_value: 32}]
266 # or
267 # metrics: [{name: &quot;progress&quot;, double_value: 0.56},
268 # {name: &quot;progress scale&quot;, double_value: 1.0}]
269 { # Progress metric is (string, int|float|string) pair.
270 &quot;name&quot;: &quot;A String&quot;, # Required. Metric name, e.g., &quot;nodes total&quot;, &quot;percent done&quot;.
271 &quot;doubleValue&quot;: 3.14, # For metrics with floating point value.
272 &quot;intValue&quot;: &quot;A String&quot;, # For metrics with integer value.
273 &quot;stringValue&quot;: &quot;A String&quot;, # For metrics with custom values (ratios, visual progress, etc.).
274 },
275 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700276 &quot;status&quot;: &quot;A String&quot;, # Status of an operation stage.
277 # Unset for single-stage operations.
Bu Sun Kim65020912020-05-20 12:08:20 -0700278 &quot;name&quot;: &quot;A String&quot;, # A non-parameterized string describing an operation stage.
279 # Unset for single-stage operations.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700280 &quot;stages&quot;: [ # Substages of an operation or a stage.
281 # Object with schema name: OperationProgress
282 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700283 },
284 &quot;zone&quot;: &quot;A String&quot;, # The name of the Google Compute Engine
285 # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
286 # operation is taking place. This field is deprecated, use location instead.
287 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. If an error has occurred, a textual description of the error.
288 &quot;selfLink&quot;: &quot;A String&quot;, # Server-defined URL for the resource.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700289 }</pre>
290</div>
291
292<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700293 <code class="details" id="completeIpRotation">completeIpRotation(projectId, zone, clusterId, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700294 <pre>Completes master IP rotation.
295
296Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700297 projectId: string, Required. Deprecated. The Google Developers Console [project ID or project
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700298number](https://developers.google.com/console/help/new/#projectnumber).
299This field has been deprecated and replaced by the name field. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700300 zone: string, Required. Deprecated. The name of the Google Compute Engine
301[zone](https://cloud.google.com/compute/docs/zones#available) in which the
302cluster resides. This field has been deprecated and replaced by the name
303field. (required)
304 clusterId: string, Required. Deprecated. The name of the cluster.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700305This field has been deprecated and replaced by the name field. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700306 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700307 The object takes the form of:
308
309{ # CompleteIPRotationRequest moves the cluster master back into single-IP mode.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700310 &quot;clusterId&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the cluster.
311 # This field has been deprecated and replaced by the name field.
Bu Sun Kim65020912020-05-20 12:08:20 -0700312 &quot;name&quot;: &quot;A String&quot;, # The name (project, location, cluster id) of the cluster to complete IP
313 # rotation. Specified in the format `projects/*/locations/*/clusters/*`.
314 &quot;projectId&quot;: &quot;A String&quot;, # Required. Deprecated. The Google Developers Console [project ID or project
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700315 # number](https://developers.google.com/console/help/new/#projectnumber).
316 # This field has been deprecated and replaced by the name field.
Bu Sun Kim65020912020-05-20 12:08:20 -0700317 &quot;zone&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the Google Compute Engine
Dan O'Mearadd494642020-05-01 07:42:23 -0700318 # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
319 # cluster resides. This field has been deprecated and replaced by the name
320 # field.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700321 }
322
323 x__xgafv: string, V1 error format.
324 Allowed values
325 1 - v1 error format
326 2 - v2 error format
327
328Returns:
329 An object of the form:
330
331 { # This operation resource represents operations that may have happened or are
332 # happening on the cluster. All fields are output only.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700333 &quot;targetLink&quot;: &quot;A String&quot;, # Server-defined URL for the target of the operation.
334 &quot;detail&quot;: &quot;A String&quot;, # Detailed operation progress, if available.
335 &quot;operationType&quot;: &quot;A String&quot;, # The operation type.
336 &quot;status&quot;: &quot;A String&quot;, # The current status of the operation.
337 &quot;name&quot;: &quot;A String&quot;, # The server-assigned ID for the operation.
Bu Sun Kim65020912020-05-20 12:08:20 -0700338 &quot;nodepoolConditions&quot;: [ # Which conditions caused the current node pool state.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700339 { # StatusCondition describes why a cluster or a node pool has a certain status
340 # (e.g., ERROR or DEGRADED).
Bu Sun Kim65020912020-05-20 12:08:20 -0700341 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
342 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700343 },
344 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700345 &quot;endTime&quot;: &quot;A String&quot;, # [Output only] The time the operation completed, in
346 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
Bu Sun Kim65020912020-05-20 12:08:20 -0700347 &quot;location&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine
Dan O'Mearadd494642020-05-01 07:42:23 -0700348 # [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
349 # or
350 # [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
351 # in which the cluster resides.
Bu Sun Kim65020912020-05-20 12:08:20 -0700352 &quot;startTime&quot;: &quot;A String&quot;, # [Output only] The time the operation started, in
353 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
354 &quot;clusterConditions&quot;: [ # Which conditions caused the current cluster state.
355 { # StatusCondition describes why a cluster or a node pool has a certain status
356 # (e.g., ERROR or DEGRADED).
357 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
358 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
359 },
360 ],
361 &quot;progress&quot;: { # Information about operation (or operation stage) progress. # Output only. [Output only] Progress information for an operation.
Bu Sun Kim65020912020-05-20 12:08:20 -0700362 &quot;metrics&quot;: [ # Progress metric bundle, for example:
363 # metrics: [{name: &quot;nodes done&quot;, int_value: 15},
364 # {name: &quot;nodes total&quot;, int_value: 32}]
365 # or
366 # metrics: [{name: &quot;progress&quot;, double_value: 0.56},
367 # {name: &quot;progress scale&quot;, double_value: 1.0}]
368 { # Progress metric is (string, int|float|string) pair.
369 &quot;name&quot;: &quot;A String&quot;, # Required. Metric name, e.g., &quot;nodes total&quot;, &quot;percent done&quot;.
370 &quot;doubleValue&quot;: 3.14, # For metrics with floating point value.
371 &quot;intValue&quot;: &quot;A String&quot;, # For metrics with integer value.
372 &quot;stringValue&quot;: &quot;A String&quot;, # For metrics with custom values (ratios, visual progress, etc.).
373 },
374 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700375 &quot;status&quot;: &quot;A String&quot;, # Status of an operation stage.
376 # Unset for single-stage operations.
Bu Sun Kim65020912020-05-20 12:08:20 -0700377 &quot;name&quot;: &quot;A String&quot;, # A non-parameterized string describing an operation stage.
378 # Unset for single-stage operations.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700379 &quot;stages&quot;: [ # Substages of an operation or a stage.
380 # Object with schema name: OperationProgress
381 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700382 },
383 &quot;zone&quot;: &quot;A String&quot;, # The name of the Google Compute Engine
384 # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
385 # operation is taking place. This field is deprecated, use location instead.
386 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. If an error has occurred, a textual description of the error.
387 &quot;selfLink&quot;: &quot;A String&quot;, # Server-defined URL for the resource.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700388 }</pre>
389</div>
390
391<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700392 <code class="details" id="create">create(projectId, zone, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700393 <pre>Creates a cluster, consisting of the specified number and type of Google
394Compute Engine instances.
395
Bu Sun Kim65020912020-05-20 12:08:20 -0700396By default, the cluster is created in the project&#x27;s
Dan O'Mearadd494642020-05-01 07:42:23 -0700397[default
398network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700399
400One firewall is added for the cluster. After cluster creation,
401the Kubelet creates routes for each node to allow the containers
402on that node to communicate with all other instances in the
403cluster.
404
Bu Sun Kim65020912020-05-20 12:08:20 -0700405Finally, an entry is added to the project&#x27;s global metadata indicating
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700406which CIDR range the cluster is using.
407
408Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700409 projectId: string, Required. Deprecated. The Google Developers Console [project ID or project
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700410number](https://support.google.com/cloud/answer/6158840).
411This field has been deprecated and replaced by the parent field. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700412 zone: string, Required. Deprecated. The name of the Google Compute Engine
413[zone](https://cloud.google.com/compute/docs/zones#available) in which the
414cluster resides. This field has been deprecated and replaced by the parent
415field. (required)
416 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700417 The object takes the form of:
418
419{ # CreateClusterRequest creates a cluster.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700420 &quot;parent&quot;: &quot;A String&quot;, # The parent (project and location) where the cluster will be created.
421 # Specified in the format `projects/*/locations/*`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700422 &quot;cluster&quot;: { # A Google Kubernetes Engine cluster. # Required. A [cluster
Dan O'Mearadd494642020-05-01 07:42:23 -0700423 # resource](https://cloud.google.com/container-engine/reference/rest/v1beta1/projects.zones.clusters)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700424 &quot;privateClusterConfig&quot;: { # Configuration options for private clusters. # Configuration for private cluster.
425 &quot;masterIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP range in CIDR notation to use for the hosted master network. This
426 # range will be used for assigning internal IP addresses to the master or
427 # set of masters, as well as the ILB VIP. This range must not overlap with
428 # any other ranges in use within the cluster&#x27;s network.
429 &quot;enablePrivateNodes&quot;: True or False, # Whether nodes have internal IP addresses only. If enabled, all nodes are
430 # given only RFC 1918 private addresses and communicate with the master via
431 # private networking.
432 &quot;privateEndpoint&quot;: &quot;A String&quot;, # Output only. The internal IP address of this cluster&#x27;s master endpoint.
433 &quot;enablePrivateEndpoint&quot;: True or False, # Whether the master&#x27;s internal IP address is used as the cluster endpoint.
434 &quot;peeringName&quot;: &quot;A String&quot;, # Output only. The peering name in the customer VPC used by this cluster.
435 &quot;masterGlobalAccessConfig&quot;: { # Configuration for controlling master global access settings. # Controls master global access settings.
436 &quot;enabled&quot;: True or False, # Whenever master is accessible globally or not.
437 },
438 &quot;publicEndpoint&quot;: &quot;A String&quot;, # Output only. The external IP address of this cluster&#x27;s master endpoint.
439 },
440 &quot;shieldedNodes&quot;: { # Configuration of Shielded Nodes feature. # Shielded Nodes configuration.
441 &quot;enabled&quot;: True or False, # Whether Shielded Nodes features are enabled on all nodes in this cluster.
442 },
443 &quot;verticalPodAutoscaling&quot;: { # VerticalPodAutoscaling contains global, per-cluster information # Cluster-level Vertical Pod Autoscaling configuration.
444 # required by Vertical Pod Autoscaler to automatically adjust
445 # the resources of pods controlled by it.
446 &quot;enabled&quot;: True or False, # Enables vertical pod autoscaling.
447 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700448 &quot;defaultMaxPodsConstraint&quot;: { # Constraints applied to pods. # The default constraint on the maximum number of pods that can be run
449 # simultaneously on a node in the node pool of this cluster. Only honored
450 # if cluster created with IP Alias support.
451 &quot;maxPodsPerNode&quot;: &quot;A String&quot;, # Constraint enforced on the max num of pods per node.
452 },
453 &quot;network&quot;: &quot;A String&quot;, # The name of the Google Compute Engine
454 # [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
455 # to which the cluster is connected. If left unspecified, the `default`
456 # network will be used. On output this shows the network ID instead of the
457 # name.
458 &quot;labelFingerprint&quot;: &quot;A String&quot;, # The fingerprint of the set of labels for this cluster.
459 &quot;nodeIpv4CidrSize&quot;: 42, # [Output only] The size of the address space on each node for hosting
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700460 # containers. This is provisioned from within the `container_ipv4_cidr`
461 # range. This field will only be set when cluster is in route-based network
462 # mode.
Bu Sun Kim65020912020-05-20 12:08:20 -0700463 &quot;masterAuthorizedNetworksConfig&quot;: { # Configuration options for the master authorized networks feature. Enabled # The configuration options for master authorized networks feature.
464 # master authorized networks will disallow all external traffic to access
465 # Kubernetes master through HTTPS except traffic from the given CIDR blocks,
466 # Google Compute Engine Public IPs and Google Prod IPs.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700467 &quot;enabled&quot;: True or False, # Whether or not master authorized networks is enabled.
Bu Sun Kim65020912020-05-20 12:08:20 -0700468 &quot;cidrBlocks&quot;: [ # cidr_blocks define up to 10 external networks that could access
469 # Kubernetes master through HTTPS.
470 { # CidrBlock contains an optional name and one CIDR block.
Bu Sun Kim65020912020-05-20 12:08:20 -0700471 &quot;cidrBlock&quot;: &quot;A String&quot;, # cidr_block must be specified in CIDR notation.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700472 &quot;displayName&quot;: &quot;A String&quot;, # display_name is an optional field for users to identify CIDR blocks.
Bu Sun Kim65020912020-05-20 12:08:20 -0700473 },
474 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700475 },
476 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output only] Additional information about the current status of this
477 # cluster, if available.
478 &quot;masterAuth&quot;: { # The authentication information for accessing the master endpoint. # The authentication information for accessing the master endpoint.
479 # If unspecified, the defaults are used:
480 # For clusters before v1.12, if master_auth is unspecified, `username` will
481 # be set to &quot;admin&quot;, a random password will be generated, and a client
482 # certificate will be issued.
483 # Authentication can be done using HTTP basic auth or using client
484 # certificates.
485 &quot;password&quot;: &quot;A String&quot;, # The password to use for HTTP basic authentication to the master endpoint.
486 # Because the master endpoint is open to the Internet, you should create a
487 # strong password. If a password is provided for cluster creation, username
488 # must be non-empty.
489 &quot;clientCertificateConfig&quot;: { # Configuration for client certificates on the cluster. # Configuration for client certificate authentication on the cluster. For
490 # clusters before v1.12, if no configuration is specified, a client
491 # certificate is issued.
492 &quot;issueClientCertificate&quot;: True or False, # Issue a client certificate.
493 },
494 &quot;clientKey&quot;: &quot;A String&quot;, # [Output only] Base64-encoded private key used by clients to authenticate
495 # to the cluster endpoint.
496 &quot;clusterCaCertificate&quot;: &quot;A String&quot;,
497 &quot;clientCertificate&quot;: &quot;A String&quot;, # [Output only] Base64-encoded public certificate used by clients to
498 # authenticate to the cluster endpoint.
499 &quot;username&quot;: &quot;A String&quot;, # The username to use for HTTP basic authentication to the master endpoint.
500 # For clusters v1.6.0 and later, basic authentication can be disabled by
501 # leaving username unspecified (or setting it to the empty string).
502 },
503 &quot;authenticatorGroupsConfig&quot;: { # Configuration for returning group information from authenticators. # Configuration controlling RBAC group membership information.
Bu Sun Kim65020912020-05-20 12:08:20 -0700504 &quot;securityGroup&quot;: &quot;A String&quot;, # The name of the security group-of-groups to be used. Only relevant
505 # if enabled = true.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700506 &quot;enabled&quot;: True or False, # Whether this cluster should return group membership lookups
507 # during authentication using a group of security groups.
Bu Sun Kim65020912020-05-20 12:08:20 -0700508 },
509 &quot;masterIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP prefix in CIDR notation to use for the hosted master network.
510 # This prefix will be used for assigning private IP addresses to the
511 # master or set of masters, as well as the ILB VIP.
512 # This field is deprecated, use
513 # private_cluster_config.master_ipv4_cidr_block instead.
514 &quot;clusterTelemetry&quot;: { # Telemetry integration for the cluster. # Telemetry integration for the cluster.
515 &quot;type&quot;: &quot;A String&quot;, # Type of the integration.
516 },
517 &quot;currentMasterVersion&quot;: &quot;A String&quot;, # [Output only] The current software version of the master endpoint.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700518 &quot;podSecurityPolicyConfig&quot;: { # Configuration for the PodSecurityPolicy feature. # Configuration for the PodSecurityPolicy feature.
519 &quot;enabled&quot;: True or False, # Enable the PodSecurityPolicy controller for this cluster. If enabled, pods
520 # must be valid under a PodSecurityPolicy to be created.
521 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700522 &quot;addonsConfig&quot;: { # Configuration for the addons that can be automatically spun up in the # Configurations for the various addons available to run in the cluster.
523 # cluster, enabling additional functionality.
Bu Sun Kim65020912020-05-20 12:08:20 -0700524 &quot;httpLoadBalancing&quot;: { # Configuration options for the HTTP (L7) load balancing controller addon, # Configuration for the HTTP (L7) load balancing controller addon, which
525 # makes it easy to set up HTTP load balancers for services in a cluster.
526 # which makes it easy to set up HTTP load balancers for services in a cluster.
527 &quot;disabled&quot;: True or False, # Whether the HTTP Load Balancing controller is enabled in the cluster.
528 # When enabled, it runs a small pod in the cluster that manages the load
529 # balancers.
530 },
531 &quot;kubernetesDashboard&quot;: { # Configuration for the Kubernetes Dashboard. # Configuration for the Kubernetes Dashboard.
532 # This addon is deprecated, and will be disabled in 1.15. It is recommended
533 # to use the Cloud Console to manage and monitor your Kubernetes clusters,
534 # workloads and applications. For more information, see:
535 # https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
536 &quot;disabled&quot;: True or False, # Whether the Kubernetes Dashboard is enabled for this cluster.
537 },
538 &quot;dnsCacheConfig&quot;: { # Configuration for NodeLocal DNSCache # Configuration for NodeLocalDNS, a dns cache running on cluster nodes
539 &quot;enabled&quot;: True or False, # Whether NodeLocal DNSCache is enabled for this cluster.
540 },
541 &quot;kalmConfig&quot;: { # Configuration options for the KALM addon. # Configuration for the KALM addon, which manages the lifecycle of k8s
542 # applications.
543 &quot;enabled&quot;: True or False, # Whether KALM is enabled for this cluster.
544 },
545 &quot;gcePersistentDiskCsiDriverConfig&quot;: { # Configuration for the Compute Engine PD CSI driver. This option can only be # Configuration for the Compute Engine Persistent Disk CSI driver.
546 # enabled at cluster creation time.
547 &quot;enabled&quot;: True or False, # Whether the Compute Engine PD CSI driver is enabled for this cluster.
548 },
549 &quot;istioConfig&quot;: { # Configuration options for Istio addon. # Configuration for Istio, an open platform to connect, manage, and secure
550 # microservices.
Bu Sun Kim65020912020-05-20 12:08:20 -0700551 &quot;auth&quot;: &quot;A String&quot;, # The specified Istio auth mode, either none, or mutual TLS.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700552 &quot;disabled&quot;: True or False, # Whether Istio is enabled for this cluster.
553 },
554 &quot;networkPolicyConfig&quot;: { # Configuration for NetworkPolicy. This only tracks whether the addon # Configuration for NetworkPolicy. This only tracks whether the addon
555 # is enabled or not on the Master, it does not track whether network policy
556 # is enabled for the nodes.
557 # is enabled or not on the Master, it does not track whether network policy
558 # is enabled for the nodes.
559 &quot;disabled&quot;: True or False, # Whether NetworkPolicy is enabled for this cluster.
560 },
561 &quot;cloudRunConfig&quot;: { # Configuration options for the Cloud Run feature. # Configuration for the Cloud Run addon. The `IstioConfig` addon must be
562 # enabled in order to enable Cloud Run addon. This option can only be enabled
563 # at cluster creation time.
564 &quot;disabled&quot;: True or False, # Whether Cloud Run addon is enabled for this cluster.
565 },
566 &quot;configConnectorConfig&quot;: { # Configuration options for the Config Connector add-on. # Configuration for the ConfigConnector add-on, a Kubernetes
567 # extension to manage hosted GCP services through the Kubernetes API
568 &quot;enabled&quot;: True or False, # Whether Cloud Connector is enabled for this cluster.
569 },
570 &quot;horizontalPodAutoscaling&quot;: { # Configuration options for the horizontal pod autoscaling feature, which # Configuration for the horizontal pod autoscaling feature, which
571 # increases or decreases the number of replica pods a replication controller
572 # has based on the resource usage of the existing pods.
573 # increases or decreases the number of replica pods a replication controller
574 # has based on the resource usage of the existing pods.
575 &quot;disabled&quot;: True or False, # Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
576 # When enabled, it ensures that metrics are collected into Stackdriver
577 # Monitoring.
Bu Sun Kim65020912020-05-20 12:08:20 -0700578 },
579 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700580 &quot;subnetwork&quot;: &quot;A String&quot;, # The name of the Google Compute Engine
581 # [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
582 # the cluster is connected. On output this shows the subnetwork ID instead of
583 # the name.
Bu Sun Kim65020912020-05-20 12:08:20 -0700584 &quot;currentNodeVersion&quot;: &quot;A String&quot;, # [Output only] Deprecated, use
585 # [NodePool.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters.nodePools)
586 # instead. The current version of the node software components.
587 # If they are currently at multiple versions because they&#x27;re in the process
588 # of being upgraded, this reflects the minimum version of all nodes.
Bu Sun Kim65020912020-05-20 12:08:20 -0700589 &quot;maintenancePolicy&quot;: { # MaintenancePolicy defines the maintenance policy to be used for the cluster. # Configure the maintenance policy for this cluster.
Bu Sun Kim65020912020-05-20 12:08:20 -0700590 &quot;window&quot;: { # MaintenanceWindow defines the maintenance window to be used for the cluster. # Specifies the maintenance window in which maintenance may be performed.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700591 &quot;maintenanceExclusions&quot;: { # Exceptions to maintenance window. Non-emergency maintenance should not
592 # occur in these windows.
593 &quot;a_key&quot;: { # Represents an arbitrary window of time.
594 &quot;startTime&quot;: &quot;A String&quot;, # The time that the window first starts.
595 &quot;endTime&quot;: &quot;A String&quot;, # The time that the window ends. The end time should take place after the
596 # start time.
597 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700598 },
599 &quot;recurringWindow&quot;: { # Represents an arbitrary window of time that recurs. # RecurringWindow specifies some number of recurring time periods for
Dan O'Mearadd494642020-05-01 07:42:23 -0700600 # maintenance to occur. The time windows may be overlapping. If no
601 # maintenance windows are set, maintenance can occur at any time.
Bu Sun Kim65020912020-05-20 12:08:20 -0700602 &quot;recurrence&quot;: &quot;A String&quot;, # An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
Dan O'Mearadd494642020-05-01 07:42:23 -0700603 # this window reccurs. They go on for the span of time between the start and
604 # end time.
605 #
Bu Sun Kim65020912020-05-20 12:08:20 -0700606 # For example, to have something repeat every weekday, you&#x27;d use:
Dan O'Mearadd494642020-05-01 07:42:23 -0700607 # &lt;code&gt;FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR&lt;/code&gt;
608 # To repeat some window daily (equivalent to the DailyMaintenanceWindow):
609 # &lt;code&gt;FREQ=DAILY&lt;/code&gt;
610 # For the first weekend of every month:
611 # &lt;code&gt;FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU&lt;/code&gt;
612 # This specifies how frequently the window starts. Eg, if you wanted to have
Bu Sun Kim65020912020-05-20 12:08:20 -0700613 # a 9-5 UTC-4 window every weekday, you&#x27;d use something like:
Dan O'Mearadd494642020-05-01 07:42:23 -0700614 # &lt;code&gt;
615 # start time = 2019-01-01T09:00:00-0400
616 # end time = 2019-01-01T17:00:00-0400
617 # recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR
618 # &lt;/code&gt;
619 # Windows can span multiple days. Eg, to make the window encompass every
620 # weekend from midnight Saturday till the last minute of Sunday UTC:
621 # &lt;code&gt;
622 # start time = 2019-01-05T00:00:00Z
623 # end time = 2019-01-07T23:59:00Z
624 # recurrence = FREQ=WEEKLY;BYDAY=SA
625 # &lt;/code&gt;
Bu Sun Kim65020912020-05-20 12:08:20 -0700626 # Note the start and end time&#x27;s specific dates are largely arbitrary except
Dan O'Mearadd494642020-05-01 07:42:23 -0700627 # to specify duration of the window and when it first starts.
628 # The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.
Bu Sun Kim65020912020-05-20 12:08:20 -0700629 &quot;window&quot;: { # Represents an arbitrary window of time. # The window of the first recurrence.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700630 &quot;startTime&quot;: &quot;A String&quot;, # The time that the window first starts.
Bu Sun Kim65020912020-05-20 12:08:20 -0700631 &quot;endTime&quot;: &quot;A String&quot;, # The time that the window ends. The end time should take place after the
Dan O'Mearadd494642020-05-01 07:42:23 -0700632 # start time.
Dan O'Mearadd494642020-05-01 07:42:23 -0700633 },
634 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700635 &quot;dailyMaintenanceWindow&quot;: { # Time window specified for daily maintenance operations. # DailyMaintenanceWindow specifies a daily maintenance operation window.
636 &quot;duration&quot;: &quot;A String&quot;, # [Output only] Duration of the time window, automatically chosen to be
637 # smallest possible in the given scenario.
638 &quot;startTime&quot;: &quot;A String&quot;, # Time within the maintenance window to start the maintenance operations.
639 # It must be in format &quot;HH:MM&quot;, where HH : [00-23] and MM : [00-59] GMT.
Dan O'Mearadd494642020-05-01 07:42:23 -0700640 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700641 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700642 &quot;resourceVersion&quot;: &quot;A String&quot;, # A hash identifying the version of this policy, so that updates to fields of
643 # the policy won&#x27;t accidentally undo intermediate changes (and so that users
644 # of the API unaware of some fields won&#x27;t accidentally remove other fields).
645 # Make a &lt;code&gt;get()&lt;/code&gt; request to the cluster to get the current
646 # resource version and include it with requests to set the policy.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700647 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700648 &quot;resourceLabels&quot;: { # The resource labels for the cluster to use to annotate any related
649 # Google Compute Engine resources.
650 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700651 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700652 &quot;initialClusterVersion&quot;: &quot;A String&quot;, # The initial Kubernetes version for this cluster. Valid versions are those
653 # found in validMasterVersions returned by getServerConfig. The version can
654 # be upgraded over time; such upgrades are reflected in
655 # currentMasterVersion and currentNodeVersion.
Dan O'Mearadd494642020-05-01 07:42:23 -0700656 #
Bu Sun Kim65020912020-05-20 12:08:20 -0700657 # Users may specify either explicit versions offered by
658 # Kubernetes Engine or version aliases, which have the following behavior:
Dan O'Mearadd494642020-05-01 07:42:23 -0700659 #
Bu Sun Kim65020912020-05-20 12:08:20 -0700660 # - &quot;latest&quot;: picks the highest valid Kubernetes version
661 # - &quot;1.X&quot;: picks the highest valid patch+gke.N patch in the 1.X version
662 # - &quot;1.X.Y&quot;: picks the highest valid gke.N patch in the 1.X.Y version
663 # - &quot;1.X.Y-gke.N&quot;: picks an explicit Kubernetes version
664 # - &quot;&quot;,&quot;-&quot;: picks the default Kubernetes version
665 &quot;ipAllocationPolicy&quot;: { # Configuration for controlling how IPs are allocated in the cluster. # Configuration for cluster IP allocation.
666 &quot;useRoutes&quot;: True or False, # Whether routes will be used for pod IPs in the cluster.
667 # This is used in conjunction with use_ip_aliases. It cannot be true if
668 # use_ip_aliases is true. If both use_ip_aliases and use_routes are false,
669 # then the server picks the default IP allocation mode
670 &quot;servicesIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP address range of the services IPs in this cluster. If blank, a range
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700671 # will be automatically chosen with the default size.
672 #
673 # This field is only applicable when `use_ip_aliases` is true.
674 #
675 # Set to blank to have a range chosen with the default size.
676 #
677 # Set to /netmask (e.g. `/14`) to have a range chosen with a specific
678 # netmask.
679 #
680 # Set to a
681 # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
682 # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
683 # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
684 # to use.
Bu Sun Kim65020912020-05-20 12:08:20 -0700685 &quot;allowRouteOverlap&quot;: True or False, # If true, allow allocation of cluster CIDR ranges that overlap with certain
686 # kinds of network routes. By default we do not allow cluster CIDR ranges to
687 # intersect with any user declared routes. With allow_route_overlap == true,
688 # we allow overlapping with CIDR ranges that are larger than the cluster CIDR
689 # range.
690 #
691 # If this field is set to true, then cluster and services CIDRs must be
692 # fully-specified (e.g. `10.96.0.0/14`, but not `/14`), which means:
693 # 1) When `use_ip_aliases` is true, `cluster_ipv4_cidr_block` and
694 # `services_ipv4_cidr_block` must be fully-specified.
695 # 2) When `use_ip_aliases` is false, `cluster.cluster_ipv4_cidr` muse be
696 # fully-specified.
697 &quot;nodeIpv4Cidr&quot;: &quot;A String&quot;, # This field is deprecated, use node_ipv4_cidr_block.
698 &quot;clusterIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP address range for the cluster pod IPs. If this field is set, then
699 # `cluster.cluster_ipv4_cidr` must be left blank.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700700 #
701 # This field is only applicable when `use_ip_aliases` is true.
Bu Sun Kim65020912020-05-20 12:08:20 -0700702 #
703 # Set to blank to have a range chosen with the default size.
704 #
705 # Set to /netmask (e.g. `/14`) to have a range chosen with a specific
706 # netmask.
707 #
708 # Set to a
709 # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
710 # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
711 # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
712 # to use.
713 &quot;clusterSecondaryRangeName&quot;: &quot;A String&quot;, # The name of the secondary range to be used for the cluster CIDR
714 # block. The secondary range will be used for pod IP
715 # addresses. This must be an existing secondary range associated
716 # with the cluster subnetwork.
717 #
718 # This field is only applicable with use_ip_aliases and
719 # create_subnetwork is false.
720 &quot;nodeIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP address range of the instance IPs in this cluster.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700721 #
722 # This is applicable only if `create_subnetwork` is true.
723 #
724 # Set to blank to have a range chosen with the default size.
725 #
726 # Set to /netmask (e.g. `/14`) to have a range chosen with a specific
727 # netmask.
728 #
729 # Set to a
730 # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
731 # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
732 # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
733 # to use.
Bu Sun Kim65020912020-05-20 12:08:20 -0700734 &quot;tpuIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP address range of the Cloud TPUs in this cluster. If unspecified, a
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700735 # range will be automatically chosen with the default size.
736 #
737 # This field is only applicable when `use_ip_aliases` is true.
738 #
739 # If unspecified, the range will use the default size.
740 #
741 # Set to /netmask (e.g. `/14`) to have a range chosen with a specific
742 # netmask.
743 #
744 # Set to a
745 # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
746 # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
747 # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
748 # to use.
Dan O'Mearadd494642020-05-01 07:42:23 -0700749 # This field is deprecated, use cluster.tpu_config.ipv4_cidr_block instead.
Bu Sun Kim65020912020-05-20 12:08:20 -0700750 &quot;servicesSecondaryRangeName&quot;: &quot;A String&quot;, # The name of the secondary range to be used as for the services
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700751 # CIDR block. The secondary range will be used for service
752 # ClusterIPs. This must be an existing secondary range associated
753 # with the cluster subnetwork.
754 #
755 # This field is only applicable with use_ip_aliases and
756 # create_subnetwork is false.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700757 &quot;createSubnetwork&quot;: True or False, # Whether a new subnetwork will be created automatically for the cluster.
758 #
759 # This field is only applicable when `use_ip_aliases` is true.
Bu Sun Kim65020912020-05-20 12:08:20 -0700760 &quot;useIpAliases&quot;: True or False, # Whether alias IPs will be used for pod IPs in the cluster.
761 # This is used in conjunction with use_routes. It cannot
762 # be true if use_routes is true. If both use_ip_aliases and use_routes are
763 # false, then the server picks the default IP allocation mode
Bu Sun Kim65020912020-05-20 12:08:20 -0700764 &quot;subnetworkName&quot;: &quot;A String&quot;, # A custom subnetwork name to be used if `create_subnetwork` is true. If
765 # this field is empty, then an automatic name will be chosen for the new
766 # subnetwork.
767 &quot;clusterIpv4Cidr&quot;: &quot;A String&quot;, # This field is deprecated, use cluster_ipv4_cidr_block.
768 &quot;servicesIpv4Cidr&quot;: &quot;A String&quot;, # This field is deprecated, use services_ipv4_cidr_block.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700769 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700770 &quot;legacyAbac&quot;: { # Configuration for the legacy Attribute Based Access Control authorization # Configuration for the legacy ABAC authorization mode.
771 # mode.
772 &quot;enabled&quot;: True or False, # Whether the ABAC authorizer is enabled for this cluster. When enabled,
773 # identities in the system, including service accounts, nodes, and
774 # controllers, will have statically granted permissions beyond those
775 # provided by the RBAC configuration or IAM.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700776 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700777 &quot;resourceUsageExportConfig&quot;: { # Configuration for exporting cluster resource usages. # Configuration for exporting resource usages. Resource usage export is
778 # disabled when this config unspecified.
779 &quot;enableNetworkEgressMetering&quot;: True or False, # Whether to enable network egress metering for this cluster. If enabled, a
780 # daemonset will be created in the cluster to meter network egress traffic.
781 &quot;consumptionMeteringConfig&quot;: { # Parameters for controlling consumption metering. # Configuration to enable resource consumption metering.
782 &quot;enabled&quot;: True or False, # Whether to enable consumption metering for this cluster. If enabled, a
783 # second BigQuery table will be created to hold resource consumption
784 # records.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700785 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700786 &quot;bigqueryDestination&quot;: { # Parameters for using BigQuery as the destination of resource usage export. # Configuration to use BigQuery as usage export destination.
787 &quot;datasetId&quot;: &quot;A String&quot;, # The ID of a BigQuery Dataset.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700788 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700789 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700790 &quot;enableTpu&quot;: True or False, # Enable the ability to use Cloud TPUs in this cluster.
791 # This field is deprecated, use tpu_config.enabled instead.
Bu Sun Kim65020912020-05-20 12:08:20 -0700792 &quot;nodePools&quot;: [ # The node pools associated with this cluster.
793 # This field should not be set if &quot;node_config&quot; or &quot;initial_node_count&quot; are
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700794 # specified.
Bu Sun Kim65020912020-05-20 12:08:20 -0700795 { # NodePool contains the name and configuration for a cluster&#x27;s node pool.
796 # Node pools are a set of nodes (i.e. VM&#x27;s), with a common configuration and
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700797 # specification, under the control of the cluster master. They may have a set
798 # of Kubernetes labels applied to them, which may be used to reference them
799 # during pod scheduling. They may also be resized up or down, to accommodate
800 # the workload.
Bu Sun Kim65020912020-05-20 12:08:20 -0700801 &quot;status&quot;: &quot;A String&quot;, # [Output only] The status of the nodes in this pool instance.
802 &quot;config&quot;: { # Parameters that describe the nodes in a cluster. # The node configuration of the pool.
Bu Sun Kim65020912020-05-20 12:08:20 -0700803 &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum CPU platform to be used by this instance. The instance may be
804 # scheduled on the specified or newer CPU platform. Applicable values are the
805 # friendly names of CPU platforms, such as
806 # &lt;code&gt;minCpuPlatform: &amp;quot;Intel Haswell&amp;quot;&lt;/code&gt; or
807 # &lt;code&gt;minCpuPlatform: &amp;quot;Intel Sandy Bridge&amp;quot;&lt;/code&gt;. For more
808 # information, read [how to specify min CPU
809 # platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700810 &quot;shieldedInstanceConfig&quot;: { # A set of Shielded Instance options. # Shielded Instance options.
811 &quot;enableIntegrityMonitoring&quot;: True or False, # Defines whether the instance has integrity monitoring enabled.
812 #
813 # Enables monitoring and attestation of the boot integrity of the instance.
814 # The attestation is performed against the integrity policy baseline. This
815 # baseline is initially derived from the implicitly trusted boot image when
816 # the instance is created.
817 &quot;enableSecureBoot&quot;: True or False, # Defines whether the instance has Secure Boot enabled.
818 #
819 # Secure Boot helps ensure that the system only runs authentic software by
820 # verifying the digital signature of all boot components, and halting the
821 # boot process if signature verification fails.
822 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700823 &quot;preemptible&quot;: True or False, # Whether the nodes are created as preemptible VM instances. See:
824 # https://cloud.google.com/compute/docs/instances/preemptible for more
825 # inforamtion about preemptible VM instances.
826 &quot;localSsdCount&quot;: 42, # The number of local SSD disks to be attached to the node.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700827 #
Bu Sun Kim65020912020-05-20 12:08:20 -0700828 # The limit for this value is dependent upon the maximum number of
829 # disks available on a machine per zone. See:
830 # https://cloud.google.com/compute/docs/disks/local-ssd
831 # for more information.
832 &quot;sandboxConfig&quot;: { # SandboxConfig contains configurations of the sandbox to use for the node. # Sandbox configuration for this node.
833 &quot;type&quot;: &quot;A String&quot;, # Type of the sandbox to use for the node.
834 &quot;sandboxType&quot;: &quot;A String&quot;, # Type of the sandbox to use for the node (e.g. &#x27;gvisor&#x27;)
835 },
836 &quot;metadata&quot;: { # The metadata key/value pairs assigned to instances in the cluster.
837 #
838 # Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes
839 # in length. These are reflected as part of a URL in the metadata server.
840 # Additionally, to avoid ambiguity, keys must not conflict with any other
841 # metadata keys for the project or be one of the reserved keys:
842 # &quot;cluster-location&quot;
843 # &quot;cluster-name&quot;
844 # &quot;cluster-uid&quot;
845 # &quot;configure-sh&quot;
846 # &quot;containerd-configure-sh&quot;
847 # &quot;enable-oslogin&quot;
848 # &quot;gci-ensure-gke-docker&quot;
849 # &quot;gci-metrics-enabled&quot;
850 # &quot;gci-update-strategy&quot;
851 # &quot;instance-template&quot;
852 # &quot;kube-env&quot;
853 # &quot;startup-script&quot;
854 # &quot;user-data&quot;
855 # &quot;disable-address-manager&quot;
856 # &quot;windows-startup-script-ps1&quot;
857 # &quot;common-psm1&quot;
858 # &quot;k8s-node-setup-psm1&quot;
859 # &quot;install-ssh-psm1&quot;
860 # &quot;user-profile-psm1&quot;
861 # &quot;serial-port-logging-enable&quot;
862 # Values are free-form strings, and only have meaning as interpreted by
863 # the image running in the instance. The only restriction placed on them is
864 # that each value&#x27;s size must be less than or equal to 32 KB.
865 #
866 # The total size of all keys and values must be less than 512 KB.
867 &quot;a_key&quot;: &quot;A String&quot;,
868 },
869 &quot;reservationAffinity&quot;: { # [ReservationAffinity](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) # The optional reservation affinity. Setting this field will apply
870 # the specified [Zonal Compute
871 # Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources)
872 # to this node pool.
873 # is the configuration of desired reservation which instances could take
874 # capacity from.
875 &quot;key&quot;: &quot;A String&quot;, # Corresponds to the label key of a reservation resource. To target a
876 # SPECIFIC_RESERVATION by name, specify &quot;googleapis.com/reservation-name&quot; as
877 # the key and specify the name of your reservation as its value.
878 &quot;values&quot;: [ # Corresponds to the label value(s) of reservation resource(s).
879 &quot;A String&quot;,
880 ],
881 &quot;consumeReservationType&quot;: &quot;A String&quot;, # Corresponds to the type of reservation consumption.
882 },
883 &quot;tags&quot;: [ # The list of instance tags applied to all nodes. Tags are used to identify
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700884 # valid sources or targets for network firewalls and are specified by
885 # the client during cluster or node pool creation. Each tag within the list
886 # must comply with RFC1035.
Bu Sun Kim65020912020-05-20 12:08:20 -0700887 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700888 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700889 &quot;serviceAccount&quot;: &quot;A String&quot;, # The Google Cloud Platform Service Account to be used by the node VMs.
Dan O'Mearadd494642020-05-01 07:42:23 -0700890 # Specify the email address of the Service Account; otherwise, if no Service
Bu Sun Kim65020912020-05-20 12:08:20 -0700891 # Account is specified, the &quot;default&quot; service account is used.
892 &quot;imageType&quot;: &quot;A String&quot;, # The image type to use for this node. Note that for a given image type,
893 # the latest version of it will be used.
894 &quot;oauthScopes&quot;: [ # The set of Google API scopes to be made available on all of the
895 # node VMs under the &quot;default&quot; service account.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700896 #
897 # The following scopes are recommended, but not required, and by default are
898 # not included:
899 #
900 # * `https://www.googleapis.com/auth/compute` is required for mounting
901 # persistent storage on your nodes.
902 # * `https://www.googleapis.com/auth/devstorage.read_only` is required for
903 # communicating with **gcr.io**
Dan O'Mearadd494642020-05-01 07:42:23 -0700904 # (the [Google Container
905 # Registry](https://cloud.google.com/container-registry/)).
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700906 #
907 # If unspecified, no scopes are added, unless Cloud Logging or Cloud
908 # Monitoring are enabled, in which case their required scopes will be added.
Bu Sun Kim65020912020-05-20 12:08:20 -0700909 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700910 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700911 &quot;taints&quot;: [ # List of kubernetes taints to be applied to each node.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700912 #
913 # For more information, including usage and the valid values, see:
914 # https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
915 { # Kubernetes taint is comprised of three fields: key, value, and effect. Effect
916 # can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.
917 #
Bu Sun Kim65020912020-05-20 12:08:20 -0700918 # See
919 # [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration)
920 # for more information, including usage and the valid values.
Bu Sun Kim65020912020-05-20 12:08:20 -0700921 &quot;effect&quot;: &quot;A String&quot;, # Effect for taint.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700922 &quot;value&quot;: &quot;A String&quot;, # Value for taint.
923 &quot;key&quot;: &quot;A String&quot;, # Key for taint.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700924 },
925 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700926 &quot;labels&quot;: { # The map of Kubernetes labels (key/value pairs) to be applied to each node.
927 # These will added in addition to any default label(s) that
928 # Kubernetes may apply to the node.
929 # In case of conflict in label keys, the applied set may differ depending on
930 # the Kubernetes version -- it&#x27;s best to assume the behavior is undefined
931 # and conflicts should be avoided.
932 # For more information, including usage and the valid values, see:
933 # https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
934 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700935 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700936 &quot;diskSizeGb&quot;: 42, # Size of the disk attached to each node, specified in GB.
937 # The smallest allowed disk size is 10GB.
938 #
939 # If unspecified, the default disk size is 100GB.
940 &quot;workloadMetadataConfig&quot;: { # WorkloadMetadataConfig defines the metadata configuration to expose to # The workload metadata configuration for this node.
941 # workloads on the node pool.
942 &quot;nodeMetadata&quot;: &quot;A String&quot;, # NodeMetadata is the configuration for how to expose metadata to the
943 # workloads running on the node.
944 &quot;mode&quot;: &quot;A String&quot;, # Mode is the configuration for how to expose metadata to workloads running
945 # on the node pool.
946 },
947 &quot;accelerators&quot;: [ # A list of hardware accelerators to be attached to each node.
948 # See https://cloud.google.com/compute/docs/gpus for more information about
949 # support for GPUs.
950 { # AcceleratorConfig represents a Hardware Accelerator request.
951 &quot;acceleratorType&quot;: &quot;A String&quot;, # The accelerator type resource name. List of supported accelerators
952 # [here](https://cloud.google.com/compute/docs/gpus)
953 &quot;acceleratorCount&quot;: &quot;A String&quot;, # The number of the accelerator cards exposed to an instance.
954 },
955 ],
956 &quot;machineType&quot;: &quot;A String&quot;, # The name of a Google Compute Engine [machine
957 # type](https://cloud.google.com/compute/docs/machine-types) (e.g.
958 # `n1-standard-1`).
959 #
960 # If unspecified, the default machine type is
961 # `n1-standard-1`.
962 &quot;diskType&quot;: &quot;A String&quot;, # Type of the disk attached to each node (e.g. &#x27;pd-standard&#x27; or &#x27;pd-ssd&#x27;)
963 #
964 # If unspecified, the default disk type is &#x27;pd-standard&#x27;
965 &quot;bootDiskKmsKey&quot;: &quot;A String&quot;, #
966 # The Customer Managed Encryption Key used to encrypt the boot disk attached
967 # to each node in the node pool. This should be of the form
968 # projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME].
969 # For more information about protecting resources with Cloud KMS Keys please
970 # see:
971 # https://cloud.google.com/compute/docs/disks/customer-managed-encryption
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700972 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700973 &quot;maxPodsConstraint&quot;: { # Constraints applied to pods. # The constraint on the maximum number of pods that can be run
974 # simultaneously on a node in the node pool.
975 &quot;maxPodsPerNode&quot;: &quot;A String&quot;, # Constraint enforced on the max num of pods per node.
976 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700977 &quot;name&quot;: &quot;A String&quot;, # The name of the node pool.
Bu Sun Kim65020912020-05-20 12:08:20 -0700978 &quot;management&quot;: { # NodeManagement defines the set of node management services turned on for the # NodeManagement configuration for this NodePool.
979 # node pool.
Bu Sun Kim65020912020-05-20 12:08:20 -0700980 &quot;autoRepair&quot;: True or False, # Whether the nodes will be automatically repaired.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700981 &quot;autoUpgrade&quot;: True or False, # Whether the nodes will be automatically upgraded.
Bu Sun Kim65020912020-05-20 12:08:20 -0700982 &quot;upgradeOptions&quot;: { # AutoUpgradeOptions defines the set of options for the user to control how # Specifies the Auto Upgrade knobs for the node pool.
983 # the Auto Upgrades will proceed.
984 &quot;description&quot;: &quot;A String&quot;, # [Output only] This field is set when upgrades are about to commence
985 # with the description of the upgrade.
986 &quot;autoUpgradeStartTime&quot;: &quot;A String&quot;, # [Output only] This field is set when upgrades are about to commence
987 # with the approximate start time for the upgrades, in
988 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
989 },
990 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700991 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output only] Additional information about the current status of this
992 # node pool instance, if available.
993 &quot;autoscaling&quot;: { # NodePoolAutoscaling contains information required by cluster autoscaler to # Autoscaler configuration for this NodePool. Autoscaler is enabled
994 # only if a valid configuration is present.
995 # adjust the size of the node pool to the current cluster usage.
996 &quot;maxNodeCount&quot;: 42, # Maximum number of nodes in the NodePool. Must be &gt;= min_node_count. There
997 # has to enough quota to scale up the cluster.
998 &quot;autoprovisioned&quot;: True or False, # Can this node pool be deleted automatically.
999 &quot;minNodeCount&quot;: 42, # Minimum number of nodes in the NodePool. Must be &gt;= 1 and &lt;=
1000 # max_node_count.
1001 &quot;enabled&quot;: True or False, # Is autoscaling enabled for this node pool.
1002 },
1003 &quot;initialNodeCount&quot;: 42, # The initial node count for the pool. You must ensure that your
1004 # Compute Engine &lt;a href=&quot;/compute/docs/resource-quotas&quot;&gt;resource quota&lt;/a&gt;
1005 # is sufficient for this number of instances. You must also have available
1006 # firewall and routes quota.
1007 &quot;locations&quot;: [ # The list of Google Compute Engine
1008 # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
1009 # NodePool&#x27;s nodes should be located.
1010 &quot;A String&quot;,
1011 ],
1012 &quot;upgradeSettings&quot;: { # These upgrade settings control the level of parallelism and the level of # Upgrade settings control disruption and speed of the upgrade.
1013 # disruption caused by an upgrade.
1014 #
1015 # maxUnavailable controls the number of nodes that can be simultaneously
1016 # unavailable.
1017 #
1018 # maxSurge controls the number of additional nodes that can be added to the
1019 # node pool temporarily for the time of the upgrade to increase the number of
1020 # available nodes.
1021 #
1022 # (maxUnavailable + maxSurge) determines the level of parallelism (how many
1023 # nodes are being upgraded at the same time).
1024 #
1025 # Note: upgrades inevitably introduce some disruption since workloads need to
1026 # be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0,
1027 # this holds true. (Disruption stays within the limits of
1028 # PodDisruptionBudget, if it is configured.)
1029 #
1030 # Consider a hypothetical node pool with 5 nodes having maxSurge=2,
1031 # maxUnavailable=1. This means the upgrade process upgrades 3 nodes
1032 # simultaneously. It creates 2 additional (upgraded) nodes, then it brings
1033 # down 3 old (not yet upgraded) nodes at the same time. This ensures that
1034 # there are always at least 4 nodes available.
1035 &quot;maxUnavailable&quot;: 42, # The maximum number of nodes that can be simultaneously unavailable during
1036 # the upgrade process. A node is considered available if its status is
1037 # Ready.
1038 &quot;maxSurge&quot;: 42, # The maximum number of nodes that can be created beyond the current size
1039 # of the node pool during the upgrade process.
1040 },
1041 &quot;selfLink&quot;: &quot;A String&quot;, # [Output only] Server-defined URL for the resource.
1042 &quot;version&quot;: &quot;A String&quot;, # The version of the Kubernetes of this node.
1043 &quot;instanceGroupUrls&quot;: [ # [Output only] The resource URLs of the [managed instance
1044 # groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
1045 # associated with this node pool.
1046 &quot;A String&quot;,
1047 ],
1048 &quot;podIpv4CidrSize&quot;: 42, # [Output only] The pod CIDR block size per node in this node pool.
1049 &quot;conditions&quot;: [ # Which conditions caused the current node pool state.
1050 { # StatusCondition describes why a cluster or a node pool has a certain status
1051 # (e.g., ERROR or DEGRADED).
1052 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
1053 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
1054 },
1055 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001056 },
1057 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001058 &quot;locations&quot;: [ # The list of Google Compute Engine
1059 # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
1060 # cluster&#x27;s nodes should be located.
1061 &quot;A String&quot;,
1062 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001063 &quot;selfLink&quot;: &quot;A String&quot;, # [Output only] Server-defined URL for the resource.
Bu Sun Kim65020912020-05-20 12:08:20 -07001064 &quot;releaseChannel&quot;: { # ReleaseChannel indicates which release channel a cluster is # Release channel configuration.
1065 # subscribed to. Release channels are arranged in order of risk and
1066 # frequency of updates.
1067 #
1068 # When a cluster is subscribed to a release channel, Google maintains
1069 # both the master version and the node version. Node auto-upgrade
1070 # defaults to true and cannot be disabled. Updates to version related
1071 # fields (e.g. current_master_version) return an error.
1072 &quot;channel&quot;: &quot;A String&quot;, # channel specifies which release channel the cluster is subscribed to.
1073 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001074 &quot;networkPolicy&quot;: { # Configuration options for the NetworkPolicy feature. # Configuration options for the NetworkPolicy feature.
1075 # https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
1076 &quot;provider&quot;: &quot;A String&quot;, # The selected network policy provider.
1077 &quot;enabled&quot;: True or False, # Whether network policy is enabled on the cluster.
1078 },
1079 &quot;servicesIpv4Cidr&quot;: &quot;A String&quot;, # [Output only] The IP address range of the Kubernetes services in
1080 # this cluster, in
1081 # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
1082 # notation (e.g. `1.2.3.4/29`). Service addresses are
1083 # typically put in the last `/16` from the container CIDR.
Bu Sun Kim65020912020-05-20 12:08:20 -07001084 &quot;enableKubernetesAlpha&quot;: True or False, # Kubernetes alpha features are enabled on this cluster. This includes alpha
1085 # API groups (e.g. v1beta1) and features that may not be production ready in
1086 # the kubernetes version of the master and nodes.
1087 # The cluster has no SLA for uptime and master/node upgrades are disabled.
1088 # Alpha enabled clusters are automatically deleted thirty days after
1089 # creation.
1090 &quot;description&quot;: &quot;A String&quot;, # An optional description of this cluster.
1091 &quot;conditions&quot;: [ # Which conditions caused the current cluster state.
1092 { # StatusCondition describes why a cluster or a node pool has a certain status
1093 # (e.g., ERROR or DEGRADED).
1094 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
1095 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
1096 },
1097 ],
1098 &quot;privateCluster&quot;: True or False, # If this is a private cluster setup. Private clusters are clusters that, by
1099 # default have no external IP addresses on the nodes and where nodes and the
1100 # master communicate over private IP addresses.
1101 # This field is deprecated, use private_cluster_config.enable_private_nodes
1102 # instead.
1103 &quot;currentNodeCount&quot;: 42, # [Output only] The number of nodes currently in the cluster. Deprecated.
1104 # Call Kubernetes API directly to retrieve node information.
1105 &quot;monitoringService&quot;: &quot;A String&quot;, # The monitoring service the cluster should use to write metrics.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001106 # Currently available options:
1107 #
Bu Sun Kim65020912020-05-20 12:08:20 -07001108 # * &quot;monitoring.googleapis.com/kubernetes&quot; - The Cloud Monitoring
Dan O'Mearadd494642020-05-01 07:42:23 -07001109 # service with a Kubernetes-native resource model
1110 # * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no
1111 # longer available as of GKE 1.15).
1112 # * `none` - No metrics will be exported from the cluster.
1113 #
1114 # If left as an empty string,`monitoring.googleapis.com/kubernetes` will be
1115 # used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
Bu Sun Kim65020912020-05-20 12:08:20 -07001116 &quot;databaseEncryption&quot;: { # Configuration of etcd encryption. # Configuration of etcd encryption.
1117 &quot;state&quot;: &quot;A String&quot;, # Denotes the state of etcd encryption.
1118 &quot;keyName&quot;: &quot;A String&quot;, # Name of CloudKMS key to use for the encryption of secrets in etcd.
Dan O'Mearadd494642020-05-01 07:42:23 -07001119 # Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001120 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001121 &quot;binaryAuthorization&quot;: { # Configuration for Binary Authorization. # Configuration for Binary Authorization.
1122 &quot;enabled&quot;: True or False, # Enable Binary Authorization for this cluster. If enabled, all container
1123 # images will be validated by Google Binauthz.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001124 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001125 &quot;tpuIpv4CidrBlock&quot;: &quot;A String&quot;, # [Output only] The IP address range of the Cloud TPUs in this cluster, in
1126 # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
1127 # notation (e.g. `1.2.3.4/29`).
1128 &quot;workloadIdentityConfig&quot;: { # Configuration for the use of Kubernetes Service Accounts in GCP IAM # Configuration for the use of Kubernetes Service Accounts in GCP IAM
1129 # policies.
1130 # policies.
Bu Sun Kim65020912020-05-20 12:08:20 -07001131 &quot;workloadPool&quot;: &quot;A String&quot;, # The workload pool to attach all Kubernetes service accounts to.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001132 &quot;identityNamespace&quot;: &quot;A String&quot;, # IAM Identity Namespace to attach all Kubernetes Service Accounts to.
Bu Sun Kim65020912020-05-20 12:08:20 -07001133 },
1134 &quot;zone&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine
Dan O'Mearadd494642020-05-01 07:42:23 -07001135 # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
1136 # cluster resides. This field is deprecated, use location instead.
Bu Sun Kim65020912020-05-20 12:08:20 -07001137 &quot;loggingService&quot;: &quot;A String&quot;, # The logging service the cluster should use to write logs.
1138 # Currently available options:
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001139 #
Bu Sun Kim65020912020-05-20 12:08:20 -07001140 # * `logging.googleapis.com/kubernetes` - The Cloud Logging
1141 # service with a Kubernetes-native resource model
1142 # * `logging.googleapis.com` - The legacy Cloud Logging service (no longer
1143 # available as of GKE 1.15).
1144 # * `none` - no logs will be exported from the cluster.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001145 #
Bu Sun Kim65020912020-05-20 12:08:20 -07001146 # If left as an empty string,`logging.googleapis.com/kubernetes` will be
1147 # used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
1148 &quot;expireTime&quot;: &quot;A String&quot;, # [Output only] The time the cluster will be automatically
1149 # deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
1150 &quot;nodeConfig&quot;: { # Parameters that describe the nodes in a cluster. # Parameters used in creating the cluster&#x27;s nodes.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001151 # For requests, this field should only be used in lieu of a
Bu Sun Kim65020912020-05-20 12:08:20 -07001152 # &quot;node_pool&quot; object, since this configuration (along with the
1153 # &quot;initial_node_count&quot;) will be used to create a &quot;NodePool&quot; object with an
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001154 # auto-generated name. Do not use this and a node_pool at the same time.
1155 # For responses, this field will be populated with the node configuration of
1156 # the first node pool. (For configuration of each node pool, see
1157 # `node_pool.config`)
1158 #
1159 # If unspecified, the defaults are used.
1160 # This field is deprecated, use node_pool.config instead.
Bu Sun Kim65020912020-05-20 12:08:20 -07001161 &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum CPU platform to be used by this instance. The instance may be
1162 # scheduled on the specified or newer CPU platform. Applicable values are the
1163 # friendly names of CPU platforms, such as
1164 # &lt;code&gt;minCpuPlatform: &amp;quot;Intel Haswell&amp;quot;&lt;/code&gt; or
1165 # &lt;code&gt;minCpuPlatform: &amp;quot;Intel Sandy Bridge&amp;quot;&lt;/code&gt;. For more
1166 # information, read [how to specify min CPU
1167 # platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001168 &quot;shieldedInstanceConfig&quot;: { # A set of Shielded Instance options. # Shielded Instance options.
1169 &quot;enableIntegrityMonitoring&quot;: True or False, # Defines whether the instance has integrity monitoring enabled.
1170 #
1171 # Enables monitoring and attestation of the boot integrity of the instance.
1172 # The attestation is performed against the integrity policy baseline. This
1173 # baseline is initially derived from the implicitly trusted boot image when
1174 # the instance is created.
1175 &quot;enableSecureBoot&quot;: True or False, # Defines whether the instance has Secure Boot enabled.
1176 #
1177 # Secure Boot helps ensure that the system only runs authentic software by
1178 # verifying the digital signature of all boot components, and halting the
1179 # boot process if signature verification fails.
1180 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001181 &quot;preemptible&quot;: True or False, # Whether the nodes are created as preemptible VM instances. See:
1182 # https://cloud.google.com/compute/docs/instances/preemptible for more
1183 # inforamtion about preemptible VM instances.
1184 &quot;localSsdCount&quot;: 42, # The number of local SSD disks to be attached to the node.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001185 #
Bu Sun Kim65020912020-05-20 12:08:20 -07001186 # The limit for this value is dependent upon the maximum number of
1187 # disks available on a machine per zone. See:
1188 # https://cloud.google.com/compute/docs/disks/local-ssd
1189 # for more information.
1190 &quot;sandboxConfig&quot;: { # SandboxConfig contains configurations of the sandbox to use for the node. # Sandbox configuration for this node.
1191 &quot;type&quot;: &quot;A String&quot;, # Type of the sandbox to use for the node.
1192 &quot;sandboxType&quot;: &quot;A String&quot;, # Type of the sandbox to use for the node (e.g. &#x27;gvisor&#x27;)
1193 },
1194 &quot;metadata&quot;: { # The metadata key/value pairs assigned to instances in the cluster.
1195 #
1196 # Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes
1197 # in length. These are reflected as part of a URL in the metadata server.
1198 # Additionally, to avoid ambiguity, keys must not conflict with any other
1199 # metadata keys for the project or be one of the reserved keys:
1200 # &quot;cluster-location&quot;
1201 # &quot;cluster-name&quot;
1202 # &quot;cluster-uid&quot;
1203 # &quot;configure-sh&quot;
1204 # &quot;containerd-configure-sh&quot;
1205 # &quot;enable-oslogin&quot;
1206 # &quot;gci-ensure-gke-docker&quot;
1207 # &quot;gci-metrics-enabled&quot;
1208 # &quot;gci-update-strategy&quot;
1209 # &quot;instance-template&quot;
1210 # &quot;kube-env&quot;
1211 # &quot;startup-script&quot;
1212 # &quot;user-data&quot;
1213 # &quot;disable-address-manager&quot;
1214 # &quot;windows-startup-script-ps1&quot;
1215 # &quot;common-psm1&quot;
1216 # &quot;k8s-node-setup-psm1&quot;
1217 # &quot;install-ssh-psm1&quot;
1218 # &quot;user-profile-psm1&quot;
1219 # &quot;serial-port-logging-enable&quot;
1220 # Values are free-form strings, and only have meaning as interpreted by
1221 # the image running in the instance. The only restriction placed on them is
1222 # that each value&#x27;s size must be less than or equal to 32 KB.
1223 #
1224 # The total size of all keys and values must be less than 512 KB.
1225 &quot;a_key&quot;: &quot;A String&quot;,
1226 },
1227 &quot;reservationAffinity&quot;: { # [ReservationAffinity](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) # The optional reservation affinity. Setting this field will apply
1228 # the specified [Zonal Compute
1229 # Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources)
1230 # to this node pool.
1231 # is the configuration of desired reservation which instances could take
1232 # capacity from.
1233 &quot;key&quot;: &quot;A String&quot;, # Corresponds to the label key of a reservation resource. To target a
1234 # SPECIFIC_RESERVATION by name, specify &quot;googleapis.com/reservation-name&quot; as
1235 # the key and specify the name of your reservation as its value.
1236 &quot;values&quot;: [ # Corresponds to the label value(s) of reservation resource(s).
1237 &quot;A String&quot;,
1238 ],
1239 &quot;consumeReservationType&quot;: &quot;A String&quot;, # Corresponds to the type of reservation consumption.
1240 },
1241 &quot;tags&quot;: [ # The list of instance tags applied to all nodes. Tags are used to identify
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001242 # valid sources or targets for network firewalls and are specified by
1243 # the client during cluster or node pool creation. Each tag within the list
1244 # must comply with RFC1035.
Bu Sun Kim65020912020-05-20 12:08:20 -07001245 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001246 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001247 &quot;serviceAccount&quot;: &quot;A String&quot;, # The Google Cloud Platform Service Account to be used by the node VMs.
Dan O'Mearadd494642020-05-01 07:42:23 -07001248 # Specify the email address of the Service Account; otherwise, if no Service
Bu Sun Kim65020912020-05-20 12:08:20 -07001249 # Account is specified, the &quot;default&quot; service account is used.
1250 &quot;imageType&quot;: &quot;A String&quot;, # The image type to use for this node. Note that for a given image type,
1251 # the latest version of it will be used.
1252 &quot;oauthScopes&quot;: [ # The set of Google API scopes to be made available on all of the
1253 # node VMs under the &quot;default&quot; service account.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001254 #
1255 # The following scopes are recommended, but not required, and by default are
1256 # not included:
1257 #
1258 # * `https://www.googleapis.com/auth/compute` is required for mounting
1259 # persistent storage on your nodes.
1260 # * `https://www.googleapis.com/auth/devstorage.read_only` is required for
1261 # communicating with **gcr.io**
Dan O'Mearadd494642020-05-01 07:42:23 -07001262 # (the [Google Container
1263 # Registry](https://cloud.google.com/container-registry/)).
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001264 #
1265 # If unspecified, no scopes are added, unless Cloud Logging or Cloud
1266 # Monitoring are enabled, in which case their required scopes will be added.
Bu Sun Kim65020912020-05-20 12:08:20 -07001267 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001268 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001269 &quot;taints&quot;: [ # List of kubernetes taints to be applied to each node.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001270 #
1271 # For more information, including usage and the valid values, see:
1272 # https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
1273 { # Kubernetes taint is comprised of three fields: key, value, and effect. Effect
1274 # can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.
1275 #
Bu Sun Kim65020912020-05-20 12:08:20 -07001276 # See
1277 # [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration)
1278 # for more information, including usage and the valid values.
Bu Sun Kim65020912020-05-20 12:08:20 -07001279 &quot;effect&quot;: &quot;A String&quot;, # Effect for taint.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001280 &quot;value&quot;: &quot;A String&quot;, # Value for taint.
1281 &quot;key&quot;: &quot;A String&quot;, # Key for taint.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001282 },
1283 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001284 &quot;labels&quot;: { # The map of Kubernetes labels (key/value pairs) to be applied to each node.
1285 # These will added in addition to any default label(s) that
1286 # Kubernetes may apply to the node.
1287 # In case of conflict in label keys, the applied set may differ depending on
1288 # the Kubernetes version -- it&#x27;s best to assume the behavior is undefined
1289 # and conflicts should be avoided.
1290 # For more information, including usage and the valid values, see:
1291 # https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
1292 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001293 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001294 &quot;diskSizeGb&quot;: 42, # Size of the disk attached to each node, specified in GB.
1295 # The smallest allowed disk size is 10GB.
1296 #
1297 # If unspecified, the default disk size is 100GB.
1298 &quot;workloadMetadataConfig&quot;: { # WorkloadMetadataConfig defines the metadata configuration to expose to # The workload metadata configuration for this node.
1299 # workloads on the node pool.
1300 &quot;nodeMetadata&quot;: &quot;A String&quot;, # NodeMetadata is the configuration for how to expose metadata to the
1301 # workloads running on the node.
1302 &quot;mode&quot;: &quot;A String&quot;, # Mode is the configuration for how to expose metadata to workloads running
1303 # on the node pool.
1304 },
1305 &quot;accelerators&quot;: [ # A list of hardware accelerators to be attached to each node.
1306 # See https://cloud.google.com/compute/docs/gpus for more information about
1307 # support for GPUs.
1308 { # AcceleratorConfig represents a Hardware Accelerator request.
1309 &quot;acceleratorType&quot;: &quot;A String&quot;, # The accelerator type resource name. List of supported accelerators
1310 # [here](https://cloud.google.com/compute/docs/gpus)
1311 &quot;acceleratorCount&quot;: &quot;A String&quot;, # The number of the accelerator cards exposed to an instance.
1312 },
1313 ],
1314 &quot;machineType&quot;: &quot;A String&quot;, # The name of a Google Compute Engine [machine
1315 # type](https://cloud.google.com/compute/docs/machine-types) (e.g.
1316 # `n1-standard-1`).
1317 #
1318 # If unspecified, the default machine type is
1319 # `n1-standard-1`.
1320 &quot;diskType&quot;: &quot;A String&quot;, # Type of the disk attached to each node (e.g. &#x27;pd-standard&#x27; or &#x27;pd-ssd&#x27;)
1321 #
1322 # If unspecified, the default disk type is &#x27;pd-standard&#x27;
1323 &quot;bootDiskKmsKey&quot;: &quot;A String&quot;, #
1324 # The Customer Managed Encryption Key used to encrypt the boot disk attached
1325 # to each node in the node pool. This should be of the form
1326 # projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME].
1327 # For more information about protecting resources with Cloud KMS Keys please
1328 # see:
1329 # https://cloud.google.com/compute/docs/disks/customer-managed-encryption
1330 },
1331 &quot;tpuConfig&quot;: { # Configuration for Cloud TPU. # Configuration for Cloud TPU support;
1332 &quot;useServiceNetworking&quot;: True or False, # Whether to use service networking for Cloud TPU or not.
1333 &quot;ipv4CidrBlock&quot;: &quot;A String&quot;, # IPv4 CIDR block reserved for Cloud TPU in the VPC.
1334 &quot;enabled&quot;: True or False, # Whether Cloud TPU integration is enabled or not.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001335 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001336 &quot;status&quot;: &quot;A String&quot;, # [Output only] The current status of this cluster.
Bu Sun Kim65020912020-05-20 12:08:20 -07001337 &quot;networkConfig&quot;: { # NetworkConfig reports the relative names of network &amp; subnetwork. # Configuration for cluster networking.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001338 &quot;enableIntraNodeVisibility&quot;: True or False, # Whether Intra-node visibility is enabled for this cluster.
1339 # This makes same node pod to pod traffic visible for VPC network.
Bu Sun Kim65020912020-05-20 12:08:20 -07001340 &quot;subnetwork&quot;: &quot;A String&quot;, # Output only. The relative name of the Google Compute Engine
1341 # [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
1342 # cluster is connected. Example:
1343 # projects/my-project/regions/us-central1/subnetworks/my-subnet
1344 &quot;network&quot;: &quot;A String&quot;, # Output only. The relative name of the Google Compute Engine
1345 # network(https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
1346 # to which the cluster is connected. Example:
1347 # projects/my-project/global/networks/my-network
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001348 &quot;defaultSnatStatus&quot;: { # DefaultSnatStatus contains the desired state of whether default sNAT should # Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
1349 # will be disabled when default_snat_status is disabled. When disabled is set
1350 # to false, default IP masquerade rules will be applied to the nodes to
1351 # prevent sNAT on cluster internal traffic.
1352 # be disabled on the cluster.
1353 &quot;disabled&quot;: True or False, # Disables cluster default sNAT rules.
1354 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001355 },
1356 &quot;name&quot;: &quot;A String&quot;, # The name of this cluster. The name must be unique within this project
1357 # and location (e.g. zone or region), and can be up to 40 characters with
1358 # the following restrictions:
1359 #
1360 # * Lowercase letters, numbers, and hyphens only.
1361 # * Must start with a letter.
1362 # * Must end with a number or a letter.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001363 &quot;location&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine
1364 # [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
1365 # or
1366 # [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
1367 # in which the cluster resides.
Bu Sun Kim65020912020-05-20 12:08:20 -07001368 &quot;endpoint&quot;: &quot;A String&quot;, # [Output only] The IP address of this cluster&#x27;s master endpoint.
1369 # The endpoint can be accessed from the internet at
1370 # `https://username:password@endpoint/`.
1371 #
1372 # See the `masterAuth` property of this resource for username and
1373 # password information.
Bu Sun Kim65020912020-05-20 12:08:20 -07001374 &quot;createTime&quot;: &quot;A String&quot;, # [Output only] The time the cluster was created, in
1375 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
1376 &quot;clusterIpv4Cidr&quot;: &quot;A String&quot;, # The IP address range of the container pods in this cluster, in
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001377 # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
1378 # notation (e.g. `10.96.0.0/14`). Leave blank to have
1379 # one automatically chosen or specify a `/14` block in `10.0.0.0/8`.
Bu Sun Kim65020912020-05-20 12:08:20 -07001380 &quot;autoscaling&quot;: { # ClusterAutoscaling contains global, per-cluster information # Cluster-level autoscaling configuration.
1381 # required by Cluster Autoscaler to automatically adjust
1382 # the size of the cluster and create/delete
1383 # node pools based on the current needs.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001384 &quot;autoprovisioningLocations&quot;: [ # The list of Google Compute Engine
1385 # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
1386 # NodePool&#x27;s nodes can be created by NAP.
1387 &quot;A String&quot;,
1388 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001389 &quot;resourceLimits&quot;: [ # Contains global constraints regarding minimum and maximum
1390 # amount of resources in the cluster.
1391 { # Contains information about amount of some resource in the cluster.
1392 # For memory, value should be in GB.
1393 &quot;maximum&quot;: &quot;A String&quot;, # Maximum amount of the resource in the cluster.
1394 &quot;resourceType&quot;: &quot;A String&quot;, # Resource name &quot;cpu&quot;, &quot;memory&quot; or gpu-specific string.
1395 &quot;minimum&quot;: &quot;A String&quot;, # Minimum amount of the resource in the cluster.
1396 },
1397 ],
1398 &quot;autoscalingProfile&quot;: &quot;A String&quot;, # Defines autoscaling behaviour.
1399 &quot;enableNodeAutoprovisioning&quot;: True or False, # Enables automatic node pool creation and deletion.
1400 &quot;autoprovisioningNodePoolDefaults&quot;: { # AutoprovisioningNodePoolDefaults contains defaults for a node pool created # AutoprovisioningNodePoolDefaults contains defaults for a node pool
1401 # created by NAP.
1402 # by NAP.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001403 &quot;serviceAccount&quot;: &quot;A String&quot;, # The Google Cloud Platform Service Account to be used by the node VMs. If
1404 # service_account is specified, scopes should be empty.
1405 &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum CPU platform to be used for NAP created node pools.
1406 # The instance may be scheduled on the specified or newer CPU platform.
1407 # Applicable values are the friendly names of CPU platforms, such as
1408 # &lt;code&gt;minCpuPlatform: &amp;quot;Intel Haswell&amp;quot;&lt;/code&gt; or
1409 # &lt;code&gt;minCpuPlatform: &amp;quot;Intel Sandy Bridge&amp;quot;&lt;/code&gt;. For more
1410 # information, read [how to specify min CPU
1411 # platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
1412 # To unset the min cpu platform field pass &quot;automatic&quot; as field value.
Bu Sun Kim65020912020-05-20 12:08:20 -07001413 &quot;management&quot;: { # NodeManagement defines the set of node management services turned on for the # Specifies the node management options for NAP created node-pools.
1414 # node pool.
Bu Sun Kim65020912020-05-20 12:08:20 -07001415 &quot;autoRepair&quot;: True or False, # Whether the nodes will be automatically repaired.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001416 &quot;autoUpgrade&quot;: True or False, # Whether the nodes will be automatically upgraded.
Bu Sun Kim65020912020-05-20 12:08:20 -07001417 &quot;upgradeOptions&quot;: { # AutoUpgradeOptions defines the set of options for the user to control how # Specifies the Auto Upgrade knobs for the node pool.
1418 # the Auto Upgrades will proceed.
1419 &quot;description&quot;: &quot;A String&quot;, # [Output only] This field is set when upgrades are about to commence
1420 # with the description of the upgrade.
1421 &quot;autoUpgradeStartTime&quot;: &quot;A String&quot;, # [Output only] This field is set when upgrades are about to commence
1422 # with the approximate start time for the upgrades, in
1423 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
1424 },
1425 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001426 &quot;oauthScopes&quot;: [ # Scopes that are used by NAP when creating node pools. If oauth_scopes are
1427 # specified, service_account should be empty.
1428 &quot;A String&quot;,
1429 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001430 &quot;upgradeSettings&quot;: { # These upgrade settings control the level of parallelism and the level of # Specifies the upgrade settings for NAP created node pools
1431 # disruption caused by an upgrade.
1432 #
1433 # maxUnavailable controls the number of nodes that can be simultaneously
1434 # unavailable.
1435 #
1436 # maxSurge controls the number of additional nodes that can be added to the
1437 # node pool temporarily for the time of the upgrade to increase the number of
1438 # available nodes.
1439 #
1440 # (maxUnavailable + maxSurge) determines the level of parallelism (how many
1441 # nodes are being upgraded at the same time).
1442 #
1443 # Note: upgrades inevitably introduce some disruption since workloads need to
1444 # be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0,
1445 # this holds true. (Disruption stays within the limits of
1446 # PodDisruptionBudget, if it is configured.)
1447 #
1448 # Consider a hypothetical node pool with 5 nodes having maxSurge=2,
1449 # maxUnavailable=1. This means the upgrade process upgrades 3 nodes
1450 # simultaneously. It creates 2 additional (upgraded) nodes, then it brings
1451 # down 3 old (not yet upgraded) nodes at the same time. This ensures that
1452 # there are always at least 4 nodes available.
Bu Sun Kim65020912020-05-20 12:08:20 -07001453 &quot;maxUnavailable&quot;: 42, # The maximum number of nodes that can be simultaneously unavailable during
1454 # the upgrade process. A node is considered available if its status is
1455 # Ready.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001456 &quot;maxSurge&quot;: 42, # The maximum number of nodes that can be created beyond the current size
1457 # of the node pool during the upgrade process.
Bu Sun Kim65020912020-05-20 12:08:20 -07001458 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001459 },
Dan O'Mearadd494642020-05-01 07:42:23 -07001460 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001461 &quot;initialNodeCount&quot;: 42, # The number of nodes to create in this cluster. You must ensure that your
1462 # Compute Engine &lt;a href=&quot;/compute/docs/resource-quotas&quot;&gt;resource quota&lt;/a&gt;
Dan O'Mearadd494642020-05-01 07:42:23 -07001463 # is sufficient for this number of instances. You must also have available
1464 # firewall and routes quota.
1465 # For requests, this field should only be used in lieu of a
Bu Sun Kim65020912020-05-20 12:08:20 -07001466 # &quot;node_pool&quot; object, since this configuration (along with the
1467 # &quot;node_config&quot;) will be used to create a &quot;NodePool&quot; object with an
Dan O'Mearadd494642020-05-01 07:42:23 -07001468 # auto-generated name. Do not use this and a node_pool at the same time.
1469 #
1470 # This field is deprecated, use node_pool.initial_node_count instead.
Bu Sun Kim65020912020-05-20 12:08:20 -07001471 &quot;instanceGroupUrls&quot;: [ # Deprecated. Use node_pools.instance_group_urls.
1472 &quot;A String&quot;,
1473 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001474 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001475 &quot;projectId&quot;: &quot;A String&quot;, # Required. Deprecated. The Google Developers Console [project ID or project
1476 # number](https://support.google.com/cloud/answer/6158840).
1477 # This field has been deprecated and replaced by the parent field.
Bu Sun Kim65020912020-05-20 12:08:20 -07001478 &quot;zone&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the Google Compute Engine
1479 # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
1480 # cluster resides. This field has been deprecated and replaced by the parent
1481 # field.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001482 }
1483
1484 x__xgafv: string, V1 error format.
1485 Allowed values
1486 1 - v1 error format
1487 2 - v2 error format
1488
1489Returns:
1490 An object of the form:
1491
1492 { # This operation resource represents operations that may have happened or are
1493 # happening on the cluster. All fields are output only.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001494 &quot;targetLink&quot;: &quot;A String&quot;, # Server-defined URL for the target of the operation.
1495 &quot;detail&quot;: &quot;A String&quot;, # Detailed operation progress, if available.
1496 &quot;operationType&quot;: &quot;A String&quot;, # The operation type.
1497 &quot;status&quot;: &quot;A String&quot;, # The current status of the operation.
1498 &quot;name&quot;: &quot;A String&quot;, # The server-assigned ID for the operation.
Bu Sun Kim65020912020-05-20 12:08:20 -07001499 &quot;nodepoolConditions&quot;: [ # Which conditions caused the current node pool state.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001500 { # StatusCondition describes why a cluster or a node pool has a certain status
1501 # (e.g., ERROR or DEGRADED).
Bu Sun Kim65020912020-05-20 12:08:20 -07001502 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
1503 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001504 },
1505 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001506 &quot;endTime&quot;: &quot;A String&quot;, # [Output only] The time the operation completed, in
1507 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
Bu Sun Kim65020912020-05-20 12:08:20 -07001508 &quot;location&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine
Dan O'Mearadd494642020-05-01 07:42:23 -07001509 # [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
1510 # or
1511 # [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
1512 # in which the cluster resides.
Bu Sun Kim65020912020-05-20 12:08:20 -07001513 &quot;startTime&quot;: &quot;A String&quot;, # [Output only] The time the operation started, in
1514 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
1515 &quot;clusterConditions&quot;: [ # Which conditions caused the current cluster state.
1516 { # StatusCondition describes why a cluster or a node pool has a certain status
1517 # (e.g., ERROR or DEGRADED).
1518 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
1519 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
1520 },
1521 ],
1522 &quot;progress&quot;: { # Information about operation (or operation stage) progress. # Output only. [Output only] Progress information for an operation.
Bu Sun Kim65020912020-05-20 12:08:20 -07001523 &quot;metrics&quot;: [ # Progress metric bundle, for example:
1524 # metrics: [{name: &quot;nodes done&quot;, int_value: 15},
1525 # {name: &quot;nodes total&quot;, int_value: 32}]
1526 # or
1527 # metrics: [{name: &quot;progress&quot;, double_value: 0.56},
1528 # {name: &quot;progress scale&quot;, double_value: 1.0}]
1529 { # Progress metric is (string, int|float|string) pair.
1530 &quot;name&quot;: &quot;A String&quot;, # Required. Metric name, e.g., &quot;nodes total&quot;, &quot;percent done&quot;.
1531 &quot;doubleValue&quot;: 3.14, # For metrics with floating point value.
1532 &quot;intValue&quot;: &quot;A String&quot;, # For metrics with integer value.
1533 &quot;stringValue&quot;: &quot;A String&quot;, # For metrics with custom values (ratios, visual progress, etc.).
1534 },
1535 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001536 &quot;status&quot;: &quot;A String&quot;, # Status of an operation stage.
1537 # Unset for single-stage operations.
Bu Sun Kim65020912020-05-20 12:08:20 -07001538 &quot;name&quot;: &quot;A String&quot;, # A non-parameterized string describing an operation stage.
1539 # Unset for single-stage operations.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001540 &quot;stages&quot;: [ # Substages of an operation or a stage.
1541 # Object with schema name: OperationProgress
1542 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001543 },
1544 &quot;zone&quot;: &quot;A String&quot;, # The name of the Google Compute Engine
1545 # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
1546 # operation is taking place. This field is deprecated, use location instead.
1547 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. If an error has occurred, a textual description of the error.
1548 &quot;selfLink&quot;: &quot;A String&quot;, # Server-defined URL for the resource.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001549 }</pre>
1550</div>
1551
1552<div class="method">
1553 <code class="details" id="delete">delete(projectId, zone, clusterId, name=None, x__xgafv=None)</code>
1554 <pre>Deletes the cluster, including the Kubernetes endpoint and all worker
1555nodes.
1556
1557Firewalls and routes that were configured during cluster creation
1558are also deleted.
1559
1560Other Google Compute Engine resources that might be in use by the cluster,
Bu Sun Kim65020912020-05-20 12:08:20 -07001561such as load balancer resources, are not deleted if they weren&#x27;t present
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001562when the cluster was initially created.
1563
1564Args:
Dan O'Mearadd494642020-05-01 07:42:23 -07001565 projectId: string, Required. Deprecated. The Google Developers Console [project ID or project
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001566number](https://support.google.com/cloud/answer/6158840).
1567This field has been deprecated and replaced by the name field. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07001568 zone: string, Required. Deprecated. The name of the Google Compute Engine
1569[zone](https://cloud.google.com/compute/docs/zones#available) in which the
1570cluster resides. This field has been deprecated and replaced by the name
1571field. (required)
1572 clusterId: string, Required. Deprecated. The name of the cluster to delete.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001573This field has been deprecated and replaced by the name field. (required)
1574 name: string, The name (project, location, cluster) of the cluster to delete.
Bu Sun Kim65020912020-05-20 12:08:20 -07001575Specified in the format `projects/*/locations/*/clusters/*`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001576 x__xgafv: string, V1 error format.
1577 Allowed values
1578 1 - v1 error format
1579 2 - v2 error format
1580
1581Returns:
1582 An object of the form:
1583
1584 { # This operation resource represents operations that may have happened or are
1585 # happening on the cluster. All fields are output only.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001586 &quot;targetLink&quot;: &quot;A String&quot;, # Server-defined URL for the target of the operation.
1587 &quot;detail&quot;: &quot;A String&quot;, # Detailed operation progress, if available.
1588 &quot;operationType&quot;: &quot;A String&quot;, # The operation type.
1589 &quot;status&quot;: &quot;A String&quot;, # The current status of the operation.
1590 &quot;name&quot;: &quot;A String&quot;, # The server-assigned ID for the operation.
Bu Sun Kim65020912020-05-20 12:08:20 -07001591 &quot;nodepoolConditions&quot;: [ # Which conditions caused the current node pool state.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001592 { # StatusCondition describes why a cluster or a node pool has a certain status
1593 # (e.g., ERROR or DEGRADED).
Bu Sun Kim65020912020-05-20 12:08:20 -07001594 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
1595 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001596 },
1597 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001598 &quot;endTime&quot;: &quot;A String&quot;, # [Output only] The time the operation completed, in
1599 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
Bu Sun Kim65020912020-05-20 12:08:20 -07001600 &quot;location&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine
Dan O'Mearadd494642020-05-01 07:42:23 -07001601 # [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
1602 # or
1603 # [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
1604 # in which the cluster resides.
Bu Sun Kim65020912020-05-20 12:08:20 -07001605 &quot;startTime&quot;: &quot;A String&quot;, # [Output only] The time the operation started, in
1606 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
1607 &quot;clusterConditions&quot;: [ # Which conditions caused the current cluster state.
1608 { # StatusCondition describes why a cluster or a node pool has a certain status
1609 # (e.g., ERROR or DEGRADED).
1610 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
1611 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
1612 },
1613 ],
1614 &quot;progress&quot;: { # Information about operation (or operation stage) progress. # Output only. [Output only] Progress information for an operation.
Bu Sun Kim65020912020-05-20 12:08:20 -07001615 &quot;metrics&quot;: [ # Progress metric bundle, for example:
1616 # metrics: [{name: &quot;nodes done&quot;, int_value: 15},
1617 # {name: &quot;nodes total&quot;, int_value: 32}]
1618 # or
1619 # metrics: [{name: &quot;progress&quot;, double_value: 0.56},
1620 # {name: &quot;progress scale&quot;, double_value: 1.0}]
1621 { # Progress metric is (string, int|float|string) pair.
1622 &quot;name&quot;: &quot;A String&quot;, # Required. Metric name, e.g., &quot;nodes total&quot;, &quot;percent done&quot;.
1623 &quot;doubleValue&quot;: 3.14, # For metrics with floating point value.
1624 &quot;intValue&quot;: &quot;A String&quot;, # For metrics with integer value.
1625 &quot;stringValue&quot;: &quot;A String&quot;, # For metrics with custom values (ratios, visual progress, etc.).
1626 },
1627 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001628 &quot;status&quot;: &quot;A String&quot;, # Status of an operation stage.
1629 # Unset for single-stage operations.
Bu Sun Kim65020912020-05-20 12:08:20 -07001630 &quot;name&quot;: &quot;A String&quot;, # A non-parameterized string describing an operation stage.
1631 # Unset for single-stage operations.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001632 &quot;stages&quot;: [ # Substages of an operation or a stage.
1633 # Object with schema name: OperationProgress
1634 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001635 },
1636 &quot;zone&quot;: &quot;A String&quot;, # The name of the Google Compute Engine
1637 # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
1638 # operation is taking place. This field is deprecated, use location instead.
1639 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. If an error has occurred, a textual description of the error.
1640 &quot;selfLink&quot;: &quot;A String&quot;, # Server-defined URL for the resource.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001641 }</pre>
1642</div>
1643
1644<div class="method">
1645 <code class="details" id="get">get(projectId, zone, clusterId, name=None, x__xgafv=None)</code>
1646 <pre>Gets the details for a specific cluster.
1647
1648Args:
Dan O'Mearadd494642020-05-01 07:42:23 -07001649 projectId: string, Required. Deprecated. The Google Developers Console [project ID or project
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001650number](https://support.google.com/cloud/answer/6158840).
1651This field has been deprecated and replaced by the name field. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07001652 zone: string, Required. Deprecated. The name of the Google Compute Engine
1653[zone](https://cloud.google.com/compute/docs/zones#available) in which the
1654cluster resides. This field has been deprecated and replaced by the name
1655field. (required)
1656 clusterId: string, Required. Deprecated. The name of the cluster to retrieve.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001657This field has been deprecated and replaced by the name field. (required)
1658 name: string, The name (project, location, cluster) of the cluster to retrieve.
Bu Sun Kim65020912020-05-20 12:08:20 -07001659Specified in the format `projects/*/locations/*/clusters/*`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001660 x__xgafv: string, V1 error format.
1661 Allowed values
1662 1 - v1 error format
1663 2 - v2 error format
1664
1665Returns:
1666 An object of the form:
1667
1668 { # A Google Kubernetes Engine cluster.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001669 &quot;privateClusterConfig&quot;: { # Configuration options for private clusters. # Configuration for private cluster.
1670 &quot;masterIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP range in CIDR notation to use for the hosted master network. This
1671 # range will be used for assigning internal IP addresses to the master or
1672 # set of masters, as well as the ILB VIP. This range must not overlap with
1673 # any other ranges in use within the cluster&#x27;s network.
1674 &quot;enablePrivateNodes&quot;: True or False, # Whether nodes have internal IP addresses only. If enabled, all nodes are
1675 # given only RFC 1918 private addresses and communicate with the master via
1676 # private networking.
1677 &quot;privateEndpoint&quot;: &quot;A String&quot;, # Output only. The internal IP address of this cluster&#x27;s master endpoint.
1678 &quot;enablePrivateEndpoint&quot;: True or False, # Whether the master&#x27;s internal IP address is used as the cluster endpoint.
1679 &quot;peeringName&quot;: &quot;A String&quot;, # Output only. The peering name in the customer VPC used by this cluster.
1680 &quot;masterGlobalAccessConfig&quot;: { # Configuration for controlling master global access settings. # Controls master global access settings.
1681 &quot;enabled&quot;: True or False, # Whenever master is accessible globally or not.
1682 },
1683 &quot;publicEndpoint&quot;: &quot;A String&quot;, # Output only. The external IP address of this cluster&#x27;s master endpoint.
1684 },
1685 &quot;shieldedNodes&quot;: { # Configuration of Shielded Nodes feature. # Shielded Nodes configuration.
1686 &quot;enabled&quot;: True or False, # Whether Shielded Nodes features are enabled on all nodes in this cluster.
1687 },
1688 &quot;verticalPodAutoscaling&quot;: { # VerticalPodAutoscaling contains global, per-cluster information # Cluster-level Vertical Pod Autoscaling configuration.
1689 # required by Vertical Pod Autoscaler to automatically adjust
1690 # the resources of pods controlled by it.
1691 &quot;enabled&quot;: True or False, # Enables vertical pod autoscaling.
1692 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001693 &quot;defaultMaxPodsConstraint&quot;: { # Constraints applied to pods. # The default constraint on the maximum number of pods that can be run
1694 # simultaneously on a node in the node pool of this cluster. Only honored
1695 # if cluster created with IP Alias support.
1696 &quot;maxPodsPerNode&quot;: &quot;A String&quot;, # Constraint enforced on the max num of pods per node.
1697 },
1698 &quot;network&quot;: &quot;A String&quot;, # The name of the Google Compute Engine
1699 # [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
1700 # to which the cluster is connected. If left unspecified, the `default`
1701 # network will be used. On output this shows the network ID instead of the
1702 # name.
1703 &quot;labelFingerprint&quot;: &quot;A String&quot;, # The fingerprint of the set of labels for this cluster.
1704 &quot;nodeIpv4CidrSize&quot;: 42, # [Output only] The size of the address space on each node for hosting
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001705 # containers. This is provisioned from within the `container_ipv4_cidr`
1706 # range. This field will only be set when cluster is in route-based network
1707 # mode.
Bu Sun Kim65020912020-05-20 12:08:20 -07001708 &quot;masterAuthorizedNetworksConfig&quot;: { # Configuration options for the master authorized networks feature. Enabled # The configuration options for master authorized networks feature.
1709 # master authorized networks will disallow all external traffic to access
1710 # Kubernetes master through HTTPS except traffic from the given CIDR blocks,
1711 # Google Compute Engine Public IPs and Google Prod IPs.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001712 &quot;enabled&quot;: True or False, # Whether or not master authorized networks is enabled.
Bu Sun Kim65020912020-05-20 12:08:20 -07001713 &quot;cidrBlocks&quot;: [ # cidr_blocks define up to 10 external networks that could access
1714 # Kubernetes master through HTTPS.
1715 { # CidrBlock contains an optional name and one CIDR block.
Bu Sun Kim65020912020-05-20 12:08:20 -07001716 &quot;cidrBlock&quot;: &quot;A String&quot;, # cidr_block must be specified in CIDR notation.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001717 &quot;displayName&quot;: &quot;A String&quot;, # display_name is an optional field for users to identify CIDR blocks.
Bu Sun Kim65020912020-05-20 12:08:20 -07001718 },
1719 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001720 },
1721 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output only] Additional information about the current status of this
1722 # cluster, if available.
1723 &quot;masterAuth&quot;: { # The authentication information for accessing the master endpoint. # The authentication information for accessing the master endpoint.
1724 # If unspecified, the defaults are used:
1725 # For clusters before v1.12, if master_auth is unspecified, `username` will
1726 # be set to &quot;admin&quot;, a random password will be generated, and a client
1727 # certificate will be issued.
1728 # Authentication can be done using HTTP basic auth or using client
1729 # certificates.
1730 &quot;password&quot;: &quot;A String&quot;, # The password to use for HTTP basic authentication to the master endpoint.
1731 # Because the master endpoint is open to the Internet, you should create a
1732 # strong password. If a password is provided for cluster creation, username
1733 # must be non-empty.
1734 &quot;clientCertificateConfig&quot;: { # Configuration for client certificates on the cluster. # Configuration for client certificate authentication on the cluster. For
1735 # clusters before v1.12, if no configuration is specified, a client
1736 # certificate is issued.
1737 &quot;issueClientCertificate&quot;: True or False, # Issue a client certificate.
1738 },
1739 &quot;clientKey&quot;: &quot;A String&quot;, # [Output only] Base64-encoded private key used by clients to authenticate
1740 # to the cluster endpoint.
1741 &quot;clusterCaCertificate&quot;: &quot;A String&quot;,
1742 &quot;clientCertificate&quot;: &quot;A String&quot;, # [Output only] Base64-encoded public certificate used by clients to
1743 # authenticate to the cluster endpoint.
1744 &quot;username&quot;: &quot;A String&quot;, # The username to use for HTTP basic authentication to the master endpoint.
1745 # For clusters v1.6.0 and later, basic authentication can be disabled by
1746 # leaving username unspecified (or setting it to the empty string).
1747 },
1748 &quot;authenticatorGroupsConfig&quot;: { # Configuration for returning group information from authenticators. # Configuration controlling RBAC group membership information.
Bu Sun Kim65020912020-05-20 12:08:20 -07001749 &quot;securityGroup&quot;: &quot;A String&quot;, # The name of the security group-of-groups to be used. Only relevant
1750 # if enabled = true.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001751 &quot;enabled&quot;: True or False, # Whether this cluster should return group membership lookups
1752 # during authentication using a group of security groups.
Bu Sun Kim65020912020-05-20 12:08:20 -07001753 },
1754 &quot;masterIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP prefix in CIDR notation to use for the hosted master network.
1755 # This prefix will be used for assigning private IP addresses to the
1756 # master or set of masters, as well as the ILB VIP.
1757 # This field is deprecated, use
1758 # private_cluster_config.master_ipv4_cidr_block instead.
1759 &quot;clusterTelemetry&quot;: { # Telemetry integration for the cluster. # Telemetry integration for the cluster.
1760 &quot;type&quot;: &quot;A String&quot;, # Type of the integration.
1761 },
1762 &quot;currentMasterVersion&quot;: &quot;A String&quot;, # [Output only] The current software version of the master endpoint.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001763 &quot;podSecurityPolicyConfig&quot;: { # Configuration for the PodSecurityPolicy feature. # Configuration for the PodSecurityPolicy feature.
1764 &quot;enabled&quot;: True or False, # Enable the PodSecurityPolicy controller for this cluster. If enabled, pods
1765 # must be valid under a PodSecurityPolicy to be created.
1766 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001767 &quot;addonsConfig&quot;: { # Configuration for the addons that can be automatically spun up in the # Configurations for the various addons available to run in the cluster.
1768 # cluster, enabling additional functionality.
Bu Sun Kim65020912020-05-20 12:08:20 -07001769 &quot;httpLoadBalancing&quot;: { # Configuration options for the HTTP (L7) load balancing controller addon, # Configuration for the HTTP (L7) load balancing controller addon, which
1770 # makes it easy to set up HTTP load balancers for services in a cluster.
1771 # which makes it easy to set up HTTP load balancers for services in a cluster.
1772 &quot;disabled&quot;: True or False, # Whether the HTTP Load Balancing controller is enabled in the cluster.
1773 # When enabled, it runs a small pod in the cluster that manages the load
1774 # balancers.
1775 },
1776 &quot;kubernetesDashboard&quot;: { # Configuration for the Kubernetes Dashboard. # Configuration for the Kubernetes Dashboard.
1777 # This addon is deprecated, and will be disabled in 1.15. It is recommended
1778 # to use the Cloud Console to manage and monitor your Kubernetes clusters,
1779 # workloads and applications. For more information, see:
1780 # https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
1781 &quot;disabled&quot;: True or False, # Whether the Kubernetes Dashboard is enabled for this cluster.
1782 },
1783 &quot;dnsCacheConfig&quot;: { # Configuration for NodeLocal DNSCache # Configuration for NodeLocalDNS, a dns cache running on cluster nodes
1784 &quot;enabled&quot;: True or False, # Whether NodeLocal DNSCache is enabled for this cluster.
1785 },
1786 &quot;kalmConfig&quot;: { # Configuration options for the KALM addon. # Configuration for the KALM addon, which manages the lifecycle of k8s
1787 # applications.
1788 &quot;enabled&quot;: True or False, # Whether KALM is enabled for this cluster.
1789 },
1790 &quot;gcePersistentDiskCsiDriverConfig&quot;: { # Configuration for the Compute Engine PD CSI driver. This option can only be # Configuration for the Compute Engine Persistent Disk CSI driver.
1791 # enabled at cluster creation time.
1792 &quot;enabled&quot;: True or False, # Whether the Compute Engine PD CSI driver is enabled for this cluster.
1793 },
1794 &quot;istioConfig&quot;: { # Configuration options for Istio addon. # Configuration for Istio, an open platform to connect, manage, and secure
1795 # microservices.
Bu Sun Kim65020912020-05-20 12:08:20 -07001796 &quot;auth&quot;: &quot;A String&quot;, # The specified Istio auth mode, either none, or mutual TLS.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001797 &quot;disabled&quot;: True or False, # Whether Istio is enabled for this cluster.
1798 },
1799 &quot;networkPolicyConfig&quot;: { # Configuration for NetworkPolicy. This only tracks whether the addon # Configuration for NetworkPolicy. This only tracks whether the addon
1800 # is enabled or not on the Master, it does not track whether network policy
1801 # is enabled for the nodes.
1802 # is enabled or not on the Master, it does not track whether network policy
1803 # is enabled for the nodes.
1804 &quot;disabled&quot;: True or False, # Whether NetworkPolicy is enabled for this cluster.
1805 },
1806 &quot;cloudRunConfig&quot;: { # Configuration options for the Cloud Run feature. # Configuration for the Cloud Run addon. The `IstioConfig` addon must be
1807 # enabled in order to enable Cloud Run addon. This option can only be enabled
1808 # at cluster creation time.
1809 &quot;disabled&quot;: True or False, # Whether Cloud Run addon is enabled for this cluster.
1810 },
1811 &quot;configConnectorConfig&quot;: { # Configuration options for the Config Connector add-on. # Configuration for the ConfigConnector add-on, a Kubernetes
1812 # extension to manage hosted GCP services through the Kubernetes API
1813 &quot;enabled&quot;: True or False, # Whether Cloud Connector is enabled for this cluster.
1814 },
1815 &quot;horizontalPodAutoscaling&quot;: { # Configuration options for the horizontal pod autoscaling feature, which # Configuration for the horizontal pod autoscaling feature, which
1816 # increases or decreases the number of replica pods a replication controller
1817 # has based on the resource usage of the existing pods.
1818 # increases or decreases the number of replica pods a replication controller
1819 # has based on the resource usage of the existing pods.
1820 &quot;disabled&quot;: True or False, # Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
1821 # When enabled, it ensures that metrics are collected into Stackdriver
1822 # Monitoring.
Bu Sun Kim65020912020-05-20 12:08:20 -07001823 },
1824 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001825 &quot;subnetwork&quot;: &quot;A String&quot;, # The name of the Google Compute Engine
1826 # [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
1827 # the cluster is connected. On output this shows the subnetwork ID instead of
1828 # the name.
Bu Sun Kim65020912020-05-20 12:08:20 -07001829 &quot;currentNodeVersion&quot;: &quot;A String&quot;, # [Output only] Deprecated, use
1830 # [NodePool.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters.nodePools)
1831 # instead. The current version of the node software components.
1832 # If they are currently at multiple versions because they&#x27;re in the process
1833 # of being upgraded, this reflects the minimum version of all nodes.
Bu Sun Kim65020912020-05-20 12:08:20 -07001834 &quot;maintenancePolicy&quot;: { # MaintenancePolicy defines the maintenance policy to be used for the cluster. # Configure the maintenance policy for this cluster.
Bu Sun Kim65020912020-05-20 12:08:20 -07001835 &quot;window&quot;: { # MaintenanceWindow defines the maintenance window to be used for the cluster. # Specifies the maintenance window in which maintenance may be performed.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001836 &quot;maintenanceExclusions&quot;: { # Exceptions to maintenance window. Non-emergency maintenance should not
1837 # occur in these windows.
1838 &quot;a_key&quot;: { # Represents an arbitrary window of time.
1839 &quot;startTime&quot;: &quot;A String&quot;, # The time that the window first starts.
1840 &quot;endTime&quot;: &quot;A String&quot;, # The time that the window ends. The end time should take place after the
1841 # start time.
1842 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001843 },
1844 &quot;recurringWindow&quot;: { # Represents an arbitrary window of time that recurs. # RecurringWindow specifies some number of recurring time periods for
Dan O'Mearadd494642020-05-01 07:42:23 -07001845 # maintenance to occur. The time windows may be overlapping. If no
1846 # maintenance windows are set, maintenance can occur at any time.
Bu Sun Kim65020912020-05-20 12:08:20 -07001847 &quot;recurrence&quot;: &quot;A String&quot;, # An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
Dan O'Mearadd494642020-05-01 07:42:23 -07001848 # this window reccurs. They go on for the span of time between the start and
1849 # end time.
1850 #
Bu Sun Kim65020912020-05-20 12:08:20 -07001851 # For example, to have something repeat every weekday, you&#x27;d use:
Dan O'Mearadd494642020-05-01 07:42:23 -07001852 # &lt;code&gt;FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR&lt;/code&gt;
1853 # To repeat some window daily (equivalent to the DailyMaintenanceWindow):
1854 # &lt;code&gt;FREQ=DAILY&lt;/code&gt;
1855 # For the first weekend of every month:
1856 # &lt;code&gt;FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU&lt;/code&gt;
1857 # This specifies how frequently the window starts. Eg, if you wanted to have
Bu Sun Kim65020912020-05-20 12:08:20 -07001858 # a 9-5 UTC-4 window every weekday, you&#x27;d use something like:
Dan O'Mearadd494642020-05-01 07:42:23 -07001859 # &lt;code&gt;
1860 # start time = 2019-01-01T09:00:00-0400
1861 # end time = 2019-01-01T17:00:00-0400
1862 # recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR
1863 # &lt;/code&gt;
1864 # Windows can span multiple days. Eg, to make the window encompass every
1865 # weekend from midnight Saturday till the last minute of Sunday UTC:
1866 # &lt;code&gt;
1867 # start time = 2019-01-05T00:00:00Z
1868 # end time = 2019-01-07T23:59:00Z
1869 # recurrence = FREQ=WEEKLY;BYDAY=SA
1870 # &lt;/code&gt;
Bu Sun Kim65020912020-05-20 12:08:20 -07001871 # Note the start and end time&#x27;s specific dates are largely arbitrary except
Dan O'Mearadd494642020-05-01 07:42:23 -07001872 # to specify duration of the window and when it first starts.
1873 # The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.
Bu Sun Kim65020912020-05-20 12:08:20 -07001874 &quot;window&quot;: { # Represents an arbitrary window of time. # The window of the first recurrence.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001875 &quot;startTime&quot;: &quot;A String&quot;, # The time that the window first starts.
Bu Sun Kim65020912020-05-20 12:08:20 -07001876 &quot;endTime&quot;: &quot;A String&quot;, # The time that the window ends. The end time should take place after the
Dan O'Mearadd494642020-05-01 07:42:23 -07001877 # start time.
Dan O'Mearadd494642020-05-01 07:42:23 -07001878 },
1879 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001880 &quot;dailyMaintenanceWindow&quot;: { # Time window specified for daily maintenance operations. # DailyMaintenanceWindow specifies a daily maintenance operation window.
1881 &quot;duration&quot;: &quot;A String&quot;, # [Output only] Duration of the time window, automatically chosen to be
1882 # smallest possible in the given scenario.
1883 &quot;startTime&quot;: &quot;A String&quot;, # Time within the maintenance window to start the maintenance operations.
1884 # It must be in format &quot;HH:MM&quot;, where HH : [00-23] and MM : [00-59] GMT.
Dan O'Mearadd494642020-05-01 07:42:23 -07001885 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001886 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001887 &quot;resourceVersion&quot;: &quot;A String&quot;, # A hash identifying the version of this policy, so that updates to fields of
1888 # the policy won&#x27;t accidentally undo intermediate changes (and so that users
1889 # of the API unaware of some fields won&#x27;t accidentally remove other fields).
1890 # Make a &lt;code&gt;get()&lt;/code&gt; request to the cluster to get the current
1891 # resource version and include it with requests to set the policy.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001892 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001893 &quot;resourceLabels&quot;: { # The resource labels for the cluster to use to annotate any related
1894 # Google Compute Engine resources.
1895 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001896 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001897 &quot;initialClusterVersion&quot;: &quot;A String&quot;, # The initial Kubernetes version for this cluster. Valid versions are those
1898 # found in validMasterVersions returned by getServerConfig. The version can
1899 # be upgraded over time; such upgrades are reflected in
1900 # currentMasterVersion and currentNodeVersion.
Dan O'Mearadd494642020-05-01 07:42:23 -07001901 #
Bu Sun Kim65020912020-05-20 12:08:20 -07001902 # Users may specify either explicit versions offered by
1903 # Kubernetes Engine or version aliases, which have the following behavior:
Dan O'Mearadd494642020-05-01 07:42:23 -07001904 #
Bu Sun Kim65020912020-05-20 12:08:20 -07001905 # - &quot;latest&quot;: picks the highest valid Kubernetes version
1906 # - &quot;1.X&quot;: picks the highest valid patch+gke.N patch in the 1.X version
1907 # - &quot;1.X.Y&quot;: picks the highest valid gke.N patch in the 1.X.Y version
1908 # - &quot;1.X.Y-gke.N&quot;: picks an explicit Kubernetes version
1909 # - &quot;&quot;,&quot;-&quot;: picks the default Kubernetes version
1910 &quot;ipAllocationPolicy&quot;: { # Configuration for controlling how IPs are allocated in the cluster. # Configuration for cluster IP allocation.
1911 &quot;useRoutes&quot;: True or False, # Whether routes will be used for pod IPs in the cluster.
1912 # This is used in conjunction with use_ip_aliases. It cannot be true if
1913 # use_ip_aliases is true. If both use_ip_aliases and use_routes are false,
1914 # then the server picks the default IP allocation mode
1915 &quot;servicesIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP address range of the services IPs in this cluster. If blank, a range
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001916 # will be automatically chosen with the default size.
1917 #
1918 # This field is only applicable when `use_ip_aliases` is true.
1919 #
1920 # Set to blank to have a range chosen with the default size.
1921 #
1922 # Set to /netmask (e.g. `/14`) to have a range chosen with a specific
1923 # netmask.
1924 #
1925 # Set to a
1926 # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
1927 # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
1928 # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
1929 # to use.
Bu Sun Kim65020912020-05-20 12:08:20 -07001930 &quot;allowRouteOverlap&quot;: True or False, # If true, allow allocation of cluster CIDR ranges that overlap with certain
1931 # kinds of network routes. By default we do not allow cluster CIDR ranges to
1932 # intersect with any user declared routes. With allow_route_overlap == true,
1933 # we allow overlapping with CIDR ranges that are larger than the cluster CIDR
1934 # range.
1935 #
1936 # If this field is set to true, then cluster and services CIDRs must be
1937 # fully-specified (e.g. `10.96.0.0/14`, but not `/14`), which means:
1938 # 1) When `use_ip_aliases` is true, `cluster_ipv4_cidr_block` and
1939 # `services_ipv4_cidr_block` must be fully-specified.
1940 # 2) When `use_ip_aliases` is false, `cluster.cluster_ipv4_cidr` muse be
1941 # fully-specified.
1942 &quot;nodeIpv4Cidr&quot;: &quot;A String&quot;, # This field is deprecated, use node_ipv4_cidr_block.
1943 &quot;clusterIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP address range for the cluster pod IPs. If this field is set, then
1944 # `cluster.cluster_ipv4_cidr` must be left blank.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001945 #
1946 # This field is only applicable when `use_ip_aliases` is true.
Bu Sun Kim65020912020-05-20 12:08:20 -07001947 #
1948 # Set to blank to have a range chosen with the default size.
1949 #
1950 # Set to /netmask (e.g. `/14`) to have a range chosen with a specific
1951 # netmask.
1952 #
1953 # Set to a
1954 # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
1955 # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
1956 # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
1957 # to use.
1958 &quot;clusterSecondaryRangeName&quot;: &quot;A String&quot;, # The name of the secondary range to be used for the cluster CIDR
1959 # block. The secondary range will be used for pod IP
1960 # addresses. This must be an existing secondary range associated
1961 # with the cluster subnetwork.
1962 #
1963 # This field is only applicable with use_ip_aliases and
1964 # create_subnetwork is false.
1965 &quot;nodeIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP address range of the instance IPs in this cluster.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001966 #
1967 # This is applicable only if `create_subnetwork` is true.
1968 #
1969 # Set to blank to have a range chosen with the default size.
1970 #
1971 # Set to /netmask (e.g. `/14`) to have a range chosen with a specific
1972 # netmask.
1973 #
1974 # Set to a
1975 # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
1976 # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
1977 # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
1978 # to use.
Bu Sun Kim65020912020-05-20 12:08:20 -07001979 &quot;tpuIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP address range of the Cloud TPUs in this cluster. If unspecified, a
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001980 # range will be automatically chosen with the default size.
1981 #
1982 # This field is only applicable when `use_ip_aliases` is true.
1983 #
1984 # If unspecified, the range will use the default size.
1985 #
1986 # Set to /netmask (e.g. `/14`) to have a range chosen with a specific
1987 # netmask.
1988 #
1989 # Set to a
1990 # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
1991 # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
1992 # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
1993 # to use.
Dan O'Mearadd494642020-05-01 07:42:23 -07001994 # This field is deprecated, use cluster.tpu_config.ipv4_cidr_block instead.
Bu Sun Kim65020912020-05-20 12:08:20 -07001995 &quot;servicesSecondaryRangeName&quot;: &quot;A String&quot;, # The name of the secondary range to be used as for the services
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001996 # CIDR block. The secondary range will be used for service
1997 # ClusterIPs. This must be an existing secondary range associated
1998 # with the cluster subnetwork.
1999 #
2000 # This field is only applicable with use_ip_aliases and
2001 # create_subnetwork is false.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002002 &quot;createSubnetwork&quot;: True or False, # Whether a new subnetwork will be created automatically for the cluster.
2003 #
2004 # This field is only applicable when `use_ip_aliases` is true.
Bu Sun Kim65020912020-05-20 12:08:20 -07002005 &quot;useIpAliases&quot;: True or False, # Whether alias IPs will be used for pod IPs in the cluster.
2006 # This is used in conjunction with use_routes. It cannot
2007 # be true if use_routes is true. If both use_ip_aliases and use_routes are
2008 # false, then the server picks the default IP allocation mode
Bu Sun Kim65020912020-05-20 12:08:20 -07002009 &quot;subnetworkName&quot;: &quot;A String&quot;, # A custom subnetwork name to be used if `create_subnetwork` is true. If
2010 # this field is empty, then an automatic name will be chosen for the new
2011 # subnetwork.
2012 &quot;clusterIpv4Cidr&quot;: &quot;A String&quot;, # This field is deprecated, use cluster_ipv4_cidr_block.
2013 &quot;servicesIpv4Cidr&quot;: &quot;A String&quot;, # This field is deprecated, use services_ipv4_cidr_block.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002014 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002015 &quot;legacyAbac&quot;: { # Configuration for the legacy Attribute Based Access Control authorization # Configuration for the legacy ABAC authorization mode.
2016 # mode.
2017 &quot;enabled&quot;: True or False, # Whether the ABAC authorizer is enabled for this cluster. When enabled,
2018 # identities in the system, including service accounts, nodes, and
2019 # controllers, will have statically granted permissions beyond those
2020 # provided by the RBAC configuration or IAM.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002021 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002022 &quot;resourceUsageExportConfig&quot;: { # Configuration for exporting cluster resource usages. # Configuration for exporting resource usages. Resource usage export is
2023 # disabled when this config unspecified.
2024 &quot;enableNetworkEgressMetering&quot;: True or False, # Whether to enable network egress metering for this cluster. If enabled, a
2025 # daemonset will be created in the cluster to meter network egress traffic.
2026 &quot;consumptionMeteringConfig&quot;: { # Parameters for controlling consumption metering. # Configuration to enable resource consumption metering.
2027 &quot;enabled&quot;: True or False, # Whether to enable consumption metering for this cluster. If enabled, a
2028 # second BigQuery table will be created to hold resource consumption
2029 # records.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002030 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002031 &quot;bigqueryDestination&quot;: { # Parameters for using BigQuery as the destination of resource usage export. # Configuration to use BigQuery as usage export destination.
2032 &quot;datasetId&quot;: &quot;A String&quot;, # The ID of a BigQuery Dataset.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002033 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002034 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002035 &quot;enableTpu&quot;: True or False, # Enable the ability to use Cloud TPUs in this cluster.
2036 # This field is deprecated, use tpu_config.enabled instead.
Bu Sun Kim65020912020-05-20 12:08:20 -07002037 &quot;nodePools&quot;: [ # The node pools associated with this cluster.
2038 # This field should not be set if &quot;node_config&quot; or &quot;initial_node_count&quot; are
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002039 # specified.
Bu Sun Kim65020912020-05-20 12:08:20 -07002040 { # NodePool contains the name and configuration for a cluster&#x27;s node pool.
2041 # Node pools are a set of nodes (i.e. VM&#x27;s), with a common configuration and
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002042 # specification, under the control of the cluster master. They may have a set
2043 # of Kubernetes labels applied to them, which may be used to reference them
2044 # during pod scheduling. They may also be resized up or down, to accommodate
2045 # the workload.
Bu Sun Kim65020912020-05-20 12:08:20 -07002046 &quot;status&quot;: &quot;A String&quot;, # [Output only] The status of the nodes in this pool instance.
2047 &quot;config&quot;: { # Parameters that describe the nodes in a cluster. # The node configuration of the pool.
Bu Sun Kim65020912020-05-20 12:08:20 -07002048 &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum CPU platform to be used by this instance. The instance may be
2049 # scheduled on the specified or newer CPU platform. Applicable values are the
2050 # friendly names of CPU platforms, such as
2051 # &lt;code&gt;minCpuPlatform: &amp;quot;Intel Haswell&amp;quot;&lt;/code&gt; or
2052 # &lt;code&gt;minCpuPlatform: &amp;quot;Intel Sandy Bridge&amp;quot;&lt;/code&gt;. For more
2053 # information, read [how to specify min CPU
2054 # platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002055 &quot;shieldedInstanceConfig&quot;: { # A set of Shielded Instance options. # Shielded Instance options.
2056 &quot;enableIntegrityMonitoring&quot;: True or False, # Defines whether the instance has integrity monitoring enabled.
2057 #
2058 # Enables monitoring and attestation of the boot integrity of the instance.
2059 # The attestation is performed against the integrity policy baseline. This
2060 # baseline is initially derived from the implicitly trusted boot image when
2061 # the instance is created.
2062 &quot;enableSecureBoot&quot;: True or False, # Defines whether the instance has Secure Boot enabled.
2063 #
2064 # Secure Boot helps ensure that the system only runs authentic software by
2065 # verifying the digital signature of all boot components, and halting the
2066 # boot process if signature verification fails.
2067 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002068 &quot;preemptible&quot;: True or False, # Whether the nodes are created as preemptible VM instances. See:
2069 # https://cloud.google.com/compute/docs/instances/preemptible for more
2070 # inforamtion about preemptible VM instances.
2071 &quot;localSsdCount&quot;: 42, # The number of local SSD disks to be attached to the node.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002072 #
Bu Sun Kim65020912020-05-20 12:08:20 -07002073 # The limit for this value is dependent upon the maximum number of
2074 # disks available on a machine per zone. See:
2075 # https://cloud.google.com/compute/docs/disks/local-ssd
2076 # for more information.
2077 &quot;sandboxConfig&quot;: { # SandboxConfig contains configurations of the sandbox to use for the node. # Sandbox configuration for this node.
2078 &quot;type&quot;: &quot;A String&quot;, # Type of the sandbox to use for the node.
2079 &quot;sandboxType&quot;: &quot;A String&quot;, # Type of the sandbox to use for the node (e.g. &#x27;gvisor&#x27;)
2080 },
2081 &quot;metadata&quot;: { # The metadata key/value pairs assigned to instances in the cluster.
2082 #
2083 # Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes
2084 # in length. These are reflected as part of a URL in the metadata server.
2085 # Additionally, to avoid ambiguity, keys must not conflict with any other
2086 # metadata keys for the project or be one of the reserved keys:
2087 # &quot;cluster-location&quot;
2088 # &quot;cluster-name&quot;
2089 # &quot;cluster-uid&quot;
2090 # &quot;configure-sh&quot;
2091 # &quot;containerd-configure-sh&quot;
2092 # &quot;enable-oslogin&quot;
2093 # &quot;gci-ensure-gke-docker&quot;
2094 # &quot;gci-metrics-enabled&quot;
2095 # &quot;gci-update-strategy&quot;
2096 # &quot;instance-template&quot;
2097 # &quot;kube-env&quot;
2098 # &quot;startup-script&quot;
2099 # &quot;user-data&quot;
2100 # &quot;disable-address-manager&quot;
2101 # &quot;windows-startup-script-ps1&quot;
2102 # &quot;common-psm1&quot;
2103 # &quot;k8s-node-setup-psm1&quot;
2104 # &quot;install-ssh-psm1&quot;
2105 # &quot;user-profile-psm1&quot;
2106 # &quot;serial-port-logging-enable&quot;
2107 # Values are free-form strings, and only have meaning as interpreted by
2108 # the image running in the instance. The only restriction placed on them is
2109 # that each value&#x27;s size must be less than or equal to 32 KB.
2110 #
2111 # The total size of all keys and values must be less than 512 KB.
2112 &quot;a_key&quot;: &quot;A String&quot;,
2113 },
2114 &quot;reservationAffinity&quot;: { # [ReservationAffinity](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) # The optional reservation affinity. Setting this field will apply
2115 # the specified [Zonal Compute
2116 # Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources)
2117 # to this node pool.
2118 # is the configuration of desired reservation which instances could take
2119 # capacity from.
2120 &quot;key&quot;: &quot;A String&quot;, # Corresponds to the label key of a reservation resource. To target a
2121 # SPECIFIC_RESERVATION by name, specify &quot;googleapis.com/reservation-name&quot; as
2122 # the key and specify the name of your reservation as its value.
2123 &quot;values&quot;: [ # Corresponds to the label value(s) of reservation resource(s).
2124 &quot;A String&quot;,
2125 ],
2126 &quot;consumeReservationType&quot;: &quot;A String&quot;, # Corresponds to the type of reservation consumption.
2127 },
2128 &quot;tags&quot;: [ # The list of instance tags applied to all nodes. Tags are used to identify
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002129 # valid sources or targets for network firewalls and are specified by
2130 # the client during cluster or node pool creation. Each tag within the list
2131 # must comply with RFC1035.
Bu Sun Kim65020912020-05-20 12:08:20 -07002132 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002133 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002134 &quot;serviceAccount&quot;: &quot;A String&quot;, # The Google Cloud Platform Service Account to be used by the node VMs.
Dan O'Mearadd494642020-05-01 07:42:23 -07002135 # Specify the email address of the Service Account; otherwise, if no Service
Bu Sun Kim65020912020-05-20 12:08:20 -07002136 # Account is specified, the &quot;default&quot; service account is used.
2137 &quot;imageType&quot;: &quot;A String&quot;, # The image type to use for this node. Note that for a given image type,
2138 # the latest version of it will be used.
2139 &quot;oauthScopes&quot;: [ # The set of Google API scopes to be made available on all of the
2140 # node VMs under the &quot;default&quot; service account.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002141 #
2142 # The following scopes are recommended, but not required, and by default are
2143 # not included:
2144 #
2145 # * `https://www.googleapis.com/auth/compute` is required for mounting
2146 # persistent storage on your nodes.
2147 # * `https://www.googleapis.com/auth/devstorage.read_only` is required for
2148 # communicating with **gcr.io**
Dan O'Mearadd494642020-05-01 07:42:23 -07002149 # (the [Google Container
2150 # Registry](https://cloud.google.com/container-registry/)).
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002151 #
2152 # If unspecified, no scopes are added, unless Cloud Logging or Cloud
2153 # Monitoring are enabled, in which case their required scopes will be added.
Bu Sun Kim65020912020-05-20 12:08:20 -07002154 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002155 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002156 &quot;taints&quot;: [ # List of kubernetes taints to be applied to each node.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002157 #
2158 # For more information, including usage and the valid values, see:
2159 # https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
2160 { # Kubernetes taint is comprised of three fields: key, value, and effect. Effect
2161 # can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.
2162 #
Bu Sun Kim65020912020-05-20 12:08:20 -07002163 # See
2164 # [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration)
2165 # for more information, including usage and the valid values.
Bu Sun Kim65020912020-05-20 12:08:20 -07002166 &quot;effect&quot;: &quot;A String&quot;, # Effect for taint.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002167 &quot;value&quot;: &quot;A String&quot;, # Value for taint.
2168 &quot;key&quot;: &quot;A String&quot;, # Key for taint.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002169 },
2170 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002171 &quot;labels&quot;: { # The map of Kubernetes labels (key/value pairs) to be applied to each node.
2172 # These will added in addition to any default label(s) that
2173 # Kubernetes may apply to the node.
2174 # In case of conflict in label keys, the applied set may differ depending on
2175 # the Kubernetes version -- it&#x27;s best to assume the behavior is undefined
2176 # and conflicts should be avoided.
2177 # For more information, including usage and the valid values, see:
2178 # https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
2179 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002180 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002181 &quot;diskSizeGb&quot;: 42, # Size of the disk attached to each node, specified in GB.
2182 # The smallest allowed disk size is 10GB.
2183 #
2184 # If unspecified, the default disk size is 100GB.
2185 &quot;workloadMetadataConfig&quot;: { # WorkloadMetadataConfig defines the metadata configuration to expose to # The workload metadata configuration for this node.
2186 # workloads on the node pool.
2187 &quot;nodeMetadata&quot;: &quot;A String&quot;, # NodeMetadata is the configuration for how to expose metadata to the
2188 # workloads running on the node.
2189 &quot;mode&quot;: &quot;A String&quot;, # Mode is the configuration for how to expose metadata to workloads running
2190 # on the node pool.
2191 },
2192 &quot;accelerators&quot;: [ # A list of hardware accelerators to be attached to each node.
2193 # See https://cloud.google.com/compute/docs/gpus for more information about
2194 # support for GPUs.
2195 { # AcceleratorConfig represents a Hardware Accelerator request.
2196 &quot;acceleratorType&quot;: &quot;A String&quot;, # The accelerator type resource name. List of supported accelerators
2197 # [here](https://cloud.google.com/compute/docs/gpus)
2198 &quot;acceleratorCount&quot;: &quot;A String&quot;, # The number of the accelerator cards exposed to an instance.
2199 },
2200 ],
2201 &quot;machineType&quot;: &quot;A String&quot;, # The name of a Google Compute Engine [machine
2202 # type](https://cloud.google.com/compute/docs/machine-types) (e.g.
2203 # `n1-standard-1`).
2204 #
2205 # If unspecified, the default machine type is
2206 # `n1-standard-1`.
2207 &quot;diskType&quot;: &quot;A String&quot;, # Type of the disk attached to each node (e.g. &#x27;pd-standard&#x27; or &#x27;pd-ssd&#x27;)
2208 #
2209 # If unspecified, the default disk type is &#x27;pd-standard&#x27;
2210 &quot;bootDiskKmsKey&quot;: &quot;A String&quot;, #
2211 # The Customer Managed Encryption Key used to encrypt the boot disk attached
2212 # to each node in the node pool. This should be of the form
2213 # projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME].
2214 # For more information about protecting resources with Cloud KMS Keys please
2215 # see:
2216 # https://cloud.google.com/compute/docs/disks/customer-managed-encryption
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002217 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002218 &quot;maxPodsConstraint&quot;: { # Constraints applied to pods. # The constraint on the maximum number of pods that can be run
2219 # simultaneously on a node in the node pool.
2220 &quot;maxPodsPerNode&quot;: &quot;A String&quot;, # Constraint enforced on the max num of pods per node.
2221 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002222 &quot;name&quot;: &quot;A String&quot;, # The name of the node pool.
Bu Sun Kim65020912020-05-20 12:08:20 -07002223 &quot;management&quot;: { # NodeManagement defines the set of node management services turned on for the # NodeManagement configuration for this NodePool.
2224 # node pool.
Bu Sun Kim65020912020-05-20 12:08:20 -07002225 &quot;autoRepair&quot;: True or False, # Whether the nodes will be automatically repaired.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002226 &quot;autoUpgrade&quot;: True or False, # Whether the nodes will be automatically upgraded.
Bu Sun Kim65020912020-05-20 12:08:20 -07002227 &quot;upgradeOptions&quot;: { # AutoUpgradeOptions defines the set of options for the user to control how # Specifies the Auto Upgrade knobs for the node pool.
2228 # the Auto Upgrades will proceed.
2229 &quot;description&quot;: &quot;A String&quot;, # [Output only] This field is set when upgrades are about to commence
2230 # with the description of the upgrade.
2231 &quot;autoUpgradeStartTime&quot;: &quot;A String&quot;, # [Output only] This field is set when upgrades are about to commence
2232 # with the approximate start time for the upgrades, in
2233 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
2234 },
2235 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002236 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output only] Additional information about the current status of this
2237 # node pool instance, if available.
2238 &quot;autoscaling&quot;: { # NodePoolAutoscaling contains information required by cluster autoscaler to # Autoscaler configuration for this NodePool. Autoscaler is enabled
2239 # only if a valid configuration is present.
2240 # adjust the size of the node pool to the current cluster usage.
2241 &quot;maxNodeCount&quot;: 42, # Maximum number of nodes in the NodePool. Must be &gt;= min_node_count. There
2242 # has to enough quota to scale up the cluster.
2243 &quot;autoprovisioned&quot;: True or False, # Can this node pool be deleted automatically.
2244 &quot;minNodeCount&quot;: 42, # Minimum number of nodes in the NodePool. Must be &gt;= 1 and &lt;=
2245 # max_node_count.
2246 &quot;enabled&quot;: True or False, # Is autoscaling enabled for this node pool.
2247 },
2248 &quot;initialNodeCount&quot;: 42, # The initial node count for the pool. You must ensure that your
2249 # Compute Engine &lt;a href=&quot;/compute/docs/resource-quotas&quot;&gt;resource quota&lt;/a&gt;
2250 # is sufficient for this number of instances. You must also have available
2251 # firewall and routes quota.
2252 &quot;locations&quot;: [ # The list of Google Compute Engine
2253 # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
2254 # NodePool&#x27;s nodes should be located.
2255 &quot;A String&quot;,
2256 ],
2257 &quot;upgradeSettings&quot;: { # These upgrade settings control the level of parallelism and the level of # Upgrade settings control disruption and speed of the upgrade.
2258 # disruption caused by an upgrade.
2259 #
2260 # maxUnavailable controls the number of nodes that can be simultaneously
2261 # unavailable.
2262 #
2263 # maxSurge controls the number of additional nodes that can be added to the
2264 # node pool temporarily for the time of the upgrade to increase the number of
2265 # available nodes.
2266 #
2267 # (maxUnavailable + maxSurge) determines the level of parallelism (how many
2268 # nodes are being upgraded at the same time).
2269 #
2270 # Note: upgrades inevitably introduce some disruption since workloads need to
2271 # be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0,
2272 # this holds true. (Disruption stays within the limits of
2273 # PodDisruptionBudget, if it is configured.)
2274 #
2275 # Consider a hypothetical node pool with 5 nodes having maxSurge=2,
2276 # maxUnavailable=1. This means the upgrade process upgrades 3 nodes
2277 # simultaneously. It creates 2 additional (upgraded) nodes, then it brings
2278 # down 3 old (not yet upgraded) nodes at the same time. This ensures that
2279 # there are always at least 4 nodes available.
2280 &quot;maxUnavailable&quot;: 42, # The maximum number of nodes that can be simultaneously unavailable during
2281 # the upgrade process. A node is considered available if its status is
2282 # Ready.
2283 &quot;maxSurge&quot;: 42, # The maximum number of nodes that can be created beyond the current size
2284 # of the node pool during the upgrade process.
2285 },
2286 &quot;selfLink&quot;: &quot;A String&quot;, # [Output only] Server-defined URL for the resource.
2287 &quot;version&quot;: &quot;A String&quot;, # The version of the Kubernetes of this node.
2288 &quot;instanceGroupUrls&quot;: [ # [Output only] The resource URLs of the [managed instance
2289 # groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
2290 # associated with this node pool.
2291 &quot;A String&quot;,
2292 ],
2293 &quot;podIpv4CidrSize&quot;: 42, # [Output only] The pod CIDR block size per node in this node pool.
2294 &quot;conditions&quot;: [ # Which conditions caused the current node pool state.
2295 { # StatusCondition describes why a cluster or a node pool has a certain status
2296 # (e.g., ERROR or DEGRADED).
2297 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
2298 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
2299 },
2300 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002301 },
2302 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002303 &quot;locations&quot;: [ # The list of Google Compute Engine
2304 # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
2305 # cluster&#x27;s nodes should be located.
2306 &quot;A String&quot;,
2307 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002308 &quot;selfLink&quot;: &quot;A String&quot;, # [Output only] Server-defined URL for the resource.
Bu Sun Kim65020912020-05-20 12:08:20 -07002309 &quot;releaseChannel&quot;: { # ReleaseChannel indicates which release channel a cluster is # Release channel configuration.
2310 # subscribed to. Release channels are arranged in order of risk and
2311 # frequency of updates.
2312 #
2313 # When a cluster is subscribed to a release channel, Google maintains
2314 # both the master version and the node version. Node auto-upgrade
2315 # defaults to true and cannot be disabled. Updates to version related
2316 # fields (e.g. current_master_version) return an error.
2317 &quot;channel&quot;: &quot;A String&quot;, # channel specifies which release channel the cluster is subscribed to.
2318 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002319 &quot;networkPolicy&quot;: { # Configuration options for the NetworkPolicy feature. # Configuration options for the NetworkPolicy feature.
2320 # https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
2321 &quot;provider&quot;: &quot;A String&quot;, # The selected network policy provider.
2322 &quot;enabled&quot;: True or False, # Whether network policy is enabled on the cluster.
2323 },
2324 &quot;servicesIpv4Cidr&quot;: &quot;A String&quot;, # [Output only] The IP address range of the Kubernetes services in
2325 # this cluster, in
2326 # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
2327 # notation (e.g. `1.2.3.4/29`). Service addresses are
2328 # typically put in the last `/16` from the container CIDR.
Bu Sun Kim65020912020-05-20 12:08:20 -07002329 &quot;enableKubernetesAlpha&quot;: True or False, # Kubernetes alpha features are enabled on this cluster. This includes alpha
2330 # API groups (e.g. v1beta1) and features that may not be production ready in
2331 # the kubernetes version of the master and nodes.
2332 # The cluster has no SLA for uptime and master/node upgrades are disabled.
2333 # Alpha enabled clusters are automatically deleted thirty days after
2334 # creation.
2335 &quot;description&quot;: &quot;A String&quot;, # An optional description of this cluster.
2336 &quot;conditions&quot;: [ # Which conditions caused the current cluster state.
2337 { # StatusCondition describes why a cluster or a node pool has a certain status
2338 # (e.g., ERROR or DEGRADED).
2339 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
2340 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
2341 },
2342 ],
2343 &quot;privateCluster&quot;: True or False, # If this is a private cluster setup. Private clusters are clusters that, by
2344 # default have no external IP addresses on the nodes and where nodes and the
2345 # master communicate over private IP addresses.
2346 # This field is deprecated, use private_cluster_config.enable_private_nodes
2347 # instead.
2348 &quot;currentNodeCount&quot;: 42, # [Output only] The number of nodes currently in the cluster. Deprecated.
2349 # Call Kubernetes API directly to retrieve node information.
2350 &quot;monitoringService&quot;: &quot;A String&quot;, # The monitoring service the cluster should use to write metrics.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002351 # Currently available options:
2352 #
Bu Sun Kim65020912020-05-20 12:08:20 -07002353 # * &quot;monitoring.googleapis.com/kubernetes&quot; - The Cloud Monitoring
Dan O'Mearadd494642020-05-01 07:42:23 -07002354 # service with a Kubernetes-native resource model
2355 # * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no
2356 # longer available as of GKE 1.15).
2357 # * `none` - No metrics will be exported from the cluster.
2358 #
2359 # If left as an empty string,`monitoring.googleapis.com/kubernetes` will be
2360 # used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
Bu Sun Kim65020912020-05-20 12:08:20 -07002361 &quot;databaseEncryption&quot;: { # Configuration of etcd encryption. # Configuration of etcd encryption.
2362 &quot;state&quot;: &quot;A String&quot;, # Denotes the state of etcd encryption.
2363 &quot;keyName&quot;: &quot;A String&quot;, # Name of CloudKMS key to use for the encryption of secrets in etcd.
Dan O'Mearadd494642020-05-01 07:42:23 -07002364 # Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002365 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002366 &quot;binaryAuthorization&quot;: { # Configuration for Binary Authorization. # Configuration for Binary Authorization.
2367 &quot;enabled&quot;: True or False, # Enable Binary Authorization for this cluster. If enabled, all container
2368 # images will be validated by Google Binauthz.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002369 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002370 &quot;tpuIpv4CidrBlock&quot;: &quot;A String&quot;, # [Output only] The IP address range of the Cloud TPUs in this cluster, in
2371 # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
2372 # notation (e.g. `1.2.3.4/29`).
2373 &quot;workloadIdentityConfig&quot;: { # Configuration for the use of Kubernetes Service Accounts in GCP IAM # Configuration for the use of Kubernetes Service Accounts in GCP IAM
2374 # policies.
2375 # policies.
Bu Sun Kim65020912020-05-20 12:08:20 -07002376 &quot;workloadPool&quot;: &quot;A String&quot;, # The workload pool to attach all Kubernetes service accounts to.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002377 &quot;identityNamespace&quot;: &quot;A String&quot;, # IAM Identity Namespace to attach all Kubernetes Service Accounts to.
Bu Sun Kim65020912020-05-20 12:08:20 -07002378 },
2379 &quot;zone&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine
Dan O'Mearadd494642020-05-01 07:42:23 -07002380 # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
2381 # cluster resides. This field is deprecated, use location instead.
Bu Sun Kim65020912020-05-20 12:08:20 -07002382 &quot;loggingService&quot;: &quot;A String&quot;, # The logging service the cluster should use to write logs.
2383 # Currently available options:
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002384 #
Bu Sun Kim65020912020-05-20 12:08:20 -07002385 # * `logging.googleapis.com/kubernetes` - The Cloud Logging
2386 # service with a Kubernetes-native resource model
2387 # * `logging.googleapis.com` - The legacy Cloud Logging service (no longer
2388 # available as of GKE 1.15).
2389 # * `none` - no logs will be exported from the cluster.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002390 #
Bu Sun Kim65020912020-05-20 12:08:20 -07002391 # If left as an empty string,`logging.googleapis.com/kubernetes` will be
2392 # used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
2393 &quot;expireTime&quot;: &quot;A String&quot;, # [Output only] The time the cluster will be automatically
2394 # deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
2395 &quot;nodeConfig&quot;: { # Parameters that describe the nodes in a cluster. # Parameters used in creating the cluster&#x27;s nodes.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002396 # For requests, this field should only be used in lieu of a
Bu Sun Kim65020912020-05-20 12:08:20 -07002397 # &quot;node_pool&quot; object, since this configuration (along with the
2398 # &quot;initial_node_count&quot;) will be used to create a &quot;NodePool&quot; object with an
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002399 # auto-generated name. Do not use this and a node_pool at the same time.
2400 # For responses, this field will be populated with the node configuration of
2401 # the first node pool. (For configuration of each node pool, see
2402 # `node_pool.config`)
2403 #
2404 # If unspecified, the defaults are used.
2405 # This field is deprecated, use node_pool.config instead.
Bu Sun Kim65020912020-05-20 12:08:20 -07002406 &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum CPU platform to be used by this instance. The instance may be
2407 # scheduled on the specified or newer CPU platform. Applicable values are the
2408 # friendly names of CPU platforms, such as
2409 # &lt;code&gt;minCpuPlatform: &amp;quot;Intel Haswell&amp;quot;&lt;/code&gt; or
2410 # &lt;code&gt;minCpuPlatform: &amp;quot;Intel Sandy Bridge&amp;quot;&lt;/code&gt;. For more
2411 # information, read [how to specify min CPU
2412 # platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002413 &quot;shieldedInstanceConfig&quot;: { # A set of Shielded Instance options. # Shielded Instance options.
2414 &quot;enableIntegrityMonitoring&quot;: True or False, # Defines whether the instance has integrity monitoring enabled.
2415 #
2416 # Enables monitoring and attestation of the boot integrity of the instance.
2417 # The attestation is performed against the integrity policy baseline. This
2418 # baseline is initially derived from the implicitly trusted boot image when
2419 # the instance is created.
2420 &quot;enableSecureBoot&quot;: True or False, # Defines whether the instance has Secure Boot enabled.
2421 #
2422 # Secure Boot helps ensure that the system only runs authentic software by
2423 # verifying the digital signature of all boot components, and halting the
2424 # boot process if signature verification fails.
2425 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002426 &quot;preemptible&quot;: True or False, # Whether the nodes are created as preemptible VM instances. See:
2427 # https://cloud.google.com/compute/docs/instances/preemptible for more
2428 # inforamtion about preemptible VM instances.
2429 &quot;localSsdCount&quot;: 42, # The number of local SSD disks to be attached to the node.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002430 #
Bu Sun Kim65020912020-05-20 12:08:20 -07002431 # The limit for this value is dependent upon the maximum number of
2432 # disks available on a machine per zone. See:
2433 # https://cloud.google.com/compute/docs/disks/local-ssd
2434 # for more information.
2435 &quot;sandboxConfig&quot;: { # SandboxConfig contains configurations of the sandbox to use for the node. # Sandbox configuration for this node.
2436 &quot;type&quot;: &quot;A String&quot;, # Type of the sandbox to use for the node.
2437 &quot;sandboxType&quot;: &quot;A String&quot;, # Type of the sandbox to use for the node (e.g. &#x27;gvisor&#x27;)
2438 },
2439 &quot;metadata&quot;: { # The metadata key/value pairs assigned to instances in the cluster.
2440 #
2441 # Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes
2442 # in length. These are reflected as part of a URL in the metadata server.
2443 # Additionally, to avoid ambiguity, keys must not conflict with any other
2444 # metadata keys for the project or be one of the reserved keys:
2445 # &quot;cluster-location&quot;
2446 # &quot;cluster-name&quot;
2447 # &quot;cluster-uid&quot;
2448 # &quot;configure-sh&quot;
2449 # &quot;containerd-configure-sh&quot;
2450 # &quot;enable-oslogin&quot;
2451 # &quot;gci-ensure-gke-docker&quot;
2452 # &quot;gci-metrics-enabled&quot;
2453 # &quot;gci-update-strategy&quot;
2454 # &quot;instance-template&quot;
2455 # &quot;kube-env&quot;
2456 # &quot;startup-script&quot;
2457 # &quot;user-data&quot;
2458 # &quot;disable-address-manager&quot;
2459 # &quot;windows-startup-script-ps1&quot;
2460 # &quot;common-psm1&quot;
2461 # &quot;k8s-node-setup-psm1&quot;
2462 # &quot;install-ssh-psm1&quot;
2463 # &quot;user-profile-psm1&quot;
2464 # &quot;serial-port-logging-enable&quot;
2465 # Values are free-form strings, and only have meaning as interpreted by
2466 # the image running in the instance. The only restriction placed on them is
2467 # that each value&#x27;s size must be less than or equal to 32 KB.
2468 #
2469 # The total size of all keys and values must be less than 512 KB.
2470 &quot;a_key&quot;: &quot;A String&quot;,
2471 },
2472 &quot;reservationAffinity&quot;: { # [ReservationAffinity](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) # The optional reservation affinity. Setting this field will apply
2473 # the specified [Zonal Compute
2474 # Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources)
2475 # to this node pool.
2476 # is the configuration of desired reservation which instances could take
2477 # capacity from.
2478 &quot;key&quot;: &quot;A String&quot;, # Corresponds to the label key of a reservation resource. To target a
2479 # SPECIFIC_RESERVATION by name, specify &quot;googleapis.com/reservation-name&quot; as
2480 # the key and specify the name of your reservation as its value.
2481 &quot;values&quot;: [ # Corresponds to the label value(s) of reservation resource(s).
2482 &quot;A String&quot;,
2483 ],
2484 &quot;consumeReservationType&quot;: &quot;A String&quot;, # Corresponds to the type of reservation consumption.
2485 },
2486 &quot;tags&quot;: [ # The list of instance tags applied to all nodes. Tags are used to identify
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002487 # valid sources or targets for network firewalls and are specified by
2488 # the client during cluster or node pool creation. Each tag within the list
2489 # must comply with RFC1035.
Bu Sun Kim65020912020-05-20 12:08:20 -07002490 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002491 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002492 &quot;serviceAccount&quot;: &quot;A String&quot;, # The Google Cloud Platform Service Account to be used by the node VMs.
Dan O'Mearadd494642020-05-01 07:42:23 -07002493 # Specify the email address of the Service Account; otherwise, if no Service
Bu Sun Kim65020912020-05-20 12:08:20 -07002494 # Account is specified, the &quot;default&quot; service account is used.
2495 &quot;imageType&quot;: &quot;A String&quot;, # The image type to use for this node. Note that for a given image type,
2496 # the latest version of it will be used.
2497 &quot;oauthScopes&quot;: [ # The set of Google API scopes to be made available on all of the
2498 # node VMs under the &quot;default&quot; service account.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002499 #
2500 # The following scopes are recommended, but not required, and by default are
2501 # not included:
2502 #
2503 # * `https://www.googleapis.com/auth/compute` is required for mounting
2504 # persistent storage on your nodes.
2505 # * `https://www.googleapis.com/auth/devstorage.read_only` is required for
2506 # communicating with **gcr.io**
Dan O'Mearadd494642020-05-01 07:42:23 -07002507 # (the [Google Container
2508 # Registry](https://cloud.google.com/container-registry/)).
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002509 #
2510 # If unspecified, no scopes are added, unless Cloud Logging or Cloud
2511 # Monitoring are enabled, in which case their required scopes will be added.
Bu Sun Kim65020912020-05-20 12:08:20 -07002512 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002513 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002514 &quot;taints&quot;: [ # List of kubernetes taints to be applied to each node.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002515 #
2516 # For more information, including usage and the valid values, see:
2517 # https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
2518 { # Kubernetes taint is comprised of three fields: key, value, and effect. Effect
2519 # can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.
2520 #
Bu Sun Kim65020912020-05-20 12:08:20 -07002521 # See
2522 # [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration)
2523 # for more information, including usage and the valid values.
Bu Sun Kim65020912020-05-20 12:08:20 -07002524 &quot;effect&quot;: &quot;A String&quot;, # Effect for taint.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002525 &quot;value&quot;: &quot;A String&quot;, # Value for taint.
2526 &quot;key&quot;: &quot;A String&quot;, # Key for taint.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002527 },
2528 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002529 &quot;labels&quot;: { # The map of Kubernetes labels (key/value pairs) to be applied to each node.
2530 # These will added in addition to any default label(s) that
2531 # Kubernetes may apply to the node.
2532 # In case of conflict in label keys, the applied set may differ depending on
2533 # the Kubernetes version -- it&#x27;s best to assume the behavior is undefined
2534 # and conflicts should be avoided.
2535 # For more information, including usage and the valid values, see:
2536 # https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
2537 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002538 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002539 &quot;diskSizeGb&quot;: 42, # Size of the disk attached to each node, specified in GB.
2540 # The smallest allowed disk size is 10GB.
2541 #
2542 # If unspecified, the default disk size is 100GB.
2543 &quot;workloadMetadataConfig&quot;: { # WorkloadMetadataConfig defines the metadata configuration to expose to # The workload metadata configuration for this node.
2544 # workloads on the node pool.
2545 &quot;nodeMetadata&quot;: &quot;A String&quot;, # NodeMetadata is the configuration for how to expose metadata to the
2546 # workloads running on the node.
2547 &quot;mode&quot;: &quot;A String&quot;, # Mode is the configuration for how to expose metadata to workloads running
2548 # on the node pool.
2549 },
2550 &quot;accelerators&quot;: [ # A list of hardware accelerators to be attached to each node.
2551 # See https://cloud.google.com/compute/docs/gpus for more information about
2552 # support for GPUs.
2553 { # AcceleratorConfig represents a Hardware Accelerator request.
2554 &quot;acceleratorType&quot;: &quot;A String&quot;, # The accelerator type resource name. List of supported accelerators
2555 # [here](https://cloud.google.com/compute/docs/gpus)
2556 &quot;acceleratorCount&quot;: &quot;A String&quot;, # The number of the accelerator cards exposed to an instance.
2557 },
2558 ],
2559 &quot;machineType&quot;: &quot;A String&quot;, # The name of a Google Compute Engine [machine
2560 # type](https://cloud.google.com/compute/docs/machine-types) (e.g.
2561 # `n1-standard-1`).
2562 #
2563 # If unspecified, the default machine type is
2564 # `n1-standard-1`.
2565 &quot;diskType&quot;: &quot;A String&quot;, # Type of the disk attached to each node (e.g. &#x27;pd-standard&#x27; or &#x27;pd-ssd&#x27;)
2566 #
2567 # If unspecified, the default disk type is &#x27;pd-standard&#x27;
2568 &quot;bootDiskKmsKey&quot;: &quot;A String&quot;, #
2569 # The Customer Managed Encryption Key used to encrypt the boot disk attached
2570 # to each node in the node pool. This should be of the form
2571 # projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME].
2572 # For more information about protecting resources with Cloud KMS Keys please
2573 # see:
2574 # https://cloud.google.com/compute/docs/disks/customer-managed-encryption
2575 },
2576 &quot;tpuConfig&quot;: { # Configuration for Cloud TPU. # Configuration for Cloud TPU support;
2577 &quot;useServiceNetworking&quot;: True or False, # Whether to use service networking for Cloud TPU or not.
2578 &quot;ipv4CidrBlock&quot;: &quot;A String&quot;, # IPv4 CIDR block reserved for Cloud TPU in the VPC.
2579 &quot;enabled&quot;: True or False, # Whether Cloud TPU integration is enabled or not.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002580 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002581 &quot;status&quot;: &quot;A String&quot;, # [Output only] The current status of this cluster.
Bu Sun Kim65020912020-05-20 12:08:20 -07002582 &quot;networkConfig&quot;: { # NetworkConfig reports the relative names of network &amp; subnetwork. # Configuration for cluster networking.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002583 &quot;enableIntraNodeVisibility&quot;: True or False, # Whether Intra-node visibility is enabled for this cluster.
2584 # This makes same node pod to pod traffic visible for VPC network.
Bu Sun Kim65020912020-05-20 12:08:20 -07002585 &quot;subnetwork&quot;: &quot;A String&quot;, # Output only. The relative name of the Google Compute Engine
2586 # [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
2587 # cluster is connected. Example:
2588 # projects/my-project/regions/us-central1/subnetworks/my-subnet
2589 &quot;network&quot;: &quot;A String&quot;, # Output only. The relative name of the Google Compute Engine
2590 # network(https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
2591 # to which the cluster is connected. Example:
2592 # projects/my-project/global/networks/my-network
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002593 &quot;defaultSnatStatus&quot;: { # DefaultSnatStatus contains the desired state of whether default sNAT should # Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
2594 # will be disabled when default_snat_status is disabled. When disabled is set
2595 # to false, default IP masquerade rules will be applied to the nodes to
2596 # prevent sNAT on cluster internal traffic.
2597 # be disabled on the cluster.
2598 &quot;disabled&quot;: True or False, # Disables cluster default sNAT rules.
2599 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002600 },
2601 &quot;name&quot;: &quot;A String&quot;, # The name of this cluster. The name must be unique within this project
2602 # and location (e.g. zone or region), and can be up to 40 characters with
2603 # the following restrictions:
2604 #
2605 # * Lowercase letters, numbers, and hyphens only.
2606 # * Must start with a letter.
2607 # * Must end with a number or a letter.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002608 &quot;location&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine
2609 # [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
2610 # or
2611 # [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
2612 # in which the cluster resides.
Bu Sun Kim65020912020-05-20 12:08:20 -07002613 &quot;endpoint&quot;: &quot;A String&quot;, # [Output only] The IP address of this cluster&#x27;s master endpoint.
2614 # The endpoint can be accessed from the internet at
2615 # `https://username:password@endpoint/`.
2616 #
2617 # See the `masterAuth` property of this resource for username and
2618 # password information.
Bu Sun Kim65020912020-05-20 12:08:20 -07002619 &quot;createTime&quot;: &quot;A String&quot;, # [Output only] The time the cluster was created, in
2620 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
2621 &quot;clusterIpv4Cidr&quot;: &quot;A String&quot;, # The IP address range of the container pods in this cluster, in
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002622 # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
2623 # notation (e.g. `10.96.0.0/14`). Leave blank to have
2624 # one automatically chosen or specify a `/14` block in `10.0.0.0/8`.
Bu Sun Kim65020912020-05-20 12:08:20 -07002625 &quot;autoscaling&quot;: { # ClusterAutoscaling contains global, per-cluster information # Cluster-level autoscaling configuration.
2626 # required by Cluster Autoscaler to automatically adjust
2627 # the size of the cluster and create/delete
2628 # node pools based on the current needs.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002629 &quot;autoprovisioningLocations&quot;: [ # The list of Google Compute Engine
2630 # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
2631 # NodePool&#x27;s nodes can be created by NAP.
2632 &quot;A String&quot;,
2633 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002634 &quot;resourceLimits&quot;: [ # Contains global constraints regarding minimum and maximum
2635 # amount of resources in the cluster.
2636 { # Contains information about amount of some resource in the cluster.
2637 # For memory, value should be in GB.
2638 &quot;maximum&quot;: &quot;A String&quot;, # Maximum amount of the resource in the cluster.
2639 &quot;resourceType&quot;: &quot;A String&quot;, # Resource name &quot;cpu&quot;, &quot;memory&quot; or gpu-specific string.
2640 &quot;minimum&quot;: &quot;A String&quot;, # Minimum amount of the resource in the cluster.
2641 },
2642 ],
2643 &quot;autoscalingProfile&quot;: &quot;A String&quot;, # Defines autoscaling behaviour.
2644 &quot;enableNodeAutoprovisioning&quot;: True or False, # Enables automatic node pool creation and deletion.
2645 &quot;autoprovisioningNodePoolDefaults&quot;: { # AutoprovisioningNodePoolDefaults contains defaults for a node pool created # AutoprovisioningNodePoolDefaults contains defaults for a node pool
2646 # created by NAP.
2647 # by NAP.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002648 &quot;serviceAccount&quot;: &quot;A String&quot;, # The Google Cloud Platform Service Account to be used by the node VMs. If
2649 # service_account is specified, scopes should be empty.
2650 &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum CPU platform to be used for NAP created node pools.
2651 # The instance may be scheduled on the specified or newer CPU platform.
2652 # Applicable values are the friendly names of CPU platforms, such as
2653 # &lt;code&gt;minCpuPlatform: &amp;quot;Intel Haswell&amp;quot;&lt;/code&gt; or
2654 # &lt;code&gt;minCpuPlatform: &amp;quot;Intel Sandy Bridge&amp;quot;&lt;/code&gt;. For more
2655 # information, read [how to specify min CPU
2656 # platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
2657 # To unset the min cpu platform field pass &quot;automatic&quot; as field value.
Bu Sun Kim65020912020-05-20 12:08:20 -07002658 &quot;management&quot;: { # NodeManagement defines the set of node management services turned on for the # Specifies the node management options for NAP created node-pools.
2659 # node pool.
Bu Sun Kim65020912020-05-20 12:08:20 -07002660 &quot;autoRepair&quot;: True or False, # Whether the nodes will be automatically repaired.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002661 &quot;autoUpgrade&quot;: True or False, # Whether the nodes will be automatically upgraded.
Bu Sun Kim65020912020-05-20 12:08:20 -07002662 &quot;upgradeOptions&quot;: { # AutoUpgradeOptions defines the set of options for the user to control how # Specifies the Auto Upgrade knobs for the node pool.
2663 # the Auto Upgrades will proceed.
2664 &quot;description&quot;: &quot;A String&quot;, # [Output only] This field is set when upgrades are about to commence
2665 # with the description of the upgrade.
2666 &quot;autoUpgradeStartTime&quot;: &quot;A String&quot;, # [Output only] This field is set when upgrades are about to commence
2667 # with the approximate start time for the upgrades, in
2668 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
2669 },
2670 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002671 &quot;oauthScopes&quot;: [ # Scopes that are used by NAP when creating node pools. If oauth_scopes are
2672 # specified, service_account should be empty.
2673 &quot;A String&quot;,
2674 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002675 &quot;upgradeSettings&quot;: { # These upgrade settings control the level of parallelism and the level of # Specifies the upgrade settings for NAP created node pools
2676 # disruption caused by an upgrade.
2677 #
2678 # maxUnavailable controls the number of nodes that can be simultaneously
2679 # unavailable.
2680 #
2681 # maxSurge controls the number of additional nodes that can be added to the
2682 # node pool temporarily for the time of the upgrade to increase the number of
2683 # available nodes.
2684 #
2685 # (maxUnavailable + maxSurge) determines the level of parallelism (how many
2686 # nodes are being upgraded at the same time).
2687 #
2688 # Note: upgrades inevitably introduce some disruption since workloads need to
2689 # be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0,
2690 # this holds true. (Disruption stays within the limits of
2691 # PodDisruptionBudget, if it is configured.)
2692 #
2693 # Consider a hypothetical node pool with 5 nodes having maxSurge=2,
2694 # maxUnavailable=1. This means the upgrade process upgrades 3 nodes
2695 # simultaneously. It creates 2 additional (upgraded) nodes, then it brings
2696 # down 3 old (not yet upgraded) nodes at the same time. This ensures that
2697 # there are always at least 4 nodes available.
Bu Sun Kim65020912020-05-20 12:08:20 -07002698 &quot;maxUnavailable&quot;: 42, # The maximum number of nodes that can be simultaneously unavailable during
2699 # the upgrade process. A node is considered available if its status is
2700 # Ready.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002701 &quot;maxSurge&quot;: 42, # The maximum number of nodes that can be created beyond the current size
2702 # of the node pool during the upgrade process.
Bu Sun Kim65020912020-05-20 12:08:20 -07002703 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002704 },
Dan O'Mearadd494642020-05-01 07:42:23 -07002705 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002706 &quot;initialNodeCount&quot;: 42, # The number of nodes to create in this cluster. You must ensure that your
2707 # Compute Engine &lt;a href=&quot;/compute/docs/resource-quotas&quot;&gt;resource quota&lt;/a&gt;
Dan O'Mearadd494642020-05-01 07:42:23 -07002708 # is sufficient for this number of instances. You must also have available
2709 # firewall and routes quota.
2710 # For requests, this field should only be used in lieu of a
Bu Sun Kim65020912020-05-20 12:08:20 -07002711 # &quot;node_pool&quot; object, since this configuration (along with the
2712 # &quot;node_config&quot;) will be used to create a &quot;NodePool&quot; object with an
Dan O'Mearadd494642020-05-01 07:42:23 -07002713 # auto-generated name. Do not use this and a node_pool at the same time.
2714 #
2715 # This field is deprecated, use node_pool.initial_node_count instead.
Bu Sun Kim65020912020-05-20 12:08:20 -07002716 &quot;instanceGroupUrls&quot;: [ # Deprecated. Use node_pools.instance_group_urls.
2717 &quot;A String&quot;,
2718 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002719 }</pre>
2720</div>
2721
2722<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07002723 <code class="details" id="legacyAbac">legacyAbac(projectId, zone, clusterId, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002724 <pre>Enables or disables the ABAC authorization mechanism on a cluster.
2725
2726Args:
Dan O'Mearadd494642020-05-01 07:42:23 -07002727 projectId: string, Required. Deprecated. The Google Developers Console [project ID or project
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002728number](https://support.google.com/cloud/answer/6158840).
2729This field has been deprecated and replaced by the name field. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07002730 zone: string, Required. Deprecated. The name of the Google Compute Engine
2731[zone](https://cloud.google.com/compute/docs/zones#available) in which the
2732cluster resides. This field has been deprecated and replaced by the name
2733field. (required)
2734 clusterId: string, Required. Deprecated. The name of the cluster to update.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002735This field has been deprecated and replaced by the name field. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07002736 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002737 The object takes the form of:
2738
2739{ # SetLegacyAbacRequest enables or disables the ABAC authorization mechanism for
2740 # a cluster.
Bu Sun Kim65020912020-05-20 12:08:20 -07002741 &quot;name&quot;: &quot;A String&quot;, # The name (project, location, cluster id) of the cluster to set legacy abac.
2742 # Specified in the format `projects/*/locations/*/clusters/*`.
2743 &quot;enabled&quot;: True or False, # Required. Whether ABAC authorization will be enabled in the cluster.
2744 &quot;projectId&quot;: &quot;A String&quot;, # Required. Deprecated. The Google Developers Console [project ID or project
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002745 # number](https://support.google.com/cloud/answer/6158840).
2746 # This field has been deprecated and replaced by the name field.
Bu Sun Kim65020912020-05-20 12:08:20 -07002747 &quot;zone&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the Google Compute Engine
Dan O'Mearadd494642020-05-01 07:42:23 -07002748 # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
2749 # cluster resides. This field has been deprecated and replaced by the name
2750 # field.
Bu Sun Kim65020912020-05-20 12:08:20 -07002751 &quot;clusterId&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the cluster to update.
2752 # This field has been deprecated and replaced by the name field.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002753 }
2754
2755 x__xgafv: string, V1 error format.
2756 Allowed values
2757 1 - v1 error format
2758 2 - v2 error format
2759
2760Returns:
2761 An object of the form:
2762
2763 { # This operation resource represents operations that may have happened or are
2764 # happening on the cluster. All fields are output only.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002765 &quot;targetLink&quot;: &quot;A String&quot;, # Server-defined URL for the target of the operation.
2766 &quot;detail&quot;: &quot;A String&quot;, # Detailed operation progress, if available.
2767 &quot;operationType&quot;: &quot;A String&quot;, # The operation type.
2768 &quot;status&quot;: &quot;A String&quot;, # The current status of the operation.
2769 &quot;name&quot;: &quot;A String&quot;, # The server-assigned ID for the operation.
Bu Sun Kim65020912020-05-20 12:08:20 -07002770 &quot;nodepoolConditions&quot;: [ # Which conditions caused the current node pool state.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002771 { # StatusCondition describes why a cluster or a node pool has a certain status
2772 # (e.g., ERROR or DEGRADED).
Bu Sun Kim65020912020-05-20 12:08:20 -07002773 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
2774 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002775 },
2776 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002777 &quot;endTime&quot;: &quot;A String&quot;, # [Output only] The time the operation completed, in
2778 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
Bu Sun Kim65020912020-05-20 12:08:20 -07002779 &quot;location&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine
Dan O'Mearadd494642020-05-01 07:42:23 -07002780 # [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
2781 # or
2782 # [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
2783 # in which the cluster resides.
Bu Sun Kim65020912020-05-20 12:08:20 -07002784 &quot;startTime&quot;: &quot;A String&quot;, # [Output only] The time the operation started, in
2785 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
2786 &quot;clusterConditions&quot;: [ # Which conditions caused the current cluster state.
2787 { # StatusCondition describes why a cluster or a node pool has a certain status
2788 # (e.g., ERROR or DEGRADED).
2789 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
2790 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
2791 },
2792 ],
2793 &quot;progress&quot;: { # Information about operation (or operation stage) progress. # Output only. [Output only] Progress information for an operation.
Bu Sun Kim65020912020-05-20 12:08:20 -07002794 &quot;metrics&quot;: [ # Progress metric bundle, for example:
2795 # metrics: [{name: &quot;nodes done&quot;, int_value: 15},
2796 # {name: &quot;nodes total&quot;, int_value: 32}]
2797 # or
2798 # metrics: [{name: &quot;progress&quot;, double_value: 0.56},
2799 # {name: &quot;progress scale&quot;, double_value: 1.0}]
2800 { # Progress metric is (string, int|float|string) pair.
2801 &quot;name&quot;: &quot;A String&quot;, # Required. Metric name, e.g., &quot;nodes total&quot;, &quot;percent done&quot;.
2802 &quot;doubleValue&quot;: 3.14, # For metrics with floating point value.
2803 &quot;intValue&quot;: &quot;A String&quot;, # For metrics with integer value.
2804 &quot;stringValue&quot;: &quot;A String&quot;, # For metrics with custom values (ratios, visual progress, etc.).
2805 },
2806 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002807 &quot;status&quot;: &quot;A String&quot;, # Status of an operation stage.
2808 # Unset for single-stage operations.
Bu Sun Kim65020912020-05-20 12:08:20 -07002809 &quot;name&quot;: &quot;A String&quot;, # A non-parameterized string describing an operation stage.
2810 # Unset for single-stage operations.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002811 &quot;stages&quot;: [ # Substages of an operation or a stage.
2812 # Object with schema name: OperationProgress
2813 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002814 },
2815 &quot;zone&quot;: &quot;A String&quot;, # The name of the Google Compute Engine
2816 # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
2817 # operation is taking place. This field is deprecated, use location instead.
2818 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. If an error has occurred, a textual description of the error.
2819 &quot;selfLink&quot;: &quot;A String&quot;, # Server-defined URL for the resource.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002820 }</pre>
2821</div>
2822
2823<div class="method">
2824 <code class="details" id="list">list(projectId, zone, parent=None, x__xgafv=None)</code>
2825 <pre>Lists all clusters owned by a project in either the specified zone or all
2826zones.
2827
2828Args:
Dan O'Mearadd494642020-05-01 07:42:23 -07002829 projectId: string, Required. Deprecated. The Google Developers Console [project ID or project
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002830number](https://support.google.com/cloud/answer/6158840).
2831This field has been deprecated and replaced by the parent field. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07002832 zone: string, Required. Deprecated. The name of the Google Compute Engine
2833[zone](https://cloud.google.com/compute/docs/zones#available) in which the
Bu Sun Kim65020912020-05-20 12:08:20 -07002834cluster resides, or &quot;-&quot; for all zones. This field has been deprecated and
Dan O'Mearadd494642020-05-01 07:42:23 -07002835replaced by the parent field. (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002836 parent: string, The parent (project and location) where the clusters will be listed.
Bu Sun Kim65020912020-05-20 12:08:20 -07002837Specified in the format `projects/*/locations/*`.
2838Location &quot;-&quot; matches all zones and all regions.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002839 x__xgafv: string, V1 error format.
2840 Allowed values
2841 1 - v1 error format
2842 2 - v2 error format
2843
2844Returns:
2845 An object of the form:
2846
2847 { # ListClustersResponse is the result of ListClustersRequest.
Bu Sun Kim65020912020-05-20 12:08:20 -07002848 &quot;clusters&quot;: [ # A list of clusters in the project in the specified zone, or
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002849 # across all ones.
2850 { # A Google Kubernetes Engine cluster.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002851 &quot;privateClusterConfig&quot;: { # Configuration options for private clusters. # Configuration for private cluster.
2852 &quot;masterIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP range in CIDR notation to use for the hosted master network. This
2853 # range will be used for assigning internal IP addresses to the master or
2854 # set of masters, as well as the ILB VIP. This range must not overlap with
2855 # any other ranges in use within the cluster&#x27;s network.
2856 &quot;enablePrivateNodes&quot;: True or False, # Whether nodes have internal IP addresses only. If enabled, all nodes are
2857 # given only RFC 1918 private addresses and communicate with the master via
2858 # private networking.
2859 &quot;privateEndpoint&quot;: &quot;A String&quot;, # Output only. The internal IP address of this cluster&#x27;s master endpoint.
2860 &quot;enablePrivateEndpoint&quot;: True or False, # Whether the master&#x27;s internal IP address is used as the cluster endpoint.
2861 &quot;peeringName&quot;: &quot;A String&quot;, # Output only. The peering name in the customer VPC used by this cluster.
2862 &quot;masterGlobalAccessConfig&quot;: { # Configuration for controlling master global access settings. # Controls master global access settings.
2863 &quot;enabled&quot;: True or False, # Whenever master is accessible globally or not.
2864 },
2865 &quot;publicEndpoint&quot;: &quot;A String&quot;, # Output only. The external IP address of this cluster&#x27;s master endpoint.
2866 },
2867 &quot;shieldedNodes&quot;: { # Configuration of Shielded Nodes feature. # Shielded Nodes configuration.
2868 &quot;enabled&quot;: True or False, # Whether Shielded Nodes features are enabled on all nodes in this cluster.
2869 },
2870 &quot;verticalPodAutoscaling&quot;: { # VerticalPodAutoscaling contains global, per-cluster information # Cluster-level Vertical Pod Autoscaling configuration.
2871 # required by Vertical Pod Autoscaler to automatically adjust
2872 # the resources of pods controlled by it.
2873 &quot;enabled&quot;: True or False, # Enables vertical pod autoscaling.
2874 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002875 &quot;defaultMaxPodsConstraint&quot;: { # Constraints applied to pods. # The default constraint on the maximum number of pods that can be run
2876 # simultaneously on a node in the node pool of this cluster. Only honored
2877 # if cluster created with IP Alias support.
2878 &quot;maxPodsPerNode&quot;: &quot;A String&quot;, # Constraint enforced on the max num of pods per node.
2879 },
2880 &quot;network&quot;: &quot;A String&quot;, # The name of the Google Compute Engine
2881 # [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
2882 # to which the cluster is connected. If left unspecified, the `default`
2883 # network will be used. On output this shows the network ID instead of the
2884 # name.
2885 &quot;labelFingerprint&quot;: &quot;A String&quot;, # The fingerprint of the set of labels for this cluster.
2886 &quot;nodeIpv4CidrSize&quot;: 42, # [Output only] The size of the address space on each node for hosting
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002887 # containers. This is provisioned from within the `container_ipv4_cidr`
2888 # range. This field will only be set when cluster is in route-based network
2889 # mode.
Bu Sun Kim65020912020-05-20 12:08:20 -07002890 &quot;masterAuthorizedNetworksConfig&quot;: { # Configuration options for the master authorized networks feature. Enabled # The configuration options for master authorized networks feature.
2891 # master authorized networks will disallow all external traffic to access
2892 # Kubernetes master through HTTPS except traffic from the given CIDR blocks,
2893 # Google Compute Engine Public IPs and Google Prod IPs.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002894 &quot;enabled&quot;: True or False, # Whether or not master authorized networks is enabled.
Bu Sun Kim65020912020-05-20 12:08:20 -07002895 &quot;cidrBlocks&quot;: [ # cidr_blocks define up to 10 external networks that could access
2896 # Kubernetes master through HTTPS.
2897 { # CidrBlock contains an optional name and one CIDR block.
Bu Sun Kim65020912020-05-20 12:08:20 -07002898 &quot;cidrBlock&quot;: &quot;A String&quot;, # cidr_block must be specified in CIDR notation.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002899 &quot;displayName&quot;: &quot;A String&quot;, # display_name is an optional field for users to identify CIDR blocks.
Bu Sun Kim65020912020-05-20 12:08:20 -07002900 },
2901 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07002902 },
2903 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output only] Additional information about the current status of this
2904 # cluster, if available.
2905 &quot;masterAuth&quot;: { # The authentication information for accessing the master endpoint. # The authentication information for accessing the master endpoint.
2906 # If unspecified, the defaults are used:
2907 # For clusters before v1.12, if master_auth is unspecified, `username` will
2908 # be set to &quot;admin&quot;, a random password will be generated, and a client
2909 # certificate will be issued.
2910 # Authentication can be done using HTTP basic auth or using client
2911 # certificates.
2912 &quot;password&quot;: &quot;A String&quot;, # The password to use for HTTP basic authentication to the master endpoint.
2913 # Because the master endpoint is open to the Internet, you should create a
2914 # strong password. If a password is provided for cluster creation, username
2915 # must be non-empty.
2916 &quot;clientCertificateConfig&quot;: { # Configuration for client certificates on the cluster. # Configuration for client certificate authentication on the cluster. For
2917 # clusters before v1.12, if no configuration is specified, a client
2918 # certificate is issued.
2919 &quot;issueClientCertificate&quot;: True or False, # Issue a client certificate.
2920 },
2921 &quot;clientKey&quot;: &quot;A String&quot;, # [Output only] Base64-encoded private key used by clients to authenticate
2922 # to the cluster endpoint.
2923 &quot;clusterCaCertificate&quot;: &quot;A String&quot;,
2924 &quot;clientCertificate&quot;: &quot;A String&quot;, # [Output only] Base64-encoded public certificate used by clients to
2925 # authenticate to the cluster endpoint.
2926 &quot;username&quot;: &quot;A String&quot;, # The username to use for HTTP basic authentication to the master endpoint.
2927 # For clusters v1.6.0 and later, basic authentication can be disabled by
2928 # leaving username unspecified (or setting it to the empty string).
2929 },
2930 &quot;authenticatorGroupsConfig&quot;: { # Configuration for returning group information from authenticators. # Configuration controlling RBAC group membership information.
Bu Sun Kim65020912020-05-20 12:08:20 -07002931 &quot;securityGroup&quot;: &quot;A String&quot;, # The name of the security group-of-groups to be used. Only relevant
2932 # if enabled = true.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002933 &quot;enabled&quot;: True or False, # Whether this cluster should return group membership lookups
2934 # during authentication using a group of security groups.
Bu Sun Kim65020912020-05-20 12:08:20 -07002935 },
2936 &quot;masterIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP prefix in CIDR notation to use for the hosted master network.
2937 # This prefix will be used for assigning private IP addresses to the
2938 # master or set of masters, as well as the ILB VIP.
2939 # This field is deprecated, use
2940 # private_cluster_config.master_ipv4_cidr_block instead.
2941 &quot;clusterTelemetry&quot;: { # Telemetry integration for the cluster. # Telemetry integration for the cluster.
2942 &quot;type&quot;: &quot;A String&quot;, # Type of the integration.
2943 },
2944 &quot;currentMasterVersion&quot;: &quot;A String&quot;, # [Output only] The current software version of the master endpoint.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002945 &quot;podSecurityPolicyConfig&quot;: { # Configuration for the PodSecurityPolicy feature. # Configuration for the PodSecurityPolicy feature.
2946 &quot;enabled&quot;: True or False, # Enable the PodSecurityPolicy controller for this cluster. If enabled, pods
2947 # must be valid under a PodSecurityPolicy to be created.
2948 },
Bu Sun Kim65020912020-05-20 12:08:20 -07002949 &quot;addonsConfig&quot;: { # Configuration for the addons that can be automatically spun up in the # Configurations for the various addons available to run in the cluster.
2950 # cluster, enabling additional functionality.
Bu Sun Kim65020912020-05-20 12:08:20 -07002951 &quot;httpLoadBalancing&quot;: { # Configuration options for the HTTP (L7) load balancing controller addon, # Configuration for the HTTP (L7) load balancing controller addon, which
2952 # makes it easy to set up HTTP load balancers for services in a cluster.
2953 # which makes it easy to set up HTTP load balancers for services in a cluster.
2954 &quot;disabled&quot;: True or False, # Whether the HTTP Load Balancing controller is enabled in the cluster.
2955 # When enabled, it runs a small pod in the cluster that manages the load
2956 # balancers.
2957 },
2958 &quot;kubernetesDashboard&quot;: { # Configuration for the Kubernetes Dashboard. # Configuration for the Kubernetes Dashboard.
2959 # This addon is deprecated, and will be disabled in 1.15. It is recommended
2960 # to use the Cloud Console to manage and monitor your Kubernetes clusters,
2961 # workloads and applications. For more information, see:
2962 # https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
2963 &quot;disabled&quot;: True or False, # Whether the Kubernetes Dashboard is enabled for this cluster.
2964 },
2965 &quot;dnsCacheConfig&quot;: { # Configuration for NodeLocal DNSCache # Configuration for NodeLocalDNS, a dns cache running on cluster nodes
2966 &quot;enabled&quot;: True or False, # Whether NodeLocal DNSCache is enabled for this cluster.
2967 },
2968 &quot;kalmConfig&quot;: { # Configuration options for the KALM addon. # Configuration for the KALM addon, which manages the lifecycle of k8s
2969 # applications.
2970 &quot;enabled&quot;: True or False, # Whether KALM is enabled for this cluster.
2971 },
2972 &quot;gcePersistentDiskCsiDriverConfig&quot;: { # Configuration for the Compute Engine PD CSI driver. This option can only be # Configuration for the Compute Engine Persistent Disk CSI driver.
2973 # enabled at cluster creation time.
2974 &quot;enabled&quot;: True or False, # Whether the Compute Engine PD CSI driver is enabled for this cluster.
2975 },
2976 &quot;istioConfig&quot;: { # Configuration options for Istio addon. # Configuration for Istio, an open platform to connect, manage, and secure
2977 # microservices.
Bu Sun Kim65020912020-05-20 12:08:20 -07002978 &quot;auth&quot;: &quot;A String&quot;, # The specified Istio auth mode, either none, or mutual TLS.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07002979 &quot;disabled&quot;: True or False, # Whether Istio is enabled for this cluster.
2980 },
2981 &quot;networkPolicyConfig&quot;: { # Configuration for NetworkPolicy. This only tracks whether the addon # Configuration for NetworkPolicy. This only tracks whether the addon
2982 # is enabled or not on the Master, it does not track whether network policy
2983 # is enabled for the nodes.
2984 # is enabled or not on the Master, it does not track whether network policy
2985 # is enabled for the nodes.
2986 &quot;disabled&quot;: True or False, # Whether NetworkPolicy is enabled for this cluster.
2987 },
2988 &quot;cloudRunConfig&quot;: { # Configuration options for the Cloud Run feature. # Configuration for the Cloud Run addon. The `IstioConfig` addon must be
2989 # enabled in order to enable Cloud Run addon. This option can only be enabled
2990 # at cluster creation time.
2991 &quot;disabled&quot;: True or False, # Whether Cloud Run addon is enabled for this cluster.
2992 },
2993 &quot;configConnectorConfig&quot;: { # Configuration options for the Config Connector add-on. # Configuration for the ConfigConnector add-on, a Kubernetes
2994 # extension to manage hosted GCP services through the Kubernetes API
2995 &quot;enabled&quot;: True or False, # Whether Cloud Connector is enabled for this cluster.
2996 },
2997 &quot;horizontalPodAutoscaling&quot;: { # Configuration options for the horizontal pod autoscaling feature, which # Configuration for the horizontal pod autoscaling feature, which
2998 # increases or decreases the number of replica pods a replication controller
2999 # has based on the resource usage of the existing pods.
3000 # increases or decreases the number of replica pods a replication controller
3001 # has based on the resource usage of the existing pods.
3002 &quot;disabled&quot;: True or False, # Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
3003 # When enabled, it ensures that metrics are collected into Stackdriver
3004 # Monitoring.
Bu Sun Kim65020912020-05-20 12:08:20 -07003005 },
3006 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003007 &quot;subnetwork&quot;: &quot;A String&quot;, # The name of the Google Compute Engine
3008 # [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which
3009 # the cluster is connected. On output this shows the subnetwork ID instead of
3010 # the name.
Bu Sun Kim65020912020-05-20 12:08:20 -07003011 &quot;currentNodeVersion&quot;: &quot;A String&quot;, # [Output only] Deprecated, use
3012 # [NodePool.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters.nodePools)
3013 # instead. The current version of the node software components.
3014 # If they are currently at multiple versions because they&#x27;re in the process
3015 # of being upgraded, this reflects the minimum version of all nodes.
Bu Sun Kim65020912020-05-20 12:08:20 -07003016 &quot;maintenancePolicy&quot;: { # MaintenancePolicy defines the maintenance policy to be used for the cluster. # Configure the maintenance policy for this cluster.
Bu Sun Kim65020912020-05-20 12:08:20 -07003017 &quot;window&quot;: { # MaintenanceWindow defines the maintenance window to be used for the cluster. # Specifies the maintenance window in which maintenance may be performed.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003018 &quot;maintenanceExclusions&quot;: { # Exceptions to maintenance window. Non-emergency maintenance should not
3019 # occur in these windows.
3020 &quot;a_key&quot;: { # Represents an arbitrary window of time.
3021 &quot;startTime&quot;: &quot;A String&quot;, # The time that the window first starts.
3022 &quot;endTime&quot;: &quot;A String&quot;, # The time that the window ends. The end time should take place after the
3023 # start time.
3024 },
Bu Sun Kim65020912020-05-20 12:08:20 -07003025 },
3026 &quot;recurringWindow&quot;: { # Represents an arbitrary window of time that recurs. # RecurringWindow specifies some number of recurring time periods for
Dan O'Mearadd494642020-05-01 07:42:23 -07003027 # maintenance to occur. The time windows may be overlapping. If no
3028 # maintenance windows are set, maintenance can occur at any time.
Bu Sun Kim65020912020-05-20 12:08:20 -07003029 &quot;recurrence&quot;: &quot;A String&quot;, # An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
Dan O'Mearadd494642020-05-01 07:42:23 -07003030 # this window reccurs. They go on for the span of time between the start and
3031 # end time.
3032 #
Bu Sun Kim65020912020-05-20 12:08:20 -07003033 # For example, to have something repeat every weekday, you&#x27;d use:
Dan O'Mearadd494642020-05-01 07:42:23 -07003034 # &lt;code&gt;FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR&lt;/code&gt;
3035 # To repeat some window daily (equivalent to the DailyMaintenanceWindow):
3036 # &lt;code&gt;FREQ=DAILY&lt;/code&gt;
3037 # For the first weekend of every month:
3038 # &lt;code&gt;FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU&lt;/code&gt;
3039 # This specifies how frequently the window starts. Eg, if you wanted to have
Bu Sun Kim65020912020-05-20 12:08:20 -07003040 # a 9-5 UTC-4 window every weekday, you&#x27;d use something like:
Dan O'Mearadd494642020-05-01 07:42:23 -07003041 # &lt;code&gt;
3042 # start time = 2019-01-01T09:00:00-0400
3043 # end time = 2019-01-01T17:00:00-0400
3044 # recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR
3045 # &lt;/code&gt;
3046 # Windows can span multiple days. Eg, to make the window encompass every
3047 # weekend from midnight Saturday till the last minute of Sunday UTC:
3048 # &lt;code&gt;
3049 # start time = 2019-01-05T00:00:00Z
3050 # end time = 2019-01-07T23:59:00Z
3051 # recurrence = FREQ=WEEKLY;BYDAY=SA
3052 # &lt;/code&gt;
Bu Sun Kim65020912020-05-20 12:08:20 -07003053 # Note the start and end time&#x27;s specific dates are largely arbitrary except
Dan O'Mearadd494642020-05-01 07:42:23 -07003054 # to specify duration of the window and when it first starts.
3055 # The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.
Bu Sun Kim65020912020-05-20 12:08:20 -07003056 &quot;window&quot;: { # Represents an arbitrary window of time. # The window of the first recurrence.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003057 &quot;startTime&quot;: &quot;A String&quot;, # The time that the window first starts.
Bu Sun Kim65020912020-05-20 12:08:20 -07003058 &quot;endTime&quot;: &quot;A String&quot;, # The time that the window ends. The end time should take place after the
Dan O'Mearadd494642020-05-01 07:42:23 -07003059 # start time.
Dan O'Mearadd494642020-05-01 07:42:23 -07003060 },
3061 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003062 &quot;dailyMaintenanceWindow&quot;: { # Time window specified for daily maintenance operations. # DailyMaintenanceWindow specifies a daily maintenance operation window.
3063 &quot;duration&quot;: &quot;A String&quot;, # [Output only] Duration of the time window, automatically chosen to be
3064 # smallest possible in the given scenario.
3065 &quot;startTime&quot;: &quot;A String&quot;, # Time within the maintenance window to start the maintenance operations.
3066 # It must be in format &quot;HH:MM&quot;, where HH : [00-23] and MM : [00-59] GMT.
Dan O'Mearadd494642020-05-01 07:42:23 -07003067 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003068 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003069 &quot;resourceVersion&quot;: &quot;A String&quot;, # A hash identifying the version of this policy, so that updates to fields of
3070 # the policy won&#x27;t accidentally undo intermediate changes (and so that users
3071 # of the API unaware of some fields won&#x27;t accidentally remove other fields).
3072 # Make a &lt;code&gt;get()&lt;/code&gt; request to the cluster to get the current
3073 # resource version and include it with requests to set the policy.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003074 },
Bu Sun Kim65020912020-05-20 12:08:20 -07003075 &quot;resourceLabels&quot;: { # The resource labels for the cluster to use to annotate any related
3076 # Google Compute Engine resources.
3077 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003078 },
Bu Sun Kim65020912020-05-20 12:08:20 -07003079 &quot;initialClusterVersion&quot;: &quot;A String&quot;, # The initial Kubernetes version for this cluster. Valid versions are those
3080 # found in validMasterVersions returned by getServerConfig. The version can
3081 # be upgraded over time; such upgrades are reflected in
3082 # currentMasterVersion and currentNodeVersion.
Dan O'Mearadd494642020-05-01 07:42:23 -07003083 #
Bu Sun Kim65020912020-05-20 12:08:20 -07003084 # Users may specify either explicit versions offered by
3085 # Kubernetes Engine or version aliases, which have the following behavior:
Dan O'Mearadd494642020-05-01 07:42:23 -07003086 #
Bu Sun Kim65020912020-05-20 12:08:20 -07003087 # - &quot;latest&quot;: picks the highest valid Kubernetes version
3088 # - &quot;1.X&quot;: picks the highest valid patch+gke.N patch in the 1.X version
3089 # - &quot;1.X.Y&quot;: picks the highest valid gke.N patch in the 1.X.Y version
3090 # - &quot;1.X.Y-gke.N&quot;: picks an explicit Kubernetes version
3091 # - &quot;&quot;,&quot;-&quot;: picks the default Kubernetes version
3092 &quot;ipAllocationPolicy&quot;: { # Configuration for controlling how IPs are allocated in the cluster. # Configuration for cluster IP allocation.
3093 &quot;useRoutes&quot;: True or False, # Whether routes will be used for pod IPs in the cluster.
3094 # This is used in conjunction with use_ip_aliases. It cannot be true if
3095 # use_ip_aliases is true. If both use_ip_aliases and use_routes are false,
3096 # then the server picks the default IP allocation mode
3097 &quot;servicesIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP address range of the services IPs in this cluster. If blank, a range
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003098 # will be automatically chosen with the default size.
3099 #
3100 # This field is only applicable when `use_ip_aliases` is true.
3101 #
3102 # Set to blank to have a range chosen with the default size.
3103 #
3104 # Set to /netmask (e.g. `/14`) to have a range chosen with a specific
3105 # netmask.
3106 #
3107 # Set to a
3108 # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
3109 # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
3110 # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
3111 # to use.
Bu Sun Kim65020912020-05-20 12:08:20 -07003112 &quot;allowRouteOverlap&quot;: True or False, # If true, allow allocation of cluster CIDR ranges that overlap with certain
3113 # kinds of network routes. By default we do not allow cluster CIDR ranges to
3114 # intersect with any user declared routes. With allow_route_overlap == true,
3115 # we allow overlapping with CIDR ranges that are larger than the cluster CIDR
3116 # range.
3117 #
3118 # If this field is set to true, then cluster and services CIDRs must be
3119 # fully-specified (e.g. `10.96.0.0/14`, but not `/14`), which means:
3120 # 1) When `use_ip_aliases` is true, `cluster_ipv4_cidr_block` and
3121 # `services_ipv4_cidr_block` must be fully-specified.
3122 # 2) When `use_ip_aliases` is false, `cluster.cluster_ipv4_cidr` muse be
3123 # fully-specified.
3124 &quot;nodeIpv4Cidr&quot;: &quot;A String&quot;, # This field is deprecated, use node_ipv4_cidr_block.
3125 &quot;clusterIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP address range for the cluster pod IPs. If this field is set, then
3126 # `cluster.cluster_ipv4_cidr` must be left blank.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003127 #
3128 # This field is only applicable when `use_ip_aliases` is true.
Bu Sun Kim65020912020-05-20 12:08:20 -07003129 #
3130 # Set to blank to have a range chosen with the default size.
3131 #
3132 # Set to /netmask (e.g. `/14`) to have a range chosen with a specific
3133 # netmask.
3134 #
3135 # Set to a
3136 # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
3137 # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
3138 # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
3139 # to use.
3140 &quot;clusterSecondaryRangeName&quot;: &quot;A String&quot;, # The name of the secondary range to be used for the cluster CIDR
3141 # block. The secondary range will be used for pod IP
3142 # addresses. This must be an existing secondary range associated
3143 # with the cluster subnetwork.
3144 #
3145 # This field is only applicable with use_ip_aliases and
3146 # create_subnetwork is false.
3147 &quot;nodeIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP address range of the instance IPs in this cluster.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003148 #
3149 # This is applicable only if `create_subnetwork` is true.
3150 #
3151 # Set to blank to have a range chosen with the default size.
3152 #
3153 # Set to /netmask (e.g. `/14`) to have a range chosen with a specific
3154 # netmask.
3155 #
3156 # Set to a
3157 # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
3158 # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
3159 # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
3160 # to use.
Bu Sun Kim65020912020-05-20 12:08:20 -07003161 &quot;tpuIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP address range of the Cloud TPUs in this cluster. If unspecified, a
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003162 # range will be automatically chosen with the default size.
3163 #
3164 # This field is only applicable when `use_ip_aliases` is true.
3165 #
3166 # If unspecified, the range will use the default size.
3167 #
3168 # Set to /netmask (e.g. `/14`) to have a range chosen with a specific
3169 # netmask.
3170 #
3171 # Set to a
3172 # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
3173 # notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.
3174 # `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range
3175 # to use.
Dan O'Mearadd494642020-05-01 07:42:23 -07003176 # This field is deprecated, use cluster.tpu_config.ipv4_cidr_block instead.
Bu Sun Kim65020912020-05-20 12:08:20 -07003177 &quot;servicesSecondaryRangeName&quot;: &quot;A String&quot;, # The name of the secondary range to be used as for the services
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003178 # CIDR block. The secondary range will be used for service
3179 # ClusterIPs. This must be an existing secondary range associated
3180 # with the cluster subnetwork.
3181 #
3182 # This field is only applicable with use_ip_aliases and
3183 # create_subnetwork is false.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003184 &quot;createSubnetwork&quot;: True or False, # Whether a new subnetwork will be created automatically for the cluster.
3185 #
3186 # This field is only applicable when `use_ip_aliases` is true.
Bu Sun Kim65020912020-05-20 12:08:20 -07003187 &quot;useIpAliases&quot;: True or False, # Whether alias IPs will be used for pod IPs in the cluster.
3188 # This is used in conjunction with use_routes. It cannot
3189 # be true if use_routes is true. If both use_ip_aliases and use_routes are
3190 # false, then the server picks the default IP allocation mode
Bu Sun Kim65020912020-05-20 12:08:20 -07003191 &quot;subnetworkName&quot;: &quot;A String&quot;, # A custom subnetwork name to be used if `create_subnetwork` is true. If
3192 # this field is empty, then an automatic name will be chosen for the new
3193 # subnetwork.
3194 &quot;clusterIpv4Cidr&quot;: &quot;A String&quot;, # This field is deprecated, use cluster_ipv4_cidr_block.
3195 &quot;servicesIpv4Cidr&quot;: &quot;A String&quot;, # This field is deprecated, use services_ipv4_cidr_block.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003196 },
Bu Sun Kim65020912020-05-20 12:08:20 -07003197 &quot;legacyAbac&quot;: { # Configuration for the legacy Attribute Based Access Control authorization # Configuration for the legacy ABAC authorization mode.
3198 # mode.
3199 &quot;enabled&quot;: True or False, # Whether the ABAC authorizer is enabled for this cluster. When enabled,
3200 # identities in the system, including service accounts, nodes, and
3201 # controllers, will have statically granted permissions beyond those
3202 # provided by the RBAC configuration or IAM.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003203 },
Bu Sun Kim65020912020-05-20 12:08:20 -07003204 &quot;resourceUsageExportConfig&quot;: { # Configuration for exporting cluster resource usages. # Configuration for exporting resource usages. Resource usage export is
3205 # disabled when this config unspecified.
3206 &quot;enableNetworkEgressMetering&quot;: True or False, # Whether to enable network egress metering for this cluster. If enabled, a
3207 # daemonset will be created in the cluster to meter network egress traffic.
3208 &quot;consumptionMeteringConfig&quot;: { # Parameters for controlling consumption metering. # Configuration to enable resource consumption metering.
3209 &quot;enabled&quot;: True or False, # Whether to enable consumption metering for this cluster. If enabled, a
3210 # second BigQuery table will be created to hold resource consumption
3211 # records.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003212 },
Bu Sun Kim65020912020-05-20 12:08:20 -07003213 &quot;bigqueryDestination&quot;: { # Parameters for using BigQuery as the destination of resource usage export. # Configuration to use BigQuery as usage export destination.
3214 &quot;datasetId&quot;: &quot;A String&quot;, # The ID of a BigQuery Dataset.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003215 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003216 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003217 &quot;enableTpu&quot;: True or False, # Enable the ability to use Cloud TPUs in this cluster.
3218 # This field is deprecated, use tpu_config.enabled instead.
Bu Sun Kim65020912020-05-20 12:08:20 -07003219 &quot;nodePools&quot;: [ # The node pools associated with this cluster.
3220 # This field should not be set if &quot;node_config&quot; or &quot;initial_node_count&quot; are
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003221 # specified.
Bu Sun Kim65020912020-05-20 12:08:20 -07003222 { # NodePool contains the name and configuration for a cluster&#x27;s node pool.
3223 # Node pools are a set of nodes (i.e. VM&#x27;s), with a common configuration and
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003224 # specification, under the control of the cluster master. They may have a set
3225 # of Kubernetes labels applied to them, which may be used to reference them
3226 # during pod scheduling. They may also be resized up or down, to accommodate
3227 # the workload.
Bu Sun Kim65020912020-05-20 12:08:20 -07003228 &quot;status&quot;: &quot;A String&quot;, # [Output only] The status of the nodes in this pool instance.
3229 &quot;config&quot;: { # Parameters that describe the nodes in a cluster. # The node configuration of the pool.
Bu Sun Kim65020912020-05-20 12:08:20 -07003230 &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum CPU platform to be used by this instance. The instance may be
3231 # scheduled on the specified or newer CPU platform. Applicable values are the
3232 # friendly names of CPU platforms, such as
3233 # &lt;code&gt;minCpuPlatform: &amp;quot;Intel Haswell&amp;quot;&lt;/code&gt; or
3234 # &lt;code&gt;minCpuPlatform: &amp;quot;Intel Sandy Bridge&amp;quot;&lt;/code&gt;. For more
3235 # information, read [how to specify min CPU
3236 # platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003237 &quot;shieldedInstanceConfig&quot;: { # A set of Shielded Instance options. # Shielded Instance options.
3238 &quot;enableIntegrityMonitoring&quot;: True or False, # Defines whether the instance has integrity monitoring enabled.
3239 #
3240 # Enables monitoring and attestation of the boot integrity of the instance.
3241 # The attestation is performed against the integrity policy baseline. This
3242 # baseline is initially derived from the implicitly trusted boot image when
3243 # the instance is created.
3244 &quot;enableSecureBoot&quot;: True or False, # Defines whether the instance has Secure Boot enabled.
3245 #
3246 # Secure Boot helps ensure that the system only runs authentic software by
3247 # verifying the digital signature of all boot components, and halting the
3248 # boot process if signature verification fails.
3249 },
Bu Sun Kim65020912020-05-20 12:08:20 -07003250 &quot;preemptible&quot;: True or False, # Whether the nodes are created as preemptible VM instances. See:
3251 # https://cloud.google.com/compute/docs/instances/preemptible for more
3252 # inforamtion about preemptible VM instances.
3253 &quot;localSsdCount&quot;: 42, # The number of local SSD disks to be attached to the node.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003254 #
Bu Sun Kim65020912020-05-20 12:08:20 -07003255 # The limit for this value is dependent upon the maximum number of
3256 # disks available on a machine per zone. See:
3257 # https://cloud.google.com/compute/docs/disks/local-ssd
3258 # for more information.
3259 &quot;sandboxConfig&quot;: { # SandboxConfig contains configurations of the sandbox to use for the node. # Sandbox configuration for this node.
3260 &quot;type&quot;: &quot;A String&quot;, # Type of the sandbox to use for the node.
3261 &quot;sandboxType&quot;: &quot;A String&quot;, # Type of the sandbox to use for the node (e.g. &#x27;gvisor&#x27;)
3262 },
3263 &quot;metadata&quot;: { # The metadata key/value pairs assigned to instances in the cluster.
3264 #
3265 # Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes
3266 # in length. These are reflected as part of a URL in the metadata server.
3267 # Additionally, to avoid ambiguity, keys must not conflict with any other
3268 # metadata keys for the project or be one of the reserved keys:
3269 # &quot;cluster-location&quot;
3270 # &quot;cluster-name&quot;
3271 # &quot;cluster-uid&quot;
3272 # &quot;configure-sh&quot;
3273 # &quot;containerd-configure-sh&quot;
3274 # &quot;enable-oslogin&quot;
3275 # &quot;gci-ensure-gke-docker&quot;
3276 # &quot;gci-metrics-enabled&quot;
3277 # &quot;gci-update-strategy&quot;
3278 # &quot;instance-template&quot;
3279 # &quot;kube-env&quot;
3280 # &quot;startup-script&quot;
3281 # &quot;user-data&quot;
3282 # &quot;disable-address-manager&quot;
3283 # &quot;windows-startup-script-ps1&quot;
3284 # &quot;common-psm1&quot;
3285 # &quot;k8s-node-setup-psm1&quot;
3286 # &quot;install-ssh-psm1&quot;
3287 # &quot;user-profile-psm1&quot;
3288 # &quot;serial-port-logging-enable&quot;
3289 # Values are free-form strings, and only have meaning as interpreted by
3290 # the image running in the instance. The only restriction placed on them is
3291 # that each value&#x27;s size must be less than or equal to 32 KB.
3292 #
3293 # The total size of all keys and values must be less than 512 KB.
3294 &quot;a_key&quot;: &quot;A String&quot;,
3295 },
3296 &quot;reservationAffinity&quot;: { # [ReservationAffinity](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) # The optional reservation affinity. Setting this field will apply
3297 # the specified [Zonal Compute
3298 # Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources)
3299 # to this node pool.
3300 # is the configuration of desired reservation which instances could take
3301 # capacity from.
3302 &quot;key&quot;: &quot;A String&quot;, # Corresponds to the label key of a reservation resource. To target a
3303 # SPECIFIC_RESERVATION by name, specify &quot;googleapis.com/reservation-name&quot; as
3304 # the key and specify the name of your reservation as its value.
3305 &quot;values&quot;: [ # Corresponds to the label value(s) of reservation resource(s).
3306 &quot;A String&quot;,
3307 ],
3308 &quot;consumeReservationType&quot;: &quot;A String&quot;, # Corresponds to the type of reservation consumption.
3309 },
3310 &quot;tags&quot;: [ # The list of instance tags applied to all nodes. Tags are used to identify
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003311 # valid sources or targets for network firewalls and are specified by
3312 # the client during cluster or node pool creation. Each tag within the list
3313 # must comply with RFC1035.
Bu Sun Kim65020912020-05-20 12:08:20 -07003314 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003315 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07003316 &quot;serviceAccount&quot;: &quot;A String&quot;, # The Google Cloud Platform Service Account to be used by the node VMs.
Dan O'Mearadd494642020-05-01 07:42:23 -07003317 # Specify the email address of the Service Account; otherwise, if no Service
Bu Sun Kim65020912020-05-20 12:08:20 -07003318 # Account is specified, the &quot;default&quot; service account is used.
3319 &quot;imageType&quot;: &quot;A String&quot;, # The image type to use for this node. Note that for a given image type,
3320 # the latest version of it will be used.
3321 &quot;oauthScopes&quot;: [ # The set of Google API scopes to be made available on all of the
3322 # node VMs under the &quot;default&quot; service account.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003323 #
3324 # The following scopes are recommended, but not required, and by default are
3325 # not included:
3326 #
3327 # * `https://www.googleapis.com/auth/compute` is required for mounting
3328 # persistent storage on your nodes.
3329 # * `https://www.googleapis.com/auth/devstorage.read_only` is required for
3330 # communicating with **gcr.io**
Dan O'Mearadd494642020-05-01 07:42:23 -07003331 # (the [Google Container
3332 # Registry](https://cloud.google.com/container-registry/)).
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003333 #
3334 # If unspecified, no scopes are added, unless Cloud Logging or Cloud
3335 # Monitoring are enabled, in which case their required scopes will be added.
Bu Sun Kim65020912020-05-20 12:08:20 -07003336 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003337 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07003338 &quot;taints&quot;: [ # List of kubernetes taints to be applied to each node.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003339 #
3340 # For more information, including usage and the valid values, see:
3341 # https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
3342 { # Kubernetes taint is comprised of three fields: key, value, and effect. Effect
3343 # can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.
3344 #
Bu Sun Kim65020912020-05-20 12:08:20 -07003345 # See
3346 # [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration)
3347 # for more information, including usage and the valid values.
Bu Sun Kim65020912020-05-20 12:08:20 -07003348 &quot;effect&quot;: &quot;A String&quot;, # Effect for taint.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003349 &quot;value&quot;: &quot;A String&quot;, # Value for taint.
3350 &quot;key&quot;: &quot;A String&quot;, # Key for taint.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003351 },
3352 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07003353 &quot;labels&quot;: { # The map of Kubernetes labels (key/value pairs) to be applied to each node.
3354 # These will added in addition to any default label(s) that
3355 # Kubernetes may apply to the node.
3356 # In case of conflict in label keys, the applied set may differ depending on
3357 # the Kubernetes version -- it&#x27;s best to assume the behavior is undefined
3358 # and conflicts should be avoided.
3359 # For more information, including usage and the valid values, see:
3360 # https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
3361 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003362 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003363 &quot;diskSizeGb&quot;: 42, # Size of the disk attached to each node, specified in GB.
3364 # The smallest allowed disk size is 10GB.
3365 #
3366 # If unspecified, the default disk size is 100GB.
3367 &quot;workloadMetadataConfig&quot;: { # WorkloadMetadataConfig defines the metadata configuration to expose to # The workload metadata configuration for this node.
3368 # workloads on the node pool.
3369 &quot;nodeMetadata&quot;: &quot;A String&quot;, # NodeMetadata is the configuration for how to expose metadata to the
3370 # workloads running on the node.
3371 &quot;mode&quot;: &quot;A String&quot;, # Mode is the configuration for how to expose metadata to workloads running
3372 # on the node pool.
3373 },
3374 &quot;accelerators&quot;: [ # A list of hardware accelerators to be attached to each node.
3375 # See https://cloud.google.com/compute/docs/gpus for more information about
3376 # support for GPUs.
3377 { # AcceleratorConfig represents a Hardware Accelerator request.
3378 &quot;acceleratorType&quot;: &quot;A String&quot;, # The accelerator type resource name. List of supported accelerators
3379 # [here](https://cloud.google.com/compute/docs/gpus)
3380 &quot;acceleratorCount&quot;: &quot;A String&quot;, # The number of the accelerator cards exposed to an instance.
3381 },
3382 ],
3383 &quot;machineType&quot;: &quot;A String&quot;, # The name of a Google Compute Engine [machine
3384 # type](https://cloud.google.com/compute/docs/machine-types) (e.g.
3385 # `n1-standard-1`).
3386 #
3387 # If unspecified, the default machine type is
3388 # `n1-standard-1`.
3389 &quot;diskType&quot;: &quot;A String&quot;, # Type of the disk attached to each node (e.g. &#x27;pd-standard&#x27; or &#x27;pd-ssd&#x27;)
3390 #
3391 # If unspecified, the default disk type is &#x27;pd-standard&#x27;
3392 &quot;bootDiskKmsKey&quot;: &quot;A String&quot;, #
3393 # The Customer Managed Encryption Key used to encrypt the boot disk attached
3394 # to each node in the node pool. This should be of the form
3395 # projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME].
3396 # For more information about protecting resources with Cloud KMS Keys please
3397 # see:
3398 # https://cloud.google.com/compute/docs/disks/customer-managed-encryption
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003399 },
Bu Sun Kim65020912020-05-20 12:08:20 -07003400 &quot;maxPodsConstraint&quot;: { # Constraints applied to pods. # The constraint on the maximum number of pods that can be run
3401 # simultaneously on a node in the node pool.
3402 &quot;maxPodsPerNode&quot;: &quot;A String&quot;, # Constraint enforced on the max num of pods per node.
3403 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003404 &quot;name&quot;: &quot;A String&quot;, # The name of the node pool.
Bu Sun Kim65020912020-05-20 12:08:20 -07003405 &quot;management&quot;: { # NodeManagement defines the set of node management services turned on for the # NodeManagement configuration for this NodePool.
3406 # node pool.
Bu Sun Kim65020912020-05-20 12:08:20 -07003407 &quot;autoRepair&quot;: True or False, # Whether the nodes will be automatically repaired.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003408 &quot;autoUpgrade&quot;: True or False, # Whether the nodes will be automatically upgraded.
Bu Sun Kim65020912020-05-20 12:08:20 -07003409 &quot;upgradeOptions&quot;: { # AutoUpgradeOptions defines the set of options for the user to control how # Specifies the Auto Upgrade knobs for the node pool.
3410 # the Auto Upgrades will proceed.
3411 &quot;description&quot;: &quot;A String&quot;, # [Output only] This field is set when upgrades are about to commence
3412 # with the description of the upgrade.
3413 &quot;autoUpgradeStartTime&quot;: &quot;A String&quot;, # [Output only] This field is set when upgrades are about to commence
3414 # with the approximate start time for the upgrades, in
3415 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
3416 },
3417 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003418 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output only] Additional information about the current status of this
3419 # node pool instance, if available.
3420 &quot;autoscaling&quot;: { # NodePoolAutoscaling contains information required by cluster autoscaler to # Autoscaler configuration for this NodePool. Autoscaler is enabled
3421 # only if a valid configuration is present.
3422 # adjust the size of the node pool to the current cluster usage.
3423 &quot;maxNodeCount&quot;: 42, # Maximum number of nodes in the NodePool. Must be &gt;= min_node_count. There
3424 # has to enough quota to scale up the cluster.
3425 &quot;autoprovisioned&quot;: True or False, # Can this node pool be deleted automatically.
3426 &quot;minNodeCount&quot;: 42, # Minimum number of nodes in the NodePool. Must be &gt;= 1 and &lt;=
3427 # max_node_count.
3428 &quot;enabled&quot;: True or False, # Is autoscaling enabled for this node pool.
3429 },
3430 &quot;initialNodeCount&quot;: 42, # The initial node count for the pool. You must ensure that your
3431 # Compute Engine &lt;a href=&quot;/compute/docs/resource-quotas&quot;&gt;resource quota&lt;/a&gt;
3432 # is sufficient for this number of instances. You must also have available
3433 # firewall and routes quota.
3434 &quot;locations&quot;: [ # The list of Google Compute Engine
3435 # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
3436 # NodePool&#x27;s nodes should be located.
3437 &quot;A String&quot;,
3438 ],
3439 &quot;upgradeSettings&quot;: { # These upgrade settings control the level of parallelism and the level of # Upgrade settings control disruption and speed of the upgrade.
3440 # disruption caused by an upgrade.
3441 #
3442 # maxUnavailable controls the number of nodes that can be simultaneously
3443 # unavailable.
3444 #
3445 # maxSurge controls the number of additional nodes that can be added to the
3446 # node pool temporarily for the time of the upgrade to increase the number of
3447 # available nodes.
3448 #
3449 # (maxUnavailable + maxSurge) determines the level of parallelism (how many
3450 # nodes are being upgraded at the same time).
3451 #
3452 # Note: upgrades inevitably introduce some disruption since workloads need to
3453 # be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0,
3454 # this holds true. (Disruption stays within the limits of
3455 # PodDisruptionBudget, if it is configured.)
3456 #
3457 # Consider a hypothetical node pool with 5 nodes having maxSurge=2,
3458 # maxUnavailable=1. This means the upgrade process upgrades 3 nodes
3459 # simultaneously. It creates 2 additional (upgraded) nodes, then it brings
3460 # down 3 old (not yet upgraded) nodes at the same time. This ensures that
3461 # there are always at least 4 nodes available.
3462 &quot;maxUnavailable&quot;: 42, # The maximum number of nodes that can be simultaneously unavailable during
3463 # the upgrade process. A node is considered available if its status is
3464 # Ready.
3465 &quot;maxSurge&quot;: 42, # The maximum number of nodes that can be created beyond the current size
3466 # of the node pool during the upgrade process.
3467 },
3468 &quot;selfLink&quot;: &quot;A String&quot;, # [Output only] Server-defined URL for the resource.
3469 &quot;version&quot;: &quot;A String&quot;, # The version of the Kubernetes of this node.
3470 &quot;instanceGroupUrls&quot;: [ # [Output only] The resource URLs of the [managed instance
3471 # groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
3472 # associated with this node pool.
3473 &quot;A String&quot;,
3474 ],
3475 &quot;podIpv4CidrSize&quot;: 42, # [Output only] The pod CIDR block size per node in this node pool.
3476 &quot;conditions&quot;: [ # Which conditions caused the current node pool state.
3477 { # StatusCondition describes why a cluster or a node pool has a certain status
3478 # (e.g., ERROR or DEGRADED).
3479 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
3480 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
3481 },
3482 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003483 },
3484 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003485 &quot;locations&quot;: [ # The list of Google Compute Engine
3486 # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
3487 # cluster&#x27;s nodes should be located.
3488 &quot;A String&quot;,
3489 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07003490 &quot;selfLink&quot;: &quot;A String&quot;, # [Output only] Server-defined URL for the resource.
Bu Sun Kim65020912020-05-20 12:08:20 -07003491 &quot;releaseChannel&quot;: { # ReleaseChannel indicates which release channel a cluster is # Release channel configuration.
3492 # subscribed to. Release channels are arranged in order of risk and
3493 # frequency of updates.
3494 #
3495 # When a cluster is subscribed to a release channel, Google maintains
3496 # both the master version and the node version. Node auto-upgrade
3497 # defaults to true and cannot be disabled. Updates to version related
3498 # fields (e.g. current_master_version) return an error.
3499 &quot;channel&quot;: &quot;A String&quot;, # channel specifies which release channel the cluster is subscribed to.
3500 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003501 &quot;networkPolicy&quot;: { # Configuration options for the NetworkPolicy feature. # Configuration options for the NetworkPolicy feature.
3502 # https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
3503 &quot;provider&quot;: &quot;A String&quot;, # The selected network policy provider.
3504 &quot;enabled&quot;: True or False, # Whether network policy is enabled on the cluster.
3505 },
3506 &quot;servicesIpv4Cidr&quot;: &quot;A String&quot;, # [Output only] The IP address range of the Kubernetes services in
3507 # this cluster, in
3508 # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
3509 # notation (e.g. `1.2.3.4/29`). Service addresses are
3510 # typically put in the last `/16` from the container CIDR.
Bu Sun Kim65020912020-05-20 12:08:20 -07003511 &quot;enableKubernetesAlpha&quot;: True or False, # Kubernetes alpha features are enabled on this cluster. This includes alpha
3512 # API groups (e.g. v1beta1) and features that may not be production ready in
3513 # the kubernetes version of the master and nodes.
3514 # The cluster has no SLA for uptime and master/node upgrades are disabled.
3515 # Alpha enabled clusters are automatically deleted thirty days after
3516 # creation.
3517 &quot;description&quot;: &quot;A String&quot;, # An optional description of this cluster.
3518 &quot;conditions&quot;: [ # Which conditions caused the current cluster state.
3519 { # StatusCondition describes why a cluster or a node pool has a certain status
3520 # (e.g., ERROR or DEGRADED).
3521 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
3522 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
3523 },
3524 ],
3525 &quot;privateCluster&quot;: True or False, # If this is a private cluster setup. Private clusters are clusters that, by
3526 # default have no external IP addresses on the nodes and where nodes and the
3527 # master communicate over private IP addresses.
3528 # This field is deprecated, use private_cluster_config.enable_private_nodes
3529 # instead.
3530 &quot;currentNodeCount&quot;: 42, # [Output only] The number of nodes currently in the cluster. Deprecated.
3531 # Call Kubernetes API directly to retrieve node information.
3532 &quot;monitoringService&quot;: &quot;A String&quot;, # The monitoring service the cluster should use to write metrics.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003533 # Currently available options:
3534 #
Bu Sun Kim65020912020-05-20 12:08:20 -07003535 # * &quot;monitoring.googleapis.com/kubernetes&quot; - The Cloud Monitoring
Dan O'Mearadd494642020-05-01 07:42:23 -07003536 # service with a Kubernetes-native resource model
3537 # * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no
3538 # longer available as of GKE 1.15).
3539 # * `none` - No metrics will be exported from the cluster.
3540 #
3541 # If left as an empty string,`monitoring.googleapis.com/kubernetes` will be
3542 # used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
Bu Sun Kim65020912020-05-20 12:08:20 -07003543 &quot;databaseEncryption&quot;: { # Configuration of etcd encryption. # Configuration of etcd encryption.
3544 &quot;state&quot;: &quot;A String&quot;, # Denotes the state of etcd encryption.
3545 &quot;keyName&quot;: &quot;A String&quot;, # Name of CloudKMS key to use for the encryption of secrets in etcd.
Dan O'Mearadd494642020-05-01 07:42:23 -07003546 # Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003547 },
Bu Sun Kim65020912020-05-20 12:08:20 -07003548 &quot;binaryAuthorization&quot;: { # Configuration for Binary Authorization. # Configuration for Binary Authorization.
3549 &quot;enabled&quot;: True or False, # Enable Binary Authorization for this cluster. If enabled, all container
3550 # images will be validated by Google Binauthz.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003551 },
Bu Sun Kim65020912020-05-20 12:08:20 -07003552 &quot;tpuIpv4CidrBlock&quot;: &quot;A String&quot;, # [Output only] The IP address range of the Cloud TPUs in this cluster, in
3553 # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
3554 # notation (e.g. `1.2.3.4/29`).
3555 &quot;workloadIdentityConfig&quot;: { # Configuration for the use of Kubernetes Service Accounts in GCP IAM # Configuration for the use of Kubernetes Service Accounts in GCP IAM
3556 # policies.
3557 # policies.
Bu Sun Kim65020912020-05-20 12:08:20 -07003558 &quot;workloadPool&quot;: &quot;A String&quot;, # The workload pool to attach all Kubernetes service accounts to.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003559 &quot;identityNamespace&quot;: &quot;A String&quot;, # IAM Identity Namespace to attach all Kubernetes Service Accounts to.
Bu Sun Kim65020912020-05-20 12:08:20 -07003560 },
3561 &quot;zone&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine
Dan O'Mearadd494642020-05-01 07:42:23 -07003562 # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3563 # cluster resides. This field is deprecated, use location instead.
Bu Sun Kim65020912020-05-20 12:08:20 -07003564 &quot;loggingService&quot;: &quot;A String&quot;, # The logging service the cluster should use to write logs.
3565 # Currently available options:
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003566 #
Bu Sun Kim65020912020-05-20 12:08:20 -07003567 # * `logging.googleapis.com/kubernetes` - The Cloud Logging
3568 # service with a Kubernetes-native resource model
3569 # * `logging.googleapis.com` - The legacy Cloud Logging service (no longer
3570 # available as of GKE 1.15).
3571 # * `none` - no logs will be exported from the cluster.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003572 #
Bu Sun Kim65020912020-05-20 12:08:20 -07003573 # If left as an empty string,`logging.googleapis.com/kubernetes` will be
3574 # used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
3575 &quot;expireTime&quot;: &quot;A String&quot;, # [Output only] The time the cluster will be automatically
3576 # deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
3577 &quot;nodeConfig&quot;: { # Parameters that describe the nodes in a cluster. # Parameters used in creating the cluster&#x27;s nodes.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003578 # For requests, this field should only be used in lieu of a
Bu Sun Kim65020912020-05-20 12:08:20 -07003579 # &quot;node_pool&quot; object, since this configuration (along with the
3580 # &quot;initial_node_count&quot;) will be used to create a &quot;NodePool&quot; object with an
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003581 # auto-generated name. Do not use this and a node_pool at the same time.
3582 # For responses, this field will be populated with the node configuration of
3583 # the first node pool. (For configuration of each node pool, see
3584 # `node_pool.config`)
3585 #
3586 # If unspecified, the defaults are used.
3587 # This field is deprecated, use node_pool.config instead.
Bu Sun Kim65020912020-05-20 12:08:20 -07003588 &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum CPU platform to be used by this instance. The instance may be
3589 # scheduled on the specified or newer CPU platform. Applicable values are the
3590 # friendly names of CPU platforms, such as
3591 # &lt;code&gt;minCpuPlatform: &amp;quot;Intel Haswell&amp;quot;&lt;/code&gt; or
3592 # &lt;code&gt;minCpuPlatform: &amp;quot;Intel Sandy Bridge&amp;quot;&lt;/code&gt;. For more
3593 # information, read [how to specify min CPU
3594 # platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003595 &quot;shieldedInstanceConfig&quot;: { # A set of Shielded Instance options. # Shielded Instance options.
3596 &quot;enableIntegrityMonitoring&quot;: True or False, # Defines whether the instance has integrity monitoring enabled.
3597 #
3598 # Enables monitoring and attestation of the boot integrity of the instance.
3599 # The attestation is performed against the integrity policy baseline. This
3600 # baseline is initially derived from the implicitly trusted boot image when
3601 # the instance is created.
3602 &quot;enableSecureBoot&quot;: True or False, # Defines whether the instance has Secure Boot enabled.
3603 #
3604 # Secure Boot helps ensure that the system only runs authentic software by
3605 # verifying the digital signature of all boot components, and halting the
3606 # boot process if signature verification fails.
3607 },
Bu Sun Kim65020912020-05-20 12:08:20 -07003608 &quot;preemptible&quot;: True or False, # Whether the nodes are created as preemptible VM instances. See:
3609 # https://cloud.google.com/compute/docs/instances/preemptible for more
3610 # inforamtion about preemptible VM instances.
3611 &quot;localSsdCount&quot;: 42, # The number of local SSD disks to be attached to the node.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003612 #
Bu Sun Kim65020912020-05-20 12:08:20 -07003613 # The limit for this value is dependent upon the maximum number of
3614 # disks available on a machine per zone. See:
3615 # https://cloud.google.com/compute/docs/disks/local-ssd
3616 # for more information.
3617 &quot;sandboxConfig&quot;: { # SandboxConfig contains configurations of the sandbox to use for the node. # Sandbox configuration for this node.
3618 &quot;type&quot;: &quot;A String&quot;, # Type of the sandbox to use for the node.
3619 &quot;sandboxType&quot;: &quot;A String&quot;, # Type of the sandbox to use for the node (e.g. &#x27;gvisor&#x27;)
3620 },
3621 &quot;metadata&quot;: { # The metadata key/value pairs assigned to instances in the cluster.
3622 #
3623 # Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes
3624 # in length. These are reflected as part of a URL in the metadata server.
3625 # Additionally, to avoid ambiguity, keys must not conflict with any other
3626 # metadata keys for the project or be one of the reserved keys:
3627 # &quot;cluster-location&quot;
3628 # &quot;cluster-name&quot;
3629 # &quot;cluster-uid&quot;
3630 # &quot;configure-sh&quot;
3631 # &quot;containerd-configure-sh&quot;
3632 # &quot;enable-oslogin&quot;
3633 # &quot;gci-ensure-gke-docker&quot;
3634 # &quot;gci-metrics-enabled&quot;
3635 # &quot;gci-update-strategy&quot;
3636 # &quot;instance-template&quot;
3637 # &quot;kube-env&quot;
3638 # &quot;startup-script&quot;
3639 # &quot;user-data&quot;
3640 # &quot;disable-address-manager&quot;
3641 # &quot;windows-startup-script-ps1&quot;
3642 # &quot;common-psm1&quot;
3643 # &quot;k8s-node-setup-psm1&quot;
3644 # &quot;install-ssh-psm1&quot;
3645 # &quot;user-profile-psm1&quot;
3646 # &quot;serial-port-logging-enable&quot;
3647 # Values are free-form strings, and only have meaning as interpreted by
3648 # the image running in the instance. The only restriction placed on them is
3649 # that each value&#x27;s size must be less than or equal to 32 KB.
3650 #
3651 # The total size of all keys and values must be less than 512 KB.
3652 &quot;a_key&quot;: &quot;A String&quot;,
3653 },
3654 &quot;reservationAffinity&quot;: { # [ReservationAffinity](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) # The optional reservation affinity. Setting this field will apply
3655 # the specified [Zonal Compute
3656 # Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources)
3657 # to this node pool.
3658 # is the configuration of desired reservation which instances could take
3659 # capacity from.
3660 &quot;key&quot;: &quot;A String&quot;, # Corresponds to the label key of a reservation resource. To target a
3661 # SPECIFIC_RESERVATION by name, specify &quot;googleapis.com/reservation-name&quot; as
3662 # the key and specify the name of your reservation as its value.
3663 &quot;values&quot;: [ # Corresponds to the label value(s) of reservation resource(s).
3664 &quot;A String&quot;,
3665 ],
3666 &quot;consumeReservationType&quot;: &quot;A String&quot;, # Corresponds to the type of reservation consumption.
3667 },
3668 &quot;tags&quot;: [ # The list of instance tags applied to all nodes. Tags are used to identify
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003669 # valid sources or targets for network firewalls and are specified by
3670 # the client during cluster or node pool creation. Each tag within the list
3671 # must comply with RFC1035.
Bu Sun Kim65020912020-05-20 12:08:20 -07003672 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003673 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07003674 &quot;serviceAccount&quot;: &quot;A String&quot;, # The Google Cloud Platform Service Account to be used by the node VMs.
Dan O'Mearadd494642020-05-01 07:42:23 -07003675 # Specify the email address of the Service Account; otherwise, if no Service
Bu Sun Kim65020912020-05-20 12:08:20 -07003676 # Account is specified, the &quot;default&quot; service account is used.
3677 &quot;imageType&quot;: &quot;A String&quot;, # The image type to use for this node. Note that for a given image type,
3678 # the latest version of it will be used.
3679 &quot;oauthScopes&quot;: [ # The set of Google API scopes to be made available on all of the
3680 # node VMs under the &quot;default&quot; service account.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003681 #
3682 # The following scopes are recommended, but not required, and by default are
3683 # not included:
3684 #
3685 # * `https://www.googleapis.com/auth/compute` is required for mounting
3686 # persistent storage on your nodes.
3687 # * `https://www.googleapis.com/auth/devstorage.read_only` is required for
3688 # communicating with **gcr.io**
Dan O'Mearadd494642020-05-01 07:42:23 -07003689 # (the [Google Container
3690 # Registry](https://cloud.google.com/container-registry/)).
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003691 #
3692 # If unspecified, no scopes are added, unless Cloud Logging or Cloud
3693 # Monitoring are enabled, in which case their required scopes will be added.
Bu Sun Kim65020912020-05-20 12:08:20 -07003694 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003695 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07003696 &quot;taints&quot;: [ # List of kubernetes taints to be applied to each node.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003697 #
3698 # For more information, including usage and the valid values, see:
3699 # https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
3700 { # Kubernetes taint is comprised of three fields: key, value, and effect. Effect
3701 # can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute.
3702 #
Bu Sun Kim65020912020-05-20 12:08:20 -07003703 # See
3704 # [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration)
3705 # for more information, including usage and the valid values.
Bu Sun Kim65020912020-05-20 12:08:20 -07003706 &quot;effect&quot;: &quot;A String&quot;, # Effect for taint.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003707 &quot;value&quot;: &quot;A String&quot;, # Value for taint.
3708 &quot;key&quot;: &quot;A String&quot;, # Key for taint.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003709 },
3710 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07003711 &quot;labels&quot;: { # The map of Kubernetes labels (key/value pairs) to be applied to each node.
3712 # These will added in addition to any default label(s) that
3713 # Kubernetes may apply to the node.
3714 # In case of conflict in label keys, the applied set may differ depending on
3715 # the Kubernetes version -- it&#x27;s best to assume the behavior is undefined
3716 # and conflicts should be avoided.
3717 # For more information, including usage and the valid values, see:
3718 # https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
3719 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003720 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003721 &quot;diskSizeGb&quot;: 42, # Size of the disk attached to each node, specified in GB.
3722 # The smallest allowed disk size is 10GB.
3723 #
3724 # If unspecified, the default disk size is 100GB.
3725 &quot;workloadMetadataConfig&quot;: { # WorkloadMetadataConfig defines the metadata configuration to expose to # The workload metadata configuration for this node.
3726 # workloads on the node pool.
3727 &quot;nodeMetadata&quot;: &quot;A String&quot;, # NodeMetadata is the configuration for how to expose metadata to the
3728 # workloads running on the node.
3729 &quot;mode&quot;: &quot;A String&quot;, # Mode is the configuration for how to expose metadata to workloads running
3730 # on the node pool.
3731 },
3732 &quot;accelerators&quot;: [ # A list of hardware accelerators to be attached to each node.
3733 # See https://cloud.google.com/compute/docs/gpus for more information about
3734 # support for GPUs.
3735 { # AcceleratorConfig represents a Hardware Accelerator request.
3736 &quot;acceleratorType&quot;: &quot;A String&quot;, # The accelerator type resource name. List of supported accelerators
3737 # [here](https://cloud.google.com/compute/docs/gpus)
3738 &quot;acceleratorCount&quot;: &quot;A String&quot;, # The number of the accelerator cards exposed to an instance.
3739 },
3740 ],
3741 &quot;machineType&quot;: &quot;A String&quot;, # The name of a Google Compute Engine [machine
3742 # type](https://cloud.google.com/compute/docs/machine-types) (e.g.
3743 # `n1-standard-1`).
3744 #
3745 # If unspecified, the default machine type is
3746 # `n1-standard-1`.
3747 &quot;diskType&quot;: &quot;A String&quot;, # Type of the disk attached to each node (e.g. &#x27;pd-standard&#x27; or &#x27;pd-ssd&#x27;)
3748 #
3749 # If unspecified, the default disk type is &#x27;pd-standard&#x27;
3750 &quot;bootDiskKmsKey&quot;: &quot;A String&quot;, #
3751 # The Customer Managed Encryption Key used to encrypt the boot disk attached
3752 # to each node in the node pool. This should be of the form
3753 # projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME].
3754 # For more information about protecting resources with Cloud KMS Keys please
3755 # see:
3756 # https://cloud.google.com/compute/docs/disks/customer-managed-encryption
3757 },
3758 &quot;tpuConfig&quot;: { # Configuration for Cloud TPU. # Configuration for Cloud TPU support;
3759 &quot;useServiceNetworking&quot;: True or False, # Whether to use service networking for Cloud TPU or not.
3760 &quot;ipv4CidrBlock&quot;: &quot;A String&quot;, # IPv4 CIDR block reserved for Cloud TPU in the VPC.
3761 &quot;enabled&quot;: True or False, # Whether Cloud TPU integration is enabled or not.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003762 },
Bu Sun Kim65020912020-05-20 12:08:20 -07003763 &quot;status&quot;: &quot;A String&quot;, # [Output only] The current status of this cluster.
Bu Sun Kim65020912020-05-20 12:08:20 -07003764 &quot;networkConfig&quot;: { # NetworkConfig reports the relative names of network &amp; subnetwork. # Configuration for cluster networking.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003765 &quot;enableIntraNodeVisibility&quot;: True or False, # Whether Intra-node visibility is enabled for this cluster.
3766 # This makes same node pod to pod traffic visible for VPC network.
Bu Sun Kim65020912020-05-20 12:08:20 -07003767 &quot;subnetwork&quot;: &quot;A String&quot;, # Output only. The relative name of the Google Compute Engine
3768 # [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the
3769 # cluster is connected. Example:
3770 # projects/my-project/regions/us-central1/subnetworks/my-subnet
3771 &quot;network&quot;: &quot;A String&quot;, # Output only. The relative name of the Google Compute Engine
3772 # network(https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
3773 # to which the cluster is connected. Example:
3774 # projects/my-project/global/networks/my-network
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003775 &quot;defaultSnatStatus&quot;: { # DefaultSnatStatus contains the desired state of whether default sNAT should # Whether the cluster disables default in-node sNAT rules. In-node sNAT rules
3776 # will be disabled when default_snat_status is disabled. When disabled is set
3777 # to false, default IP masquerade rules will be applied to the nodes to
3778 # prevent sNAT on cluster internal traffic.
3779 # be disabled on the cluster.
3780 &quot;disabled&quot;: True or False, # Disables cluster default sNAT rules.
3781 },
Bu Sun Kim65020912020-05-20 12:08:20 -07003782 },
3783 &quot;name&quot;: &quot;A String&quot;, # The name of this cluster. The name must be unique within this project
3784 # and location (e.g. zone or region), and can be up to 40 characters with
3785 # the following restrictions:
3786 #
3787 # * Lowercase letters, numbers, and hyphens only.
3788 # * Must start with a letter.
3789 # * Must end with a number or a letter.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003790 &quot;location&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine
3791 # [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
3792 # or
3793 # [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
3794 # in which the cluster resides.
Bu Sun Kim65020912020-05-20 12:08:20 -07003795 &quot;endpoint&quot;: &quot;A String&quot;, # [Output only] The IP address of this cluster&#x27;s master endpoint.
3796 # The endpoint can be accessed from the internet at
3797 # `https://username:password@endpoint/`.
3798 #
3799 # See the `masterAuth` property of this resource for username and
3800 # password information.
Bu Sun Kim65020912020-05-20 12:08:20 -07003801 &quot;createTime&quot;: &quot;A String&quot;, # [Output only] The time the cluster was created, in
3802 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
3803 &quot;clusterIpv4Cidr&quot;: &quot;A String&quot;, # The IP address range of the container pods in this cluster, in
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003804 # [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
3805 # notation (e.g. `10.96.0.0/14`). Leave blank to have
3806 # one automatically chosen or specify a `/14` block in `10.0.0.0/8`.
Bu Sun Kim65020912020-05-20 12:08:20 -07003807 &quot;autoscaling&quot;: { # ClusterAutoscaling contains global, per-cluster information # Cluster-level autoscaling configuration.
3808 # required by Cluster Autoscaler to automatically adjust
3809 # the size of the cluster and create/delete
3810 # node pools based on the current needs.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003811 &quot;autoprovisioningLocations&quot;: [ # The list of Google Compute Engine
3812 # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
3813 # NodePool&#x27;s nodes can be created by NAP.
3814 &quot;A String&quot;,
3815 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07003816 &quot;resourceLimits&quot;: [ # Contains global constraints regarding minimum and maximum
3817 # amount of resources in the cluster.
3818 { # Contains information about amount of some resource in the cluster.
3819 # For memory, value should be in GB.
3820 &quot;maximum&quot;: &quot;A String&quot;, # Maximum amount of the resource in the cluster.
3821 &quot;resourceType&quot;: &quot;A String&quot;, # Resource name &quot;cpu&quot;, &quot;memory&quot; or gpu-specific string.
3822 &quot;minimum&quot;: &quot;A String&quot;, # Minimum amount of the resource in the cluster.
3823 },
3824 ],
3825 &quot;autoscalingProfile&quot;: &quot;A String&quot;, # Defines autoscaling behaviour.
3826 &quot;enableNodeAutoprovisioning&quot;: True or False, # Enables automatic node pool creation and deletion.
3827 &quot;autoprovisioningNodePoolDefaults&quot;: { # AutoprovisioningNodePoolDefaults contains defaults for a node pool created # AutoprovisioningNodePoolDefaults contains defaults for a node pool
3828 # created by NAP.
3829 # by NAP.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003830 &quot;serviceAccount&quot;: &quot;A String&quot;, # The Google Cloud Platform Service Account to be used by the node VMs. If
3831 # service_account is specified, scopes should be empty.
3832 &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum CPU platform to be used for NAP created node pools.
3833 # The instance may be scheduled on the specified or newer CPU platform.
3834 # Applicable values are the friendly names of CPU platforms, such as
3835 # &lt;code&gt;minCpuPlatform: &amp;quot;Intel Haswell&amp;quot;&lt;/code&gt; or
3836 # &lt;code&gt;minCpuPlatform: &amp;quot;Intel Sandy Bridge&amp;quot;&lt;/code&gt;. For more
3837 # information, read [how to specify min CPU
3838 # platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
3839 # To unset the min cpu platform field pass &quot;automatic&quot; as field value.
Bu Sun Kim65020912020-05-20 12:08:20 -07003840 &quot;management&quot;: { # NodeManagement defines the set of node management services turned on for the # Specifies the node management options for NAP created node-pools.
3841 # node pool.
Bu Sun Kim65020912020-05-20 12:08:20 -07003842 &quot;autoRepair&quot;: True or False, # Whether the nodes will be automatically repaired.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003843 &quot;autoUpgrade&quot;: True or False, # Whether the nodes will be automatically upgraded.
Bu Sun Kim65020912020-05-20 12:08:20 -07003844 &quot;upgradeOptions&quot;: { # AutoUpgradeOptions defines the set of options for the user to control how # Specifies the Auto Upgrade knobs for the node pool.
3845 # the Auto Upgrades will proceed.
3846 &quot;description&quot;: &quot;A String&quot;, # [Output only] This field is set when upgrades are about to commence
3847 # with the description of the upgrade.
3848 &quot;autoUpgradeStartTime&quot;: &quot;A String&quot;, # [Output only] This field is set when upgrades are about to commence
3849 # with the approximate start time for the upgrades, in
3850 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
3851 },
3852 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003853 &quot;oauthScopes&quot;: [ # Scopes that are used by NAP when creating node pools. If oauth_scopes are
3854 # specified, service_account should be empty.
3855 &quot;A String&quot;,
3856 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07003857 &quot;upgradeSettings&quot;: { # These upgrade settings control the level of parallelism and the level of # Specifies the upgrade settings for NAP created node pools
3858 # disruption caused by an upgrade.
3859 #
3860 # maxUnavailable controls the number of nodes that can be simultaneously
3861 # unavailable.
3862 #
3863 # maxSurge controls the number of additional nodes that can be added to the
3864 # node pool temporarily for the time of the upgrade to increase the number of
3865 # available nodes.
3866 #
3867 # (maxUnavailable + maxSurge) determines the level of parallelism (how many
3868 # nodes are being upgraded at the same time).
3869 #
3870 # Note: upgrades inevitably introduce some disruption since workloads need to
3871 # be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0,
3872 # this holds true. (Disruption stays within the limits of
3873 # PodDisruptionBudget, if it is configured.)
3874 #
3875 # Consider a hypothetical node pool with 5 nodes having maxSurge=2,
3876 # maxUnavailable=1. This means the upgrade process upgrades 3 nodes
3877 # simultaneously. It creates 2 additional (upgraded) nodes, then it brings
3878 # down 3 old (not yet upgraded) nodes at the same time. This ensures that
3879 # there are always at least 4 nodes available.
Bu Sun Kim65020912020-05-20 12:08:20 -07003880 &quot;maxUnavailable&quot;: 42, # The maximum number of nodes that can be simultaneously unavailable during
3881 # the upgrade process. A node is considered available if its status is
3882 # Ready.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003883 &quot;maxSurge&quot;: 42, # The maximum number of nodes that can be created beyond the current size
3884 # of the node pool during the upgrade process.
Bu Sun Kim65020912020-05-20 12:08:20 -07003885 },
Bu Sun Kim65020912020-05-20 12:08:20 -07003886 },
Dan O'Mearadd494642020-05-01 07:42:23 -07003887 },
Bu Sun Kim65020912020-05-20 12:08:20 -07003888 &quot;initialNodeCount&quot;: 42, # The number of nodes to create in this cluster. You must ensure that your
3889 # Compute Engine &lt;a href=&quot;/compute/docs/resource-quotas&quot;&gt;resource quota&lt;/a&gt;
Dan O'Mearadd494642020-05-01 07:42:23 -07003890 # is sufficient for this number of instances. You must also have available
3891 # firewall and routes quota.
3892 # For requests, this field should only be used in lieu of a
Bu Sun Kim65020912020-05-20 12:08:20 -07003893 # &quot;node_pool&quot; object, since this configuration (along with the
3894 # &quot;node_config&quot;) will be used to create a &quot;NodePool&quot; object with an
Dan O'Mearadd494642020-05-01 07:42:23 -07003895 # auto-generated name. Do not use this and a node_pool at the same time.
3896 #
3897 # This field is deprecated, use node_pool.initial_node_count instead.
Bu Sun Kim65020912020-05-20 12:08:20 -07003898 &quot;instanceGroupUrls&quot;: [ # Deprecated. Use node_pools.instance_group_urls.
3899 &quot;A String&quot;,
3900 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003901 },
3902 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07003903 &quot;missingZones&quot;: [ # If any zones are listed here, the list of clusters returned
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003904 # may be missing those zones.
Bu Sun Kim65020912020-05-20 12:08:20 -07003905 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003906 ],
3907 }</pre>
3908</div>
3909
3910<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07003911 <code class="details" id="locations">locations(projectId, zone, clusterId, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003912 <pre>Sets the locations for a specific cluster.
Dan O'Mearadd494642020-05-01 07:42:23 -07003913Deprecated. Use
3914[projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters/update)
3915instead.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003916
3917Args:
Dan O'Mearadd494642020-05-01 07:42:23 -07003918 projectId: string, Required. Deprecated. The Google Developers Console [project ID or project
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003919number](https://support.google.com/cloud/answer/6158840).
3920This field has been deprecated and replaced by the name field. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07003921 zone: string, Required. Deprecated. The name of the Google Compute Engine
3922[zone](https://cloud.google.com/compute/docs/zones#available) in which the
3923cluster resides. This field has been deprecated and replaced by the name
3924field. (required)
3925 clusterId: string, Required. Deprecated. The name of the cluster to upgrade.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003926This field has been deprecated and replaced by the name field. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07003927 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003928 The object takes the form of:
3929
3930{ # SetLocationsRequest sets the locations of the cluster.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003931 &quot;clusterId&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the cluster to upgrade.
3932 # This field has been deprecated and replaced by the name field.
3933 &quot;name&quot;: &quot;A String&quot;, # The name (project, location, cluster) of the cluster to set locations.
3934 # Specified in the format `projects/*/locations/*/clusters/*`.
Bu Sun Kim65020912020-05-20 12:08:20 -07003935 &quot;projectId&quot;: &quot;A String&quot;, # Required. Deprecated. The Google Developers Console [project ID or project
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003936 # number](https://support.google.com/cloud/answer/6158840).
3937 # This field has been deprecated and replaced by the name field.
Bu Sun Kim65020912020-05-20 12:08:20 -07003938 &quot;locations&quot;: [ # Required. The desired list of Google Compute Engine
Dan O'Mearadd494642020-05-01 07:42:23 -07003939 # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
Bu Sun Kim65020912020-05-20 12:08:20 -07003940 # cluster&#x27;s nodes should be located. Changing the locations a cluster is in
Dan O'Mearadd494642020-05-01 07:42:23 -07003941 # will result in nodes being either created or removed from the cluster,
3942 # depending on whether locations are being added or removed.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003943 #
Bu Sun Kim65020912020-05-20 12:08:20 -07003944 # This list must always include the cluster&#x27;s primary zone.
3945 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003946 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003947 &quot;zone&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the Google Compute Engine
3948 # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
3949 # cluster resides. This field has been deprecated and replaced by the name
3950 # field.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003951 }
3952
3953 x__xgafv: string, V1 error format.
3954 Allowed values
3955 1 - v1 error format
3956 2 - v2 error format
3957
3958Returns:
3959 An object of the form:
3960
3961 { # This operation resource represents operations that may have happened or are
3962 # happening on the cluster. All fields are output only.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003963 &quot;targetLink&quot;: &quot;A String&quot;, # Server-defined URL for the target of the operation.
3964 &quot;detail&quot;: &quot;A String&quot;, # Detailed operation progress, if available.
3965 &quot;operationType&quot;: &quot;A String&quot;, # The operation type.
3966 &quot;status&quot;: &quot;A String&quot;, # The current status of the operation.
3967 &quot;name&quot;: &quot;A String&quot;, # The server-assigned ID for the operation.
Bu Sun Kim65020912020-05-20 12:08:20 -07003968 &quot;nodepoolConditions&quot;: [ # Which conditions caused the current node pool state.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003969 { # StatusCondition describes why a cluster or a node pool has a certain status
3970 # (e.g., ERROR or DEGRADED).
Bu Sun Kim65020912020-05-20 12:08:20 -07003971 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
3972 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003973 },
3974 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07003975 &quot;endTime&quot;: &quot;A String&quot;, # [Output only] The time the operation completed, in
3976 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
Bu Sun Kim65020912020-05-20 12:08:20 -07003977 &quot;location&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine
Dan O'Mearadd494642020-05-01 07:42:23 -07003978 # [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
3979 # or
3980 # [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
3981 # in which the cluster resides.
Bu Sun Kim65020912020-05-20 12:08:20 -07003982 &quot;startTime&quot;: &quot;A String&quot;, # [Output only] The time the operation started, in
3983 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
3984 &quot;clusterConditions&quot;: [ # Which conditions caused the current cluster state.
3985 { # StatusCondition describes why a cluster or a node pool has a certain status
3986 # (e.g., ERROR or DEGRADED).
3987 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
3988 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
3989 },
3990 ],
3991 &quot;progress&quot;: { # Information about operation (or operation stage) progress. # Output only. [Output only] Progress information for an operation.
Bu Sun Kim65020912020-05-20 12:08:20 -07003992 &quot;metrics&quot;: [ # Progress metric bundle, for example:
3993 # metrics: [{name: &quot;nodes done&quot;, int_value: 15},
3994 # {name: &quot;nodes total&quot;, int_value: 32}]
3995 # or
3996 # metrics: [{name: &quot;progress&quot;, double_value: 0.56},
3997 # {name: &quot;progress scale&quot;, double_value: 1.0}]
3998 { # Progress metric is (string, int|float|string) pair.
3999 &quot;name&quot;: &quot;A String&quot;, # Required. Metric name, e.g., &quot;nodes total&quot;, &quot;percent done&quot;.
4000 &quot;doubleValue&quot;: 3.14, # For metrics with floating point value.
4001 &quot;intValue&quot;: &quot;A String&quot;, # For metrics with integer value.
4002 &quot;stringValue&quot;: &quot;A String&quot;, # For metrics with custom values (ratios, visual progress, etc.).
4003 },
4004 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004005 &quot;status&quot;: &quot;A String&quot;, # Status of an operation stage.
4006 # Unset for single-stage operations.
Bu Sun Kim65020912020-05-20 12:08:20 -07004007 &quot;name&quot;: &quot;A String&quot;, # A non-parameterized string describing an operation stage.
4008 # Unset for single-stage operations.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004009 &quot;stages&quot;: [ # Substages of an operation or a stage.
4010 # Object with schema name: OperationProgress
4011 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07004012 },
4013 &quot;zone&quot;: &quot;A String&quot;, # The name of the Google Compute Engine
4014 # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4015 # operation is taking place. This field is deprecated, use location instead.
4016 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. If an error has occurred, a textual description of the error.
4017 &quot;selfLink&quot;: &quot;A String&quot;, # Server-defined URL for the resource.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004018 }</pre>
4019</div>
4020
4021<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07004022 <code class="details" id="logging">logging(projectId, zone, clusterId, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004023 <pre>Sets the logging service for a specific cluster.
4024
4025Args:
Dan O'Mearadd494642020-05-01 07:42:23 -07004026 projectId: string, Required. Deprecated. The Google Developers Console [project ID or project
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004027number](https://support.google.com/cloud/answer/6158840).
4028This field has been deprecated and replaced by the name field. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07004029 zone: string, Required. Deprecated. The name of the Google Compute Engine
4030[zone](https://cloud.google.com/compute/docs/zones#available) in which the
4031cluster resides. This field has been deprecated and replaced by the name
4032field. (required)
4033 clusterId: string, Required. Deprecated. The name of the cluster to upgrade.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004034This field has been deprecated and replaced by the name field. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07004035 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004036 The object takes the form of:
4037
4038{ # SetLoggingServiceRequest sets the logging service of a cluster.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004039 &quot;projectId&quot;: &quot;A String&quot;, # Required. Deprecated. The Google Developers Console [project ID or project
4040 # number](https://support.google.com/cloud/answer/6158840).
4041 # This field has been deprecated and replaced by the name field.
4042 &quot;zone&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the Google Compute Engine
4043 # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4044 # cluster resides. This field has been deprecated and replaced by the name
4045 # field.
4046 &quot;clusterId&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the cluster to upgrade.
4047 # This field has been deprecated and replaced by the name field.
Bu Sun Kim65020912020-05-20 12:08:20 -07004048 &quot;loggingService&quot;: &quot;A String&quot;, # Required. The logging service the cluster should use to write logs.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004049 # Currently available options:
4050 #
Dan O'Mearadd494642020-05-01 07:42:23 -07004051 # * `logging.googleapis.com/kubernetes` - The Cloud Logging
4052 # service with a Kubernetes-native resource model
4053 # * `logging.googleapis.com` - The legacy Cloud Logging service (no longer
4054 # available as of GKE 1.15).
4055 # * `none` - no logs will be exported from the cluster.
4056 #
4057 # If left as an empty string,`logging.googleapis.com/kubernetes` will be
4058 # used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
Bu Sun Kim65020912020-05-20 12:08:20 -07004059 &quot;name&quot;: &quot;A String&quot;, # The name (project, location, cluster) of the cluster to set logging.
4060 # Specified in the format `projects/*/locations/*/clusters/*`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004061 }
4062
4063 x__xgafv: string, V1 error format.
4064 Allowed values
4065 1 - v1 error format
4066 2 - v2 error format
4067
4068Returns:
4069 An object of the form:
4070
4071 { # This operation resource represents operations that may have happened or are
4072 # happening on the cluster. All fields are output only.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004073 &quot;targetLink&quot;: &quot;A String&quot;, # Server-defined URL for the target of the operation.
4074 &quot;detail&quot;: &quot;A String&quot;, # Detailed operation progress, if available.
4075 &quot;operationType&quot;: &quot;A String&quot;, # The operation type.
4076 &quot;status&quot;: &quot;A String&quot;, # The current status of the operation.
4077 &quot;name&quot;: &quot;A String&quot;, # The server-assigned ID for the operation.
Bu Sun Kim65020912020-05-20 12:08:20 -07004078 &quot;nodepoolConditions&quot;: [ # Which conditions caused the current node pool state.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004079 { # StatusCondition describes why a cluster or a node pool has a certain status
4080 # (e.g., ERROR or DEGRADED).
Bu Sun Kim65020912020-05-20 12:08:20 -07004081 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
4082 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004083 },
4084 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004085 &quot;endTime&quot;: &quot;A String&quot;, # [Output only] The time the operation completed, in
4086 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
Bu Sun Kim65020912020-05-20 12:08:20 -07004087 &quot;location&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine
Dan O'Mearadd494642020-05-01 07:42:23 -07004088 # [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
4089 # or
4090 # [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
4091 # in which the cluster resides.
Bu Sun Kim65020912020-05-20 12:08:20 -07004092 &quot;startTime&quot;: &quot;A String&quot;, # [Output only] The time the operation started, in
4093 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
4094 &quot;clusterConditions&quot;: [ # Which conditions caused the current cluster state.
4095 { # StatusCondition describes why a cluster or a node pool has a certain status
4096 # (e.g., ERROR or DEGRADED).
4097 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
4098 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
4099 },
4100 ],
4101 &quot;progress&quot;: { # Information about operation (or operation stage) progress. # Output only. [Output only] Progress information for an operation.
Bu Sun Kim65020912020-05-20 12:08:20 -07004102 &quot;metrics&quot;: [ # Progress metric bundle, for example:
4103 # metrics: [{name: &quot;nodes done&quot;, int_value: 15},
4104 # {name: &quot;nodes total&quot;, int_value: 32}]
4105 # or
4106 # metrics: [{name: &quot;progress&quot;, double_value: 0.56},
4107 # {name: &quot;progress scale&quot;, double_value: 1.0}]
4108 { # Progress metric is (string, int|float|string) pair.
4109 &quot;name&quot;: &quot;A String&quot;, # Required. Metric name, e.g., &quot;nodes total&quot;, &quot;percent done&quot;.
4110 &quot;doubleValue&quot;: 3.14, # For metrics with floating point value.
4111 &quot;intValue&quot;: &quot;A String&quot;, # For metrics with integer value.
4112 &quot;stringValue&quot;: &quot;A String&quot;, # For metrics with custom values (ratios, visual progress, etc.).
4113 },
4114 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004115 &quot;status&quot;: &quot;A String&quot;, # Status of an operation stage.
4116 # Unset for single-stage operations.
Bu Sun Kim65020912020-05-20 12:08:20 -07004117 &quot;name&quot;: &quot;A String&quot;, # A non-parameterized string describing an operation stage.
4118 # Unset for single-stage operations.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004119 &quot;stages&quot;: [ # Substages of an operation or a stage.
4120 # Object with schema name: OperationProgress
4121 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07004122 },
4123 &quot;zone&quot;: &quot;A String&quot;, # The name of the Google Compute Engine
4124 # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4125 # operation is taking place. This field is deprecated, use location instead.
4126 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. If an error has occurred, a textual description of the error.
4127 &quot;selfLink&quot;: &quot;A String&quot;, # Server-defined URL for the resource.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004128 }</pre>
4129</div>
4130
4131<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07004132 <code class="details" id="master">master(projectId, zone, clusterId, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004133 <pre>Updates the master for a specific cluster.
4134
4135Args:
Dan O'Mearadd494642020-05-01 07:42:23 -07004136 projectId: string, Required. Deprecated. The Google Developers Console [project ID or project
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004137number](https://support.google.com/cloud/answer/6158840).
4138This field has been deprecated and replaced by the name field. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07004139 zone: string, Required. Deprecated. The name of the Google Compute Engine
4140[zone](https://cloud.google.com/compute/docs/zones#available) in which the
4141cluster resides. This field has been deprecated and replaced by the name
4142field. (required)
4143 clusterId: string, Required. Deprecated. The name of the cluster to upgrade.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004144This field has been deprecated and replaced by the name field. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07004145 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004146 The object takes the form of:
4147
4148{ # UpdateMasterRequest updates the master of the cluster.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004149 &quot;name&quot;: &quot;A String&quot;, # The name (project, location, cluster) of the cluster to update.
4150 # Specified in the format `projects/*/locations/*/clusters/*`.
Bu Sun Kim65020912020-05-20 12:08:20 -07004151 &quot;projectId&quot;: &quot;A String&quot;, # Required. Deprecated. The Google Developers Console [project ID or project
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004152 # number](https://support.google.com/cloud/answer/6158840).
4153 # This field has been deprecated and replaced by the name field.
Bu Sun Kim65020912020-05-20 12:08:20 -07004154 &quot;masterVersion&quot;: &quot;A String&quot;, # Required. The Kubernetes version to change the master to.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004155 #
4156 # Users may specify either explicit versions offered by
4157 # Kubernetes Engine or version aliases, which have the following behavior:
4158 #
Bu Sun Kim65020912020-05-20 12:08:20 -07004159 # - &quot;latest&quot;: picks the highest valid Kubernetes version
4160 # - &quot;1.X&quot;: picks the highest valid patch+gke.N patch in the 1.X version
4161 # - &quot;1.X.Y&quot;: picks the highest valid gke.N patch in the 1.X.Y version
4162 # - &quot;1.X.Y-gke.N&quot;: picks an explicit Kubernetes version
4163 # - &quot;-&quot;: picks the default Kubernetes version
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004164 &quot;zone&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the Google Compute Engine
4165 # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4166 # cluster resides. This field has been deprecated and replaced by the name
4167 # field.
Bu Sun Kim65020912020-05-20 12:08:20 -07004168 &quot;clusterId&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the cluster to upgrade.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004169 # This field has been deprecated and replaced by the name field.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004170 }
4171
4172 x__xgafv: string, V1 error format.
4173 Allowed values
4174 1 - v1 error format
4175 2 - v2 error format
4176
4177Returns:
4178 An object of the form:
4179
4180 { # This operation resource represents operations that may have happened or are
4181 # happening on the cluster. All fields are output only.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004182 &quot;targetLink&quot;: &quot;A String&quot;, # Server-defined URL for the target of the operation.
4183 &quot;detail&quot;: &quot;A String&quot;, # Detailed operation progress, if available.
4184 &quot;operationType&quot;: &quot;A String&quot;, # The operation type.
4185 &quot;status&quot;: &quot;A String&quot;, # The current status of the operation.
4186 &quot;name&quot;: &quot;A String&quot;, # The server-assigned ID for the operation.
Bu Sun Kim65020912020-05-20 12:08:20 -07004187 &quot;nodepoolConditions&quot;: [ # Which conditions caused the current node pool state.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004188 { # StatusCondition describes why a cluster or a node pool has a certain status
4189 # (e.g., ERROR or DEGRADED).
Bu Sun Kim65020912020-05-20 12:08:20 -07004190 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
4191 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004192 },
4193 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004194 &quot;endTime&quot;: &quot;A String&quot;, # [Output only] The time the operation completed, in
4195 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
Bu Sun Kim65020912020-05-20 12:08:20 -07004196 &quot;location&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine
Dan O'Mearadd494642020-05-01 07:42:23 -07004197 # [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
4198 # or
4199 # [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
4200 # in which the cluster resides.
Bu Sun Kim65020912020-05-20 12:08:20 -07004201 &quot;startTime&quot;: &quot;A String&quot;, # [Output only] The time the operation started, in
4202 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
4203 &quot;clusterConditions&quot;: [ # Which conditions caused the current cluster state.
4204 { # StatusCondition describes why a cluster or a node pool has a certain status
4205 # (e.g., ERROR or DEGRADED).
4206 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
4207 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
4208 },
4209 ],
4210 &quot;progress&quot;: { # Information about operation (or operation stage) progress. # Output only. [Output only] Progress information for an operation.
Bu Sun Kim65020912020-05-20 12:08:20 -07004211 &quot;metrics&quot;: [ # Progress metric bundle, for example:
4212 # metrics: [{name: &quot;nodes done&quot;, int_value: 15},
4213 # {name: &quot;nodes total&quot;, int_value: 32}]
4214 # or
4215 # metrics: [{name: &quot;progress&quot;, double_value: 0.56},
4216 # {name: &quot;progress scale&quot;, double_value: 1.0}]
4217 { # Progress metric is (string, int|float|string) pair.
4218 &quot;name&quot;: &quot;A String&quot;, # Required. Metric name, e.g., &quot;nodes total&quot;, &quot;percent done&quot;.
4219 &quot;doubleValue&quot;: 3.14, # For metrics with floating point value.
4220 &quot;intValue&quot;: &quot;A String&quot;, # For metrics with integer value.
4221 &quot;stringValue&quot;: &quot;A String&quot;, # For metrics with custom values (ratios, visual progress, etc.).
4222 },
4223 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004224 &quot;status&quot;: &quot;A String&quot;, # Status of an operation stage.
4225 # Unset for single-stage operations.
Bu Sun Kim65020912020-05-20 12:08:20 -07004226 &quot;name&quot;: &quot;A String&quot;, # A non-parameterized string describing an operation stage.
4227 # Unset for single-stage operations.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004228 &quot;stages&quot;: [ # Substages of an operation or a stage.
4229 # Object with schema name: OperationProgress
4230 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07004231 },
4232 &quot;zone&quot;: &quot;A String&quot;, # The name of the Google Compute Engine
4233 # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4234 # operation is taking place. This field is deprecated, use location instead.
4235 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. If an error has occurred, a textual description of the error.
4236 &quot;selfLink&quot;: &quot;A String&quot;, # Server-defined URL for the resource.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004237 }</pre>
4238</div>
4239
4240<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07004241 <code class="details" id="monitoring">monitoring(projectId, zone, clusterId, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004242 <pre>Sets the monitoring service for a specific cluster.
4243
4244Args:
Dan O'Mearadd494642020-05-01 07:42:23 -07004245 projectId: string, Required. Deprecated. The Google Developers Console [project ID or project
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004246number](https://support.google.com/cloud/answer/6158840).
4247This field has been deprecated and replaced by the name field. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07004248 zone: string, Required. Deprecated. The name of the Google Compute Engine
4249[zone](https://cloud.google.com/compute/docs/zones#available) in which the
4250cluster resides. This field has been deprecated and replaced by the name
4251field. (required)
4252 clusterId: string, Required. Deprecated. The name of the cluster to upgrade.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004253This field has been deprecated and replaced by the name field. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07004254 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004255 The object takes the form of:
4256
4257{ # SetMonitoringServiceRequest sets the monitoring service of a cluster.
Bu Sun Kim65020912020-05-20 12:08:20 -07004258 &quot;projectId&quot;: &quot;A String&quot;, # Required. Deprecated. The Google Developers Console [project ID or project
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004259 # number](https://support.google.com/cloud/answer/6158840).
4260 # This field has been deprecated and replaced by the name field.
Bu Sun Kim65020912020-05-20 12:08:20 -07004261 &quot;zone&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the Google Compute Engine
4262 # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4263 # cluster resides. This field has been deprecated and replaced by the name
4264 # field.
4265 &quot;clusterId&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the cluster to upgrade.
4266 # This field has been deprecated and replaced by the name field.
4267 &quot;monitoringService&quot;: &quot;A String&quot;, # Required. The monitoring service the cluster should use to write metrics.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004268 # Currently available options:
4269 #
Bu Sun Kim65020912020-05-20 12:08:20 -07004270 # * &quot;monitoring.googleapis.com/kubernetes&quot; - The Cloud Monitoring
Dan O'Mearadd494642020-05-01 07:42:23 -07004271 # service with a Kubernetes-native resource model
4272 # * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no
4273 # longer available as of GKE 1.15).
4274 # * `none` - No metrics will be exported from the cluster.
4275 #
4276 # If left as an empty string,`monitoring.googleapis.com/kubernetes` will be
4277 # used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
Bu Sun Kim65020912020-05-20 12:08:20 -07004278 &quot;name&quot;: &quot;A String&quot;, # The name (project, location, cluster) of the cluster to set monitoring.
4279 # Specified in the format `projects/*/locations/*/clusters/*`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004280 }
4281
4282 x__xgafv: string, V1 error format.
4283 Allowed values
4284 1 - v1 error format
4285 2 - v2 error format
4286
4287Returns:
4288 An object of the form:
4289
4290 { # This operation resource represents operations that may have happened or are
4291 # happening on the cluster. All fields are output only.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004292 &quot;targetLink&quot;: &quot;A String&quot;, # Server-defined URL for the target of the operation.
4293 &quot;detail&quot;: &quot;A String&quot;, # Detailed operation progress, if available.
4294 &quot;operationType&quot;: &quot;A String&quot;, # The operation type.
4295 &quot;status&quot;: &quot;A String&quot;, # The current status of the operation.
4296 &quot;name&quot;: &quot;A String&quot;, # The server-assigned ID for the operation.
Bu Sun Kim65020912020-05-20 12:08:20 -07004297 &quot;nodepoolConditions&quot;: [ # Which conditions caused the current node pool state.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004298 { # StatusCondition describes why a cluster or a node pool has a certain status
4299 # (e.g., ERROR or DEGRADED).
Bu Sun Kim65020912020-05-20 12:08:20 -07004300 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
4301 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004302 },
4303 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004304 &quot;endTime&quot;: &quot;A String&quot;, # [Output only] The time the operation completed, in
4305 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
Bu Sun Kim65020912020-05-20 12:08:20 -07004306 &quot;location&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine
Dan O'Mearadd494642020-05-01 07:42:23 -07004307 # [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
4308 # or
4309 # [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
4310 # in which the cluster resides.
Bu Sun Kim65020912020-05-20 12:08:20 -07004311 &quot;startTime&quot;: &quot;A String&quot;, # [Output only] The time the operation started, in
4312 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
4313 &quot;clusterConditions&quot;: [ # Which conditions caused the current cluster state.
4314 { # StatusCondition describes why a cluster or a node pool has a certain status
4315 # (e.g., ERROR or DEGRADED).
4316 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
4317 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
4318 },
4319 ],
4320 &quot;progress&quot;: { # Information about operation (or operation stage) progress. # Output only. [Output only] Progress information for an operation.
Bu Sun Kim65020912020-05-20 12:08:20 -07004321 &quot;metrics&quot;: [ # Progress metric bundle, for example:
4322 # metrics: [{name: &quot;nodes done&quot;, int_value: 15},
4323 # {name: &quot;nodes total&quot;, int_value: 32}]
4324 # or
4325 # metrics: [{name: &quot;progress&quot;, double_value: 0.56},
4326 # {name: &quot;progress scale&quot;, double_value: 1.0}]
4327 { # Progress metric is (string, int|float|string) pair.
4328 &quot;name&quot;: &quot;A String&quot;, # Required. Metric name, e.g., &quot;nodes total&quot;, &quot;percent done&quot;.
4329 &quot;doubleValue&quot;: 3.14, # For metrics with floating point value.
4330 &quot;intValue&quot;: &quot;A String&quot;, # For metrics with integer value.
4331 &quot;stringValue&quot;: &quot;A String&quot;, # For metrics with custom values (ratios, visual progress, etc.).
4332 },
4333 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004334 &quot;status&quot;: &quot;A String&quot;, # Status of an operation stage.
4335 # Unset for single-stage operations.
Bu Sun Kim65020912020-05-20 12:08:20 -07004336 &quot;name&quot;: &quot;A String&quot;, # A non-parameterized string describing an operation stage.
4337 # Unset for single-stage operations.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004338 &quot;stages&quot;: [ # Substages of an operation or a stage.
4339 # Object with schema name: OperationProgress
4340 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07004341 },
4342 &quot;zone&quot;: &quot;A String&quot;, # The name of the Google Compute Engine
4343 # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4344 # operation is taking place. This field is deprecated, use location instead.
4345 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. If an error has occurred, a textual description of the error.
4346 &quot;selfLink&quot;: &quot;A String&quot;, # Server-defined URL for the resource.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004347 }</pre>
4348</div>
4349
4350<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07004351 <code class="details" id="resourceLabels">resourceLabels(projectId, zone, clusterId, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004352 <pre>Sets labels on a cluster.
4353
4354Args:
Dan O'Mearadd494642020-05-01 07:42:23 -07004355 projectId: string, Required. Deprecated. The Google Developers Console [project ID or project
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004356number](https://developers.google.com/console/help/new/#projectnumber).
4357This field has been deprecated and replaced by the name field. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07004358 zone: string, Required. Deprecated. The name of the Google Compute Engine
4359[zone](https://cloud.google.com/compute/docs/zones#available) in which the
4360cluster resides. This field has been deprecated and replaced by the name
4361field. (required)
4362 clusterId: string, Required. Deprecated. The name of the cluster.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004363This field has been deprecated and replaced by the name field. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07004364 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004365 The object takes the form of:
4366
4367{ # SetLabelsRequest sets the Google Cloud Platform labels on a Google Container
4368 # Engine cluster, which will in turn set them for Google Compute Engine
4369 # resources used by that cluster
Bu Sun Kim65020912020-05-20 12:08:20 -07004370 &quot;labelFingerprint&quot;: &quot;A String&quot;, # Required. The fingerprint of the previous set of labels for this resource,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004371 # used to detect conflicts. The fingerprint is initially generated by
4372 # Kubernetes Engine and changes after every request to modify or update
4373 # labels. You must always provide an up-to-date fingerprint hash when
Dan O'Mearadd494642020-05-01 07:42:23 -07004374 # updating or changing labels. Make a &lt;code&gt;get()&lt;/code&gt; request to the
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004375 # resource to get the latest fingerprint.
Bu Sun Kim65020912020-05-20 12:08:20 -07004376 &quot;zone&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the Google Compute Engine
4377 # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4378 # cluster resides. This field has been deprecated and replaced by the name
4379 # field.
4380 &quot;name&quot;: &quot;A String&quot;, # The name (project, location, cluster id) of the cluster to set labels.
4381 # Specified in the format `projects/*/locations/*/clusters/*`.
4382 &quot;resourceLabels&quot;: { # Required. The labels to set for that cluster.
4383 &quot;a_key&quot;: &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004384 },
Bu Sun Kim65020912020-05-20 12:08:20 -07004385 &quot;projectId&quot;: &quot;A String&quot;, # Required. Deprecated. The Google Developers Console [project ID or project
4386 # number](https://developers.google.com/console/help/new/#projectnumber).
4387 # This field has been deprecated and replaced by the name field.
4388 &quot;clusterId&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the cluster.
4389 # This field has been deprecated and replaced by the name field.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004390 }
4391
4392 x__xgafv: string, V1 error format.
4393 Allowed values
4394 1 - v1 error format
4395 2 - v2 error format
4396
4397Returns:
4398 An object of the form:
4399
4400 { # This operation resource represents operations that may have happened or are
4401 # happening on the cluster. All fields are output only.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004402 &quot;targetLink&quot;: &quot;A String&quot;, # Server-defined URL for the target of the operation.
4403 &quot;detail&quot;: &quot;A String&quot;, # Detailed operation progress, if available.
4404 &quot;operationType&quot;: &quot;A String&quot;, # The operation type.
4405 &quot;status&quot;: &quot;A String&quot;, # The current status of the operation.
4406 &quot;name&quot;: &quot;A String&quot;, # The server-assigned ID for the operation.
Bu Sun Kim65020912020-05-20 12:08:20 -07004407 &quot;nodepoolConditions&quot;: [ # Which conditions caused the current node pool state.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004408 { # StatusCondition describes why a cluster or a node pool has a certain status
4409 # (e.g., ERROR or DEGRADED).
Bu Sun Kim65020912020-05-20 12:08:20 -07004410 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
4411 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004412 },
4413 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004414 &quot;endTime&quot;: &quot;A String&quot;, # [Output only] The time the operation completed, in
4415 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
Bu Sun Kim65020912020-05-20 12:08:20 -07004416 &quot;location&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine
Dan O'Mearadd494642020-05-01 07:42:23 -07004417 # [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
4418 # or
4419 # [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
4420 # in which the cluster resides.
Bu Sun Kim65020912020-05-20 12:08:20 -07004421 &quot;startTime&quot;: &quot;A String&quot;, # [Output only] The time the operation started, in
4422 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
4423 &quot;clusterConditions&quot;: [ # Which conditions caused the current cluster state.
4424 { # StatusCondition describes why a cluster or a node pool has a certain status
4425 # (e.g., ERROR or DEGRADED).
4426 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
4427 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
4428 },
4429 ],
4430 &quot;progress&quot;: { # Information about operation (or operation stage) progress. # Output only. [Output only] Progress information for an operation.
Bu Sun Kim65020912020-05-20 12:08:20 -07004431 &quot;metrics&quot;: [ # Progress metric bundle, for example:
4432 # metrics: [{name: &quot;nodes done&quot;, int_value: 15},
4433 # {name: &quot;nodes total&quot;, int_value: 32}]
4434 # or
4435 # metrics: [{name: &quot;progress&quot;, double_value: 0.56},
4436 # {name: &quot;progress scale&quot;, double_value: 1.0}]
4437 { # Progress metric is (string, int|float|string) pair.
4438 &quot;name&quot;: &quot;A String&quot;, # Required. Metric name, e.g., &quot;nodes total&quot;, &quot;percent done&quot;.
4439 &quot;doubleValue&quot;: 3.14, # For metrics with floating point value.
4440 &quot;intValue&quot;: &quot;A String&quot;, # For metrics with integer value.
4441 &quot;stringValue&quot;: &quot;A String&quot;, # For metrics with custom values (ratios, visual progress, etc.).
4442 },
4443 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004444 &quot;status&quot;: &quot;A String&quot;, # Status of an operation stage.
4445 # Unset for single-stage operations.
Bu Sun Kim65020912020-05-20 12:08:20 -07004446 &quot;name&quot;: &quot;A String&quot;, # A non-parameterized string describing an operation stage.
4447 # Unset for single-stage operations.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004448 &quot;stages&quot;: [ # Substages of an operation or a stage.
4449 # Object with schema name: OperationProgress
4450 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07004451 },
4452 &quot;zone&quot;: &quot;A String&quot;, # The name of the Google Compute Engine
4453 # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4454 # operation is taking place. This field is deprecated, use location instead.
4455 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. If an error has occurred, a textual description of the error.
4456 &quot;selfLink&quot;: &quot;A String&quot;, # Server-defined URL for the resource.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004457 }</pre>
4458</div>
4459
4460<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07004461 <code class="details" id="setMaintenancePolicy">setMaintenancePolicy(projectId, zone, clusterId, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004462 <pre>Sets the maintenance policy for a cluster.
4463
4464Args:
Dan O'Mearadd494642020-05-01 07:42:23 -07004465 projectId: string, Required. The Google Developers Console [project ID or project
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004466number](https://support.google.com/cloud/answer/6158840). (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07004467 zone: string, Required. The name of the Google Compute Engine
4468[zone](https://cloud.google.com/compute/docs/zones#available) in which the
4469cluster resides. (required)
4470 clusterId: string, Required. The name of the cluster to update. (required)
4471 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004472 The object takes the form of:
4473
4474{ # SetMaintenancePolicyRequest sets the maintenance policy for a cluster.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004475 &quot;name&quot;: &quot;A String&quot;, # The name (project, location, cluster id) of the cluster to set maintenance
4476 # policy.
4477 # Specified in the format `projects/*/locations/*/clusters/*`.
Bu Sun Kim65020912020-05-20 12:08:20 -07004478 &quot;maintenancePolicy&quot;: { # MaintenancePolicy defines the maintenance policy to be used for the cluster. # Required. The maintenance policy to be set for the cluster. An empty field
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004479 # clears the existing maintenance policy.
Bu Sun Kim65020912020-05-20 12:08:20 -07004480 &quot;window&quot;: { # MaintenanceWindow defines the maintenance window to be used for the cluster. # Specifies the maintenance window in which maintenance may be performed.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004481 &quot;maintenanceExclusions&quot;: { # Exceptions to maintenance window. Non-emergency maintenance should not
4482 # occur in these windows.
4483 &quot;a_key&quot;: { # Represents an arbitrary window of time.
4484 &quot;startTime&quot;: &quot;A String&quot;, # The time that the window first starts.
4485 &quot;endTime&quot;: &quot;A String&quot;, # The time that the window ends. The end time should take place after the
4486 # start time.
4487 },
Bu Sun Kim65020912020-05-20 12:08:20 -07004488 },
4489 &quot;recurringWindow&quot;: { # Represents an arbitrary window of time that recurs. # RecurringWindow specifies some number of recurring time periods for
Dan O'Mearadd494642020-05-01 07:42:23 -07004490 # maintenance to occur. The time windows may be overlapping. If no
4491 # maintenance windows are set, maintenance can occur at any time.
Bu Sun Kim65020912020-05-20 12:08:20 -07004492 &quot;recurrence&quot;: &quot;A String&quot;, # An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
Dan O'Mearadd494642020-05-01 07:42:23 -07004493 # this window reccurs. They go on for the span of time between the start and
4494 # end time.
4495 #
Bu Sun Kim65020912020-05-20 12:08:20 -07004496 # For example, to have something repeat every weekday, you&#x27;d use:
Dan O'Mearadd494642020-05-01 07:42:23 -07004497 # &lt;code&gt;FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR&lt;/code&gt;
4498 # To repeat some window daily (equivalent to the DailyMaintenanceWindow):
4499 # &lt;code&gt;FREQ=DAILY&lt;/code&gt;
4500 # For the first weekend of every month:
4501 # &lt;code&gt;FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU&lt;/code&gt;
4502 # This specifies how frequently the window starts. Eg, if you wanted to have
Bu Sun Kim65020912020-05-20 12:08:20 -07004503 # a 9-5 UTC-4 window every weekday, you&#x27;d use something like:
Dan O'Mearadd494642020-05-01 07:42:23 -07004504 # &lt;code&gt;
4505 # start time = 2019-01-01T09:00:00-0400
4506 # end time = 2019-01-01T17:00:00-0400
4507 # recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR
4508 # &lt;/code&gt;
4509 # Windows can span multiple days. Eg, to make the window encompass every
4510 # weekend from midnight Saturday till the last minute of Sunday UTC:
4511 # &lt;code&gt;
4512 # start time = 2019-01-05T00:00:00Z
4513 # end time = 2019-01-07T23:59:00Z
4514 # recurrence = FREQ=WEEKLY;BYDAY=SA
4515 # &lt;/code&gt;
Bu Sun Kim65020912020-05-20 12:08:20 -07004516 # Note the start and end time&#x27;s specific dates are largely arbitrary except
Dan O'Mearadd494642020-05-01 07:42:23 -07004517 # to specify duration of the window and when it first starts.
4518 # The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.
Bu Sun Kim65020912020-05-20 12:08:20 -07004519 &quot;window&quot;: { # Represents an arbitrary window of time. # The window of the first recurrence.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004520 &quot;startTime&quot;: &quot;A String&quot;, # The time that the window first starts.
Bu Sun Kim65020912020-05-20 12:08:20 -07004521 &quot;endTime&quot;: &quot;A String&quot;, # The time that the window ends. The end time should take place after the
Dan O'Mearadd494642020-05-01 07:42:23 -07004522 # start time.
Dan O'Mearadd494642020-05-01 07:42:23 -07004523 },
4524 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004525 &quot;dailyMaintenanceWindow&quot;: { # Time window specified for daily maintenance operations. # DailyMaintenanceWindow specifies a daily maintenance operation window.
4526 &quot;duration&quot;: &quot;A String&quot;, # [Output only] Duration of the time window, automatically chosen to be
4527 # smallest possible in the given scenario.
4528 &quot;startTime&quot;: &quot;A String&quot;, # Time within the maintenance window to start the maintenance operations.
4529 # It must be in format &quot;HH:MM&quot;, where HH : [00-23] and MM : [00-59] GMT.
Dan O'Mearadd494642020-05-01 07:42:23 -07004530 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004531 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004532 &quot;resourceVersion&quot;: &quot;A String&quot;, # A hash identifying the version of this policy, so that updates to fields of
4533 # the policy won&#x27;t accidentally undo intermediate changes (and so that users
4534 # of the API unaware of some fields won&#x27;t accidentally remove other fields).
4535 # Make a &lt;code&gt;get()&lt;/code&gt; request to the cluster to get the current
4536 # resource version and include it with requests to set the policy.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004537 },
Bu Sun Kim65020912020-05-20 12:08:20 -07004538 &quot;projectId&quot;: &quot;A String&quot;, # Required. The Google Developers Console [project ID or project
4539 # number](https://support.google.com/cloud/answer/6158840).
4540 &quot;zone&quot;: &quot;A String&quot;, # Required. The name of the Google Compute Engine
Dan O'Mearadd494642020-05-01 07:42:23 -07004541 # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4542 # cluster resides.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004543 &quot;clusterId&quot;: &quot;A String&quot;, # Required. The name of the cluster to update.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004544 }
4545
4546 x__xgafv: string, V1 error format.
4547 Allowed values
4548 1 - v1 error format
4549 2 - v2 error format
4550
4551Returns:
4552 An object of the form:
4553
4554 { # This operation resource represents operations that may have happened or are
4555 # happening on the cluster. All fields are output only.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004556 &quot;targetLink&quot;: &quot;A String&quot;, # Server-defined URL for the target of the operation.
4557 &quot;detail&quot;: &quot;A String&quot;, # Detailed operation progress, if available.
4558 &quot;operationType&quot;: &quot;A String&quot;, # The operation type.
4559 &quot;status&quot;: &quot;A String&quot;, # The current status of the operation.
4560 &quot;name&quot;: &quot;A String&quot;, # The server-assigned ID for the operation.
Bu Sun Kim65020912020-05-20 12:08:20 -07004561 &quot;nodepoolConditions&quot;: [ # Which conditions caused the current node pool state.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004562 { # StatusCondition describes why a cluster or a node pool has a certain status
4563 # (e.g., ERROR or DEGRADED).
Bu Sun Kim65020912020-05-20 12:08:20 -07004564 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
4565 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004566 },
4567 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004568 &quot;endTime&quot;: &quot;A String&quot;, # [Output only] The time the operation completed, in
4569 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
Bu Sun Kim65020912020-05-20 12:08:20 -07004570 &quot;location&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine
Dan O'Mearadd494642020-05-01 07:42:23 -07004571 # [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
4572 # or
4573 # [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
4574 # in which the cluster resides.
Bu Sun Kim65020912020-05-20 12:08:20 -07004575 &quot;startTime&quot;: &quot;A String&quot;, # [Output only] The time the operation started, in
4576 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
4577 &quot;clusterConditions&quot;: [ # Which conditions caused the current cluster state.
4578 { # StatusCondition describes why a cluster or a node pool has a certain status
4579 # (e.g., ERROR or DEGRADED).
4580 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
4581 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
4582 },
4583 ],
4584 &quot;progress&quot;: { # Information about operation (or operation stage) progress. # Output only. [Output only] Progress information for an operation.
Bu Sun Kim65020912020-05-20 12:08:20 -07004585 &quot;metrics&quot;: [ # Progress metric bundle, for example:
4586 # metrics: [{name: &quot;nodes done&quot;, int_value: 15},
4587 # {name: &quot;nodes total&quot;, int_value: 32}]
4588 # or
4589 # metrics: [{name: &quot;progress&quot;, double_value: 0.56},
4590 # {name: &quot;progress scale&quot;, double_value: 1.0}]
4591 { # Progress metric is (string, int|float|string) pair.
4592 &quot;name&quot;: &quot;A String&quot;, # Required. Metric name, e.g., &quot;nodes total&quot;, &quot;percent done&quot;.
4593 &quot;doubleValue&quot;: 3.14, # For metrics with floating point value.
4594 &quot;intValue&quot;: &quot;A String&quot;, # For metrics with integer value.
4595 &quot;stringValue&quot;: &quot;A String&quot;, # For metrics with custom values (ratios, visual progress, etc.).
4596 },
4597 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004598 &quot;status&quot;: &quot;A String&quot;, # Status of an operation stage.
4599 # Unset for single-stage operations.
Bu Sun Kim65020912020-05-20 12:08:20 -07004600 &quot;name&quot;: &quot;A String&quot;, # A non-parameterized string describing an operation stage.
4601 # Unset for single-stage operations.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004602 &quot;stages&quot;: [ # Substages of an operation or a stage.
4603 # Object with schema name: OperationProgress
4604 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07004605 },
4606 &quot;zone&quot;: &quot;A String&quot;, # The name of the Google Compute Engine
4607 # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4608 # operation is taking place. This field is deprecated, use location instead.
4609 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. If an error has occurred, a textual description of the error.
4610 &quot;selfLink&quot;: &quot;A String&quot;, # Server-defined URL for the resource.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004611 }</pre>
4612</div>
4613
4614<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07004615 <code class="details" id="setMasterAuth">setMasterAuth(projectId, zone, clusterId, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004616 <pre>Sets master auth materials. Currently supports changing the admin password
4617or a specific cluster, either via password generation or explicitly setting
4618the password.
4619
4620Args:
Dan O'Mearadd494642020-05-01 07:42:23 -07004621 projectId: string, Required. Deprecated. The Google Developers Console [project ID or project
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004622number](https://support.google.com/cloud/answer/6158840).
4623This field has been deprecated and replaced by the name field. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07004624 zone: string, Required. Deprecated. The name of the Google Compute Engine
4625[zone](https://cloud.google.com/compute/docs/zones#available) in which the
4626cluster resides. This field has been deprecated and replaced by the name
4627field. (required)
4628 clusterId: string, Required. Deprecated. The name of the cluster to upgrade.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004629This field has been deprecated and replaced by the name field. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07004630 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004631 The object takes the form of:
4632
4633{ # SetMasterAuthRequest updates the admin password of a cluster.
Bu Sun Kim65020912020-05-20 12:08:20 -07004634 &quot;name&quot;: &quot;A String&quot;, # The name (project, location, cluster) of the cluster to set auth.
4635 # Specified in the format `projects/*/locations/*/clusters/*`.
4636 &quot;action&quot;: &quot;A String&quot;, # Required. The exact form of action to be taken on the master auth.
4637 &quot;projectId&quot;: &quot;A String&quot;, # Required. Deprecated. The Google Developers Console [project ID or project
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004638 # number](https://support.google.com/cloud/answer/6158840).
4639 # This field has been deprecated and replaced by the name field.
Bu Sun Kim65020912020-05-20 12:08:20 -07004640 &quot;clusterId&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the cluster to upgrade.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004641 # This field has been deprecated and replaced by the name field.
Bu Sun Kim65020912020-05-20 12:08:20 -07004642 &quot;update&quot;: { # The authentication information for accessing the master endpoint. # Required. A description of the update.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004643 # Authentication can be done using HTTP basic auth or using client
4644 # certificates.
Bu Sun Kim65020912020-05-20 12:08:20 -07004645 &quot;password&quot;: &quot;A String&quot;, # The password to use for HTTP basic authentication to the master endpoint.
Dan O'Mearadd494642020-05-01 07:42:23 -07004646 # Because the master endpoint is open to the Internet, you should create a
4647 # strong password. If a password is provided for cluster creation, username
4648 # must be non-empty.
Bu Sun Kim65020912020-05-20 12:08:20 -07004649 &quot;clientCertificateConfig&quot;: { # Configuration for client certificates on the cluster. # Configuration for client certificate authentication on the cluster. For
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004650 # clusters before v1.12, if no configuration is specified, a client
4651 # certificate is issued.
Bu Sun Kim65020912020-05-20 12:08:20 -07004652 &quot;issueClientCertificate&quot;: True or False, # Issue a client certificate.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004653 },
Bu Sun Kim65020912020-05-20 12:08:20 -07004654 &quot;clientKey&quot;: &quot;A String&quot;, # [Output only] Base64-encoded private key used by clients to authenticate
4655 # to the cluster endpoint.
4656 &quot;clusterCaCertificate&quot;: &quot;A String&quot;,
4657 &quot;clientCertificate&quot;: &quot;A String&quot;, # [Output only] Base64-encoded public certificate used by clients to
4658 # authenticate to the cluster endpoint.
4659 &quot;username&quot;: &quot;A String&quot;, # The username to use for HTTP basic authentication to the master endpoint.
4660 # For clusters v1.6.0 and later, basic authentication can be disabled by
4661 # leaving username unspecified (or setting it to the empty string).
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004662 },
Bu Sun Kim65020912020-05-20 12:08:20 -07004663 &quot;zone&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the Google Compute Engine
4664 # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4665 # cluster resides. This field has been deprecated and replaced by the name
4666 # field.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004667 }
4668
4669 x__xgafv: string, V1 error format.
4670 Allowed values
4671 1 - v1 error format
4672 2 - v2 error format
4673
4674Returns:
4675 An object of the form:
4676
4677 { # This operation resource represents operations that may have happened or are
4678 # happening on the cluster. All fields are output only.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004679 &quot;targetLink&quot;: &quot;A String&quot;, # Server-defined URL for the target of the operation.
4680 &quot;detail&quot;: &quot;A String&quot;, # Detailed operation progress, if available.
4681 &quot;operationType&quot;: &quot;A String&quot;, # The operation type.
4682 &quot;status&quot;: &quot;A String&quot;, # The current status of the operation.
4683 &quot;name&quot;: &quot;A String&quot;, # The server-assigned ID for the operation.
Bu Sun Kim65020912020-05-20 12:08:20 -07004684 &quot;nodepoolConditions&quot;: [ # Which conditions caused the current node pool state.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004685 { # StatusCondition describes why a cluster or a node pool has a certain status
4686 # (e.g., ERROR or DEGRADED).
Bu Sun Kim65020912020-05-20 12:08:20 -07004687 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
4688 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004689 },
4690 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004691 &quot;endTime&quot;: &quot;A String&quot;, # [Output only] The time the operation completed, in
4692 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
Bu Sun Kim65020912020-05-20 12:08:20 -07004693 &quot;location&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine
Dan O'Mearadd494642020-05-01 07:42:23 -07004694 # [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
4695 # or
4696 # [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
4697 # in which the cluster resides.
Bu Sun Kim65020912020-05-20 12:08:20 -07004698 &quot;startTime&quot;: &quot;A String&quot;, # [Output only] The time the operation started, in
4699 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
4700 &quot;clusterConditions&quot;: [ # Which conditions caused the current cluster state.
4701 { # StatusCondition describes why a cluster or a node pool has a certain status
4702 # (e.g., ERROR or DEGRADED).
4703 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
4704 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
4705 },
4706 ],
4707 &quot;progress&quot;: { # Information about operation (or operation stage) progress. # Output only. [Output only] Progress information for an operation.
Bu Sun Kim65020912020-05-20 12:08:20 -07004708 &quot;metrics&quot;: [ # Progress metric bundle, for example:
4709 # metrics: [{name: &quot;nodes done&quot;, int_value: 15},
4710 # {name: &quot;nodes total&quot;, int_value: 32}]
4711 # or
4712 # metrics: [{name: &quot;progress&quot;, double_value: 0.56},
4713 # {name: &quot;progress scale&quot;, double_value: 1.0}]
4714 { # Progress metric is (string, int|float|string) pair.
4715 &quot;name&quot;: &quot;A String&quot;, # Required. Metric name, e.g., &quot;nodes total&quot;, &quot;percent done&quot;.
4716 &quot;doubleValue&quot;: 3.14, # For metrics with floating point value.
4717 &quot;intValue&quot;: &quot;A String&quot;, # For metrics with integer value.
4718 &quot;stringValue&quot;: &quot;A String&quot;, # For metrics with custom values (ratios, visual progress, etc.).
4719 },
4720 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004721 &quot;status&quot;: &quot;A String&quot;, # Status of an operation stage.
4722 # Unset for single-stage operations.
Bu Sun Kim65020912020-05-20 12:08:20 -07004723 &quot;name&quot;: &quot;A String&quot;, # A non-parameterized string describing an operation stage.
4724 # Unset for single-stage operations.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004725 &quot;stages&quot;: [ # Substages of an operation or a stage.
4726 # Object with schema name: OperationProgress
4727 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07004728 },
4729 &quot;zone&quot;: &quot;A String&quot;, # The name of the Google Compute Engine
4730 # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4731 # operation is taking place. This field is deprecated, use location instead.
4732 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. If an error has occurred, a textual description of the error.
4733 &quot;selfLink&quot;: &quot;A String&quot;, # Server-defined URL for the resource.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004734 }</pre>
4735</div>
4736
4737<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07004738 <code class="details" id="setNetworkPolicy">setNetworkPolicy(projectId, zone, clusterId, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004739 <pre>Enables or disables Network Policy for a cluster.
4740
4741Args:
Dan O'Mearadd494642020-05-01 07:42:23 -07004742 projectId: string, Required. Deprecated. The Google Developers Console [project ID or project
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004743number](https://developers.google.com/console/help/new/#projectnumber).
4744This field has been deprecated and replaced by the name field. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07004745 zone: string, Required. Deprecated. The name of the Google Compute Engine
4746[zone](https://cloud.google.com/compute/docs/zones#available) in which the
4747cluster resides. This field has been deprecated and replaced by the name
4748field. (required)
4749 clusterId: string, Required. Deprecated. The name of the cluster.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004750This field has been deprecated and replaced by the name field. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07004751 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004752 The object takes the form of:
4753
4754{ # SetNetworkPolicyRequest enables/disables network policy for a cluster.
Bu Sun Kim65020912020-05-20 12:08:20 -07004755 &quot;projectId&quot;: &quot;A String&quot;, # Required. Deprecated. The Google Developers Console [project ID or project
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004756 # number](https://developers.google.com/console/help/new/#projectnumber).
4757 # This field has been deprecated and replaced by the name field.
Bu Sun Kim65020912020-05-20 12:08:20 -07004758 &quot;zone&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the Google Compute Engine
Dan O'Mearadd494642020-05-01 07:42:23 -07004759 # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4760 # cluster resides. This field has been deprecated and replaced by the name
4761 # field.
Bu Sun Kim65020912020-05-20 12:08:20 -07004762 &quot;clusterId&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the cluster.
4763 # This field has been deprecated and replaced by the name field.
4764 &quot;networkPolicy&quot;: { # Configuration options for the NetworkPolicy feature. # Required. Configuration options for the NetworkPolicy feature.
4765 # https://kubernetes.io/docs/concepts/services-networking/networkpolicies/
Bu Sun Kim65020912020-05-20 12:08:20 -07004766 &quot;provider&quot;: &quot;A String&quot;, # The selected network policy provider.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004767 &quot;enabled&quot;: True or False, # Whether network policy is enabled on the cluster.
Bu Sun Kim65020912020-05-20 12:08:20 -07004768 },
4769 &quot;name&quot;: &quot;A String&quot;, # The name (project, location, cluster id) of the cluster to set networking
4770 # policy. Specified in the format `projects/*/locations/*/clusters/*`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004771 }
4772
4773 x__xgafv: string, V1 error format.
4774 Allowed values
4775 1 - v1 error format
4776 2 - v2 error format
4777
4778Returns:
4779 An object of the form:
4780
4781 { # This operation resource represents operations that may have happened or are
4782 # happening on the cluster. All fields are output only.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004783 &quot;targetLink&quot;: &quot;A String&quot;, # Server-defined URL for the target of the operation.
4784 &quot;detail&quot;: &quot;A String&quot;, # Detailed operation progress, if available.
4785 &quot;operationType&quot;: &quot;A String&quot;, # The operation type.
4786 &quot;status&quot;: &quot;A String&quot;, # The current status of the operation.
4787 &quot;name&quot;: &quot;A String&quot;, # The server-assigned ID for the operation.
Bu Sun Kim65020912020-05-20 12:08:20 -07004788 &quot;nodepoolConditions&quot;: [ # Which conditions caused the current node pool state.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004789 { # StatusCondition describes why a cluster or a node pool has a certain status
4790 # (e.g., ERROR or DEGRADED).
Bu Sun Kim65020912020-05-20 12:08:20 -07004791 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
4792 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004793 },
4794 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004795 &quot;endTime&quot;: &quot;A String&quot;, # [Output only] The time the operation completed, in
4796 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
Bu Sun Kim65020912020-05-20 12:08:20 -07004797 &quot;location&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine
Dan O'Mearadd494642020-05-01 07:42:23 -07004798 # [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
4799 # or
4800 # [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
4801 # in which the cluster resides.
Bu Sun Kim65020912020-05-20 12:08:20 -07004802 &quot;startTime&quot;: &quot;A String&quot;, # [Output only] The time the operation started, in
4803 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
4804 &quot;clusterConditions&quot;: [ # Which conditions caused the current cluster state.
4805 { # StatusCondition describes why a cluster or a node pool has a certain status
4806 # (e.g., ERROR or DEGRADED).
4807 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
4808 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
4809 },
4810 ],
4811 &quot;progress&quot;: { # Information about operation (or operation stage) progress. # Output only. [Output only] Progress information for an operation.
Bu Sun Kim65020912020-05-20 12:08:20 -07004812 &quot;metrics&quot;: [ # Progress metric bundle, for example:
4813 # metrics: [{name: &quot;nodes done&quot;, int_value: 15},
4814 # {name: &quot;nodes total&quot;, int_value: 32}]
4815 # or
4816 # metrics: [{name: &quot;progress&quot;, double_value: 0.56},
4817 # {name: &quot;progress scale&quot;, double_value: 1.0}]
4818 { # Progress metric is (string, int|float|string) pair.
4819 &quot;name&quot;: &quot;A String&quot;, # Required. Metric name, e.g., &quot;nodes total&quot;, &quot;percent done&quot;.
4820 &quot;doubleValue&quot;: 3.14, # For metrics with floating point value.
4821 &quot;intValue&quot;: &quot;A String&quot;, # For metrics with integer value.
4822 &quot;stringValue&quot;: &quot;A String&quot;, # For metrics with custom values (ratios, visual progress, etc.).
4823 },
4824 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004825 &quot;status&quot;: &quot;A String&quot;, # Status of an operation stage.
4826 # Unset for single-stage operations.
Bu Sun Kim65020912020-05-20 12:08:20 -07004827 &quot;name&quot;: &quot;A String&quot;, # A non-parameterized string describing an operation stage.
4828 # Unset for single-stage operations.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004829 &quot;stages&quot;: [ # Substages of an operation or a stage.
4830 # Object with schema name: OperationProgress
4831 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07004832 },
4833 &quot;zone&quot;: &quot;A String&quot;, # The name of the Google Compute Engine
4834 # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4835 # operation is taking place. This field is deprecated, use location instead.
4836 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. If an error has occurred, a textual description of the error.
4837 &quot;selfLink&quot;: &quot;A String&quot;, # Server-defined URL for the resource.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004838 }</pre>
4839</div>
4840
4841<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07004842 <code class="details" id="startIpRotation">startIpRotation(projectId, zone, clusterId, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004843 <pre>Starts master IP rotation.
4844
4845Args:
Dan O'Mearadd494642020-05-01 07:42:23 -07004846 projectId: string, Required. Deprecated. The Google Developers Console [project ID or project
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004847number](https://developers.google.com/console/help/new/#projectnumber).
4848This field has been deprecated and replaced by the name field. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07004849 zone: string, Required. Deprecated. The name of the Google Compute Engine
4850[zone](https://cloud.google.com/compute/docs/zones#available) in which the
4851cluster resides. This field has been deprecated and replaced by the name
4852field. (required)
4853 clusterId: string, Required. Deprecated. The name of the cluster.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004854This field has been deprecated and replaced by the name field. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07004855 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004856 The object takes the form of:
4857
4858{ # StartIPRotationRequest creates a new IP for the cluster and then performs
4859 # a node upgrade on each node pool to point to the new IP.
Bu Sun Kim65020912020-05-20 12:08:20 -07004860 &quot;name&quot;: &quot;A String&quot;, # The name (project, location, cluster id) of the cluster to start IP
4861 # rotation. Specified in the format `projects/*/locations/*/clusters/*`.
4862 &quot;projectId&quot;: &quot;A String&quot;, # Required. Deprecated. The Google Developers Console [project ID or project
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004863 # number](https://developers.google.com/console/help/new/#projectnumber).
4864 # This field has been deprecated and replaced by the name field.
Bu Sun Kim65020912020-05-20 12:08:20 -07004865 &quot;zone&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the Google Compute Engine
Dan O'Mearadd494642020-05-01 07:42:23 -07004866 # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4867 # cluster resides. This field has been deprecated and replaced by the name
4868 # field.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004869 &quot;rotateCredentials&quot;: True or False, # Whether to rotate credentials during IP rotation.
Bu Sun Kim65020912020-05-20 12:08:20 -07004870 &quot;clusterId&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the cluster.
4871 # This field has been deprecated and replaced by the name field.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004872 }
4873
4874 x__xgafv: string, V1 error format.
4875 Allowed values
4876 1 - v1 error format
4877 2 - v2 error format
4878
4879Returns:
4880 An object of the form:
4881
4882 { # This operation resource represents operations that may have happened or are
4883 # happening on the cluster. All fields are output only.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004884 &quot;targetLink&quot;: &quot;A String&quot;, # Server-defined URL for the target of the operation.
4885 &quot;detail&quot;: &quot;A String&quot;, # Detailed operation progress, if available.
4886 &quot;operationType&quot;: &quot;A String&quot;, # The operation type.
4887 &quot;status&quot;: &quot;A String&quot;, # The current status of the operation.
4888 &quot;name&quot;: &quot;A String&quot;, # The server-assigned ID for the operation.
Bu Sun Kim65020912020-05-20 12:08:20 -07004889 &quot;nodepoolConditions&quot;: [ # Which conditions caused the current node pool state.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004890 { # StatusCondition describes why a cluster or a node pool has a certain status
4891 # (e.g., ERROR or DEGRADED).
Bu Sun Kim65020912020-05-20 12:08:20 -07004892 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
4893 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004894 },
4895 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004896 &quot;endTime&quot;: &quot;A String&quot;, # [Output only] The time the operation completed, in
4897 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
Bu Sun Kim65020912020-05-20 12:08:20 -07004898 &quot;location&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine
Dan O'Mearadd494642020-05-01 07:42:23 -07004899 # [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
4900 # or
4901 # [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
4902 # in which the cluster resides.
Bu Sun Kim65020912020-05-20 12:08:20 -07004903 &quot;startTime&quot;: &quot;A String&quot;, # [Output only] The time the operation started, in
4904 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
4905 &quot;clusterConditions&quot;: [ # Which conditions caused the current cluster state.
4906 { # StatusCondition describes why a cluster or a node pool has a certain status
4907 # (e.g., ERROR or DEGRADED).
4908 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
4909 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
4910 },
4911 ],
4912 &quot;progress&quot;: { # Information about operation (or operation stage) progress. # Output only. [Output only] Progress information for an operation.
Bu Sun Kim65020912020-05-20 12:08:20 -07004913 &quot;metrics&quot;: [ # Progress metric bundle, for example:
4914 # metrics: [{name: &quot;nodes done&quot;, int_value: 15},
4915 # {name: &quot;nodes total&quot;, int_value: 32}]
4916 # or
4917 # metrics: [{name: &quot;progress&quot;, double_value: 0.56},
4918 # {name: &quot;progress scale&quot;, double_value: 1.0}]
4919 { # Progress metric is (string, int|float|string) pair.
4920 &quot;name&quot;: &quot;A String&quot;, # Required. Metric name, e.g., &quot;nodes total&quot;, &quot;percent done&quot;.
4921 &quot;doubleValue&quot;: 3.14, # For metrics with floating point value.
4922 &quot;intValue&quot;: &quot;A String&quot;, # For metrics with integer value.
4923 &quot;stringValue&quot;: &quot;A String&quot;, # For metrics with custom values (ratios, visual progress, etc.).
4924 },
4925 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004926 &quot;status&quot;: &quot;A String&quot;, # Status of an operation stage.
4927 # Unset for single-stage operations.
Bu Sun Kim65020912020-05-20 12:08:20 -07004928 &quot;name&quot;: &quot;A String&quot;, # A non-parameterized string describing an operation stage.
4929 # Unset for single-stage operations.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004930 &quot;stages&quot;: [ # Substages of an operation or a stage.
4931 # Object with schema name: OperationProgress
4932 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07004933 },
4934 &quot;zone&quot;: &quot;A String&quot;, # The name of the Google Compute Engine
4935 # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4936 # operation is taking place. This field is deprecated, use location instead.
4937 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. If an error has occurred, a textual description of the error.
4938 &quot;selfLink&quot;: &quot;A String&quot;, # Server-defined URL for the resource.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004939 }</pre>
4940</div>
4941
4942<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07004943 <code class="details" id="update">update(projectId, zone, clusterId, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004944 <pre>Updates the settings for a specific cluster.
4945
4946Args:
Dan O'Mearadd494642020-05-01 07:42:23 -07004947 projectId: string, Required. Deprecated. The Google Developers Console [project ID or project
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004948number](https://support.google.com/cloud/answer/6158840).
4949This field has been deprecated and replaced by the name field. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07004950 zone: string, Required. Deprecated. The name of the Google Compute Engine
4951[zone](https://cloud.google.com/compute/docs/zones#available) in which the
4952cluster resides. This field has been deprecated and replaced by the name
4953field. (required)
4954 clusterId: string, Required. Deprecated. The name of the cluster to upgrade.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004955This field has been deprecated and replaced by the name field. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07004956 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004957 The object takes the form of:
4958
4959{ # UpdateClusterRequest updates the settings of a cluster.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004960 &quot;name&quot;: &quot;A String&quot;, # The name (project, location, cluster) of the cluster to update.
4961 # Specified in the format `projects/*/locations/*/clusters/*`.
Bu Sun Kim65020912020-05-20 12:08:20 -07004962 &quot;projectId&quot;: &quot;A String&quot;, # Required. Deprecated. The Google Developers Console [project ID or project
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004963 # number](https://support.google.com/cloud/answer/6158840).
4964 # This field has been deprecated and replaced by the name field.
Bu Sun Kim65020912020-05-20 12:08:20 -07004965 &quot;zone&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the Google Compute Engine
4966 # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
4967 # cluster resides. This field has been deprecated and replaced by the name
4968 # field.
4969 &quot;clusterId&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the cluster to upgrade.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004970 # This field has been deprecated and replaced by the name field.
Bu Sun Kim65020912020-05-20 12:08:20 -07004971 &quot;update&quot;: { # ClusterUpdate describes an update to the cluster. Exactly one update can # Required. A description of the update.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07004972 # be applied to a cluster with each request, so at most one field can be
4973 # provided.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07004974 &quot;desiredNodeVersion&quot;: &quot;A String&quot;, # The Kubernetes version to change the nodes to (typically an
4975 # upgrade).
4976 #
4977 # Users may specify either explicit versions offered by
4978 # Kubernetes Engine or version aliases, which have the following behavior:
4979 #
4980 # - &quot;latest&quot;: picks the highest valid Kubernetes version
4981 # - &quot;1.X&quot;: picks the highest valid patch+gke.N patch in the 1.X version
4982 # - &quot;1.X.Y&quot;: picks the highest valid gke.N patch in the 1.X.Y version
4983 # - &quot;1.X.Y-gke.N&quot;: picks an explicit Kubernetes version
4984 # - &quot;-&quot;: picks the Kubernetes master version
4985 &quot;desiredClusterAutoscaling&quot;: { # ClusterAutoscaling contains global, per-cluster information # Cluster-level autoscaling configuration.
4986 # required by Cluster Autoscaler to automatically adjust
4987 # the size of the cluster and create/delete
4988 # node pools based on the current needs.
4989 &quot;autoprovisioningLocations&quot;: [ # The list of Google Compute Engine
4990 # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
4991 # NodePool&#x27;s nodes can be created by NAP.
4992 &quot;A String&quot;,
4993 ],
4994 &quot;resourceLimits&quot;: [ # Contains global constraints regarding minimum and maximum
4995 # amount of resources in the cluster.
4996 { # Contains information about amount of some resource in the cluster.
4997 # For memory, value should be in GB.
4998 &quot;maximum&quot;: &quot;A String&quot;, # Maximum amount of the resource in the cluster.
4999 &quot;resourceType&quot;: &quot;A String&quot;, # Resource name &quot;cpu&quot;, &quot;memory&quot; or gpu-specific string.
5000 &quot;minimum&quot;: &quot;A String&quot;, # Minimum amount of the resource in the cluster.
5001 },
5002 ],
5003 &quot;autoscalingProfile&quot;: &quot;A String&quot;, # Defines autoscaling behaviour.
5004 &quot;enableNodeAutoprovisioning&quot;: True or False, # Enables automatic node pool creation and deletion.
5005 &quot;autoprovisioningNodePoolDefaults&quot;: { # AutoprovisioningNodePoolDefaults contains defaults for a node pool created # AutoprovisioningNodePoolDefaults contains defaults for a node pool
5006 # created by NAP.
5007 # by NAP.
5008 &quot;serviceAccount&quot;: &quot;A String&quot;, # The Google Cloud Platform Service Account to be used by the node VMs. If
5009 # service_account is specified, scopes should be empty.
5010 &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum CPU platform to be used for NAP created node pools.
5011 # The instance may be scheduled on the specified or newer CPU platform.
5012 # Applicable values are the friendly names of CPU platforms, such as
5013 # &lt;code&gt;minCpuPlatform: &amp;quot;Intel Haswell&amp;quot;&lt;/code&gt; or
5014 # &lt;code&gt;minCpuPlatform: &amp;quot;Intel Sandy Bridge&amp;quot;&lt;/code&gt;. For more
5015 # information, read [how to specify min CPU
5016 # platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
5017 # To unset the min cpu platform field pass &quot;automatic&quot; as field value.
5018 &quot;management&quot;: { # NodeManagement defines the set of node management services turned on for the # Specifies the node management options for NAP created node-pools.
5019 # node pool.
5020 &quot;autoRepair&quot;: True or False, # Whether the nodes will be automatically repaired.
5021 &quot;autoUpgrade&quot;: True or False, # Whether the nodes will be automatically upgraded.
5022 &quot;upgradeOptions&quot;: { # AutoUpgradeOptions defines the set of options for the user to control how # Specifies the Auto Upgrade knobs for the node pool.
5023 # the Auto Upgrades will proceed.
5024 &quot;description&quot;: &quot;A String&quot;, # [Output only] This field is set when upgrades are about to commence
5025 # with the description of the upgrade.
5026 &quot;autoUpgradeStartTime&quot;: &quot;A String&quot;, # [Output only] This field is set when upgrades are about to commence
5027 # with the approximate start time for the upgrades, in
5028 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
5029 },
5030 },
5031 &quot;oauthScopes&quot;: [ # Scopes that are used by NAP when creating node pools. If oauth_scopes are
5032 # specified, service_account should be empty.
5033 &quot;A String&quot;,
5034 ],
5035 &quot;upgradeSettings&quot;: { # These upgrade settings control the level of parallelism and the level of # Specifies the upgrade settings for NAP created node pools
5036 # disruption caused by an upgrade.
5037 #
5038 # maxUnavailable controls the number of nodes that can be simultaneously
5039 # unavailable.
5040 #
5041 # maxSurge controls the number of additional nodes that can be added to the
5042 # node pool temporarily for the time of the upgrade to increase the number of
5043 # available nodes.
5044 #
5045 # (maxUnavailable + maxSurge) determines the level of parallelism (how many
5046 # nodes are being upgraded at the same time).
5047 #
5048 # Note: upgrades inevitably introduce some disruption since workloads need to
5049 # be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0,
5050 # this holds true. (Disruption stays within the limits of
5051 # PodDisruptionBudget, if it is configured.)
5052 #
5053 # Consider a hypothetical node pool with 5 nodes having maxSurge=2,
5054 # maxUnavailable=1. This means the upgrade process upgrades 3 nodes
5055 # simultaneously. It creates 2 additional (upgraded) nodes, then it brings
5056 # down 3 old (not yet upgraded) nodes at the same time. This ensures that
5057 # there are always at least 4 nodes available.
5058 &quot;maxUnavailable&quot;: 42, # The maximum number of nodes that can be simultaneously unavailable during
5059 # the upgrade process. A node is considered available if its status is
5060 # Ready.
5061 &quot;maxSurge&quot;: 42, # The maximum number of nodes that can be created beyond the current size
5062 # of the node pool during the upgrade process.
5063 },
5064 },
5065 },
5066 &quot;desiredPodSecurityPolicyConfig&quot;: { # Configuration for the PodSecurityPolicy feature. # The desired configuration options for the PodSecurityPolicy feature.
5067 &quot;enabled&quot;: True or False, # Enable the PodSecurityPolicy controller for this cluster. If enabled, pods
5068 # must be valid under a PodSecurityPolicy to be created.
5069 },
5070 &quot;desiredIntraNodeVisibilityConfig&quot;: { # IntraNodeVisibilityConfig contains the desired config of the intra-node # The desired config of Intra-node visibility.
5071 # visibility on this cluster.
5072 &quot;enabled&quot;: True or False, # Enables intra node visibility for this cluster.
5073 },
5074 &quot;desiredMasterAuthorizedNetworksConfig&quot;: { # Configuration options for the master authorized networks feature. Enabled # The desired configuration options for master authorized networks feature.
5075 # master authorized networks will disallow all external traffic to access
5076 # Kubernetes master through HTTPS except traffic from the given CIDR blocks,
5077 # Google Compute Engine Public IPs and Google Prod IPs.
5078 &quot;enabled&quot;: True or False, # Whether or not master authorized networks is enabled.
5079 &quot;cidrBlocks&quot;: [ # cidr_blocks define up to 10 external networks that could access
5080 # Kubernetes master through HTTPS.
5081 { # CidrBlock contains an optional name and one CIDR block.
5082 &quot;cidrBlock&quot;: &quot;A String&quot;, # cidr_block must be specified in CIDR notation.
5083 &quot;displayName&quot;: &quot;A String&quot;, # display_name is an optional field for users to identify CIDR blocks.
5084 },
5085 ],
5086 },
5087 &quot;desiredResourceUsageExportConfig&quot;: { # Configuration for exporting cluster resource usages. # The desired configuration for exporting resource usage.
5088 &quot;enableNetworkEgressMetering&quot;: True or False, # Whether to enable network egress metering for this cluster. If enabled, a
5089 # daemonset will be created in the cluster to meter network egress traffic.
5090 &quot;consumptionMeteringConfig&quot;: { # Parameters for controlling consumption metering. # Configuration to enable resource consumption metering.
5091 &quot;enabled&quot;: True or False, # Whether to enable consumption metering for this cluster. If enabled, a
5092 # second BigQuery table will be created to hold resource consumption
5093 # records.
5094 },
5095 &quot;bigqueryDestination&quot;: { # Parameters for using BigQuery as the destination of resource usage export. # Configuration to use BigQuery as usage export destination.
5096 &quot;datasetId&quot;: &quot;A String&quot;, # The ID of a BigQuery Dataset.
5097 },
5098 },
5099 &quot;desiredMonitoringService&quot;: &quot;A String&quot;, # The monitoring service the cluster should use to write metrics.
5100 # Currently available options:
5101 #
5102 # * &quot;monitoring.googleapis.com/kubernetes&quot; - The Cloud Monitoring
5103 # service with a Kubernetes-native resource model
5104 # * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no
5105 # longer available as of GKE 1.15).
5106 # * `none` - No metrics will be exported from the cluster.
5107 #
5108 # If left as an empty string,`monitoring.googleapis.com/kubernetes` will be
5109 # used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
5110 &quot;desiredImageType&quot;: &quot;A String&quot;, # The desired image type for the node pool.
5111 # NOTE: Set the &quot;desired_node_pool&quot; field as well.
5112 &quot;desiredWorkloadIdentityConfig&quot;: { # Configuration for the use of Kubernetes Service Accounts in GCP IAM # Configuration for Workload Identity.
5113 # policies.
5114 &quot;workloadPool&quot;: &quot;A String&quot;, # The workload pool to attach all Kubernetes service accounts to.
5115 &quot;identityNamespace&quot;: &quot;A String&quot;, # IAM Identity Namespace to attach all Kubernetes Service Accounts to.
5116 },
5117 &quot;desiredReleaseChannel&quot;: { # ReleaseChannel indicates which release channel a cluster is # The desired release channel configuration.
5118 # subscribed to. Release channels are arranged in order of risk and
5119 # frequency of updates.
5120 #
5121 # When a cluster is subscribed to a release channel, Google maintains
5122 # both the master version and the node version. Node auto-upgrade
5123 # defaults to true and cannot be disabled. Updates to version related
5124 # fields (e.g. current_master_version) return an error.
5125 &quot;channel&quot;: &quot;A String&quot;, # channel specifies which release channel the cluster is subscribed to.
5126 },
5127 &quot;desiredShieldedNodes&quot;: { # Configuration of Shielded Nodes feature. # Configuration for Shielded Nodes.
5128 &quot;enabled&quot;: True or False, # Whether Shielded Nodes features are enabled on all nodes in this cluster.
5129 },
Bu Sun Kim65020912020-05-20 12:08:20 -07005130 &quot;desiredPrivateClusterConfig&quot;: { # Configuration options for private clusters. # The desired private cluster configuration.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005131 &quot;masterIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP range in CIDR notation to use for the hosted master network. This
5132 # range will be used for assigning internal IP addresses to the master or
5133 # set of masters, as well as the ILB VIP. This range must not overlap with
5134 # any other ranges in use within the cluster&#x27;s network.
5135 &quot;enablePrivateNodes&quot;: True or False, # Whether nodes have internal IP addresses only. If enabled, all nodes are
5136 # given only RFC 1918 private addresses and communicate with the master via
5137 # private networking.
Bu Sun Kim65020912020-05-20 12:08:20 -07005138 &quot;privateEndpoint&quot;: &quot;A String&quot;, # Output only. The internal IP address of this cluster&#x27;s master endpoint.
5139 &quot;enablePrivateEndpoint&quot;: True or False, # Whether the master&#x27;s internal IP address is used as the cluster endpoint.
5140 &quot;peeringName&quot;: &quot;A String&quot;, # Output only. The peering name in the customer VPC used by this cluster.
5141 &quot;masterGlobalAccessConfig&quot;: { # Configuration for controlling master global access settings. # Controls master global access settings.
5142 &quot;enabled&quot;: True or False, # Whenever master is accessible globally or not.
5143 },
5144 &quot;publicEndpoint&quot;: &quot;A String&quot;, # Output only. The external IP address of this cluster&#x27;s master endpoint.
Dan O'Mearadd494642020-05-01 07:42:23 -07005145 },
Bu Sun Kim65020912020-05-20 12:08:20 -07005146 &quot;desiredVerticalPodAutoscaling&quot;: { # VerticalPodAutoscaling contains global, per-cluster information # Cluster-level Vertical Pod Autoscaling configuration.
5147 # required by Vertical Pod Autoscaler to automatically adjust
5148 # the resources of pods controlled by it.
5149 &quot;enabled&quot;: True or False, # Enables vertical pod autoscaling.
5150 },
5151 &quot;desiredBinaryAuthorization&quot;: { # Configuration for Binary Authorization. # The desired configuration options for the Binary Authorization feature.
5152 &quot;enabled&quot;: True or False, # Enable Binary Authorization for this cluster. If enabled, all container
5153 # images will be validated by Google Binauthz.
5154 },
5155 &quot;desiredAddonsConfig&quot;: { # Configuration for the addons that can be automatically spun up in the # Configurations for the various addons available to run in the cluster.
5156 # cluster, enabling additional functionality.
Bu Sun Kim65020912020-05-20 12:08:20 -07005157 &quot;httpLoadBalancing&quot;: { # Configuration options for the HTTP (L7) load balancing controller addon, # Configuration for the HTTP (L7) load balancing controller addon, which
5158 # makes it easy to set up HTTP load balancers for services in a cluster.
5159 # which makes it easy to set up HTTP load balancers for services in a cluster.
5160 &quot;disabled&quot;: True or False, # Whether the HTTP Load Balancing controller is enabled in the cluster.
5161 # When enabled, it runs a small pod in the cluster that manages the load
5162 # balancers.
5163 },
5164 &quot;kubernetesDashboard&quot;: { # Configuration for the Kubernetes Dashboard. # Configuration for the Kubernetes Dashboard.
5165 # This addon is deprecated, and will be disabled in 1.15. It is recommended
5166 # to use the Cloud Console to manage and monitor your Kubernetes clusters,
5167 # workloads and applications. For more information, see:
5168 # https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
5169 &quot;disabled&quot;: True or False, # Whether the Kubernetes Dashboard is enabled for this cluster.
5170 },
5171 &quot;dnsCacheConfig&quot;: { # Configuration for NodeLocal DNSCache # Configuration for NodeLocalDNS, a dns cache running on cluster nodes
5172 &quot;enabled&quot;: True or False, # Whether NodeLocal DNSCache is enabled for this cluster.
5173 },
5174 &quot;kalmConfig&quot;: { # Configuration options for the KALM addon. # Configuration for the KALM addon, which manages the lifecycle of k8s
5175 # applications.
5176 &quot;enabled&quot;: True or False, # Whether KALM is enabled for this cluster.
5177 },
5178 &quot;gcePersistentDiskCsiDriverConfig&quot;: { # Configuration for the Compute Engine PD CSI driver. This option can only be # Configuration for the Compute Engine Persistent Disk CSI driver.
5179 # enabled at cluster creation time.
5180 &quot;enabled&quot;: True or False, # Whether the Compute Engine PD CSI driver is enabled for this cluster.
5181 },
5182 &quot;istioConfig&quot;: { # Configuration options for Istio addon. # Configuration for Istio, an open platform to connect, manage, and secure
5183 # microservices.
Bu Sun Kim65020912020-05-20 12:08:20 -07005184 &quot;auth&quot;: &quot;A String&quot;, # The specified Istio auth mode, either none, or mutual TLS.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005185 &quot;disabled&quot;: True or False, # Whether Istio is enabled for this cluster.
Bu Sun Kim65020912020-05-20 12:08:20 -07005186 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005187 &quot;networkPolicyConfig&quot;: { # Configuration for NetworkPolicy. This only tracks whether the addon # Configuration for NetworkPolicy. This only tracks whether the addon
5188 # is enabled or not on the Master, it does not track whether network policy
5189 # is enabled for the nodes.
5190 # is enabled or not on the Master, it does not track whether network policy
5191 # is enabled for the nodes.
5192 &quot;disabled&quot;: True or False, # Whether NetworkPolicy is enabled for this cluster.
Dan O'Mearadd494642020-05-01 07:42:23 -07005193 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005194 &quot;cloudRunConfig&quot;: { # Configuration options for the Cloud Run feature. # Configuration for the Cloud Run addon. The `IstioConfig` addon must be
5195 # enabled in order to enable Cloud Run addon. This option can only be enabled
5196 # at cluster creation time.
5197 &quot;disabled&quot;: True or False, # Whether Cloud Run addon is enabled for this cluster.
5198 },
5199 &quot;configConnectorConfig&quot;: { # Configuration options for the Config Connector add-on. # Configuration for the ConfigConnector add-on, a Kubernetes
5200 # extension to manage hosted GCP services through the Kubernetes API
5201 &quot;enabled&quot;: True or False, # Whether Cloud Connector is enabled for this cluster.
5202 },
5203 &quot;horizontalPodAutoscaling&quot;: { # Configuration options for the horizontal pod autoscaling feature, which # Configuration for the horizontal pod autoscaling feature, which
5204 # increases or decreases the number of replica pods a replication controller
5205 # has based on the resource usage of the existing pods.
5206 # increases or decreases the number of replica pods a replication controller
5207 # has based on the resource usage of the existing pods.
5208 &quot;disabled&quot;: True or False, # Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
5209 # When enabled, it ensures that metrics are collected into Stackdriver
5210 # Monitoring.
5211 },
Bu Sun Kim65020912020-05-20 12:08:20 -07005212 },
5213 &quot;desiredDatabaseEncryption&quot;: { # Configuration of etcd encryption. # Configuration of etcd encryption.
5214 &quot;state&quot;: &quot;A String&quot;, # Denotes the state of etcd encryption.
5215 &quot;keyName&quot;: &quot;A String&quot;, # Name of CloudKMS key to use for the encryption of secrets in etcd.
5216 # Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
5217 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005218 &quot;desiredDefaultSnatStatus&quot;: { # DefaultSnatStatus contains the desired state of whether default sNAT should # The desired status of whether to disable default sNAT for this cluster.
5219 # be disabled on the cluster.
5220 &quot;disabled&quot;: True or False, # Disables cluster default sNAT rules.
Dan O'Mearadd494642020-05-01 07:42:23 -07005221 },
Bu Sun Kim65020912020-05-20 12:08:20 -07005222 &quot;desiredTpuConfig&quot;: { # Configuration for Cloud TPU. # The desired Cloud TPU configuration.
Bu Sun Kim65020912020-05-20 12:08:20 -07005223 &quot;useServiceNetworking&quot;: True or False, # Whether to use service networking for Cloud TPU or not.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005224 &quot;ipv4CidrBlock&quot;: &quot;A String&quot;, # IPv4 CIDR block reserved for Cloud TPU in the VPC.
5225 &quot;enabled&quot;: True or False, # Whether Cloud TPU integration is enabled or not.
Bu Sun Kim65020912020-05-20 12:08:20 -07005226 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005227 &quot;desiredNodePoolAutoscaling&quot;: { # NodePoolAutoscaling contains information required by cluster autoscaler to # Autoscaler configuration for the node pool specified in
5228 # desired_node_pool_id. If there is only one pool in the
5229 # cluster and desired_node_pool_id is not provided then
5230 # the change applies to that single node pool.
5231 # adjust the size of the node pool to the current cluster usage.
5232 &quot;maxNodeCount&quot;: 42, # Maximum number of nodes in the NodePool. Must be &gt;= min_node_count. There
5233 # has to enough quota to scale up the cluster.
5234 &quot;autoprovisioned&quot;: True or False, # Can this node pool be deleted automatically.
5235 &quot;minNodeCount&quot;: 42, # Minimum number of nodes in the NodePool. Must be &gt;= 1 and &lt;=
5236 # max_node_count.
5237 &quot;enabled&quot;: True or False, # Is autoscaling enabled for this node pool.
Bu Sun Kim65020912020-05-20 12:08:20 -07005238 },
5239 &quot;desiredLocations&quot;: [ # The desired list of Google Compute Engine
5240 # [zones](https://cloud.google.com/compute/docs/zones#available) in which the
5241 # cluster&#x27;s nodes should be located. Changing the locations a cluster is in
5242 # will result in nodes being either created or removed from the cluster,
5243 # depending on whether locations are being added or removed.
5244 #
5245 # This list must always include the cluster&#x27;s primary zone.
5246 &quot;A String&quot;,
5247 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07005248 &quot;desiredClusterTelemetry&quot;: { # Telemetry integration for the cluster. # The desired telemetry integration for the cluster.
5249 &quot;type&quot;: &quot;A String&quot;, # Type of the integration.
Dan O'Mearadd494642020-05-01 07:42:23 -07005250 },
Bu Sun Kim65020912020-05-20 12:08:20 -07005251 &quot;desiredNodePoolId&quot;: &quot;A String&quot;, # The node pool to be upgraded. This field is mandatory if
5252 # &quot;desired_node_version&quot;, &quot;desired_image_family&quot;,
5253 # &quot;desired_node_pool_autoscaling&quot;, or &quot;desired_workload_metadata_config&quot;
5254 # is specified and there is more than one node pool on the cluster.
Bu Sun Kim65020912020-05-20 12:08:20 -07005255 &quot;desiredMasterVersion&quot;: &quot;A String&quot;, # The Kubernetes version to change the master to. The only valid value is the
5256 # latest supported version.
5257 #
5258 # Users may specify either explicit versions offered by
5259 # Kubernetes Engine or version aliases, which have the following behavior:
5260 #
5261 # - &quot;latest&quot;: picks the highest valid Kubernetes version
5262 # - &quot;1.X&quot;: picks the highest valid patch+gke.N patch in the 1.X version
5263 # - &quot;1.X.Y&quot;: picks the highest valid gke.N patch in the 1.X.Y version
5264 # - &quot;1.X.Y-gke.N&quot;: picks an explicit Kubernetes version
5265 # - &quot;-&quot;: picks the default Kubernetes version
Bu Sun Kim65020912020-05-20 12:08:20 -07005266 &quot;desiredLoggingService&quot;: &quot;A String&quot;, # The logging service the cluster should use to write logs.
5267 # Currently available options:
5268 #
5269 # * `logging.googleapis.com/kubernetes` - The Cloud Logging
5270 # service with a Kubernetes-native resource model
5271 # * `logging.googleapis.com` - The legacy Cloud Logging service (no longer
5272 # available as of GKE 1.15).
5273 # * `none` - no logs will be exported from the cluster.
5274 #
5275 # If left as an empty string,`logging.googleapis.com/kubernetes` will be
5276 # used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07005277 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07005278 }
5279
5280 x__xgafv: string, V1 error format.
5281 Allowed values
5282 1 - v1 error format
5283 2 - v2 error format
5284
5285Returns:
5286 An object of the form:
5287
5288 { # This operation resource represents operations that may have happened or are
5289 # happening on the cluster. All fields are output only.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005290 &quot;targetLink&quot;: &quot;A String&quot;, # Server-defined URL for the target of the operation.
5291 &quot;detail&quot;: &quot;A String&quot;, # Detailed operation progress, if available.
5292 &quot;operationType&quot;: &quot;A String&quot;, # The operation type.
5293 &quot;status&quot;: &quot;A String&quot;, # The current status of the operation.
5294 &quot;name&quot;: &quot;A String&quot;, # The server-assigned ID for the operation.
Bu Sun Kim65020912020-05-20 12:08:20 -07005295 &quot;nodepoolConditions&quot;: [ # Which conditions caused the current node pool state.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07005296 { # StatusCondition describes why a cluster or a node pool has a certain status
5297 # (e.g., ERROR or DEGRADED).
Bu Sun Kim65020912020-05-20 12:08:20 -07005298 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
5299 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07005300 },
5301 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005302 &quot;endTime&quot;: &quot;A String&quot;, # [Output only] The time the operation completed, in
5303 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
Bu Sun Kim65020912020-05-20 12:08:20 -07005304 &quot;location&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine
Dan O'Mearadd494642020-05-01 07:42:23 -07005305 # [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
5306 # or
5307 # [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
5308 # in which the cluster resides.
Bu Sun Kim65020912020-05-20 12:08:20 -07005309 &quot;startTime&quot;: &quot;A String&quot;, # [Output only] The time the operation started, in
5310 # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
5311 &quot;clusterConditions&quot;: [ # Which conditions caused the current cluster state.
5312 { # StatusCondition describes why a cluster or a node pool has a certain status
5313 # (e.g., ERROR or DEGRADED).
5314 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
5315 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
5316 },
5317 ],
5318 &quot;progress&quot;: { # Information about operation (or operation stage) progress. # Output only. [Output only] Progress information for an operation.
Bu Sun Kim65020912020-05-20 12:08:20 -07005319 &quot;metrics&quot;: [ # Progress metric bundle, for example:
5320 # metrics: [{name: &quot;nodes done&quot;, int_value: 15},
5321 # {name: &quot;nodes total&quot;, int_value: 32}]
5322 # or
5323 # metrics: [{name: &quot;progress&quot;, double_value: 0.56},
5324 # {name: &quot;progress scale&quot;, double_value: 1.0}]
5325 { # Progress metric is (string, int|float|string) pair.
5326 &quot;name&quot;: &quot;A String&quot;, # Required. Metric name, e.g., &quot;nodes total&quot;, &quot;percent done&quot;.
5327 &quot;doubleValue&quot;: 3.14, # For metrics with floating point value.
5328 &quot;intValue&quot;: &quot;A String&quot;, # For metrics with integer value.
5329 &quot;stringValue&quot;: &quot;A String&quot;, # For metrics with custom values (ratios, visual progress, etc.).
5330 },
5331 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005332 &quot;status&quot;: &quot;A String&quot;, # Status of an operation stage.
5333 # Unset for single-stage operations.
Bu Sun Kim65020912020-05-20 12:08:20 -07005334 &quot;name&quot;: &quot;A String&quot;, # A non-parameterized string describing an operation stage.
5335 # Unset for single-stage operations.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07005336 &quot;stages&quot;: [ # Substages of an operation or a stage.
5337 # Object with schema name: OperationProgress
5338 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07005339 },
5340 &quot;zone&quot;: &quot;A String&quot;, # The name of the Google Compute Engine
5341 # [zone](https://cloud.google.com/compute/docs/zones#available) in which the
5342 # operation is taking place. This field is deprecated, use location instead.
5343 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. If an error has occurred, a textual description of the error.
5344 &quot;selfLink&quot;: &quot;A String&quot;, # Server-defined URL for the resource.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07005345 }</pre>
5346</div>
5347
5348</body></html>