התכונה 'פעולות שיחה' הוצאה משימוש ב-13 ביוני 2023.
כאן תוכלו לקרוא מידע נוסף על ההוצאה משימוש של 'פעולות שיחה'.
Method: projects.versions.read
קריאת כל התוכן של גרסת פרויקט.
בקשת HTTP
POST https://actions.googleapis.com/v2/{name=projects/*/versions/*}:read
בכתובת ה-URL נעשה שימוש בתחביר המרת קידוד של gRPC.
פרמטרים של נתיב
פרמטרים |
name |
string
חובה. השם של משאב הגרסה בפורמט projects/{project}/versions/{version} . {project} הוא מזהה הפרויקט בענן שמשויך לפרויקט, {version} הוא המזהה של הגרסה שקוראת.
|
גוף הבקשה
גוף הבקשה מכיל נתונים במבנה הבא:
ייצוג JSON |
{
"clientSecretEncryptionKeyVersion": string
} |
שדות |
clientSecretEncryptionKeyVersion |
string
זה שינוי אופציונלי. הגרסה של מפתח ההצפנה שמשמש להצפנת הסוד של חשבון הלקוח ב-OAuth לקישור החשבון. אם לא מציינים זאת, גרסת המפתח הראשי משמשת להצפנה. רלוונטי רק לפרויקטים עם קישור חשבונות באמצעות סוד לקוח.
|
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכיל נתונים במבנה הבא:
תגובת RPC בסטרימינג עבור גרסאות.read.
ייצוג JSON |
{
"files": {
object (Files )
}
} |
שדות |
files |
object (Files )
רשימת הקבצים שנשלחו מהשרת בכל פעם.
|
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-08-22 (שעון UTC).
[null,null,["עדכון אחרון: 2024-08-22 (שעון UTC)."],[[["Reads the complete content of a specified project version using a POST request."],["Requires the project and version identifiers as path parameters in the request URL."],["Optionally accepts an encryption key version for account linking client secrets in the request body."],["Responds with a stream of files contained within the requested project version."]]],["This documentation details reading the content of a project version via an HTTP POST request to a specific URL, using gRPC Transcoding syntax. The request requires a `name` path parameter indicating the project and version. The request body optionally includes a `clientSecretEncryptionKeyVersion` for projects with account linking. A successful response contains a `files` field with a list of files from the server in JSON format. The request retrieves data associated with a specified project version.\n"]]