blob: 1515e64e91cb5593c4bf523d5f9d07df1a744bd4 [file] [log] [blame]
yoshi-code-botc2cd3262021-05-16 02:16:04 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="compute_alpha.html">Compute Engine API</a> . <a href="compute_alpha.futureReservations.html">futureReservations</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)</a></code></p>
79<p class="firstline">Retrieves an aggregated list of future reservations.</p>
80<p class="toc_element">
81 <code><a href="#aggregatedList_next">aggregatedList_next(previous_request, previous_response)</a></code></p>
82<p class="firstline">Retrieves the next page of results.</p>
83<p class="toc_element">
84 <code><a href="#cancel">cancel(project, zone, futureReservation, requestId=None)</a></code></p>
85<p class="firstline">Cancel the specified future reservation.</p>
86<p class="toc_element">
87 <code><a href="#close">close()</a></code></p>
88<p class="firstline">Close httplib2 connections.</p>
89<p class="toc_element">
90 <code><a href="#delete">delete(project, zone, futureReservation, requestId=None)</a></code></p>
91<p class="firstline">Deletes the specified future reservation.</p>
92<p class="toc_element">
93 <code><a href="#get">get(project, zone, futureReservation)</a></code></p>
94<p class="firstline">Retrieves information about the specified future reservation.</p>
95<p class="toc_element">
96 <code><a href="#insert">insert(project, zone, body=None, requestId=None)</a></code></p>
97<p class="firstline">Creates a new Future Reservation.</p>
98<p class="toc_element">
99 <code><a href="#list">list(project, zone, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None)</a></code></p>
100<p class="firstline">A list of all the future reservations that have been configured for the specified project in specified zone.</p>
101<p class="toc_element">
102 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
103<p class="firstline">Retrieves the next page of results.</p>
104<p class="toc_element">
105 <code><a href="#update">update(project, zone, futureReservation, body=None, paths=None, requestId=None)</a></code></p>
106<p class="firstline">Updates the specified future reservation.</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)</code>
110 <pre>Retrieves an aggregated list of future reservations.
111
112Args:
113 project: string, Project ID for this request. (required)
114 filter: string, A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `&gt;`, or `&lt;`.
115
116For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
117
118You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
119
120To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = &quot;Intel Skylake&quot;) ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = &quot;Intel Skylake&quot;) OR (cpuPlatform = &quot;Intel Broadwell&quot;) AND (scheduling.automaticRestart = true) ```
121 includeAllScopes: boolean, Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included.
122 maxResults: integer, The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
123 orderBy: string, Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
124
125You can also sort results in descending order based on the creation timestamp using `orderBy=&quot;creationTimestamp desc&quot;`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.
126
127Currently, only sorting by `name` or `creationTimestamp desc` is supported.
128 pageToken: string, Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
129 returnPartialSuccess: boolean, Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
130
131Returns:
132 An object of the form:
133
134 { # Contains a list of future reservations.
135 &quot;etag&quot;: &quot;A String&quot;,
136 &quot;id&quot;: &quot;A String&quot;, # [Output Only] Unique identifier for the resource; defined by the server.
137 &quot;items&quot;: { # A list of Future reservation resources.
138 &quot;a_key&quot;: { # Name of the scope containing this set of future reservations.
139 &quot;resources&quot;: [ # A list of future reservations contained in this scope.
140 {
141 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] The creation timestamp for this future reservation in RFC3339 text format.
142 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you create the future reservation.
143 &quot;id&quot;: &quot;A String&quot;, # [Output Only] A unique identifier for this future reservation. The server defines this identifier.
144 &quot;kind&quot;: &quot;compute#futureReservation&quot;, # [Output Only] Type of the resource. Always compute#futureReservation for future reservations.
145 &quot;name&quot;: &quot;A String&quot;, # The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
146 &quot;namePrefix&quot;: &quot;A String&quot;, # Name prefix for the reservations to be created at the time of delivery. The name prefix must comply with RFC1035. Maximum allowed length for name prefix is 20. Automatically created reservations name format will be -date-####.
147 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined fully-qualified URL for this resource.
148 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource with the resource id.
149 &quot;shareSettings&quot;: { # The share setting for reservations and sole tenancy node groups. # List of Projects/Folders to share with.
150 &quot;projects&quot;: [ # A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type&#x27;s value is SPECIFIC_PROJECTS.
151 &quot;A String&quot;,
152 ],
153 &quot;shareType&quot;: &quot;A String&quot;, # Type of sharing for this shared-reservation
154 },
155 &quot;specificSkuProperties&quot;: { # Future Reservation configuration to indicate instance properties and total count.
156 &quot;instanceProperties&quot;: { # Properties of the SKU instances being reserved. Next ID: 9 # Properties of the SKU instances being reserved.
157 &quot;guestAccelerators&quot;: [ # Specifies accelerator type and count.
158 { # A specification of the type and number of accelerator cards attached to the instance.
159 &quot;acceleratorCount&quot;: 42, # The number of the guest accelerator cards exposed to this instance.
160 &quot;acceleratorType&quot;: &quot;A String&quot;, # Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.
161 },
162 ],
163 &quot;localSsds&quot;: [ # Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
164 {
165 &quot;diskSizeGb&quot;: &quot;A String&quot;, # Specifies the size of the disk in base-2 GB.
166 &quot;interface&quot;: &quot;A String&quot;, # Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.
167 },
168 ],
169 &quot;locationHint&quot;: &quot;A String&quot;, # An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.
170 &quot;machineType&quot;: &quot;A String&quot;, # Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
171 &quot;maintenanceFreezeDurationHours&quot;: 42, # Specifies the number of hours after reservation creation where instances using the reservation won&#x27;t be scheduled for maintenance.
172 &quot;maintenanceInterval&quot;: &quot;A String&quot;, # For more information about maintenance intervals, see Setting maintenance intervals.
173 &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum cpu platform the reservation.
174 },
175 &quot;totalCount&quot;: &quot;A String&quot;, # Total number of instances for which capacity assurance is requested at a future time period.
176 },
177 &quot;status&quot;: { # [Output only] Represents status related to the future reservation. # [Output only] Status of the Future Reservation
178 &quot;autoCreatedReservations&quot;: [ # Fully qualified urls of the automatically created reservations at start_time.
179 &quot;A String&quot;,
180 ],
181 &quot;fulfilledCount&quot;: &quot;A String&quot;, # This count indicates the fulfilled capacity so far. This is set during &quot;PROVISIONING&quot; state. This count also includes capacity delivered as part of existing matching reservations.
182 &quot;lockTime&quot;: &quot;A String&quot;, # Time when Future Reservation would become LOCKED, after which no modifications to Future Reservation will be allowed. Applicable only after the Future Reservation is in the APPROVED state. The lock_time is an RFC3339 string. The procurement_status will transition to PROCURING state at this time. TODO(b/183994731): Replace with Timestamp.
183 &quot;procurementStatus&quot;: &quot;A String&quot;, # Current state of this Future Reservation
184 },
185 &quot;timeWindow&quot;: { # Time window for this Future Reservation.
186 &quot;duration&quot;: { # A Duration represents a fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like &quot;day&quot; or &quot;month&quot;. Range is approximately 10,000 years.
187 &quot;nanos&quot;: 42, # Span of time that&#x27;s a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 `seconds` field and a positive `nanos` field. Must be from 0 to 999,999,999 inclusive.
188 &quot;seconds&quot;: &quot;A String&quot;, # Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
189 },
190 &quot;endTime&quot;: &quot;A String&quot;, # TODO(b/183994731): Replace with Timestamp.
191 &quot;startTime&quot;: &quot;A String&quot;, # Start time of the Future Reservation. The start_time is an RFC3339 string. TODO(b/183994731): Replace with Timestamp.
192 },
193 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] URL of the Zone where this future reservation resides.
194 },
195 ],
196 &quot;warning&quot;: { # Informational warning which replaces the list of future reservations when the list is empty.
197 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
198 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key: value format. For example:
199 # &quot;data&quot;: [ { &quot;key&quot;: &quot;scope&quot;, &quot;value&quot;: &quot;zones/us-east1-d&quot; }
200 {
201 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
202 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
203 },
204 ],
205 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
206 },
207 },
208 },
209 &quot;kind&quot;: &quot;compute#futureReservationsAggregatedListResponse&quot;, # Type of resource.
210 &quot;nextPageToken&quot;: &quot;A String&quot;, # [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
211 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource.
212 &quot;unreachables&quot;: [ # [Output Only] Unreachable resources.
213 &quot;A String&quot;,
214 ],
215 &quot;warning&quot;: { # [Output Only] Informational warning message.
216 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
217 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key: value format. For example:
218 # &quot;data&quot;: [ { &quot;key&quot;: &quot;scope&quot;, &quot;value&quot;: &quot;zones/us-east1-d&quot; }
219 {
220 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
221 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
222 },
223 ],
224 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
225 },
226}</pre>
227</div>
228
229<div class="method">
230 <code class="details" id="aggregatedList_next">aggregatedList_next(previous_request, previous_response)</code>
231 <pre>Retrieves the next page of results.
232
233Args:
234 previous_request: The request for the previous page. (required)
235 previous_response: The response from the request for the previous page. (required)
236
237Returns:
238 A request object that you can call &#x27;execute()&#x27; on to request the next
239 page. Returns None if there are no more items in the collection.
240 </pre>
241</div>
242
243<div class="method">
244 <code class="details" id="cancel">cancel(project, zone, futureReservation, requestId=None)</code>
245 <pre>Cancel the specified future reservation.
246
247Args:
248 project: string, Project ID for this request. (required)
249 zone: string, Name of the zone for this request. Name should conform to RFC1035. (required)
250 futureReservation: string, Name of the future reservation to retrieve. Name should conform to RFC1035. (required)
251 requestId: string, An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
252
253For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
254
255The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
256
257Returns:
258 An object of the form:
259
260 { # Represents an Operation resource.
261 #
262 # Google Compute Engine has three Operation resources:
263 #
264 # * [Global](/compute/docs/reference/rest/{$api_version}/globalOperations) * [Regional](/compute/docs/reference/rest/{$api_version}/regionOperations) * [Zonal](/compute/docs/reference/rest/{$api_version}/zoneOperations)
265 #
266 # You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses.
267 #
268 # Operations can be global, regional or zonal.
269 # - For global operations, use the `globalOperations` resource.
270 # - For regional operations, use the `regionOperations` resource.
271 # - For zonal operations, use the `zonalOperations` resource.
272 #
273 # For more information, read Global, Regional, and Zonal Resources. (== resource_for {$api_version}.globalOperations ==) (== resource_for {$api_version}.regionOperations ==) (== resource_for {$api_version}.zoneOperations ==)
274 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
275 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
276 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is set when the operation is created.
277 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
278 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
279 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this operation.
280 {
281 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
282 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error. This property is optional.
283 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
284 },
285 ],
286 },
287 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.
288 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a `404` means the resource was not found.
289 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is defined by the server.
290 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
291 &quot;kind&quot;: &quot;compute#operation&quot;, # [Output Only] Type of the resource. Always `compute#operation` for Operation resources.
292 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
293 &quot;operationGroupId&quot;: &quot;A String&quot;, # [Output Only] An ID that represents a group of operations, such as when a group of operations results from a `bulkInsert` API request.
294 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.
295 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
296 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
297 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
298 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource with the resource id.
299 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
300 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.
301 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the operation.
302 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
303 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
304 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example: `user@example.com`.
305 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
306 {
307 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
308 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key: value format. For example:
309 # &quot;data&quot;: [ { &quot;key&quot;: &quot;scope&quot;, &quot;value&quot;: &quot;zones/us-east1-d&quot; }
310 {
311 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
312 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
313 },
314 ],
315 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
316 },
317 ],
318 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
319}</pre>
320</div>
321
322<div class="method">
323 <code class="details" id="close">close()</code>
324 <pre>Close httplib2 connections.</pre>
325</div>
326
327<div class="method">
328 <code class="details" id="delete">delete(project, zone, futureReservation, requestId=None)</code>
329 <pre>Deletes the specified future reservation.
330
331Args:
332 project: string, Project ID for this request. (required)
333 zone: string, Name of the zone for this request. Name should conform to RFC1035. (required)
334 futureReservation: string, Name of the future reservation to retrieve. Name should conform to RFC1035. (required)
335 requestId: string, An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
336
337For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
338
339The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
340
341Returns:
342 An object of the form:
343
344 { # Represents an Operation resource.
345 #
346 # Google Compute Engine has three Operation resources:
347 #
348 # * [Global](/compute/docs/reference/rest/{$api_version}/globalOperations) * [Regional](/compute/docs/reference/rest/{$api_version}/regionOperations) * [Zonal](/compute/docs/reference/rest/{$api_version}/zoneOperations)
349 #
350 # You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses.
351 #
352 # Operations can be global, regional or zonal.
353 # - For global operations, use the `globalOperations` resource.
354 # - For regional operations, use the `regionOperations` resource.
355 # - For zonal operations, use the `zonalOperations` resource.
356 #
357 # For more information, read Global, Regional, and Zonal Resources. (== resource_for {$api_version}.globalOperations ==) (== resource_for {$api_version}.regionOperations ==) (== resource_for {$api_version}.zoneOperations ==)
358 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
359 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
360 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is set when the operation is created.
361 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
362 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
363 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this operation.
364 {
365 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
366 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error. This property is optional.
367 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
368 },
369 ],
370 },
371 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.
372 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a `404` means the resource was not found.
373 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is defined by the server.
374 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
375 &quot;kind&quot;: &quot;compute#operation&quot;, # [Output Only] Type of the resource. Always `compute#operation` for Operation resources.
376 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
377 &quot;operationGroupId&quot;: &quot;A String&quot;, # [Output Only] An ID that represents a group of operations, such as when a group of operations results from a `bulkInsert` API request.
378 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.
379 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
380 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
381 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
382 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource with the resource id.
383 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
384 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.
385 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the operation.
386 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
387 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
388 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example: `user@example.com`.
389 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
390 {
391 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
392 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key: value format. For example:
393 # &quot;data&quot;: [ { &quot;key&quot;: &quot;scope&quot;, &quot;value&quot;: &quot;zones/us-east1-d&quot; }
394 {
395 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
396 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
397 },
398 ],
399 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
400 },
401 ],
402 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
403}</pre>
404</div>
405
406<div class="method">
407 <code class="details" id="get">get(project, zone, futureReservation)</code>
408 <pre>Retrieves information about the specified future reservation.
409
410Args:
411 project: string, Project ID for this request. (required)
412 zone: string, Name of the zone for this request. Name should conform to RFC1035. (required)
413 futureReservation: string, Name of the future reservation to retrieve. Name should conform to RFC1035. (required)
414
415Returns:
416 An object of the form:
417
418 {
419 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] The creation timestamp for this future reservation in RFC3339 text format.
420 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you create the future reservation.
421 &quot;id&quot;: &quot;A String&quot;, # [Output Only] A unique identifier for this future reservation. The server defines this identifier.
422 &quot;kind&quot;: &quot;compute#futureReservation&quot;, # [Output Only] Type of the resource. Always compute#futureReservation for future reservations.
423 &quot;name&quot;: &quot;A String&quot;, # The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
424 &quot;namePrefix&quot;: &quot;A String&quot;, # Name prefix for the reservations to be created at the time of delivery. The name prefix must comply with RFC1035. Maximum allowed length for name prefix is 20. Automatically created reservations name format will be -date-####.
425 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined fully-qualified URL for this resource.
426 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource with the resource id.
427 &quot;shareSettings&quot;: { # The share setting for reservations and sole tenancy node groups. # List of Projects/Folders to share with.
428 &quot;projects&quot;: [ # A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type&#x27;s value is SPECIFIC_PROJECTS.
429 &quot;A String&quot;,
430 ],
431 &quot;shareType&quot;: &quot;A String&quot;, # Type of sharing for this shared-reservation
432 },
433 &quot;specificSkuProperties&quot;: { # Future Reservation configuration to indicate instance properties and total count.
434 &quot;instanceProperties&quot;: { # Properties of the SKU instances being reserved. Next ID: 9 # Properties of the SKU instances being reserved.
435 &quot;guestAccelerators&quot;: [ # Specifies accelerator type and count.
436 { # A specification of the type and number of accelerator cards attached to the instance.
437 &quot;acceleratorCount&quot;: 42, # The number of the guest accelerator cards exposed to this instance.
438 &quot;acceleratorType&quot;: &quot;A String&quot;, # Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.
439 },
440 ],
441 &quot;localSsds&quot;: [ # Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
442 {
443 &quot;diskSizeGb&quot;: &quot;A String&quot;, # Specifies the size of the disk in base-2 GB.
444 &quot;interface&quot;: &quot;A String&quot;, # Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.
445 },
446 ],
447 &quot;locationHint&quot;: &quot;A String&quot;, # An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.
448 &quot;machineType&quot;: &quot;A String&quot;, # Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
449 &quot;maintenanceFreezeDurationHours&quot;: 42, # Specifies the number of hours after reservation creation where instances using the reservation won&#x27;t be scheduled for maintenance.
450 &quot;maintenanceInterval&quot;: &quot;A String&quot;, # For more information about maintenance intervals, see Setting maintenance intervals.
451 &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum cpu platform the reservation.
452 },
453 &quot;totalCount&quot;: &quot;A String&quot;, # Total number of instances for which capacity assurance is requested at a future time period.
454 },
455 &quot;status&quot;: { # [Output only] Represents status related to the future reservation. # [Output only] Status of the Future Reservation
456 &quot;autoCreatedReservations&quot;: [ # Fully qualified urls of the automatically created reservations at start_time.
457 &quot;A String&quot;,
458 ],
459 &quot;fulfilledCount&quot;: &quot;A String&quot;, # This count indicates the fulfilled capacity so far. This is set during &quot;PROVISIONING&quot; state. This count also includes capacity delivered as part of existing matching reservations.
460 &quot;lockTime&quot;: &quot;A String&quot;, # Time when Future Reservation would become LOCKED, after which no modifications to Future Reservation will be allowed. Applicable only after the Future Reservation is in the APPROVED state. The lock_time is an RFC3339 string. The procurement_status will transition to PROCURING state at this time. TODO(b/183994731): Replace with Timestamp.
461 &quot;procurementStatus&quot;: &quot;A String&quot;, # Current state of this Future Reservation
462 },
463 &quot;timeWindow&quot;: { # Time window for this Future Reservation.
464 &quot;duration&quot;: { # A Duration represents a fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like &quot;day&quot; or &quot;month&quot;. Range is approximately 10,000 years.
465 &quot;nanos&quot;: 42, # Span of time that&#x27;s a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 `seconds` field and a positive `nanos` field. Must be from 0 to 999,999,999 inclusive.
466 &quot;seconds&quot;: &quot;A String&quot;, # Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
467 },
468 &quot;endTime&quot;: &quot;A String&quot;, # TODO(b/183994731): Replace with Timestamp.
469 &quot;startTime&quot;: &quot;A String&quot;, # Start time of the Future Reservation. The start_time is an RFC3339 string. TODO(b/183994731): Replace with Timestamp.
470 },
471 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] URL of the Zone where this future reservation resides.
472}</pre>
473</div>
474
475<div class="method">
476 <code class="details" id="insert">insert(project, zone, body=None, requestId=None)</code>
477 <pre>Creates a new Future Reservation.
478
479Args:
480 project: string, Project ID for this request. (required)
481 zone: string, Name of the zone for this request. Name should conform to RFC1035. (required)
482 body: object, The request body.
483 The object takes the form of:
484
485{
486 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] The creation timestamp for this future reservation in RFC3339 text format.
487 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you create the future reservation.
488 &quot;id&quot;: &quot;A String&quot;, # [Output Only] A unique identifier for this future reservation. The server defines this identifier.
489 &quot;kind&quot;: &quot;compute#futureReservation&quot;, # [Output Only] Type of the resource. Always compute#futureReservation for future reservations.
490 &quot;name&quot;: &quot;A String&quot;, # The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
491 &quot;namePrefix&quot;: &quot;A String&quot;, # Name prefix for the reservations to be created at the time of delivery. The name prefix must comply with RFC1035. Maximum allowed length for name prefix is 20. Automatically created reservations name format will be -date-####.
492 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined fully-qualified URL for this resource.
493 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource with the resource id.
494 &quot;shareSettings&quot;: { # The share setting for reservations and sole tenancy node groups. # List of Projects/Folders to share with.
495 &quot;projects&quot;: [ # A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type&#x27;s value is SPECIFIC_PROJECTS.
496 &quot;A String&quot;,
497 ],
498 &quot;shareType&quot;: &quot;A String&quot;, # Type of sharing for this shared-reservation
499 },
500 &quot;specificSkuProperties&quot;: { # Future Reservation configuration to indicate instance properties and total count.
501 &quot;instanceProperties&quot;: { # Properties of the SKU instances being reserved. Next ID: 9 # Properties of the SKU instances being reserved.
502 &quot;guestAccelerators&quot;: [ # Specifies accelerator type and count.
503 { # A specification of the type and number of accelerator cards attached to the instance.
504 &quot;acceleratorCount&quot;: 42, # The number of the guest accelerator cards exposed to this instance.
505 &quot;acceleratorType&quot;: &quot;A String&quot;, # Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.
506 },
507 ],
508 &quot;localSsds&quot;: [ # Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
509 {
510 &quot;diskSizeGb&quot;: &quot;A String&quot;, # Specifies the size of the disk in base-2 GB.
511 &quot;interface&quot;: &quot;A String&quot;, # Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.
512 },
513 ],
514 &quot;locationHint&quot;: &quot;A String&quot;, # An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.
515 &quot;machineType&quot;: &quot;A String&quot;, # Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
516 &quot;maintenanceFreezeDurationHours&quot;: 42, # Specifies the number of hours after reservation creation where instances using the reservation won&#x27;t be scheduled for maintenance.
517 &quot;maintenanceInterval&quot;: &quot;A String&quot;, # For more information about maintenance intervals, see Setting maintenance intervals.
518 &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum cpu platform the reservation.
519 },
520 &quot;totalCount&quot;: &quot;A String&quot;, # Total number of instances for which capacity assurance is requested at a future time period.
521 },
522 &quot;status&quot;: { # [Output only] Represents status related to the future reservation. # [Output only] Status of the Future Reservation
523 &quot;autoCreatedReservations&quot;: [ # Fully qualified urls of the automatically created reservations at start_time.
524 &quot;A String&quot;,
525 ],
526 &quot;fulfilledCount&quot;: &quot;A String&quot;, # This count indicates the fulfilled capacity so far. This is set during &quot;PROVISIONING&quot; state. This count also includes capacity delivered as part of existing matching reservations.
527 &quot;lockTime&quot;: &quot;A String&quot;, # Time when Future Reservation would become LOCKED, after which no modifications to Future Reservation will be allowed. Applicable only after the Future Reservation is in the APPROVED state. The lock_time is an RFC3339 string. The procurement_status will transition to PROCURING state at this time. TODO(b/183994731): Replace with Timestamp.
528 &quot;procurementStatus&quot;: &quot;A String&quot;, # Current state of this Future Reservation
529 },
530 &quot;timeWindow&quot;: { # Time window for this Future Reservation.
531 &quot;duration&quot;: { # A Duration represents a fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like &quot;day&quot; or &quot;month&quot;. Range is approximately 10,000 years.
532 &quot;nanos&quot;: 42, # Span of time that&#x27;s a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 `seconds` field and a positive `nanos` field. Must be from 0 to 999,999,999 inclusive.
533 &quot;seconds&quot;: &quot;A String&quot;, # Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
534 },
535 &quot;endTime&quot;: &quot;A String&quot;, # TODO(b/183994731): Replace with Timestamp.
536 &quot;startTime&quot;: &quot;A String&quot;, # Start time of the Future Reservation. The start_time is an RFC3339 string. TODO(b/183994731): Replace with Timestamp.
537 },
538 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] URL of the Zone where this future reservation resides.
539}
540
541 requestId: string, An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
542
543For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
544
545The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
546
547Returns:
548 An object of the form:
549
550 { # Represents an Operation resource.
551 #
552 # Google Compute Engine has three Operation resources:
553 #
554 # * [Global](/compute/docs/reference/rest/{$api_version}/globalOperations) * [Regional](/compute/docs/reference/rest/{$api_version}/regionOperations) * [Zonal](/compute/docs/reference/rest/{$api_version}/zoneOperations)
555 #
556 # You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses.
557 #
558 # Operations can be global, regional or zonal.
559 # - For global operations, use the `globalOperations` resource.
560 # - For regional operations, use the `regionOperations` resource.
561 # - For zonal operations, use the `zonalOperations` resource.
562 #
563 # For more information, read Global, Regional, and Zonal Resources. (== resource_for {$api_version}.globalOperations ==) (== resource_for {$api_version}.regionOperations ==) (== resource_for {$api_version}.zoneOperations ==)
564 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
565 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
566 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is set when the operation is created.
567 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
568 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
569 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this operation.
570 {
571 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
572 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error. This property is optional.
573 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
574 },
575 ],
576 },
577 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.
578 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a `404` means the resource was not found.
579 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is defined by the server.
580 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
581 &quot;kind&quot;: &quot;compute#operation&quot;, # [Output Only] Type of the resource. Always `compute#operation` for Operation resources.
582 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
583 &quot;operationGroupId&quot;: &quot;A String&quot;, # [Output Only] An ID that represents a group of operations, such as when a group of operations results from a `bulkInsert` API request.
584 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.
585 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
586 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
587 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
588 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource with the resource id.
589 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
590 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.
591 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the operation.
592 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
593 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
594 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example: `user@example.com`.
595 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
596 {
597 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
598 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key: value format. For example:
599 # &quot;data&quot;: [ { &quot;key&quot;: &quot;scope&quot;, &quot;value&quot;: &quot;zones/us-east1-d&quot; }
600 {
601 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
602 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
603 },
604 ],
605 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
606 },
607 ],
608 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
609}</pre>
610</div>
611
612<div class="method">
613 <code class="details" id="list">list(project, zone, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None)</code>
614 <pre>A list of all the future reservations that have been configured for the specified project in specified zone.
615
616Args:
617 project: string, Project ID for this request. (required)
618 zone: string, Name of the zone for this request. Name should conform to RFC1035. (required)
619 filter: string, A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `&gt;`, or `&lt;`.
620
621For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`.
622
623You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
624
625To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = &quot;Intel Skylake&quot;) ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = &quot;Intel Skylake&quot;) OR (cpuPlatform = &quot;Intel Broadwell&quot;) AND (scheduling.automaticRestart = true) ```
626 maxResults: integer, The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
627 orderBy: string, Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
628
629You can also sort results in descending order based on the creation timestamp using `orderBy=&quot;creationTimestamp desc&quot;`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.
630
631Currently, only sorting by `name` or `creationTimestamp desc` is supported.
632 pageToken: string, Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
633 returnPartialSuccess: boolean, Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
634
635Returns:
636 An object of the form:
637
638 {
639 &quot;etag&quot;: &quot;A String&quot;,
640 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
641 &quot;items&quot;: [ # [Output Only] A list of future reservation resources.
642 {
643 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] The creation timestamp for this future reservation in RFC3339 text format.
644 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you create the future reservation.
645 &quot;id&quot;: &quot;A String&quot;, # [Output Only] A unique identifier for this future reservation. The server defines this identifier.
646 &quot;kind&quot;: &quot;compute#futureReservation&quot;, # [Output Only] Type of the resource. Always compute#futureReservation for future reservations.
647 &quot;name&quot;: &quot;A String&quot;, # The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
648 &quot;namePrefix&quot;: &quot;A String&quot;, # Name prefix for the reservations to be created at the time of delivery. The name prefix must comply with RFC1035. Maximum allowed length for name prefix is 20. Automatically created reservations name format will be -date-####.
649 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined fully-qualified URL for this resource.
650 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource with the resource id.
651 &quot;shareSettings&quot;: { # The share setting for reservations and sole tenancy node groups. # List of Projects/Folders to share with.
652 &quot;projects&quot;: [ # A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type&#x27;s value is SPECIFIC_PROJECTS.
653 &quot;A String&quot;,
654 ],
655 &quot;shareType&quot;: &quot;A String&quot;, # Type of sharing for this shared-reservation
656 },
657 &quot;specificSkuProperties&quot;: { # Future Reservation configuration to indicate instance properties and total count.
658 &quot;instanceProperties&quot;: { # Properties of the SKU instances being reserved. Next ID: 9 # Properties of the SKU instances being reserved.
659 &quot;guestAccelerators&quot;: [ # Specifies accelerator type and count.
660 { # A specification of the type and number of accelerator cards attached to the instance.
661 &quot;acceleratorCount&quot;: 42, # The number of the guest accelerator cards exposed to this instance.
662 &quot;acceleratorType&quot;: &quot;A String&quot;, # Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.
663 },
664 ],
665 &quot;localSsds&quot;: [ # Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
666 {
667 &quot;diskSizeGb&quot;: &quot;A String&quot;, # Specifies the size of the disk in base-2 GB.
668 &quot;interface&quot;: &quot;A String&quot;, # Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.
669 },
670 ],
671 &quot;locationHint&quot;: &quot;A String&quot;, # An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.
672 &quot;machineType&quot;: &quot;A String&quot;, # Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
673 &quot;maintenanceFreezeDurationHours&quot;: 42, # Specifies the number of hours after reservation creation where instances using the reservation won&#x27;t be scheduled for maintenance.
674 &quot;maintenanceInterval&quot;: &quot;A String&quot;, # For more information about maintenance intervals, see Setting maintenance intervals.
675 &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum cpu platform the reservation.
676 },
677 &quot;totalCount&quot;: &quot;A String&quot;, # Total number of instances for which capacity assurance is requested at a future time period.
678 },
679 &quot;status&quot;: { # [Output only] Represents status related to the future reservation. # [Output only] Status of the Future Reservation
680 &quot;autoCreatedReservations&quot;: [ # Fully qualified urls of the automatically created reservations at start_time.
681 &quot;A String&quot;,
682 ],
683 &quot;fulfilledCount&quot;: &quot;A String&quot;, # This count indicates the fulfilled capacity so far. This is set during &quot;PROVISIONING&quot; state. This count also includes capacity delivered as part of existing matching reservations.
684 &quot;lockTime&quot;: &quot;A String&quot;, # Time when Future Reservation would become LOCKED, after which no modifications to Future Reservation will be allowed. Applicable only after the Future Reservation is in the APPROVED state. The lock_time is an RFC3339 string. The procurement_status will transition to PROCURING state at this time. TODO(b/183994731): Replace with Timestamp.
685 &quot;procurementStatus&quot;: &quot;A String&quot;, # Current state of this Future Reservation
686 },
687 &quot;timeWindow&quot;: { # Time window for this Future Reservation.
688 &quot;duration&quot;: { # A Duration represents a fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like &quot;day&quot; or &quot;month&quot;. Range is approximately 10,000 years.
689 &quot;nanos&quot;: 42, # Span of time that&#x27;s a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 `seconds` field and a positive `nanos` field. Must be from 0 to 999,999,999 inclusive.
690 &quot;seconds&quot;: &quot;A String&quot;, # Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
691 },
692 &quot;endTime&quot;: &quot;A String&quot;, # TODO(b/183994731): Replace with Timestamp.
693 &quot;startTime&quot;: &quot;A String&quot;, # Start time of the Future Reservation. The start_time is an RFC3339 string. TODO(b/183994731): Replace with Timestamp.
694 },
695 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] URL of the Zone where this future reservation resides.
696 },
697 ],
698 &quot;kind&quot;: &quot;compute#futureReservationsListResponse&quot;, # [Output Only] Type of resource.Always compute#reservationsList for listsof reservations
699 &quot;nextPageToken&quot;: &quot;A String&quot;, # [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.
700 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource.
701 &quot;unreachables&quot;: [ # [Output Only] Unreachable resources.
702 &quot;A String&quot;,
703 ],
704 &quot;warning&quot;: { # [Output Only] Informational warning message.
705 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
706 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key: value format. For example:
707 # &quot;data&quot;: [ { &quot;key&quot;: &quot;scope&quot;, &quot;value&quot;: &quot;zones/us-east1-d&quot; }
708 {
709 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
710 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
711 },
712 ],
713 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
714 },
715}</pre>
716</div>
717
718<div class="method">
719 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
720 <pre>Retrieves the next page of results.
721
722Args:
723 previous_request: The request for the previous page. (required)
724 previous_response: The response from the request for the previous page. (required)
725
726Returns:
727 A request object that you can call &#x27;execute()&#x27; on to request the next
728 page. Returns None if there are no more items in the collection.
729 </pre>
730</div>
731
732<div class="method">
733 <code class="details" id="update">update(project, zone, futureReservation, body=None, paths=None, requestId=None)</code>
734 <pre>Updates the specified future reservation.
735
736Args:
737 project: string, Project ID for this request. (required)
738 zone: string, Name of the zone for this request. Name should conform to RFC1035. (required)
739 futureReservation: string, Name of the reservation to update. Name should conform to RFC1035. (required)
740 body: object, The request body.
741 The object takes the form of:
742
743{
744 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] The creation timestamp for this future reservation in RFC3339 text format.
745 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you create the future reservation.
746 &quot;id&quot;: &quot;A String&quot;, # [Output Only] A unique identifier for this future reservation. The server defines this identifier.
747 &quot;kind&quot;: &quot;compute#futureReservation&quot;, # [Output Only] Type of the resource. Always compute#futureReservation for future reservations.
748 &quot;name&quot;: &quot;A String&quot;, # The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
749 &quot;namePrefix&quot;: &quot;A String&quot;, # Name prefix for the reservations to be created at the time of delivery. The name prefix must comply with RFC1035. Maximum allowed length for name prefix is 20. Automatically created reservations name format will be -date-####.
750 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined fully-qualified URL for this resource.
751 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource with the resource id.
752 &quot;shareSettings&quot;: { # The share setting for reservations and sole tenancy node groups. # List of Projects/Folders to share with.
753 &quot;projects&quot;: [ # A List of Project names to specify consumer projects for this shared-reservation. This is only valid when share_type&#x27;s value is SPECIFIC_PROJECTS.
754 &quot;A String&quot;,
755 ],
756 &quot;shareType&quot;: &quot;A String&quot;, # Type of sharing for this shared-reservation
757 },
758 &quot;specificSkuProperties&quot;: { # Future Reservation configuration to indicate instance properties and total count.
759 &quot;instanceProperties&quot;: { # Properties of the SKU instances being reserved. Next ID: 9 # Properties of the SKU instances being reserved.
760 &quot;guestAccelerators&quot;: [ # Specifies accelerator type and count.
761 { # A specification of the type and number of accelerator cards attached to the instance.
762 &quot;acceleratorCount&quot;: 42, # The number of the guest accelerator cards exposed to this instance.
763 &quot;acceleratorType&quot;: &quot;A String&quot;, # Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.
764 },
765 ],
766 &quot;localSsds&quot;: [ # Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
767 {
768 &quot;diskSizeGb&quot;: &quot;A String&quot;, # Specifies the size of the disk in base-2 GB.
769 &quot;interface&quot;: &quot;A String&quot;, # Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance.
770 },
771 ],
772 &quot;locationHint&quot;: &quot;A String&quot;, # An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.
773 &quot;machineType&quot;: &quot;A String&quot;, # Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.
774 &quot;maintenanceFreezeDurationHours&quot;: 42, # Specifies the number of hours after reservation creation where instances using the reservation won&#x27;t be scheduled for maintenance.
775 &quot;maintenanceInterval&quot;: &quot;A String&quot;, # For more information about maintenance intervals, see Setting maintenance intervals.
776 &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum cpu platform the reservation.
777 },
778 &quot;totalCount&quot;: &quot;A String&quot;, # Total number of instances for which capacity assurance is requested at a future time period.
779 },
780 &quot;status&quot;: { # [Output only] Represents status related to the future reservation. # [Output only] Status of the Future Reservation
781 &quot;autoCreatedReservations&quot;: [ # Fully qualified urls of the automatically created reservations at start_time.
782 &quot;A String&quot;,
783 ],
784 &quot;fulfilledCount&quot;: &quot;A String&quot;, # This count indicates the fulfilled capacity so far. This is set during &quot;PROVISIONING&quot; state. This count also includes capacity delivered as part of existing matching reservations.
785 &quot;lockTime&quot;: &quot;A String&quot;, # Time when Future Reservation would become LOCKED, after which no modifications to Future Reservation will be allowed. Applicable only after the Future Reservation is in the APPROVED state. The lock_time is an RFC3339 string. The procurement_status will transition to PROCURING state at this time. TODO(b/183994731): Replace with Timestamp.
786 &quot;procurementStatus&quot;: &quot;A String&quot;, # Current state of this Future Reservation
787 },
788 &quot;timeWindow&quot;: { # Time window for this Future Reservation.
789 &quot;duration&quot;: { # A Duration represents a fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like &quot;day&quot; or &quot;month&quot;. Range is approximately 10,000 years.
790 &quot;nanos&quot;: 42, # Span of time that&#x27;s a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 `seconds` field and a positive `nanos` field. Must be from 0 to 999,999,999 inclusive.
791 &quot;seconds&quot;: &quot;A String&quot;, # Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
792 },
793 &quot;endTime&quot;: &quot;A String&quot;, # TODO(b/183994731): Replace with Timestamp.
794 &quot;startTime&quot;: &quot;A String&quot;, # Start time of the Future Reservation. The start_time is an RFC3339 string. TODO(b/183994731): Replace with Timestamp.
795 },
796 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] URL of the Zone where this future reservation resides.
797}
798
799 paths: string, The set of field mask paths. (repeated)
800 requestId: string, An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
801
802For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
803
804The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
805
806Returns:
807 An object of the form:
808
809 { # Represents an Operation resource.
810 #
811 # Google Compute Engine has three Operation resources:
812 #
813 # * [Global](/compute/docs/reference/rest/{$api_version}/globalOperations) * [Regional](/compute/docs/reference/rest/{$api_version}/regionOperations) * [Zonal](/compute/docs/reference/rest/{$api_version}/zoneOperations)
814 #
815 # You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses.
816 #
817 # Operations can be global, regional or zonal.
818 # - For global operations, use the `globalOperations` resource.
819 # - For regional operations, use the `regionOperations` resource.
820 # - For zonal operations, use the `zonalOperations` resource.
821 #
822 # For more information, read Global, Regional, and Zonal Resources. (== resource_for {$api_version}.globalOperations ==) (== resource_for {$api_version}.regionOperations ==) (== resource_for {$api_version}.zoneOperations ==)
823 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
824 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
825 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is set when the operation is created.
826 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
827 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
828 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this operation.
829 {
830 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
831 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error. This property is optional.
832 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
833 },
834 ],
835 },
836 &quot;httpErrorMessage&quot;: &quot;A String&quot;, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`.
837 &quot;httpErrorStatusCode&quot;: 42, # [Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a `404` means the resource was not found.
838 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is defined by the server.
839 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
840 &quot;kind&quot;: &quot;compute#operation&quot;, # [Output Only] Type of the resource. Always `compute#operation` for Operation resources.
841 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
842 &quot;operationGroupId&quot;: &quot;A String&quot;, # [Output Only] An ID that represents a group of operations, such as when a group of operations results from a `bulkInsert` API request.
843 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.
844 &quot;progress&quot;: 42, # [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses.
845 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
846 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
847 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource with the resource id.
848 &quot;startTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
849 &quot;status&quot;: &quot;A String&quot;, # [Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`.
850 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the operation.
851 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
852 &quot;targetLink&quot;: &quot;A String&quot;, # [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from.
853 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example: `user@example.com`.
854 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
855 {
856 &quot;code&quot;: &quot;A String&quot;, # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
857 &quot;data&quot;: [ # [Output Only] Metadata about this warning in key: value format. For example:
858 # &quot;data&quot;: [ { &quot;key&quot;: &quot;scope&quot;, &quot;value&quot;: &quot;zones/us-east1-d&quot; }
859 {
860 &quot;key&quot;: &quot;A String&quot;, # [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding).
861 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
862 },
863 ],
864 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
865 },
866 ],
867 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations.
868}</pre>
869</div>
870
871</body></html>