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.targetPools.html">targetPools</a></h1>
     76 <h2>Instance Methods</h2>
     77 <p class="toc_element">
     78   <code><a href="#addHealthCheck">addHealthCheck(project, region, targetPool, body)</a></code></p>
     79 <p class="firstline">Adds health check URLs to a target pool.</p>
     80 <p class="toc_element">
     81   <code><a href="#addInstance">addInstance(project, region, targetPool, body)</a></code></p>
     82 <p class="firstline">Adds an instance to a target pool.</p>
     83 <p class="toc_element">
     84   <code><a href="#aggregatedList">aggregatedList(project, orderBy=None, maxResults=None, pageToken=None, filter=None)</a></code></p>
     85 <p class="firstline">Retrieves an aggregated list of target pools.</p>
     86 <p class="toc_element">
     87   <code><a href="#aggregatedList_next">aggregatedList_next(previous_request, previous_response)</a></code></p>
     88 <p class="firstline">Retrieves the next page of results.</p>
     89 <p class="toc_element">
     90   <code><a href="#delete">delete(project, region, targetPool)</a></code></p>
     91 <p class="firstline">Deletes the specified target pool.</p>
     92 <p class="toc_element">
     93   <code><a href="#get">get(project, region, targetPool)</a></code></p>
     94 <p class="firstline">Returns the specified target pool. Get a list of available target pools by making a list() request.</p>
     95 <p class="toc_element">
     96   <code><a href="#getHealth">getHealth(project, region, targetPool, body)</a></code></p>
     97 <p class="firstline">Gets the most recent health check results for each IP for the instance that is referenced by the given target pool.</p>
     98 <p class="toc_element">
     99   <code><a href="#insert">insert(project, region, body)</a></code></p>
    100 <p class="firstline">Creates a target pool in the specified project and region using the data included in the request.</p>
    101 <p class="toc_element">
    102   <code><a href="#list">list(project, region, orderBy=None, maxResults=None, pageToken=None, filter=None)</a></code></p>
    103 <p class="firstline">Retrieves a list of target pools available to the specified project and region.</p>
    104 <p class="toc_element">
    105   <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
    106 <p class="firstline">Retrieves the next page of results.</p>
    107 <p class="toc_element">
    108   <code><a href="#removeHealthCheck">removeHealthCheck(project, region, targetPool, body)</a></code></p>
    109 <p class="firstline">Removes health check URL from a target pool.</p>
    110 <p class="toc_element">
    111   <code><a href="#removeInstance">removeInstance(project, region, targetPool, body)</a></code></p>
    112 <p class="firstline">Removes instance URL from a target pool.</p>
    113 <p class="toc_element">
    114   <code><a href="#setBackup">setBackup(project, region, targetPool, body, failoverRatio=None)</a></code></p>
    115 <p class="firstline">Changes a backup target pool's configurations.</p>
    116 <p class="toc_element">
    117   <code><a href="#testIamPermissions">testIamPermissions(project, region, resource, body)</a></code></p>
    118 <p class="firstline">Returns permissions that a caller has on the specified resource.</p>
    119 <h3>Method Details</h3>
    120 <div class="method">
    121     <code class="details" id="addHealthCheck">addHealthCheck(project, region, targetPool, body)</code>
    122   <pre>Adds health check URLs to a target pool.
    123 
    124 Args:
    125   project: string, Project ID for this request. (required)
    126   region: string, Name of the region scoping this request. (required)
    127   targetPool: string, Name of the target pool to add a health check to. (required)
    128   body: object, The request body. (required)
    129     The object takes the form of:
    130 
    131 {
    132     "healthChecks": [ # The HttpHealthCheck to add to the target pool.
    133       { # A full or valid partial URL to a health check. For example, the following are valid URLs:
    134           # - https://www.googleapis.com/compute/beta/projects/project-id/global/httpHealthChecks/health-check
    135           # - projects/project-id/global/httpHealthChecks/health-check
    136           # - global/httpHealthChecks/health-check
    137         "healthCheck": "A String",
    138       },
    139     ],
    140   }
    141 
    142 
    143 Returns:
    144   An object of the form:
    145 
    146     { # An Operation resource, used to manage asynchronous API requests.
    147     "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
    148     "clientOperationId": "A String", # [Output Only] Reserved for future use.
    149     "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
    150     "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
    151     "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations.
    152     "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
    153     "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
    154     "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
    155     "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.
    156     "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.
    157     "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
    158     "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
    159     "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
    160     "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
    161       {
    162         "message": "A String", # [Output Only] A human-readable description of the warning code.
    163         "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.
    164         "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
    165             # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
    166           {
    167             "value": "A String", # [Output Only] A warning data value corresponding to the key.
    168             "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).
    169           },
    170         ],
    171       },
    172     ],
    173     "user": "A String", # [Output Only] User who requested the operation, for example: user (a] example.com.
    174     "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
    175     "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
    176     "name": "A String", # [Output Only] Name of the resource.
    177     "region": "A String", # [Output Only] The URL of the region where the operation resides. Only available when performing regional operations.
    178     "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
    179       "errors": [ # [Output Only] The array of errors encountered while processing this operation.
    180         {
    181           "message": "A String", # [Output Only] An optional, human-readable error message.
    182           "code": "A String", # [Output Only] The error type identifier for this error.
    183           "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
    184         },
    185       ],
    186     },
    187     "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
    188     "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
    189     "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.
    190   }</pre>
    191 </div>
    192 
    193 <div class="method">
    194     <code class="details" id="addInstance">addInstance(project, region, targetPool, body)</code>
    195   <pre>Adds an instance to a target pool.
    196 
    197 Args:
    198   project: string, Project ID for this request. (required)
    199   region: string, Name of the region scoping this request. (required)
    200   targetPool: string, Name of the TargetPool resource to add instances to. (required)
    201   body: object, The request body. (required)
    202     The object takes the form of:
    203 
    204 {
    205     "instances": [ # A full or partial URL to an instance to add to this target pool. This can be a full or partial URL. For example, the following are valid URLs:
    206         # - https://www.googleapis.com/compute/v1/projects/project-id/zones/zone/instances/instance-name
    207         # - projects/project-id/zones/zone/instances/instance-name
    208         # - zones/zone/instances/instance-name
    209       {
    210         "instance": "A String", # The URL for a specific instance.
    211       },
    212     ],
    213   }
    214 
    215 
    216 Returns:
    217   An object of the form:
    218 
    219     { # An Operation resource, used to manage asynchronous API requests.
    220     "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
    221     "clientOperationId": "A String", # [Output Only] Reserved for future use.
    222     "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
    223     "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
    224     "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations.
    225     "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
    226     "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
    227     "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
    228     "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.
    229     "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.
    230     "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
    231     "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
    232     "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
    233     "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
    234       {
    235         "message": "A String", # [Output Only] A human-readable description of the warning code.
    236         "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.
    237         "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
    238             # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
    239           {
    240             "value": "A String", # [Output Only] A warning data value corresponding to the key.
    241             "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).
    242           },
    243         ],
    244       },
    245     ],
    246     "user": "A String", # [Output Only] User who requested the operation, for example: user (a] example.com.
    247     "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
    248     "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
    249     "name": "A String", # [Output Only] Name of the resource.
    250     "region": "A String", # [Output Only] The URL of the region where the operation resides. Only available when performing regional operations.
    251     "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
    252       "errors": [ # [Output Only] The array of errors encountered while processing this operation.
    253         {
    254           "message": "A String", # [Output Only] An optional, human-readable error message.
    255           "code": "A String", # [Output Only] The error type identifier for this error.
    256           "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
    257         },
    258       ],
    259     },
    260     "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
    261     "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
    262     "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.
    263   }</pre>
    264 </div>
    265 
    266 <div class="method">
    267     <code class="details" id="aggregatedList">aggregatedList(project, orderBy=None, maxResults=None, pageToken=None, filter=None)</code>
    268   <pre>Retrieves an aggregated list of target pools.
    269 
    270 Args:
    271   project: string, Project ID for this request. (required)
    272   orderBy: string, Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
    273 
    274 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.
    275 
    276 Currently, only sorting by name or creationTimestamp desc is supported.
    277   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)
    278   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.
    279   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.
    280 
    281 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.
    282 
    283 For example, to filter for instances that do not have a name of example-instance, you would use filter=name ne example-instance.
    284 
    285 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.
    286 
    287 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.
    288 
    289 Returns:
    290   An object of the form:
    291 
    292     {
    293     "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.
    294     "items": { # [Output Only] A map of scoped target pool lists.
    295       "a_key": { # Name of the scope containing this set of target pools.
    296         "warning": { # Informational warning which replaces the list of addresses when the list is empty.
    297           "message": "A String", # [Output Only] A human-readable description of the warning code.
    298           "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.
    299           "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
    300               # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
    301             {
    302               "value": "A String", # [Output Only] A warning data value corresponding to the key.
    303               "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).
    304             },
    305           ],
    306         },
    307         "targetPools": [ # List of target pools contained in this scope.
    308           { # A TargetPool resource. This resource defines a pool of instances, an associated HttpHealthCheck resource, and the fallback target pool.
    309               "failoverRatio": 3.14, # This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool (i.e., not as a backup pool to some other target pool). The value of the field must be in [0, 1].
    310                   #
    311                   # If set, backupPool must also be set. They together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below this number, traffic arriving at the load-balanced IP will be directed to the backup pool.
    312                   #
    313                   # In case where failoverRatio is not set or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy.
    314               "description": "A String", # An optional description of this resource. Provide this property when you create the resource.
    315               "region": "A String", # [Output Only] URL of the region where the target pool resides.
    316               "kind": "compute#targetPool", # [Output Only] Type of the resource. Always compute#targetPool for target pools.
    317               "sessionAffinity": "A String", # Sesssion affinity option, must be one of the following values:
    318                   # NONE: Connections from the same client IP may go to any instance in the pool.
    319                   # CLIENT_IP: Connections from the same client IP will go to the same instance in the pool while that instance remains healthy.
    320                   # CLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol will go to the same instance in the pool while that instance remains healthy.
    321               "instances": [ # A list of resource URLs to the virtual machine instances serving this pool. They must live in zones contained in the same region as this pool.
    322                 "A String",
    323               ],
    324               "backupPool": "A String", # This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool, and its failoverRatio field is properly set to a value between [0, 1].
    325                   #
    326                   # backupPool and failoverRatio together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below failoverRatio, traffic arriving at the load-balanced IP will be directed to the backup pool.
    327                   #
    328                   # In case where failoverRatio and backupPool are not set, or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy.
    329               "healthChecks": [ # The URL of the HttpHealthCheck resource. A member instance in this pool is considered healthy if and only if the health checks pass. An empty list means all member instances will be considered healthy at all times. Only HttpHealthChecks are supported. Only one health check may be specified.
    330                 "A String",
    331               ],
    332               "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
    333               "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
    334               "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
    335               "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.
    336             },
    337         ],
    338       },
    339     },
    340     "kind": "compute#targetPoolAggregatedList", # [Output Only] Type of resource. Always compute#targetPoolAggregatedList for aggregated lists of target pools.
    341     "id": "A String", # [Output Only] Unique identifier for the resource. Defined by the server.
    342     "selfLink": "A String", # [Output Only] Server-defined URL for this resource.
    343   }</pre>
    344 </div>
    345 
    346 <div class="method">
    347     <code class="details" id="aggregatedList_next">aggregatedList_next(previous_request, previous_response)</code>
    348   <pre>Retrieves the next page of results.
    349 
    350 Args:
    351   previous_request: The request for the previous page. (required)
    352   previous_response: The response from the request for the previous page. (required)
    353 
    354 Returns:
    355   A request object that you can call 'execute()' on to request the next
    356   page. Returns None if there are no more items in the collection.
    357     </pre>
    358 </div>
    359 
    360 <div class="method">
    361     <code class="details" id="delete">delete(project, region, targetPool)</code>
    362   <pre>Deletes the specified target pool.
    363 
    364 Args:
    365   project: string, Project ID for this request. (required)
    366   region: string, Name of the region scoping this request. (required)
    367   targetPool: string, Name of the TargetPool resource to delete. (required)
    368 
    369 Returns:
    370   An object of the form:
    371 
    372     { # An Operation resource, used to manage asynchronous API requests.
    373     "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
    374     "clientOperationId": "A String", # [Output Only] Reserved for future use.
    375     "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
    376     "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
    377     "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations.
    378     "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
    379     "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
    380     "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
    381     "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.
    382     "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.
    383     "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
    384     "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
    385     "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
    386     "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
    387       {
    388         "message": "A String", # [Output Only] A human-readable description of the warning code.
    389         "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.
    390         "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
    391             # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
    392           {
    393             "value": "A String", # [Output Only] A warning data value corresponding to the key.
    394             "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).
    395           },
    396         ],
    397       },
    398     ],
    399     "user": "A String", # [Output Only] User who requested the operation, for example: user (a] example.com.
    400     "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
    401     "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
    402     "name": "A String", # [Output Only] Name of the resource.
    403     "region": "A String", # [Output Only] The URL of the region where the operation resides. Only available when performing regional operations.
    404     "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
    405       "errors": [ # [Output Only] The array of errors encountered while processing this operation.
    406         {
    407           "message": "A String", # [Output Only] An optional, human-readable error message.
    408           "code": "A String", # [Output Only] The error type identifier for this error.
    409           "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
    410         },
    411       ],
    412     },
    413     "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
    414     "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
    415     "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.
    416   }</pre>
    417 </div>
    418 
    419 <div class="method">
    420     <code class="details" id="get">get(project, region, targetPool)</code>
    421   <pre>Returns the specified target pool. Get a list of available target pools by making a list() request.
    422 
    423 Args:
    424   project: string, Project ID for this request. (required)
    425   region: string, Name of the region scoping this request. (required)
    426   targetPool: string, Name of the TargetPool resource to return. (required)
    427 
    428 Returns:
    429   An object of the form:
    430 
    431     { # A TargetPool resource. This resource defines a pool of instances, an associated HttpHealthCheck resource, and the fallback target pool.
    432       "failoverRatio": 3.14, # This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool (i.e., not as a backup pool to some other target pool). The value of the field must be in [0, 1].
    433           #
    434           # If set, backupPool must also be set. They together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below this number, traffic arriving at the load-balanced IP will be directed to the backup pool.
    435           #
    436           # In case where failoverRatio is not set or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy.
    437       "description": "A String", # An optional description of this resource. Provide this property when you create the resource.
    438       "region": "A String", # [Output Only] URL of the region where the target pool resides.
    439       "kind": "compute#targetPool", # [Output Only] Type of the resource. Always compute#targetPool for target pools.
    440       "sessionAffinity": "A String", # Sesssion affinity option, must be one of the following values:
    441           # NONE: Connections from the same client IP may go to any instance in the pool.
    442           # CLIENT_IP: Connections from the same client IP will go to the same instance in the pool while that instance remains healthy.
    443           # CLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol will go to the same instance in the pool while that instance remains healthy.
    444       "instances": [ # A list of resource URLs to the virtual machine instances serving this pool. They must live in zones contained in the same region as this pool.
    445         "A String",
    446       ],
    447       "backupPool": "A String", # This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool, and its failoverRatio field is properly set to a value between [0, 1].
    448           #
    449           # backupPool and failoverRatio together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below failoverRatio, traffic arriving at the load-balanced IP will be directed to the backup pool.
    450           #
    451           # In case where failoverRatio and backupPool are not set, or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy.
    452       "healthChecks": [ # The URL of the HttpHealthCheck resource. A member instance in this pool is considered healthy if and only if the health checks pass. An empty list means all member instances will be considered healthy at all times. Only HttpHealthChecks are supported. Only one health check may be specified.
    453         "A String",
    454       ],
    455       "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
    456       "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
    457       "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
    458       "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.
    459     }</pre>
    460 </div>
    461 
    462 <div class="method">
    463     <code class="details" id="getHealth">getHealth(project, region, targetPool, body)</code>
    464   <pre>Gets the most recent health check results for each IP for the instance that is referenced by the given target pool.
    465 
    466 Args:
    467   project: string, Project ID for this request. (required)
    468   region: string, Name of the region scoping this request. (required)
    469   targetPool: string, Name of the TargetPool resource to which the queried instance belongs. (required)
    470   body: object, The request body. (required)
    471     The object takes the form of:
    472 
    473 {
    474   "instance": "A String", # The URL for a specific instance.
    475 }
    476 
    477 
    478 Returns:
    479   An object of the form:
    480 
    481     {
    482     "kind": "compute#targetPoolInstanceHealth", # [Output Only] Type of resource. Always compute#targetPoolInstanceHealth when checking the health of an instance.
    483     "healthStatus": [
    484       {
    485         "instance": "A String", # URL of the instance resource.
    486         "healthState": "A String", # Health state of the instance.
    487         "ipAddress": "A String", # The IP address represented by this resource.
    488         "port": 42, # The port on the instance.
    489       },
    490     ],
    491   }</pre>
    492 </div>
    493 
    494 <div class="method">
    495     <code class="details" id="insert">insert(project, region, body)</code>
    496   <pre>Creates a target pool in the specified project and region using the data included in the request.
    497 
    498 Args:
    499   project: string, Project ID for this request. (required)
    500   region: string, Name of the region scoping this request. (required)
    501   body: object, The request body. (required)
    502     The object takes the form of:
    503 
    504 { # A TargetPool resource. This resource defines a pool of instances, an associated HttpHealthCheck resource, and the fallback target pool.
    505     "failoverRatio": 3.14, # This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool (i.e., not as a backup pool to some other target pool). The value of the field must be in [0, 1].
    506         # 
    507         # If set, backupPool must also be set. They together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below this number, traffic arriving at the load-balanced IP will be directed to the backup pool.
    508         # 
    509         # In case where failoverRatio is not set or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy.
    510     "description": "A String", # An optional description of this resource. Provide this property when you create the resource.
    511     "region": "A String", # [Output Only] URL of the region where the target pool resides.
    512     "kind": "compute#targetPool", # [Output Only] Type of the resource. Always compute#targetPool for target pools.
    513     "sessionAffinity": "A String", # Sesssion affinity option, must be one of the following values:
    514         # NONE: Connections from the same client IP may go to any instance in the pool.
    515         # CLIENT_IP: Connections from the same client IP will go to the same instance in the pool while that instance remains healthy.
    516         # CLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol will go to the same instance in the pool while that instance remains healthy.
    517     "instances": [ # A list of resource URLs to the virtual machine instances serving this pool. They must live in zones contained in the same region as this pool.
    518       "A String",
    519     ],
    520     "backupPool": "A String", # This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool, and its failoverRatio field is properly set to a value between [0, 1].
    521         # 
    522         # backupPool and failoverRatio together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below failoverRatio, traffic arriving at the load-balanced IP will be directed to the backup pool.
    523         # 
    524         # In case where failoverRatio and backupPool are not set, or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy.
    525     "healthChecks": [ # The URL of the HttpHealthCheck resource. A member instance in this pool is considered healthy if and only if the health checks pass. An empty list means all member instances will be considered healthy at all times. Only HttpHealthChecks are supported. Only one health check may be specified.
    526       "A String",
    527     ],
    528     "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
    529     "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
    530     "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
    531     "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.
    532   }
    533 
    534 
    535 Returns:
    536   An object of the form:
    537 
    538     { # An Operation resource, used to manage asynchronous API requests.
    539     "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
    540     "clientOperationId": "A String", # [Output Only] Reserved for future use.
    541     "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
    542     "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
    543     "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations.
    544     "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
    545     "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
    546     "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
    547     "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.
    548     "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.
    549     "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
    550     "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
    551     "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
    552     "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
    553       {
    554         "message": "A String", # [Output Only] A human-readable description of the warning code.
    555         "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.
    556         "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
    557             # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
    558           {
    559             "value": "A String", # [Output Only] A warning data value corresponding to the key.
    560             "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).
    561           },
    562         ],
    563       },
    564     ],
    565     "user": "A String", # [Output Only] User who requested the operation, for example: user (a] example.com.
    566     "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
    567     "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
    568     "name": "A String", # [Output Only] Name of the resource.
    569     "region": "A String", # [Output Only] The URL of the region where the operation resides. Only available when performing regional operations.
    570     "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
    571       "errors": [ # [Output Only] The array of errors encountered while processing this operation.
    572         {
    573           "message": "A String", # [Output Only] An optional, human-readable error message.
    574           "code": "A String", # [Output Only] The error type identifier for this error.
    575           "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
    576         },
    577       ],
    578     },
    579     "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
    580     "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
    581     "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.
    582   }</pre>
    583 </div>
    584 
    585 <div class="method">
    586     <code class="details" id="list">list(project, region, orderBy=None, maxResults=None, pageToken=None, filter=None)</code>
    587   <pre>Retrieves a list of target pools available to the specified project and region.
    588 
    589 Args:
    590   project: string, Project ID for this request. (required)
    591   region: string, Name of the region scoping this request. (required)
    592   orderBy: string, Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.
    593 
    594 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.
    595 
    596 Currently, only sorting by name or creationTimestamp desc is supported.
    597   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)
    598   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.
    599   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.
    600 
    601 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.
    602 
    603 For example, to filter for instances that do not have a name of example-instance, you would use filter=name ne example-instance.
    604 
    605 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.
    606 
    607 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.
    608 
    609 Returns:
    610   An object of the form:
    611 
    612     { # Contains a list of TargetPool resources.
    613     "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.
    614     "items": [ # A list of TargetPool resources.
    615       { # A TargetPool resource. This resource defines a pool of instances, an associated HttpHealthCheck resource, and the fallback target pool.
    616           "failoverRatio": 3.14, # This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool (i.e., not as a backup pool to some other target pool). The value of the field must be in [0, 1].
    617               #
    618               # If set, backupPool must also be set. They together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below this number, traffic arriving at the load-balanced IP will be directed to the backup pool.
    619               #
    620               # In case where failoverRatio is not set or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy.
    621           "description": "A String", # An optional description of this resource. Provide this property when you create the resource.
    622           "region": "A String", # [Output Only] URL of the region where the target pool resides.
    623           "kind": "compute#targetPool", # [Output Only] Type of the resource. Always compute#targetPool for target pools.
    624           "sessionAffinity": "A String", # Sesssion affinity option, must be one of the following values:
    625               # NONE: Connections from the same client IP may go to any instance in the pool.
    626               # CLIENT_IP: Connections from the same client IP will go to the same instance in the pool while that instance remains healthy.
    627               # CLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol will go to the same instance in the pool while that instance remains healthy.
    628           "instances": [ # A list of resource URLs to the virtual machine instances serving this pool. They must live in zones contained in the same region as this pool.
    629             "A String",
    630           ],
    631           "backupPool": "A String", # This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool, and its failoverRatio field is properly set to a value between [0, 1].
    632               #
    633               # backupPool and failoverRatio together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below failoverRatio, traffic arriving at the load-balanced IP will be directed to the backup pool.
    634               #
    635               # In case where failoverRatio and backupPool are not set, or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy.
    636           "healthChecks": [ # The URL of the HttpHealthCheck resource. A member instance in this pool is considered healthy if and only if the health checks pass. An empty list means all member instances will be considered healthy at all times. Only HttpHealthChecks are supported. Only one health check may be specified.
    637             "A String",
    638           ],
    639           "creationTimestamp": "A String", # [Output Only] Creation timestamp in RFC3339 text format.
    640           "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
    641           "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
    642           "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.
    643         },
    644     ],
    645     "kind": "compute#targetPoolList", # [Output Only] Type of resource. Always compute#targetPoolList for lists of target pools.
    646     "id": "A String", # [Output Only] Unique identifier for the resource. Defined by the server.
    647     "selfLink": "A String", # [Output Only] Server-defined URL for this resource.
    648   }</pre>
    649 </div>
    650 
    651 <div class="method">
    652     <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
    653   <pre>Retrieves the next page of results.
    654 
    655 Args:
    656   previous_request: The request for the previous page. (required)
    657   previous_response: The response from the request for the previous page. (required)
    658 
    659 Returns:
    660   A request object that you can call 'execute()' on to request the next
    661   page. Returns None if there are no more items in the collection.
    662     </pre>
    663 </div>
    664 
    665 <div class="method">
    666     <code class="details" id="removeHealthCheck">removeHealthCheck(project, region, targetPool, body)</code>
    667   <pre>Removes health check URL from a target pool.
    668 
    669 Args:
    670   project: string, Project ID for this request. (required)
    671   region: string, Name of the region for this request. (required)
    672   targetPool: string, Name of the target pool to remove health checks from. (required)
    673   body: object, The request body. (required)
    674     The object takes the form of:
    675 
    676 {
    677     "healthChecks": [ # Health check URL to be removed. This can be a full or valid partial URL. For example, the following are valid URLs:
    678         # - https://www.googleapis.com/compute/beta/projects/project/global/httpHealthChecks/health-check
    679         # - projects/project/global/httpHealthChecks/health-check
    680         # - global/httpHealthChecks/health-check
    681       { # A full or valid partial URL to a health check. For example, the following are valid URLs:
    682           # - https://www.googleapis.com/compute/beta/projects/project-id/global/httpHealthChecks/health-check
    683           # - projects/project-id/global/httpHealthChecks/health-check
    684           # - global/httpHealthChecks/health-check
    685         "healthCheck": "A String",
    686       },
    687     ],
    688   }
    689 
    690 
    691 Returns:
    692   An object of the form:
    693 
    694     { # An Operation resource, used to manage asynchronous API requests.
    695     "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
    696     "clientOperationId": "A String", # [Output Only] Reserved for future use.
    697     "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
    698     "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
    699     "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations.
    700     "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
    701     "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
    702     "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
    703     "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.
    704     "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.
    705     "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
    706     "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
    707     "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
    708     "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
    709       {
    710         "message": "A String", # [Output Only] A human-readable description of the warning code.
    711         "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.
    712         "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
    713             # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
    714           {
    715             "value": "A String", # [Output Only] A warning data value corresponding to the key.
    716             "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).
    717           },
    718         ],
    719       },
    720     ],
    721     "user": "A String", # [Output Only] User who requested the operation, for example: user (a] example.com.
    722     "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
    723     "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
    724     "name": "A String", # [Output Only] Name of the resource.
    725     "region": "A String", # [Output Only] The URL of the region where the operation resides. Only available when performing regional operations.
    726     "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
    727       "errors": [ # [Output Only] The array of errors encountered while processing this operation.
    728         {
    729           "message": "A String", # [Output Only] An optional, human-readable error message.
    730           "code": "A String", # [Output Only] The error type identifier for this error.
    731           "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
    732         },
    733       ],
    734     },
    735     "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
    736     "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
    737     "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.
    738   }</pre>
    739 </div>
    740 
    741 <div class="method">
    742     <code class="details" id="removeInstance">removeInstance(project, region, targetPool, body)</code>
    743   <pre>Removes instance URL from a target pool.
    744 
    745 Args:
    746   project: string, Project ID for this request. (required)
    747   region: string, Name of the region scoping this request. (required)
    748   targetPool: string, Name of the TargetPool resource to remove instances from. (required)
    749   body: object, The request body. (required)
    750     The object takes the form of:
    751 
    752 {
    753     "instances": [ # URLs of the instances to be removed from target pool.
    754       {
    755         "instance": "A String", # The URL for a specific instance.
    756       },
    757     ],
    758   }
    759 
    760 
    761 Returns:
    762   An object of the form:
    763 
    764     { # An Operation resource, used to manage asynchronous API requests.
    765     "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
    766     "clientOperationId": "A String", # [Output Only] Reserved for future use.
    767     "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
    768     "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
    769     "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations.
    770     "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
    771     "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
    772     "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
    773     "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.
    774     "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.
    775     "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
    776     "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
    777     "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
    778     "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
    779       {
    780         "message": "A String", # [Output Only] A human-readable description of the warning code.
    781         "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.
    782         "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
    783             # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
    784           {
    785             "value": "A String", # [Output Only] A warning data value corresponding to the key.
    786             "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).
    787           },
    788         ],
    789       },
    790     ],
    791     "user": "A String", # [Output Only] User who requested the operation, for example: user (a] example.com.
    792     "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
    793     "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
    794     "name": "A String", # [Output Only] Name of the resource.
    795     "region": "A String", # [Output Only] The URL of the region where the operation resides. Only available when performing regional operations.
    796     "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
    797       "errors": [ # [Output Only] The array of errors encountered while processing this operation.
    798         {
    799           "message": "A String", # [Output Only] An optional, human-readable error message.
    800           "code": "A String", # [Output Only] The error type identifier for this error.
    801           "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
    802         },
    803       ],
    804     },
    805     "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
    806     "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
    807     "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.
    808   }</pre>
    809 </div>
    810 
    811 <div class="method">
    812     <code class="details" id="setBackup">setBackup(project, region, targetPool, body, failoverRatio=None)</code>
    813   <pre>Changes a backup target pool's configurations.
    814 
    815 Args:
    816   project: string, Project ID for this request. (required)
    817   region: string, Name of the region scoping this request. (required)
    818   targetPool: string, Name of the TargetPool resource to set a backup pool for. (required)
    819   body: object, The request body. (required)
    820     The object takes the form of:
    821 
    822 {
    823     "target": "A String",
    824   }
    825 
    826   failoverRatio: number, New failoverRatio value for the target pool.
    827 
    828 Returns:
    829   An object of the form:
    830 
    831     { # An Operation resource, used to manage asynchronous API requests.
    832     "targetId": "A String", # [Output Only] The unique target ID, which identifies a specific incarnation of the target resource.
    833     "clientOperationId": "A String", # [Output Only] Reserved for future use.
    834     "creationTimestamp": "A String", # [Deprecated] This field is deprecated.
    835     "id": "A String", # [Output Only] The unique identifier for the resource. This identifier is defined by the server.
    836     "zone": "A String", # [Output Only] The URL of the zone where the operation resides. Only available when performing per-zone operations.
    837     "insertTime": "A String", # [Output Only] The time that this operation was requested. This value is in RFC3339 text format.
    838     "operationType": "A String", # [Output Only] The type of operation, such as insert, update, or delete, and so on.
    839     "httpErrorMessage": "A String", # [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND.
    840     "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.
    841     "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.
    842     "statusMessage": "A String", # [Output Only] An optional textual description of the current status of the operation.
    843     "status": "A String", # [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE.
    844     "description": "A String", # [Output Only] A textual description of the operation, which is set when the operation is created.
    845     "warnings": [ # [Output Only] If warning messages are generated during processing of the operation, this field will be populated.
    846       {
    847         "message": "A String", # [Output Only] A human-readable description of the warning code.
    848         "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.
    849         "data": [ # [Output Only] Metadata about this warning in key: value format. For example:
    850             # "data": [ { "key": "scope", "value": "zones/us-east1-d" }
    851           {
    852             "value": "A String", # [Output Only] A warning data value corresponding to the key.
    853             "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).
    854           },
    855         ],
    856       },
    857     ],
    858     "user": "A String", # [Output Only] User who requested the operation, for example: user (a] example.com.
    859     "startTime": "A String", # [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format.
    860     "kind": "compute#operation", # [Output Only] Type of the resource. Always compute#operation for Operation resources.
    861     "name": "A String", # [Output Only] Name of the resource.
    862     "region": "A String", # [Output Only] The URL of the region where the operation resides. Only available when performing regional operations.
    863     "error": { # [Output Only] If errors are generated during processing of the operation, this field will be populated.
    864       "errors": [ # [Output Only] The array of errors encountered while processing this operation.
    865         {
    866           "message": "A String", # [Output Only] An optional, human-readable error message.
    867           "code": "A String", # [Output Only] The error type identifier for this error.
    868           "location": "A String", # [Output Only] Indicates the field in the request that caused the error. This property is optional.
    869         },
    870       ],
    871     },
    872     "endTime": "A String", # [Output Only] The time that this operation was completed. This value is in RFC3339 text format.
    873     "selfLink": "A String", # [Output Only] Server-defined URL for the resource.
    874     "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.
    875   }</pre>
    876 </div>
    877 
    878 <div class="method">
    879     <code class="details" id="testIamPermissions">testIamPermissions(project, region, resource, body)</code>
    880   <pre>Returns permissions that a caller has on the specified resource.
    881 
    882 Args:
    883   project: string, Project ID for this request. (required)
    884   region: string, The name of the region for this request. (required)
    885   resource: string, Name of the resource for this request. (required)
    886   body: object, The request body. (required)
    887     The object takes the form of:
    888 
    889 {
    890     "permissions": [ # The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.
    891       "A String",
    892     ],
    893   }
    894 
    895 
    896 Returns:
    897   An object of the form:
    898 
    899     {
    900     "permissions": [ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
    901       "A String",
    902     ],
    903   }</pre>
    904 </div>
    905 
    906 </body></html>