Author
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מייצג את המחבר של שאלה או תשובה
ייצוג JSON |
{
"displayName": string,
"profilePhotoUrl": string,
"type": enum (AuthorType )
} |
שדות |
displayName |
string
השם המוצג של המשתמש
|
profilePhotoUrl |
string
כתובת ה-URL של תמונת הפרופיל של המשתמש.
|
type |
enum (AuthorType )
סוג המשתמש שהוא המחבר.
|
AuthorType
דוגמאות לסוג המשתמש של המחבר.
טיפוסים בני מנייה (enum) |
AUTHOR_TYPE_UNSPECIFIED |
אין להשתמש באפשרות הזו. |
REGULAR_USER |
משתמש רגיל. |
LOCAL_GUIDE |
ממליץ מקומי |
MERCHANT |
הבעלים או המנהל של המיקום |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[[["\u003cp\u003eThe AuthorType object represents the author of a question or answer and includes their display name, profile photo URL, and user type.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003etype\u003c/code\u003e field uses the AuthorType enum to specify whether the author is a regular user, a Local Guide, or a merchant, avoiding the \u003ccode\u003eAUTHOR_TYPE_UNSPECIFIED\u003c/code\u003e value.\u003c/p\u003e\n"]]],[],null,["# Author\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [AuthorType](#AuthorType)\n\nRepresents the author of a question or answer\n\n| JSON representation ||\n|-------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"displayName\": string, \"profilePhotoUrl\": string, \"type\": enum (/my-business/reference/rest/v4/Author#AuthorType) } ``` |\n\n| Fields ||\n|-------------------|-----------------------------------------------------------------------------------------------------------|\n| `displayName` | `string` The display name of the user |\n| `profilePhotoUrl` | `string` The profile photo URL of the user. |\n| `type` | `enum (`[AuthorType](/my-business/reference/rest/v4/Author#AuthorType)`)` The type of user the author is. |\n\nAuthorType\n----------\n\nEnum for the type of user the author is.\n\n| Enums ||\n|---------------------------|-----------------------------------|\n| `AUTHOR_TYPE_UNSPECIFIED` | This should not be used. |\n| `REGULAR_USER` | A regular user. |\n| `LOCAL_GUIDE` | A Local Guide |\n| `MERCHANT` | The owner/manager of the location |"]]