Für die
Google Business Performance API gibt es eine
NEUE API-Methode, mit der sich mehrere „DailyMetrics“-Objekte in einer einzelnen Anfrage abrufen lassen.
Sehen Sie sich den
Zeitplan für die Einstellung und die Anleitung für die Migration von der reportInsights API-Methode Version 4 zur Google Business Profile Performance API an.
REST Resource: accounts.locations.questions
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Ressource: Question
Stellt eine einzelne Frage und einige ihrer Antworten dar.
JSON-Darstellung |
{
"name": string,
"author": {
object (Author )
},
"upvoteCount": integer,
"text": string,
"createTime": string,
"updateTime": string,
"topAnswers": [
{
object (Answer )
}
],
"totalAnswerCount": integer
} |
Felder |
name |
string
Nur Ausgabe. Der eindeutige Name der Frage. accounts/*/locations/*/questions/*
|
author |
object (Author )
Nur Ausgabe. Der Autor der Frage
|
upvoteCount |
integer
Nur Ausgabe. Die Anzahl der positiven Bewertungen für die Frage.
|
text |
string
Der Text der Frage. Er sollte mindestens drei Wörter enthalten und die Gesamtlänge sollte mindestens 10 Zeichen betragen. Die maximale Länge beträgt 4.096 Zeichen.
|
createTime |
string (Timestamp format)
Nur Ausgabe. Der Zeitstempel, der angibt, wann die Frage geschrieben wurde. Ein Zeitstempel im Format RFC3339 UTC "Zulu" mit einer Auflösung im Nanosekundenbereich und bis zu neun Nachkommastellen. Beispiele: "2014-10-02T15:01:23Z" und "2014-10-02T15:01:23.045123456Z" .
|
updateTime |
string (Timestamp format)
Nur Ausgabe. Der Zeitstempel für die letzte Änderung der Frage. Ein Zeitstempel im Format RFC3339 UTC "Zulu" mit einer Auflösung im Nanosekundenbereich und bis zu neun Nachkommastellen. Beispiele: "2014-10-02T15:01:23Z" und "2014-10-02T15:01:23.045123456Z" .
|
topAnswers[] |
object (Answer )
Nur Ausgabe. Eine Liste mit Antworten auf die Frage, sortiert nach positiven Bewertungen. Dies ist möglicherweise keine vollständige Liste der Antworten, abhängig von den Anfrageparametern (answersPerQuestion).
|
totalAnswerCount |
integer
Nur Ausgabe. Die Gesamtzahl der auf diese Frage geposteten Antworten.
|
Methoden |
|
Fügt eine Frage für den angegebenen Ort hinzu. |
|
Löscht eine bestimmte Frage, die vom aktuellen Nutzer geschrieben wurde. |
|
Gibt die paginierte Liste von Fragen und einige ihrer Antworten für einen bestimmten Standort zurück. |
|
Aktualisiert eine bestimmte Frage des aktuellen Nutzers. |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-25 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-25 (UTC)."],[[["\u003cp\u003eThe Question resource represents a single question asked about a specific location, including details like the author, text, upvotes, and answers.\u003c/p\u003e\n"],["\u003cp\u003eIt includes fields for tracking creation and update times, along with the total number of answers received.\u003c/p\u003e\n"],["\u003cp\u003eQuestions can be created, deleted, listed, and updated through dedicated methods provided in the API.\u003c/p\u003e\n"],["\u003cp\u003eAnswers to questions are sorted by upvotes and a limited number are returned based on request parameters.\u003c/p\u003e\n"]]],[],null,["# REST Resource: accounts.locations.questions\n\n- [Resource: Question](#Question)\n - [JSON representation](#Question.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Question\n------------------\n\nRepresents a single question and some of its answers.\n\n| JSON representation ||\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"name\": string, \"author\": { object (/my-business/reference/rest/v4/Author) }, \"upvoteCount\": integer, \"text\": string, \"createTime\": string, \"updateTime\": string, \"topAnswers\": [ { object (/my-business/reference/rest/v4/accounts.locations.questions.answers#Answer) } ], \"totalAnswerCount\": integer } ``` |\n\n| Fields ||\n|--------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. The unique name for the question. accounts/\\*/locations/\\*/questions/\\* |\n| `author` | `object (`[Author](/my-business/reference/rest/v4/Author)`)` Output only. The author of the question. |\n| `upvoteCount` | `integer` Output only. The number of upvotes for the question. |\n| `text` | `string` The text of the question. It should contain at least three words and the total length should be greater than or equal to 10 characters. 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 question 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 question 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| `topAnswers[]` | `object (`[Answer](/my-business/reference/rest/v4/accounts.locations.questions.answers#Answer)`)` Output only. A list of answers to the question, sorted by upvotes. This may not be a complete list of answers depending on the request parameters (answersPerQuestion) |\n| `totalAnswerCount` | `integer` Output only. The total number of answers posted for this question. |\n\n| Methods ------- ||\n|----------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------|\n| ### [create](/my-business/reference/rest/v4/accounts.locations.questions/create) | Adds a question for the specified location. |\n| ### [delete](/my-business/reference/rest/v4/accounts.locations.questions/delete) | Deletes a specific question written by the current user. |\n| ### [list](/my-business/reference/rest/v4/accounts.locations.questions/list) | Returns the paginated list of questions and some of its answers for a specified location. |\n| ### [patch](/my-business/reference/rest/v4/accounts.locations.questions/patch) | Updates a specific question written by the current user. |"]]