L'API
Google Business Performance ha un metodo
NOVITÀ che consente di recuperare più `dailyMetrics` in un'unica richiesta API.
Consulta il
calendario del ritiro e le istruzioni per eseguire la migrazione dal metodo API ReportInsights della versione 4 all'API Performance di Google Profilo.
REST Resource: accounts.locations.questions.answers
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Risorsa: risposta
Rappresenta una risposta a una domanda
Rappresentazione JSON |
{
"name": string,
"author": {
object (Author )
},
"upvoteCount": integer,
"text": string,
"createTime": string,
"updateTime": string
} |
Campi |
name |
string
Solo output. Nome univoco delle risposte accounts/*/locations/*/questions/*/answers/*
|
author |
object (Author )
Solo output. L'autore della risposta.
|
upvoteCount |
integer
Solo output. Il numero di voti positivi per la risposta.
|
text |
string
Il testo della risposta. Deve contenere almeno uno spazio non vuoto. La lunghezza massima è di 4096 caratteri.
|
createTime |
string (Timestamp format)
Solo output. Il timestamp in cui è stata scritta la risposta. Un timestamp nel formato RFC3339 UTC "Zulu" con risoluzione in nanosecondi e fino a nove cifre frazionarie. Esempi: "2014-10-02T15:01:23Z" e "2014-10-02T15:01:23.045123456Z" .
|
updateTime |
string (Timestamp format)
Solo output. Il timestamp relativo all'ultima modifica della risposta. Un timestamp nel formato RFC3339 UTC "Zulu" con risoluzione in nanosecondi e fino a nove cifre frazionarie. Esempi: "2014-10-02T15:01:23Z" e "2014-10-02T15:01:23.045123456Z" .
|
Metodi |
|
Consente di eliminare la risposta scritta dall'utente corrente a una domanda. |
|
Restituisce l'elenco impaginato di risposte per una domanda specifica. |
|
Crea una risposta o aggiorna la risposta esistente scritta dall'utente per la domanda specificata. |
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-25 UTC.
[null,null,["Ultimo aggiornamento 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. |"]]