Skip to content

Commit de6112d

Browse files
feat(container): update the api
#### container:v1 The following keys were added: - schemas.Operation.properties.error (Total Keys: 1) - schemas.Status (Total Keys: 9) #### container:v1beta1 The following keys were added: - schemas.ClusterUpdate.properties.desiredL4ilbSubsettingConfig (Total Keys: 1) - schemas.ILBSubsettingConfig (Total Keys: 3) - schemas.NetworkConfig.properties.enableL4ilbSubsetting (Total Keys: 1) - schemas.NetworkTags (Total Keys: 4) - schemas.NodeLabels (Total Keys: 4) - schemas.NodeTaints (Total Keys: 4) - schemas.UpdateNodePoolRequest.properties.labels (Total Keys: 1) - schemas.UpdateNodePoolRequest.properties.tags (Total Keys: 1) - schemas.UpdateNodePoolRequest.properties.taints (Total Keys: 1)
1 parent b48cff4 commit de6112d

12 files changed

+1063
-321
lines changed

docs/dyn/container_v1.projects.locations.clusters.html

Lines changed: 255 additions & 84 deletions
Large diffs are not rendered by default.

docs/dyn/container_v1.projects.locations.clusters.nodePools.html

Lines changed: 118 additions & 38 deletions
Large diffs are not rendered by default.

docs/dyn/container_v1.projects.locations.operations.html

Lines changed: 32 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -138,19 +138,30 @@ <h3>Method Details</h3>
138138
An object of the form:
139139

140140
{ # This operation resource represents operations that may have happened or are happening on the cluster. All fields are output only.
141-
&quot;clusterConditions&quot;: [ # Which conditions caused the current cluster state.
141+
&quot;clusterConditions&quot;: [ # Which conditions caused the current cluster state. Deprecated. Use field error instead.
142142
{ # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
143-
&quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
143+
&quot;canonicalCode&quot;: &quot;A String&quot;, # Canonical code of the condition.
144+
&quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
144145
&quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
145146
},
146147
],
147148
&quot;detail&quot;: &quot;A String&quot;, # Detailed operation progress, if available.
148149
&quot;endTime&quot;: &quot;A String&quot;, # [Output only] The time the operation completed, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
150+
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure.
151+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
152+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
153+
{
154+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
155+
},
156+
],
157+
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
158+
},
149159
&quot;location&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which the cluster resides.
150160
&quot;name&quot;: &quot;A String&quot;, # The server-assigned ID for the operation.
151-
&quot;nodepoolConditions&quot;: [ # Which conditions caused the current node pool state.
161+
&quot;nodepoolConditions&quot;: [ # Which conditions caused the current node pool state. Deprecated. Use field error instead.
152162
{ # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
153-
&quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
163+
&quot;canonicalCode&quot;: &quot;A String&quot;, # Canonical code of the condition.
164+
&quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
154165
&quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
155166
},
156167
],
@@ -173,7 +184,7 @@ <h3>Method Details</h3>
173184
&quot;selfLink&quot;: &quot;A String&quot;, # Server-defined URL for the resource.
174185
&quot;startTime&quot;: &quot;A String&quot;, # [Output only] The time the operation started, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
175186
&quot;status&quot;: &quot;A String&quot;, # The current status of the operation.
176-
&quot;statusMessage&quot;: &quot;A String&quot;, # Output only. If an error has occurred, a textual description of the error.
187+
&quot;statusMessage&quot;: &quot;A String&quot;, # Output only. If an error has occurred, a textual description of the error. Deprecated. Use the field error instead.
177188
&quot;targetLink&quot;: &quot;A String&quot;, # Server-defined URL for the target of the operation.
178189
&quot;zone&quot;: &quot;A String&quot;, # The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation is taking place. This field is deprecated, use location instead.
179190
}</pre>
@@ -201,19 +212,30 @@ <h3>Method Details</h3>
201212
],
202213
&quot;operations&quot;: [ # A list of operations in the project in the specified zone.
203214
{ # This operation resource represents operations that may have happened or are happening on the cluster. All fields are output only.
204-
&quot;clusterConditions&quot;: [ # Which conditions caused the current cluster state.
215+
&quot;clusterConditions&quot;: [ # Which conditions caused the current cluster state. Deprecated. Use field error instead.
205216
{ # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
206-
&quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
217+
&quot;canonicalCode&quot;: &quot;A String&quot;, # Canonical code of the condition.
218+
&quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
207219
&quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
208220
},
209221
],
210222
&quot;detail&quot;: &quot;A String&quot;, # Detailed operation progress, if available.
211223
&quot;endTime&quot;: &quot;A String&quot;, # [Output only] The time the operation completed, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
224+
&quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure.
225+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
226+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
227+
{
228+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
229+
},
230+
],
231+
&quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
232+
},
212233
&quot;location&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which the cluster resides.
213234
&quot;name&quot;: &quot;A String&quot;, # The server-assigned ID for the operation.
214-
&quot;nodepoolConditions&quot;: [ # Which conditions caused the current node pool state.
235+
&quot;nodepoolConditions&quot;: [ # Which conditions caused the current node pool state. Deprecated. Use field error instead.
215236
{ # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
216-
&quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition
237+
&quot;canonicalCode&quot;: &quot;A String&quot;, # Canonical code of the condition.
238+
&quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
217239
&quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
218240
},
219241
],
@@ -236,7 +258,7 @@ <h3>Method Details</h3>
236258
&quot;selfLink&quot;: &quot;A String&quot;, # Server-defined URL for the resource.
237259
&quot;startTime&quot;: &quot;A String&quot;, # [Output only] The time the operation started, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
238260
&quot;status&quot;: &quot;A String&quot;, # The current status of the operation.
239-
&quot;statusMessage&quot;: &quot;A String&quot;, # Output only. If an error has occurred, a textual description of the error.
261+
&quot;statusMessage&quot;: &quot;A String&quot;, # Output only. If an error has occurred, a textual description of the error. Deprecated. Use the field error instead.
240262
&quot;targetLink&quot;: &quot;A String&quot;, # Server-defined URL for the target of the operation.
241263
&quot;zone&quot;: &quot;A String&quot;, # The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation is taking place. This field is deprecated, use location instead.
242264
},

0 commit comments

Comments
 (0)