• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5  margin: 0;
6  padding: 0;
7  border: 0;
8  font-weight: inherit;
9  font-style: inherit;
10  font-size: 100%;
11  font-family: inherit;
12  vertical-align: baseline;
13}
14
15body {
16  font-size: 13px;
17  padding: 1em;
18}
19
20h1 {
21  font-size: 26px;
22  margin-bottom: 1em;
23}
24
25h2 {
26  font-size: 24px;
27  margin-bottom: 1em;
28}
29
30h3 {
31  font-size: 20px;
32  margin-bottom: 1em;
33  margin-top: 1em;
34}
35
36pre, code {
37  line-height: 1.5;
38  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42  margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46  font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50  border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54  margin-top: 0.5em;
55}
56
57.firstline {
58  margin-left: 2 em;
59}
60
61.method  {
62  margin-top: 1em;
63  border: solid 1px #CCC;
64  padding: 1em;
65  background: #EEE;
66}
67
68.details {
69  font-weight: bold;
70  font-size: 14px;
71}
72
73</style>
74
75<h1><a href="compute_v1.html">Compute Engine API</a> . <a href="compute_v1.httpHealthChecks.html">httpHealthChecks</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78  <code><a href="#delete">delete(project, httpHealthCheck)</a></code></p>
79<p class="firstline">Deletes the specified HttpHealthCheck resource.</p>
80<p class="toc_element">
81  <code><a href="#get">get(project, httpHealthCheck)</a></code></p>
82<p class="firstline">Returns the specified HttpHealthCheck resource. Get a list of available HTTP health checks by making a list() request.</p>
83<p class="toc_element">
84  <code><a href="#insert">insert(project, body)</a></code></p>
85<p class="firstline">Creates a HttpHealthCheck resource in the specified project using the data included in the request.</p>
86<p class="toc_element">
87  <code><a href="#list">list(project, orderBy=None, maxResults=None, pageToken=None, filter=None)</a></code></p>
88<p class="firstline">Retrieves the list of HttpHealthCheck resources available to the specified project.</p>
89<p class="toc_element">
90  <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
91<p class="firstline">Retrieves the next page of results.</p>
92<p class="toc_element">
93  <code><a href="#patch">patch(project, httpHealthCheck, body)</a></code></p>
94<p class="firstline">Updates a HttpHealthCheck resource in the specified project using the data included in the request. This method supports patch semantics.</p>
95<p class="toc_element">
96  <code><a href="#update">update(project, httpHealthCheck, body)</a></code></p>
97<p class="firstline">Updates a HttpHealthCheck resource in the specified project using the data included in the request.</p>
98<h3>Method Details</h3>
99<div class="method">
100    <code class="details" id="delete">delete(project, httpHealthCheck)</code>
101  <pre>Deletes the specified HttpHealthCheck resource.
102
103Args:
104  project: string, Project ID for this request. (required)
105  httpHealthCheck: string, Name of the HttpHealthCheck resource to delete. (required)
106
107Returns:
108  An object of the form:
109
110    { # An Operation resource, used to manage asynchronous API requests.
111    "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
112    "clientOperationId": "A String", # [Output Only] Reserved for future use.
113    "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
114    "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
115    "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations.
116    "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
117    "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
118    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
119    "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 when the operation will be complete. This number should monotonically increase as the operation progresses.
120    "httpErrorStatusCode": 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.
121    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
122    "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
123    "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
124    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
125      {
126        "message": "A String", # [Output Only] A human-readable description of the warning code.
127        "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
128        "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
129            # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
130          {
131            "value": "A String", # [Output Only] A warning data value corresponding to the key.
132            "key": "A String", # [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).
133          },
134        ],
135      },
136    ],
137    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
138    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
139    "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
140    "name": "A String", # [Output Only] Name of the resource.
141    "region": "A String", # [Output Only] The URL of the region where the operation resides. Only available when performing regional operations.
142    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
143      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
144        {
145          "message": "A String", # [Output Only] An optional, human-readable error message.
146          "code": "A String", # [Output Only] The error type identifier for this error.
147          "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
148        },
149      ],
150    },
151    "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
152    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
153    "targetLink": "A String", # [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.
154  }</pre>
155</div>
156
157<div class="method">
158    <code class="details" id="get">get(project, httpHealthCheck)</code>
159  <pre>Returns the specified HttpHealthCheck resource. Get a list of available HTTP health checks by making a list() request.
160
161Args:
162  project: string, Project ID for this request. (required)
163  httpHealthCheck: string, Name of the HttpHealthCheck resource to return. (required)
164
165Returns:
166  An object of the form:
167
168    { # An HttpHealthCheck resource. This resource defines a template for how individual instances should be checked for health, via HTTP.
169      "kind": "compute#httpHealthCheck", # [Output Only] Type of the resource. Always compute#httpHealthCheck for HTTP health checks.
170      "description": "A String", # An optional description of this resource. Provide this property when you create the resource.
171      "timeoutSec": 42, # How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have greater value than checkIntervalSec.
172      "checkIntervalSec": 42, # How often (in seconds) to send a health check. The default value is 5 seconds.
173      "port": 42, # The TCP port number for the HTTP health check request. The default value is 80.
174      "healthyThreshold": 42, # A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.
175      "host": "A String", # The value of the host header in the HTTP health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used.
176      "requestPath": "A String", # The request path of the HTTP health check request. The default value is /.
177      "unhealthyThreshold": 42, # A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.
178      "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
179      "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
180      "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
181      "name": "A String", # Name of the resource. Provided by the client when the resource is created. The 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.
182    }</pre>
183</div>
184
185<div class="method">
186    <code class="details" id="insert">insert(project, body)</code>
187  <pre>Creates a HttpHealthCheck resource in the specified project using the data included in the request.
188
189Args:
190  project: string, Project ID for this request. (required)
191  body: object, The request body. (required)
192    The object takes the form of:
193
194{ # An HttpHealthCheck resource. This resource defines a template for how individual instances should be checked for health, via HTTP.
195    "kind": "compute#httpHealthCheck", # [Output Only] Type of the resource. Always compute#httpHealthCheck for HTTP health checks.
196    "description": "A String", # An optional description of this resource. Provide this property when you create the resource.
197    "timeoutSec": 42, # How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have greater value than checkIntervalSec.
198    "checkIntervalSec": 42, # How often (in seconds) to send a health check. The default value is 5 seconds.
199    "port": 42, # The TCP port number for the HTTP health check request. The default value is 80.
200    "healthyThreshold": 42, # A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.
201    "host": "A String", # The value of the host header in the HTTP health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used.
202    "requestPath": "A String", # The request path of the HTTP health check request. The default value is /.
203    "unhealthyThreshold": 42, # A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.
204    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
205    "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
206    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
207    "name": "A String", # Name of the resource. Provided by the client when the resource is created. The 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.
208  }
209
210
211Returns:
212  An object of the form:
213
214    { # An Operation resource, used to manage asynchronous API requests.
215    "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
216    "clientOperationId": "A String", # [Output Only] Reserved for future use.
217    "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
218    "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
219    "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations.
220    "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
221    "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
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 when the operation will be complete. This number should monotonically increase as the operation progresses.
224    "httpErrorStatusCode": 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.
225    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
226    "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
227    "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
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] A human-readable description of the warning code.
231        "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
232        "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
233            # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
234          {
235            "value": "A String", # [Output Only] A warning data value corresponding to the key.
236            "key": "A String", # [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).
237          },
238        ],
239      },
240    ],
241    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
242    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
243    "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
244    "name": "A String", # [Output Only] Name of the resource.
245    "region": "A String", # [Output Only] The URL of the region where the operation resides. Only available when performing regional operations.
246    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
247      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
248        {
249          "message": "A String", # [Output Only] An optional, human-readable error message.
250          "code": "A String", # [Output Only] The error type identifier for this error.
251          "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
252        },
253      ],
254    },
255    "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
256    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
257    "targetLink": "A String", # [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.
258  }</pre>
259</div>
260
261<div class="method">
262    <code class="details" id="list">list(project, orderBy=None, maxResults=None, pageToken=None, filter=None)</code>
263  <pre>Retrieves the list of HttpHealthCheck resources available to the specified project.
264
265Args:
266  project: string, Project ID for this request. (required)
267  orderBy: string, Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
268
269You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". 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.
270
271Currently, only sorting by name or creationTimestamp desc is supported.
272  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)
273  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.
274  filter: string, Sets a filter expression for filtering listed resources, in the form filter={expression}. Your {expression} must be in the format: field_name comparison_string literal_string.
275
276The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.
277
278For example, to filter for instances that do not have a name of example-instance, you would use filter=name ne example-instance.
279
280You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering on nested fields to take advantage of labels to organize and search for results based on label values.
281
282To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters.
283
284Returns:
285  An object of the form:
286
287    { # Contains a list of HttpHealthCheck resources.
288    "nextPageToken": "A String", # [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.
289    "items": [ # A list of HttpHealthCheck resources.
290      { # An HttpHealthCheck resource. This resource defines a template for how individual instances should be checked for health, via HTTP.
291          "kind": "compute#httpHealthCheck", # [Output Only] Type of the resource. Always compute#httpHealthCheck for HTTP health checks.
292          "description": "A String", # An optional description of this resource. Provide this property when you create the resource.
293          "timeoutSec": 42, # How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have greater value than checkIntervalSec.
294          "checkIntervalSec": 42, # How often (in seconds) to send a health check. The default value is 5 seconds.
295          "port": 42, # The TCP port number for the HTTP health check request. The default value is 80.
296          "healthyThreshold": 42, # A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.
297          "host": "A String", # The value of the host header in the HTTP health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used.
298          "requestPath": "A String", # The request path of the HTTP health check request. The default value is /.
299          "unhealthyThreshold": 42, # A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.
300          "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
301          "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
302          "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
303          "name": "A String", # Name of the resource. Provided by the client when the resource is created. The 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.
304        },
305    ],
306    "kind": "compute#httpHealthCheckList", # Type of resource.
307    "id": "A String", # [Output Only] Unique identifier for the resource. Defined by the server.
308    "selfLink": "A String", # [Output Only] Server-defined URL for this resource.
309  }</pre>
310</div>
311
312<div class="method">
313    <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
314  <pre>Retrieves the next page of results.
315
316Args:
317  previous_request: The request for the previous page. (required)
318  previous_response: The response from the request for the previous page. (required)
319
320Returns:
321  A request object that you can call 'execute()' on to request the next
322  page. Returns None if there are no more items in the collection.
323    </pre>
324</div>
325
326<div class="method">
327    <code class="details" id="patch">patch(project, httpHealthCheck, body)</code>
328  <pre>Updates a HttpHealthCheck resource in the specified project using the data included in the request. This method supports patch semantics.
329
330Args:
331  project: string, Project ID for this request. (required)
332  httpHealthCheck: string, Name of the HttpHealthCheck resource to patch. (required)
333  body: object, The request body. (required)
334    The object takes the form of:
335
336{ # An HttpHealthCheck resource. This resource defines a template for how individual instances should be checked for health, via HTTP.
337    "kind": "compute#httpHealthCheck", # [Output Only] Type of the resource. Always compute#httpHealthCheck for HTTP health checks.
338    "description": "A String", # An optional description of this resource. Provide this property when you create the resource.
339    "timeoutSec": 42, # How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have greater value than checkIntervalSec.
340    "checkIntervalSec": 42, # How often (in seconds) to send a health check. The default value is 5 seconds.
341    "port": 42, # The TCP port number for the HTTP health check request. The default value is 80.
342    "healthyThreshold": 42, # A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.
343    "host": "A String", # The value of the host header in the HTTP health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used.
344    "requestPath": "A String", # The request path of the HTTP health check request. The default value is /.
345    "unhealthyThreshold": 42, # A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.
346    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
347    "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
348    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
349    "name": "A String", # Name of the resource. Provided by the client when the resource is created. The 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.
350  }
351
352
353Returns:
354  An object of the form:
355
356    { # An Operation resource, used to manage asynchronous API requests.
357    "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
358    "clientOperationId": "A String", # [Output Only] Reserved for future use.
359    "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
360    "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
361    "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations.
362    "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
363    "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
364    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
365    "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 when the operation will be complete. This number should monotonically increase as the operation progresses.
366    "httpErrorStatusCode": 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.
367    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
368    "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
369    "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
370    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
371      {
372        "message": "A String", # [Output Only] A human-readable description of the warning code.
373        "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
374        "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
375            # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
376          {
377            "value": "A String", # [Output Only] A warning data value corresponding to the key.
378            "key": "A String", # [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).
379          },
380        ],
381      },
382    ],
383    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
384    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
385    "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
386    "name": "A String", # [Output Only] Name of the resource.
387    "region": "A String", # [Output Only] The URL of the region where the operation resides. Only available when performing regional operations.
388    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
389      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
390        {
391          "message": "A String", # [Output Only] An optional, human-readable error message.
392          "code": "A String", # [Output Only] The error type identifier for this error.
393          "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
394        },
395      ],
396    },
397    "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
398    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
399    "targetLink": "A String", # [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.
400  }</pre>
401</div>
402
403<div class="method">
404    <code class="details" id="update">update(project, httpHealthCheck, body)</code>
405  <pre>Updates a HttpHealthCheck resource in the specified project using the data included in the request.
406
407Args:
408  project: string, Project ID for this request. (required)
409  httpHealthCheck: string, Name of the HttpHealthCheck resource to update. (required)
410  body: object, The request body. (required)
411    The object takes the form of:
412
413{ # An HttpHealthCheck resource. This resource defines a template for how individual instances should be checked for health, via HTTP.
414    "kind": "compute#httpHealthCheck", # [Output Only] Type of the resource. Always compute#httpHealthCheck for HTTP health checks.
415    "description": "A String", # An optional description of this resource. Provide this property when you create the resource.
416    "timeoutSec": 42, # How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have greater value than checkIntervalSec.
417    "checkIntervalSec": 42, # How often (in seconds) to send a health check. The default value is 5 seconds.
418    "port": 42, # The TCP port number for the HTTP health check request. The default value is 80.
419    "healthyThreshold": 42, # A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.
420    "host": "A String", # The value of the host header in the HTTP health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used.
421    "requestPath": "A String", # The request path of the HTTP health check request. The default value is /.
422    "unhealthyThreshold": 42, # A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.
423    "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
424    "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
425    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
426    "name": "A String", # Name of the resource. Provided by the client when the resource is created. The 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.
427  }
428
429
430Returns:
431  An object of the form:
432
433    { # An Operation resource, used to manage asynchronous API requests.
434    "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
435    "clientOperationId": "A String", # [Output Only] Reserved for future use.
436    "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
437    "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
438    "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations.
439    "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
440    "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
441    "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
442    "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 when the operation will be complete. This number should monotonically increase as the operation progresses.
443    "httpErrorStatusCode": 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.
444    "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
445    "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
446    "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
447    "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
448      {
449        "message": "A String", # [Output Only] A human-readable description of the warning code.
450        "code": "A String", # [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response.
451        "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
452            # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
453          {
454            "value": "A String", # [Output Only] A warning data value corresponding to the key.
455            "key": "A String", # [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).
456          },
457        ],
458      },
459    ],
460    "user": "A String", # [Output Only] User who requested the operation, for example: user@example.com.
461    "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
462    "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
463    "name": "A String", # [Output Only] Name of the resource.
464    "region": "A String", # [Output Only] The URL of the region where the operation resides. Only available when performing regional operations.
465    "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
466      "errors": [ # [Output Only] The array of errors encountered while processing this operation.
467        {
468          "message": "A String", # [Output Only] An optional, human-readable error message.
469          "code": "A String", # [Output Only] The error type identifier for this error.
470          "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
471        },
472      ],
473    },
474    "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
475    "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
476    "targetLink": "A String", # [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.
477  }</pre>
478</div>
479
480</body></html>