요청의 출력으로 반환될 때 Chat 앱이 사용자로 인증되면 스페이스의 구성원이거나 호출 사용자와 이전 친밀도가 있는 경우가 아니면 User 리소스 (예: Messages 및 Memberships API)의 출력은 내부 및 외부 사용자의 name 및 type 필드만 채웁니다.
사용자의 이메일 주소를 API 요청에서 {user}의 별칭으로 사용할 수 있습니다. 예를 들어 user@example.com의 People API Person 프로필 ID가 123456789인 경우 users/user@example.com을 별칭으로 사용하여 users/123456789을 참조할 수 있습니다. 표준 리소스 이름 (예: users/123456789)만 API에서 반환됩니다.
displayName
string
출력 전용입니다. 사용자의 표시 이름입니다.
앱 인증과 사용자 인증 모두에 대해 채워집니다. 이 필드는 앱 인증으로 이루어진 요청에 항상 채워집니다. 사용자 인증으로 Messages 및 Memberships API를 호출할 때 사용자가 스페이스의 구성원이거나 호출하는 사용자와 이전에 친밀한 관계가 있는 경우 메시지의 sender, annotations 내의 사용자 (예: 사용자 멘션), Membership 리소스에 대해 내부 및 외부 사용자 모두에 이 필드가 채워집니다.
avatarUrl
string
출력 전용입니다. 사용자의 아바타 이미지 URL입니다.
사용자 인증으로 Messages 및 Memberships API를 호출할 때 사용자가 스페이스의 구성원이거나 호출하는 사용자와 이전에 친밀한 관계가 있는 경우 메시지의 sender, annotations 내의 사용자 (예: 사용자 멘션), Membership 리소스에 대해 내부 및 외부 사용자 모두에 이 필드가 채워집니다.
email
string
출력 전용입니다. 사용자의 이메일 주소
사용자 인증으로 Messages 및 Memberships API를 호출할 때 사용자가 스페이스의 구성원이거나 호출하는 사용자와 이전에 친밀한 관계가 있는 경우 메시지의 sender, annotations 내의 사용자 (예: 사용자 멘션), Membership 리소스에 대해 내부 및 외부 사용자 모두에 이 필드가 채워집니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2026-09-29(UTC)"],[],["The JSON representation defines a user with fields including `name` (resource identifier), `displayName` (user's name), `domainId` (Google Workspace domain), `type` (user or bot), and `isAnonymous` (deleted/hidden profile status). The `name` field uses aliases like email or People API ID. User types include `HUMAN` and `BOT`. Authenticated Chat app users only show `name` and `type` in request outputs. `type` is an enum with possible values like `HUMAN` and `BOT`.\n"]]