blob: e59c0f1c7af2907878be3ad27fa1e70b81b1c89c [file] [log] [blame]
John Asmuth614db982014-04-24 15:46:26 -04001<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_v1.html">Compute Engine API</a> . <a href="compute_v1.projects.html">projects</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="#get">get(project)</a></code></p>
79<p class="firstline">Returns the specified project resource.</p>
80<p class="toc_element">
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +000081 <code><a href="#moveDisk">moveDisk(project, body)</a></code></p>
82<p class="firstline">Moves a persistent disk from one zone to another.</p>
83<p class="toc_element">
84 <code><a href="#moveInstance">moveInstance(project, body)</a></code></p>
85<p class="firstline">Moves an instance and its attached persistent disks from one zone to another.</p>
86<p class="toc_element">
John Asmuth614db982014-04-24 15:46:26 -040087 <code><a href="#setCommonInstanceMetadata">setCommonInstanceMetadata(project, body)</a></code></p>
88<p class="firstline">Sets metadata common to all instances within the specified project using the data included in the request.</p>
Craig Citro065b5302014-08-14 00:47:23 -070089<p class="toc_element">
90 <code><a href="#setUsageExportBucket">setUsageExportBucket(project, body)</a></code></p>
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +000091<p class="firstline">Enables the usage export feature and sets the usage export bucket where reports are stored. If you provide an empty request body using this method, the usage export feature will be disabled.</p>
John Asmuth614db982014-04-24 15:46:26 -040092<h3>Method Details</h3>
93<div class="method">
94 <code class="details" id="get">get(project)</code>
95 <pre>Returns the specified project resource.
96
97Args:
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +000098 project: string, Project ID for this request. (required)
John Asmuth614db982014-04-24 15:46:26 -040099
100Returns:
101 An object of the form:
102
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000103 { # A Project resource. Projects can only be created in the Google Developers Console. Unless marked otherwise, values can only be modified in the console.
104 "kind": "compute#project", # [Output Only] Type of the resource. Always compute#project for projects.
John Asmuth614db982014-04-24 15:46:26 -0400105 "description": "A String", # An optional textual description of the resource.
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000106 "commonInstanceMetadata": { # A metadata key/value entry. # Metadata key/value pairs available to all instances contained in this project. See Custom metadata for more information.
John Asmuth614db982014-04-24 15:46:26 -0400107 "items": [ # Array of key/value pairs. The total size of all keys and values must be less than 512 KB.
108 {
109 "value": "A String", # Value for the metadata entry. These are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on values is that their size must be less than or equal to 32768 bytes.
110 "key": "A String", # Key for the metadata entry. Keys must conform to the following regexp: [a-zA-Z0-9-_]+, and be less than 128 bytes in length. This is reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project.
111 },
112 ],
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000113 "kind": "compute#metadata", # [Output Only] Type of the resource. Always compute#metadata for metadata.
114 "fingerprint": "A String", # Specifies a fingerprint for this request, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata.
John Asmuth614db982014-04-24 15:46:26 -0400115 },
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000116 "quotas": [ # [Output Only] Quotas assigned to this project.
John Asmuth614db982014-04-24 15:46:26 -0400117 { # A quotas entry.
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000118 "usage": 3.14, # [Output Only] Current usage of this metric.
119 "metric": "A String", # [Output Only] Name of the quota metric.
120 "limit": 3.14, # [Output Only] Quota limit for this metric.
John Asmuth614db982014-04-24 15:46:26 -0400121 },
122 ],
Craig Citro065b5302014-08-14 00:47:23 -0700123 "usageExportLocation": { # The location in Cloud Storage and naming method of the daily usage report. Contains bucket_name and report_name prefix. # The location in Cloud Storage and naming method of the daily usage report.
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000124 "bucketName": "A String", # The name of an existing bucket in Cloud Storage where the usage report object is stored. The Google Service Account is granted write access to this bucket. This is just the bucket name, with no gs:// or https://storage.googleapis.com/ in front of it.
125 "reportNamePrefix": "A String", # An optional prefix for the name of the usage report object stored in bucketName. If not supplied, defaults to usage. The report is stored as a CSV file named report_name_prefix_gce_YYYYMMDD.csv where YYYYMMDD is the day of the usage according to Pacific Time. If you supply a prefix, it should conform to Cloud Storage object naming conventions.
Craig Citro065b5302014-08-14 00:47:23 -0700126 },
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000127 "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
128 "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
129 "selfLink": "A String", # [Output Only] Server defined URL for the resource.
John Asmuth614db982014-04-24 15:46:26 -0400130 "name": "A String", # Name of the resource.
131 }</pre>
132</div>
133
134<div class="method">
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000135 <code class="details" id="moveDisk">moveDisk(project, body)</code>
136 <pre>Moves a persistent disk from one zone to another.
137
138Args:
139 project: string, Project ID for this request. (required)
140 body: object, The request body. (required)
141 The object takes the form of:
142
143{
144 "targetDisk": "A String", # The URL of the target disk to be moved.
145 "destinationZone": "A String", # The URL of the zone to which the disk will be moved.
146 }
147
148
149Returns:
150 An object of the form:
151
152 { # An operation resource, used to manage asynchronous API requests.
153 "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
154 "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project
155 "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
156 "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
157 "zone": "A String", # [Output Only] URL of the zone where the operation resides.
158 "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
159 "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
160 "progress": 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 at when the operation will be complete. This number should be monotonically increasing as the operation progresses.
161 "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
162 "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
163 "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
164 "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
165 "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
166 {
167 "message": "A String", # [Output Only] Optional human-readable details for this warning.
168 "code": "A String", # [Output Only] The warning type identifier for this warning.
169 "data": [ # [Output Only] Metadata for this warning in key: value format.
170 {
171 "value": "A String", # [Output Only] A warning data value corresponding to the key.
172 "key": "A String", # [Output Only] A key for the warning data.
173 },
174 ],
175 },
176 ],
177 "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
178 "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
179 "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
180 "name": "A String", # [Output Only] Name of the resource.
181 "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
182 "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
183 "errors": [ # [Output Only] The array of errors encountered while processing this operation.
184 {
185 "message": "A String", # [Output Only] An optional, human-readable error message.
186 "code": "A String", # [Output Only] The error type identifier for this error.
187 "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
188 },
189 ],
190 },
191 "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
192 "selfLink": "A String", # [Output Only] Server defined URL for the resource.
193 "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
194 }</pre>
195</div>
196
197<div class="method">
198 <code class="details" id="moveInstance">moveInstance(project, body)</code>
199 <pre>Moves an instance and its attached persistent disks from one zone to another.
200
201Args:
202 project: string, Project ID for this request. (required)
203 body: object, The request body. (required)
204 The object takes the form of:
205
206{
207 "targetInstance": "A String", # The URL of the target instance to move.
208 "destinationZone": "A String", # The URL of the zone to move the instance to.
209 }
210
211
212Returns:
213 An object of the form:
214
215 { # An operation resource, used to manage asynchronous API requests.
216 "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
217 "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project
218 "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
219 "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
220 "zone": "A String", # [Output Only] URL of the zone where the operation resides.
221 "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
222 "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
223 "progress": 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 at when the operation will be complete. This number should be monotonically increasing as the operation progresses.
224 "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
225 "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
226 "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
227 "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
228 "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
229 {
230 "message": "A String", # [Output Only] Optional human-readable details for this warning.
231 "code": "A String", # [Output Only] The warning type identifier for this warning.
232 "data": [ # [Output Only] Metadata for this warning in key: value format.
233 {
234 "value": "A String", # [Output Only] A warning data value corresponding to the key.
235 "key": "A String", # [Output Only] A key for the warning data.
236 },
237 ],
238 },
239 ],
240 "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
241 "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
242 "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
243 "name": "A String", # [Output Only] Name of the resource.
244 "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
245 "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
246 "errors": [ # [Output Only] The array of errors encountered while processing this operation.
247 {
248 "message": "A String", # [Output Only] An optional, human-readable error message.
249 "code": "A String", # [Output Only] The error type identifier for this error.
250 "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
251 },
252 ],
253 },
254 "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
255 "selfLink": "A String", # [Output Only] Server defined URL for the resource.
256 "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
257 }</pre>
258</div>
259
260<div class="method">
John Asmuth614db982014-04-24 15:46:26 -0400261 <code class="details" id="setCommonInstanceMetadata">setCommonInstanceMetadata(project, body)</code>
262 <pre>Sets metadata common to all instances within the specified project using the data included in the request.
263
264Args:
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000265 project: string, Project ID for this request. (required)
John Asmuth614db982014-04-24 15:46:26 -0400266 body: object, The request body. (required)
267 The object takes the form of:
268
269{ # A metadata key/value entry.
270 "items": [ # Array of key/value pairs. The total size of all keys and values must be less than 512 KB.
271 {
272 "value": "A String", # Value for the metadata entry. These are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on values is that their size must be less than or equal to 32768 bytes.
273 "key": "A String", # Key for the metadata entry. Keys must conform to the following regexp: [a-zA-Z0-9-_]+, and be less than 128 bytes in length. This is reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project.
274 },
275 ],
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000276 "kind": "compute#metadata", # [Output Only] Type of the resource. Always compute#metadata for metadata.
277 "fingerprint": "A String", # Specifies a fingerprint for this request, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata.
John Asmuth614db982014-04-24 15:46:26 -0400278}
279
280
281Returns:
282 An object of the form:
283
284 { # An operation resource, used to manage asynchronous API requests.
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000285 "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
286 "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project
287 "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
Craig Citroe633be12015-03-02 13:40:36 -0800288 "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000289 "zone": "A String", # [Output Only] URL of the zone where the operation resides.
290 "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
291 "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
292 "progress": 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 at when the operation will be complete. This number should be monotonically increasing as the operation progresses.
293 "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
Craig Citroe633be12015-03-02 13:40:36 -0800294 "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000295 "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
296 "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
297 "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
John Asmuth614db982014-04-24 15:46:26 -0400298 {
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000299 "message": "A String", # [Output Only] Optional human-readable details for this warning.
300 "code": "A String", # [Output Only] The warning type identifier for this warning.
301 "data": [ # [Output Only] Metadata for this warning in key: value format.
John Asmuth614db982014-04-24 15:46:26 -0400302 {
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000303 "value": "A String", # [Output Only] A warning data value corresponding to the key.
304 "key": "A String", # [Output Only] A key for the warning data.
John Asmuth614db982014-04-24 15:46:26 -0400305 },
306 ],
307 },
308 ],
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000309 "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
310 "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
311 "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
312 "name": "A String", # [Output Only] Name of the resource.
313 "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
314 "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
Craig Citroe633be12015-03-02 13:40:36 -0800315 "errors": [ # [Output Only] The array of errors encountered while processing this operation.
John Asmuth614db982014-04-24 15:46:26 -0400316 {
Craig Citroe633be12015-03-02 13:40:36 -0800317 "message": "A String", # [Output Only] An optional, human-readable error message.
318 "code": "A String", # [Output Only] The error type identifier for this error.
319 "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
John Asmuth614db982014-04-24 15:46:26 -0400320 },
321 ],
322 },
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000323 "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
Craig Citroe633be12015-03-02 13:40:36 -0800324 "selfLink": "A String", # [Output Only] Server defined URL for the resource.
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000325 "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
John Asmuth614db982014-04-24 15:46:26 -0400326 }</pre>
327</div>
328
Craig Citro065b5302014-08-14 00:47:23 -0700329<div class="method">
330 <code class="details" id="setUsageExportBucket">setUsageExportBucket(project, body)</code>
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000331 <pre>Enables the usage export feature and sets the usage export bucket where reports are stored. If you provide an empty request body using this method, the usage export feature will be disabled.
Craig Citro065b5302014-08-14 00:47:23 -0700332
333Args:
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000334 project: string, Project ID for this request. (required)
Craig Citro065b5302014-08-14 00:47:23 -0700335 body: object, The request body. (required)
336 The object takes the form of:
337
338{ # The location in Cloud Storage and naming method of the daily usage report. Contains bucket_name and report_name prefix.
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000339 "bucketName": "A String", # The name of an existing bucket in Cloud Storage where the usage report object is stored. The Google Service Account is granted write access to this bucket. This is just the bucket name, with no gs:// or https://storage.googleapis.com/ in front of it.
340 "reportNamePrefix": "A String", # An optional prefix for the name of the usage report object stored in bucketName. If not supplied, defaults to usage. The report is stored as a CSV file named report_name_prefix_gce_YYYYMMDD.csv where YYYYMMDD is the day of the usage according to Pacific Time. If you supply a prefix, it should conform to Cloud Storage object naming conventions.
Craig Citro065b5302014-08-14 00:47:23 -0700341 }
342
343
344Returns:
345 An object of the form:
346
347 { # An operation resource, used to manage asynchronous API requests.
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000348 "targetId": "A String", # [Output Only] Unique target ID which identifies a particular incarnation of the target.
349 "clientOperationId": "A String", # [Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project
350 "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
Craig Citroe633be12015-03-02 13:40:36 -0800351 "id": "A String", # [Output Only] Unique identifier for the resource; defined by the server.
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000352 "zone": "A String", # [Output Only] URL of the zone where the operation resides.
353 "operationType": "A String", # [Output Only] Type of the operation, such as insert, update, and delete.
354 "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
355 "progress": 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 at when the operation will be complete. This number should be monotonically increasing as the operation progresses.
356 "httpErrorStatusCode": 42, # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.
Craig Citroe633be12015-03-02 13:40:36 -0800357 "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000358 "status": "A String", # [Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.
359 "insertTime": "A String", # [Output Only] The time that this operation was requested. This is in RFC3339 text format.
360 "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
Craig Citro065b5302014-08-14 00:47:23 -0700361 {
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000362 "message": "A String", # [Output Only] Optional human-readable details for this warning.
363 "code": "A String", # [Output Only] The warning type identifier for this warning.
364 "data": [ # [Output Only] Metadata for this warning in key: value format.
Craig Citro065b5302014-08-14 00:47:23 -0700365 {
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000366 "value": "A String", # [Output Only] A warning data value corresponding to the key.
367 "key": "A String", # [Output Only] A key for the warning data.
Craig Citro065b5302014-08-14 00:47:23 -0700368 },
369 ],
370 },
371 ],
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000372 "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
373 "startTime": "A String", # [Output Only] The time that this operation was started by the server. This is in RFC3339 text format.
374 "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#Operation for Operation resources.
375 "name": "A String", # [Output Only] Name of the resource.
376 "region": "A String", # [Output Only] URL of the region where the operation resides. Only applicable for regional resources.
377 "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
Craig Citroe633be12015-03-02 13:40:36 -0800378 "errors": [ # [Output Only] The array of errors encountered while processing this operation.
Craig Citro065b5302014-08-14 00:47:23 -0700379 {
Craig Citroe633be12015-03-02 13:40:36 -0800380 "message": "A String", # [Output Only] An optional, human-readable error message.
381 "code": "A String", # [Output Only] The error type identifier for this error.
382 "location": "A String", # [Output Only] Indicates the field in the request which caused the error. This property is optional.
Craig Citro065b5302014-08-14 00:47:23 -0700383 },
384 ],
385 },
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000386 "endTime": "A String", # [Output Only] The time that this operation was completed. This is in RFC3339 text format.
Craig Citroe633be12015-03-02 13:40:36 -0800387 "selfLink": "A String", # [Output Only] Server defined URL for the resource.
Nathaniel Manista5cbe5ba2015-03-10 23:29:22 +0000388 "targetLink": "A String", # [Output Only] URL of the resource the operation is mutating.
Craig Citro065b5302014-08-14 00:47:23 -0700389 }</pre>
390</div>
391
John Asmuth614db982014-04-24 15:46:26 -0400392</body></html>