1<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, x__xgafv=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, x__xgafv=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, x__xgafv=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, x__xgafv=None)</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, x__xgafv=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, x__xgafv=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, updateMask=None, x__xgafv=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, x__xgafv=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, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `&gt;`, `&lt;`, `&lt;=`, `&gt;=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You 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. To 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) ```
115  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.
116  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`)
117  orderBy: string, Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You 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. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
118  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.
119  returnPartialSuccess: boolean, Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
120  x__xgafv: string, V1 error format.
121    Allowed values
122      1 - v1 error format
123      2 - v2 error format
124
125Returns:
126  An object of the form:
127
128    { # Contains a list of future reservations.
129  &quot;etag&quot;: &quot;A String&quot;,
130  &quot;id&quot;: &quot;A String&quot;, # [Output Only] Unique identifier for the resource; defined by the server.
131  &quot;items&quot;: { # A list of Future reservation resources.
132    &quot;a_key&quot;: { # Name of the scope containing this set of future reservations.
133      &quot;futureReservations&quot;: [ # A list of future reservations contained in this scope.
134        {
135          &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] The creation timestamp for this future reservation in RFC3339 text format.
136          &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you create the future reservation.
137          &quot;id&quot;: &quot;A String&quot;, # [Output Only] A unique identifier for this future reservation. The server defines this identifier.
138          &quot;kind&quot;: &quot;compute#futureReservation&quot;,
139          &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.
140          &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-####.
141          &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined fully-qualified URL for this resource.
142          &quot;selfLinkWithId&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource with the resource id.
143          &quot;shareSettings&quot;: { # The share setting for reservations and sole tenancy node groups. # List of Projects/Folders to share with.
144            &quot;folderMap&quot;: { # A map of folder id and folder config to specify consumer projects for this shared-reservation. This is only valid when share_type&#x27;s value is DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS. Folder id should be a string of number, and without &quot;folders/&quot; prefix.
145              &quot;a_key&quot;: { # Config for each folder in the share settings.
146                &quot;folderId&quot;: &quot;A String&quot;, # The folder ID, should be same as the key of this folder config in the parent map. Folder id should be a string of number, and without &quot;folders/&quot; prefix.
147              },
148            },
149            &quot;projectMap&quot;: { # A map of project id and project config. This is only valid when share_type&#x27;s value is SPECIFIC_PROJECTS.
150              &quot;a_key&quot;: { # Config for each project in the share settings.
151                &quot;projectId&quot;: &quot;A String&quot;, # The project ID, should be same as the key of this project config in the parent map.
152              },
153            },
154            &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.
155              &quot;A String&quot;,
156            ],
157            &quot;shareType&quot;: &quot;A String&quot;, # Type of sharing for this shared-reservation
158          },
159          &quot;specificSkuProperties&quot;: { # Future Reservation configuration to indicate instance properties and total count.
160            &quot;instanceProperties&quot;: { # Properties of the SKU instances being reserved. Next ID: 9 # Properties of the SKU instances being reserved.
161              &quot;guestAccelerators&quot;: [ # Specifies accelerator type and count.
162                { # A specification of the type and number of accelerator cards attached to the instance.
163                  &quot;acceleratorCount&quot;: 42, # The number of the guest accelerator cards exposed to this instance.
164                  &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.
165                },
166              ],
167              &quot;localSsds&quot;: [ # Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
168                {
169                  &quot;diskSizeGb&quot;: &quot;A String&quot;, # Specifies the size of the disk in base-2 GB.
170                  &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.
171                },
172              ],
173              &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.
174              &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.
175              &quot;maintenanceFreezeDurationHours&quot;: 42, # Specifies the number of hours after reservation creation where instances using the reservation won&#x27;t be scheduled for maintenance.
176              &quot;maintenanceInterval&quot;: &quot;A String&quot;, # For more information about maintenance intervals, see Setting maintenance intervals.
177              &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum cpu platform the reservation.
178            },
179            &quot;totalCount&quot;: &quot;A String&quot;, # Total number of instances for which capacity assurance is requested at a future time period.
180          },
181          &quot;status&quot;: { # [Output only] Represents status related to the future reservation. # [Output only] Status of the Future Reservation
182            &quot;autoCreatedReservations&quot;: [ # Fully qualified urls of the automatically created reservations at start_time.
183              &quot;A String&quot;,
184            ],
185            &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.
186            &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.
187            &quot;procurementStatus&quot;: &quot;A String&quot;, # Current state of this Future Reservation
188          },
189          &quot;timeWindow&quot;: { # Time window for this Future Reservation.
190            &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.
191              &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.
192              &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
193            },
194            &quot;endTime&quot;: &quot;A String&quot;,
195            &quot;startTime&quot;: &quot;A String&quot;, # Start time of the Future Reservation. The start_time is an RFC3339 string.
196          },
197          &quot;zone&quot;: &quot;A String&quot;, # [Output Only] URL of the Zone where this future reservation resides.
198        },
199      ],
200      &quot;warning&quot;: { # Informational warning which replaces the list of future reservations when the list is empty.
201        &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.
202        &quot;data&quot;: [ # [Output Only] Metadata about this warning in key: value format. For example: &quot;data&quot;: [ { &quot;key&quot;: &quot;scope&quot;, &quot;value&quot;: &quot;zones/us-east1-d&quot; }
203          {
204            &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).
205            &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
206          },
207        ],
208        &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
209      },
210    },
211  },
212  &quot;kind&quot;: &quot;compute#futureReservationsAggregatedListResponse&quot;,
213  &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.
214  &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource.
215  &quot;unreachables&quot;: [ # [Output Only] Unreachable resources.
216    &quot;A String&quot;,
217  ],
218  &quot;warning&quot;: { # [Output Only] Informational warning message.
219    &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.
220    &quot;data&quot;: [ # [Output Only] Metadata about this warning in key: value format. For example: &quot;data&quot;: [ { &quot;key&quot;: &quot;scope&quot;, &quot;value&quot;: &quot;zones/us-east1-d&quot; }
221      {
222        &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).
223        &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
224      },
225    ],
226    &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
227  },
228}</pre>
229</div>
230
231<div class="method">
232    <code class="details" id="aggregatedList_next">aggregatedList_next(previous_request, previous_response)</code>
233  <pre>Retrieves the next page of results.
234
235Args:
236  previous_request: The request for the previous page. (required)
237  previous_response: The response from the request for the previous page. (required)
238
239Returns:
240  A request object that you can call &#x27;execute()&#x27; on to request the next
241  page. Returns None if there are no more items in the collection.
242    </pre>
243</div>
244
245<div class="method">
246    <code class="details" id="cancel">cancel(project, zone, futureReservation, requestId=None, x__xgafv=None)</code>
247  <pre>Cancel the specified future reservation.
248
249Args:
250  project: string, Project ID for this request. (required)
251  zone: string, Name of the zone for this request. Name should conform to RFC1035. (required)
252  futureReservation: string, Name of the future reservation to retrieve. Name should conform to RFC1035. (required)
253  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. For 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. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
254  x__xgafv: string, V1 error format.
255    Allowed values
256      1 - v1 error format
257      2 - v2 error format
258
259Returns:
260  An object of the form:
261
262    { # Represents an Operation resource. Google Compute Engine has three Operation resources: * [Global](/compute/docs/reference/rest/alpha/globalOperations) * [Regional](/compute/docs/reference/rest/alpha/regionOperations) * [Zonal](/compute/docs/reference/rest/alpha/zoneOperations) You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses. Operations can be global, regional or zonal. - For global operations, use the `globalOperations` resource. - For regional operations, use the `regionOperations` resource. - For zonal operations, use the `zonalOperations` resource. For more information, read Global, Regional, and Zonal Resources.
263  &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
264  &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
265  &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is set when the operation is created.
266  &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
267  &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
268    &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this operation.
269      {
270        &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
271        &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error. This property is optional.
272        &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
273      },
274    ],
275  },
276  &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`.
277  &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.
278  &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is defined by the server.
279  &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
280  &quot;kind&quot;: &quot;compute#operation&quot;, # [Output Only] Type of the resource. Always `compute#operation` for Operation resources.
281  &quot;metadata&quot;: { # [Output Only] Service-specific metadata attached to this operation.
282    &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
283  },
284  &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
285  &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.
286  &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.
287  &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.
288  &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
289  &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
290  &quot;selfLinkWithId&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource with the resource id.
291  &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.
292  &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`.
293  &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the operation.
294  &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
295  &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.
296  &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example: `[email protected]`.
297  &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
298    {
299      &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.
300      &quot;data&quot;: [ # [Output Only] Metadata about this warning in key: value format. For example: &quot;data&quot;: [ { &quot;key&quot;: &quot;scope&quot;, &quot;value&quot;: &quot;zones/us-east1-d&quot; }
301        {
302          &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).
303          &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
304        },
305      ],
306      &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
307    },
308  ],
309  &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.
310}</pre>
311</div>
312
313<div class="method">
314    <code class="details" id="close">close()</code>
315  <pre>Close httplib2 connections.</pre>
316</div>
317
318<div class="method">
319    <code class="details" id="delete">delete(project, zone, futureReservation, requestId=None, x__xgafv=None)</code>
320  <pre>Deletes the specified future reservation.
321
322Args:
323  project: string, Project ID for this request. (required)
324  zone: string, Name of the zone for this request. Name should conform to RFC1035. (required)
325  futureReservation: string, Name of the future reservation to retrieve. Name should conform to RFC1035. (required)
326  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. For 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. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
327  x__xgafv: string, V1 error format.
328    Allowed values
329      1 - v1 error format
330      2 - v2 error format
331
332Returns:
333  An object of the form:
334
335    { # Represents an Operation resource. Google Compute Engine has three Operation resources: * [Global](/compute/docs/reference/rest/alpha/globalOperations) * [Regional](/compute/docs/reference/rest/alpha/regionOperations) * [Zonal](/compute/docs/reference/rest/alpha/zoneOperations) You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses. Operations can be global, regional or zonal. - For global operations, use the `globalOperations` resource. - For regional operations, use the `regionOperations` resource. - For zonal operations, use the `zonalOperations` resource. For more information, read Global, Regional, and Zonal Resources.
336  &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
337  &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
338  &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is set when the operation is created.
339  &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
340  &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
341    &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this operation.
342      {
343        &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
344        &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error. This property is optional.
345        &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
346      },
347    ],
348  },
349  &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`.
350  &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.
351  &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is defined by the server.
352  &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
353  &quot;kind&quot;: &quot;compute#operation&quot;, # [Output Only] Type of the resource. Always `compute#operation` for Operation resources.
354  &quot;metadata&quot;: { # [Output Only] Service-specific metadata attached to this operation.
355    &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
356  },
357  &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
358  &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.
359  &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.
360  &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.
361  &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
362  &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
363  &quot;selfLinkWithId&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource with the resource id.
364  &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.
365  &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`.
366  &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the operation.
367  &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
368  &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.
369  &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example: `[email protected]`.
370  &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
371    {
372      &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.
373      &quot;data&quot;: [ # [Output Only] Metadata about this warning in key: value format. For example: &quot;data&quot;: [ { &quot;key&quot;: &quot;scope&quot;, &quot;value&quot;: &quot;zones/us-east1-d&quot; }
374        {
375          &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).
376          &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
377        },
378      ],
379      &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
380    },
381  ],
382  &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.
383}</pre>
384</div>
385
386<div class="method">
387    <code class="details" id="get">get(project, zone, futureReservation, x__xgafv=None)</code>
388  <pre>Retrieves information about the specified future reservation.
389
390Args:
391  project: string, Project ID for this request. (required)
392  zone: string, Name of the zone for this request. Name should conform to RFC1035. (required)
393  futureReservation: string, Name of the future reservation to retrieve. Name should conform to RFC1035. (required)
394  x__xgafv: string, V1 error format.
395    Allowed values
396      1 - v1 error format
397      2 - v2 error format
398
399Returns:
400  An object of the form:
401
402    {
403  &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] The creation timestamp for this future reservation in RFC3339 text format.
404  &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you create the future reservation.
405  &quot;id&quot;: &quot;A String&quot;, # [Output Only] A unique identifier for this future reservation. The server defines this identifier.
406  &quot;kind&quot;: &quot;compute#futureReservation&quot;,
407  &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.
408  &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-####.
409  &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined fully-qualified URL for this resource.
410  &quot;selfLinkWithId&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource with the resource id.
411  &quot;shareSettings&quot;: { # The share setting for reservations and sole tenancy node groups. # List of Projects/Folders to share with.
412    &quot;folderMap&quot;: { # A map of folder id and folder config to specify consumer projects for this shared-reservation. This is only valid when share_type&#x27;s value is DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS. Folder id should be a string of number, and without &quot;folders/&quot; prefix.
413      &quot;a_key&quot;: { # Config for each folder in the share settings.
414        &quot;folderId&quot;: &quot;A String&quot;, # The folder ID, should be same as the key of this folder config in the parent map. Folder id should be a string of number, and without &quot;folders/&quot; prefix.
415      },
416    },
417    &quot;projectMap&quot;: { # A map of project id and project config. This is only valid when share_type&#x27;s value is SPECIFIC_PROJECTS.
418      &quot;a_key&quot;: { # Config for each project in the share settings.
419        &quot;projectId&quot;: &quot;A String&quot;, # The project ID, should be same as the key of this project config in the parent map.
420      },
421    },
422    &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.
423      &quot;A String&quot;,
424    ],
425    &quot;shareType&quot;: &quot;A String&quot;, # Type of sharing for this shared-reservation
426  },
427  &quot;specificSkuProperties&quot;: { # Future Reservation configuration to indicate instance properties and total count.
428    &quot;instanceProperties&quot;: { # Properties of the SKU instances being reserved. Next ID: 9 # Properties of the SKU instances being reserved.
429      &quot;guestAccelerators&quot;: [ # Specifies accelerator type and count.
430        { # A specification of the type and number of accelerator cards attached to the instance.
431          &quot;acceleratorCount&quot;: 42, # The number of the guest accelerator cards exposed to this instance.
432          &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.
433        },
434      ],
435      &quot;localSsds&quot;: [ # Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
436        {
437          &quot;diskSizeGb&quot;: &quot;A String&quot;, # Specifies the size of the disk in base-2 GB.
438          &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.
439        },
440      ],
441      &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.
442      &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.
443      &quot;maintenanceFreezeDurationHours&quot;: 42, # Specifies the number of hours after reservation creation where instances using the reservation won&#x27;t be scheduled for maintenance.
444      &quot;maintenanceInterval&quot;: &quot;A String&quot;, # For more information about maintenance intervals, see Setting maintenance intervals.
445      &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum cpu platform the reservation.
446    },
447    &quot;totalCount&quot;: &quot;A String&quot;, # Total number of instances for which capacity assurance is requested at a future time period.
448  },
449  &quot;status&quot;: { # [Output only] Represents status related to the future reservation. # [Output only] Status of the Future Reservation
450    &quot;autoCreatedReservations&quot;: [ # Fully qualified urls of the automatically created reservations at start_time.
451      &quot;A String&quot;,
452    ],
453    &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.
454    &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.
455    &quot;procurementStatus&quot;: &quot;A String&quot;, # Current state of this Future Reservation
456  },
457  &quot;timeWindow&quot;: { # Time window for this Future Reservation.
458    &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.
459      &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.
460      &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
461    },
462    &quot;endTime&quot;: &quot;A String&quot;,
463    &quot;startTime&quot;: &quot;A String&quot;, # Start time of the Future Reservation. The start_time is an RFC3339 string.
464  },
465  &quot;zone&quot;: &quot;A String&quot;, # [Output Only] URL of the Zone where this future reservation resides.
466}</pre>
467</div>
468
469<div class="method">
470    <code class="details" id="insert">insert(project, zone, body=None, requestId=None, x__xgafv=None)</code>
471  <pre>Creates a new Future Reservation.
472
473Args:
474  project: string, Project ID for this request. (required)
475  zone: string, Name of the zone for this request. Name should conform to RFC1035. (required)
476  body: object, The request body.
477    The object takes the form of:
478
479{
480  &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] The creation timestamp for this future reservation in RFC3339 text format.
481  &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you create the future reservation.
482  &quot;id&quot;: &quot;A String&quot;, # [Output Only] A unique identifier for this future reservation. The server defines this identifier.
483  &quot;kind&quot;: &quot;compute#futureReservation&quot;,
484  &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.
485  &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-####.
486  &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined fully-qualified URL for this resource.
487  &quot;selfLinkWithId&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource with the resource id.
488  &quot;shareSettings&quot;: { # The share setting for reservations and sole tenancy node groups. # List of Projects/Folders to share with.
489    &quot;folderMap&quot;: { # A map of folder id and folder config to specify consumer projects for this shared-reservation. This is only valid when share_type&#x27;s value is DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS. Folder id should be a string of number, and without &quot;folders/&quot; prefix.
490      &quot;a_key&quot;: { # Config for each folder in the share settings.
491        &quot;folderId&quot;: &quot;A String&quot;, # The folder ID, should be same as the key of this folder config in the parent map. Folder id should be a string of number, and without &quot;folders/&quot; prefix.
492      },
493    },
494    &quot;projectMap&quot;: { # A map of project id and project config. This is only valid when share_type&#x27;s value is SPECIFIC_PROJECTS.
495      &quot;a_key&quot;: { # Config for each project in the share settings.
496        &quot;projectId&quot;: &quot;A String&quot;, # The project ID, should be same as the key of this project config in the parent map.
497      },
498    },
499    &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.
500      &quot;A String&quot;,
501    ],
502    &quot;shareType&quot;: &quot;A String&quot;, # Type of sharing for this shared-reservation
503  },
504  &quot;specificSkuProperties&quot;: { # Future Reservation configuration to indicate instance properties and total count.
505    &quot;instanceProperties&quot;: { # Properties of the SKU instances being reserved. Next ID: 9 # Properties of the SKU instances being reserved.
506      &quot;guestAccelerators&quot;: [ # Specifies accelerator type and count.
507        { # A specification of the type and number of accelerator cards attached to the instance.
508          &quot;acceleratorCount&quot;: 42, # The number of the guest accelerator cards exposed to this instance.
509          &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.
510        },
511      ],
512      &quot;localSsds&quot;: [ # Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
513        {
514          &quot;diskSizeGb&quot;: &quot;A String&quot;, # Specifies the size of the disk in base-2 GB.
515          &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.
516        },
517      ],
518      &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.
519      &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.
520      &quot;maintenanceFreezeDurationHours&quot;: 42, # Specifies the number of hours after reservation creation where instances using the reservation won&#x27;t be scheduled for maintenance.
521      &quot;maintenanceInterval&quot;: &quot;A String&quot;, # For more information about maintenance intervals, see Setting maintenance intervals.
522      &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum cpu platform the reservation.
523    },
524    &quot;totalCount&quot;: &quot;A String&quot;, # Total number of instances for which capacity assurance is requested at a future time period.
525  },
526  &quot;status&quot;: { # [Output only] Represents status related to the future reservation. # [Output only] Status of the Future Reservation
527    &quot;autoCreatedReservations&quot;: [ # Fully qualified urls of the automatically created reservations at start_time.
528      &quot;A String&quot;,
529    ],
530    &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.
531    &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.
532    &quot;procurementStatus&quot;: &quot;A String&quot;, # Current state of this Future Reservation
533  },
534  &quot;timeWindow&quot;: { # Time window for this Future Reservation.
535    &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.
536      &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.
537      &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
538    },
539    &quot;endTime&quot;: &quot;A String&quot;,
540    &quot;startTime&quot;: &quot;A String&quot;, # Start time of the Future Reservation. The start_time is an RFC3339 string.
541  },
542  &quot;zone&quot;: &quot;A String&quot;, # [Output Only] URL of the Zone where this future reservation resides.
543}
544
545  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. For 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. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
546  x__xgafv: string, V1 error format.
547    Allowed values
548      1 - v1 error format
549      2 - v2 error format
550
551Returns:
552  An object of the form:
553
554    { # Represents an Operation resource. Google Compute Engine has three Operation resources: * [Global](/compute/docs/reference/rest/alpha/globalOperations) * [Regional](/compute/docs/reference/rest/alpha/regionOperations) * [Zonal](/compute/docs/reference/rest/alpha/zoneOperations) You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses. Operations can be global, regional or zonal. - For global operations, use the `globalOperations` resource. - For regional operations, use the `regionOperations` resource. - For zonal operations, use the `zonalOperations` resource. For more information, read Global, Regional, and Zonal Resources.
555  &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
556  &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
557  &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is set when the operation is created.
558  &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
559  &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
560    &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this operation.
561      {
562        &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
563        &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error. This property is optional.
564        &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
565      },
566    ],
567  },
568  &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`.
569  &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.
570  &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is defined by the server.
571  &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
572  &quot;kind&quot;: &quot;compute#operation&quot;, # [Output Only] Type of the resource. Always `compute#operation` for Operation resources.
573  &quot;metadata&quot;: { # [Output Only] Service-specific metadata attached to this operation.
574    &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
575  },
576  &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
577  &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.
578  &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.
579  &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.
580  &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
581  &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
582  &quot;selfLinkWithId&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource with the resource id.
583  &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.
584  &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`.
585  &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the operation.
586  &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
587  &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.
588  &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example: `[email protected]`.
589  &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
590    {
591      &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.
592      &quot;data&quot;: [ # [Output Only] Metadata about this warning in key: value format. For example: &quot;data&quot;: [ { &quot;key&quot;: &quot;scope&quot;, &quot;value&quot;: &quot;zones/us-east1-d&quot; }
593        {
594          &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).
595          &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
596        },
597      ],
598      &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
599    },
600  ],
601  &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.
602}</pre>
603</div>
604
605<div class="method">
606    <code class="details" id="list">list(project, zone, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</code>
607  <pre>A list of all the future reservations that have been configured for the specified project in specified zone.
608
609Args:
610  project: string, Project ID for this request. (required)
611  zone: string, Name of the zone for this request. Name should conform to RFC1035. (required)
612  filter: string, A filter expression that filters resources listed in the response. The expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `&gt;`, `&lt;`, `&lt;=`, `&gt;=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You 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. To 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) ```
613  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`)
614  orderBy: string, Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You 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. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
615  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.
616  returnPartialSuccess: boolean, Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
617  x__xgafv: string, V1 error format.
618    Allowed values
619      1 - v1 error format
620      2 - v2 error format
621
622Returns:
623  An object of the form:
624
625    {
626  &quot;etag&quot;: &quot;A String&quot;,
627  &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
628  &quot;items&quot;: [ # [Output Only] A list of future reservation resources.
629    {
630      &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] The creation timestamp for this future reservation in RFC3339 text format.
631      &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you create the future reservation.
632      &quot;id&quot;: &quot;A String&quot;, # [Output Only] A unique identifier for this future reservation. The server defines this identifier.
633      &quot;kind&quot;: &quot;compute#futureReservation&quot;,
634      &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.
635      &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-####.
636      &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined fully-qualified URL for this resource.
637      &quot;selfLinkWithId&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource with the resource id.
638      &quot;shareSettings&quot;: { # The share setting for reservations and sole tenancy node groups. # List of Projects/Folders to share with.
639        &quot;folderMap&quot;: { # A map of folder id and folder config to specify consumer projects for this shared-reservation. This is only valid when share_type&#x27;s value is DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS. Folder id should be a string of number, and without &quot;folders/&quot; prefix.
640          &quot;a_key&quot;: { # Config for each folder in the share settings.
641            &quot;folderId&quot;: &quot;A String&quot;, # The folder ID, should be same as the key of this folder config in the parent map. Folder id should be a string of number, and without &quot;folders/&quot; prefix.
642          },
643        },
644        &quot;projectMap&quot;: { # A map of project id and project config. This is only valid when share_type&#x27;s value is SPECIFIC_PROJECTS.
645          &quot;a_key&quot;: { # Config for each project in the share settings.
646            &quot;projectId&quot;: &quot;A String&quot;, # The project ID, should be same as the key of this project config in the parent map.
647          },
648        },
649        &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.
650          &quot;A String&quot;,
651        ],
652        &quot;shareType&quot;: &quot;A String&quot;, # Type of sharing for this shared-reservation
653      },
654      &quot;specificSkuProperties&quot;: { # Future Reservation configuration to indicate instance properties and total count.
655        &quot;instanceProperties&quot;: { # Properties of the SKU instances being reserved. Next ID: 9 # Properties of the SKU instances being reserved.
656          &quot;guestAccelerators&quot;: [ # Specifies accelerator type and count.
657            { # A specification of the type and number of accelerator cards attached to the instance.
658              &quot;acceleratorCount&quot;: 42, # The number of the guest accelerator cards exposed to this instance.
659              &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.
660            },
661          ],
662          &quot;localSsds&quot;: [ # Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
663            {
664              &quot;diskSizeGb&quot;: &quot;A String&quot;, # Specifies the size of the disk in base-2 GB.
665              &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.
666            },
667          ],
668          &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.
669          &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.
670          &quot;maintenanceFreezeDurationHours&quot;: 42, # Specifies the number of hours after reservation creation where instances using the reservation won&#x27;t be scheduled for maintenance.
671          &quot;maintenanceInterval&quot;: &quot;A String&quot;, # For more information about maintenance intervals, see Setting maintenance intervals.
672          &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum cpu platform the reservation.
673        },
674        &quot;totalCount&quot;: &quot;A String&quot;, # Total number of instances for which capacity assurance is requested at a future time period.
675      },
676      &quot;status&quot;: { # [Output only] Represents status related to the future reservation. # [Output only] Status of the Future Reservation
677        &quot;autoCreatedReservations&quot;: [ # Fully qualified urls of the automatically created reservations at start_time.
678          &quot;A String&quot;,
679        ],
680        &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.
681        &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.
682        &quot;procurementStatus&quot;: &quot;A String&quot;, # Current state of this Future Reservation
683      },
684      &quot;timeWindow&quot;: { # Time window for this Future Reservation.
685        &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.
686          &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.
687          &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
688        },
689        &quot;endTime&quot;: &quot;A String&quot;,
690        &quot;startTime&quot;: &quot;A String&quot;, # Start time of the Future Reservation. The start_time is an RFC3339 string.
691      },
692      &quot;zone&quot;: &quot;A String&quot;, # [Output Only] URL of the Zone where this future reservation resides.
693    },
694  ],
695  &quot;kind&quot;: &quot;compute#futureReservationsListResponse&quot;,
696  &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.
697  &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource.
698  &quot;unreachables&quot;: [ # [Output Only] Unreachable resources.
699    &quot;A String&quot;,
700  ],
701  &quot;warning&quot;: { # [Output Only] Informational warning message.
702    &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.
703    &quot;data&quot;: [ # [Output Only] Metadata about this warning in key: value format. For example: &quot;data&quot;: [ { &quot;key&quot;: &quot;scope&quot;, &quot;value&quot;: &quot;zones/us-east1-d&quot; }
704      {
705        &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).
706        &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
707      },
708    ],
709    &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
710  },
711}</pre>
712</div>
713
714<div class="method">
715    <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
716  <pre>Retrieves the next page of results.
717
718Args:
719  previous_request: The request for the previous page. (required)
720  previous_response: The response from the request for the previous page. (required)
721
722Returns:
723  A request object that you can call &#x27;execute()&#x27; on to request the next
724  page. Returns None if there are no more items in the collection.
725    </pre>
726</div>
727
728<div class="method">
729    <code class="details" id="update">update(project, zone, futureReservation, body=None, paths=None, requestId=None, updateMask=None, x__xgafv=None)</code>
730  <pre>Updates the specified future reservation.
731
732Args:
733  project: string, Project ID for this request. (required)
734  zone: string, Name of the zone for this request. Name should conform to RFC1035. (required)
735  futureReservation: string, Name of the reservation to update. Name should conform to RFC1035. (required)
736  body: object, The request body.
737    The object takes the form of:
738
739{
740  &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] The creation timestamp for this future reservation in RFC3339 text format.
741  &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you create the future reservation.
742  &quot;id&quot;: &quot;A String&quot;, # [Output Only] A unique identifier for this future reservation. The server defines this identifier.
743  &quot;kind&quot;: &quot;compute#futureReservation&quot;,
744  &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.
745  &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-####.
746  &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined fully-qualified URL for this resource.
747  &quot;selfLinkWithId&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource with the resource id.
748  &quot;shareSettings&quot;: { # The share setting for reservations and sole tenancy node groups. # List of Projects/Folders to share with.
749    &quot;folderMap&quot;: { # A map of folder id and folder config to specify consumer projects for this shared-reservation. This is only valid when share_type&#x27;s value is DIRECT_PROJECTS_UNDER_SPECIFIC_FOLDERS. Folder id should be a string of number, and without &quot;folders/&quot; prefix.
750      &quot;a_key&quot;: { # Config for each folder in the share settings.
751        &quot;folderId&quot;: &quot;A String&quot;, # The folder ID, should be same as the key of this folder config in the parent map. Folder id should be a string of number, and without &quot;folders/&quot; prefix.
752      },
753    },
754    &quot;projectMap&quot;: { # A map of project id and project config. This is only valid when share_type&#x27;s value is SPECIFIC_PROJECTS.
755      &quot;a_key&quot;: { # Config for each project in the share settings.
756        &quot;projectId&quot;: &quot;A String&quot;, # The project ID, should be same as the key of this project config in the parent map.
757      },
758    },
759    &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.
760      &quot;A String&quot;,
761    ],
762    &quot;shareType&quot;: &quot;A String&quot;, # Type of sharing for this shared-reservation
763  },
764  &quot;specificSkuProperties&quot;: { # Future Reservation configuration to indicate instance properties and total count.
765    &quot;instanceProperties&quot;: { # Properties of the SKU instances being reserved. Next ID: 9 # Properties of the SKU instances being reserved.
766      &quot;guestAccelerators&quot;: [ # Specifies accelerator type and count.
767        { # A specification of the type and number of accelerator cards attached to the instance.
768          &quot;acceleratorCount&quot;: 42, # The number of the guest accelerator cards exposed to this instance.
769          &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.
770        },
771      ],
772      &quot;localSsds&quot;: [ # Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
773        {
774          &quot;diskSizeGb&quot;: &quot;A String&quot;, # Specifies the size of the disk in base-2 GB.
775          &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.
776        },
777      ],
778      &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.
779      &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.
780      &quot;maintenanceFreezeDurationHours&quot;: 42, # Specifies the number of hours after reservation creation where instances using the reservation won&#x27;t be scheduled for maintenance.
781      &quot;maintenanceInterval&quot;: &quot;A String&quot;, # For more information about maintenance intervals, see Setting maintenance intervals.
782      &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum cpu platform the reservation.
783    },
784    &quot;totalCount&quot;: &quot;A String&quot;, # Total number of instances for which capacity assurance is requested at a future time period.
785  },
786  &quot;status&quot;: { # [Output only] Represents status related to the future reservation. # [Output only] Status of the Future Reservation
787    &quot;autoCreatedReservations&quot;: [ # Fully qualified urls of the automatically created reservations at start_time.
788      &quot;A String&quot;,
789    ],
790    &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.
791    &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.
792    &quot;procurementStatus&quot;: &quot;A String&quot;, # Current state of this Future Reservation
793  },
794  &quot;timeWindow&quot;: { # Time window for this Future Reservation.
795    &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.
796      &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.
797      &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
798    },
799    &quot;endTime&quot;: &quot;A String&quot;,
800    &quot;startTime&quot;: &quot;A String&quot;, # Start time of the Future Reservation. The start_time is an RFC3339 string.
801  },
802  &quot;zone&quot;: &quot;A String&quot;, # [Output Only] URL of the Zone where this future reservation resides.
803}
804
805  paths: string, A parameter (repeated)
806  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. For 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. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
807  updateMask: string, update_mask indicates fields to be updated as part of this request.
808  x__xgafv: string, V1 error format.
809    Allowed values
810      1 - v1 error format
811      2 - v2 error format
812
813Returns:
814  An object of the form:
815
816    { # Represents an Operation resource. Google Compute Engine has three Operation resources: * [Global](/compute/docs/reference/rest/alpha/globalOperations) * [Regional](/compute/docs/reference/rest/alpha/regionOperations) * [Zonal](/compute/docs/reference/rest/alpha/zoneOperations) You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses. Operations can be global, regional or zonal. - For global operations, use the `globalOperations` resource. - For regional operations, use the `regionOperations` resource. - For zonal operations, use the `zonalOperations` resource. For more information, read Global, Regional, and Zonal Resources.
817  &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
818  &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
819  &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is set when the operation is created.
820  &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
821  &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
822    &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this operation.
823      {
824        &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
825        &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error. This property is optional.
826        &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
827      },
828    ],
829  },
830  &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`.
831  &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.
832  &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is defined by the server.
833  &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
834  &quot;kind&quot;: &quot;compute#operation&quot;, # [Output Only] Type of the resource. Always `compute#operation` for Operation resources.
835  &quot;metadata&quot;: { # [Output Only] Service-specific metadata attached to this operation.
836    &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
837  },
838  &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
839  &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.
840  &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.
841  &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.
842  &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
843  &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
844  &quot;selfLinkWithId&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource with the resource id.
845  &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.
846  &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`.
847  &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the operation.
848  &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
849  &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.
850  &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example: `[email protected]`.
851  &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
852    {
853      &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.
854      &quot;data&quot;: [ # [Output Only] Metadata about this warning in key: value format. For example: &quot;data&quot;: [ { &quot;key&quot;: &quot;scope&quot;, &quot;value&quot;: &quot;zones/us-east1-d&quot; }
855        {
856          &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).
857          &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
858        },
859      ],
860      &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
861    },
862  ],
863  &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.
864}</pre>
865</div>
866
867</body></html>