Home | History | Annotate | Download | only in dyn
      1 <html><body>
      2 <style>
      3 
      4 body, 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 
     15 body {
     16   font-size: 13px;
     17   padding: 1em;
     18 }
     19 
     20 h1 {
     21   font-size: 26px;
     22   margin-bottom: 1em;
     23 }
     24 
     25 h2 {
     26   font-size: 24px;
     27   margin-bottom: 1em;
     28 }
     29 
     30 h3 {
     31   font-size: 20px;
     32   margin-bottom: 1em;
     33   margin-top: 1em;
     34 }
     35 
     36 pre, code {
     37   line-height: 1.5;
     38   font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
     39 }
     40 
     41 pre {
     42   margin-top: 0.5em;
     43 }
     44 
     45 h1, h2, h3, p {
     46   font-family: Arial, sans serif;
     47 }
     48 
     49 h1, 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.healthChecks.html">healthChecks</a></h1>
     76 <h2>Instance Methods</h2>
     77 <p class="toc_element">
     78   <code><a href="#delete">delete(project, healthCheck, requestId=None)</a></code></p>
     79 <p class="firstline">Deletes the specified HealthCheck resource.</p>
     80 <p class="toc_element">
     81   <code><a href="#get">get(project, healthCheck)</a></code></p>
     82 <p class="firstline">Returns the specified HealthCheck resource. Get a list of available health checks by making a list() request.</p>
     83 <p class="toc_element">
     84   <code><a href="#insert">insert(project, body, requestId=None)</a></code></p>
     85 <p class="firstline">Creates a HealthCheck 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 HealthCheck 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, healthCheck, body, requestId=None)</a></code></p>
     94 <p class="firstline">Updates a HealthCheck 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="#testIamPermissions">testIamPermissions(project, resource, body)</a></code></p>
     97 <p class="firstline">Returns permissions that a caller has on the specified resource.</p>
     98 <p class="toc_element">
     99   <code><a href="#update">update(project, healthCheck, body, requestId=None)</a></code></p>
    100 <p class="firstline">Updates a HealthCheck resource in the specified project using the data included in the request.</p>
    101 <h3>Method Details</h3>
    102 <div class="method">
    103     <code class="details" id="delete">delete(project, healthCheck, requestId=None)</code>
    104   <pre>Deletes the specified HealthCheck resource.
    105 
    106 Args:
    107   project: string, Project ID for this request. (required)
    108   healthCheck: string, Name of the HealthCheck resource to delete. (required)
    109   requestId: string, begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.
    110 
    111 Returns:
    112   An object of the form:
    113 
    114     { # An Operation resource, used to manage asynchronous API requests.
    115     "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
    116     "clientOperationId": "A String", # [Output Only] Reserved for future use.
    117     "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
    118     "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
    119     "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations.
    120     "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
    121     "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
    122     "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
    123     "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.
    124     "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.
    125     "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
    126     "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
    127     "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
    128     "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
    129       {
    130         "message": "A String", # [Output Only] A human-readable description of the warning code.
    131         "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.
    132         "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
    133             # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
    134           {
    135             "value": "A String", # [Output Only] A warning data value corresponding to the key.
    136             "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).
    137           },
    138         ],
    139       },
    140     ],
    141     "user": "A String", # [Output Only] User who requested the operation, for example: user (a] example.com.
    142     "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
    143     "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
    144     "name": "A String", # [Output Only] Name of the resource.
    145     "region": "A String", # [Output Only] The URL of the region where the operation resides. Only available when performing regional operations.
    146     "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
    147       "errors": [ # [Output Only] The array of errors encountered while processing this operation.
    148         {
    149           "message": "A String", # [Output Only] An optional, human-readable error message.
    150           "code": "A String", # [Output Only] The error type identifier for this error.
    151           "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
    152         },
    153       ],
    154     },
    155     "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
    156     "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
    157     "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.
    158   }</pre>
    159 </div>
    160 
    161 <div class="method">
    162     <code class="details" id="get">get(project, healthCheck)</code>
    163   <pre>Returns the specified HealthCheck resource. Get a list of available health checks by making a list() request.
    164 
    165 Args:
    166   project: string, Project ID for this request. (required)
    167   healthCheck: string, Name of the HealthCheck resource to return. (required)
    168 
    169 Returns:
    170   An object of the form:
    171 
    172     { # An HealthCheck resource. This resource defines a template for how individual virtual machines should be checked for health, via one of the supported protocols.
    173       "kind": "compute#healthCheck", # Type of the resource.
    174       "udpHealthCheck": {
    175         "portName": "A String", # Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
    176         "request": "A String", # Raw data of request to send in payload of UDP packet. It is an error if this is empty. The request data can only be ASCII.
    177         "port": 42, # The UDP port number for the health check request. Valid values are 1 through 65535.
    178         "response": "A String", # The bytes to match against the beginning of the response data. It is an error if this is empty. The response data can only be ASCII.
    179       },
    180       "description": "A String", # An optional description of this resource. Provide this property when you create the resource.
    181       "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.
    182       "type": "A String", # Specifies the type of the healthCheck, either TCP, SSL, HTTP or HTTPS. If not specified, the default is TCP. Exactly one of the protocol-specific health check field must be specified, which must match type field.
    183       "checkIntervalSec": 42, # How often (in seconds) to send a health check. The default value is 5 seconds.
    184       "tcpHealthCheck": {
    185         "portName": "A String", # Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
    186         "request": "A String", # The application data to send once the TCP connection has been established (default value is empty). If both request and response are empty, the connection establishment alone will indicate health. The request data can only be ASCII.
    187         "proxyHeader": "A String", # Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
    188         "port": 42, # The TCP port number for the health check request. The default value is 80. Valid values are 1 through 65535.
    189         "response": "A String", # The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII.
    190       },
    191       "httpHealthCheck": {
    192         "requestPath": "A String", # The request path of the HTTP health check request. The default value is /.
    193         "proxyHeader": "A String", # Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
    194         "port": 42, # The TCP port number for the health check request. The default value is 80. Valid values are 1 through 65535.
    195         "host": "A String", # The value of the host header in the HTTP health check request. If left empty (default value), the IP on behalf of which this health check is performed will be used.
    196         "portName": "A String", # Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
    197         "response": "A String", # The string to match anywhere in the first 1024 bytes of the response body. If left empty (the default value), the status code determines health. The response data can only be ASCII.
    198       },
    199       "httpsHealthCheck": {
    200         "requestPath": "A String", # The request path of the HTTPS health check request. The default value is /.
    201         "proxyHeader": "A String", # Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
    202         "port": 42, # The TCP port number for the health check request. The default value is 443. Valid values are 1 through 65535.
    203         "host": "A String", # The value of the host header in the HTTPS health check request. If left empty (default value), the IP on behalf of which this health check is performed will be used.
    204         "portName": "A String", # Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
    205         "response": "A String", # The string to match anywhere in the first 1024 bytes of the response body. If left empty (the default value), the status code determines health. The response data can only be ASCII.
    206       },
    207       "healthyThreshold": 42, # A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.
    208       "http2HealthCheck": {
    209         "requestPath": "A String", # The request path of the HTTP/2 health check request. The default value is /.
    210         "proxyHeader": "A String", # Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
    211         "port": 42, # The TCP port number for the health check request. The default value is 443. Valid values are 1 through 65535.
    212         "host": "A String", # The value of the host header in the HTTP/2 health check request. If left empty (default value), the IP on behalf of which this health check is performed will be used.
    213         "portName": "A String", # Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
    214         "response": "A String", # The string to match anywhere in the first 1024 bytes of the response body. If left empty (the default value), the status code determines health. The response data can only be ASCII.
    215       },
    216       "unhealthyThreshold": 42, # A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.
    217       "sslHealthCheck": {
    218         "portName": "A String", # Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
    219         "request": "A String", # The application data to send once the SSL connection has been established (default value is empty). If both request and response are empty, the connection establishment alone will indicate health. The request data can only be ASCII.
    220         "proxyHeader": "A String", # Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
    221         "port": 42, # The TCP port number for the health check request. The default value is 443. Valid values are 1 through 65535.
    222         "response": "A String", # The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII.
    223       },
    224       "creationTimestamp": "A String", # [Output Only] Creation timestamp in 3339 text format.
    225       "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
    226       "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
    227       "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.
    228     }</pre>
    229 </div>
    230 
    231 <div class="method">
    232     <code class="details" id="insert">insert(project, body, requestId=None)</code>
    233   <pre>Creates a HealthCheck resource in the specified project using the data included in the request.
    234 
    235 Args:
    236   project: string, Project ID for this request. (required)
    237   body: object, The request body. (required)
    238     The object takes the form of:
    239 
    240 { # An HealthCheck resource. This resource defines a template for how individual virtual machines should be checked for health, via one of the supported protocols.
    241     "kind": "compute#healthCheck", # Type of the resource.
    242     "udpHealthCheck": {
    243       "portName": "A String", # Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
    244       "request": "A String", # Raw data of request to send in payload of UDP packet. It is an error if this is empty. The request data can only be ASCII.
    245       "port": 42, # The UDP port number for the health check request. Valid values are 1 through 65535.
    246       "response": "A String", # The bytes to match against the beginning of the response data. It is an error if this is empty. The response data can only be ASCII.
    247     },
    248     "description": "A String", # An optional description of this resource. Provide this property when you create the resource.
    249     "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.
    250     "type": "A String", # Specifies the type of the healthCheck, either TCP, SSL, HTTP or HTTPS. If not specified, the default is TCP. Exactly one of the protocol-specific health check field must be specified, which must match type field.
    251     "checkIntervalSec": 42, # How often (in seconds) to send a health check. The default value is 5 seconds.
    252     "tcpHealthCheck": {
    253       "portName": "A String", # Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
    254       "request": "A String", # The application data to send once the TCP connection has been established (default value is empty). If both request and response are empty, the connection establishment alone will indicate health. The request data can only be ASCII.
    255       "proxyHeader": "A String", # Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
    256       "port": 42, # The TCP port number for the health check request. The default value is 80. Valid values are 1 through 65535.
    257       "response": "A String", # The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII.
    258     },
    259     "httpHealthCheck": {
    260       "requestPath": "A String", # The request path of the HTTP health check request. The default value is /.
    261       "proxyHeader": "A String", # Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
    262       "port": 42, # The TCP port number for the health check request. The default value is 80. Valid values are 1 through 65535.
    263       "host": "A String", # The value of the host header in the HTTP health check request. If left empty (default value), the IP on behalf of which this health check is performed will be used.
    264       "portName": "A String", # Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
    265       "response": "A String", # The string to match anywhere in the first 1024 bytes of the response body. If left empty (the default value), the status code determines health. The response data can only be ASCII.
    266     },
    267     "httpsHealthCheck": {
    268       "requestPath": "A String", # The request path of the HTTPS health check request. The default value is /.
    269       "proxyHeader": "A String", # Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
    270       "port": 42, # The TCP port number for the health check request. The default value is 443. Valid values are 1 through 65535.
    271       "host": "A String", # The value of the host header in the HTTPS health check request. If left empty (default value), the IP on behalf of which this health check is performed will be used.
    272       "portName": "A String", # Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
    273       "response": "A String", # The string to match anywhere in the first 1024 bytes of the response body. If left empty (the default value), the status code determines health. The response data can only be ASCII.
    274     },
    275     "healthyThreshold": 42, # A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.
    276     "http2HealthCheck": {
    277       "requestPath": "A String", # The request path of the HTTP/2 health check request. The default value is /.
    278       "proxyHeader": "A String", # Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
    279       "port": 42, # The TCP port number for the health check request. The default value is 443. Valid values are 1 through 65535.
    280       "host": "A String", # The value of the host header in the HTTP/2 health check request. If left empty (default value), the IP on behalf of which this health check is performed will be used.
    281       "portName": "A String", # Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
    282       "response": "A String", # The string to match anywhere in the first 1024 bytes of the response body. If left empty (the default value), the status code determines health. The response data can only be ASCII.
    283     },
    284     "unhealthyThreshold": 42, # A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.
    285     "sslHealthCheck": {
    286       "portName": "A String", # Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
    287       "request": "A String", # The application data to send once the SSL connection has been established (default value is empty). If both request and response are empty, the connection establishment alone will indicate health. The request data can only be ASCII.
    288       "proxyHeader": "A String", # Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
    289       "port": 42, # The TCP port number for the health check request. The default value is 443. Valid values are 1 through 65535.
    290       "response": "A String", # The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII.
    291     },
    292     "creationTimestamp": "A String", # [Output Only] Creation timestamp in 3339 text format.
    293     "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
    294     "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
    295     "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.
    296   }
    297 
    298   requestId: string, begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.
    299 
    300 Returns:
    301   An object of the form:
    302 
    303     { # An Operation resource, used to manage asynchronous API requests.
    304     "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
    305     "clientOperationId": "A String", # [Output Only] Reserved for future use.
    306     "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
    307     "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
    308     "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations.
    309     "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
    310     "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
    311     "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
    312     "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.
    313     "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.
    314     "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
    315     "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
    316     "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
    317     "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
    318       {
    319         "message": "A String", # [Output Only] A human-readable description of the warning code.
    320         "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.
    321         "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
    322             # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
    323           {
    324             "value": "A String", # [Output Only] A warning data value corresponding to the key.
    325             "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).
    326           },
    327         ],
    328       },
    329     ],
    330     "user": "A String", # [Output Only] User who requested the operation, for example: user (a] example.com.
    331     "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
    332     "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
    333     "name": "A String", # [Output Only] Name of the resource.
    334     "region": "A String", # [Output Only] The URL of the region where the operation resides. Only available when performing regional operations.
    335     "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
    336       "errors": [ # [Output Only] The array of errors encountered while processing this operation.
    337         {
    338           "message": "A String", # [Output Only] An optional, human-readable error message.
    339           "code": "A String", # [Output Only] The error type identifier for this error.
    340           "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
    341         },
    342       ],
    343     },
    344     "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
    345     "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
    346     "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.
    347   }</pre>
    348 </div>
    349 
    350 <div class="method">
    351     <code class="details" id="list">list(project, orderBy=None, maxResults=None, pageToken=None, filter=None)</code>
    352   <pre>Retrieves the list of HealthCheck resources available to the specified project.
    353 
    354 Args:
    355   project: string, Project ID for this request. (required)
    356   orderBy: string, Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
    357 
    358 You 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.
    359 
    360 Currently, only sorting by name or creationTimestamp desc is supported.
    361   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)
    362   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.
    363   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.
    364 
    365 The 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.
    366 
    367 For example, to filter for instances that do not have a name of example-instance, you would use filter=name ne example-instance.
    368 
    369 You 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.
    370 
    371 To 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.
    372 
    373 Returns:
    374   An object of the form:
    375 
    376     { # Contains a list of HealthCheck resources.
    377     "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.
    378     "items": [ # A list of HealthCheck resources.
    379       { # An HealthCheck resource. This resource defines a template for how individual virtual machines should be checked for health, via one of the supported protocols.
    380           "kind": "compute#healthCheck", # Type of the resource.
    381           "udpHealthCheck": {
    382             "portName": "A String", # Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
    383             "request": "A String", # Raw data of request to send in payload of UDP packet. It is an error if this is empty. The request data can only be ASCII.
    384             "port": 42, # The UDP port number for the health check request. Valid values are 1 through 65535.
    385             "response": "A String", # The bytes to match against the beginning of the response data. It is an error if this is empty. The response data can only be ASCII.
    386           },
    387           "description": "A String", # An optional description of this resource. Provide this property when you create the resource.
    388           "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.
    389           "type": "A String", # Specifies the type of the healthCheck, either TCP, SSL, HTTP or HTTPS. If not specified, the default is TCP. Exactly one of the protocol-specific health check field must be specified, which must match type field.
    390           "checkIntervalSec": 42, # How often (in seconds) to send a health check. The default value is 5 seconds.
    391           "tcpHealthCheck": {
    392             "portName": "A String", # Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
    393             "request": "A String", # The application data to send once the TCP connection has been established (default value is empty). If both request and response are empty, the connection establishment alone will indicate health. The request data can only be ASCII.
    394             "proxyHeader": "A String", # Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
    395             "port": 42, # The TCP port number for the health check request. The default value is 80. Valid values are 1 through 65535.
    396             "response": "A String", # The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII.
    397           },
    398           "httpHealthCheck": {
    399             "requestPath": "A String", # The request path of the HTTP health check request. The default value is /.
    400             "proxyHeader": "A String", # Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
    401             "port": 42, # The TCP port number for the health check request. The default value is 80. Valid values are 1 through 65535.
    402             "host": "A String", # The value of the host header in the HTTP health check request. If left empty (default value), the IP on behalf of which this health check is performed will be used.
    403             "portName": "A String", # Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
    404             "response": "A String", # The string to match anywhere in the first 1024 bytes of the response body. If left empty (the default value), the status code determines health. The response data can only be ASCII.
    405           },
    406           "httpsHealthCheck": {
    407             "requestPath": "A String", # The request path of the HTTPS health check request. The default value is /.
    408             "proxyHeader": "A String", # Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
    409             "port": 42, # The TCP port number for the health check request. The default value is 443. Valid values are 1 through 65535.
    410             "host": "A String", # The value of the host header in the HTTPS health check request. If left empty (default value), the IP on behalf of which this health check is performed will be used.
    411             "portName": "A String", # Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
    412             "response": "A String", # The string to match anywhere in the first 1024 bytes of the response body. If left empty (the default value), the status code determines health. The response data can only be ASCII.
    413           },
    414           "healthyThreshold": 42, # A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.
    415           "http2HealthCheck": {
    416             "requestPath": "A String", # The request path of the HTTP/2 health check request. The default value is /.
    417             "proxyHeader": "A String", # Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
    418             "port": 42, # The TCP port number for the health check request. The default value is 443. Valid values are 1 through 65535.
    419             "host": "A String", # The value of the host header in the HTTP/2 health check request. If left empty (default value), the IP on behalf of which this health check is performed will be used.
    420             "portName": "A String", # Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
    421             "response": "A String", # The string to match anywhere in the first 1024 bytes of the response body. If left empty (the default value), the status code determines health. The response data can only be ASCII.
    422           },
    423           "unhealthyThreshold": 42, # A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.
    424           "sslHealthCheck": {
    425             "portName": "A String", # Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
    426             "request": "A String", # The application data to send once the SSL connection has been established (default value is empty). If both request and response are empty, the connection establishment alone will indicate health. The request data can only be ASCII.
    427             "proxyHeader": "A String", # Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
    428             "port": 42, # The TCP port number for the health check request. The default value is 443. Valid values are 1 through 65535.
    429             "response": "A String", # The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII.
    430           },
    431           "creationTimestamp": "A String", # [Output Only] Creation timestamp in 3339 text format.
    432           "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
    433           "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
    434           "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.
    435         },
    436     ],
    437     "kind": "compute#healthCheckList", # Type of resource.
    438     "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
    439     "selfLink": "A String", # [Output Only] Server-defined URL for this resource.
    440   }</pre>
    441 </div>
    442 
    443 <div class="method">
    444     <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
    445   <pre>Retrieves the next page of results.
    446 
    447 Args:
    448   previous_request: The request for the previous page. (required)
    449   previous_response: The response from the request for the previous page. (required)
    450 
    451 Returns:
    452   A request object that you can call 'execute()' on to request the next
    453   page. Returns None if there are no more items in the collection.
    454     </pre>
    455 </div>
    456 
    457 <div class="method">
    458     <code class="details" id="patch">patch(project, healthCheck, body, requestId=None)</code>
    459   <pre>Updates a HealthCheck resource in the specified project using the data included in the request. This method supports patch semantics.
    460 
    461 Args:
    462   project: string, Project ID for this request. (required)
    463   healthCheck: string, Name of the HealthCheck resource to patch. (required)
    464   body: object, The request body. (required)
    465     The object takes the form of:
    466 
    467 { # An HealthCheck resource. This resource defines a template for how individual virtual machines should be checked for health, via one of the supported protocols.
    468     "kind": "compute#healthCheck", # Type of the resource.
    469     "udpHealthCheck": {
    470       "portName": "A String", # Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
    471       "request": "A String", # Raw data of request to send in payload of UDP packet. It is an error if this is empty. The request data can only be ASCII.
    472       "port": 42, # The UDP port number for the health check request. Valid values are 1 through 65535.
    473       "response": "A String", # The bytes to match against the beginning of the response data. It is an error if this is empty. The response data can only be ASCII.
    474     },
    475     "description": "A String", # An optional description of this resource. Provide this property when you create the resource.
    476     "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.
    477     "type": "A String", # Specifies the type of the healthCheck, either TCP, SSL, HTTP or HTTPS. If not specified, the default is TCP. Exactly one of the protocol-specific health check field must be specified, which must match type field.
    478     "checkIntervalSec": 42, # How often (in seconds) to send a health check. The default value is 5 seconds.
    479     "tcpHealthCheck": {
    480       "portName": "A String", # Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
    481       "request": "A String", # The application data to send once the TCP connection has been established (default value is empty). If both request and response are empty, the connection establishment alone will indicate health. The request data can only be ASCII.
    482       "proxyHeader": "A String", # Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
    483       "port": 42, # The TCP port number for the health check request. The default value is 80. Valid values are 1 through 65535.
    484       "response": "A String", # The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII.
    485     },
    486     "httpHealthCheck": {
    487       "requestPath": "A String", # The request path of the HTTP health check request. The default value is /.
    488       "proxyHeader": "A String", # Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
    489       "port": 42, # The TCP port number for the health check request. The default value is 80. Valid values are 1 through 65535.
    490       "host": "A String", # The value of the host header in the HTTP health check request. If left empty (default value), the IP on behalf of which this health check is performed will be used.
    491       "portName": "A String", # Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
    492       "response": "A String", # The string to match anywhere in the first 1024 bytes of the response body. If left empty (the default value), the status code determines health. The response data can only be ASCII.
    493     },
    494     "httpsHealthCheck": {
    495       "requestPath": "A String", # The request path of the HTTPS health check request. The default value is /.
    496       "proxyHeader": "A String", # Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
    497       "port": 42, # The TCP port number for the health check request. The default value is 443. Valid values are 1 through 65535.
    498       "host": "A String", # The value of the host header in the HTTPS health check request. If left empty (default value), the IP on behalf of which this health check is performed will be used.
    499       "portName": "A String", # Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
    500       "response": "A String", # The string to match anywhere in the first 1024 bytes of the response body. If left empty (the default value), the status code determines health. The response data can only be ASCII.
    501     },
    502     "healthyThreshold": 42, # A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.
    503     "http2HealthCheck": {
    504       "requestPath": "A String", # The request path of the HTTP/2 health check request. The default value is /.
    505       "proxyHeader": "A String", # Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
    506       "port": 42, # The TCP port number for the health check request. The default value is 443. Valid values are 1 through 65535.
    507       "host": "A String", # The value of the host header in the HTTP/2 health check request. If left empty (default value), the IP on behalf of which this health check is performed will be used.
    508       "portName": "A String", # Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
    509       "response": "A String", # The string to match anywhere in the first 1024 bytes of the response body. If left empty (the default value), the status code determines health. The response data can only be ASCII.
    510     },
    511     "unhealthyThreshold": 42, # A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.
    512     "sslHealthCheck": {
    513       "portName": "A String", # Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
    514       "request": "A String", # The application data to send once the SSL connection has been established (default value is empty). If both request and response are empty, the connection establishment alone will indicate health. The request data can only be ASCII.
    515       "proxyHeader": "A String", # Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
    516       "port": 42, # The TCP port number for the health check request. The default value is 443. Valid values are 1 through 65535.
    517       "response": "A String", # The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII.
    518     },
    519     "creationTimestamp": "A String", # [Output Only] Creation timestamp in 3339 text format.
    520     "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
    521     "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
    522     "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.
    523   }
    524 
    525   requestId: string, begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.
    526 
    527 Returns:
    528   An object of the form:
    529 
    530     { # An Operation resource, used to manage asynchronous API requests.
    531     "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
    532     "clientOperationId": "A String", # [Output Only] Reserved for future use.
    533     "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
    534     "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
    535     "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations.
    536     "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
    537     "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
    538     "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
    539     "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.
    540     "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.
    541     "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
    542     "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
    543     "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
    544     "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
    545       {
    546         "message": "A String", # [Output Only] A human-readable description of the warning code.
    547         "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.
    548         "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
    549             # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
    550           {
    551             "value": "A String", # [Output Only] A warning data value corresponding to the key.
    552             "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).
    553           },
    554         ],
    555       },
    556     ],
    557     "user": "A String", # [Output Only] User who requested the operation, for example: user (a] example.com.
    558     "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
    559     "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
    560     "name": "A String", # [Output Only] Name of the resource.
    561     "region": "A String", # [Output Only] The URL of the region where the operation resides. Only available when performing regional operations.
    562     "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
    563       "errors": [ # [Output Only] The array of errors encountered while processing this operation.
    564         {
    565           "message": "A String", # [Output Only] An optional, human-readable error message.
    566           "code": "A String", # [Output Only] The error type identifier for this error.
    567           "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
    568         },
    569       ],
    570     },
    571     "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
    572     "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
    573     "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.
    574   }</pre>
    575 </div>
    576 
    577 <div class="method">
    578     <code class="details" id="testIamPermissions">testIamPermissions(project, resource, body)</code>
    579   <pre>Returns permissions that a caller has on the specified resource.
    580 
    581 Args:
    582   project: string, Project ID for this request. (required)
    583   resource: string, Name of the resource for this request. (required)
    584   body: object, The request body. (required)
    585     The object takes the form of:
    586 
    587 {
    588     "permissions": [ # The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.
    589       "A String",
    590     ],
    591   }
    592 
    593 
    594 Returns:
    595   An object of the form:
    596 
    597     {
    598     "permissions": [ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
    599       "A String",
    600     ],
    601   }</pre>
    602 </div>
    603 
    604 <div class="method">
    605     <code class="details" id="update">update(project, healthCheck, body, requestId=None)</code>
    606   <pre>Updates a HealthCheck resource in the specified project using the data included in the request.
    607 
    608 Args:
    609   project: string, Project ID for this request. (required)
    610   healthCheck: string, Name of the HealthCheck resource to update. (required)
    611   body: object, The request body. (required)
    612     The object takes the form of:
    613 
    614 { # An HealthCheck resource. This resource defines a template for how individual virtual machines should be checked for health, via one of the supported protocols.
    615     "kind": "compute#healthCheck", # Type of the resource.
    616     "udpHealthCheck": {
    617       "portName": "A String", # Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
    618       "request": "A String", # Raw data of request to send in payload of UDP packet. It is an error if this is empty. The request data can only be ASCII.
    619       "port": 42, # The UDP port number for the health check request. Valid values are 1 through 65535.
    620       "response": "A String", # The bytes to match against the beginning of the response data. It is an error if this is empty. The response data can only be ASCII.
    621     },
    622     "description": "A String", # An optional description of this resource. Provide this property when you create the resource.
    623     "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.
    624     "type": "A String", # Specifies the type of the healthCheck, either TCP, SSL, HTTP or HTTPS. If not specified, the default is TCP. Exactly one of the protocol-specific health check field must be specified, which must match type field.
    625     "checkIntervalSec": 42, # How often (in seconds) to send a health check. The default value is 5 seconds.
    626     "tcpHealthCheck": {
    627       "portName": "A String", # Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
    628       "request": "A String", # The application data to send once the TCP connection has been established (default value is empty). If both request and response are empty, the connection establishment alone will indicate health. The request data can only be ASCII.
    629       "proxyHeader": "A String", # Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
    630       "port": 42, # The TCP port number for the health check request. The default value is 80. Valid values are 1 through 65535.
    631       "response": "A String", # The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII.
    632     },
    633     "httpHealthCheck": {
    634       "requestPath": "A String", # The request path of the HTTP health check request. The default value is /.
    635       "proxyHeader": "A String", # Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
    636       "port": 42, # The TCP port number for the health check request. The default value is 80. Valid values are 1 through 65535.
    637       "host": "A String", # The value of the host header in the HTTP health check request. If left empty (default value), the IP on behalf of which this health check is performed will be used.
    638       "portName": "A String", # Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
    639       "response": "A String", # The string to match anywhere in the first 1024 bytes of the response body. If left empty (the default value), the status code determines health. The response data can only be ASCII.
    640     },
    641     "httpsHealthCheck": {
    642       "requestPath": "A String", # The request path of the HTTPS health check request. The default value is /.
    643       "proxyHeader": "A String", # Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
    644       "port": 42, # The TCP port number for the health check request. The default value is 443. Valid values are 1 through 65535.
    645       "host": "A String", # The value of the host header in the HTTPS health check request. If left empty (default value), the IP on behalf of which this health check is performed will be used.
    646       "portName": "A String", # Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
    647       "response": "A String", # The string to match anywhere in the first 1024 bytes of the response body. If left empty (the default value), the status code determines health. The response data can only be ASCII.
    648     },
    649     "healthyThreshold": 42, # A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.
    650     "http2HealthCheck": {
    651       "requestPath": "A String", # The request path of the HTTP/2 health check request. The default value is /.
    652       "proxyHeader": "A String", # Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
    653       "port": 42, # The TCP port number for the health check request. The default value is 443. Valid values are 1 through 65535.
    654       "host": "A String", # The value of the host header in the HTTP/2 health check request. If left empty (default value), the IP on behalf of which this health check is performed will be used.
    655       "portName": "A String", # Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
    656       "response": "A String", # The string to match anywhere in the first 1024 bytes of the response body. If left empty (the default value), the status code determines health. The response data can only be ASCII.
    657     },
    658     "unhealthyThreshold": 42, # A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.
    659     "sslHealthCheck": {
    660       "portName": "A String", # Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence.
    661       "request": "A String", # The application data to send once the SSL connection has been established (default value is empty). If both request and response are empty, the connection establishment alone will indicate health. The request data can only be ASCII.
    662       "proxyHeader": "A String", # Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE.
    663       "port": 42, # The TCP port number for the health check request. The default value is 443. Valid values are 1 through 65535.
    664       "response": "A String", # The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII.
    665     },
    666     "creationTimestamp": "A String", # [Output Only] Creation timestamp in 3339 text format.
    667     "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
    668     "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
    669     "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.
    670   }
    671 
    672   requestId: string, begin_interface: MixerMutationRequestBuilder Request ID to support idempotency.
    673 
    674 Returns:
    675   An object of the form:
    676 
    677     { # An Operation resource, used to manage asynchronous API requests.
    678     "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
    679     "clientOperationId": "A String", # [Output Only] Reserved for future use.
    680     "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
    681     "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
    682     "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations.
    683     "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
    684     "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
    685     "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
    686     "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.
    687     "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.
    688     "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
    689     "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
    690     "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
    691     "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
    692       {
    693         "message": "A String", # [Output Only] A human-readable description of the warning code.
    694         "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.
    695         "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
    696             # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
    697           {
    698             "value": "A String", # [Output Only] A warning data value corresponding to the key.
    699             "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).
    700           },
    701         ],
    702       },
    703     ],
    704     "user": "A String", # [Output Only] User who requested the operation, for example: user (a] example.com.
    705     "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
    706     "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
    707     "name": "A String", # [Output Only] Name of the resource.
    708     "region": "A String", # [Output Only] The URL of the region where the operation resides. Only available when performing regional operations.
    709     "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
    710       "errors": [ # [Output Only] The array of errors encountered while processing this operation.
    711         {
    712           "message": "A String", # [Output Only] An optional, human-readable error message.
    713           "code": "A String", # [Output Only] The error type identifier for this error.
    714           "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
    715         },
    716       ],
    717     },
    718     "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
    719     "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
    720     "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.
    721   }</pre>
    722 </div>
    723 
    724 </body></html>