Method: projects.get
הפונקציה מקבלת מטא-נתונים של פרויקט סקריפט.
בקשת HTTP
GET https://script.googleapis.com/v1/projects/{scriptId}
בכתובת ה-URL נעשה שימוש בתחביר המרת gRPC.
פרמטרים של נתיב
פרמטרים |
scriptId |
string
מזהה Drive של פרויקט הסקריפט.
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התגובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכלול מופע של Project
.
היקפי הרשאות
כדי להשתמש בתכונה הזו יש צורך באחד מההיקפים הבאים של OAuth:
https://www.googleapis.com/auth/script.projects
https://www.googleapis.com/auth/script.projects.readonly
למידע נוסף, עיין בסקירה הכללית על OAuth 2.0.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2023-12-01 (שעון UTC).
[null,null,["עדכון אחרון: 2023-12-01 (שעון UTC)."],[[["Retrieves metadata for a specific Google Apps Script project using its Drive ID."],["Requires authorization with specific scopes for either read or read/write access."],["The request is made using an HTTP GET method to a structured URL with path parameters."],["The response provides a detailed Project object containing the script project's metadata upon successful retrieval."],["Request body should be empty, using gRPC Transcoding syntax for the URL."]]],[]]