Person
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
किसी व्यक्ति को दिखाने के लिए ऑब्जेक्ट.
JSON के काेड में दिखाना |
{
"name": string,
"obfuscatedId": string,
"personNames": [
{
object (Name )
}
],
"emailAddresses": [
{
object (EmailAddress )
}
],
"phoneNumbers": [
{
object (PhoneNumber )
}
],
"photos": [
{
object (Photo )
}
]
} |
फ़ील्ड |
name |
string
उस व्यक्ति के रिसॉर्स का नाम जिसके बारे में जानकारी देनी है. Google People API से People.get देखें.
|
obfuscatedId |
string
किसी व्यक्ति का आईडी, जिसे छिपाया गया है.
|
personNames[] |
object (Name )
व्यक्ति का नाम
|
emailAddresses[] |
object (EmailAddress )
उस व्यक्ति के ईमेल पते
|
phoneNumbers[] |
object (PhoneNumber )
व्यक्ति के फ़ोन नंबर
|
photos[] |
object (Photo )
किसी व्यक्ति की रीड-ओनली फ़ोटो. खोज के नतीजों में व्यक्ति को पहचानने में मदद करने के लिए, उसके नाम के बगल में दिखाई जाने वाली फ़ोटो.
|
नाम
JSON के काेड में दिखाना |
{
"displayName": string
} |
फ़ील्ड |
displayName |
string
रीड-ओनली डिसप्ले नेम, जिसे दर्शक के खाते या Accept-Language एचटीटीपी हेडर में बताई गई स्थानीय भाषा के हिसाब से फ़ॉर्मैट किया गया है.
|
EmailAddress
किसी व्यक्ति का ईमेल पता.
JSON के काेड में दिखाना |
{
"emailAddress": string,
"primary": boolean,
"type": string,
"customType": string,
"emailUrl": string
} |
फ़ील्ड |
emailAddress |
string
ईमेल पता.
|
primary |
boolean
इससे पता चलता है कि यह उपयोगकर्ता का प्राइमरी ईमेल पता है या नहीं. सिर्फ़ एक एंट्री को मुख्य के तौर पर मार्क किया जा सकता है.
|
type |
string
ईमेल खाते का टाइप. ये वैल्यू डाली जा सकती हैं: "कस्टम", "घर", "अन्य", "काम".
|
customType |
string
अगर टाइप की वैल्यू कस्टम है, तो इस प्रॉपर्टी में कस्टम टाइप स्ट्रिंग होती है.
|
emailUrl |
string
ईमेल भेजने के लिए यूआरएल.
|
फ़ोन नंबर
किसी व्यक्ति का फ़ोन नंबर
PhoneNumber.PhoneNumberType
Enums |
OTHER |
|
MOBILE |
|
OFFICE |
|
फ़ोटो
JSON के काेड में दिखाना |
{
"url": string
} |
फ़ील्ड |
url |
string
फ़ोटो का यूआरएल.
|
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[],[],null,["# Person\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [Name](#Name)\n - [JSON representation](#Name.SCHEMA_REPRESENTATION)\n- [EmailAddress](#EmailAddress)\n - [JSON representation](#EmailAddress.SCHEMA_REPRESENTATION)\n- [PhoneNumber](#PhoneNumber)\n - [JSON representation](#PhoneNumber.SCHEMA_REPRESENTATION)\n- [PhoneNumber.PhoneNumberType](#PhoneNumber.PhoneNumberType)\n- [Photo](#Photo)\n - [JSON representation](#Photo.SCHEMA_REPRESENTATION)\n\nObject to represent a person.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"obfuscatedId\": string, \"personNames\": [ { object (/workspace/cloud-search/docs/reference/rest/v1/Person#Name) } ], \"emailAddresses\": [ { object (/workspace/cloud-search/docs/reference/rest/v1/Person#EmailAddress) } ], \"phoneNumbers\": [ { object (/workspace/cloud-search/docs/reference/rest/v1/Person#PhoneNumber) } ], \"photos\": [ { object (/workspace/cloud-search/docs/reference/rest/v1/Person#Photo) } ] } ``` |\n\n| Fields ||\n|--------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` The resource name of the person to provide information about. See [`People.get`](https://developers.google.com/people/api/rest/v1/people/get) from the Google People API. |\n| `obfuscatedId` | `string` Obfuscated id of a person. |\n| `personNames[]` | `object (`[Name](/workspace/cloud-search/docs/reference/rest/v1/Person#Name)`)` The person's name |\n| `emailAddresses[]` | `object (`[EmailAddress](/workspace/cloud-search/docs/reference/rest/v1/Person#EmailAddress)`)` The person's email addresses |\n| `phoneNumbers[]` | `object (`[PhoneNumber](/workspace/cloud-search/docs/reference/rest/v1/Person#PhoneNumber)`)` The person's phone numbers |\n| `photos[]` | `object (`[Photo](/workspace/cloud-search/docs/reference/rest/v1/Person#Photo)`)` A person's read-only photo. A picture shown next to the person's name to help others recognize the person in search results. |\n\nName\n----\n\nA person's name.\n\n| JSON representation |\n|-----------------------------------|\n| ``` { \"displayName\": string } ``` |\n\n| Fields ||\n|---------------|-----------------------------------------------------------------------------------------------------------------------------------------------|\n| `displayName` | `string` The read-only display name formatted according to the locale specified by the viewer's account or the `Accept-Language` HTTP header. |\n\nEmailAddress\n------------\n\nA person's email address.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------|\n| ``` { \"emailAddress\": string, \"primary\": boolean, \"type\": string, \"customType\": string, \"emailUrl\": string } ``` |\n\n| Fields ||\n|----------------|---------------------------------------------------------------------------------------------------|\n| `emailAddress` | `string` The email address. |\n| `primary` | `boolean` Indicates if this is the user's primary email. Only one entry can be marked as primary. |\n| `type` | `string` The type of the email account. Acceptable values are: \"custom\", \"home\", \"other\", \"work\". |\n| `customType` | `string` If the value of type is custom, this property contains the custom type string. |\n| `emailUrl` | `string` The URL to send email. |\n\nPhoneNumber\n-----------\n\nA person's Phone Number\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"phoneNumber\": string, \"type\": enum (/workspace/cloud-search/docs/reference/rest/v1/Person#PhoneNumber.PhoneNumberType) } ``` |\n\n| Fields ||\n|---------------|-----------------------------------------------------------------------------------------------------------------------------|\n| `phoneNumber` | `string` The phone number of the person. |\n| `type` | `enum (`[PhoneNumber.PhoneNumberType](/workspace/cloud-search/docs/reference/rest/v1/Person#PhoneNumber.PhoneNumberType)`)` |\n\nPhoneNumber.PhoneNumberType\n---------------------------\n\nPhone number type enum.\n\n| Enums ||\n|----------|---|\n| `OTHER` | |\n| `MOBILE` | |\n| `OFFICE` | |\n\nPhoto\n-----\n\nA person's photo.\n\n| JSON representation |\n|---------------------------|\n| ``` { \"url\": string } ``` |\n\n| Fields ||\n|-------|--------------------------------|\n| `url` | `string` The URL of the photo. |"]]