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_beta.html">Compute Engine API</a> . <a href="compute_beta.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="#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, httpHealthCheck, body)</a></code></p>
    100 <p class="firstline">Updates a HttpHealthCheck 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, httpHealthCheck)</code>
    104   <pre>Deletes the specified HttpHealthCheck resource.
    105 
    106 Args:
    107   project: string, Project ID for this request. (required)
    108   httpHealthCheck: string, Name of the HttpHealthCheck resource to delete. (required)
    109 
    110 Returns:
    111   An object of the form:
    112 
    113     { # An Operation resource, used to manage asynchronous API requests.
    114     "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
    115     "clientOperationId": "A String", # [Output Only] Reserved for future use.
    116     "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
    117     "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
    118     "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations.
    119     "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
    120     "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
    121     "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
    122     "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.
    123     "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.
    124     "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
    125     "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
    126     "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
    127     "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
    128       {
    129         "message": "A String", # [Output Only] A human-readable description of the warning code.
    130         "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.
    131         "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
    132             # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
    133           {
    134             "value": "A String", # [Output Only] A warning data value corresponding to the key.
    135             "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).
    136           },
    137         ],
    138       },
    139     ],
    140     "user": "A String", # [Output Only] User who requested the operation, for example: user (a] example.com.
    141     "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
    142     "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
    143     "name": "A String", # [Output Only] Name of the resource.
    144     "region": "A String", # [Output Only] The URL of the region where the operation resides. Only available when performing regional operations.
    145     "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
    146       "errors": [ # [Output Only] The array of errors encountered while processing this operation.
    147         {
    148           "message": "A String", # [Output Only] An optional, human-readable error message.
    149           "code": "A String", # [Output Only] The error type identifier for this error.
    150           "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
    151         },
    152       ],
    153     },
    154     "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
    155     "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
    156     "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.
    157   }</pre>
    158 </div>
    159 
    160 <div class="method">
    161     <code class="details" id="get">get(project, httpHealthCheck)</code>
    162   <pre>Returns the specified HttpHealthCheck resource. Get a list of available HTTP health checks by making a list() request.
    163 
    164 Args:
    165   project: string, Project ID for this request. (required)
    166   httpHealthCheck: string, Name of the HttpHealthCheck resource to return. (required)
    167 
    168 Returns:
    169   An object of the form:
    170 
    171     { # An HttpHealthCheck resource. This resource defines a template for how individual instances should be checked for health, via HTTP.
    172       "kind": "compute#httpHealthCheck", # [Output Only] Type of the resource. Always compute#httpHealthCheck for HTTP health checks.
    173       "description": "A String", # An optional description of this resource. Provide this property when you create the resource.
    174       "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.
    175       "checkIntervalSec": 42, # How often (in seconds) to send a health check. The default value is 5 seconds.
    176       "port": 42, # The TCP port number for the HTTP health check request. The default value is 80.
    177       "healthyThreshold": 42, # A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.
    178       "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.
    179       "requestPath": "A String", # The request path of the HTTP health check request. The default value is /.
    180       "unhealthyThreshold": 42, # A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.
    181       "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
    182       "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
    183       "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
    184       "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.
    185     }</pre>
    186 </div>
    187 
    188 <div class="method">
    189     <code class="details" id="insert">insert(project, body)</code>
    190   <pre>Creates a HttpHealthCheck resource in the specified project using the data included in the request.
    191 
    192 Args:
    193   project: string, Project ID for this request. (required)
    194   body: object, The request body. (required)
    195     The object takes the form of:
    196 
    197 { # An HttpHealthCheck resource. This resource defines a template for how individual instances should be checked for health, via HTTP.
    198     "kind": "compute#httpHealthCheck", # [Output Only] Type of the resource. Always compute#httpHealthCheck for HTTP health checks.
    199     "description": "A String", # An optional description of this resource. Provide this property when you create the resource.
    200     "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.
    201     "checkIntervalSec": 42, # How often (in seconds) to send a health check. The default value is 5 seconds.
    202     "port": 42, # The TCP port number for the HTTP health check request. The default value is 80.
    203     "healthyThreshold": 42, # A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.
    204     "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.
    205     "requestPath": "A String", # The request path of the HTTP health check request. The default value is /.
    206     "unhealthyThreshold": 42, # A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.
    207     "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
    208     "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
    209     "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
    210     "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.
    211   }
    212 
    213 
    214 Returns:
    215   An object of the form:
    216 
    217     { # An Operation resource, used to manage asynchronous API requests.
    218     "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
    219     "clientOperationId": "A String", # [Output Only] Reserved for future use.
    220     "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
    221     "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
    222     "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations.
    223     "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
    224     "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
    225     "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
    226     "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.
    227     "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.
    228     "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
    229     "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
    230     "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
    231     "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
    232       {
    233         "message": "A String", # [Output Only] A human-readable description of the warning code.
    234         "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.
    235         "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
    236             # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
    237           {
    238             "value": "A String", # [Output Only] A warning data value corresponding to the key.
    239             "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).
    240           },
    241         ],
    242       },
    243     ],
    244     "user": "A String", # [Output Only] User who requested the operation, for example: user (a] example.com.
    245     "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
    246     "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
    247     "name": "A String", # [Output Only] Name of the resource.
    248     "region": "A String", # [Output Only] The URL of the region where the operation resides. Only available when performing regional operations.
    249     "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
    250       "errors": [ # [Output Only] The array of errors encountered while processing this operation.
    251         {
    252           "message": "A String", # [Output Only] An optional, human-readable error message.
    253           "code": "A String", # [Output Only] The error type identifier for this error.
    254           "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
    255         },
    256       ],
    257     },
    258     "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
    259     "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
    260     "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.
    261   }</pre>
    262 </div>
    263 
    264 <div class="method">
    265     <code class="details" id="list">list(project, orderBy=None, maxResults=None, pageToken=None, filter=None)</code>
    266   <pre>Retrieves the list of HttpHealthCheck resources available to the specified project.
    267 
    268 Args:
    269   project: string, Project ID for this request. (required)
    270   orderBy: string, Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
    271 
    272 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.
    273 
    274 Currently, only sorting by name or creationTimestamp desc is supported.
    275   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)
    276   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.
    277   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.
    278 
    279 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.
    280 
    281 For example, to filter for instances that do not have a name of example-instance, you would use filter=name ne example-instance.
    282 
    283 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.
    284 
    285 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.
    286 
    287 Returns:
    288   An object of the form:
    289 
    290     { # Contains a list of HttpHealthCheck resources.
    291     "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.
    292     "items": [ # A list of HttpHealthCheck resources.
    293       { # An HttpHealthCheck resource. This resource defines a template for how individual instances should be checked for health, via HTTP.
    294           "kind": "compute#httpHealthCheck", # [Output Only] Type of the resource. Always compute#httpHealthCheck for HTTP health checks.
    295           "description": "A String", # An optional description of this resource. Provide this property when you create the resource.
    296           "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.
    297           "checkIntervalSec": 42, # How often (in seconds) to send a health check. The default value is 5 seconds.
    298           "port": 42, # The TCP port number for the HTTP health check request. The default value is 80.
    299           "healthyThreshold": 42, # A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.
    300           "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.
    301           "requestPath": "A String", # The request path of the HTTP health check request. The default value is /.
    302           "unhealthyThreshold": 42, # A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.
    303           "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
    304           "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
    305           "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
    306           "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.
    307         },
    308     ],
    309     "kind": "compute#httpHealthCheckList", # Type of resource.
    310     "id": "A String", # [Output Only] Unique identifier for the resource. Defined by the server.
    311     "selfLink": "A String", # [Output Only] Server-defined URL for this resource.
    312   }</pre>
    313 </div>
    314 
    315 <div class="method">
    316     <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
    317   <pre>Retrieves the next page of results.
    318 
    319 Args:
    320   previous_request: The request for the previous page. (required)
    321   previous_response: The response from the request for the previous page. (required)
    322 
    323 Returns:
    324   A request object that you can call 'execute()' on to request the next
    325   page. Returns None if there are no more items in the collection.
    326     </pre>
    327 </div>
    328 
    329 <div class="method">
    330     <code class="details" id="patch">patch(project, httpHealthCheck, body)</code>
    331   <pre>Updates a HttpHealthCheck resource in the specified project using the data included in the request. This method supports patch semantics.
    332 
    333 Args:
    334   project: string, Project ID for this request. (required)
    335   httpHealthCheck: string, Name of the HttpHealthCheck resource to patch. (required)
    336   body: object, The request body. (required)
    337     The object takes the form of:
    338 
    339 { # An HttpHealthCheck resource. This resource defines a template for how individual instances should be checked for health, via HTTP.
    340     "kind": "compute#httpHealthCheck", # [Output Only] Type of the resource. Always compute#httpHealthCheck for HTTP health checks.
    341     "description": "A String", # An optional description of this resource. Provide this property when you create the resource.
    342     "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.
    343     "checkIntervalSec": 42, # How often (in seconds) to send a health check. The default value is 5 seconds.
    344     "port": 42, # The TCP port number for the HTTP health check request. The default value is 80.
    345     "healthyThreshold": 42, # A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.
    346     "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.
    347     "requestPath": "A String", # The request path of the HTTP health check request. The default value is /.
    348     "unhealthyThreshold": 42, # A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.
    349     "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
    350     "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
    351     "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
    352     "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.
    353   }
    354 
    355 
    356 Returns:
    357   An object of the form:
    358 
    359     { # An Operation resource, used to manage asynchronous API requests.
    360     "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
    361     "clientOperationId": "A String", # [Output Only] Reserved for future use.
    362     "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
    363     "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
    364     "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations.
    365     "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
    366     "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
    367     "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
    368     "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.
    369     "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.
    370     "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
    371     "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
    372     "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
    373     "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
    374       {
    375         "message": "A String", # [Output Only] A human-readable description of the warning code.
    376         "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.
    377         "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
    378             # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
    379           {
    380             "value": "A String", # [Output Only] A warning data value corresponding to the key.
    381             "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).
    382           },
    383         ],
    384       },
    385     ],
    386     "user": "A String", # [Output Only] User who requested the operation, for example: user (a] example.com.
    387     "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
    388     "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
    389     "name": "A String", # [Output Only] Name of the resource.
    390     "region": "A String", # [Output Only] The URL of the region where the operation resides. Only available when performing regional operations.
    391     "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
    392       "errors": [ # [Output Only] The array of errors encountered while processing this operation.
    393         {
    394           "message": "A String", # [Output Only] An optional, human-readable error message.
    395           "code": "A String", # [Output Only] The error type identifier for this error.
    396           "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
    397         },
    398       ],
    399     },
    400     "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
    401     "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
    402     "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.
    403   }</pre>
    404 </div>
    405 
    406 <div class="method">
    407     <code class="details" id="testIamPermissions">testIamPermissions(project, resource, body)</code>
    408   <pre>Returns permissions that a caller has on the specified resource.
    409 
    410 Args:
    411   project: string, Project ID for this request. (required)
    412   resource: string, Name of the resource for this request. (required)
    413   body: object, The request body. (required)
    414     The object takes the form of:
    415 
    416 {
    417     "permissions": [ # The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.
    418       "A String",
    419     ],
    420   }
    421 
    422 
    423 Returns:
    424   An object of the form:
    425 
    426     {
    427     "permissions": [ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
    428       "A String",
    429     ],
    430   }</pre>
    431 </div>
    432 
    433 <div class="method">
    434     <code class="details" id="update">update(project, httpHealthCheck, body)</code>
    435   <pre>Updates a HttpHealthCheck resource in the specified project using the data included in the request.
    436 
    437 Args:
    438   project: string, Project ID for this request. (required)
    439   httpHealthCheck: string, Name of the HttpHealthCheck resource to update. (required)
    440   body: object, The request body. (required)
    441     The object takes the form of:
    442 
    443 { # An HttpHealthCheck resource. This resource defines a template for how individual instances should be checked for health, via HTTP.
    444     "kind": "compute#httpHealthCheck", # [Output Only] Type of the resource. Always compute#httpHealthCheck for HTTP health checks.
    445     "description": "A String", # An optional description of this resource. Provide this property when you create the resource.
    446     "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.
    447     "checkIntervalSec": 42, # How often (in seconds) to send a health check. The default value is 5 seconds.
    448     "port": 42, # The TCP port number for the HTTP health check request. The default value is 80.
    449     "healthyThreshold": 42, # A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2.
    450     "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.
    451     "requestPath": "A String", # The request path of the HTTP health check request. The default value is /.
    452     "unhealthyThreshold": 42, # A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2.
    453     "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
    454     "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
    455     "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
    456     "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.
    457   }
    458 
    459 
    460 Returns:
    461   An object of the form:
    462 
    463     { # An Operation resource, used to manage asynchronous API requests.
    464     "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
    465     "clientOperationId": "A String", # [Output Only] Reserved for future use.
    466     "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
    467     "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
    468     "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations.
    469     "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
    470     "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
    471     "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
    472     "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.
    473     "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.
    474     "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
    475     "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
    476     "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
    477     "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
    478       {
    479         "message": "A String", # [Output Only] A human-readable description of the warning code.
    480         "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.
    481         "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
    482             # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
    483           {
    484             "value": "A String", # [Output Only] A warning data value corresponding to the key.
    485             "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).
    486           },
    487         ],
    488       },
    489     ],
    490     "user": "A String", # [Output Only] User who requested the operation, for example: user (a] example.com.
    491     "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
    492     "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
    493     "name": "A String", # [Output Only] Name of the resource.
    494     "region": "A String", # [Output Only] The URL of the region where the operation resides. Only available when performing regional operations.
    495     "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
    496       "errors": [ # [Output Only] The array of errors encountered while processing this operation.
    497         {
    498           "message": "A String", # [Output Only] An optional, human-readable error message.
    499           "code": "A String", # [Output Only] The error type identifier for this error.
    500           "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
    501         },
    502       ],
    503     },
    504     "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
    505     "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
    506     "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.
    507   }</pre>
    508 </div>
    509 
    510 </body></html>