AI-generated Key Takeaways
-
Lists all versions and their current states for a given project.
-
Allows for pagination to retrieve large lists of versions.
-
Requires an empty request body and provides a structured JSON response containing version details and a potential next-page token.
-
Uses gRPC Transcoding for URL structure and expects the project ID as a path parameter.
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 |