blob: d27208f98195e6d855938903b41cc62865818faf [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">
yoshi-code-bot36591372021-06-16 00:22:06 -070078 <code><a href="#aggregatedList">aggregatedList(project, filter=None, includeAllScopes=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</a></code></p>
yoshi-code-botc2cd3262021-05-16 02:16:04 -070079<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">
yoshi-code-bot36591372021-06-16 00:22:06 -070084 <code><a href="#cancel">cancel(project, zone, futureReservation, requestId=None, x__xgafv=None)</a></code></p>
yoshi-code-botc2cd3262021-05-16 02:16:04 -070085<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">
yoshi-code-bot36591372021-06-16 00:22:06 -070090 <code><a href="#delete">delete(project, zone, futureReservation, requestId=None, x__xgafv=None)</a></code></p>
yoshi-code-botc2cd3262021-05-16 02:16:04 -070091<p class="firstline">Deletes the specified future reservation.</p>
92<p class="toc_element">
yoshi-code-bot36591372021-06-16 00:22:06 -070093 <code><a href="#get">get(project, zone, futureReservation, x__xgafv=None)</a></code></p>
yoshi-code-botc2cd3262021-05-16 02:16:04 -070094<p class="firstline">Retrieves information about the specified future reservation.</p>
95<p class="toc_element">
yoshi-code-bot36591372021-06-16 00:22:06 -070096 <code><a href="#insert">insert(project, zone, body=None, requestId=None, x__xgafv=None)</a></code></p>
yoshi-code-botc2cd3262021-05-16 02:16:04 -070097<p class="firstline">Creates a new Future Reservation.</p>
98<p class="toc_element">
yoshi-code-bot36591372021-06-16 00:22:06 -070099 <code><a href="#list">list(project, zone, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</a></code></p>
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700100<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">
yoshi-code-bot36591372021-06-16 00:22:06 -0700105 <code><a href="#update">update(project, zone, futureReservation, body=None, paths=None, requestId=None, updateMask=None, x__xgafv=None)</a></code></p>
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700106<p class="firstline">Updates the specified future reservation.</p>
107<h3>Method Details</h3>
108<div class="method">
yoshi-code-bot36591372021-06-16 00:22:06 -0700109 <code class="details" id="aggregatedList">aggregatedList(project, filter=None, includeAllScopes=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</code>
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700110 <pre>Retrieves an aggregated list of future reservations.
111
112Args:
113 project: string, Project ID for this request. (required)
yoshi-code-bot36591372021-06-16 00:22:06 -0700114 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;`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. 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) ```
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700115 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`)
yoshi-code-bot36591372021-06-16 00:22:06 -0700117 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.
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700118 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.
yoshi-code-bot36591372021-06-16 00:22:06 -0700120 x__xgafv: string, V1 error format.
121 Allowed values
122 1 - v1 error format
123 2 - v2 error format
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700124
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.
yoshi-code-bot96afc042021-08-24 00:22:31 -0700133 &quot;futureReservations&quot;: [ # A list of future reservations contained in this scope.
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700134 {
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.
yoshi-code-bot36591372021-06-16 00:22:06 -0700138 &quot;kind&quot;: &quot;compute#futureReservation&quot;,
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700139 &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.
yoshi-code-bot96afc042021-08-24 00:22:31 -0700144 &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.
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.
147 },
148 },
yoshi-code-bot312da312021-09-21 00:22:28 -0700149 &quot;projectMap&quot;: { # A map of project id and project config. Using map format to ease add-to/remove-from the Project list in PATCH command. In future we will deprecate (And later remove) the array one.
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 },
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700154 &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.
yoshi-code-bot36591372021-06-16 00:22:06 -0700186 &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.
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700187 &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 },
yoshi-code-bot36591372021-06-16 00:22:06 -0700194 &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.
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700196 },
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.
yoshi-code-bot36591372021-06-16 00:22:06 -0700202 &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; }
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700203 {
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 },
yoshi-code-bot36591372021-06-16 00:22:06 -0700212 &quot;kind&quot;: &quot;compute#futureReservationsAggregatedListResponse&quot;,
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700213 &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.
yoshi-code-bot36591372021-06-16 00:22:06 -0700220 &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; }
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700221 {
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">
yoshi-code-bot36591372021-06-16 00:22:06 -0700246 <code class="details" id="cancel">cancel(project, zone, futureReservation, requestId=None, x__xgafv=None)</code>
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700247 <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)
yoshi-code-bot36591372021-06-16 00:22:06 -0700253 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
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700258
259Returns:
260 An object of the form:
261
yoshi-code-bot36591372021-06-16 00:22:06 -0700262 { # 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.
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700263 &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;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
282 &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.
283 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.
284 &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.
285 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
286 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
287 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource with the resource id.
288 &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.
289 &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`.
290 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the operation.
291 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
292 &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.
293 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example: `user@example.com`.
294 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
295 {
296 &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.
yoshi-code-bot36591372021-06-16 00:22:06 -0700297 &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; }
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700298 {
299 &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).
300 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
301 },
302 ],
303 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
304 },
305 ],
306 &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.
307}</pre>
308</div>
309
310<div class="method">
311 <code class="details" id="close">close()</code>
312 <pre>Close httplib2 connections.</pre>
313</div>
314
315<div class="method">
yoshi-code-bot36591372021-06-16 00:22:06 -0700316 <code class="details" id="delete">delete(project, zone, futureReservation, requestId=None, x__xgafv=None)</code>
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700317 <pre>Deletes the specified future reservation.
318
319Args:
320 project: string, Project ID for this request. (required)
321 zone: string, Name of the zone for this request. Name should conform to RFC1035. (required)
322 futureReservation: string, Name of the future reservation to retrieve. Name should conform to RFC1035. (required)
yoshi-code-bot36591372021-06-16 00:22:06 -0700323 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).
324 x__xgafv: string, V1 error format.
325 Allowed values
326 1 - v1 error format
327 2 - v2 error format
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700328
329Returns:
330 An object of the form:
331
yoshi-code-bot36591372021-06-16 00:22:06 -0700332 { # 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.
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700333 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
334 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
335 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is set when the operation is created.
336 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
337 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
338 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this operation.
339 {
340 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
341 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error. This property is optional.
342 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
343 },
344 ],
345 },
346 &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`.
347 &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.
348 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is defined by the server.
349 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
350 &quot;kind&quot;: &quot;compute#operation&quot;, # [Output Only] Type of the resource. Always `compute#operation` for Operation resources.
351 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
352 &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.
353 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.
354 &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.
355 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
356 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
357 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource with the resource id.
358 &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.
359 &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`.
360 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the operation.
361 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
362 &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.
363 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example: `user@example.com`.
364 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
365 {
366 &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.
yoshi-code-bot36591372021-06-16 00:22:06 -0700367 &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; }
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700368 {
369 &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).
370 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
371 },
372 ],
373 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
374 },
375 ],
376 &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.
377}</pre>
378</div>
379
380<div class="method">
yoshi-code-bot36591372021-06-16 00:22:06 -0700381 <code class="details" id="get">get(project, zone, futureReservation, x__xgafv=None)</code>
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700382 <pre>Retrieves information about the specified future reservation.
383
384Args:
385 project: string, Project ID for this request. (required)
386 zone: string, Name of the zone for this request. Name should conform to RFC1035. (required)
387 futureReservation: string, Name of the future reservation to retrieve. Name should conform to RFC1035. (required)
yoshi-code-bot36591372021-06-16 00:22:06 -0700388 x__xgafv: string, V1 error format.
389 Allowed values
390 1 - v1 error format
391 2 - v2 error format
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700392
393Returns:
394 An object of the form:
395
396 {
397 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] The creation timestamp for this future reservation in RFC3339 text format.
398 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you create the future reservation.
399 &quot;id&quot;: &quot;A String&quot;, # [Output Only] A unique identifier for this future reservation. The server defines this identifier.
yoshi-code-bot36591372021-06-16 00:22:06 -0700400 &quot;kind&quot;: &quot;compute#futureReservation&quot;,
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700401 &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.
402 &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-####.
403 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined fully-qualified URL for this resource.
404 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource with the resource id.
405 &quot;shareSettings&quot;: { # The share setting for reservations and sole tenancy node groups. # List of Projects/Folders to share with.
yoshi-code-bot96afc042021-08-24 00:22:31 -0700406 &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.
407 &quot;a_key&quot;: { # Config for each folder in the share settings.
408 &quot;folderId&quot;: &quot;A String&quot;, # The folder ID, should be same as the key of this folder config in the parent map.
409 },
410 },
yoshi-code-bot312da312021-09-21 00:22:28 -0700411 &quot;projectMap&quot;: { # A map of project id and project config. Using map format to ease add-to/remove-from the Project list in PATCH command. In future we will deprecate (And later remove) the array one.
412 &quot;a_key&quot;: { # Config for each project in the share settings.
413 &quot;projectId&quot;: &quot;A String&quot;, # The project ID, should be same as the key of this project config in the parent map.
414 },
415 },
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700416 &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.
417 &quot;A String&quot;,
418 ],
419 &quot;shareType&quot;: &quot;A String&quot;, # Type of sharing for this shared-reservation
420 },
421 &quot;specificSkuProperties&quot;: { # Future Reservation configuration to indicate instance properties and total count.
422 &quot;instanceProperties&quot;: { # Properties of the SKU instances being reserved. Next ID: 9 # Properties of the SKU instances being reserved.
423 &quot;guestAccelerators&quot;: [ # Specifies accelerator type and count.
424 { # A specification of the type and number of accelerator cards attached to the instance.
425 &quot;acceleratorCount&quot;: 42, # The number of the guest accelerator cards exposed to this instance.
426 &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.
427 },
428 ],
429 &quot;localSsds&quot;: [ # Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
430 {
431 &quot;diskSizeGb&quot;: &quot;A String&quot;, # Specifies the size of the disk in base-2 GB.
432 &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.
433 },
434 ],
435 &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.
436 &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.
437 &quot;maintenanceFreezeDurationHours&quot;: 42, # Specifies the number of hours after reservation creation where instances using the reservation won&#x27;t be scheduled for maintenance.
438 &quot;maintenanceInterval&quot;: &quot;A String&quot;, # For more information about maintenance intervals, see Setting maintenance intervals.
439 &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum cpu platform the reservation.
440 },
441 &quot;totalCount&quot;: &quot;A String&quot;, # Total number of instances for which capacity assurance is requested at a future time period.
442 },
443 &quot;status&quot;: { # [Output only] Represents status related to the future reservation. # [Output only] Status of the Future Reservation
444 &quot;autoCreatedReservations&quot;: [ # Fully qualified urls of the automatically created reservations at start_time.
445 &quot;A String&quot;,
446 ],
447 &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.
yoshi-code-bot36591372021-06-16 00:22:06 -0700448 &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.
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700449 &quot;procurementStatus&quot;: &quot;A String&quot;, # Current state of this Future Reservation
450 },
451 &quot;timeWindow&quot;: { # Time window for this Future Reservation.
452 &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.
453 &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.
454 &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
455 },
yoshi-code-bot36591372021-06-16 00:22:06 -0700456 &quot;endTime&quot;: &quot;A String&quot;,
457 &quot;startTime&quot;: &quot;A String&quot;, # Start time of the Future Reservation. The start_time is an RFC3339 string.
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700458 },
459 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] URL of the Zone where this future reservation resides.
460}</pre>
461</div>
462
463<div class="method">
yoshi-code-bot36591372021-06-16 00:22:06 -0700464 <code class="details" id="insert">insert(project, zone, body=None, requestId=None, x__xgafv=None)</code>
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700465 <pre>Creates a new Future Reservation.
466
467Args:
468 project: string, Project ID for this request. (required)
469 zone: string, Name of the zone for this request. Name should conform to RFC1035. (required)
470 body: object, The request body.
471 The object takes the form of:
472
473{
474 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] The creation timestamp for this future reservation in RFC3339 text format.
475 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you create the future reservation.
476 &quot;id&quot;: &quot;A String&quot;, # [Output Only] A unique identifier for this future reservation. The server defines this identifier.
yoshi-code-bot36591372021-06-16 00:22:06 -0700477 &quot;kind&quot;: &quot;compute#futureReservation&quot;,
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700478 &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.
479 &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-####.
480 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined fully-qualified URL for this resource.
481 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource with the resource id.
482 &quot;shareSettings&quot;: { # The share setting for reservations and sole tenancy node groups. # List of Projects/Folders to share with.
yoshi-code-bot96afc042021-08-24 00:22:31 -0700483 &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.
484 &quot;a_key&quot;: { # Config for each folder in the share settings.
485 &quot;folderId&quot;: &quot;A String&quot;, # The folder ID, should be same as the key of this folder config in the parent map.
486 },
487 },
yoshi-code-bot312da312021-09-21 00:22:28 -0700488 &quot;projectMap&quot;: { # A map of project id and project config. Using map format to ease add-to/remove-from the Project list in PATCH command. In future we will deprecate (And later remove) the array one.
489 &quot;a_key&quot;: { # Config for each project in the share settings.
490 &quot;projectId&quot;: &quot;A String&quot;, # The project ID, should be same as the key of this project config in the parent map.
491 },
492 },
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700493 &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.
494 &quot;A String&quot;,
495 ],
496 &quot;shareType&quot;: &quot;A String&quot;, # Type of sharing for this shared-reservation
497 },
498 &quot;specificSkuProperties&quot;: { # Future Reservation configuration to indicate instance properties and total count.
499 &quot;instanceProperties&quot;: { # Properties of the SKU instances being reserved. Next ID: 9 # Properties of the SKU instances being reserved.
500 &quot;guestAccelerators&quot;: [ # Specifies accelerator type and count.
501 { # A specification of the type and number of accelerator cards attached to the instance.
502 &quot;acceleratorCount&quot;: 42, # The number of the guest accelerator cards exposed to this instance.
503 &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.
504 },
505 ],
506 &quot;localSsds&quot;: [ # Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
507 {
508 &quot;diskSizeGb&quot;: &quot;A String&quot;, # Specifies the size of the disk in base-2 GB.
509 &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.
510 },
511 ],
512 &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.
513 &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.
514 &quot;maintenanceFreezeDurationHours&quot;: 42, # Specifies the number of hours after reservation creation where instances using the reservation won&#x27;t be scheduled for maintenance.
515 &quot;maintenanceInterval&quot;: &quot;A String&quot;, # For more information about maintenance intervals, see Setting maintenance intervals.
516 &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum cpu platform the reservation.
517 },
518 &quot;totalCount&quot;: &quot;A String&quot;, # Total number of instances for which capacity assurance is requested at a future time period.
519 },
520 &quot;status&quot;: { # [Output only] Represents status related to the future reservation. # [Output only] Status of the Future Reservation
521 &quot;autoCreatedReservations&quot;: [ # Fully qualified urls of the automatically created reservations at start_time.
522 &quot;A String&quot;,
523 ],
524 &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.
yoshi-code-bot36591372021-06-16 00:22:06 -0700525 &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.
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700526 &quot;procurementStatus&quot;: &quot;A String&quot;, # Current state of this Future Reservation
527 },
528 &quot;timeWindow&quot;: { # Time window for this Future Reservation.
529 &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.
530 &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.
531 &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
532 },
yoshi-code-bot36591372021-06-16 00:22:06 -0700533 &quot;endTime&quot;: &quot;A String&quot;,
534 &quot;startTime&quot;: &quot;A String&quot;, # Start time of the Future Reservation. The start_time is an RFC3339 string.
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700535 },
536 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] URL of the Zone where this future reservation resides.
537}
538
yoshi-code-bot36591372021-06-16 00:22:06 -0700539 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).
540 x__xgafv: string, V1 error format.
541 Allowed values
542 1 - v1 error format
543 2 - v2 error format
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700544
545Returns:
546 An object of the form:
547
yoshi-code-bot36591372021-06-16 00:22:06 -0700548 { # 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.
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700549 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
550 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
551 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is set when the operation is created.
552 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
553 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
554 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this operation.
555 {
556 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
557 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error. This property is optional.
558 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
559 },
560 ],
561 },
562 &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`.
563 &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.
564 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is defined by the server.
565 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
566 &quot;kind&quot;: &quot;compute#operation&quot;, # [Output Only] Type of the resource. Always `compute#operation` for Operation resources.
567 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
568 &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.
569 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.
570 &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.
571 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
572 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
573 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource with the resource id.
574 &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.
575 &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`.
576 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the operation.
577 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
578 &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.
579 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example: `user@example.com`.
580 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
581 {
582 &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.
yoshi-code-bot36591372021-06-16 00:22:06 -0700583 &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; }
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700584 {
585 &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).
586 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
587 },
588 ],
589 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
590 },
591 ],
592 &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.
593}</pre>
594</div>
595
596<div class="method">
yoshi-code-bot36591372021-06-16 00:22:06 -0700597 <code class="details" id="list">list(project, zone, filter=None, maxResults=None, orderBy=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</code>
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700598 <pre>A list of all the future reservations that have been configured for the specified project in specified zone.
599
600Args:
601 project: string, Project ID for this request. (required)
602 zone: string, Name of the zone for this request. Name should conform to RFC1035. (required)
yoshi-code-bot36591372021-06-16 00:22:06 -0700603 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;`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. 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) ```
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700604 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`)
yoshi-code-bot36591372021-06-16 00:22:06 -0700605 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.
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700606 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.
607 returnPartialSuccess: boolean, Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
yoshi-code-bot36591372021-06-16 00:22:06 -0700608 x__xgafv: string, V1 error format.
609 Allowed values
610 1 - v1 error format
611 2 - v2 error format
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700612
613Returns:
614 An object of the form:
615
616 {
617 &quot;etag&quot;: &quot;A String&quot;,
618 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
619 &quot;items&quot;: [ # [Output Only] A list of future reservation resources.
620 {
621 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] The creation timestamp for this future reservation in RFC3339 text format.
622 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you create the future reservation.
623 &quot;id&quot;: &quot;A String&quot;, # [Output Only] A unique identifier for this future reservation. The server defines this identifier.
yoshi-code-bot36591372021-06-16 00:22:06 -0700624 &quot;kind&quot;: &quot;compute#futureReservation&quot;,
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700625 &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.
626 &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-####.
627 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined fully-qualified URL for this resource.
628 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource with the resource id.
629 &quot;shareSettings&quot;: { # The share setting for reservations and sole tenancy node groups. # List of Projects/Folders to share with.
yoshi-code-bot96afc042021-08-24 00:22:31 -0700630 &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.
631 &quot;a_key&quot;: { # Config for each folder in the share settings.
632 &quot;folderId&quot;: &quot;A String&quot;, # The folder ID, should be same as the key of this folder config in the parent map.
633 },
634 },
yoshi-code-bot312da312021-09-21 00:22:28 -0700635 &quot;projectMap&quot;: { # A map of project id and project config. Using map format to ease add-to/remove-from the Project list in PATCH command. In future we will deprecate (And later remove) the array one.
636 &quot;a_key&quot;: { # Config for each project in the share settings.
637 &quot;projectId&quot;: &quot;A String&quot;, # The project ID, should be same as the key of this project config in the parent map.
638 },
639 },
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700640 &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.
641 &quot;A String&quot;,
642 ],
643 &quot;shareType&quot;: &quot;A String&quot;, # Type of sharing for this shared-reservation
644 },
645 &quot;specificSkuProperties&quot;: { # Future Reservation configuration to indicate instance properties and total count.
646 &quot;instanceProperties&quot;: { # Properties of the SKU instances being reserved. Next ID: 9 # Properties of the SKU instances being reserved.
647 &quot;guestAccelerators&quot;: [ # Specifies accelerator type and count.
648 { # A specification of the type and number of accelerator cards attached to the instance.
649 &quot;acceleratorCount&quot;: 42, # The number of the guest accelerator cards exposed to this instance.
650 &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.
651 },
652 ],
653 &quot;localSsds&quot;: [ # Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
654 {
655 &quot;diskSizeGb&quot;: &quot;A String&quot;, # Specifies the size of the disk in base-2 GB.
656 &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.
657 },
658 ],
659 &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.
660 &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.
661 &quot;maintenanceFreezeDurationHours&quot;: 42, # Specifies the number of hours after reservation creation where instances using the reservation won&#x27;t be scheduled for maintenance.
662 &quot;maintenanceInterval&quot;: &quot;A String&quot;, # For more information about maintenance intervals, see Setting maintenance intervals.
663 &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum cpu platform the reservation.
664 },
665 &quot;totalCount&quot;: &quot;A String&quot;, # Total number of instances for which capacity assurance is requested at a future time period.
666 },
667 &quot;status&quot;: { # [Output only] Represents status related to the future reservation. # [Output only] Status of the Future Reservation
668 &quot;autoCreatedReservations&quot;: [ # Fully qualified urls of the automatically created reservations at start_time.
669 &quot;A String&quot;,
670 ],
671 &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.
yoshi-code-bot36591372021-06-16 00:22:06 -0700672 &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.
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700673 &quot;procurementStatus&quot;: &quot;A String&quot;, # Current state of this Future Reservation
674 },
675 &quot;timeWindow&quot;: { # Time window for this Future Reservation.
676 &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.
677 &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.
678 &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
679 },
yoshi-code-bot36591372021-06-16 00:22:06 -0700680 &quot;endTime&quot;: &quot;A String&quot;,
681 &quot;startTime&quot;: &quot;A String&quot;, # Start time of the Future Reservation. The start_time is an RFC3339 string.
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700682 },
683 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] URL of the Zone where this future reservation resides.
684 },
685 ],
yoshi-code-bot36591372021-06-16 00:22:06 -0700686 &quot;kind&quot;: &quot;compute#futureReservationsListResponse&quot;,
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700687 &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.
688 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource.
689 &quot;unreachables&quot;: [ # [Output Only] Unreachable resources.
690 &quot;A String&quot;,
691 ],
692 &quot;warning&quot;: { # [Output Only] Informational warning message.
693 &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.
yoshi-code-bot36591372021-06-16 00:22:06 -0700694 &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; }
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700695 {
696 &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).
697 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
698 },
699 ],
700 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
701 },
702}</pre>
703</div>
704
705<div class="method">
706 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
707 <pre>Retrieves the next page of results.
708
709Args:
710 previous_request: The request for the previous page. (required)
711 previous_response: The response from the request for the previous page. (required)
712
713Returns:
714 A request object that you can call &#x27;execute()&#x27; on to request the next
715 page. Returns None if there are no more items in the collection.
716 </pre>
717</div>
718
719<div class="method">
yoshi-code-bot36591372021-06-16 00:22:06 -0700720 <code class="details" id="update">update(project, zone, futureReservation, body=None, paths=None, requestId=None, updateMask=None, x__xgafv=None)</code>
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700721 <pre>Updates the specified future reservation.
722
723Args:
724 project: string, Project ID for this request. (required)
725 zone: string, Name of the zone for this request. Name should conform to RFC1035. (required)
726 futureReservation: string, Name of the reservation to update. Name should conform to RFC1035. (required)
727 body: object, The request body.
728 The object takes the form of:
729
730{
731 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Output Only] The creation timestamp for this future reservation in RFC3339 text format.
732 &quot;description&quot;: &quot;A String&quot;, # An optional description of this resource. Provide this property when you create the future reservation.
733 &quot;id&quot;: &quot;A String&quot;, # [Output Only] A unique identifier for this future reservation. The server defines this identifier.
yoshi-code-bot36591372021-06-16 00:22:06 -0700734 &quot;kind&quot;: &quot;compute#futureReservation&quot;,
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700735 &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.
736 &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-####.
737 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined fully-qualified URL for this resource.
738 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource with the resource id.
739 &quot;shareSettings&quot;: { # The share setting for reservations and sole tenancy node groups. # List of Projects/Folders to share with.
yoshi-code-bot96afc042021-08-24 00:22:31 -0700740 &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.
741 &quot;a_key&quot;: { # Config for each folder in the share settings.
742 &quot;folderId&quot;: &quot;A String&quot;, # The folder ID, should be same as the key of this folder config in the parent map.
743 },
744 },
yoshi-code-bot312da312021-09-21 00:22:28 -0700745 &quot;projectMap&quot;: { # A map of project id and project config. Using map format to ease add-to/remove-from the Project list in PATCH command. In future we will deprecate (And later remove) the array one.
746 &quot;a_key&quot;: { # Config for each project in the share settings.
747 &quot;projectId&quot;: &quot;A String&quot;, # The project ID, should be same as the key of this project config in the parent map.
748 },
749 },
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700750 &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.
751 &quot;A String&quot;,
752 ],
753 &quot;shareType&quot;: &quot;A String&quot;, # Type of sharing for this shared-reservation
754 },
755 &quot;specificSkuProperties&quot;: { # Future Reservation configuration to indicate instance properties and total count.
756 &quot;instanceProperties&quot;: { # Properties of the SKU instances being reserved. Next ID: 9 # Properties of the SKU instances being reserved.
757 &quot;guestAccelerators&quot;: [ # Specifies accelerator type and count.
758 { # A specification of the type and number of accelerator cards attached to the instance.
759 &quot;acceleratorCount&quot;: 42, # The number of the guest accelerator cards exposed to this instance.
760 &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.
761 },
762 ],
763 &quot;localSsds&quot;: [ # Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
764 {
765 &quot;diskSizeGb&quot;: &quot;A String&quot;, # Specifies the size of the disk in base-2 GB.
766 &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.
767 },
768 ],
769 &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.
770 &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.
771 &quot;maintenanceFreezeDurationHours&quot;: 42, # Specifies the number of hours after reservation creation where instances using the reservation won&#x27;t be scheduled for maintenance.
772 &quot;maintenanceInterval&quot;: &quot;A String&quot;, # For more information about maintenance intervals, see Setting maintenance intervals.
773 &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum cpu platform the reservation.
774 },
775 &quot;totalCount&quot;: &quot;A String&quot;, # Total number of instances for which capacity assurance is requested at a future time period.
776 },
777 &quot;status&quot;: { # [Output only] Represents status related to the future reservation. # [Output only] Status of the Future Reservation
778 &quot;autoCreatedReservations&quot;: [ # Fully qualified urls of the automatically created reservations at start_time.
779 &quot;A String&quot;,
780 ],
781 &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.
yoshi-code-bot36591372021-06-16 00:22:06 -0700782 &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.
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700783 &quot;procurementStatus&quot;: &quot;A String&quot;, # Current state of this Future Reservation
784 },
785 &quot;timeWindow&quot;: { # Time window for this Future Reservation.
786 &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.
787 &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.
788 &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
789 },
yoshi-code-bot36591372021-06-16 00:22:06 -0700790 &quot;endTime&quot;: &quot;A String&quot;,
791 &quot;startTime&quot;: &quot;A String&quot;, # Start time of the Future Reservation. The start_time is an RFC3339 string.
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700792 },
793 &quot;zone&quot;: &quot;A String&quot;, # [Output Only] URL of the Zone where this future reservation resides.
794}
795
yoshi-code-bot36591372021-06-16 00:22:06 -0700796 paths: string, A parameter (repeated)
797 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).
798 updateMask: string, update_mask indicates fields to be updated as part of this request.
799 x__xgafv: string, V1 error format.
800 Allowed values
801 1 - v1 error format
802 2 - v2 error format
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700803
804Returns:
805 An object of the form:
806
yoshi-code-bot36591372021-06-16 00:22:06 -0700807 { # 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.
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700808 &quot;clientOperationId&quot;: &quot;A String&quot;, # [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise.
809 &quot;creationTimestamp&quot;: &quot;A String&quot;, # [Deprecated] This field is deprecated.
810 &quot;description&quot;: &quot;A String&quot;, # [Output Only] A textual description of the operation, which is set when the operation is created.
811 &quot;endTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
812 &quot;error&quot;: { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
813 &quot;errors&quot;: [ # [Output Only] The array of errors encountered while processing this operation.
814 {
815 &quot;code&quot;: &quot;A String&quot;, # [Output Only] The error type identifier for this error.
816 &quot;location&quot;: &quot;A String&quot;, # [Output Only] Indicates the field in the request that caused the error. This property is optional.
817 &quot;message&quot;: &quot;A String&quot;, # [Output Only] An optional, human-readable error message.
818 },
819 ],
820 },
821 &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`.
822 &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.
823 &quot;id&quot;: &quot;A String&quot;, # [Output Only] The unique identifier for the operation. This identifier is defined by the server.
824 &quot;insertTime&quot;: &quot;A String&quot;, # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
825 &quot;kind&quot;: &quot;compute#operation&quot;, # [Output Only] Type of the resource. Always `compute#operation` for Operation resources.
826 &quot;name&quot;: &quot;A String&quot;, # [Output Only] Name of the operation.
827 &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.
828 &quot;operationType&quot;: &quot;A String&quot;, # [Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on.
829 &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.
830 &quot;region&quot;: &quot;A String&quot;, # [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations.
831 &quot;selfLink&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for the resource.
832 &quot;selfLinkWithId&quot;: &quot;A String&quot;, # [Output Only] Server-defined URL for this resource with the resource id.
833 &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.
834 &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`.
835 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output Only] An optional textual description of the current status of the operation.
836 &quot;targetId&quot;: &quot;A String&quot;, # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
837 &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.
838 &quot;user&quot;: &quot;A String&quot;, # [Output Only] User who requested the operation, for example: `user@example.com`.
839 &quot;warnings&quot;: [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
840 {
841 &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.
yoshi-code-bot36591372021-06-16 00:22:06 -0700842 &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; }
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700843 {
844 &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).
845 &quot;value&quot;: &quot;A String&quot;, # [Output Only] A warning data value corresponding to the key.
846 },
847 ],
848 &quot;message&quot;: &quot;A String&quot;, # [Output Only] A human-readable description of the warning code.
849 },
850 ],
851 &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.
852}</pre>
853</div>
854
855</body></html>