Debian Codegraph @

docs/dyn/gkehub_v1.projects.locations.fleets.html

raw
1 <html><body>
2 <style>
3
4 body, 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
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, 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="gkehub_v1.html">GKE Hub API</a> . <a href="gkehub_v1.projects.html">projects</a> . <a href="gkehub_v1.projects.locations.html">locations</a> . <a href="gkehub_v1.projects.locations.fleets.html">fleets</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a fleet.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85 <p class="firstline">Removes a Fleet. There must be no memberships remaining in the Fleet.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Returns the details of a fleet.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Returns all fleets within an organization or a project that the caller has access to.</p>
92 <p class="toc_element">
93 <code><a href="#list_next">list_next()</a></code></p>
94 <p class="firstline">Retrieves the next page of results.</p>
95 <p class="toc_element">
96 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Updates a fleet.</p>
98 <h3>Method Details</h3>
99 <div class="method">
100 <code class="details" id="close">close()</code>
101 <pre>Close httplib2 connections.</pre>
102 </div>
103
104 <div class="method">
105 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
106 <pre>Creates a fleet.
107
108 Args:
109 parent: string, Required. The parent (project and location) where the Fleet will be created. Specified in the format `projects/*/locations/*`. (required)
110 body: object, The request body.
111 The object takes the form of:
112
113 { # Fleet contains the Fleet-wide metadata and configuration.
114 &quot;createTime&quot;: &quot;A String&quot;, # Output only. When the Fleet was created.
115 &quot;defaultClusterConfig&quot;: { # DefaultClusterConfig describes the default cluster configurations to be applied to all clusters born-in-fleet. # Optional. The default cluster configurations to apply across the fleet.
116 &quot;binaryAuthorizationConfig&quot;: { # BinaryAuthorizationConfig defines the fleet level configuration of binary authorization feature. # Optional. Enable/Disable binary authorization features for the cluster.
117 &quot;evaluationMode&quot;: &quot;A String&quot;, # Optional. Mode of operation for binauthz policy evaluation.
118 &quot;policyBindings&quot;: [ # Optional. Binauthz policies that apply to this cluster.
119 { # Binauthz policy that applies to this cluster.
120 &quot;name&quot;: &quot;A String&quot;, # The relative resource name of the binauthz platform policy to audit. GKE platform policies have the following format: `projects/{project_number}/platforms/gke/policies/{policy_id}`.
121 },
122 ],
123 },
124 &quot;compliancePostureConfig&quot;: { # Deprecated: Compliance Posture is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. CompliancePostureConfig defines the settings needed to enable/disable features for the Compliance Posture. # Optional. Deprecated: Compliance Posture is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Enable/Disable Compliance Posture features for the cluster. Note that on UpdateFleet, only full replacement of this field is allowed. Users are not allowed for partial updates through field mask.
125 &quot;complianceStandards&quot;: [ # List of enabled compliance standards.
126 {
127 &quot;standard&quot;: &quot;A String&quot;, # Name of the compliance standard.
128 },
129 ],
130 &quot;mode&quot;: &quot;A String&quot;, # Defines the enablement mode for Compliance Posture.
131 },
132 &quot;securityPostureConfig&quot;: { # SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API. # Optional. Enable/Disable Security Posture features for the cluster.
133 &quot;mode&quot;: &quot;A String&quot;, # Sets which mode to use for Security Posture features.
134 &quot;vulnerabilityMode&quot;: &quot;A String&quot;, # Sets which mode to use for vulnerability scanning.
135 },
136 },
137 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. When the Fleet was deleted.
138 &quot;displayName&quot;: &quot;A String&quot;, # Optional. A user-assigned display name of the Fleet. When present, it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point. Example: `Production Fleet`
139 &quot;labels&quot;: { # Optional. Labels for this Fleet.
140 &quot;a_key&quot;: &quot;A String&quot;,
141 },
142 &quot;name&quot;: &quot;A String&quot;, # Output only. The full, unique resource name of this fleet in the format of `projects/{project}/locations/{location}/fleets/{fleet}`. Each Google Cloud project can have at most one fleet resource, named &quot;default&quot;.
143 &quot;state&quot;: { # FleetLifecycleState describes the state of a Fleet resource. # Output only. State of the namespace resource.
144 &quot;code&quot;: &quot;A String&quot;, # Output only. The current state of the Fleet resource.
145 },
146 &quot;uid&quot;: &quot;A String&quot;, # Output only. Google-generated UUID for this resource. This is unique across all Fleet resources. If a Fleet resource is deleted and another resource with the same name is created, it gets a different uid.
147 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. When the Fleet was last updated.
148 }
149
150 x__xgafv: string, V1 error format.
151 Allowed values
152 1 - v1 error format
153 2 - v2 error format
154
155 Returns:
156 An object of the form:
157
158 { # This resource represents a long-running operation that is the result of a network API call.
159 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
160 &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 or cancellation.
161 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
162 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
163 {
164 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
165 },
166 ],
167 &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.
168 },
169 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
170 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
171 },
172 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
173 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
174 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
175 },
176 }</pre>
177 </div>
178
179 <div class="method">
180 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
181 <pre>Removes a Fleet. There must be no memberships remaining in the Fleet.
182
183 Args:
184 name: string, Required. The Fleet resource name in the format `projects/*/locations/*/fleets/*`. (required)
185 x__xgafv: string, V1 error format.
186 Allowed values
187 1 - v1 error format
188 2 - v2 error format
189
190 Returns:
191 An object of the form:
192
193 { # This resource represents a long-running operation that is the result of a network API call.
194 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
195 &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 or cancellation.
196 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
197 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
198 {
199 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
200 },
201 ],
202 &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.
203 },
204 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
205 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
206 },
207 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
208 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
209 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
210 },
211 }</pre>
212 </div>
213
214 <div class="method">
215 <code class="details" id="get">get(name, x__xgafv=None)</code>
216 <pre>Returns the details of a fleet.
217
218 Args:
219 name: string, Required. The Fleet resource name in the format `projects/*/locations/*/fleets/*`. (required)
220 x__xgafv: string, V1 error format.
221 Allowed values
222 1 - v1 error format
223 2 - v2 error format
224
225 Returns:
226 An object of the form:
227
228 { # Fleet contains the Fleet-wide metadata and configuration.
229 &quot;createTime&quot;: &quot;A String&quot;, # Output only. When the Fleet was created.
230 &quot;defaultClusterConfig&quot;: { # DefaultClusterConfig describes the default cluster configurations to be applied to all clusters born-in-fleet. # Optional. The default cluster configurations to apply across the fleet.
231 &quot;binaryAuthorizationConfig&quot;: { # BinaryAuthorizationConfig defines the fleet level configuration of binary authorization feature. # Optional. Enable/Disable binary authorization features for the cluster.
232 &quot;evaluationMode&quot;: &quot;A String&quot;, # Optional. Mode of operation for binauthz policy evaluation.
233 &quot;policyBindings&quot;: [ # Optional. Binauthz policies that apply to this cluster.
234 { # Binauthz policy that applies to this cluster.
235 &quot;name&quot;: &quot;A String&quot;, # The relative resource name of the binauthz platform policy to audit. GKE platform policies have the following format: `projects/{project_number}/platforms/gke/policies/{policy_id}`.
236 },
237 ],
238 },
239 &quot;compliancePostureConfig&quot;: { # Deprecated: Compliance Posture is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. CompliancePostureConfig defines the settings needed to enable/disable features for the Compliance Posture. # Optional. Deprecated: Compliance Posture is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Enable/Disable Compliance Posture features for the cluster. Note that on UpdateFleet, only full replacement of this field is allowed. Users are not allowed for partial updates through field mask.
240 &quot;complianceStandards&quot;: [ # List of enabled compliance standards.
241 {
242 &quot;standard&quot;: &quot;A String&quot;, # Name of the compliance standard.
243 },
244 ],
245 &quot;mode&quot;: &quot;A String&quot;, # Defines the enablement mode for Compliance Posture.
246 },
247 &quot;securityPostureConfig&quot;: { # SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API. # Optional. Enable/Disable Security Posture features for the cluster.
248 &quot;mode&quot;: &quot;A String&quot;, # Sets which mode to use for Security Posture features.
249 &quot;vulnerabilityMode&quot;: &quot;A String&quot;, # Sets which mode to use for vulnerability scanning.
250 },
251 },
252 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. When the Fleet was deleted.
253 &quot;displayName&quot;: &quot;A String&quot;, # Optional. A user-assigned display name of the Fleet. When present, it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point. Example: `Production Fleet`
254 &quot;labels&quot;: { # Optional. Labels for this Fleet.
255 &quot;a_key&quot;: &quot;A String&quot;,
256 },
257 &quot;name&quot;: &quot;A String&quot;, # Output only. The full, unique resource name of this fleet in the format of `projects/{project}/locations/{location}/fleets/{fleet}`. Each Google Cloud project can have at most one fleet resource, named &quot;default&quot;.
258 &quot;state&quot;: { # FleetLifecycleState describes the state of a Fleet resource. # Output only. State of the namespace resource.
259 &quot;code&quot;: &quot;A String&quot;, # Output only. The current state of the Fleet resource.
260 },
261 &quot;uid&quot;: &quot;A String&quot;, # Output only. Google-generated UUID for this resource. This is unique across all Fleet resources. If a Fleet resource is deleted and another resource with the same name is created, it gets a different uid.
262 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. When the Fleet was last updated.
263 }</pre>
264 </div>
265
266 <div class="method">
267 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
268 <pre>Returns all fleets within an organization or a project that the caller has access to.
269
270 Args:
271 parent: string, Required. The organization or project to list for Fleets under, in the format `organizations/*/locations/*` or `projects/*/locations/*`. (required)
272 pageSize: integer, Optional. The maximum number of fleets to return. The service may return fewer than this value. If unspecified, at most 200 fleets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
273 pageToken: string, Optional. A page token, received from a previous `ListFleets` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListFleets` must match the call that provided the page token.
274 x__xgafv: string, V1 error format.
275 Allowed values
276 1 - v1 error format
277 2 - v2 error format
278
279 Returns:
280 An object of the form:
281
282 { # Response message for the `GkeHub.ListFleetsResponse` method.
283 &quot;fleets&quot;: [ # The list of matching fleets.
284 { # Fleet contains the Fleet-wide metadata and configuration.
285 &quot;createTime&quot;: &quot;A String&quot;, # Output only. When the Fleet was created.
286 &quot;defaultClusterConfig&quot;: { # DefaultClusterConfig describes the default cluster configurations to be applied to all clusters born-in-fleet. # Optional. The default cluster configurations to apply across the fleet.
287 &quot;binaryAuthorizationConfig&quot;: { # BinaryAuthorizationConfig defines the fleet level configuration of binary authorization feature. # Optional. Enable/Disable binary authorization features for the cluster.
288 &quot;evaluationMode&quot;: &quot;A String&quot;, # Optional. Mode of operation for binauthz policy evaluation.
289 &quot;policyBindings&quot;: [ # Optional. Binauthz policies that apply to this cluster.
290 { # Binauthz policy that applies to this cluster.
291 &quot;name&quot;: &quot;A String&quot;, # The relative resource name of the binauthz platform policy to audit. GKE platform policies have the following format: `projects/{project_number}/platforms/gke/policies/{policy_id}`.
292 },
293 ],
294 },
295 &quot;compliancePostureConfig&quot;: { # Deprecated: Compliance Posture is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. CompliancePostureConfig defines the settings needed to enable/disable features for the Compliance Posture. # Optional. Deprecated: Compliance Posture is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Enable/Disable Compliance Posture features for the cluster. Note that on UpdateFleet, only full replacement of this field is allowed. Users are not allowed for partial updates through field mask.
296 &quot;complianceStandards&quot;: [ # List of enabled compliance standards.
297 {
298 &quot;standard&quot;: &quot;A String&quot;, # Name of the compliance standard.
299 },
300 ],
301 &quot;mode&quot;: &quot;A String&quot;, # Defines the enablement mode for Compliance Posture.
302 },
303 &quot;securityPostureConfig&quot;: { # SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API. # Optional. Enable/Disable Security Posture features for the cluster.
304 &quot;mode&quot;: &quot;A String&quot;, # Sets which mode to use for Security Posture features.
305 &quot;vulnerabilityMode&quot;: &quot;A String&quot;, # Sets which mode to use for vulnerability scanning.
306 },
307 },
308 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. When the Fleet was deleted.
309 &quot;displayName&quot;: &quot;A String&quot;, # Optional. A user-assigned display name of the Fleet. When present, it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point. Example: `Production Fleet`
310 &quot;labels&quot;: { # Optional. Labels for this Fleet.
311 &quot;a_key&quot;: &quot;A String&quot;,
312 },
313 &quot;name&quot;: &quot;A String&quot;, # Output only. The full, unique resource name of this fleet in the format of `projects/{project}/locations/{location}/fleets/{fleet}`. Each Google Cloud project can have at most one fleet resource, named &quot;default&quot;.
314 &quot;state&quot;: { # FleetLifecycleState describes the state of a Fleet resource. # Output only. State of the namespace resource.
315 &quot;code&quot;: &quot;A String&quot;, # Output only. The current state of the Fleet resource.
316 },
317 &quot;uid&quot;: &quot;A String&quot;, # Output only. Google-generated UUID for this resource. This is unique across all Fleet resources. If a Fleet resource is deleted and another resource with the same name is created, it gets a different uid.
318 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. When the Fleet was last updated.
319 },
320 ],
321 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. The token is only valid for 1h.
322 }</pre>
323 </div>
324
325 <div class="method">
326 <code class="details" id="list_next">list_next()</code>
327 <pre>Retrieves the next page of results.
328
329 Args:
330 previous_request: The request for the previous page. (required)
331 previous_response: The response from the request for the previous page. (required)
332
333 Returns:
334 A request object that you can call &#x27;execute()&#x27; on to request the next
335 page. Returns None if there are no more items in the collection.
336 </pre>
337 </div>
338
339 <div class="method">
340 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
341 <pre>Updates a fleet.
342
343 Args:
344 name: string, Output only. The full, unique resource name of this fleet in the format of `projects/{project}/locations/{location}/fleets/{fleet}`. Each Google Cloud project can have at most one fleet resource, named &quot;default&quot;. (required)
345 body: object, The request body.
346 The object takes the form of:
347
348 { # Fleet contains the Fleet-wide metadata and configuration.
349 &quot;createTime&quot;: &quot;A String&quot;, # Output only. When the Fleet was created.
350 &quot;defaultClusterConfig&quot;: { # DefaultClusterConfig describes the default cluster configurations to be applied to all clusters born-in-fleet. # Optional. The default cluster configurations to apply across the fleet.
351 &quot;binaryAuthorizationConfig&quot;: { # BinaryAuthorizationConfig defines the fleet level configuration of binary authorization feature. # Optional. Enable/Disable binary authorization features for the cluster.
352 &quot;evaluationMode&quot;: &quot;A String&quot;, # Optional. Mode of operation for binauthz policy evaluation.
353 &quot;policyBindings&quot;: [ # Optional. Binauthz policies that apply to this cluster.
354 { # Binauthz policy that applies to this cluster.
355 &quot;name&quot;: &quot;A String&quot;, # The relative resource name of the binauthz platform policy to audit. GKE platform policies have the following format: `projects/{project_number}/platforms/gke/policies/{policy_id}`.
356 },
357 ],
358 },
359 &quot;compliancePostureConfig&quot;: { # Deprecated: Compliance Posture is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. CompliancePostureConfig defines the settings needed to enable/disable features for the Compliance Posture. # Optional. Deprecated: Compliance Posture is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Enable/Disable Compliance Posture features for the cluster. Note that on UpdateFleet, only full replacement of this field is allowed. Users are not allowed for partial updates through field mask.
360 &quot;complianceStandards&quot;: [ # List of enabled compliance standards.
361 {
362 &quot;standard&quot;: &quot;A String&quot;, # Name of the compliance standard.
363 },
364 ],
365 &quot;mode&quot;: &quot;A String&quot;, # Defines the enablement mode for Compliance Posture.
366 },
367 &quot;securityPostureConfig&quot;: { # SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API. # Optional. Enable/Disable Security Posture features for the cluster.
368 &quot;mode&quot;: &quot;A String&quot;, # Sets which mode to use for Security Posture features.
369 &quot;vulnerabilityMode&quot;: &quot;A String&quot;, # Sets which mode to use for vulnerability scanning.
370 },
371 },
372 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. When the Fleet was deleted.
373 &quot;displayName&quot;: &quot;A String&quot;, # Optional. A user-assigned display name of the Fleet. When present, it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point. Example: `Production Fleet`
374 &quot;labels&quot;: { # Optional. Labels for this Fleet.
375 &quot;a_key&quot;: &quot;A String&quot;,
376 },
377 &quot;name&quot;: &quot;A String&quot;, # Output only. The full, unique resource name of this fleet in the format of `projects/{project}/locations/{location}/fleets/{fleet}`. Each Google Cloud project can have at most one fleet resource, named &quot;default&quot;.
378 &quot;state&quot;: { # FleetLifecycleState describes the state of a Fleet resource. # Output only. State of the namespace resource.
379 &quot;code&quot;: &quot;A String&quot;, # Output only. The current state of the Fleet resource.
380 },
381 &quot;uid&quot;: &quot;A String&quot;, # Output only. Google-generated UUID for this resource. This is unique across all Fleet resources. If a Fleet resource is deleted and another resource with the same name is created, it gets a different uid.
382 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. When the Fleet was last updated.
383 }
384
385 updateMask: string, Required. The fields to be updated;
386 x__xgafv: string, V1 error format.
387 Allowed values
388 1 - v1 error format
389 2 - v2 error format
390
391 Returns:
392 An object of the form:
393
394 { # This resource represents a long-running operation that is the result of a network API call.
395 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
396 &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 or cancellation.
397 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
398 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
399 {
400 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
401 },
402 ],
403 &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.
404 },
405 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
406 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
407 },
408 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
409 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
410 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
411 },
412 }</pre>
413 </div>
414
415 </body></html>