Method: projects.versions.list
Stay organized with collections
Save and categorize content based on your preferences.
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 |
string
Required. The name of the resource in the format projects/{project} . The {project} is the cloud project ID associated with the project.
|
Query parameters
Parameters |
pageSize |
integer
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 |
string
A page token, received from a previous versions.list call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to versions.list must match the call that provided the page token.
|
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 (Version )
}
],
"nextPageToken": string
} |
Fields |
versions[] |
object (Version )
List of the versions for the given project id.
|
nextPageToken |
string
A token, which can be sent as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-05-18 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{
"last_modified": "Last updated 2021-05-18 UTC.",
"state": ""
}