تم إيقاف إجراءات المحادثات نهائيًا في 13 حزيران (يونيو) 2023. لمزيد من المعلومات، يُرجى الاطّلاع على
إنهاء إجراءات المحادثة.
Method: projects.releaseChannels.list
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
يسرد جميع قنوات الإصدارات والإصدارات المقابلة لها، إن توفّرت.
طلب HTTP
GET https://actions.googleapis.com/v2/{parent=projects/*}/releaseChannels
يستخدِم عنوان URL بنية تحويل ترميز gRPC.
مَعلمات المسار
المعلمات |
parent |
string
مطلوب. تمثّل هذه السمة اسم المورد بالتنسيق projects/{project} . {project} هو رقم تعريف المشروع على السحابة الإلكترونية المرتبط بالمشروع.
|
معامِلات طلب البحث
المعلمات |
pageSize |
integer
الحدّ الأقصى لعدد قنوات الإصدار المطلوب عرضها. قد تعرض الخدمة عددًا أقل من هذه القيمة. في حال عدم تحديد قيمة هذه السمة، سيتم عرض 50 قناة إصدار كحدّ أقصى.
|
pageToken |
string
رمز مميّز للصفحة، تم تلقّيه من استدعاء سابق لتطبيق "releaseChannels.list ". يمكنك توفير هذا الحقل لاسترداد الصفحة التالية. عند التقسيم على صفحات، يجب أن تتطابق جميع المَعلمات الأخرى المقدَّمة إلى releaseChannels.list مع الاستدعاء الذي قدّم الرمز المميّز للصفحة.
|
نص الطلب
يجب أن يكون نص الطلب فارغًا.
نص الاستجابة
إذا كانت الاستجابة ناجحة، سيحتوي نص الاستجابة على بيانات بالبنية التالية:
استجابة استدعاء إجراء عن بُعد (RPC) لإدراج قنوات الإصدار
تمثيل 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 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\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}`. |"]]