- HTTP request
 - Path parameters
 - Query parameters
 - Request body
 - Response body
 - Authorization scopes
 - Try it!
 
Lists TcpRoute in a given project and location.
HTTP request
GET https://networkservices.googleapis.com/v1beta1/{parent=projects/*/locations/*}/tcpRoutes
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent | 
                
                   
 Required. The project and location from which the TcpRoutes should be listed, specified in the format  Authorization requires the following IAM permission on the specified resource  
  | 
              
Query parameters
| Parameters | |
|---|---|
pageSize | 
                
                   
 Maximum number of TcpRoutes to return per call.  | 
              
pageToken | 
                
                   
 The value returned by the last   | 
              
returnPartialSuccess | 
                
                   
 Optional. If true, allow partial responses for multi-regional Aggregated List requests. Otherwise if one of the locations is down or unreachable, the Aggregated List request will fail.  | 
              
Request body
The request body must be empty.
Response body
Response returned by the tcpRoutes.list method.
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
{
  "tcpRoutes": [
    {
      object ( | 
                  
| Fields | |
|---|---|
tcpRoutes[] | 
                    
                       
 List of TcpRoute resources.  | 
                  
nextPageToken | 
                    
                       
 If there might be more results than those appearing in this response, then   | 
                  
unreachable[] | 
                    
                       
 Unreachable resources. Populated when the request opts into   | 
                  
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.