Google Business Performance API มีเมธอด API
ใหม่ที่อนุญาตให้ดึง `DailyMetrics` หลายรายการในคําขอ API รายการเดียว
ตรวจสอบ
กําหนดการเลิกใช้งานและวิธีการย้ายข้อมูลจากเมธอด v4 reportInsights API ไปยัง API ประสิทธิภาพของ Google Business Profile
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
ข้อความของคำตอบ ควรมีอักขระที่ไม่ใช่ช่องว่างอย่างน้อย 1 ตัว โดยมีความยาวสูงสุด 4,096 อักขระ
|
createTime |
string (Timestamp format)
เอาต์พุตเท่านั้น การประทับเวลาที่เขียนคำตอบ การประทับเวลาเป็น RFC3339 UTC "Zulu" โดยมีความละเอียดระดับนาโนวินาทีและมีเลขเศษส่วนสูงสุด 9 หลัก ตัวอย่าง: "2014-10-02T15:01:23Z" และ "2014-10-02T15:01:23.045123456Z"
|
updateTime |
string (Timestamp format)
เอาต์พุตเท่านั้น การประทับเวลาที่แก้ไขคำตอบครั้งล่าสุด การประทับเวลาเป็น RFC3339 UTC "Zulu" โดยมีความละเอียดระดับนาโนวินาทีและมีเลขเศษส่วนสูงสุด 9 หลัก ตัวอย่าง: "2014-10-02T15:01:23Z" และ "2014-10-02T15:01:23.045123456Z"
|
เมธอด |
|
ลบคำตอบที่ผู้ใช้ปัจจุบันเขียนสำหรับคำถาม |
|
แสดงรายการคำตอบของคำถามที่ระบุที่มีเลขหน้า |
|
สร้างคำตอบหรืออัปเดตคำตอบที่มีอยู่ซึ่งเขียนโดยผู้ใช้สำหรับคำถามที่ระบุ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\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. |"]]