Method: customers.devices.get
מקבלת את הפרטים של מכשיר.
בקשת HTTP
GET https://androiddeviceprovisioning.googleapis.com/v1/{name=customers/*/devices/*}
בכתובת ה-URL נעשה שימוש בתחביר המרת קידוד של gRPC.
פרמטרים של נתיב
פרמטרים |
name |
string
חובה. המכשיר שאליו רוצים לקבל את הקובץ. שם של משאב API בפורמט customers/[CUSTOMER_ID]/devices/[DEVICE_ID] .
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התשובה
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכלול מופע של Device
.
היקפי הרשאות
נדרש היקף ההרשאות הבא של OAuth:
https://www.googleapis.com/auth/androidworkzerotouchemm
למידע נוסף, קראו את המאמר סקירה כללית של OAuth 2.0.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-08-07 (שעון UTC).
[null,null,["עדכון אחרון: 2024-08-07 (שעון UTC)."],[[["This endpoint retrieves detailed information about a specific device using its resource name."],["The request is made via a `GET` HTTP request to a URL following gRPC Transcoding syntax, with the device's identifier in the path."],["The request body must be empty, while a successful response will contain device details as an instance of the `Device` resource."],["The `name` path parameter is required and must follow the format `customers/[CUSTOMER_ID]/devices/[DEVICE_ID]`."],["Accessing this endpoint requires OAuth 2.0 authorization with the scope `https://www.googleapis.com/auth/androidworkzerotouchemm`."]]],["A `GET` request to `https://androiddeviceprovisioning.googleapis.com/v1/{name=customers/*/devices/*}` retrieves device details. The `name` path parameter, a string in the format `customers/[CUSTOMER_ID]/devices/[DEVICE_ID]`, is mandatory. The request body must be empty. Upon success, the response body returns a `Device` instance. Authorization requires the `https://www.googleapis.com/auth/androidworkzerotouchemm` OAuth scope. The url uses gRPC Transcoding.\n"]]