Method: projects.releaseChannels.list
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
अगर सभी रिलीज़ चैनल और उनसे जुड़े वर्शन हैं, तो उनकी सूची बनाता है.
एचटीटीपी अनुरोध
GET https://actions.googleapis.com/v2/{parent=projects/*}/releaseChannels
यह यूआरएल gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ पैरामीटर
पैरामीटर |
parent |
string
ज़रूरी है. projects/{project} फ़ॉर्मैट में संसाधन का नाम. {project} , प्रोजेक्ट से जुड़ा क्लाउड प्रोजेक्ट आईडी है.
|
क्वेरी पैरामीटर
पैरामीटर |
pageSize |
integer
वापस किए जाने वाले रिलीज़ चैनलों की ज़्यादा से ज़्यादा संख्या. सेवा इस वैल्यू से कम वैल्यू दिखा सकती है. अगर जानकारी नहीं दी जाती है, तो ज़्यादा से ज़्यादा 50 रिलीज़ चैनल लौटाए जाएंगे.
|
pageToken |
string
पिछले releaseChannels.list कॉल से मिला पेज टोकन. अगले पेज को वापस पाने के लिए, यह जानकारी दें. पेजों पर नंबर डालते समय, releaseChannels.list को दिए गए अन्य सभी पैरामीटर, पेज टोकन देने वाले कॉल से मैच होने चाहिए.
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य भाग
अगर एपीआई सही से जुड़ जाता है, ताे जवाब के मुख्य भाग में नीचे दिए गए स्ट्रक्चर शामिल होता है.
रिलीज़ चैनलों की लिस्टिंग के लिए आरपीसी रिस्पॉन्स
JSON के काेड में दिखाना |
{
"releaseChannels": [
{
object (ReleaseChannel )
}
],
"nextPageToken": string
} |
फ़ील्ड |
releaseChannels[] |
object (ReleaseChannel )
दिए गए प्रोजेक्ट आईडी के लिए, रिलीज़ चैनलों की सूची.
|
nextPageToken |
string
एक टोकन, जिसे अगला पेज फिर से पाने के लिए pageToken के तौर पर भेजा जा सकता है. अगर इस फ़ील्ड को हटा दिया जाता है, तो इसके बाद कोई पेज नहीं होता.
|
ReleaseChannel
रिलीज़ चैनल से जुड़े संसाधन की परिभाषा.
JSON के काेड में दिखाना |
{
"name": string,
"currentVersion": string,
"pendingVersion": string
} |
फ़ील्ड |
name |
string
नीचे दिए गए फ़ॉर्मैट में रिलीज़ चैनल का यूनीक नाम. projects/{project}/releaseChannels/{releaseChannel} .
|
currentVersion |
string
फ़िलहाल, इस रिलीज़ चैनल पर इस फ़ॉर्मैट में वर्शन डिप्लॉय किया गया है: projects/{project}/versions/{version} .
|
pendingVersion |
string
वर्शन को इस रिलीज़ चैनल पर इस फ़ॉर्मैट में डिप्लॉय किया जाएगा: projects/{project}/versions/{version} .
|
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eLists all release channels and their corresponding current and pending versions for a given project.\u003c/p\u003e\n"],["\u003cp\u003eThe request is a GET request to the URL \u003ccode\u003ehttps://actions.googleapis.com/v2/{parent=projects/*}/releaseChannels\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eRequires a project ID as a path parameter and supports pagination using \u003ccode\u003epageSize\u003c/code\u003e and \u003ccode\u003epageToken\u003c/code\u003e as query parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes a list of release channels with their name, current version, and pending version, along with a token for retrieving subsequent pages if available.\u003c/p\u003e\n"]]],[],null,["# Method: projects.releaseChannels.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListReleaseChannelsResponse.SCHEMA_REPRESENTATION)\n- [ReleaseChannel](#ReleaseChannel)\n - [JSON representation](#ReleaseChannel.SCHEMA_REPRESENTATION)\n\nLists all release channels and corresponding versions, if any.\n\n### HTTP request\n\n`GET https://actions.googleapis.com/v2/{parent=projects/*}/releaseChannels`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `parent` | `string` Required. The name of the resource in the format `projects/{project}`. The `{project}` is the cloud project ID associated with the project. |\n\n### Query parameters\n\n| Parameters ||\n|-------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` The maximum number of release channels to return. The service may return fewer than this value. If unspecified, at most 50 release channels will be returned. |\n| `pageToken` | `string` A page token, received from a previous `releaseChannels.list` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `releaseChannels.list` must match the call that provided the page token. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains data with the following structure:\nRPC response for listing release channels\n\n| JSON representation ||\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"releaseChannels\": [ { object (/assistant/actions/api/reference/rest/v2/projects.releaseChannels/list#ReleaseChannel) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|---------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `releaseChannels[]` | `object (`[ReleaseChannel](/assistant/actions/api/reference/rest/v2/projects.releaseChannels/list#ReleaseChannel)`)` List of the release channels for the given project id. |\n| `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. |\n\nReleaseChannel\n--------------\n\nDefinition of release channel resource.\n\n| JSON representation ||\n|--------------------------------------------------------------------------------|---|\n| ``` { \"name\": string, \"currentVersion\": string, \"pendingVersion\": string } ``` |\n\n| Fields ||\n|------------------|---------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` The unique name of the release channel in the following format. `projects/{project}/releaseChannels/{releaseChannel}`. |\n| `currentVersion` | `string` Version currently deployed to this release channel in the following format: `projects/{project}/versions/{version}`. |\n| `pendingVersion` | `string` Version to be deployed to this release channel in the following format: `projects/{project}/versions/{version}`. |"]]