AI-generated Key Takeaways
- 
          
This page describes how to list all versions and their current states for a project.
 - 
          
The HTTP request uses a GET method with a URL containing the parent project ID.
 - 
          
Path parameters require the parent project ID as a string in the format
projects/{project}. - 
          
Query parameters allow specifying
pageSizefor the number of results andpageTokenfor pagination. - 
          
The request body should be empty, and the response body contains a list of versions and an optional
nextPageToken. 
Lists all versions and their current states.
HTTP request
GET https://actions.googleapis.com/v2/{parent=projects/*}/versions
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent | 
                
                   
 Required. The name of the resource in the format   | 
              
Query parameters
| Parameters | |
|---|---|
pageSize | 
                
                   
 The maximum number of versions to return. The service may return fewer than this value. If unspecified, at most 50 versions will be returned.  | 
              
pageToken | 
                
                   
 A page token, received from a previous   | 
              
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
RPC response for listing versions
| JSON representation | |
|---|---|
{
  "versions": [
    {
      object ( | 
                  |
| Fields | |
|---|---|
versions[] | 
                    
                       
 List of the versions for the given project id.  | 
                  
nextPageToken | 
                    
                       
 A token, which can be sent as   |