BatchCreateContactsErrorDetails
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","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"]],["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eThe \u003ccode\u003econtactErrors\u003c/code\u003e field provides error details when the \u003ccode\u003epeople.batchCreateContacts\u003c/code\u003e action fails, mapping the index of the failed contact in the request to a Status object describing the error.\u003c/p\u003e\n"],["\u003cp\u003eIf a contact's index is not present in \u003ccode\u003econtactErrors\u003c/code\u003e, it means the creation of that contact was successful.\u003c/p\u003e\n"],["\u003cp\u003eDetailed error information for each failed contact can be found within the \u003ccode\u003egoogle.rpc.Status.details\u003c/code\u003e field of the corresponding Status object.\u003c/p\u003e\n"]]],["The core content details the structure for recording errors in the `people.batchCreateContacts` action. It uses a `contactErrors` map to report failures. The `contactErrors` map uses an integer key representing the index of the contact in the batch request. The value associated with each key is a `Status` object, providing error details for that specific contact. If a contact's index is not in the map, its creation was successful. The details about error for that specific contact are in the `google.rpc.Status.details`.\n"],null,["# BatchCreateContactsErrorDetails\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nMessage to record error details when the request fails in the people.batchCreateContacts action.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------|\n| ``` { \"contactErrors\": { integer: { object (/people/api/rest/v1/Status) }, ... } } ``` |\n\n| Fields ||\n|-----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `contactErrors` | `map (key: integer, value: object (`[Status](/people/api/rest/v1/Status)`))` Provides details for the client to identify the contact(s) that caused the batch creation to fail. If an index does not appear, then the creation of that contact would have been successful. In the map below: - The key is the index of the contact in the [BatchCreateContactsRequest.contacts](/people/api/rest/v1/people/batchCreateContacts#body.request_body.FIELDS.contacts). Indexes start from 0. - The value is a Status. [google.rpc.Status.details](/people/api/rest/v1/Status#FIELDS.details) will contain the list of errors for the contact An object containing a list of `\"key\": value` pairs. Example: `{ \"name\": \"wrench\", \"mass\": \"1.3kg\", \"count\": \"3\" }`. |"]]