Author
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
JSON 表現 |
{
"displayName": string,
"profilePhotoUrl": string,
"type": enum (AuthorType )
} |
フィールド |
displayName |
string
ユーザーの表示名
|
profilePhotoUrl |
string
ユーザーのプロフィール写真の URL。
|
type |
enum (AuthorType )
作成者のユーザータイプ。
|
AuthorType
列挙型 |
AUTHOR_TYPE_UNSPECIFIED |
使用できません。 |
REGULAR_USER |
通常のユーザー。 |
LOCAL_GUIDE |
ローカルガイド |
MERCHANT |
ビジネスのオーナーまたは管理者 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 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 |"]]