Google Business Performance API, tek bir API isteğinde birden fazla "GünlükMetrik" getirmeye olanak tanıyan
YENİ bir API yöntemine sahiptir.
Kullanımdan kaldırma planını ve v4 reportInsights API yönteminden Google Business Profile Performance API'ye geçiş talimatlarını inceleyin.
REST Resource: accounts.locations.questions.answers
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Kaynak: Yanıt
Bir soruya verilen yanıtı temsil eder
JSON gösterimi |
{
"name": string,
"author": {
object (Author )
},
"upvoteCount": integer,
"text": string,
"createTime": string,
"updateTime": string
} |
Alanlar |
name |
string
Yalnızca çıkış. Yanıt hesaplarının/*/locations/*/questions/*/answers/* ifadesinin benzersiz adı
|
author |
object (Author )
Yalnızca çıkış. Yanıtı yazan kişi.
|
upvoteCount |
integer
Yalnızca çıkış. Yanıta verilen olumlu oy sayısı.
|
text |
string
Yanıt metni. Boşluk olmayan en az bir karakter içermelidir. En çok 4.096 karakter kullanılabilir.
|
createTime |
string (Timestamp format)
Yalnızca çıkış. Yanıtın yazıldığı zamanı gösteren zaman damgası. RFC3339 UTC "Zulu" zaman damgası biçiminde olmalıdır. Örnekler: "2014-10-02T15:01:23Z" ve "2014-10-02T15:01:23.045123456Z" .
|
updateTime |
string (Timestamp format)
Yalnızca çıkış. Yanıtın en son değiştirildiği anın zaman damgası. RFC3339 UTC "Zulu" zaman damgası biçiminde olmalıdır. Örnekler: "2014-10-02T15:01:23Z" ve "2014-10-02T15:01:23.045123456Z" .
|
Yöntemler |
|
Geçerli kullanıcı tarafından bir soruya yazılan yanıtı siler. |
|
Belirtilen bir soru için sayfalara ayrılmış cevap listesini döndürür. |
|
Belirtilen soru için bir yanıt oluşturur veya kullanıcı tarafından yazılan mevcut yanıtı günceller. |
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-25 UTC.
[null,null,["Son güncelleme tarihi: 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. |"]]