تتضمّن واجهة برمجة التطبيقات
لأداء الأعمال في Google طريقة واجهة برمجة تطبيقات
جديدة تتيح جلب عدة "مقاييس يومية" في طلب واحد لواجهة برمجة التطبيقات.
يُرجى مراجعة
الجدول الزمني للإيقاف وتعليمات نقل البيانات من طريقة v4 reportInsights API إلى واجهة برمجة التطبيقات الخاصة بأداء "الملف التجاري على Google".
REST Resource: accounts.locations.questions.answers
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
المرجع: إجابة
تمثيل JSON |
{
"name": string,
"author": {
object (Author )
},
"upvoteCount": integer,
"text": string,
"createTime": string,
"updateTime": string
} |
الحقول |
name |
string
النتائج فقط. الاسم الفريد لحسابات الإجابات/*/locations/*/questions/*/answers/*
|
author |
object (Author )
النتائج فقط. تمثل هذه الخاصية كاتب الجواب.
|
upvoteCount |
integer
النتائج فقط. تمثّل هذه السمة عدد التصويتات المؤيّدة للإجابة.
|
text |
string
تمثل هذه السمة نص الإجابة. يجب أن يحتوي على حرف واحد بدون مسافات بيضاء على الأقل. ويجب ألّا يزيد عدد الأحرف عن 4096 حرفًا.
|
createTime |
string (Timestamp format)
النتائج فقط. الطابع الزمني لوقت كتابة الإجابة. طابع زمني بتنسيق RFC3339 حسب التوقيت العالمي المنسَّق (UTC) "زولو" بدقة نانوثانية وما يصل إلى تسعة أرقام كسرية. أمثلة: "2014-10-02T15:01:23Z" و"2014-10-02T15:01:23.045123456Z" .
|
updateTime |
string (Timestamp format)
النتائج فقط. الطابع الزمني لوقت آخر تعديل على الإجابة. طابع زمني بتنسيق RFC3339 حسب التوقيت العالمي المنسَّق (UTC) "زولو" بدقة نانوثانية وما يصل إلى تسعة أرقام كسرية. أمثلة: "2014-10-02T15:01:23Z" و"2014-10-02T15:01:23.045123456Z" .
|
الطُرق |
|
لحذف الإجابة التي كتبها المستخدم الحالي على سؤال. |
|
لعرض قائمة إجابات مقسَّمة إلى صفحات لسؤال محدد. |
|
تنشئ إجابة أو تعدّل الإجابة الحالية التي كتبها المستخدم عن السؤال المحدّد. |
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eThe Answer resource represents an answer to a question, including details like author, upvote count, and text.\u003c/p\u003e\n"],["\u003cp\u003eAnswers can be created, updated, deleted, and listed using the provided methods.\u003c/p\u003e\n"],["\u003cp\u003eAnswer data is represented in JSON format with fields for name, author, upvote count, text, creation time, and update time.\u003c/p\u003e\n"],["\u003cp\u003eThe text of an answer can be up to 4096 characters long and must contain at least one non-whitespace character.\u003c/p\u003e\n"],["\u003cp\u003eAnswer timestamps are formatted according to RFC3339 UTC "Zulu" format with nanosecond resolution.\u003c/p\u003e\n"]]],[],null,["# REST Resource: accounts.locations.questions.answers\n\n- [Resource: Answer](#Answer)\n - [JSON representation](#Answer.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Answer\n----------------\n\nRepresents an answer to a question\n\n| JSON representation ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"name\": string, \"author\": { object (/my-business/reference/rest/v4/Author) }, \"upvoteCount\": integer, \"text\": string, \"createTime\": string, \"updateTime\": string } ``` |\n\n| Fields ||\n|---------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. The unique name for the answer accounts/\\*/locations/\\*/questions/\\*/answers/\\* |\n| `author` | `object (`[Author](/my-business/reference/rest/v4/Author)`)` Output only. The author of the answer. |\n| `upvoteCount` | `integer` Output only. The number of upvotes for the answer. |\n| `text` | `string` The text of the answer. It should contain at least one non-whitespace character. The maximum length is 4096 characters. |\n| `createTime` | `string (`[Timestamp](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp)` format)` Output only. The timestamp for when the answer was written. A timestamp in RFC3339 UTC \"Zulu\" format, with nanosecond resolution and up to nine fractional digits. Examples: `\"2014-10-02T15:01:23Z\"` and `\"2014-10-02T15:01:23.045123456Z\"`. |\n| `updateTime` | `string (`[Timestamp](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp)` format)` Output only. The timestamp for when the answer was last modified. A timestamp in RFC3339 UTC \"Zulu\" format, with nanosecond resolution and up to nine fractional digits. Examples: `\"2014-10-02T15:01:23Z\"` and `\"2014-10-02T15:01:23.045123456Z\"`. |\n\n| Methods ------- ||\n|------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------|\n| ### [delete](/my-business/reference/rest/v4/accounts.locations.questions.answers/delete) | Deletes the answer written by the current user to a question. |\n| ### [list](/my-business/reference/rest/v4/accounts.locations.questions.answers/list) | Returns the paginated list of answers for a specified question. |\n| ### [upsert](/my-business/reference/rest/v4/accounts.locations.questions.answers/upsert) | Creates an answer or updates the existing answer written by the user for the specified question. |"]]