Debian Codegraph @

docs/dyn/compute_beta.regionCommitments.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="compute_beta.html">Compute Engine API</a> . <a href="compute_beta.regionCommitments.html">regionCommitments</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#aggregatedList">aggregatedList(project, filter=None, includeAllScopes=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, serviceProjectNumber=None, x__xgafv=None)</a></code></p>
79 <p class="firstline">Retrieves an aggregated list of commitments by region.</p>
80 <p class="toc_element">
81 <code><a href="#aggregatedList_next">aggregatedList_next()</a></code></p>
82 <p class="firstline">Retrieves the next page of results.</p>
83 <p class="toc_element">
84 <code><a href="#close">close()</a></code></p>
85 <p class="firstline">Close httplib2 connections.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(project, region, commitment, x__xgafv=None)</a></code></p>
88 <p class="firstline">Returns the specified commitment resource.</p>
89 <p class="toc_element">
90 <code><a href="#insert">insert(project, region, body=None, requestId=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Creates a commitment in the specified project using the data</p>
92 <p class="toc_element">
93 <code><a href="#list">list(project, region, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</a></code></p>
94 <p class="firstline">Retrieves a list of commitments contained within</p>
95 <p class="toc_element">
96 <code><a href="#list_next">list_next()</a></code></p>
97 <p class="firstline">Retrieves the next page of results.</p>
98 <p class="toc_element">
99 <code><a href="#testIamPermissions">testIamPermissions(project, region, resource, body=None, x__xgafv=None)</a></code></p>
100 <p class="firstline">Returns permissions that a caller has on the specified resource.</p>
101 <p class="toc_element">
102 <code><a href="#update">update(project, region, commitment, body=None, paths=None, requestId=None, updateMask=None, x__xgafv=None)</a></code></p>
103 <p class="firstline">Updates the specified commitment with the data included in the request.</p>
104 <p class="toc_element">
105 <code><a href="#updateReservations">updateReservations(project, region, commitment, body=None, requestId=None, x__xgafv=None)</a></code></p>
106 <p class="firstline">Transfers GPUs or Local SSD disks between reservations that are attached</p>
107 <h3>Method Details</h3>
108 <div class="method">
109 <code class="details" id="aggregatedList">aggregatedList(project, filter=None, includeAllScopes=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, serviceProjectNumber=None, x__xgafv=None)</code>
110 <pre>Retrieves an aggregated list of commitments by region.
111
112 To prevent failure, it is recommended that you set the
113 `returnPartialSuccess` parameter to `true`.
114
115 Args:
116 project: string, Project ID for this request. (required)
117 filter: string, A filter expression that filters resources listed in the response. Most
118 Compute resources support two types of filter expressions:
119 expressions that support regular expressions and expressions that follow
120 API improvement proposal AIP-160.
121 These two types of filter expressions cannot be mixed in one request.
122
123 If you want to use AIP-160, your expression must specify the field name, an
124 operator, and the value that you want to use for filtering. The value
125 must be a string, a number, or a boolean. The operator
126 must be either `=`, `!=`, `&gt;`, `&lt;`, `&lt;=`, `&gt;=` or `:`.
127
128 For example, if you are filtering Compute Engine instances, you can
129 exclude instances named `example-instance` by specifying
130 `name != example-instance`.
131
132 The `:*` comparison can be used to test whether a key has been defined.
133 For example, to find all objects with `owner` label use:
134 ```
135 labels.owner:*
136 ```
137
138 You can also filter nested fields. For example, you could specify
139 `scheduling.automaticRestart = false` to include instances only
140 if they are not scheduled for automatic restarts. You can use filtering
141 on nested fields to filter based onresource labels.
142
143 To filter on multiple expressions, provide each separate expression within
144 parentheses. For example:
145 ```
146 (scheduling.automaticRestart = true)
147 (cpuPlatform = &quot;Intel Skylake&quot;)
148 ```
149 By default, each expression is an `AND` expression. However, you
150 can include `AND` and `OR` expressions explicitly.
151 For example:
152 ```
153 (cpuPlatform = &quot;Intel Skylake&quot;) OR
154 (cpuPlatform = &quot;Intel Broadwell&quot;) AND
155 (scheduling.automaticRestart = true)
156 ```
157
158 If you want to use a regular expression, use the `eq` (equal) or `ne`
159 (not equal) operator against a single un-parenthesized expression with or
160 without quotes or against multiple parenthesized expressions. Examples:
161
162 `fieldname eq unquoted literal`
163 `fieldname eq &#x27;single quoted literal&#x27;`
164 `fieldname eq &quot;double quoted literal&quot;`
165 `(fieldname1 eq literal) (fieldname2 ne &quot;literal&quot;)`
166
167 The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
168 The literal value must match the entire field.
169
170 For example, to filter for instances that do not end with name &quot;instance&quot;,
171 you would use `name ne .*instance`.
172
173 You cannot combine constraints on multiple fields using regular
174 expressions.
175 includeAllScopes: boolean, Indicates whether every visible scope for each scope type (zone, region,
176 global) should be included in the response. For new resource types added
177 after this field, the flag has no effect as new resource types will always
178 include every visible scope for each scope type in response. For resource
179 types which predate this field, if this flag is omitted or false, only
180 scopes of the scope types where the resource type is expected to be found
181 will be included.
182 maxResults: integer, The maximum number of results per page that should be returned.
183 If the number of available results is larger than `maxResults`,
184 Compute Engine returns a `nextPageToken` that can be used to get
185 the next page of results in subsequent list requests. Acceptable values are
186 `0` to `500`, inclusive. (Default: `500`)
187 orderBy: string, Sorts list results by a certain order. By default, results
188 are returned in alphanumerical order based on the resource name.
189
190 You can also sort results in descending order based on the creation
191 timestamp using `orderBy=&quot;creationTimestamp desc&quot;`. This sorts
192 results based on the `creationTimestamp` field in
193 reverse chronological order (newest result first). Use this to sort
194 resources like operations so that the newest operation is returned first.
195
196 Currently, only sorting by `name` or
197 `creationTimestamp desc` is supported.
198 pageToken: string, Specifies a page token to use. Set `pageToken` to the
199 `nextPageToken` returned by a previous list request to get
200 the next page of results.
201 returnPartialSuccess: boolean, Opt-in for partial success behavior which provides partial results in case
202 of failure. The default value is false.
203
204 For example, when partial success behavior is enabled, aggregatedList for a
205 single zone scope either returns all resources in the zone or no resources,
206 with an error code.
207 serviceProjectNumber: string, The Shared VPC service project id or service project number for which
208 aggregated list request is invoked for subnetworks list-usable api.
209 x__xgafv: string, V1 error format.
210 Allowed values
211 1 - v1 error format
212 2 - v2 error format
213
214 Returns:
215 An object of the form:
216
217 {
218 &quot;id&quot;: &quot;A String&quot;, # [Output Only] Unique identifier for the resource; defined by the server.
219 &quot;items&quot;: { # A list of CommitmentsScopedList resources.
220 &quot;a_key&quot;: { # [Output Only] Name of the scope containing this set of commitments.
221 &quot;commitments&quot;: [ # [Output Only] The list of commitments contained in this scope.
222 { # Represents a regional resource-based commitment resource.
223 #
224 # Creating this commitment resource means that you are purchasing a
225 # resource-based committed use contract, with an explicit start and end time.
226 # You can purchase resource-based commitments for both hardware and software
227 # resources. For more information, read
228 # Resource-based committed use discounts
229 &quot;autoRenew&quot;: True or False, # Specifies whether to automatically renew the commitment at the end of its
230 # current term. The default value is false. If you set the field
231 # to true, each time your commitment reaches the end of its
232 # term, Compute Engine automatically renews it for another term. You can
233 # update this field anytime before the commitment expires. For example, if
234 # the commitment is set to expire at 12 AM UTC-8 on January 3, 2027, you can
235 # update this field until 11:59 PM UTC-8 on January 2, 2027.
236 &quot;category&quot;: &quot;A String&quot;, # The category of the commitment; specifies whether the commitment is for
237 # hardware or software resources. Category MACHINE specifies
238 # that you are committing to hardware machine resources such asVCPU or MEMORY, listed in resources.
239 # Category LICENSE specifies that you are committing to software
240 # licenses, listed in licenseResources.
241 # Note that if you specify MACHINE commitments, then you must
242 # also specify a type to indicate the machine series of the
243 # hardware resource that you are committing to.
244 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
245 # text format.
246 &quot;customEndTimestamp&quot;: &quot;A String&quot;, # [Input Only] Optional, specifies the requested commitment end time inRFC3339 text format. Use this option when the desired
247 # commitment&#x27;s end date is later than the start date + term duration.
248 &quot;description&quot;: &quot;A String&quot;, # An optional description of the commitment. You can provide this property
249 # when you create the resource.
250 &quot;endTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Commitment end time inRFC3339
251 # text format.
252 &quot;existingReservations&quot;: [
253 &quot;A String&quot;,
254 ],
255 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] The unique identifier for the resource. This identifier is
256 # defined by the server.
257 &quot;kind&quot;: &quot;compute#commitment&quot;, # Output only. [Output Only] Type of the resource. Always compute#commitment
258 # for commitments.
259 &quot;licenseResource&quot;: { # Commitment for a particular license resource. # The license specification required as part of a license commitment.
260 &quot;amount&quot;: &quot;A String&quot;, # The number of licenses you plan to purchase.
261 &quot;coresPerLicense&quot;: &quot;A String&quot;, # The number of cores per license.
262 &quot;license&quot;: &quot;A String&quot;, # The applicable license URI.
263 },
264 &quot;mergeSourceCommitments&quot;: [ # The list of source commitments that you are merging to create the new
265 # merged commitment. For more information, see
266 # Merging commitments.
267 &quot;A String&quot;,
268 ],
269 &quot;name&quot;: &quot;A String&quot;, # Name of the commitment. You must specify a name when you purchase the
270 # commitment. The name must be 1-63 characters long, and comply withRFC1035.
271 # Specifically, the name must be 1-63 characters long and match the regular
272 # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
273 # character must be a lowercase letter, and all following characters must
274 # be a dash, lowercase letter, or digit, except the last character, which
275 # cannot be a dash.
276 &quot;params&quot;: { # Additional commitment params. # Input only. Additional params passed with the request, but not persisted
277 # as part of resource payload.
278 &quot;resourceManagerTags&quot;: { # Input only. Resource manager tags to be bound to the commitment. Tag keys and
279 # values have the same definition as resource
280 # manager tags. Keys and values can be either in numeric format,
281 # such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in
282 # namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and
283 # `{tag_value_short_name}`. The field is ignored (both PUT &amp;
284 # PATCH) when empty.
285 &quot;a_key&quot;: &quot;A String&quot;,
286 },
287 },
288 &quot;plan&quot;: &quot;A String&quot;, # The minimum time duration that you commit to purchasing resources.
289 # The plan that you choose determines the preset term length of the
290 # commitment (which is 1 year or 3 years) and affects the discount rate that
291 # you receive for your resources. Committing to a longer time duration
292 # typically gives you a higher discount rate. The supported values for this
293 # field are TWELVE_MONTH (1 year), andTHIRTY_SIX_MONTH (3 years).
294 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] URL of the region where the commitment and committed
295 # resources are located.
296 &quot;reservations&quot;: [ # The list of new reservations that you want to create and attach to this
297 # commitment.
298 #
299 # You must attach reservations to your commitment if your commitment
300 # specifies any GPUs or Local SSD disks. For more information, see
301 # Attach reservations to resource-based commitments.
302 #
303 # Specify this property only if you want to create new
304 # reservations to attach. To attach existing reservations, specify theexistingReservations property instead.
305 { # Represents a reservation resource. A reservation ensures that capacity is
306 # held in a specific zone even if the reserved VMs are not running. For more
307 # information, read Reserving zonal
308 # resources.
309 &quot;advancedDeploymentControl&quot;: { # Advance control for cluster management, applicable only to DENSE deployment # Advanced control for cluster management, applicable only to DENSE
310 # deployment type reservations.
311 # type reservations.
312 &quot;reservationOperationalMode&quot;: &quot;A String&quot;, # Indicates chosen reservation operational mode for the reservation.
313 },
314 &quot;aggregateReservation&quot;: { # This reservation type is specified by total resource amounts (e.g. total # Reservation for aggregated resources, providing shape flexibility.
315 # count of CPUs) and can account for multiple instance SKUs. In other words,
316 # one can create instances of varying shapes against this reservation.
317 &quot;hostCount&quot;: 42, # Count of reserved hosts of specified VM family. The host has fixed number
318 # of accelerators based on the accelerator/vm-family selected.
319 &quot;inUseHostCount&quot;: 42, # Output only. Number of hosts currently in use. If there is one or more Instances
320 # running on the host, it is considered in use.
321 &quot;inUseInstanceCount&quot;: 42, # Output only. Number of instances currently in use in this reservation.
322 &quot;inUseResources&quot;: [ # Output only. [Output only] List of resources currently in use.
323 {
324 &quot;accelerator&quot;: { # Properties of accelerator resources in this reservation.
325 &quot;acceleratorCount&quot;: 42, # Number of accelerators of specified type.
326 &quot;acceleratorType&quot;: &quot;A String&quot;, # Full or partial URL to accelerator type. e.g.
327 # &quot;projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l&quot;
328 },
329 },
330 ],
331 &quot;reservedResources&quot;: [ # List of reserved resources (CPUs, memory, accelerators).
332 {
333 &quot;accelerator&quot;: { # Properties of accelerator resources in this reservation.
334 &quot;acceleratorCount&quot;: 42, # Number of accelerators of specified type.
335 &quot;acceleratorType&quot;: &quot;A String&quot;, # Full or partial URL to accelerator type. e.g.
336 # &quot;projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l&quot;
337 },
338 },
339 ],
340 &quot;vmFamily&quot;: &quot;A String&quot;, # The VM family that all instances scheduled against this reservation must
341 # belong to.
342 &quot;workloadType&quot;: &quot;A String&quot;, # The workload type of the instances that will target this reservation.
343 },
344 &quot;commitment&quot;: &quot;A String&quot;, # Output only. [Output Only] Full or partial URL to a parent commitment. This field
345 # displays for reservations that are tied to a commitment.
346 &quot;confidentialComputeType&quot;: &quot;A String&quot;,
347 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
348 # text format.
349 &quot;deleteAfterDuration&quot;: { # A Duration represents a fixed-length span of time represented # Duration time relative to reservation creation when Compute Engine will
350 # automatically delete this resource.
351 # as a count of seconds and fractions of seconds at nanosecond
352 # resolution. It is independent of any calendar and concepts like &quot;day&quot;
353 # or &quot;month&quot;. Range is approximately 10,000 years.
354 &quot;nanos&quot;: 42, # Span of time that&#x27;s a fraction of a second at nanosecond resolution.
355 # Durations less than one second are represented with a 0
356 # `seconds` field and a positive `nanos` field. Must be from 0
357 # to 999,999,999 inclusive.
358 &quot;seconds&quot;: &quot;A String&quot;, # Span of time at a resolution of a second. Must be from 0
359 # to 315,576,000,000 inclusive. Note: these bounds are computed from:
360 # 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
361 },
362 &quot;deleteAtTime&quot;: &quot;A String&quot;, # Absolute time in future when the reservation will be
363 # auto-deleted by Compute Engine. Timestamp is represented inRFC3339 text format.
364 &quot;deploymentType&quot;: &quot;A String&quot;, # Specifies the deployment strategy for this reservation.
365 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
366 # create the resource.
367 &quot;earlyAccessMaintenance&quot;: &quot;A String&quot;, # Indicates the early access maintenance for the reservation.
368 # If this field is absent or set to NO_EARLY_ACCESS, the reservation is not
369 # enrolled in early access maintenance and the standard notice applies.
370 &quot;enableEmergentMaintenance&quot;: True or False, # Indicates whether Compute Engine allows unplanned maintenance for your VMs;
371 # for example, to fix hardware errors.
372 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] The unique identifier for the resource. This identifier is
373 # defined by the server.
374 &quot;kind&quot;: &quot;compute#reservation&quot;, # Output only. [Output Only] Type of the resource. Alwayscompute#reservations for reservations.
375 &quot;linkedCommitments&quot;: [ # Output only. [Output Only] Full or partial URL to parent commitments. This field
376 # displays for reservations that are tied to multiple commitments.
377 &quot;A String&quot;,
378 ],
379 &quot;name&quot;: &quot;A String&quot;, # The name of the resource, provided by the client when initially creating
380 # the resource. The resource name must be 1-63 characters long, and comply
381 # withRFC1035.
382 # Specifically, the name must be 1-63 characters long and match the regular
383 # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
384 # character must be a lowercase letter, and all following characters must be
385 # a dash, lowercase letter, or digit, except the last character, which cannot
386 # be a dash.
387 &quot;params&quot;: { # Additional reservation params. # Input only. Additional params passed with the request, but not persisted
388 # as part of resource payload.
389 &quot;resourceManagerTags&quot;: { # Input only. Resource manager tags to be bound to the reservation. Tag keys and
390 # values have the same definition as resource
391 # manager tags. Keys and values can be either in numeric format,
392 # such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in
393 # namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and
394 # `{tag_value_short_name}`. The field is ignored (both PUT &amp;
395 # PATCH) when empty.
396 &quot;a_key&quot;: &quot;A String&quot;,
397 },
398 },
399 &quot;protectionTier&quot;: &quot;A String&quot;, # Protection tier for the workload which specifies the workload expectations
400 # in the event of infrastructure failures at data center (e.g. power
401 # and/or cooling failures).
402 &quot;reservationMode&quot;: &quot;A String&quot;, # Output only. [Output only] Indicates the reservation mode of the reservation.
403 &quot;reservationSharingPolicy&quot;: { # Specify the reservation sharing policy. If unspecified, the reservation
404 # will not be shared with Google Cloud managed services.
405 &quot;serviceShareType&quot;: &quot;A String&quot;, # Sharing config for all Google Cloud services.
406 },
407 &quot;resourcePolicies&quot;: { # Resource policies to be added to this reservation. The key is defined by
408 # user, and the value is resource policy url. This is to define placement
409 # policy with reservation.
410 &quot;a_key&quot;: &quot;A String&quot;,
411 },
412 &quot;resourceStatus&quot;: { # [Output Only] Contains output only fields. # Output only. [Output Only] Status information for Reservation resource.
413 &quot;healthInfo&quot;: { # Health information for the reservation. # [Output only] Health information for the reservation.
414 &quot;degradedBlockCount&quot;: 42, # The number of reservation blocks that are degraded.
415 &quot;healthStatus&quot;: &quot;A String&quot;, # The health status of the reservation.
416 &quot;healthyBlockCount&quot;: 42, # The number of reservation blocks that are healthy.
417 },
418 &quot;reservationBlockCount&quot;: 42, # The number of reservation blocks associated with this reservation.
419 &quot;reservationMaintenance&quot;: { # Maintenance Info for ReservationBlocks. # Maintenance information for this reservation
420 &quot;instanceMaintenanceOngoingCount&quot;: 42, # Describes number of instances that have ongoing maintenance.
421 &quot;instanceMaintenancePendingCount&quot;: 42, # Describes number of instances that have pending maintenance.
422 &quot;maintenanceOngoingCount&quot;: 42, # Progress for ongoing maintenance for this group of VMs/hosts.
423 # Describes number of hosts in the block that have ongoing maintenance.
424 &quot;maintenancePendingCount&quot;: 42, # Progress for ongoing maintenance for this group of VMs/hosts.
425 # Describes number of hosts in the block that have pending maintenance.
426 &quot;schedulingType&quot;: &quot;A String&quot;, # The type of maintenance for the reservation.
427 &quot;subblockInfraMaintenanceOngoingCount&quot;: 42, # Describes number of subblock Infrastructure that has ongoing maintenance.
428 # Here, Subblock Infrastructure Maintenance pertains to upstream hardware
429 # contained in the Subblock that is necessary for a VM Family(e.g. NVLink
430 # Domains). Not all VM Families will support this field.
431 &quot;subblockInfraMaintenancePendingCount&quot;: 42, # Describes number of subblock Infrastructure that has pending maintenance.
432 # Here, Subblock Infrastructure Maintenance pertains to upstream hardware
433 # contained in the Subblock that is necessary for a VM Family (e.g. NVLink
434 # Domains). Not all VM Families will support this field.
435 &quot;upcomingGroupMaintenance&quot;: { # Upcoming Maintenance notification information. # Maintenance information on this group of VMs.
436 &quot;canReschedule&quot;: True or False, # Indicates if the maintenance can be customer triggered.
437 &quot;latestWindowStartTime&quot;: &quot;A String&quot;, # The latest time for the planned maintenance window to start.
438 # This timestamp value is in RFC3339 text format.
439 &quot;maintenanceOnShutdown&quot;: True or False, # Indicates whether the UpcomingMaintenance will be triggered on VM shutdown.
440 &quot;maintenanceReasons&quot;: [ # The reasons for the maintenance. Only valid for vms.
441 &quot;A String&quot;,
442 ],
443 &quot;maintenanceStatus&quot;: &quot;A String&quot;,
444 &quot;type&quot;: &quot;A String&quot;, # Defines the type of maintenance.
445 &quot;windowEndTime&quot;: &quot;A String&quot;, # The time by which the maintenance disruption will be completed.
446 # This timestamp value is in RFC3339 text format.
447 &quot;windowStartTime&quot;: &quot;A String&quot;, # The current start time of the maintenance window.
448 # This timestamp value is in RFC3339 text format.
449 },
450 },
451 &quot;specificSkuAllocation&quot;: { # Contains Properties set for the reservation. # Allocation Properties of this reservation.
452 &quot;sourceInstanceTemplateId&quot;: &quot;A String&quot;, # ID of the instance template used to populate reservation properties.
453 &quot;utilizations&quot;: { # Per service utilization breakdown. The Key is the Google Cloud managed
454 # service name.
455 &quot;a_key&quot;: &quot;A String&quot;,
456 },
457 },
458 },
459 &quot;satisfiesPzs&quot;: True or False, # Output only. [Output Only] Reserved for future use.
460 &quot;schedulingType&quot;: &quot;A String&quot;, # The type of maintenance for the reservation.
461 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined fully-qualified URL for this resource.
462 &quot;shareSettings&quot;: { # The share setting for reservations and sole tenancy node groups. # Specify share-settings to create a shared reservation. This property is
463 # optional. For more information about the syntax and options for this
464 # field and its subfields, see the guide for creating
465 # a shared reservation.
466 &quot;folderMap&quot;: { # A map of folder id and folder config to specify consumer projects for this
467 # shared-reservation. This is only valid when share_type&#x27;s value is
468 # DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS.
469 # Folder id should be a string of number, and without &quot;folders/&quot; prefix.
470 &quot;a_key&quot;: { # Config for each folder in the share settings.
471 &quot;folderId&quot;: &quot;A String&quot;, # The folder ID, should be same as the key of this folder config in the
472 # parent map.
473 # Folder id should be a string of number, and without &quot;folders/&quot; prefix.
474 },
475 },
476 &quot;projectMap&quot;: { # A map of project id and project config. This is only valid when
477 # share_type&#x27;s value is SPECIFIC_PROJECTS.
478 &quot;a_key&quot;: { # Config for each project in the share settings.
479 &quot;projectId&quot;: &quot;A String&quot;, # The project ID, should be same as the key of this project config in the
480 # parent map.
481 },
482 },
483 &quot;projects&quot;: [ # A List of Project names to specify consumer projects for this
484 # shared-reservation. This is only valid when share_type&#x27;s value is
485 # SPECIFIC_PROJECTS.
486 &quot;A String&quot;,
487 ],
488 &quot;shareType&quot;: &quot;A String&quot;, # Type of sharing for this shared-reservation
489 },
490 &quot;specificReservation&quot;: { # This reservation type allows to pre allocate specific instance # Reservation for instances with specific machine shapes.
491 # configuration.
492 &quot;assuredCount&quot;: &quot;A String&quot;, # Output only. [Output Only] Indicates how many instances are actually usable currently.
493 &quot;count&quot;: &quot;A String&quot;, # Specifies the number of resources that are allocated.
494 &quot;inUseCount&quot;: &quot;A String&quot;, # Output only. [Output Only] Indicates how many instances are in use.
495 &quot;instanceProperties&quot;: { # Properties of the SKU instances being reserved. # The instance properties for the reservation.
496 # Next ID: 10
497 &quot;guestAccelerators&quot;: [ # Specifies accelerator type and count.
498 { # A specification of the type and number of accelerator cards attached to the
499 # instance.
500 &quot;acceleratorCount&quot;: 42, # The number of the guest accelerator cards exposed to this instance.
501 &quot;acceleratorType&quot;: &quot;A String&quot;, # Full or partial URL of the accelerator type resource to attach to this
502 # instance. For example:projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100
503 # If you are creating an instance template, specify only the
504 # accelerator name.
505 # See GPUs on Compute Engine
506 # for a full list of accelerator types.
507 },
508 ],
509 &quot;localSsds&quot;: [ # Specifies amount of local ssd to reserve with each instance. The type
510 # of disk is local-ssd.
511 {
512 &quot;diskSizeGb&quot;: &quot;A String&quot;, # Specifies the size of the disk in base-2 GB.
513 &quot;interface&quot;: &quot;A String&quot;, # Specifies the disk interface to use for attaching this disk, which is
514 # either SCSI or NVME. The default isSCSI.
515 # For performance characteristics of SCSI over NVMe, seeLocal SSD performance.
516 },
517 ],
518 &quot;locationHint&quot;: &quot;A String&quot;, # An opaque location hint used to place the allocation close to other
519 # resources.
520 # This field is for use by internal tools that use the public API.
521 &quot;machineType&quot;: &quot;A String&quot;, # Specifies type of machine (name only) which has fixed number of vCPUs
522 # and fixed amount of memory. This also includes specifying custom
523 # machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
524 &quot;maintenanceFreezeDurationHours&quot;: 42, # Specifies the number of hours after reservation creation where
525 # instances using the reservation won&#x27;t be scheduled for maintenance.
526 &quot;maintenanceInterval&quot;: &quot;A String&quot;, # Specifies the frequency of planned maintenance events. The accepted
527 # values are: `PERIODIC`.
528 &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum cpu platform the reservation.
529 },
530 &quot;sourceInstanceTemplate&quot;: &quot;A String&quot;, # Specifies the instance template to create the reservation. If you use
531 # this field, you must exclude the instanceProperties field.
532 #
533 # This field is optional, and it can be a full or partial URL. For example,
534 # the following are all valid URLs to an instance template:
535 #
536 #
537 # - https://www.googleapis.com/compute/v1/projects/project/global/instanceTemplates/instanceTemplate
538 # - projects/project/global/instanceTemplates/instanceTemplate
539 # - global/instanceTemplates/instanceTemplate
540 },
541 &quot;specificReservationRequired&quot;: True or False, # Indicates whether the reservation can be consumed by VMs with affinity
542 # for &quot;any&quot; reservation. If the field is set, then only VMs that target
543 # the reservation by name can consume from this reservation.
544 &quot;status&quot;: &quot;A String&quot;, # Output only. [Output Only] The status of the reservation.
545 #
546 #
547 # - CREATING: Reservation resources are being
548 # allocated.
549 # - READY: Reservation resources have been allocated,
550 # and the reservation is ready for use.
551 # - DELETING: Reservation deletion is in progress.
552 # - UPDATING: Reservation update is in progress.
553 &quot;zone&quot;: &quot;A String&quot;, # Zone in which the reservation resides. A zone must be provided if the
554 # reservation is created within a commitment.
555 },
556 ],
557 &quot;resourceStatus&quot;: { # [Output Only] Contains output only fields. # Output only. [Output Only] Status information for Commitment resource.
558 &quot;customTermEligibilityEndTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Indicates the end time of customer&#x27;s eligibility to send
559 # custom term requests in RFC3339 text format. Term extension requests that
560 # (not the end time in the request) after this time will be rejected.
561 },
562 &quot;resources&quot;: [ # The list of all the hardware resources, with their types and amounts, that
563 # you want to commit to. Specify as a separate entry in the list for each
564 # individual resource type.
565 { # Commitment for a particular hardware resource (a commitment is composed of
566 # one or more of these).
567 &quot;acceleratorType&quot;: &quot;A String&quot;, # Name of the accelerator type or GPU resource. Specify this field only when
568 # the type of hardware resource is ACCELERATOR.
569 &quot;amount&quot;: &quot;A String&quot;, # The quantity of the hardware resource that you want to commit to purchasing
570 # (in a type-dependent unit).
571 #
572 # - For vCPUs, you must specify an integer value.
573 # - For memory, you specify the amount of MB that you want. The value you
574 # specify must be a multiple of 256 MB, with up to 6.5 GB of
575 # memory per every vCPU.
576 # - For GPUs, you must specify an integer value.
577 # - For Local SSD disks, you must specify the amount in GB. The size of a
578 # single Local SSD disk is 375 GB.
579 &quot;type&quot;: &quot;A String&quot;, # The type of hardware resource that you want to specify.
580 # You can specify any of the following values:
581 #
582 # - VCPU
583 # - MEMORY
584 # - LOCAL_SSD
585 # - ACCELERATOR
586 #
587 #
588 #
589 # Specify as a separate entry in the list for each
590 # individual resource type.
591 },
592 ],
593 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for the resource.
594 &quot;splitSourceCommitment&quot;: &quot;A String&quot;, # The source commitment from which you are transferring resources to create
595 # the new split commitment. For more information, see
596 # Split commitments.
597 &quot;startTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Commitment start time inRFC3339
598 # text format.
599 &quot;status&quot;: &quot;A String&quot;, # Output only. [Output Only] Status of the commitment with regards to eventual expiration
600 # (each commitment has an end date defined). Status can be one of the
601 # following values: NOT_YET_ACTIVE, ACTIVE, orEXPIRED.
602 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. [Output Only] An optional, human-readable explanation of the status.
603 &quot;type&quot;: &quot;A String&quot;, # The type of commitment; specifies the
604 # machine series for which you want to commit to purchasing resources.
605 # The choice of machine series affects the discount rate and the eligible
606 # resource types.
607 #
608 # The type must be one of the following:ACCELERATOR_OPTIMIZED, ACCELERATOR_OPTIMIZED_A3,ACCELERATOR_OPTIMIZED_A3_MEGA,COMPUTE_OPTIMIZED, COMPUTE_OPTIMIZED_C2D,
609 # COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D,COMPUTE_OPTIMIZED_H3, GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED, GRAPHICS_OPTIMIZED_G4,GRAPHICS_OPTIMIZED_G4_VGPU,MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3. For
610 # example, type MEMORY_OPTIMIZED specifies a commitment that
611 # applies only to eligible resources of memory optimized M1 and M2 machine
612 # series. Type GENERAL_PURPOSE specifies a commitment that
613 # applies only to eligible resources of general purpose N1 machine series.
614 },
615 ],
616 &quot;warning&quot;: { # [Output Only] Informational warning which replaces the list of commitments
617 # when the list is empty.
618 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
619 # Engine returns NO_RESULTS_ON_PAGE if there
620 # are no results in the response.
621 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
622 # value format. For example:
623 #
624 # &quot;data&quot;: [
625 # {
626 # &quot;key&quot;: &quot;scope&quot;,
627 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
628 # }
629 {
630 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
631 # returned. For example, for warnings where there are no results in a list
632 # request for a particular zone, this key might be scope and
633 # the key value might be the zone name. Other examples might be a key
634 # indicating a deprecated resource and a suggested replacement, or a
635 # warning about invalid network settings (for example, if an instance
636 # attempts to perform IP forwarding but is not enabled for IP forwarding).
637 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
638 },
639 ],
640 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
641 },
642 },
643 },
644 &quot;kind&quot;: &quot;compute#commitmentAggregatedList&quot;, # Output only. [Output Only] Type of resource. Alwayscompute#commitmentAggregatedList for aggregated lists of
645 # commitments.
646 &quot;nextPageToken&quot;: &quot;A String&quot;, # [Output Only] This token allows you to get the next page of results for
647 # list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
648 # the query parameter pageToken in the next list request.
649 # Subsequent list requests will have their own nextPageToken to
650 # continue paging through the results.
651 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource.
652 &quot;unreachables&quot;: [ # Output only. [Output Only] Unreachable resources.
653 &quot;A String&quot;,
654 ],
655 &quot;warning&quot;: { # [Output Only] Informational warning message.
656 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
657 # Engine returns NO_RESULTS_ON_PAGE if there
658 # are no results in the response.
659 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
660 # value format. For example:
661 #
662 # &quot;data&quot;: [
663 # {
664 # &quot;key&quot;: &quot;scope&quot;,
665 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
666 # }
667 {
668 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
669 # returned. For example, for warnings where there are no results in a list
670 # request for a particular zone, this key might be scope and
671 # the key value might be the zone name. Other examples might be a key
672 # indicating a deprecated resource and a suggested replacement, or a
673 # warning about invalid network settings (for example, if an instance
674 # attempts to perform IP forwarding but is not enabled for IP forwarding).
675 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
676 },
677 ],
678 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
679 },
680 }</pre>
681 </div>
682
683 <div class="method">
684 <code class="details" id="aggregatedList_next">aggregatedList_next()</code>
685 <pre>Retrieves the next page of results.
686
687 Args:
688 previous_request: The request for the previous page. (required)
689 previous_response: The response from the request for the previous page. (required)
690
691 Returns:
692 A request object that you can call &#x27;execute()&#x27; on to request the next
693 page. Returns None if there are no more items in the collection.
694 </pre>
695 </div>
696
697 <div class="method">
698 <code class="details" id="close">close()</code>
699 <pre>Close httplib2 connections.</pre>
700 </div>
701
702 <div class="method">
703 <code class="details" id="get">get(project, region, commitment, x__xgafv=None)</code>
704 <pre>Returns the specified commitment resource.
705
706 Args:
707 project: string, Project ID for this request. (required)
708 region: string, Name of the region for this request. (required)
709 commitment: string, Name of the commitment to return. (required)
710 x__xgafv: string, V1 error format.
711 Allowed values
712 1 - v1 error format
713 2 - v2 error format
714
715 Returns:
716 An object of the form:
717
718 { # Represents a regional resource-based commitment resource.
719 #
720 # Creating this commitment resource means that you are purchasing a
721 # resource-based committed use contract, with an explicit start and end time.
722 # You can purchase resource-based commitments for both hardware and software
723 # resources. For more information, read
724 # Resource-based committed use discounts
725 &quot;autoRenew&quot;: True or False, # Specifies whether to automatically renew the commitment at the end of its
726 # current term. The default value is false. If you set the field
727 # to true, each time your commitment reaches the end of its
728 # term, Compute Engine automatically renews it for another term. You can
729 # update this field anytime before the commitment expires. For example, if
730 # the commitment is set to expire at 12 AM UTC-8 on January 3, 2027, you can
731 # update this field until 11:59 PM UTC-8 on January 2, 2027.
732 &quot;category&quot;: &quot;A String&quot;, # The category of the commitment; specifies whether the commitment is for
733 # hardware or software resources. Category MACHINE specifies
734 # that you are committing to hardware machine resources such asVCPU or MEMORY, listed in resources.
735 # Category LICENSE specifies that you are committing to software
736 # licenses, listed in licenseResources.
737 # Note that if you specify MACHINE commitments, then you must
738 # also specify a type to indicate the machine series of the
739 # hardware resource that you are committing to.
740 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
741 # text format.
742 &quot;customEndTimestamp&quot;: &quot;A String&quot;, # [Input Only] Optional, specifies the requested commitment end time inRFC3339 text format. Use this option when the desired
743 # commitment&#x27;s end date is later than the start date + term duration.
744 &quot;description&quot;: &quot;A String&quot;, # An optional description of the commitment. You can provide this property
745 # when you create the resource.
746 &quot;endTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Commitment end time inRFC3339
747 # text format.
748 &quot;existingReservations&quot;: [
749 &quot;A String&quot;,
750 ],
751 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] The unique identifier for the resource. This identifier is
752 # defined by the server.
753 &quot;kind&quot;: &quot;compute#commitment&quot;, # Output only. [Output Only] Type of the resource. Always compute#commitment
754 # for commitments.
755 &quot;licenseResource&quot;: { # Commitment for a particular license resource. # The license specification required as part of a license commitment.
756 &quot;amount&quot;: &quot;A String&quot;, # The number of licenses you plan to purchase.
757 &quot;coresPerLicense&quot;: &quot;A String&quot;, # The number of cores per license.
758 &quot;license&quot;: &quot;A String&quot;, # The applicable license URI.
759 },
760 &quot;mergeSourceCommitments&quot;: [ # The list of source commitments that you are merging to create the new
761 # merged commitment. For more information, see
762 # Merging commitments.
763 &quot;A String&quot;,
764 ],
765 &quot;name&quot;: &quot;A String&quot;, # Name of the commitment. You must specify a name when you purchase the
766 # commitment. The name must be 1-63 characters long, and comply withRFC1035.
767 # Specifically, the name must be 1-63 characters long and match the regular
768 # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
769 # character must be a lowercase letter, and all following characters must
770 # be a dash, lowercase letter, or digit, except the last character, which
771 # cannot be a dash.
772 &quot;params&quot;: { # Additional commitment params. # Input only. Additional params passed with the request, but not persisted
773 # as part of resource payload.
774 &quot;resourceManagerTags&quot;: { # Input only. Resource manager tags to be bound to the commitment. Tag keys and
775 # values have the same definition as resource
776 # manager tags. Keys and values can be either in numeric format,
777 # such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in
778 # namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and
779 # `{tag_value_short_name}`. The field is ignored (both PUT &amp;
780 # PATCH) when empty.
781 &quot;a_key&quot;: &quot;A String&quot;,
782 },
783 },
784 &quot;plan&quot;: &quot;A String&quot;, # The minimum time duration that you commit to purchasing resources.
785 # The plan that you choose determines the preset term length of the
786 # commitment (which is 1 year or 3 years) and affects the discount rate that
787 # you receive for your resources. Committing to a longer time duration
788 # typically gives you a higher discount rate. The supported values for this
789 # field are TWELVE_MONTH (1 year), andTHIRTY_SIX_MONTH (3 years).
790 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] URL of the region where the commitment and committed
791 # resources are located.
792 &quot;reservations&quot;: [ # The list of new reservations that you want to create and attach to this
793 # commitment.
794 #
795 # You must attach reservations to your commitment if your commitment
796 # specifies any GPUs or Local SSD disks. For more information, see
797 # Attach reservations to resource-based commitments.
798 #
799 # Specify this property only if you want to create new
800 # reservations to attach. To attach existing reservations, specify theexistingReservations property instead.
801 { # Represents a reservation resource. A reservation ensures that capacity is
802 # held in a specific zone even if the reserved VMs are not running. For more
803 # information, read Reserving zonal
804 # resources.
805 &quot;advancedDeploymentControl&quot;: { # Advance control for cluster management, applicable only to DENSE deployment # Advanced control for cluster management, applicable only to DENSE
806 # deployment type reservations.
807 # type reservations.
808 &quot;reservationOperationalMode&quot;: &quot;A String&quot;, # Indicates chosen reservation operational mode for the reservation.
809 },
810 &quot;aggregateReservation&quot;: { # This reservation type is specified by total resource amounts (e.g. total # Reservation for aggregated resources, providing shape flexibility.
811 # count of CPUs) and can account for multiple instance SKUs. In other words,
812 # one can create instances of varying shapes against this reservation.
813 &quot;hostCount&quot;: 42, # Count of reserved hosts of specified VM family. The host has fixed number
814 # of accelerators based on the accelerator/vm-family selected.
815 &quot;inUseHostCount&quot;: 42, # Output only. Number of hosts currently in use. If there is one or more Instances
816 # running on the host, it is considered in use.
817 &quot;inUseInstanceCount&quot;: 42, # Output only. Number of instances currently in use in this reservation.
818 &quot;inUseResources&quot;: [ # Output only. [Output only] List of resources currently in use.
819 {
820 &quot;accelerator&quot;: { # Properties of accelerator resources in this reservation.
821 &quot;acceleratorCount&quot;: 42, # Number of accelerators of specified type.
822 &quot;acceleratorType&quot;: &quot;A String&quot;, # Full or partial URL to accelerator type. e.g.
823 # &quot;projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l&quot;
824 },
825 },
826 ],
827 &quot;reservedResources&quot;: [ # List of reserved resources (CPUs, memory, accelerators).
828 {
829 &quot;accelerator&quot;: { # Properties of accelerator resources in this reservation.
830 &quot;acceleratorCount&quot;: 42, # Number of accelerators of specified type.
831 &quot;acceleratorType&quot;: &quot;A String&quot;, # Full or partial URL to accelerator type. e.g.
832 # &quot;projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l&quot;
833 },
834 },
835 ],
836 &quot;vmFamily&quot;: &quot;A String&quot;, # The VM family that all instances scheduled against this reservation must
837 # belong to.
838 &quot;workloadType&quot;: &quot;A String&quot;, # The workload type of the instances that will target this reservation.
839 },
840 &quot;commitment&quot;: &quot;A String&quot;, # Output only. [Output Only] Full or partial URL to a parent commitment. This field
841 # displays for reservations that are tied to a commitment.
842 &quot;confidentialComputeType&quot;: &quot;A String&quot;,
843 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
844 # text format.
845 &quot;deleteAfterDuration&quot;: { # A Duration represents a fixed-length span of time represented # Duration time relative to reservation creation when Compute Engine will
846 # automatically delete this resource.
847 # as a count of seconds and fractions of seconds at nanosecond
848 # resolution. It is independent of any calendar and concepts like &quot;day&quot;
849 # or &quot;month&quot;. Range is approximately 10,000 years.
850 &quot;nanos&quot;: 42, # Span of time that&#x27;s a fraction of a second at nanosecond resolution.
851 # Durations less than one second are represented with a 0
852 # `seconds` field and a positive `nanos` field. Must be from 0
853 # to 999,999,999 inclusive.
854 &quot;seconds&quot;: &quot;A String&quot;, # Span of time at a resolution of a second. Must be from 0
855 # to 315,576,000,000 inclusive. Note: these bounds are computed from:
856 # 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
857 },
858 &quot;deleteAtTime&quot;: &quot;A String&quot;, # Absolute time in future when the reservation will be
859 # auto-deleted by Compute Engine. Timestamp is represented inRFC3339 text format.
860 &quot;deploymentType&quot;: &quot;A String&quot;, # Specifies the deployment strategy for this reservation.
861 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
862 # create the resource.
863 &quot;earlyAccessMaintenance&quot;: &quot;A String&quot;, # Indicates the early access maintenance for the reservation.
864 # If this field is absent or set to NO_EARLY_ACCESS, the reservation is not
865 # enrolled in early access maintenance and the standard notice applies.
866 &quot;enableEmergentMaintenance&quot;: True or False, # Indicates whether Compute Engine allows unplanned maintenance for your VMs;
867 # for example, to fix hardware errors.
868 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] The unique identifier for the resource. This identifier is
869 # defined by the server.
870 &quot;kind&quot;: &quot;compute#reservation&quot;, # Output only. [Output Only] Type of the resource. Alwayscompute#reservations for reservations.
871 &quot;linkedCommitments&quot;: [ # Output only. [Output Only] Full or partial URL to parent commitments. This field
872 # displays for reservations that are tied to multiple commitments.
873 &quot;A String&quot;,
874 ],
875 &quot;name&quot;: &quot;A String&quot;, # The name of the resource, provided by the client when initially creating
876 # the resource. The resource name must be 1-63 characters long, and comply
877 # withRFC1035.
878 # Specifically, the name must be 1-63 characters long and match the regular
879 # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
880 # character must be a lowercase letter, and all following characters must be
881 # a dash, lowercase letter, or digit, except the last character, which cannot
882 # be a dash.
883 &quot;params&quot;: { # Additional reservation params. # Input only. Additional params passed with the request, but not persisted
884 # as part of resource payload.
885 &quot;resourceManagerTags&quot;: { # Input only. Resource manager tags to be bound to the reservation. Tag keys and
886 # values have the same definition as resource
887 # manager tags. Keys and values can be either in numeric format,
888 # such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in
889 # namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and
890 # `{tag_value_short_name}`. The field is ignored (both PUT &amp;
891 # PATCH) when empty.
892 &quot;a_key&quot;: &quot;A String&quot;,
893 },
894 },
895 &quot;protectionTier&quot;: &quot;A String&quot;, # Protection tier for the workload which specifies the workload expectations
896 # in the event of infrastructure failures at data center (e.g. power
897 # and/or cooling failures).
898 &quot;reservationMode&quot;: &quot;A String&quot;, # Output only. [Output only] Indicates the reservation mode of the reservation.
899 &quot;reservationSharingPolicy&quot;: { # Specify the reservation sharing policy. If unspecified, the reservation
900 # will not be shared with Google Cloud managed services.
901 &quot;serviceShareType&quot;: &quot;A String&quot;, # Sharing config for all Google Cloud services.
902 },
903 &quot;resourcePolicies&quot;: { # Resource policies to be added to this reservation. The key is defined by
904 # user, and the value is resource policy url. This is to define placement
905 # policy with reservation.
906 &quot;a_key&quot;: &quot;A String&quot;,
907 },
908 &quot;resourceStatus&quot;: { # [Output Only] Contains output only fields. # Output only. [Output Only] Status information for Reservation resource.
909 &quot;healthInfo&quot;: { # Health information for the reservation. # [Output only] Health information for the reservation.
910 &quot;degradedBlockCount&quot;: 42, # The number of reservation blocks that are degraded.
911 &quot;healthStatus&quot;: &quot;A String&quot;, # The health status of the reservation.
912 &quot;healthyBlockCount&quot;: 42, # The number of reservation blocks that are healthy.
913 },
914 &quot;reservationBlockCount&quot;: 42, # The number of reservation blocks associated with this reservation.
915 &quot;reservationMaintenance&quot;: { # Maintenance Info for ReservationBlocks. # Maintenance information for this reservation
916 &quot;instanceMaintenanceOngoingCount&quot;: 42, # Describes number of instances that have ongoing maintenance.
917 &quot;instanceMaintenancePendingCount&quot;: 42, # Describes number of instances that have pending maintenance.
918 &quot;maintenanceOngoingCount&quot;: 42, # Progress for ongoing maintenance for this group of VMs/hosts.
919 # Describes number of hosts in the block that have ongoing maintenance.
920 &quot;maintenancePendingCount&quot;: 42, # Progress for ongoing maintenance for this group of VMs/hosts.
921 # Describes number of hosts in the block that have pending maintenance.
922 &quot;schedulingType&quot;: &quot;A String&quot;, # The type of maintenance for the reservation.
923 &quot;subblockInfraMaintenanceOngoingCount&quot;: 42, # Describes number of subblock Infrastructure that has ongoing maintenance.
924 # Here, Subblock Infrastructure Maintenance pertains to upstream hardware
925 # contained in the Subblock that is necessary for a VM Family(e.g. NVLink
926 # Domains). Not all VM Families will support this field.
927 &quot;subblockInfraMaintenancePendingCount&quot;: 42, # Describes number of subblock Infrastructure that has pending maintenance.
928 # Here, Subblock Infrastructure Maintenance pertains to upstream hardware
929 # contained in the Subblock that is necessary for a VM Family (e.g. NVLink
930 # Domains). Not all VM Families will support this field.
931 &quot;upcomingGroupMaintenance&quot;: { # Upcoming Maintenance notification information. # Maintenance information on this group of VMs.
932 &quot;canReschedule&quot;: True or False, # Indicates if the maintenance can be customer triggered.
933 &quot;latestWindowStartTime&quot;: &quot;A String&quot;, # The latest time for the planned maintenance window to start.
934 # This timestamp value is in RFC3339 text format.
935 &quot;maintenanceOnShutdown&quot;: True or False, # Indicates whether the UpcomingMaintenance will be triggered on VM shutdown.
936 &quot;maintenanceReasons&quot;: [ # The reasons for the maintenance. Only valid for vms.
937 &quot;A String&quot;,
938 ],
939 &quot;maintenanceStatus&quot;: &quot;A String&quot;,
940 &quot;type&quot;: &quot;A String&quot;, # Defines the type of maintenance.
941 &quot;windowEndTime&quot;: &quot;A String&quot;, # The time by which the maintenance disruption will be completed.
942 # This timestamp value is in RFC3339 text format.
943 &quot;windowStartTime&quot;: &quot;A String&quot;, # The current start time of the maintenance window.
944 # This timestamp value is in RFC3339 text format.
945 },
946 },
947 &quot;specificSkuAllocation&quot;: { # Contains Properties set for the reservation. # Allocation Properties of this reservation.
948 &quot;sourceInstanceTemplateId&quot;: &quot;A String&quot;, # ID of the instance template used to populate reservation properties.
949 &quot;utilizations&quot;: { # Per service utilization breakdown. The Key is the Google Cloud managed
950 # service name.
951 &quot;a_key&quot;: &quot;A String&quot;,
952 },
953 },
954 },
955 &quot;satisfiesPzs&quot;: True or False, # Output only. [Output Only] Reserved for future use.
956 &quot;schedulingType&quot;: &quot;A String&quot;, # The type of maintenance for the reservation.
957 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined fully-qualified URL for this resource.
958 &quot;shareSettings&quot;: { # The share setting for reservations and sole tenancy node groups. # Specify share-settings to create a shared reservation. This property is
959 # optional. For more information about the syntax and options for this
960 # field and its subfields, see the guide for creating
961 # a shared reservation.
962 &quot;folderMap&quot;: { # A map of folder id and folder config to specify consumer projects for this
963 # shared-reservation. This is only valid when share_type&#x27;s value is
964 # DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS.
965 # Folder id should be a string of number, and without &quot;folders/&quot; prefix.
966 &quot;a_key&quot;: { # Config for each folder in the share settings.
967 &quot;folderId&quot;: &quot;A String&quot;, # The folder ID, should be same as the key of this folder config in the
968 # parent map.
969 # Folder id should be a string of number, and without &quot;folders/&quot; prefix.
970 },
971 },
972 &quot;projectMap&quot;: { # A map of project id and project config. This is only valid when
973 # share_type&#x27;s value is SPECIFIC_PROJECTS.
974 &quot;a_key&quot;: { # Config for each project in the share settings.
975 &quot;projectId&quot;: &quot;A String&quot;, # The project ID, should be same as the key of this project config in the
976 # parent map.
977 },
978 },
979 &quot;projects&quot;: [ # A List of Project names to specify consumer projects for this
980 # shared-reservation. This is only valid when share_type&#x27;s value is
981 # SPECIFIC_PROJECTS.
982 &quot;A String&quot;,
983 ],
984 &quot;shareType&quot;: &quot;A String&quot;, # Type of sharing for this shared-reservation
985 },
986 &quot;specificReservation&quot;: { # This reservation type allows to pre allocate specific instance # Reservation for instances with specific machine shapes.
987 # configuration.
988 &quot;assuredCount&quot;: &quot;A String&quot;, # Output only. [Output Only] Indicates how many instances are actually usable currently.
989 &quot;count&quot;: &quot;A String&quot;, # Specifies the number of resources that are allocated.
990 &quot;inUseCount&quot;: &quot;A String&quot;, # Output only. [Output Only] Indicates how many instances are in use.
991 &quot;instanceProperties&quot;: { # Properties of the SKU instances being reserved. # The instance properties for the reservation.
992 # Next ID: 10
993 &quot;guestAccelerators&quot;: [ # Specifies accelerator type and count.
994 { # A specification of the type and number of accelerator cards attached to the
995 # instance.
996 &quot;acceleratorCount&quot;: 42, # The number of the guest accelerator cards exposed to this instance.
997 &quot;acceleratorType&quot;: &quot;A String&quot;, # Full or partial URL of the accelerator type resource to attach to this
998 # instance. For example:projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100
999 # If you are creating an instance template, specify only the
1000 # accelerator name.
1001 # See GPUs on Compute Engine
1002 # for a full list of accelerator types.
1003 },
1004 ],
1005 &quot;localSsds&quot;: [ # Specifies amount of local ssd to reserve with each instance. The type
1006 # of disk is local-ssd.
1007 {
1008 &quot;diskSizeGb&quot;: &quot;A String&quot;, # Specifies the size of the disk in base-2 GB.
1009 &quot;interface&quot;: &quot;A String&quot;, # Specifies the disk interface to use for attaching this disk, which is
1010 # either SCSI or NVME. The default isSCSI.
1011 # For performance characteristics of SCSI over NVMe, seeLocal SSD performance.
1012 },
1013 ],
1014 &quot;locationHint&quot;: &quot;A String&quot;, # An opaque location hint used to place the allocation close to other
1015 # resources.
1016 # This field is for use by internal tools that use the public API.
1017 &quot;machineType&quot;: &quot;A String&quot;, # Specifies type of machine (name only) which has fixed number of vCPUs
1018 # and fixed amount of memory. This also includes specifying custom
1019 # machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
1020 &quot;maintenanceFreezeDurationHours&quot;: 42, # Specifies the number of hours after reservation creation where
1021 # instances using the reservation won&#x27;t be scheduled for maintenance.
1022 &quot;maintenanceInterval&quot;: &quot;A String&quot;, # Specifies the frequency of planned maintenance events. The accepted
1023 # values are: `PERIODIC`.
1024 &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum cpu platform the reservation.
1025 },
1026 &quot;sourceInstanceTemplate&quot;: &quot;A String&quot;, # Specifies the instance template to create the reservation. If you use
1027 # this field, you must exclude the instanceProperties field.
1028 #
1029 # This field is optional, and it can be a full or partial URL. For example,
1030 # the following are all valid URLs to an instance template:
1031 #
1032 #
1033 # - https://www.googleapis.com/compute/v1/projects/project/global/instanceTemplates/instanceTemplate
1034 # - projects/project/global/instanceTemplates/instanceTemplate
1035 # - global/instanceTemplates/instanceTemplate
1036 },
1037 &quot;specificReservationRequired&quot;: True or False, # Indicates whether the reservation can be consumed by VMs with affinity
1038 # for &quot;any&quot; reservation. If the field is set, then only VMs that target
1039 # the reservation by name can consume from this reservation.
1040 &quot;status&quot;: &quot;A String&quot;, # Output only. [Output Only] The status of the reservation.
1041 #
1042 #
1043 # - CREATING: Reservation resources are being
1044 # allocated.
1045 # - READY: Reservation resources have been allocated,
1046 # and the reservation is ready for use.
1047 # - DELETING: Reservation deletion is in progress.
1048 # - UPDATING: Reservation update is in progress.
1049 &quot;zone&quot;: &quot;A String&quot;, # Zone in which the reservation resides. A zone must be provided if the
1050 # reservation is created within a commitment.
1051 },
1052 ],
1053 &quot;resourceStatus&quot;: { # [Output Only] Contains output only fields. # Output only. [Output Only] Status information for Commitment resource.
1054 &quot;customTermEligibilityEndTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Indicates the end time of customer&#x27;s eligibility to send
1055 # custom term requests in RFC3339 text format. Term extension requests that
1056 # (not the end time in the request) after this time will be rejected.
1057 },
1058 &quot;resources&quot;: [ # The list of all the hardware resources, with their types and amounts, that
1059 # you want to commit to. Specify as a separate entry in the list for each
1060 # individual resource type.
1061 { # Commitment for a particular hardware resource (a commitment is composed of
1062 # one or more of these).
1063 &quot;acceleratorType&quot;: &quot;A String&quot;, # Name of the accelerator type or GPU resource. Specify this field only when
1064 # the type of hardware resource is ACCELERATOR.
1065 &quot;amount&quot;: &quot;A String&quot;, # The quantity of the hardware resource that you want to commit to purchasing
1066 # (in a type-dependent unit).
1067 #
1068 # - For vCPUs, you must specify an integer value.
1069 # - For memory, you specify the amount of MB that you want. The value you
1070 # specify must be a multiple of 256 MB, with up to 6.5 GB of
1071 # memory per every vCPU.
1072 # - For GPUs, you must specify an integer value.
1073 # - For Local SSD disks, you must specify the amount in GB. The size of a
1074 # single Local SSD disk is 375 GB.
1075 &quot;type&quot;: &quot;A String&quot;, # The type of hardware resource that you want to specify.
1076 # You can specify any of the following values:
1077 #
1078 # - VCPU
1079 # - MEMORY
1080 # - LOCAL_SSD
1081 # - ACCELERATOR
1082 #
1083 #
1084 #
1085 # Specify as a separate entry in the list for each
1086 # individual resource type.
1087 },
1088 ],
1089 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for the resource.
1090 &quot;splitSourceCommitment&quot;: &quot;A String&quot;, # The source commitment from which you are transferring resources to create
1091 # the new split commitment. For more information, see
1092 # Split commitments.
1093 &quot;startTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Commitment start time inRFC3339
1094 # text format.
1095 &quot;status&quot;: &quot;A String&quot;, # Output only. [Output Only] Status of the commitment with regards to eventual expiration
1096 # (each commitment has an end date defined). Status can be one of the
1097 # following values: NOT_YET_ACTIVE, ACTIVE, orEXPIRED.
1098 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. [Output Only] An optional, human-readable explanation of the status.
1099 &quot;type&quot;: &quot;A String&quot;, # The type of commitment; specifies the
1100 # machine series for which you want to commit to purchasing resources.
1101 # The choice of machine series affects the discount rate and the eligible
1102 # resource types.
1103 #
1104 # The type must be one of the following:ACCELERATOR_OPTIMIZED, ACCELERATOR_OPTIMIZED_A3,ACCELERATOR_OPTIMIZED_A3_MEGA,COMPUTE_OPTIMIZED, COMPUTE_OPTIMIZED_C2D,
1105 # COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D,COMPUTE_OPTIMIZED_H3, GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED, GRAPHICS_OPTIMIZED_G4,GRAPHICS_OPTIMIZED_G4_VGPU,MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3. For
1106 # example, type MEMORY_OPTIMIZED specifies a commitment that
1107 # applies only to eligible resources of memory optimized M1 and M2 machine
1108 # series. Type GENERAL_PURPOSE specifies a commitment that
1109 # applies only to eligible resources of general purpose N1 machine series.
1110 }</pre>
1111 </div>
1112
1113 <div class="method">
1114 <code class="details" id="insert">insert(project, region, body=None, requestId=None, x__xgafv=None)</code>
1115 <pre>Creates a commitment in the specified project using the data
1116 included in the request.
1117
1118 Args:
1119 project: string, Project ID for this request. (required)
1120 region: string, Name of the region for this request. (required)
1121 body: object, The request body.
1122 The object takes the form of:
1123
1124 { # Represents a regional resource-based commitment resource.
1125 #
1126 # Creating this commitment resource means that you are purchasing a
1127 # resource-based committed use contract, with an explicit start and end time.
1128 # You can purchase resource-based commitments for both hardware and software
1129 # resources. For more information, read
1130 # Resource-based committed use discounts
1131 &quot;autoRenew&quot;: True or False, # Specifies whether to automatically renew the commitment at the end of its
1132 # current term. The default value is false. If you set the field
1133 # to true, each time your commitment reaches the end of its
1134 # term, Compute Engine automatically renews it for another term. You can
1135 # update this field anytime before the commitment expires. For example, if
1136 # the commitment is set to expire at 12 AM UTC-8 on January 3, 2027, you can
1137 # update this field until 11:59 PM UTC-8 on January 2, 2027.
1138 &quot;category&quot;: &quot;A String&quot;, # The category of the commitment; specifies whether the commitment is for
1139 # hardware or software resources. Category MACHINE specifies
1140 # that you are committing to hardware machine resources such asVCPU or MEMORY, listed in resources.
1141 # Category LICENSE specifies that you are committing to software
1142 # licenses, listed in licenseResources.
1143 # Note that if you specify MACHINE commitments, then you must
1144 # also specify a type to indicate the machine series of the
1145 # hardware resource that you are committing to.
1146 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
1147 # text format.
1148 &quot;customEndTimestamp&quot;: &quot;A String&quot;, # [Input Only] Optional, specifies the requested commitment end time inRFC3339 text format. Use this option when the desired
1149 # commitment&#x27;s end date is later than the start date + term duration.
1150 &quot;description&quot;: &quot;A String&quot;, # An optional description of the commitment. You can provide this property
1151 # when you create the resource.
1152 &quot;endTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Commitment end time inRFC3339
1153 # text format.
1154 &quot;existingReservations&quot;: [
1155 &quot;A String&quot;,
1156 ],
1157 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] The unique identifier for the resource. This identifier is
1158 # defined by the server.
1159 &quot;kind&quot;: &quot;compute#commitment&quot;, # Output only. [Output Only] Type of the resource. Always compute#commitment
1160 # for commitments.
1161 &quot;licenseResource&quot;: { # Commitment for a particular license resource. # The license specification required as part of a license commitment.
1162 &quot;amount&quot;: &quot;A String&quot;, # The number of licenses you plan to purchase.
1163 &quot;coresPerLicense&quot;: &quot;A String&quot;, # The number of cores per license.
1164 &quot;license&quot;: &quot;A String&quot;, # The applicable license URI.
1165 },
1166 &quot;mergeSourceCommitments&quot;: [ # The list of source commitments that you are merging to create the new
1167 # merged commitment. For more information, see
1168 # Merging commitments.
1169 &quot;A String&quot;,
1170 ],
1171 &quot;name&quot;: &quot;A String&quot;, # Name of the commitment. You must specify a name when you purchase the
1172 # commitment. The name must be 1-63 characters long, and comply withRFC1035.
1173 # Specifically, the name must be 1-63 characters long and match the regular
1174 # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
1175 # character must be a lowercase letter, and all following characters must
1176 # be a dash, lowercase letter, or digit, except the last character, which
1177 # cannot be a dash.
1178 &quot;params&quot;: { # Additional commitment params. # Input only. Additional params passed with the request, but not persisted
1179 # as part of resource payload.
1180 &quot;resourceManagerTags&quot;: { # Input only. Resource manager tags to be bound to the commitment. Tag keys and
1181 # values have the same definition as resource
1182 # manager tags. Keys and values can be either in numeric format,
1183 # such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in
1184 # namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and
1185 # `{tag_value_short_name}`. The field is ignored (both PUT &amp;
1186 # PATCH) when empty.
1187 &quot;a_key&quot;: &quot;A String&quot;,
1188 },
1189 },
1190 &quot;plan&quot;: &quot;A String&quot;, # The minimum time duration that you commit to purchasing resources.
1191 # The plan that you choose determines the preset term length of the
1192 # commitment (which is 1 year or 3 years) and affects the discount rate that
1193 # you receive for your resources. Committing to a longer time duration
1194 # typically gives you a higher discount rate. The supported values for this
1195 # field are TWELVE_MONTH (1 year), andTHIRTY_SIX_MONTH (3 years).
1196 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] URL of the region where the commitment and committed
1197 # resources are located.
1198 &quot;reservations&quot;: [ # The list of new reservations that you want to create and attach to this
1199 # commitment.
1200 #
1201 # You must attach reservations to your commitment if your commitment
1202 # specifies any GPUs or Local SSD disks. For more information, see
1203 # Attach reservations to resource-based commitments.
1204 #
1205 # Specify this property only if you want to create new
1206 # reservations to attach. To attach existing reservations, specify theexistingReservations property instead.
1207 { # Represents a reservation resource. A reservation ensures that capacity is
1208 # held in a specific zone even if the reserved VMs are not running. For more
1209 # information, read Reserving zonal
1210 # resources.
1211 &quot;advancedDeploymentControl&quot;: { # Advance control for cluster management, applicable only to DENSE deployment # Advanced control for cluster management, applicable only to DENSE
1212 # deployment type reservations.
1213 # type reservations.
1214 &quot;reservationOperationalMode&quot;: &quot;A String&quot;, # Indicates chosen reservation operational mode for the reservation.
1215 },
1216 &quot;aggregateReservation&quot;: { # This reservation type is specified by total resource amounts (e.g. total # Reservation for aggregated resources, providing shape flexibility.
1217 # count of CPUs) and can account for multiple instance SKUs. In other words,
1218 # one can create instances of varying shapes against this reservation.
1219 &quot;hostCount&quot;: 42, # Count of reserved hosts of specified VM family. The host has fixed number
1220 # of accelerators based on the accelerator/vm-family selected.
1221 &quot;inUseHostCount&quot;: 42, # Output only. Number of hosts currently in use. If there is one or more Instances
1222 # running on the host, it is considered in use.
1223 &quot;inUseInstanceCount&quot;: 42, # Output only. Number of instances currently in use in this reservation.
1224 &quot;inUseResources&quot;: [ # Output only. [Output only] List of resources currently in use.
1225 {
1226 &quot;accelerator&quot;: { # Properties of accelerator resources in this reservation.
1227 &quot;acceleratorCount&quot;: 42, # Number of accelerators of specified type.
1228 &quot;acceleratorType&quot;: &quot;A String&quot;, # Full or partial URL to accelerator type. e.g.
1229 # &quot;projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l&quot;
1230 },
1231 },
1232 ],
1233 &quot;reservedResources&quot;: [ # List of reserved resources (CPUs, memory, accelerators).
1234 {
1235 &quot;accelerator&quot;: { # Properties of accelerator resources in this reservation.
1236 &quot;acceleratorCount&quot;: 42, # Number of accelerators of specified type.
1237 &quot;acceleratorType&quot;: &quot;A String&quot;, # Full or partial URL to accelerator type. e.g.
1238 # &quot;projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l&quot;
1239 },
1240 },
1241 ],
1242 &quot;vmFamily&quot;: &quot;A String&quot;, # The VM family that all instances scheduled against this reservation must
1243 # belong to.
1244 &quot;workloadType&quot;: &quot;A String&quot;, # The workload type of the instances that will target this reservation.
1245 },
1246 &quot;commitment&quot;: &quot;A String&quot;, # Output only. [Output Only] Full or partial URL to a parent commitment. This field
1247 # displays for reservations that are tied to a commitment.
1248 &quot;confidentialComputeType&quot;: &quot;A String&quot;,
1249 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
1250 # text format.
1251 &quot;deleteAfterDuration&quot;: { # A Duration represents a fixed-length span of time represented # Duration time relative to reservation creation when Compute Engine will
1252 # automatically delete this resource.
1253 # as a count of seconds and fractions of seconds at nanosecond
1254 # resolution. It is independent of any calendar and concepts like &quot;day&quot;
1255 # or &quot;month&quot;. Range is approximately 10,000 years.
1256 &quot;nanos&quot;: 42, # Span of time that&#x27;s a fraction of a second at nanosecond resolution.
1257 # Durations less than one second are represented with a 0
1258 # `seconds` field and a positive `nanos` field. Must be from 0
1259 # to 999,999,999 inclusive.
1260 &quot;seconds&quot;: &quot;A String&quot;, # Span of time at a resolution of a second. Must be from 0
1261 # to 315,576,000,000 inclusive. Note: these bounds are computed from:
1262 # 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
1263 },
1264 &quot;deleteAtTime&quot;: &quot;A String&quot;, # Absolute time in future when the reservation will be
1265 # auto-deleted by Compute Engine. Timestamp is represented inRFC3339 text format.
1266 &quot;deploymentType&quot;: &quot;A String&quot;, # Specifies the deployment strategy for this reservation.
1267 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
1268 # create the resource.
1269 &quot;earlyAccessMaintenance&quot;: &quot;A String&quot;, # Indicates the early access maintenance for the reservation.
1270 # If this field is absent or set to NO_EARLY_ACCESS, the reservation is not
1271 # enrolled in early access maintenance and the standard notice applies.
1272 &quot;enableEmergentMaintenance&quot;: True or False, # Indicates whether Compute Engine allows unplanned maintenance for your VMs;
1273 # for example, to fix hardware errors.
1274 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] The unique identifier for the resource. This identifier is
1275 # defined by the server.
1276 &quot;kind&quot;: &quot;compute#reservation&quot;, # Output only. [Output Only] Type of the resource. Alwayscompute#reservations for reservations.
1277 &quot;linkedCommitments&quot;: [ # Output only. [Output Only] Full or partial URL to parent commitments. This field
1278 # displays for reservations that are tied to multiple commitments.
1279 &quot;A String&quot;,
1280 ],
1281 &quot;name&quot;: &quot;A String&quot;, # The name of the resource, provided by the client when initially creating
1282 # the resource. The resource name must be 1-63 characters long, and comply
1283 # withRFC1035.
1284 # Specifically, the name must be 1-63 characters long and match the regular
1285 # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
1286 # character must be a lowercase letter, and all following characters must be
1287 # a dash, lowercase letter, or digit, except the last character, which cannot
1288 # be a dash.
1289 &quot;params&quot;: { # Additional reservation params. # Input only. Additional params passed with the request, but not persisted
1290 # as part of resource payload.
1291 &quot;resourceManagerTags&quot;: { # Input only. Resource manager tags to be bound to the reservation. Tag keys and
1292 # values have the same definition as resource
1293 # manager tags. Keys and values can be either in numeric format,
1294 # such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in
1295 # namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and
1296 # `{tag_value_short_name}`. The field is ignored (both PUT &amp;
1297 # PATCH) when empty.
1298 &quot;a_key&quot;: &quot;A String&quot;,
1299 },
1300 },
1301 &quot;protectionTier&quot;: &quot;A String&quot;, # Protection tier for the workload which specifies the workload expectations
1302 # in the event of infrastructure failures at data center (e.g. power
1303 # and/or cooling failures).
1304 &quot;reservationMode&quot;: &quot;A String&quot;, # Output only. [Output only] Indicates the reservation mode of the reservation.
1305 &quot;reservationSharingPolicy&quot;: { # Specify the reservation sharing policy. If unspecified, the reservation
1306 # will not be shared with Google Cloud managed services.
1307 &quot;serviceShareType&quot;: &quot;A String&quot;, # Sharing config for all Google Cloud services.
1308 },
1309 &quot;resourcePolicies&quot;: { # Resource policies to be added to this reservation. The key is defined by
1310 # user, and the value is resource policy url. This is to define placement
1311 # policy with reservation.
1312 &quot;a_key&quot;: &quot;A String&quot;,
1313 },
1314 &quot;resourceStatus&quot;: { # [Output Only] Contains output only fields. # Output only. [Output Only] Status information for Reservation resource.
1315 &quot;healthInfo&quot;: { # Health information for the reservation. # [Output only] Health information for the reservation.
1316 &quot;degradedBlockCount&quot;: 42, # The number of reservation blocks that are degraded.
1317 &quot;healthStatus&quot;: &quot;A String&quot;, # The health status of the reservation.
1318 &quot;healthyBlockCount&quot;: 42, # The number of reservation blocks that are healthy.
1319 },
1320 &quot;reservationBlockCount&quot;: 42, # The number of reservation blocks associated with this reservation.
1321 &quot;reservationMaintenance&quot;: { # Maintenance Info for ReservationBlocks. # Maintenance information for this reservation
1322 &quot;instanceMaintenanceOngoingCount&quot;: 42, # Describes number of instances that have ongoing maintenance.
1323 &quot;instanceMaintenancePendingCount&quot;: 42, # Describes number of instances that have pending maintenance.
1324 &quot;maintenanceOngoingCount&quot;: 42, # Progress for ongoing maintenance for this group of VMs/hosts.
1325 # Describes number of hosts in the block that have ongoing maintenance.
1326 &quot;maintenancePendingCount&quot;: 42, # Progress for ongoing maintenance for this group of VMs/hosts.
1327 # Describes number of hosts in the block that have pending maintenance.
1328 &quot;schedulingType&quot;: &quot;A String&quot;, # The type of maintenance for the reservation.
1329 &quot;subblockInfraMaintenanceOngoingCount&quot;: 42, # Describes number of subblock Infrastructure that has ongoing maintenance.
1330 # Here, Subblock Infrastructure Maintenance pertains to upstream hardware
1331 # contained in the Subblock that is necessary for a VM Family(e.g. NVLink
1332 # Domains). Not all VM Families will support this field.
1333 &quot;subblockInfraMaintenancePendingCount&quot;: 42, # Describes number of subblock Infrastructure that has pending maintenance.
1334 # Here, Subblock Infrastructure Maintenance pertains to upstream hardware
1335 # contained in the Subblock that is necessary for a VM Family (e.g. NVLink
1336 # Domains). Not all VM Families will support this field.
1337 &quot;upcomingGroupMaintenance&quot;: { # Upcoming Maintenance notification information. # Maintenance information on this group of VMs.
1338 &quot;canReschedule&quot;: True or False, # Indicates if the maintenance can be customer triggered.
1339 &quot;latestWindowStartTime&quot;: &quot;A String&quot;, # The latest time for the planned maintenance window to start.
1340 # This timestamp value is in RFC3339 text format.
1341 &quot;maintenanceOnShutdown&quot;: True or False, # Indicates whether the UpcomingMaintenance will be triggered on VM shutdown.
1342 &quot;maintenanceReasons&quot;: [ # The reasons for the maintenance. Only valid for vms.
1343 &quot;A String&quot;,
1344 ],
1345 &quot;maintenanceStatus&quot;: &quot;A String&quot;,
1346 &quot;type&quot;: &quot;A String&quot;, # Defines the type of maintenance.
1347 &quot;windowEndTime&quot;: &quot;A String&quot;, # The time by which the maintenance disruption will be completed.
1348 # This timestamp value is in RFC3339 text format.
1349 &quot;windowStartTime&quot;: &quot;A String&quot;, # The current start time of the maintenance window.
1350 # This timestamp value is in RFC3339 text format.
1351 },
1352 },
1353 &quot;specificSkuAllocation&quot;: { # Contains Properties set for the reservation. # Allocation Properties of this reservation.
1354 &quot;sourceInstanceTemplateId&quot;: &quot;A String&quot;, # ID of the instance template used to populate reservation properties.
1355 &quot;utilizations&quot;: { # Per service utilization breakdown. The Key is the Google Cloud managed
1356 # service name.
1357 &quot;a_key&quot;: &quot;A String&quot;,
1358 },
1359 },
1360 },
1361 &quot;satisfiesPzs&quot;: True or False, # Output only. [Output Only] Reserved for future use.
1362 &quot;schedulingType&quot;: &quot;A String&quot;, # The type of maintenance for the reservation.
1363 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined fully-qualified URL for this resource.
1364 &quot;shareSettings&quot;: { # The share setting for reservations and sole tenancy node groups. # Specify share-settings to create a shared reservation. This property is
1365 # optional. For more information about the syntax and options for this
1366 # field and its subfields, see the guide for creating
1367 # a shared reservation.
1368 &quot;folderMap&quot;: { # A map of folder id and folder config to specify consumer projects for this
1369 # shared-reservation. This is only valid when share_type&#x27;s value is
1370 # DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS.
1371 # Folder id should be a string of number, and without &quot;folders/&quot; prefix.
1372 &quot;a_key&quot;: { # Config for each folder in the share settings.
1373 &quot;folderId&quot;: &quot;A String&quot;, # The folder ID, should be same as the key of this folder config in the
1374 # parent map.
1375 # Folder id should be a string of number, and without &quot;folders/&quot; prefix.
1376 },
1377 },
1378 &quot;projectMap&quot;: { # A map of project id and project config. This is only valid when
1379 # share_type&#x27;s value is SPECIFIC_PROJECTS.
1380 &quot;a_key&quot;: { # Config for each project in the share settings.
1381 &quot;projectId&quot;: &quot;A String&quot;, # The project ID, should be same as the key of this project config in the
1382 # parent map.
1383 },
1384 },
1385 &quot;projects&quot;: [ # A List of Project names to specify consumer projects for this
1386 # shared-reservation. This is only valid when share_type&#x27;s value is
1387 # SPECIFIC_PROJECTS.
1388 &quot;A String&quot;,
1389 ],
1390 &quot;shareType&quot;: &quot;A String&quot;, # Type of sharing for this shared-reservation
1391 },
1392 &quot;specificReservation&quot;: { # This reservation type allows to pre allocate specific instance # Reservation for instances with specific machine shapes.
1393 # configuration.
1394 &quot;assuredCount&quot;: &quot;A String&quot;, # Output only. [Output Only] Indicates how many instances are actually usable currently.
1395 &quot;count&quot;: &quot;A String&quot;, # Specifies the number of resources that are allocated.
1396 &quot;inUseCount&quot;: &quot;A String&quot;, # Output only. [Output Only] Indicates how many instances are in use.
1397 &quot;instanceProperties&quot;: { # Properties of the SKU instances being reserved. # The instance properties for the reservation.
1398 # Next ID: 10
1399 &quot;guestAccelerators&quot;: [ # Specifies accelerator type and count.
1400 { # A specification of the type and number of accelerator cards attached to the
1401 # instance.
1402 &quot;acceleratorCount&quot;: 42, # The number of the guest accelerator cards exposed to this instance.
1403 &quot;acceleratorType&quot;: &quot;A String&quot;, # Full or partial URL of the accelerator type resource to attach to this
1404 # instance. For example:projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100
1405 # If you are creating an instance template, specify only the
1406 # accelerator name.
1407 # See GPUs on Compute Engine
1408 # for a full list of accelerator types.
1409 },
1410 ],
1411 &quot;localSsds&quot;: [ # Specifies amount of local ssd to reserve with each instance. The type
1412 # of disk is local-ssd.
1413 {
1414 &quot;diskSizeGb&quot;: &quot;A String&quot;, # Specifies the size of the disk in base-2 GB.
1415 &quot;interface&quot;: &quot;A String&quot;, # Specifies the disk interface to use for attaching this disk, which is
1416 # either SCSI or NVME. The default isSCSI.
1417 # For performance characteristics of SCSI over NVMe, seeLocal SSD performance.
1418 },
1419 ],
1420 &quot;locationHint&quot;: &quot;A String&quot;, # An opaque location hint used to place the allocation close to other
1421 # resources.
1422 # This field is for use by internal tools that use the public API.
1423 &quot;machineType&quot;: &quot;A String&quot;, # Specifies type of machine (name only) which has fixed number of vCPUs
1424 # and fixed amount of memory. This also includes specifying custom
1425 # machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
1426 &quot;maintenanceFreezeDurationHours&quot;: 42, # Specifies the number of hours after reservation creation where
1427 # instances using the reservation won&#x27;t be scheduled for maintenance.
1428 &quot;maintenanceInterval&quot;: &quot;A String&quot;, # Specifies the frequency of planned maintenance events. The accepted
1429 # values are: `PERIODIC`.
1430 &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum cpu platform the reservation.
1431 },
1432 &quot;sourceInstanceTemplate&quot;: &quot;A String&quot;, # Specifies the instance template to create the reservation. If you use
1433 # this field, you must exclude the instanceProperties field.
1434 #
1435 # This field is optional, and it can be a full or partial URL. For example,
1436 # the following are all valid URLs to an instance template:
1437 #
1438 #
1439 # - https://www.googleapis.com/compute/v1/projects/project/global/instanceTemplates/instanceTemplate
1440 # - projects/project/global/instanceTemplates/instanceTemplate
1441 # - global/instanceTemplates/instanceTemplate
1442 },
1443 &quot;specificReservationRequired&quot;: True or False, # Indicates whether the reservation can be consumed by VMs with affinity
1444 # for &quot;any&quot; reservation. If the field is set, then only VMs that target
1445 # the reservation by name can consume from this reservation.
1446 &quot;status&quot;: &quot;A String&quot;, # Output only. [Output Only] The status of the reservation.
1447 #
1448 #
1449 # - CREATING: Reservation resources are being
1450 # allocated.
1451 # - READY: Reservation resources have been allocated,
1452 # and the reservation is ready for use.
1453 # - DELETING: Reservation deletion is in progress.
1454 # - UPDATING: Reservation update is in progress.
1455 &quot;zone&quot;: &quot;A String&quot;, # Zone in which the reservation resides. A zone must be provided if the
1456 # reservation is created within a commitment.
1457 },
1458 ],
1459 &quot;resourceStatus&quot;: { # [Output Only] Contains output only fields. # Output only. [Output Only] Status information for Commitment resource.
1460 &quot;customTermEligibilityEndTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Indicates the end time of customer&#x27;s eligibility to send
1461 # custom term requests in RFC3339 text format. Term extension requests that
1462 # (not the end time in the request) after this time will be rejected.
1463 },
1464 &quot;resources&quot;: [ # The list of all the hardware resources, with their types and amounts, that
1465 # you want to commit to. Specify as a separate entry in the list for each
1466 # individual resource type.
1467 { # Commitment for a particular hardware resource (a commitment is composed of
1468 # one or more of these).
1469 &quot;acceleratorType&quot;: &quot;A String&quot;, # Name of the accelerator type or GPU resource. Specify this field only when
1470 # the type of hardware resource is ACCELERATOR.
1471 &quot;amount&quot;: &quot;A String&quot;, # The quantity of the hardware resource that you want to commit to purchasing
1472 # (in a type-dependent unit).
1473 #
1474 # - For vCPUs, you must specify an integer value.
1475 # - For memory, you specify the amount of MB that you want. The value you
1476 # specify must be a multiple of 256 MB, with up to 6.5 GB of
1477 # memory per every vCPU.
1478 # - For GPUs, you must specify an integer value.
1479 # - For Local SSD disks, you must specify the amount in GB. The size of a
1480 # single Local SSD disk is 375 GB.
1481 &quot;type&quot;: &quot;A String&quot;, # The type of hardware resource that you want to specify.
1482 # You can specify any of the following values:
1483 #
1484 # - VCPU
1485 # - MEMORY
1486 # - LOCAL_SSD
1487 # - ACCELERATOR
1488 #
1489 #
1490 #
1491 # Specify as a separate entry in the list for each
1492 # individual resource type.
1493 },
1494 ],
1495 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for the resource.
1496 &quot;splitSourceCommitment&quot;: &quot;A String&quot;, # The source commitment from which you are transferring resources to create
1497 # the new split commitment. For more information, see
1498 # Split commitments.
1499 &quot;startTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Commitment start time inRFC3339
1500 # text format.
1501 &quot;status&quot;: &quot;A String&quot;, # Output only. [Output Only] Status of the commitment with regards to eventual expiration
1502 # (each commitment has an end date defined). Status can be one of the
1503 # following values: NOT_YET_ACTIVE, ACTIVE, orEXPIRED.
1504 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. [Output Only] An optional, human-readable explanation of the status.
1505 &quot;type&quot;: &quot;A String&quot;, # The type of commitment; specifies the
1506 # machine series for which you want to commit to purchasing resources.
1507 # The choice of machine series affects the discount rate and the eligible
1508 # resource types.
1509 #
1510 # The type must be one of the following:ACCELERATOR_OPTIMIZED, ACCELERATOR_OPTIMIZED_A3,ACCELERATOR_OPTIMIZED_A3_MEGA,COMPUTE_OPTIMIZED, COMPUTE_OPTIMIZED_C2D,
1511 # COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D,COMPUTE_OPTIMIZED_H3, GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED, GRAPHICS_OPTIMIZED_G4,GRAPHICS_OPTIMIZED_G4_VGPU,MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3. For
1512 # example, type MEMORY_OPTIMIZED specifies a commitment that
1513 # applies only to eligible resources of memory optimized M1 and M2 machine
1514 # series. Type GENERAL_PURPOSE specifies a commitment that
1515 # applies only to eligible resources of general purpose N1 machine series.
1516 }
1517
1518 requestId: string, An optional request ID to identify requests. Specify a unique request ID so
1519 that if you must retry your request, the server will know to ignore the
1520 request if it has already been completed.
1521
1522 For example, consider a situation where you make an initial request and
1523 the request times out. If you make the request again with the same
1524 request ID, the server can check if original operation with the same
1525 request ID was received, and if so, will ignore the second request. This
1526 prevents clients from accidentally creating duplicate commitments.
1527
1528 The request ID must be
1529 a valid UUID with the exception that zero UUID is not supported
1530 (00000000-0000-0000-0000-000000000000).
1531 x__xgafv: string, V1 error format.
1532 Allowed values
1533 1 - v1 error format
1534 2 - v2 error format
1535
1536 Returns:
1537 An object of the form:
1538
1539 { # Represents an Operation resource.
1540 #
1541 # Google Compute Engine has three Operation resources:
1542 #
1543 # * [Global](/compute/docs/reference/rest/beta/globalOperations)
1544 # * [Regional](/compute/docs/reference/rest/beta/regionOperations)
1545 # * [Zonal](/compute/docs/reference/rest/beta/zoneOperations)
1546 #
1547 # You can use an operation resource to manage asynchronous API requests.
1548 # For more information, readHandling
1549 # API responses.
1550 #
1551 # Operations can be global, regional or zonal.
1552 #
1553 # - For global operations, use the `globalOperations`
1554 # resource.
1555 # - For regional operations, use the
1556 # `regionOperations` resource.
1557 # - For zonal operations, use
1558 # the `zoneOperations` resource.
1559 #
1560 #
1561 #
1562 # For more information, read
1563 # Global, Regional, and Zonal Resources.
1564 #
1565 # Note that completed Operation resources have a limited
1566 # retention period.
1567 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request.
1568 # Not present otherwise.
1569 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
1570 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is
1571 # set when the operation is created.
1572 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is inRFC3339
1573 # text format.
1574 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation,
1575 # this field will be populated.
1576 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this
1577 # operation.
1578 {
1579 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
1580 &quot;errorDetails&quot;: [ # [Output Only] An optional list of messages that contain the error
1581 # details. There is a set of defined message types to use for providing
1582 # details.The syntax depends on the error code. For example,
1583 # QuotaExceededInfo will have details when the error code is
1584 # QUOTA_EXCEEDED.
1585 {
1586 &quot;errorInfo&quot;: { # Describes the cause of the error with structured details.
1587 #
1588 # Example of an error when contacting the &quot;pubsub.googleapis.com&quot; API when it
1589 # is not enabled:
1590 #
1591 # { &quot;reason&quot;: &quot;API_DISABLED&quot;
1592 # &quot;domain&quot;: &quot;googleapis.com&quot;
1593 # &quot;metadata&quot;: {
1594 # &quot;resource&quot;: &quot;projects/123&quot;,
1595 # &quot;service&quot;: &quot;pubsub.googleapis.com&quot;
1596 # }
1597 # }
1598 #
1599 # This response indicates that the pubsub.googleapis.com API is not enabled.
1600 #
1601 # Example of an error that is returned when attempting to create a Spanner
1602 # instance in a region that is out of stock:
1603 #
1604 # { &quot;reason&quot;: &quot;STOCKOUT&quot;
1605 # &quot;domain&quot;: &quot;spanner.googleapis.com&quot;,
1606 # &quot;metadata&quot;: {
1607 # &quot;availableRegions&quot;: &quot;us-central1,us-east2&quot;
1608 # }
1609 # }
1610 &quot;domain&quot;: &quot;A String&quot;, # The logical grouping to which the &quot;reason&quot; belongs. The error domain
1611 # is typically the registered service name of the tool or product that
1612 # generates the error. Example: &quot;pubsub.googleapis.com&quot;. If the error is
1613 # generated by some common infrastructure, the error domain must be a
1614 # globally unique value that identifies the infrastructure. For Google API
1615 # infrastructure, the error domain is &quot;googleapis.com&quot;.
1616 &quot;metadatas&quot;: { # Additional structured details about this error.
1617 #
1618 # Keys must match a regular expression of `a-z+` but should
1619 # ideally be lowerCamelCase. Also, they must be limited to 64 characters in
1620 # length. When identifying the current value of an exceeded limit, the units
1621 # should be contained in the key, not the value. For example, rather than
1622 # `{&quot;instanceLimit&quot;: &quot;100/request&quot;}`, should be returned as,
1623 # `{&quot;instanceLimitPerRequest&quot;: &quot;100&quot;}`, if the client exceeds the number of
1624 # instances that can be created in a single (batch) request.
1625 &quot;a_key&quot;: &quot;A String&quot;,
1626 },
1627 &quot;reason&quot;: &quot;A String&quot;, # The reason of the error. This is a constant value that identifies the
1628 # proximate cause of the error. Error reasons are unique within a particular
1629 # domain of errors. This should be at most 63 characters and match a
1630 # regular expression of `A-Z+[A-Z0-9]`, which represents
1631 # UPPER_SNAKE_CASE.
1632 },
1633 &quot;help&quot;: { # Provides links to documentation or for performing an out of band action.
1634 #
1635 # For example, if a quota check failed with an error indicating the calling
1636 # project hasn&#x27;t enabled the accessed service, this can contain a URL pointing
1637 # directly to the right place in the developer console to flip the bit.
1638 &quot;links&quot;: [ # URL(s) pointing to additional information on handling the current error.
1639 { # Describes a URL link.
1640 &quot;description&quot;: &quot;A String&quot;, # Describes what the link offers.
1641 &quot;url&quot;: &quot;A String&quot;, # The URL of the link.
1642 },
1643 ],
1644 },
1645 &quot;localizedMessage&quot;: { # Provides a localized error message that is safe to return to the user
1646 # which can be attached to an RPC error.
1647 &quot;locale&quot;: &quot;A String&quot;, # The locale used following the specification defined at
1648 # https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
1649 # Examples are: &quot;en-US&quot;, &quot;fr-CH&quot;, &quot;es-MX&quot;
1650 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
1651 },
1652 &quot;quotaInfo&quot;: { # Additional details for quota exceeded error for resource quota.
1653 &quot;dimensions&quot;: { # The map holding related quota dimensions.
1654 &quot;a_key&quot;: &quot;A String&quot;,
1655 },
1656 &quot;futureLimit&quot;: 3.14, # Future quota limit being rolled out. The limit&#x27;s unit depends on the quota
1657 # type or metric.
1658 &quot;limit&quot;: 3.14, # Current effective quota limit. The limit&#x27;s unit depends on the quota type
1659 # or metric.
1660 &quot;limitName&quot;: &quot;A String&quot;, # The name of the quota limit.
1661 &quot;metricName&quot;: &quot;A String&quot;, # The Compute Engine quota metric name.
1662 &quot;rolloutStatus&quot;: &quot;A String&quot;, # Rollout status of the future quota limit.
1663 },
1664 },
1665 ],
1666 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error.
1667 # This property is optional.
1668 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
1669 },
1670 ],
1671 },
1672 &quot;getVersionOperationMetadata&quot;: {
1673 &quot;inlineSbomInfo&quot;: {
1674 &quot;currentComponentVersions&quot;: { # A mapping of components to their currently-applied versions or other
1675 # appropriate identifiers.
1676 &quot;a_key&quot;: &quot;A String&quot;,
1677 },
1678 &quot;targetComponentVersions&quot;: { # A mapping of components to their target versions or other appropriate
1679 # identifiers.
1680 &quot;a_key&quot;: &quot;A String&quot;,
1681 },
1682 },
1683 },
1684 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error
1685 # message that was returned, such as `NOT FOUND`.
1686 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error
1687 # status code that was returned. For example, a `404` means the
1688 # resource was not found.
1689 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is
1690 # defined by the server.
1691 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested.
1692 # This value is inRFC3339
1693 # text format.
1694 &quot;instancesBulkInsertOperationMetadata&quot;: {
1695 &quot;perLocationStatus&quot;: { # Status information per location (location name is key).
1696 # Example key: zones/us-central1-a
1697 &quot;a_key&quot;: {
1698 &quot;createdVmCount&quot;: 42, # [Output Only] Count of VMs successfully created so far.
1699 &quot;deletedVmCount&quot;: 42, # [Output Only] Count of VMs that got deleted during rollback.
1700 &quot;failedToCreateVmCount&quot;: 42, # [Output Only] Count of VMs that started creating but encountered an
1701 # error.
1702 &quot;status&quot;: &quot;A String&quot;, # [Output Only] Creation status of BulkInsert operation - information
1703 # if the flow is rolling forward or rolling back.
1704 &quot;targetVmCount&quot;: 42, # [Output Only] Count of VMs originally planned to be created.
1705 },
1706 },
1707 },
1708 &quot;kind&quot;: &quot;compute#operation&quot;, # Output only. [Output Only] Type of the resource. Always `compute#operation` for
1709 # Operation resources.
1710 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
1711 &quot;operationGroupId&quot;: &quot;A String&quot;, # Output only. [Output Only] An ID that represents a group of operations, such as when a
1712 # group of operations results from a `bulkInsert` API request.
1713 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`,
1714 # `update`, or `delete`, and so on.
1715 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100.
1716 # There is no requirement that this be linear or support any granularity of
1717 # operations. This should not be used to guess when the operation will be
1718 # complete. This number should monotonically increase as the operation
1719 # progresses.
1720 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only
1721 # applicable when performing regional operations.
1722 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
1723 &quot;setCommonInstanceMetadataOperationMetadata&quot;: { # Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata,
1724 # this field will contain information on all underlying zonal actions and
1725 # their state.
1726 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The client operation id.
1727 &quot;perLocationOperations&quot;: { # [Output Only] Status information per location (location name is key).
1728 # Example key: zones/us-central1-a
1729 &quot;a_key&quot;: {
1730 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # [Output Only] If state is `ABANDONED` or `FAILED`, this field is
1731 # populated.
1732 # different programming environments, including REST APIs and RPC APIs. It is
1733 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1734 # three pieces of data: error code, error message, and error details.
1735 #
1736 # You can find out more about this error model and how to work with it in the
1737 # [API Design Guide](https://cloud.google.com/apis/design/errors).
1738 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1739 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
1740 # message types for APIs to use.
1741 {
1742 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1743 },
1744 ],
1745 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
1746 # user-facing error message should be localized and sent in the
1747 # google.rpc.Status.details field, or localized by the client.
1748 },
1749 &quot;state&quot;: &quot;A String&quot;, # [Output Only] Status of the action, which can be one of the following:
1750 # `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
1751 },
1752 },
1753 },
1754 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server.
1755 # This value is inRFC3339
1756 # text format.
1757 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the
1758 # following:
1759 # `PENDING`, `RUNNING`, or `DONE`.
1760 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the
1761 # operation.
1762 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation
1763 # of the target resource.
1764 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For
1765 # operations related to creating a snapshot, this points to the disk
1766 # that the snapshot was created from.
1767 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example:
1768 # `[email protected]` or
1769 # `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
1770 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the
1771 # operation, this field will be populated.
1772 {
1773 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
1774 # Engine returns NO_RESULTS_ON_PAGE if there
1775 # are no results in the response.
1776 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
1777 # value format. For example:
1778 #
1779 # &quot;data&quot;: [
1780 # {
1781 # &quot;key&quot;: &quot;scope&quot;,
1782 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
1783 # }
1784 {
1785 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
1786 # returned. For example, for warnings where there are no results in a list
1787 # request for a particular zone, this key might be scope and
1788 # the key value might be the zone name. Other examples might be a key
1789 # indicating a deprecated resource and a suggested replacement, or a
1790 # warning about invalid network settings (for example, if an instance
1791 # attempts to perform IP forwarding but is not enabled for IP forwarding).
1792 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
1793 },
1794 ],
1795 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
1796 },
1797 ],
1798 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only
1799 # applicable when performing per-zone operations.
1800 }</pre>
1801 </div>
1802
1803 <div class="method">
1804 <code class="details" id="list">list(project, region, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</code>
1805 <pre>Retrieves a list of commitments contained within
1806 the specified region.
1807
1808 Args:
1809 project: string, Project ID for this request. (required)
1810 region: string, Name of the region for this request. (required)
1811 filter: string, A filter expression that filters resources listed in the response. Most
1812 Compute resources support two types of filter expressions:
1813 expressions that support regular expressions and expressions that follow
1814 API improvement proposal AIP-160.
1815 These two types of filter expressions cannot be mixed in one request.
1816
1817 If you want to use AIP-160, your expression must specify the field name, an
1818 operator, and the value that you want to use for filtering. The value
1819 must be a string, a number, or a boolean. The operator
1820 must be either `=`, `!=`, `&gt;`, `&lt;`, `&lt;=`, `&gt;=` or `:`.
1821
1822 For example, if you are filtering Compute Engine instances, you can
1823 exclude instances named `example-instance` by specifying
1824 `name != example-instance`.
1825
1826 The `:*` comparison can be used to test whether a key has been defined.
1827 For example, to find all objects with `owner` label use:
1828 ```
1829 labels.owner:*
1830 ```
1831
1832 You can also filter nested fields. For example, you could specify
1833 `scheduling.automaticRestart = false` to include instances only
1834 if they are not scheduled for automatic restarts. You can use filtering
1835 on nested fields to filter based onresource labels.
1836
1837 To filter on multiple expressions, provide each separate expression within
1838 parentheses. For example:
1839 ```
1840 (scheduling.automaticRestart = true)
1841 (cpuPlatform = &quot;Intel Skylake&quot;)
1842 ```
1843 By default, each expression is an `AND` expression. However, you
1844 can include `AND` and `OR` expressions explicitly.
1845 For example:
1846 ```
1847 (cpuPlatform = &quot;Intel Skylake&quot;) OR
1848 (cpuPlatform = &quot;Intel Broadwell&quot;) AND
1849 (scheduling.automaticRestart = true)
1850 ```
1851
1852 If you want to use a regular expression, use the `eq` (equal) or `ne`
1853 (not equal) operator against a single un-parenthesized expression with or
1854 without quotes or against multiple parenthesized expressions. Examples:
1855
1856 `fieldname eq unquoted literal`
1857 `fieldname eq &#x27;single quoted literal&#x27;`
1858 `fieldname eq &quot;double quoted literal&quot;`
1859 `(fieldname1 eq literal) (fieldname2 ne &quot;literal&quot;)`
1860
1861 The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
1862 The literal value must match the entire field.
1863
1864 For example, to filter for instances that do not end with name &quot;instance&quot;,
1865 you would use `name ne .*instance`.
1866
1867 You cannot combine constraints on multiple fields using regular
1868 expressions.
1869 maxResults: integer, The maximum number of results per page that should be returned.
1870 If the number of available results is larger than `maxResults`,
1871 Compute Engine returns a `nextPageToken` that can be used to get
1872 the next page of results in subsequent list requests. Acceptable values are
1873 `0` to `500`, inclusive. (Default: `500`)
1874 orderBy: string, Sorts list results by a certain order. By default, results
1875 are returned in alphanumerical order based on the resource name.
1876
1877 You can also sort results in descending order based on the creation
1878 timestamp using `orderBy=&quot;creationTimestamp desc&quot;`. This sorts
1879 results based on the `creationTimestamp` field in
1880 reverse chronological order (newest result first). Use this to sort
1881 resources like operations so that the newest operation is returned first.
1882
1883 Currently, only sorting by `name` or
1884 `creationTimestamp desc` is supported.
1885 pageToken: string, Specifies a page token to use. Set `pageToken` to the
1886 `nextPageToken` returned by a previous list request to get
1887 the next page of results.
1888 returnPartialSuccess: boolean, Opt-in for partial success behavior which provides partial results in case
1889 of failure. The default value is false.
1890
1891 For example, when partial success behavior is enabled, aggregatedList for a
1892 single zone scope either returns all resources in the zone or no resources,
1893 with an error code.
1894 x__xgafv: string, V1 error format.
1895 Allowed values
1896 1 - v1 error format
1897 2 - v2 error format
1898
1899 Returns:
1900 An object of the form:
1901
1902 { # Contains a list of Commitment resources.
1903 &quot;id&quot;: &quot;A String&quot;, # [Output Only] Unique identifier for the resource; defined by the server.
1904 &quot;items&quot;: [ # A list of Commitment resources.
1905 { # Represents a regional resource-based commitment resource.
1906 #
1907 # Creating this commitment resource means that you are purchasing a
1908 # resource-based committed use contract, with an explicit start and end time.
1909 # You can purchase resource-based commitments for both hardware and software
1910 # resources. For more information, read
1911 # Resource-based committed use discounts
1912 &quot;autoRenew&quot;: True or False, # Specifies whether to automatically renew the commitment at the end of its
1913 # current term. The default value is false. If you set the field
1914 # to true, each time your commitment reaches the end of its
1915 # term, Compute Engine automatically renews it for another term. You can
1916 # update this field anytime before the commitment expires. For example, if
1917 # the commitment is set to expire at 12 AM UTC-8 on January 3, 2027, you can
1918 # update this field until 11:59 PM UTC-8 on January 2, 2027.
1919 &quot;category&quot;: &quot;A String&quot;, # The category of the commitment; specifies whether the commitment is for
1920 # hardware or software resources. Category MACHINE specifies
1921 # that you are committing to hardware machine resources such asVCPU or MEMORY, listed in resources.
1922 # Category LICENSE specifies that you are committing to software
1923 # licenses, listed in licenseResources.
1924 # Note that if you specify MACHINE commitments, then you must
1925 # also specify a type to indicate the machine series of the
1926 # hardware resource that you are committing to.
1927 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
1928 # text format.
1929 &quot;customEndTimestamp&quot;: &quot;A String&quot;, # [Input Only] Optional, specifies the requested commitment end time inRFC3339 text format. Use this option when the desired
1930 # commitment&#x27;s end date is later than the start date + term duration.
1931 &quot;description&quot;: &quot;A String&quot;, # An optional description of the commitment. You can provide this property
1932 # when you create the resource.
1933 &quot;endTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Commitment end time inRFC3339
1934 # text format.
1935 &quot;existingReservations&quot;: [
1936 &quot;A String&quot;,
1937 ],
1938 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] The unique identifier for the resource. This identifier is
1939 # defined by the server.
1940 &quot;kind&quot;: &quot;compute#commitment&quot;, # Output only. [Output Only] Type of the resource. Always compute#commitment
1941 # for commitments.
1942 &quot;licenseResource&quot;: { # Commitment for a particular license resource. # The license specification required as part of a license commitment.
1943 &quot;amount&quot;: &quot;A String&quot;, # The number of licenses you plan to purchase.
1944 &quot;coresPerLicense&quot;: &quot;A String&quot;, # The number of cores per license.
1945 &quot;license&quot;: &quot;A String&quot;, # The applicable license URI.
1946 },
1947 &quot;mergeSourceCommitments&quot;: [ # The list of source commitments that you are merging to create the new
1948 # merged commitment. For more information, see
1949 # Merging commitments.
1950 &quot;A String&quot;,
1951 ],
1952 &quot;name&quot;: &quot;A String&quot;, # Name of the commitment. You must specify a name when you purchase the
1953 # commitment. The name must be 1-63 characters long, and comply withRFC1035.
1954 # Specifically, the name must be 1-63 characters long and match the regular
1955 # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
1956 # character must be a lowercase letter, and all following characters must
1957 # be a dash, lowercase letter, or digit, except the last character, which
1958 # cannot be a dash.
1959 &quot;params&quot;: { # Additional commitment params. # Input only. Additional params passed with the request, but not persisted
1960 # as part of resource payload.
1961 &quot;resourceManagerTags&quot;: { # Input only. Resource manager tags to be bound to the commitment. Tag keys and
1962 # values have the same definition as resource
1963 # manager tags. Keys and values can be either in numeric format,
1964 # such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in
1965 # namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and
1966 # `{tag_value_short_name}`. The field is ignored (both PUT &amp;
1967 # PATCH) when empty.
1968 &quot;a_key&quot;: &quot;A String&quot;,
1969 },
1970 },
1971 &quot;plan&quot;: &quot;A String&quot;, # The minimum time duration that you commit to purchasing resources.
1972 # The plan that you choose determines the preset term length of the
1973 # commitment (which is 1 year or 3 years) and affects the discount rate that
1974 # you receive for your resources. Committing to a longer time duration
1975 # typically gives you a higher discount rate. The supported values for this
1976 # field are TWELVE_MONTH (1 year), andTHIRTY_SIX_MONTH (3 years).
1977 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] URL of the region where the commitment and committed
1978 # resources are located.
1979 &quot;reservations&quot;: [ # The list of new reservations that you want to create and attach to this
1980 # commitment.
1981 #
1982 # You must attach reservations to your commitment if your commitment
1983 # specifies any GPUs or Local SSD disks. For more information, see
1984 # Attach reservations to resource-based commitments.
1985 #
1986 # Specify this property only if you want to create new
1987 # reservations to attach. To attach existing reservations, specify theexistingReservations property instead.
1988 { # Represents a reservation resource. A reservation ensures that capacity is
1989 # held in a specific zone even if the reserved VMs are not running. For more
1990 # information, read Reserving zonal
1991 # resources.
1992 &quot;advancedDeploymentControl&quot;: { # Advance control for cluster management, applicable only to DENSE deployment # Advanced control for cluster management, applicable only to DENSE
1993 # deployment type reservations.
1994 # type reservations.
1995 &quot;reservationOperationalMode&quot;: &quot;A String&quot;, # Indicates chosen reservation operational mode for the reservation.
1996 },
1997 &quot;aggregateReservation&quot;: { # This reservation type is specified by total resource amounts (e.g. total # Reservation for aggregated resources, providing shape flexibility.
1998 # count of CPUs) and can account for multiple instance SKUs. In other words,
1999 # one can create instances of varying shapes against this reservation.
2000 &quot;hostCount&quot;: 42, # Count of reserved hosts of specified VM family. The host has fixed number
2001 # of accelerators based on the accelerator/vm-family selected.
2002 &quot;inUseHostCount&quot;: 42, # Output only. Number of hosts currently in use. If there is one or more Instances
2003 # running on the host, it is considered in use.
2004 &quot;inUseInstanceCount&quot;: 42, # Output only. Number of instances currently in use in this reservation.
2005 &quot;inUseResources&quot;: [ # Output only. [Output only] List of resources currently in use.
2006 {
2007 &quot;accelerator&quot;: { # Properties of accelerator resources in this reservation.
2008 &quot;acceleratorCount&quot;: 42, # Number of accelerators of specified type.
2009 &quot;acceleratorType&quot;: &quot;A String&quot;, # Full or partial URL to accelerator type. e.g.
2010 # &quot;projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l&quot;
2011 },
2012 },
2013 ],
2014 &quot;reservedResources&quot;: [ # List of reserved resources (CPUs, memory, accelerators).
2015 {
2016 &quot;accelerator&quot;: { # Properties of accelerator resources in this reservation.
2017 &quot;acceleratorCount&quot;: 42, # Number of accelerators of specified type.
2018 &quot;acceleratorType&quot;: &quot;A String&quot;, # Full or partial URL to accelerator type. e.g.
2019 # &quot;projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l&quot;
2020 },
2021 },
2022 ],
2023 &quot;vmFamily&quot;: &quot;A String&quot;, # The VM family that all instances scheduled against this reservation must
2024 # belong to.
2025 &quot;workloadType&quot;: &quot;A String&quot;, # The workload type of the instances that will target this reservation.
2026 },
2027 &quot;commitment&quot;: &quot;A String&quot;, # Output only. [Output Only] Full or partial URL to a parent commitment. This field
2028 # displays for reservations that are tied to a commitment.
2029 &quot;confidentialComputeType&quot;: &quot;A String&quot;,
2030 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
2031 # text format.
2032 &quot;deleteAfterDuration&quot;: { # A Duration represents a fixed-length span of time represented # Duration time relative to reservation creation when Compute Engine will
2033 # automatically delete this resource.
2034 # as a count of seconds and fractions of seconds at nanosecond
2035 # resolution. It is independent of any calendar and concepts like &quot;day&quot;
2036 # or &quot;month&quot;. Range is approximately 10,000 years.
2037 &quot;nanos&quot;: 42, # Span of time that&#x27;s a fraction of a second at nanosecond resolution.
2038 # Durations less than one second are represented with a 0
2039 # `seconds` field and a positive `nanos` field. Must be from 0
2040 # to 999,999,999 inclusive.
2041 &quot;seconds&quot;: &quot;A String&quot;, # Span of time at a resolution of a second. Must be from 0
2042 # to 315,576,000,000 inclusive. Note: these bounds are computed from:
2043 # 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
2044 },
2045 &quot;deleteAtTime&quot;: &quot;A String&quot;, # Absolute time in future when the reservation will be
2046 # auto-deleted by Compute Engine. Timestamp is represented inRFC3339 text format.
2047 &quot;deploymentType&quot;: &quot;A String&quot;, # Specifies the deployment strategy for this reservation.
2048 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
2049 # create the resource.
2050 &quot;earlyAccessMaintenance&quot;: &quot;A String&quot;, # Indicates the early access maintenance for the reservation.
2051 # If this field is absent or set to NO_EARLY_ACCESS, the reservation is not
2052 # enrolled in early access maintenance and the standard notice applies.
2053 &quot;enableEmergentMaintenance&quot;: True or False, # Indicates whether Compute Engine allows unplanned maintenance for your VMs;
2054 # for example, to fix hardware errors.
2055 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] The unique identifier for the resource. This identifier is
2056 # defined by the server.
2057 &quot;kind&quot;: &quot;compute#reservation&quot;, # Output only. [Output Only] Type of the resource. Alwayscompute#reservations for reservations.
2058 &quot;linkedCommitments&quot;: [ # Output only. [Output Only] Full or partial URL to parent commitments. This field
2059 # displays for reservations that are tied to multiple commitments.
2060 &quot;A String&quot;,
2061 ],
2062 &quot;name&quot;: &quot;A String&quot;, # The name of the resource, provided by the client when initially creating
2063 # the resource. The resource name must be 1-63 characters long, and comply
2064 # withRFC1035.
2065 # Specifically, the name must be 1-63 characters long and match the regular
2066 # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
2067 # character must be a lowercase letter, and all following characters must be
2068 # a dash, lowercase letter, or digit, except the last character, which cannot
2069 # be a dash.
2070 &quot;params&quot;: { # Additional reservation params. # Input only. Additional params passed with the request, but not persisted
2071 # as part of resource payload.
2072 &quot;resourceManagerTags&quot;: { # Input only. Resource manager tags to be bound to the reservation. Tag keys and
2073 # values have the same definition as resource
2074 # manager tags. Keys and values can be either in numeric format,
2075 # such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in
2076 # namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and
2077 # `{tag_value_short_name}`. The field is ignored (both PUT &amp;
2078 # PATCH) when empty.
2079 &quot;a_key&quot;: &quot;A String&quot;,
2080 },
2081 },
2082 &quot;protectionTier&quot;: &quot;A String&quot;, # Protection tier for the workload which specifies the workload expectations
2083 # in the event of infrastructure failures at data center (e.g. power
2084 # and/or cooling failures).
2085 &quot;reservationMode&quot;: &quot;A String&quot;, # Output only. [Output only] Indicates the reservation mode of the reservation.
2086 &quot;reservationSharingPolicy&quot;: { # Specify the reservation sharing policy. If unspecified, the reservation
2087 # will not be shared with Google Cloud managed services.
2088 &quot;serviceShareType&quot;: &quot;A String&quot;, # Sharing config for all Google Cloud services.
2089 },
2090 &quot;resourcePolicies&quot;: { # Resource policies to be added to this reservation. The key is defined by
2091 # user, and the value is resource policy url. This is to define placement
2092 # policy with reservation.
2093 &quot;a_key&quot;: &quot;A String&quot;,
2094 },
2095 &quot;resourceStatus&quot;: { # [Output Only] Contains output only fields. # Output only. [Output Only] Status information for Reservation resource.
2096 &quot;healthInfo&quot;: { # Health information for the reservation. # [Output only] Health information for the reservation.
2097 &quot;degradedBlockCount&quot;: 42, # The number of reservation blocks that are degraded.
2098 &quot;healthStatus&quot;: &quot;A String&quot;, # The health status of the reservation.
2099 &quot;healthyBlockCount&quot;: 42, # The number of reservation blocks that are healthy.
2100 },
2101 &quot;reservationBlockCount&quot;: 42, # The number of reservation blocks associated with this reservation.
2102 &quot;reservationMaintenance&quot;: { # Maintenance Info for ReservationBlocks. # Maintenance information for this reservation
2103 &quot;instanceMaintenanceOngoingCount&quot;: 42, # Describes number of instances that have ongoing maintenance.
2104 &quot;instanceMaintenancePendingCount&quot;: 42, # Describes number of instances that have pending maintenance.
2105 &quot;maintenanceOngoingCount&quot;: 42, # Progress for ongoing maintenance for this group of VMs/hosts.
2106 # Describes number of hosts in the block that have ongoing maintenance.
2107 &quot;maintenancePendingCount&quot;: 42, # Progress for ongoing maintenance for this group of VMs/hosts.
2108 # Describes number of hosts in the block that have pending maintenance.
2109 &quot;schedulingType&quot;: &quot;A String&quot;, # The type of maintenance for the reservation.
2110 &quot;subblockInfraMaintenanceOngoingCount&quot;: 42, # Describes number of subblock Infrastructure that has ongoing maintenance.
2111 # Here, Subblock Infrastructure Maintenance pertains to upstream hardware
2112 # contained in the Subblock that is necessary for a VM Family(e.g. NVLink
2113 # Domains). Not all VM Families will support this field.
2114 &quot;subblockInfraMaintenancePendingCount&quot;: 42, # Describes number of subblock Infrastructure that has pending maintenance.
2115 # Here, Subblock Infrastructure Maintenance pertains to upstream hardware
2116 # contained in the Subblock that is necessary for a VM Family (e.g. NVLink
2117 # Domains). Not all VM Families will support this field.
2118 &quot;upcomingGroupMaintenance&quot;: { # Upcoming Maintenance notification information. # Maintenance information on this group of VMs.
2119 &quot;canReschedule&quot;: True or False, # Indicates if the maintenance can be customer triggered.
2120 &quot;latestWindowStartTime&quot;: &quot;A String&quot;, # The latest time for the planned maintenance window to start.
2121 # This timestamp value is in RFC3339 text format.
2122 &quot;maintenanceOnShutdown&quot;: True or False, # Indicates whether the UpcomingMaintenance will be triggered on VM shutdown.
2123 &quot;maintenanceReasons&quot;: [ # The reasons for the maintenance. Only valid for vms.
2124 &quot;A String&quot;,
2125 ],
2126 &quot;maintenanceStatus&quot;: &quot;A String&quot;,
2127 &quot;type&quot;: &quot;A String&quot;, # Defines the type of maintenance.
2128 &quot;windowEndTime&quot;: &quot;A String&quot;, # The time by which the maintenance disruption will be completed.
2129 # This timestamp value is in RFC3339 text format.
2130 &quot;windowStartTime&quot;: &quot;A String&quot;, # The current start time of the maintenance window.
2131 # This timestamp value is in RFC3339 text format.
2132 },
2133 },
2134 &quot;specificSkuAllocation&quot;: { # Contains Properties set for the reservation. # Allocation Properties of this reservation.
2135 &quot;sourceInstanceTemplateId&quot;: &quot;A String&quot;, # ID of the instance template used to populate reservation properties.
2136 &quot;utilizations&quot;: { # Per service utilization breakdown. The Key is the Google Cloud managed
2137 # service name.
2138 &quot;a_key&quot;: &quot;A String&quot;,
2139 },
2140 },
2141 },
2142 &quot;satisfiesPzs&quot;: True or False, # Output only. [Output Only] Reserved for future use.
2143 &quot;schedulingType&quot;: &quot;A String&quot;, # The type of maintenance for the reservation.
2144 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined fully-qualified URL for this resource.
2145 &quot;shareSettings&quot;: { # The share setting for reservations and sole tenancy node groups. # Specify share-settings to create a shared reservation. This property is
2146 # optional. For more information about the syntax and options for this
2147 # field and its subfields, see the guide for creating
2148 # a shared reservation.
2149 &quot;folderMap&quot;: { # A map of folder id and folder config to specify consumer projects for this
2150 # shared-reservation. This is only valid when share_type&#x27;s value is
2151 # DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS.
2152 # Folder id should be a string of number, and without &quot;folders/&quot; prefix.
2153 &quot;a_key&quot;: { # Config for each folder in the share settings.
2154 &quot;folderId&quot;: &quot;A String&quot;, # The folder ID, should be same as the key of this folder config in the
2155 # parent map.
2156 # Folder id should be a string of number, and without &quot;folders/&quot; prefix.
2157 },
2158 },
2159 &quot;projectMap&quot;: { # A map of project id and project config. This is only valid when
2160 # share_type&#x27;s value is SPECIFIC_PROJECTS.
2161 &quot;a_key&quot;: { # Config for each project in the share settings.
2162 &quot;projectId&quot;: &quot;A String&quot;, # The project ID, should be same as the key of this project config in the
2163 # parent map.
2164 },
2165 },
2166 &quot;projects&quot;: [ # A List of Project names to specify consumer projects for this
2167 # shared-reservation. This is only valid when share_type&#x27;s value is
2168 # SPECIFIC_PROJECTS.
2169 &quot;A String&quot;,
2170 ],
2171 &quot;shareType&quot;: &quot;A String&quot;, # Type of sharing for this shared-reservation
2172 },
2173 &quot;specificReservation&quot;: { # This reservation type allows to pre allocate specific instance # Reservation for instances with specific machine shapes.
2174 # configuration.
2175 &quot;assuredCount&quot;: &quot;A String&quot;, # Output only. [Output Only] Indicates how many instances are actually usable currently.
2176 &quot;count&quot;: &quot;A String&quot;, # Specifies the number of resources that are allocated.
2177 &quot;inUseCount&quot;: &quot;A String&quot;, # Output only. [Output Only] Indicates how many instances are in use.
2178 &quot;instanceProperties&quot;: { # Properties of the SKU instances being reserved. # The instance properties for the reservation.
2179 # Next ID: 10
2180 &quot;guestAccelerators&quot;: [ # Specifies accelerator type and count.
2181 { # A specification of the type and number of accelerator cards attached to the
2182 # instance.
2183 &quot;acceleratorCount&quot;: 42, # The number of the guest accelerator cards exposed to this instance.
2184 &quot;acceleratorType&quot;: &quot;A String&quot;, # Full or partial URL of the accelerator type resource to attach to this
2185 # instance. For example:projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100
2186 # If you are creating an instance template, specify only the
2187 # accelerator name.
2188 # See GPUs on Compute Engine
2189 # for a full list of accelerator types.
2190 },
2191 ],
2192 &quot;localSsds&quot;: [ # Specifies amount of local ssd to reserve with each instance. The type
2193 # of disk is local-ssd.
2194 {
2195 &quot;diskSizeGb&quot;: &quot;A String&quot;, # Specifies the size of the disk in base-2 GB.
2196 &quot;interface&quot;: &quot;A String&quot;, # Specifies the disk interface to use for attaching this disk, which is
2197 # either SCSI or NVME. The default isSCSI.
2198 # For performance characteristics of SCSI over NVMe, seeLocal SSD performance.
2199 },
2200 ],
2201 &quot;locationHint&quot;: &quot;A String&quot;, # An opaque location hint used to place the allocation close to other
2202 # resources.
2203 # This field is for use by internal tools that use the public API.
2204 &quot;machineType&quot;: &quot;A String&quot;, # Specifies type of machine (name only) which has fixed number of vCPUs
2205 # and fixed amount of memory. This also includes specifying custom
2206 # machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
2207 &quot;maintenanceFreezeDurationHours&quot;: 42, # Specifies the number of hours after reservation creation where
2208 # instances using the reservation won&#x27;t be scheduled for maintenance.
2209 &quot;maintenanceInterval&quot;: &quot;A String&quot;, # Specifies the frequency of planned maintenance events. The accepted
2210 # values are: `PERIODIC`.
2211 &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum cpu platform the reservation.
2212 },
2213 &quot;sourceInstanceTemplate&quot;: &quot;A String&quot;, # Specifies the instance template to create the reservation. If you use
2214 # this field, you must exclude the instanceProperties field.
2215 #
2216 # This field is optional, and it can be a full or partial URL. For example,
2217 # the following are all valid URLs to an instance template:
2218 #
2219 #
2220 # - https://www.googleapis.com/compute/v1/projects/project/global/instanceTemplates/instanceTemplate
2221 # - projects/project/global/instanceTemplates/instanceTemplate
2222 # - global/instanceTemplates/instanceTemplate
2223 },
2224 &quot;specificReservationRequired&quot;: True or False, # Indicates whether the reservation can be consumed by VMs with affinity
2225 # for &quot;any&quot; reservation. If the field is set, then only VMs that target
2226 # the reservation by name can consume from this reservation.
2227 &quot;status&quot;: &quot;A String&quot;, # Output only. [Output Only] The status of the reservation.
2228 #
2229 #
2230 # - CREATING: Reservation resources are being
2231 # allocated.
2232 # - READY: Reservation resources have been allocated,
2233 # and the reservation is ready for use.
2234 # - DELETING: Reservation deletion is in progress.
2235 # - UPDATING: Reservation update is in progress.
2236 &quot;zone&quot;: &quot;A String&quot;, # Zone in which the reservation resides. A zone must be provided if the
2237 # reservation is created within a commitment.
2238 },
2239 ],
2240 &quot;resourceStatus&quot;: { # [Output Only] Contains output only fields. # Output only. [Output Only] Status information for Commitment resource.
2241 &quot;customTermEligibilityEndTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Indicates the end time of customer&#x27;s eligibility to send
2242 # custom term requests in RFC3339 text format. Term extension requests that
2243 # (not the end time in the request) after this time will be rejected.
2244 },
2245 &quot;resources&quot;: [ # The list of all the hardware resources, with their types and amounts, that
2246 # you want to commit to. Specify as a separate entry in the list for each
2247 # individual resource type.
2248 { # Commitment for a particular hardware resource (a commitment is composed of
2249 # one or more of these).
2250 &quot;acceleratorType&quot;: &quot;A String&quot;, # Name of the accelerator type or GPU resource. Specify this field only when
2251 # the type of hardware resource is ACCELERATOR.
2252 &quot;amount&quot;: &quot;A String&quot;, # The quantity of the hardware resource that you want to commit to purchasing
2253 # (in a type-dependent unit).
2254 #
2255 # - For vCPUs, you must specify an integer value.
2256 # - For memory, you specify the amount of MB that you want. The value you
2257 # specify must be a multiple of 256 MB, with up to 6.5 GB of
2258 # memory per every vCPU.
2259 # - For GPUs, you must specify an integer value.
2260 # - For Local SSD disks, you must specify the amount in GB. The size of a
2261 # single Local SSD disk is 375 GB.
2262 &quot;type&quot;: &quot;A String&quot;, # The type of hardware resource that you want to specify.
2263 # You can specify any of the following values:
2264 #
2265 # - VCPU
2266 # - MEMORY
2267 # - LOCAL_SSD
2268 # - ACCELERATOR
2269 #
2270 #
2271 #
2272 # Specify as a separate entry in the list for each
2273 # individual resource type.
2274 },
2275 ],
2276 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for the resource.
2277 &quot;splitSourceCommitment&quot;: &quot;A String&quot;, # The source commitment from which you are transferring resources to create
2278 # the new split commitment. For more information, see
2279 # Split commitments.
2280 &quot;startTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Commitment start time inRFC3339
2281 # text format.
2282 &quot;status&quot;: &quot;A String&quot;, # Output only. [Output Only] Status of the commitment with regards to eventual expiration
2283 # (each commitment has an end date defined). Status can be one of the
2284 # following values: NOT_YET_ACTIVE, ACTIVE, orEXPIRED.
2285 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. [Output Only] An optional, human-readable explanation of the status.
2286 &quot;type&quot;: &quot;A String&quot;, # The type of commitment; specifies the
2287 # machine series for which you want to commit to purchasing resources.
2288 # The choice of machine series affects the discount rate and the eligible
2289 # resource types.
2290 #
2291 # The type must be one of the following:ACCELERATOR_OPTIMIZED, ACCELERATOR_OPTIMIZED_A3,ACCELERATOR_OPTIMIZED_A3_MEGA,COMPUTE_OPTIMIZED, COMPUTE_OPTIMIZED_C2D,
2292 # COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D,COMPUTE_OPTIMIZED_H3, GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED, GRAPHICS_OPTIMIZED_G4,GRAPHICS_OPTIMIZED_G4_VGPU,MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3. For
2293 # example, type MEMORY_OPTIMIZED specifies a commitment that
2294 # applies only to eligible resources of memory optimized M1 and M2 machine
2295 # series. Type GENERAL_PURPOSE specifies a commitment that
2296 # applies only to eligible resources of general purpose N1 machine series.
2297 },
2298 ],
2299 &quot;kind&quot;: &quot;compute#commitmentList&quot;, # Output only. [Output Only] Type of resource. Always compute#commitmentList
2300 # for lists of commitments.
2301 &quot;nextPageToken&quot;: &quot;A String&quot;, # [Output Only] This token allows you to get the next page of results for
2302 # list requests. If the number of results is larger thanmaxResults, use the nextPageToken as a value for
2303 # the query parameter pageToken in the next list request.
2304 # Subsequent list requests will have their own nextPageToken to
2305 # continue paging through the results.
2306 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for this resource.
2307 &quot;warning&quot;: { # [Output Only] Informational warning message.
2308 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
2309 # Engine returns NO_RESULTS_ON_PAGE if there
2310 # are no results in the response.
2311 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
2312 # value format. For example:
2313 #
2314 # &quot;data&quot;: [
2315 # {
2316 # &quot;key&quot;: &quot;scope&quot;,
2317 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
2318 # }
2319 {
2320 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
2321 # returned. For example, for warnings where there are no results in a list
2322 # request for a particular zone, this key might be scope and
2323 # the key value might be the zone name. Other examples might be a key
2324 # indicating a deprecated resource and a suggested replacement, or a
2325 # warning about invalid network settings (for example, if an instance
2326 # attempts to perform IP forwarding but is not enabled for IP forwarding).
2327 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
2328 },
2329 ],
2330 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
2331 },
2332 }</pre>
2333 </div>
2334
2335 <div class="method">
2336 <code class="details" id="list_next">list_next()</code>
2337 <pre>Retrieves the next page of results.
2338
2339 Args:
2340 previous_request: The request for the previous page. (required)
2341 previous_response: The response from the request for the previous page. (required)
2342
2343 Returns:
2344 A request object that you can call &#x27;execute()&#x27; on to request the next
2345 page. Returns None if there are no more items in the collection.
2346 </pre>
2347 </div>
2348
2349 <div class="method">
2350 <code class="details" id="testIamPermissions">testIamPermissions(project, region, resource, body=None, x__xgafv=None)</code>
2351 <pre>Returns permissions that a caller has on the specified resource.
2352
2353 Args:
2354 project: string, Project ID for this request. (required)
2355 region: string, The name of the region for this request. (required)
2356 resource: string, Name or id of the resource for this request. (required)
2357 body: object, The request body.
2358 The object takes the form of:
2359
2360 {
2361 &quot;permissions&quot;: [ # The set of permissions to check for the &#x27;resource&#x27;. Permissions with
2362 # wildcards (such as &#x27;*&#x27; or &#x27;storage.*&#x27;) are not allowed.
2363 &quot;A String&quot;,
2364 ],
2365 }
2366
2367 x__xgafv: string, V1 error format.
2368 Allowed values
2369 1 - v1 error format
2370 2 - v2 error format
2371
2372 Returns:
2373 An object of the form:
2374
2375 {
2376 &quot;permissions&quot;: [ # A subset of `TestPermissionsRequest.permissions` that the caller is
2377 # allowed.
2378 &quot;A String&quot;,
2379 ],
2380 }</pre>
2381 </div>
2382
2383 <div class="method">
2384 <code class="details" id="update">update(project, region, commitment, body=None, paths=None, requestId=None, updateMask=None, x__xgafv=None)</code>
2385 <pre>Updates the specified commitment with the data included in the request.
2386 Update is performed only on selected fields included as part of
2387 update-mask. Only the following fields can be updated: auto_renew and plan.
2388
2389 Args:
2390 project: string, Project ID for this request. (required)
2391 region: string, Name of the region for this request. (required)
2392 commitment: string, Name of the commitment that you want to update. (required)
2393 body: object, The request body.
2394 The object takes the form of:
2395
2396 { # Represents a regional resource-based commitment resource.
2397 #
2398 # Creating this commitment resource means that you are purchasing a
2399 # resource-based committed use contract, with an explicit start and end time.
2400 # You can purchase resource-based commitments for both hardware and software
2401 # resources. For more information, read
2402 # Resource-based committed use discounts
2403 &quot;autoRenew&quot;: True or False, # Specifies whether to automatically renew the commitment at the end of its
2404 # current term. The default value is false. If you set the field
2405 # to true, each time your commitment reaches the end of its
2406 # term, Compute Engine automatically renews it for another term. You can
2407 # update this field anytime before the commitment expires. For example, if
2408 # the commitment is set to expire at 12 AM UTC-8 on January 3, 2027, you can
2409 # update this field until 11:59 PM UTC-8 on January 2, 2027.
2410 &quot;category&quot;: &quot;A String&quot;, # The category of the commitment; specifies whether the commitment is for
2411 # hardware or software resources. Category MACHINE specifies
2412 # that you are committing to hardware machine resources such asVCPU or MEMORY, listed in resources.
2413 # Category LICENSE specifies that you are committing to software
2414 # licenses, listed in licenseResources.
2415 # Note that if you specify MACHINE commitments, then you must
2416 # also specify a type to indicate the machine series of the
2417 # hardware resource that you are committing to.
2418 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
2419 # text format.
2420 &quot;customEndTimestamp&quot;: &quot;A String&quot;, # [Input Only] Optional, specifies the requested commitment end time inRFC3339 text format. Use this option when the desired
2421 # commitment&#x27;s end date is later than the start date + term duration.
2422 &quot;description&quot;: &quot;A String&quot;, # An optional description of the commitment. You can provide this property
2423 # when you create the resource.
2424 &quot;endTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Commitment end time inRFC3339
2425 # text format.
2426 &quot;existingReservations&quot;: [
2427 &quot;A String&quot;,
2428 ],
2429 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] The unique identifier for the resource. This identifier is
2430 # defined by the server.
2431 &quot;kind&quot;: &quot;compute#commitment&quot;, # Output only. [Output Only] Type of the resource. Always compute#commitment
2432 # for commitments.
2433 &quot;licenseResource&quot;: { # Commitment for a particular license resource. # The license specification required as part of a license commitment.
2434 &quot;amount&quot;: &quot;A String&quot;, # The number of licenses you plan to purchase.
2435 &quot;coresPerLicense&quot;: &quot;A String&quot;, # The number of cores per license.
2436 &quot;license&quot;: &quot;A String&quot;, # The applicable license URI.
2437 },
2438 &quot;mergeSourceCommitments&quot;: [ # The list of source commitments that you are merging to create the new
2439 # merged commitment. For more information, see
2440 # Merging commitments.
2441 &quot;A String&quot;,
2442 ],
2443 &quot;name&quot;: &quot;A String&quot;, # Name of the commitment. You must specify a name when you purchase the
2444 # commitment. The name must be 1-63 characters long, and comply withRFC1035.
2445 # Specifically, the name must be 1-63 characters long and match the regular
2446 # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
2447 # character must be a lowercase letter, and all following characters must
2448 # be a dash, lowercase letter, or digit, except the last character, which
2449 # cannot be a dash.
2450 &quot;params&quot;: { # Additional commitment params. # Input only. Additional params passed with the request, but not persisted
2451 # as part of resource payload.
2452 &quot;resourceManagerTags&quot;: { # Input only. Resource manager tags to be bound to the commitment. Tag keys and
2453 # values have the same definition as resource
2454 # manager tags. Keys and values can be either in numeric format,
2455 # such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in
2456 # namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and
2457 # `{tag_value_short_name}`. The field is ignored (both PUT &amp;
2458 # PATCH) when empty.
2459 &quot;a_key&quot;: &quot;A String&quot;,
2460 },
2461 },
2462 &quot;plan&quot;: &quot;A String&quot;, # The minimum time duration that you commit to purchasing resources.
2463 # The plan that you choose determines the preset term length of the
2464 # commitment (which is 1 year or 3 years) and affects the discount rate that
2465 # you receive for your resources. Committing to a longer time duration
2466 # typically gives you a higher discount rate. The supported values for this
2467 # field are TWELVE_MONTH (1 year), andTHIRTY_SIX_MONTH (3 years).
2468 &quot;region&quot;: &quot;A String&quot;, # Output only. [Output Only] URL of the region where the commitment and committed
2469 # resources are located.
2470 &quot;reservations&quot;: [ # The list of new reservations that you want to create and attach to this
2471 # commitment.
2472 #
2473 # You must attach reservations to your commitment if your commitment
2474 # specifies any GPUs or Local SSD disks. For more information, see
2475 # Attach reservations to resource-based commitments.
2476 #
2477 # Specify this property only if you want to create new
2478 # reservations to attach. To attach existing reservations, specify theexistingReservations property instead.
2479 { # Represents a reservation resource. A reservation ensures that capacity is
2480 # held in a specific zone even if the reserved VMs are not running. For more
2481 # information, read Reserving zonal
2482 # resources.
2483 &quot;advancedDeploymentControl&quot;: { # Advance control for cluster management, applicable only to DENSE deployment # Advanced control for cluster management, applicable only to DENSE
2484 # deployment type reservations.
2485 # type reservations.
2486 &quot;reservationOperationalMode&quot;: &quot;A String&quot;, # Indicates chosen reservation operational mode for the reservation.
2487 },
2488 &quot;aggregateReservation&quot;: { # This reservation type is specified by total resource amounts (e.g. total # Reservation for aggregated resources, providing shape flexibility.
2489 # count of CPUs) and can account for multiple instance SKUs. In other words,
2490 # one can create instances of varying shapes against this reservation.
2491 &quot;hostCount&quot;: 42, # Count of reserved hosts of specified VM family. The host has fixed number
2492 # of accelerators based on the accelerator/vm-family selected.
2493 &quot;inUseHostCount&quot;: 42, # Output only. Number of hosts currently in use. If there is one or more Instances
2494 # running on the host, it is considered in use.
2495 &quot;inUseInstanceCount&quot;: 42, # Output only. Number of instances currently in use in this reservation.
2496 &quot;inUseResources&quot;: [ # Output only. [Output only] List of resources currently in use.
2497 {
2498 &quot;accelerator&quot;: { # Properties of accelerator resources in this reservation.
2499 &quot;acceleratorCount&quot;: 42, # Number of accelerators of specified type.
2500 &quot;acceleratorType&quot;: &quot;A String&quot;, # Full or partial URL to accelerator type. e.g.
2501 # &quot;projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l&quot;
2502 },
2503 },
2504 ],
2505 &quot;reservedResources&quot;: [ # List of reserved resources (CPUs, memory, accelerators).
2506 {
2507 &quot;accelerator&quot;: { # Properties of accelerator resources in this reservation.
2508 &quot;acceleratorCount&quot;: 42, # Number of accelerators of specified type.
2509 &quot;acceleratorType&quot;: &quot;A String&quot;, # Full or partial URL to accelerator type. e.g.
2510 # &quot;projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l&quot;
2511 },
2512 },
2513 ],
2514 &quot;vmFamily&quot;: &quot;A String&quot;, # The VM family that all instances scheduled against this reservation must
2515 # belong to.
2516 &quot;workloadType&quot;: &quot;A String&quot;, # The workload type of the instances that will target this reservation.
2517 },
2518 &quot;commitment&quot;: &quot;A String&quot;, # Output only. [Output Only] Full or partial URL to a parent commitment. This field
2519 # displays for reservations that are tied to a commitment.
2520 &quot;confidentialComputeType&quot;: &quot;A String&quot;,
2521 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
2522 # text format.
2523 &quot;deleteAfterDuration&quot;: { # A Duration represents a fixed-length span of time represented # Duration time relative to reservation creation when Compute Engine will
2524 # automatically delete this resource.
2525 # as a count of seconds and fractions of seconds at nanosecond
2526 # resolution. It is independent of any calendar and concepts like &quot;day&quot;
2527 # or &quot;month&quot;. Range is approximately 10,000 years.
2528 &quot;nanos&quot;: 42, # Span of time that&#x27;s a fraction of a second at nanosecond resolution.
2529 # Durations less than one second are represented with a 0
2530 # `seconds` field and a positive `nanos` field. Must be from 0
2531 # to 999,999,999 inclusive.
2532 &quot;seconds&quot;: &quot;A String&quot;, # Span of time at a resolution of a second. Must be from 0
2533 # to 315,576,000,000 inclusive. Note: these bounds are computed from:
2534 # 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
2535 },
2536 &quot;deleteAtTime&quot;: &quot;A String&quot;, # Absolute time in future when the reservation will be
2537 # auto-deleted by Compute Engine. Timestamp is represented inRFC3339 text format.
2538 &quot;deploymentType&quot;: &quot;A String&quot;, # Specifies the deployment strategy for this reservation.
2539 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
2540 # create the resource.
2541 &quot;earlyAccessMaintenance&quot;: &quot;A String&quot;, # Indicates the early access maintenance for the reservation.
2542 # If this field is absent or set to NO_EARLY_ACCESS, the reservation is not
2543 # enrolled in early access maintenance and the standard notice applies.
2544 &quot;enableEmergentMaintenance&quot;: True or False, # Indicates whether Compute Engine allows unplanned maintenance for your VMs;
2545 # for example, to fix hardware errors.
2546 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] The unique identifier for the resource. This identifier is
2547 # defined by the server.
2548 &quot;kind&quot;: &quot;compute#reservation&quot;, # Output only. [Output Only] Type of the resource. Alwayscompute#reservations for reservations.
2549 &quot;linkedCommitments&quot;: [ # Output only. [Output Only] Full or partial URL to parent commitments. This field
2550 # displays for reservations that are tied to multiple commitments.
2551 &quot;A String&quot;,
2552 ],
2553 &quot;name&quot;: &quot;A String&quot;, # The name of the resource, provided by the client when initially creating
2554 # the resource. The resource name must be 1-63 characters long, and comply
2555 # withRFC1035.
2556 # Specifically, the name must be 1-63 characters long and match the regular
2557 # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
2558 # character must be a lowercase letter, and all following characters must be
2559 # a dash, lowercase letter, or digit, except the last character, which cannot
2560 # be a dash.
2561 &quot;params&quot;: { # Additional reservation params. # Input only. Additional params passed with the request, but not persisted
2562 # as part of resource payload.
2563 &quot;resourceManagerTags&quot;: { # Input only. Resource manager tags to be bound to the reservation. Tag keys and
2564 # values have the same definition as resource
2565 # manager tags. Keys and values can be either in numeric format,
2566 # such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in
2567 # namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and
2568 # `{tag_value_short_name}`. The field is ignored (both PUT &amp;
2569 # PATCH) when empty.
2570 &quot;a_key&quot;: &quot;A String&quot;,
2571 },
2572 },
2573 &quot;protectionTier&quot;: &quot;A String&quot;, # Protection tier for the workload which specifies the workload expectations
2574 # in the event of infrastructure failures at data center (e.g. power
2575 # and/or cooling failures).
2576 &quot;reservationMode&quot;: &quot;A String&quot;, # Output only. [Output only] Indicates the reservation mode of the reservation.
2577 &quot;reservationSharingPolicy&quot;: { # Specify the reservation sharing policy. If unspecified, the reservation
2578 # will not be shared with Google Cloud managed services.
2579 &quot;serviceShareType&quot;: &quot;A String&quot;, # Sharing config for all Google Cloud services.
2580 },
2581 &quot;resourcePolicies&quot;: { # Resource policies to be added to this reservation. The key is defined by
2582 # user, and the value is resource policy url. This is to define placement
2583 # policy with reservation.
2584 &quot;a_key&quot;: &quot;A String&quot;,
2585 },
2586 &quot;resourceStatus&quot;: { # [Output Only] Contains output only fields. # Output only. [Output Only] Status information for Reservation resource.
2587 &quot;healthInfo&quot;: { # Health information for the reservation. # [Output only] Health information for the reservation.
2588 &quot;degradedBlockCount&quot;: 42, # The number of reservation blocks that are degraded.
2589 &quot;healthStatus&quot;: &quot;A String&quot;, # The health status of the reservation.
2590 &quot;healthyBlockCount&quot;: 42, # The number of reservation blocks that are healthy.
2591 },
2592 &quot;reservationBlockCount&quot;: 42, # The number of reservation blocks associated with this reservation.
2593 &quot;reservationMaintenance&quot;: { # Maintenance Info for ReservationBlocks. # Maintenance information for this reservation
2594 &quot;instanceMaintenanceOngoingCount&quot;: 42, # Describes number of instances that have ongoing maintenance.
2595 &quot;instanceMaintenancePendingCount&quot;: 42, # Describes number of instances that have pending maintenance.
2596 &quot;maintenanceOngoingCount&quot;: 42, # Progress for ongoing maintenance for this group of VMs/hosts.
2597 # Describes number of hosts in the block that have ongoing maintenance.
2598 &quot;maintenancePendingCount&quot;: 42, # Progress for ongoing maintenance for this group of VMs/hosts.
2599 # Describes number of hosts in the block that have pending maintenance.
2600 &quot;schedulingType&quot;: &quot;A String&quot;, # The type of maintenance for the reservation.
2601 &quot;subblockInfraMaintenanceOngoingCount&quot;: 42, # Describes number of subblock Infrastructure that has ongoing maintenance.
2602 # Here, Subblock Infrastructure Maintenance pertains to upstream hardware
2603 # contained in the Subblock that is necessary for a VM Family(e.g. NVLink
2604 # Domains). Not all VM Families will support this field.
2605 &quot;subblockInfraMaintenancePendingCount&quot;: 42, # Describes number of subblock Infrastructure that has pending maintenance.
2606 # Here, Subblock Infrastructure Maintenance pertains to upstream hardware
2607 # contained in the Subblock that is necessary for a VM Family (e.g. NVLink
2608 # Domains). Not all VM Families will support this field.
2609 &quot;upcomingGroupMaintenance&quot;: { # Upcoming Maintenance notification information. # Maintenance information on this group of VMs.
2610 &quot;canReschedule&quot;: True or False, # Indicates if the maintenance can be customer triggered.
2611 &quot;latestWindowStartTime&quot;: &quot;A String&quot;, # The latest time for the planned maintenance window to start.
2612 # This timestamp value is in RFC3339 text format.
2613 &quot;maintenanceOnShutdown&quot;: True or False, # Indicates whether the UpcomingMaintenance will be triggered on VM shutdown.
2614 &quot;maintenanceReasons&quot;: [ # The reasons for the maintenance. Only valid for vms.
2615 &quot;A String&quot;,
2616 ],
2617 &quot;maintenanceStatus&quot;: &quot;A String&quot;,
2618 &quot;type&quot;: &quot;A String&quot;, # Defines the type of maintenance.
2619 &quot;windowEndTime&quot;: &quot;A String&quot;, # The time by which the maintenance disruption will be completed.
2620 # This timestamp value is in RFC3339 text format.
2621 &quot;windowStartTime&quot;: &quot;A String&quot;, # The current start time of the maintenance window.
2622 # This timestamp value is in RFC3339 text format.
2623 },
2624 },
2625 &quot;specificSkuAllocation&quot;: { # Contains Properties set for the reservation. # Allocation Properties of this reservation.
2626 &quot;sourceInstanceTemplateId&quot;: &quot;A String&quot;, # ID of the instance template used to populate reservation properties.
2627 &quot;utilizations&quot;: { # Per service utilization breakdown. The Key is the Google Cloud managed
2628 # service name.
2629 &quot;a_key&quot;: &quot;A String&quot;,
2630 },
2631 },
2632 },
2633 &quot;satisfiesPzs&quot;: True or False, # Output only. [Output Only] Reserved for future use.
2634 &quot;schedulingType&quot;: &quot;A String&quot;, # The type of maintenance for the reservation.
2635 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined fully-qualified URL for this resource.
2636 &quot;shareSettings&quot;: { # The share setting for reservations and sole tenancy node groups. # Specify share-settings to create a shared reservation. This property is
2637 # optional. For more information about the syntax and options for this
2638 # field and its subfields, see the guide for creating
2639 # a shared reservation.
2640 &quot;folderMap&quot;: { # A map of folder id and folder config to specify consumer projects for this
2641 # shared-reservation. This is only valid when share_type&#x27;s value is
2642 # DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS.
2643 # Folder id should be a string of number, and without &quot;folders/&quot; prefix.
2644 &quot;a_key&quot;: { # Config for each folder in the share settings.
2645 &quot;folderId&quot;: &quot;A String&quot;, # The folder ID, should be same as the key of this folder config in the
2646 # parent map.
2647 # Folder id should be a string of number, and without &quot;folders/&quot; prefix.
2648 },
2649 },
2650 &quot;projectMap&quot;: { # A map of project id and project config. This is only valid when
2651 # share_type&#x27;s value is SPECIFIC_PROJECTS.
2652 &quot;a_key&quot;: { # Config for each project in the share settings.
2653 &quot;projectId&quot;: &quot;A String&quot;, # The project ID, should be same as the key of this project config in the
2654 # parent map.
2655 },
2656 },
2657 &quot;projects&quot;: [ # A List of Project names to specify consumer projects for this
2658 # shared-reservation. This is only valid when share_type&#x27;s value is
2659 # SPECIFIC_PROJECTS.
2660 &quot;A String&quot;,
2661 ],
2662 &quot;shareType&quot;: &quot;A String&quot;, # Type of sharing for this shared-reservation
2663 },
2664 &quot;specificReservation&quot;: { # This reservation type allows to pre allocate specific instance # Reservation for instances with specific machine shapes.
2665 # configuration.
2666 &quot;assuredCount&quot;: &quot;A String&quot;, # Output only. [Output Only] Indicates how many instances are actually usable currently.
2667 &quot;count&quot;: &quot;A String&quot;, # Specifies the number of resources that are allocated.
2668 &quot;inUseCount&quot;: &quot;A String&quot;, # Output only. [Output Only] Indicates how many instances are in use.
2669 &quot;instanceProperties&quot;: { # Properties of the SKU instances being reserved. # The instance properties for the reservation.
2670 # Next ID: 10
2671 &quot;guestAccelerators&quot;: [ # Specifies accelerator type and count.
2672 { # A specification of the type and number of accelerator cards attached to the
2673 # instance.
2674 &quot;acceleratorCount&quot;: 42, # The number of the guest accelerator cards exposed to this instance.
2675 &quot;acceleratorType&quot;: &quot;A String&quot;, # Full or partial URL of the accelerator type resource to attach to this
2676 # instance. For example:projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100
2677 # If you are creating an instance template, specify only the
2678 # accelerator name.
2679 # See GPUs on Compute Engine
2680 # for a full list of accelerator types.
2681 },
2682 ],
2683 &quot;localSsds&quot;: [ # Specifies amount of local ssd to reserve with each instance. The type
2684 # of disk is local-ssd.
2685 {
2686 &quot;diskSizeGb&quot;: &quot;A String&quot;, # Specifies the size of the disk in base-2 GB.
2687 &quot;interface&quot;: &quot;A String&quot;, # Specifies the disk interface to use for attaching this disk, which is
2688 # either SCSI or NVME. The default isSCSI.
2689 # For performance characteristics of SCSI over NVMe, seeLocal SSD performance.
2690 },
2691 ],
2692 &quot;locationHint&quot;: &quot;A String&quot;, # An opaque location hint used to place the allocation close to other
2693 # resources.
2694 # This field is for use by internal tools that use the public API.
2695 &quot;machineType&quot;: &quot;A String&quot;, # Specifies type of machine (name only) which has fixed number of vCPUs
2696 # and fixed amount of memory. This also includes specifying custom
2697 # machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
2698 &quot;maintenanceFreezeDurationHours&quot;: 42, # Specifies the number of hours after reservation creation where
2699 # instances using the reservation won&#x27;t be scheduled for maintenance.
2700 &quot;maintenanceInterval&quot;: &quot;A String&quot;, # Specifies the frequency of planned maintenance events. The accepted
2701 # values are: `PERIODIC`.
2702 &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum cpu platform the reservation.
2703 },
2704 &quot;sourceInstanceTemplate&quot;: &quot;A String&quot;, # Specifies the instance template to create the reservation. If you use
2705 # this field, you must exclude the instanceProperties field.
2706 #
2707 # This field is optional, and it can be a full or partial URL. For example,
2708 # the following are all valid URLs to an instance template:
2709 #
2710 #
2711 # - https://www.googleapis.com/compute/v1/projects/project/global/instanceTemplates/instanceTemplate
2712 # - projects/project/global/instanceTemplates/instanceTemplate
2713 # - global/instanceTemplates/instanceTemplate
2714 },
2715 &quot;specificReservationRequired&quot;: True or False, # Indicates whether the reservation can be consumed by VMs with affinity
2716 # for &quot;any&quot; reservation. If the field is set, then only VMs that target
2717 # the reservation by name can consume from this reservation.
2718 &quot;status&quot;: &quot;A String&quot;, # Output only. [Output Only] The status of the reservation.
2719 #
2720 #
2721 # - CREATING: Reservation resources are being
2722 # allocated.
2723 # - READY: Reservation resources have been allocated,
2724 # and the reservation is ready for use.
2725 # - DELETING: Reservation deletion is in progress.
2726 # - UPDATING: Reservation update is in progress.
2727 &quot;zone&quot;: &quot;A String&quot;, # Zone in which the reservation resides. A zone must be provided if the
2728 # reservation is created within a commitment.
2729 },
2730 ],
2731 &quot;resourceStatus&quot;: { # [Output Only] Contains output only fields. # Output only. [Output Only] Status information for Commitment resource.
2732 &quot;customTermEligibilityEndTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Indicates the end time of customer&#x27;s eligibility to send
2733 # custom term requests in RFC3339 text format. Term extension requests that
2734 # (not the end time in the request) after this time will be rejected.
2735 },
2736 &quot;resources&quot;: [ # The list of all the hardware resources, with their types and amounts, that
2737 # you want to commit to. Specify as a separate entry in the list for each
2738 # individual resource type.
2739 { # Commitment for a particular hardware resource (a commitment is composed of
2740 # one or more of these).
2741 &quot;acceleratorType&quot;: &quot;A String&quot;, # Name of the accelerator type or GPU resource. Specify this field only when
2742 # the type of hardware resource is ACCELERATOR.
2743 &quot;amount&quot;: &quot;A String&quot;, # The quantity of the hardware resource that you want to commit to purchasing
2744 # (in a type-dependent unit).
2745 #
2746 # - For vCPUs, you must specify an integer value.
2747 # - For memory, you specify the amount of MB that you want. The value you
2748 # specify must be a multiple of 256 MB, with up to 6.5 GB of
2749 # memory per every vCPU.
2750 # - For GPUs, you must specify an integer value.
2751 # - For Local SSD disks, you must specify the amount in GB. The size of a
2752 # single Local SSD disk is 375 GB.
2753 &quot;type&quot;: &quot;A String&quot;, # The type of hardware resource that you want to specify.
2754 # You can specify any of the following values:
2755 #
2756 # - VCPU
2757 # - MEMORY
2758 # - LOCAL_SSD
2759 # - ACCELERATOR
2760 #
2761 #
2762 #
2763 # Specify as a separate entry in the list for each
2764 # individual resource type.
2765 },
2766 ],
2767 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined URL for the resource.
2768 &quot;splitSourceCommitment&quot;: &quot;A String&quot;, # The source commitment from which you are transferring resources to create
2769 # the new split commitment. For more information, see
2770 # Split commitments.
2771 &quot;startTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Commitment start time inRFC3339
2772 # text format.
2773 &quot;status&quot;: &quot;A String&quot;, # Output only. [Output Only] Status of the commitment with regards to eventual expiration
2774 # (each commitment has an end date defined). Status can be one of the
2775 # following values: NOT_YET_ACTIVE, ACTIVE, orEXPIRED.
2776 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. [Output Only] An optional, human-readable explanation of the status.
2777 &quot;type&quot;: &quot;A String&quot;, # The type of commitment; specifies the
2778 # machine series for which you want to commit to purchasing resources.
2779 # The choice of machine series affects the discount rate and the eligible
2780 # resource types.
2781 #
2782 # The type must be one of the following:ACCELERATOR_OPTIMIZED, ACCELERATOR_OPTIMIZED_A3,ACCELERATOR_OPTIMIZED_A3_MEGA,COMPUTE_OPTIMIZED, COMPUTE_OPTIMIZED_C2D,
2783 # COMPUTE_OPTIMIZED_C3, COMPUTE_OPTIMIZED_C3D,COMPUTE_OPTIMIZED_H3, GENERAL_PURPOSE,GENERAL_PURPOSE_C4, GENERAL_PURPOSE_E2,GENERAL_PURPOSE_N2, GENERAL_PURPOSE_N2D,GENERAL_PURPOSE_N4, GENERAL_PURPOSE_T2D,GRAPHICS_OPTIMIZED, GRAPHICS_OPTIMIZED_G4,GRAPHICS_OPTIMIZED_G4_VGPU,MEMORY_OPTIMIZED, MEMORY_OPTIMIZED_M3,MEMORY_OPTIMIZED_X4, STORAGE_OPTIMIZED_Z3. For
2784 # example, type MEMORY_OPTIMIZED specifies a commitment that
2785 # applies only to eligible resources of memory optimized M1 and M2 machine
2786 # series. Type GENERAL_PURPOSE specifies a commitment that
2787 # applies only to eligible resources of general purpose N1 machine series.
2788 }
2789
2790 paths: string, A parameter (repeated)
2791 requestId: string, An optional request ID to identify requests. Specify a unique request ID so
2792 that if you must retry your request, the server will know to ignore the
2793 request if it has already been completed.
2794
2795 For example, consider a situation where you make an initial request and
2796 the request times out. If you make the request again with the same
2797 request ID, the server can check if original operation with the same
2798 request ID was received, and if so, will ignore the second request. This
2799 prevents clients from accidentally creating duplicate commitments.
2800
2801 The request ID must be
2802 a valid UUID with the exception that zero UUID is not supported
2803 (00000000-0000-0000-0000-000000000000).
2804 updateMask: string, update_mask indicates fields to be updated as part of this request.
2805 x__xgafv: string, V1 error format.
2806 Allowed values
2807 1 - v1 error format
2808 2 - v2 error format
2809
2810 Returns:
2811 An object of the form:
2812
2813 { # Represents an Operation resource.
2814 #
2815 # Google Compute Engine has three Operation resources:
2816 #
2817 # * [Global](/compute/docs/reference/rest/beta/globalOperations)
2818 # * [Regional](/compute/docs/reference/rest/beta/regionOperations)
2819 # * [Zonal](/compute/docs/reference/rest/beta/zoneOperations)
2820 #
2821 # You can use an operation resource to manage asynchronous API requests.
2822 # For more information, readHandling
2823 # API responses.
2824 #
2825 # Operations can be global, regional or zonal.
2826 #
2827 # - For global operations, use the `globalOperations`
2828 # resource.
2829 # - For regional operations, use the
2830 # `regionOperations` resource.
2831 # - For zonal operations, use
2832 # the `zoneOperations` resource.
2833 #
2834 #
2835 #
2836 # For more information, read
2837 # Global, Regional, and Zonal Resources.
2838 #
2839 # Note that completed Operation resources have a limited
2840 # retention period.
2841 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request.
2842 # Not present otherwise.
2843 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
2844 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is
2845 # set when the operation is created.
2846 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is inRFC3339
2847 # text format.
2848 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation,
2849 # this field will be populated.
2850 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this
2851 # operation.
2852 {
2853 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
2854 &quot;errorDetails&quot;: [ # [Output Only] An optional list of messages that contain the error
2855 # details. There is a set of defined message types to use for providing
2856 # details.The syntax depends on the error code. For example,
2857 # QuotaExceededInfo will have details when the error code is
2858 # QUOTA_EXCEEDED.
2859 {
2860 &quot;errorInfo&quot;: { # Describes the cause of the error with structured details.
2861 #
2862 # Example of an error when contacting the &quot;pubsub.googleapis.com&quot; API when it
2863 # is not enabled:
2864 #
2865 # { &quot;reason&quot;: &quot;API_DISABLED&quot;
2866 # &quot;domain&quot;: &quot;googleapis.com&quot;
2867 # &quot;metadata&quot;: {
2868 # &quot;resource&quot;: &quot;projects/123&quot;,
2869 # &quot;service&quot;: &quot;pubsub.googleapis.com&quot;
2870 # }
2871 # }
2872 #
2873 # This response indicates that the pubsub.googleapis.com API is not enabled.
2874 #
2875 # Example of an error that is returned when attempting to create a Spanner
2876 # instance in a region that is out of stock:
2877 #
2878 # { &quot;reason&quot;: &quot;STOCKOUT&quot;
2879 # &quot;domain&quot;: &quot;spanner.googleapis.com&quot;,
2880 # &quot;metadata&quot;: {
2881 # &quot;availableRegions&quot;: &quot;us-central1,us-east2&quot;
2882 # }
2883 # }
2884 &quot;domain&quot;: &quot;A String&quot;, # The logical grouping to which the &quot;reason&quot; belongs. The error domain
2885 # is typically the registered service name of the tool or product that
2886 # generates the error. Example: &quot;pubsub.googleapis.com&quot;. If the error is
2887 # generated by some common infrastructure, the error domain must be a
2888 # globally unique value that identifies the infrastructure. For Google API
2889 # infrastructure, the error domain is &quot;googleapis.com&quot;.
2890 &quot;metadatas&quot;: { # Additional structured details about this error.
2891 #
2892 # Keys must match a regular expression of `a-z+` but should
2893 # ideally be lowerCamelCase. Also, they must be limited to 64 characters in
2894 # length. When identifying the current value of an exceeded limit, the units
2895 # should be contained in the key, not the value. For example, rather than
2896 # `{&quot;instanceLimit&quot;: &quot;100/request&quot;}`, should be returned as,
2897 # `{&quot;instanceLimitPerRequest&quot;: &quot;100&quot;}`, if the client exceeds the number of
2898 # instances that can be created in a single (batch) request.
2899 &quot;a_key&quot;: &quot;A String&quot;,
2900 },
2901 &quot;reason&quot;: &quot;A String&quot;, # The reason of the error. This is a constant value that identifies the
2902 # proximate cause of the error. Error reasons are unique within a particular
2903 # domain of errors. This should be at most 63 characters and match a
2904 # regular expression of `A-Z+[A-Z0-9]`, which represents
2905 # UPPER_SNAKE_CASE.
2906 },
2907 &quot;help&quot;: { # Provides links to documentation or for performing an out of band action.
2908 #
2909 # For example, if a quota check failed with an error indicating the calling
2910 # project hasn&#x27;t enabled the accessed service, this can contain a URL pointing
2911 # directly to the right place in the developer console to flip the bit.
2912 &quot;links&quot;: [ # URL(s) pointing to additional information on handling the current error.
2913 { # Describes a URL link.
2914 &quot;description&quot;: &quot;A String&quot;, # Describes what the link offers.
2915 &quot;url&quot;: &quot;A String&quot;, # The URL of the link.
2916 },
2917 ],
2918 },
2919 &quot;localizedMessage&quot;: { # Provides a localized error message that is safe to return to the user
2920 # which can be attached to an RPC error.
2921 &quot;locale&quot;: &quot;A String&quot;, # The locale used following the specification defined at
2922 # https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
2923 # Examples are: &quot;en-US&quot;, &quot;fr-CH&quot;, &quot;es-MX&quot;
2924 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
2925 },
2926 &quot;quotaInfo&quot;: { # Additional details for quota exceeded error for resource quota.
2927 &quot;dimensions&quot;: { # The map holding related quota dimensions.
2928 &quot;a_key&quot;: &quot;A String&quot;,
2929 },
2930 &quot;futureLimit&quot;: 3.14, # Future quota limit being rolled out. The limit&#x27;s unit depends on the quota
2931 # type or metric.
2932 &quot;limit&quot;: 3.14, # Current effective quota limit. The limit&#x27;s unit depends on the quota type
2933 # or metric.
2934 &quot;limitName&quot;: &quot;A String&quot;, # The name of the quota limit.
2935 &quot;metricName&quot;: &quot;A String&quot;, # The Compute Engine quota metric name.
2936 &quot;rolloutStatus&quot;: &quot;A String&quot;, # Rollout status of the future quota limit.
2937 },
2938 },
2939 ],
2940 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error.
2941 # This property is optional.
2942 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
2943 },
2944 ],
2945 },
2946 &quot;getVersionOperationMetadata&quot;: {
2947 &quot;inlineSbomInfo&quot;: {
2948 &quot;currentComponentVersions&quot;: { # A mapping of components to their currently-applied versions or other
2949 # appropriate identifiers.
2950 &quot;a_key&quot;: &quot;A String&quot;,
2951 },
2952 &quot;targetComponentVersions&quot;: { # A mapping of components to their target versions or other appropriate
2953 # identifiers.
2954 &quot;a_key&quot;: &quot;A String&quot;,
2955 },
2956 },
2957 },
2958 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error
2959 # message that was returned, such as `NOT FOUND`.
2960 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error
2961 # status code that was returned. For example, a `404` means the
2962 # resource was not found.
2963 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is
2964 # defined by the server.
2965 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested.
2966 # This value is inRFC3339
2967 # text format.
2968 &quot;instancesBulkInsertOperationMetadata&quot;: {
2969 &quot;perLocationStatus&quot;: { # Status information per location (location name is key).
2970 # Example key: zones/us-central1-a
2971 &quot;a_key&quot;: {
2972 &quot;createdVmCount&quot;: 42, # [Output Only] Count of VMs successfully created so far.
2973 &quot;deletedVmCount&quot;: 42, # [Output Only] Count of VMs that got deleted during rollback.
2974 &quot;failedToCreateVmCount&quot;: 42, # [Output Only] Count of VMs that started creating but encountered an
2975 # error.
2976 &quot;status&quot;: &quot;A String&quot;, # [Output Only] Creation status of BulkInsert operation - information
2977 # if the flow is rolling forward or rolling back.
2978 &quot;targetVmCount&quot;: 42, # [Output Only] Count of VMs originally planned to be created.
2979 },
2980 },
2981 },
2982 &quot;kind&quot;: &quot;compute#operation&quot;, # Output only. [Output Only] Type of the resource. Always `compute#operation` for
2983 # Operation resources.
2984 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
2985 &quot;operationGroupId&quot;: &quot;A String&quot;, # Output only. [Output Only] An ID that represents a group of operations, such as when a
2986 # group of operations results from a `bulkInsert` API request.
2987 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`,
2988 # `update`, or `delete`, and so on.
2989 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100.
2990 # There is no requirement that this be linear or support any granularity of
2991 # operations. This should not be used to guess when the operation will be
2992 # complete. This number should monotonically increase as the operation
2993 # progresses.
2994 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only
2995 # applicable when performing regional operations.
2996 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
2997 &quot;setCommonInstanceMetadataOperationMetadata&quot;: { # Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata,
2998 # this field will contain information on all underlying zonal actions and
2999 # their state.
3000 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The client operation id.
3001 &quot;perLocationOperations&quot;: { # [Output Only] Status information per location (location name is key).
3002 # Example key: zones/us-central1-a
3003 &quot;a_key&quot;: {
3004 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # [Output Only] If state is `ABANDONED` or `FAILED`, this field is
3005 # populated.
3006 # different programming environments, including REST APIs and RPC APIs. It is
3007 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
3008 # three pieces of data: error code, error message, and error details.
3009 #
3010 # You can find out more about this error model and how to work with it in the
3011 # [API Design Guide](https://cloud.google.com/apis/design/errors).
3012 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
3013 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
3014 # message types for APIs to use.
3015 {
3016 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3017 },
3018 ],
3019 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
3020 # user-facing error message should be localized and sent in the
3021 # google.rpc.Status.details field, or localized by the client.
3022 },
3023 &quot;state&quot;: &quot;A String&quot;, # [Output Only] Status of the action, which can be one of the following:
3024 # `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
3025 },
3026 },
3027 },
3028 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server.
3029 # This value is inRFC3339
3030 # text format.
3031 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the
3032 # following:
3033 # `PENDING`, `RUNNING`, or `DONE`.
3034 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the
3035 # operation.
3036 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation
3037 # of the target resource.
3038 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For
3039 # operations related to creating a snapshot, this points to the disk
3040 # that the snapshot was created from.
3041 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example:
3042 # `[email protected]` or
3043 # `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
3044 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the
3045 # operation, this field will be populated.
3046 {
3047 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
3048 # Engine returns NO_RESULTS_ON_PAGE if there
3049 # are no results in the response.
3050 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
3051 # value format. For example:
3052 #
3053 # &quot;data&quot;: [
3054 # {
3055 # &quot;key&quot;: &quot;scope&quot;,
3056 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
3057 # }
3058 {
3059 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
3060 # returned. For example, for warnings where there are no results in a list
3061 # request for a particular zone, this key might be scope and
3062 # the key value might be the zone name. Other examples might be a key
3063 # indicating a deprecated resource and a suggested replacement, or a
3064 # warning about invalid network settings (for example, if an instance
3065 # attempts to perform IP forwarding but is not enabled for IP forwarding).
3066 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
3067 },
3068 ],
3069 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
3070 },
3071 ],
3072 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only
3073 # applicable when performing per-zone operations.
3074 }</pre>
3075 </div>
3076
3077 <div class="method">
3078 <code class="details" id="updateReservations">updateReservations(project, region, commitment, body=None, requestId=None, x__xgafv=None)</code>
3079 <pre>Transfers GPUs or Local SSD disks between reservations that are attached
3080 to the same commitment.
3081
3082 Args:
3083 project: string, Project ID for this request. (required)
3084 region: string, Name of the region for this request. (required)
3085 commitment: string, Name of the commitment for which the reservations are being updated. (required)
3086 body: object, The request body.
3087 The object takes the form of:
3088
3089 {
3090 &quot;reservations&quot;: [ # A list of two reservations to transfer GPUs and Local SSD disks between.
3091 { # Represents a reservation resource. A reservation ensures that capacity is
3092 # held in a specific zone even if the reserved VMs are not running. For more
3093 # information, read Reserving zonal
3094 # resources.
3095 &quot;advancedDeploymentControl&quot;: { # Advance control for cluster management, applicable only to DENSE deployment # Advanced control for cluster management, applicable only to DENSE
3096 # deployment type reservations.
3097 # type reservations.
3098 &quot;reservationOperationalMode&quot;: &quot;A String&quot;, # Indicates chosen reservation operational mode for the reservation.
3099 },
3100 &quot;aggregateReservation&quot;: { # This reservation type is specified by total resource amounts (e.g. total # Reservation for aggregated resources, providing shape flexibility.
3101 # count of CPUs) and can account for multiple instance SKUs. In other words,
3102 # one can create instances of varying shapes against this reservation.
3103 &quot;hostCount&quot;: 42, # Count of reserved hosts of specified VM family. The host has fixed number
3104 # of accelerators based on the accelerator/vm-family selected.
3105 &quot;inUseHostCount&quot;: 42, # Output only. Number of hosts currently in use. If there is one or more Instances
3106 # running on the host, it is considered in use.
3107 &quot;inUseInstanceCount&quot;: 42, # Output only. Number of instances currently in use in this reservation.
3108 &quot;inUseResources&quot;: [ # Output only. [Output only] List of resources currently in use.
3109 {
3110 &quot;accelerator&quot;: { # Properties of accelerator resources in this reservation.
3111 &quot;acceleratorCount&quot;: 42, # Number of accelerators of specified type.
3112 &quot;acceleratorType&quot;: &quot;A String&quot;, # Full or partial URL to accelerator type. e.g.
3113 # &quot;projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l&quot;
3114 },
3115 },
3116 ],
3117 &quot;reservedResources&quot;: [ # List of reserved resources (CPUs, memory, accelerators).
3118 {
3119 &quot;accelerator&quot;: { # Properties of accelerator resources in this reservation.
3120 &quot;acceleratorCount&quot;: 42, # Number of accelerators of specified type.
3121 &quot;acceleratorType&quot;: &quot;A String&quot;, # Full or partial URL to accelerator type. e.g.
3122 # &quot;projects/{PROJECT}/zones/{ZONE}/acceleratorTypes/ct4l&quot;
3123 },
3124 },
3125 ],
3126 &quot;vmFamily&quot;: &quot;A String&quot;, # The VM family that all instances scheduled against this reservation must
3127 # belong to.
3128 &quot;workloadType&quot;: &quot;A String&quot;, # The workload type of the instances that will target this reservation.
3129 },
3130 &quot;commitment&quot;: &quot;A String&quot;, # Output only. [Output Only] Full or partial URL to a parent commitment. This field
3131 # displays for reservations that are tied to a commitment.
3132 &quot;confidentialComputeType&quot;: &quot;A String&quot;,
3133 &quot;creationTimestamp&quot;: &quot;A String&quot;, # Output only. [Output Only] Creation timestamp inRFC3339
3134 # text format.
3135 &quot;deleteAfterDuration&quot;: { # A Duration represents a fixed-length span of time represented # Duration time relative to reservation creation when Compute Engine will
3136 # automatically delete this resource.
3137 # as a count of seconds and fractions of seconds at nanosecond
3138 # resolution. It is independent of any calendar and concepts like &quot;day&quot;
3139 # or &quot;month&quot;. Range is approximately 10,000 years.
3140 &quot;nanos&quot;: 42, # Span of time that&#x27;s a fraction of a second at nanosecond resolution.
3141 # Durations less than one second are represented with a 0
3142 # `seconds` field and a positive `nanos` field. Must be from 0
3143 # to 999,999,999 inclusive.
3144 &quot;seconds&quot;: &quot;A String&quot;, # Span of time at a resolution of a second. Must be from 0
3145 # to 315,576,000,000 inclusive. Note: these bounds are computed from:
3146 # 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
3147 },
3148 &quot;deleteAtTime&quot;: &quot;A String&quot;, # Absolute time in future when the reservation will be
3149 # auto-deleted by Compute Engine. Timestamp is represented inRFC3339 text format.
3150 &quot;deploymentType&quot;: &quot;A String&quot;, # Specifies the deployment strategy for this reservation.
3151 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you
3152 # create the resource.
3153 &quot;earlyAccessMaintenance&quot;: &quot;A String&quot;, # Indicates the early access maintenance for the reservation.
3154 # If this field is absent or set to NO_EARLY_ACCESS, the reservation is not
3155 # enrolled in early access maintenance and the standard notice applies.
3156 &quot;enableEmergentMaintenance&quot;: True or False, # Indicates whether Compute Engine allows unplanned maintenance for your VMs;
3157 # for example, to fix hardware errors.
3158 &quot;id&quot;: &quot;A String&quot;, # Output only. [Output Only] The unique identifier for the resource. This identifier is
3159 # defined by the server.
3160 &quot;kind&quot;: &quot;compute#reservation&quot;, # Output only. [Output Only] Type of the resource. Alwayscompute#reservations for reservations.
3161 &quot;linkedCommitments&quot;: [ # Output only. [Output Only] Full or partial URL to parent commitments. This field
3162 # displays for reservations that are tied to multiple commitments.
3163 &quot;A String&quot;,
3164 ],
3165 &quot;name&quot;: &quot;A String&quot;, # The name of the resource, provided by the client when initially creating
3166 # the resource. The resource name must be 1-63 characters long, and comply
3167 # withRFC1035.
3168 # Specifically, the name must be 1-63 characters long and match the regular
3169 # expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
3170 # character must be a lowercase letter, and all following characters must be
3171 # a dash, lowercase letter, or digit, except the last character, which cannot
3172 # be a dash.
3173 &quot;params&quot;: { # Additional reservation params. # Input only. Additional params passed with the request, but not persisted
3174 # as part of resource payload.
3175 &quot;resourceManagerTags&quot;: { # Input only. Resource manager tags to be bound to the reservation. Tag keys and
3176 # values have the same definition as resource
3177 # manager tags. Keys and values can be either in numeric format,
3178 # such as `tagKeys/{tag_key_id}` and `tagValues/{tag_value_id}` or in
3179 # namespaced format such as `{org_id|project_id}/{tag_key_short_name}` and
3180 # `{tag_value_short_name}`. The field is ignored (both PUT &amp;
3181 # PATCH) when empty.
3182 &quot;a_key&quot;: &quot;A String&quot;,
3183 },
3184 },
3185 &quot;protectionTier&quot;: &quot;A String&quot;, # Protection tier for the workload which specifies the workload expectations
3186 # in the event of infrastructure failures at data center (e.g. power
3187 # and/or cooling failures).
3188 &quot;reservationMode&quot;: &quot;A String&quot;, # Output only. [Output only] Indicates the reservation mode of the reservation.
3189 &quot;reservationSharingPolicy&quot;: { # Specify the reservation sharing policy. If unspecified, the reservation
3190 # will not be shared with Google Cloud managed services.
3191 &quot;serviceShareType&quot;: &quot;A String&quot;, # Sharing config for all Google Cloud services.
3192 },
3193 &quot;resourcePolicies&quot;: { # Resource policies to be added to this reservation. The key is defined by
3194 # user, and the value is resource policy url. This is to define placement
3195 # policy with reservation.
3196 &quot;a_key&quot;: &quot;A String&quot;,
3197 },
3198 &quot;resourceStatus&quot;: { # [Output Only] Contains output only fields. # Output only. [Output Only] Status information for Reservation resource.
3199 &quot;healthInfo&quot;: { # Health information for the reservation. # [Output only] Health information for the reservation.
3200 &quot;degradedBlockCount&quot;: 42, # The number of reservation blocks that are degraded.
3201 &quot;healthStatus&quot;: &quot;A String&quot;, # The health status of the reservation.
3202 &quot;healthyBlockCount&quot;: 42, # The number of reservation blocks that are healthy.
3203 },
3204 &quot;reservationBlockCount&quot;: 42, # The number of reservation blocks associated with this reservation.
3205 &quot;reservationMaintenance&quot;: { # Maintenance Info for ReservationBlocks. # Maintenance information for this reservation
3206 &quot;instanceMaintenanceOngoingCount&quot;: 42, # Describes number of instances that have ongoing maintenance.
3207 &quot;instanceMaintenancePendingCount&quot;: 42, # Describes number of instances that have pending maintenance.
3208 &quot;maintenanceOngoingCount&quot;: 42, # Progress for ongoing maintenance for this group of VMs/hosts.
3209 # Describes number of hosts in the block that have ongoing maintenance.
3210 &quot;maintenancePendingCount&quot;: 42, # Progress for ongoing maintenance for this group of VMs/hosts.
3211 # Describes number of hosts in the block that have pending maintenance.
3212 &quot;schedulingType&quot;: &quot;A String&quot;, # The type of maintenance for the reservation.
3213 &quot;subblockInfraMaintenanceOngoingCount&quot;: 42, # Describes number of subblock Infrastructure that has ongoing maintenance.
3214 # Here, Subblock Infrastructure Maintenance pertains to upstream hardware
3215 # contained in the Subblock that is necessary for a VM Family(e.g. NVLink
3216 # Domains). Not all VM Families will support this field.
3217 &quot;subblockInfraMaintenancePendingCount&quot;: 42, # Describes number of subblock Infrastructure that has pending maintenance.
3218 # Here, Subblock Infrastructure Maintenance pertains to upstream hardware
3219 # contained in the Subblock that is necessary for a VM Family (e.g. NVLink
3220 # Domains). Not all VM Families will support this field.
3221 &quot;upcomingGroupMaintenance&quot;: { # Upcoming Maintenance notification information. # Maintenance information on this group of VMs.
3222 &quot;canReschedule&quot;: True or False, # Indicates if the maintenance can be customer triggered.
3223 &quot;latestWindowStartTime&quot;: &quot;A String&quot;, # The latest time for the planned maintenance window to start.
3224 # This timestamp value is in RFC3339 text format.
3225 &quot;maintenanceOnShutdown&quot;: True or False, # Indicates whether the UpcomingMaintenance will be triggered on VM shutdown.
3226 &quot;maintenanceReasons&quot;: [ # The reasons for the maintenance. Only valid for vms.
3227 &quot;A String&quot;,
3228 ],
3229 &quot;maintenanceStatus&quot;: &quot;A String&quot;,
3230 &quot;type&quot;: &quot;A String&quot;, # Defines the type of maintenance.
3231 &quot;windowEndTime&quot;: &quot;A String&quot;, # The time by which the maintenance disruption will be completed.
3232 # This timestamp value is in RFC3339 text format.
3233 &quot;windowStartTime&quot;: &quot;A String&quot;, # The current start time of the maintenance window.
3234 # This timestamp value is in RFC3339 text format.
3235 },
3236 },
3237 &quot;specificSkuAllocation&quot;: { # Contains Properties set for the reservation. # Allocation Properties of this reservation.
3238 &quot;sourceInstanceTemplateId&quot;: &quot;A String&quot;, # ID of the instance template used to populate reservation properties.
3239 &quot;utilizations&quot;: { # Per service utilization breakdown. The Key is the Google Cloud managed
3240 # service name.
3241 &quot;a_key&quot;: &quot;A String&quot;,
3242 },
3243 },
3244 },
3245 &quot;satisfiesPzs&quot;: True or False, # Output only. [Output Only] Reserved for future use.
3246 &quot;schedulingType&quot;: &quot;A String&quot;, # The type of maintenance for the reservation.
3247 &quot;selfLink&quot;: &quot;A String&quot;, # Output only. [Output Only] Server-defined fully-qualified URL for this resource.
3248 &quot;shareSettings&quot;: { # The share setting for reservations and sole tenancy node groups. # Specify share-settings to create a shared reservation. This property is
3249 # optional. For more information about the syntax and options for this
3250 # field and its subfields, see the guide for creating
3251 # a shared reservation.
3252 &quot;folderMap&quot;: { # A map of folder id and folder config to specify consumer projects for this
3253 # shared-reservation. This is only valid when share_type&#x27;s value is
3254 # DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS.
3255 # Folder id should be a string of number, and without &quot;folders/&quot; prefix.
3256 &quot;a_key&quot;: { # Config for each folder in the share settings.
3257 &quot;folderId&quot;: &quot;A String&quot;, # The folder ID, should be same as the key of this folder config in the
3258 # parent map.
3259 # Folder id should be a string of number, and without &quot;folders/&quot; prefix.
3260 },
3261 },
3262 &quot;projectMap&quot;: { # A map of project id and project config. This is only valid when
3263 # share_type&#x27;s value is SPECIFIC_PROJECTS.
3264 &quot;a_key&quot;: { # Config for each project in the share settings.
3265 &quot;projectId&quot;: &quot;A String&quot;, # The project ID, should be same as the key of this project config in the
3266 # parent map.
3267 },
3268 },
3269 &quot;projects&quot;: [ # A List of Project names to specify consumer projects for this
3270 # shared-reservation. This is only valid when share_type&#x27;s value is
3271 # SPECIFIC_PROJECTS.
3272 &quot;A String&quot;,
3273 ],
3274 &quot;shareType&quot;: &quot;A String&quot;, # Type of sharing for this shared-reservation
3275 },
3276 &quot;specificReservation&quot;: { # This reservation type allows to pre allocate specific instance # Reservation for instances with specific machine shapes.
3277 # configuration.
3278 &quot;assuredCount&quot;: &quot;A String&quot;, # Output only. [Output Only] Indicates how many instances are actually usable currently.
3279 &quot;count&quot;: &quot;A String&quot;, # Specifies the number of resources that are allocated.
3280 &quot;inUseCount&quot;: &quot;A String&quot;, # Output only. [Output Only] Indicates how many instances are in use.
3281 &quot;instanceProperties&quot;: { # Properties of the SKU instances being reserved. # The instance properties for the reservation.
3282 # Next ID: 10
3283 &quot;guestAccelerators&quot;: [ # Specifies accelerator type and count.
3284 { # A specification of the type and number of accelerator cards attached to the
3285 # instance.
3286 &quot;acceleratorCount&quot;: 42, # The number of the guest accelerator cards exposed to this instance.
3287 &quot;acceleratorType&quot;: &quot;A String&quot;, # Full or partial URL of the accelerator type resource to attach to this
3288 # instance. For example:projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100
3289 # If you are creating an instance template, specify only the
3290 # accelerator name.
3291 # See GPUs on Compute Engine
3292 # for a full list of accelerator types.
3293 },
3294 ],
3295 &quot;localSsds&quot;: [ # Specifies amount of local ssd to reserve with each instance. The type
3296 # of disk is local-ssd.
3297 {
3298 &quot;diskSizeGb&quot;: &quot;A String&quot;, # Specifies the size of the disk in base-2 GB.
3299 &quot;interface&quot;: &quot;A String&quot;, # Specifies the disk interface to use for attaching this disk, which is
3300 # either SCSI or NVME. The default isSCSI.
3301 # For performance characteristics of SCSI over NVMe, seeLocal SSD performance.
3302 },
3303 ],
3304 &quot;locationHint&quot;: &quot;A String&quot;, # An opaque location hint used to place the allocation close to other
3305 # resources.
3306 # This field is for use by internal tools that use the public API.
3307 &quot;machineType&quot;: &quot;A String&quot;, # Specifies type of machine (name only) which has fixed number of vCPUs
3308 # and fixed amount of memory. This also includes specifying custom
3309 # machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
3310 &quot;maintenanceFreezeDurationHours&quot;: 42, # Specifies the number of hours after reservation creation where
3311 # instances using the reservation won&#x27;t be scheduled for maintenance.
3312 &quot;maintenanceInterval&quot;: &quot;A String&quot;, # Specifies the frequency of planned maintenance events. The accepted
3313 # values are: `PERIODIC`.
3314 &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum cpu platform the reservation.
3315 },
3316 &quot;sourceInstanceTemplate&quot;: &quot;A String&quot;, # Specifies the instance template to create the reservation. If you use
3317 # this field, you must exclude the instanceProperties field.
3318 #
3319 # This field is optional, and it can be a full or partial URL. For example,
3320 # the following are all valid URLs to an instance template:
3321 #
3322 #
3323 # - https://www.googleapis.com/compute/v1/projects/project/global/instanceTemplates/instanceTemplate
3324 # - projects/project/global/instanceTemplates/instanceTemplate
3325 # - global/instanceTemplates/instanceTemplate
3326 },
3327 &quot;specificReservationRequired&quot;: True or False, # Indicates whether the reservation can be consumed by VMs with affinity
3328 # for &quot;any&quot; reservation. If the field is set, then only VMs that target
3329 # the reservation by name can consume from this reservation.
3330 &quot;status&quot;: &quot;A String&quot;, # Output only. [Output Only] The status of the reservation.
3331 #
3332 #
3333 # - CREATING: Reservation resources are being
3334 # allocated.
3335 # - READY: Reservation resources have been allocated,
3336 # and the reservation is ready for use.
3337 # - DELETING: Reservation deletion is in progress.
3338 # - UPDATING: Reservation update is in progress.
3339 &quot;zone&quot;: &quot;A String&quot;, # Zone in which the reservation resides. A zone must be provided if the
3340 # reservation is created within a commitment.
3341 },
3342 ],
3343 }
3344
3345 requestId: string, An optional request ID to identify requests. Specify a unique request ID so
3346 that if you must retry your request, the server will know to ignore the
3347 request if it has already been completed.
3348
3349 For example, consider a situation where you make an initial request and
3350 the request times out. If you make the request again with the same
3351 request ID, the server can check if original operation with the same
3352 request ID was received, and if so, will ignore the second request. This
3353 prevents clients from accidentally creating duplicate commitments.
3354
3355 The request ID must be
3356 a valid UUID with the exception that zero UUID is not supported
3357 (00000000-0000-0000-0000-000000000000).
3358 x__xgafv: string, V1 error format.
3359 Allowed values
3360 1 - v1 error format
3361 2 - v2 error format
3362
3363 Returns:
3364 An object of the form:
3365
3366 { # Represents an Operation resource.
3367 #
3368 # Google Compute Engine has three Operation resources:
3369 #
3370 # * [Global](/compute/docs/reference/rest/beta/globalOperations)
3371 # * [Regional](/compute/docs/reference/rest/beta/regionOperations)
3372 # * [Zonal](/compute/docs/reference/rest/beta/zoneOperations)
3373 #
3374 # You can use an operation resource to manage asynchronous API requests.
3375 # For more information, readHandling
3376 # API responses.
3377 #
3378 # Operations can be global, regional or zonal.
3379 #
3380 # - For global operations, use the `globalOperations`
3381 # resource.
3382 # - For regional operations, use the
3383 # `regionOperations` resource.
3384 # - For zonal operations, use
3385 # the `zoneOperations` resource.
3386 #
3387 #
3388 #
3389 # For more information, read
3390 # Global, Regional, and Zonal Resources.
3391 #
3392 # Note that completed Operation resources have a limited
3393 # retention period.
3394 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request.
3395 # Not present otherwise.
3396 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
3397 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is
3398 # set when the operation is created.
3399 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is inRFC3339
3400 # text format.
3401 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation,
3402 # this field will be populated.
3403 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this
3404 # operation.
3405 {
3406 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
3407 &quot;errorDetails&quot;: [ # [Output Only] An optional list of messages that contain the error
3408 # details. There is a set of defined message types to use for providing
3409 # details.The syntax depends on the error code. For example,
3410 # QuotaExceededInfo will have details when the error code is
3411 # QUOTA_EXCEEDED.
3412 {
3413 &quot;errorInfo&quot;: { # Describes the cause of the error with structured details.
3414 #
3415 # Example of an error when contacting the &quot;pubsub.googleapis.com&quot; API when it
3416 # is not enabled:
3417 #
3418 # { &quot;reason&quot;: &quot;API_DISABLED&quot;
3419 # &quot;domain&quot;: &quot;googleapis.com&quot;
3420 # &quot;metadata&quot;: {
3421 # &quot;resource&quot;: &quot;projects/123&quot;,
3422 # &quot;service&quot;: &quot;pubsub.googleapis.com&quot;
3423 # }
3424 # }
3425 #
3426 # This response indicates that the pubsub.googleapis.com API is not enabled.
3427 #
3428 # Example of an error that is returned when attempting to create a Spanner
3429 # instance in a region that is out of stock:
3430 #
3431 # { &quot;reason&quot;: &quot;STOCKOUT&quot;
3432 # &quot;domain&quot;: &quot;spanner.googleapis.com&quot;,
3433 # &quot;metadata&quot;: {
3434 # &quot;availableRegions&quot;: &quot;us-central1,us-east2&quot;
3435 # }
3436 # }
3437 &quot;domain&quot;: &quot;A String&quot;, # The logical grouping to which the &quot;reason&quot; belongs. The error domain
3438 # is typically the registered service name of the tool or product that
3439 # generates the error. Example: &quot;pubsub.googleapis.com&quot;. If the error is
3440 # generated by some common infrastructure, the error domain must be a
3441 # globally unique value that identifies the infrastructure. For Google API
3442 # infrastructure, the error domain is &quot;googleapis.com&quot;.
3443 &quot;metadatas&quot;: { # Additional structured details about this error.
3444 #
3445 # Keys must match a regular expression of `a-z+` but should
3446 # ideally be lowerCamelCase. Also, they must be limited to 64 characters in
3447 # length. When identifying the current value of an exceeded limit, the units
3448 # should be contained in the key, not the value. For example, rather than
3449 # `{&quot;instanceLimit&quot;: &quot;100/request&quot;}`, should be returned as,
3450 # `{&quot;instanceLimitPerRequest&quot;: &quot;100&quot;}`, if the client exceeds the number of
3451 # instances that can be created in a single (batch) request.
3452 &quot;a_key&quot;: &quot;A String&quot;,
3453 },
3454 &quot;reason&quot;: &quot;A String&quot;, # The reason of the error. This is a constant value that identifies the
3455 # proximate cause of the error. Error reasons are unique within a particular
3456 # domain of errors. This should be at most 63 characters and match a
3457 # regular expression of `A-Z+[A-Z0-9]`, which represents
3458 # UPPER_SNAKE_CASE.
3459 },
3460 &quot;help&quot;: { # Provides links to documentation or for performing an out of band action.
3461 #
3462 # For example, if a quota check failed with an error indicating the calling
3463 # project hasn&#x27;t enabled the accessed service, this can contain a URL pointing
3464 # directly to the right place in the developer console to flip the bit.
3465 &quot;links&quot;: [ # URL(s) pointing to additional information on handling the current error.
3466 { # Describes a URL link.
3467 &quot;description&quot;: &quot;A String&quot;, # Describes what the link offers.
3468 &quot;url&quot;: &quot;A String&quot;, # The URL of the link.
3469 },
3470 ],
3471 },
3472 &quot;localizedMessage&quot;: { # Provides a localized error message that is safe to return to the user
3473 # which can be attached to an RPC error.
3474 &quot;locale&quot;: &quot;A String&quot;, # The locale used following the specification defined at
3475 # https://www.rfc-editor.org/rfc/bcp/bcp47.txt.
3476 # Examples are: &quot;en-US&quot;, &quot;fr-CH&quot;, &quot;es-MX&quot;
3477 &quot;message&quot;: &quot;A String&quot;, # The localized error message in the above locale.
3478 },
3479 &quot;quotaInfo&quot;: { # Additional details for quota exceeded error for resource quota.
3480 &quot;dimensions&quot;: { # The map holding related quota dimensions.
3481 &quot;a_key&quot;: &quot;A String&quot;,
3482 },
3483 &quot;futureLimit&quot;: 3.14, # Future quota limit being rolled out. The limit&#x27;s unit depends on the quota
3484 # type or metric.
3485 &quot;limit&quot;: 3.14, # Current effective quota limit. The limit&#x27;s unit depends on the quota type
3486 # or metric.
3487 &quot;limitName&quot;: &quot;A String&quot;, # The name of the quota limit.
3488 &quot;metricName&quot;: &quot;A String&quot;, # The Compute Engine quota metric name.
3489 &quot;rolloutStatus&quot;: &quot;A String&quot;, # Rollout status of the future quota limit.
3490 },
3491 },
3492 ],
3493 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error.
3494 # This property is optional.
3495 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
3496 },
3497 ],
3498 },
3499 &quot;getVersionOperationMetadata&quot;: {
3500 &quot;inlineSbomInfo&quot;: {
3501 &quot;currentComponentVersions&quot;: { # A mapping of components to their currently-applied versions or other
3502 # appropriate identifiers.
3503 &quot;a_key&quot;: &quot;A String&quot;,
3504 },
3505 &quot;targetComponentVersions&quot;: { # A mapping of components to their target versions or other appropriate
3506 # identifiers.
3507 &quot;a_key&quot;: &quot;A String&quot;,
3508 },
3509 },
3510 },
3511 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error
3512 # message that was returned, such as `NOT FOUND`.
3513 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error
3514 # status code that was returned. For example, a `404` means the
3515 # resource was not found.
3516 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is
3517 # defined by the server.
3518 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested.
3519 # This value is inRFC3339
3520 # text format.
3521 &quot;instancesBulkInsertOperationMetadata&quot;: {
3522 &quot;perLocationStatus&quot;: { # Status information per location (location name is key).
3523 # Example key: zones/us-central1-a
3524 &quot;a_key&quot;: {
3525 &quot;createdVmCount&quot;: 42, # [Output Only] Count of VMs successfully created so far.
3526 &quot;deletedVmCount&quot;: 42, # [Output Only] Count of VMs that got deleted during rollback.
3527 &quot;failedToCreateVmCount&quot;: 42, # [Output Only] Count of VMs that started creating but encountered an
3528 # error.
3529 &quot;status&quot;: &quot;A String&quot;, # [Output Only] Creation status of BulkInsert operation - information
3530 # if the flow is rolling forward or rolling back.
3531 &quot;targetVmCount&quot;: 42, # [Output Only] Count of VMs originally planned to be created.
3532 },
3533 },
3534 },
3535 &quot;kind&quot;: &quot;compute#operation&quot;, # Output only. [Output Only] Type of the resource. Always `compute#operation` for
3536 # Operation resources.
3537 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
3538 &quot;operationGroupId&quot;: &quot;A String&quot;, # Output only. [Output Only] An ID that represents a group of operations, such as when a
3539 # group of operations results from a `bulkInsert` API request.
3540 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`,
3541 # `update`, or `delete`, and so on.
3542 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100.
3543 # There is no requirement that this be linear or support any granularity of
3544 # operations. This should not be used to guess when the operation will be
3545 # complete. This number should monotonically increase as the operation
3546 # progresses.
3547 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only
3548 # applicable when performing regional operations.
3549 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
3550 &quot;setCommonInstanceMetadataOperationMetadata&quot;: { # Output only. [Output Only] If the operation is for projects.setCommonInstanceMetadata,
3551 # this field will contain information on all underlying zonal actions and
3552 # their state.
3553 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The client operation id.
3554 &quot;perLocationOperations&quot;: { # [Output Only] Status information per location (location name is key).
3555 # Example key: zones/us-central1-a
3556 &quot;a_key&quot;: {
3557 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # [Output Only] If state is `ABANDONED` or `FAILED`, this field is
3558 # populated.
3559 # different programming environments, including REST APIs and RPC APIs. It is
3560 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
3561 # three pieces of data: error code, error message, and error details.
3562 #
3563 # You can find out more about this error model and how to work with it in the
3564 # [API Design Guide](https://cloud.google.com/apis/design/errors).
3565 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
3566 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
3567 # message types for APIs to use.
3568 {
3569 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3570 },
3571 ],
3572 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
3573 # user-facing error message should be localized and sent in the
3574 # google.rpc.Status.details field, or localized by the client.
3575 },
3576 &quot;state&quot;: &quot;A String&quot;, # [Output Only] Status of the action, which can be one of the following:
3577 # `PROPAGATING`, `PROPAGATED`, `ABANDONED`, `FAILED`, or `DONE`.
3578 },
3579 },
3580 },
3581 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server.
3582 # This value is inRFC3339
3583 # text format.
3584 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the
3585 # following:
3586 # `PENDING`, `RUNNING`, or `DONE`.
3587 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the
3588 # operation.
3589 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation
3590 # of the target resource.
3591 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For
3592 # operations related to creating a snapshot, this points to the disk
3593 # that the snapshot was created from.
3594 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example:
3595 # `[email protected]` or
3596 # `alice_smith_identifier (global/workforcePools/example-com-us-employees)`.
3597 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the
3598 # operation, this field will be populated.
3599 {
3600 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute
3601 # Engine returns NO_RESULTS_ON_PAGE if there
3602 # are no results in the response.
3603 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key:
3604 # value format. For example:
3605 #
3606 # &quot;data&quot;: [
3607 # {
3608 # &quot;key&quot;: &quot;scope&quot;,
3609 # &quot;value&quot;: &quot;zones/us-east1-d&quot;
3610 # }
3611 {
3612 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being
3613 # returned. For example, for warnings where there are no results in a list
3614 # request for a particular zone, this key might be scope and
3615 # the key value might be the zone name. Other examples might be a key
3616 # indicating a deprecated resource and a suggested replacement, or a
3617 # warning about invalid network settings (for example, if an instance
3618 # attempts to perform IP forwarding but is not enabled for IP forwarding).
3619 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
3620 },
3621 ],
3622 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
3623 },
3624 ],
3625 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only
3626 # applicable when performing per-zone operations.
3627 }</pre>
3628 </div>
3629
3630 </body></html>