Google Business Performance API has a
NEW API method that allows fetching multiple `DailyMetrics` in a single API request. Review the
deprecation schedule and instructions to migrate over from v4 reportInsights API method to Google Business Profile Performance API.
REST Resource: accounts.locations.questions.answers
Stay organized with collections
Save and categorize content based on your preferences.
Resource: Answer
Represents an answer to a question
JSON representation |
{
"name": string,
"author": {
object (Author )
},
"upvoteCount": integer,
"text": string,
"createTime": string,
"updateTime": string
} |
Fields |
name |
string
Output only. The unique name for the answer accounts/*/locations/*/questions/*/answers/*
|
author |
object (Author )
Output only. The author of the answer.
|
upvoteCount |
integer
Output only. The number of upvotes for the answer.
|
text |
string
The text of the answer. It should contain at least one non-whitespace character. The maximum length is 4096 characters.
|
createTime |
string (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" .
|
updateTime |
string (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" .
|
Methods |
|
Deletes the answer written by the current user to a question. |
|
Returns the paginated list of answers for a specified question. |
|
Creates an answer or updates the existing answer written by the user for the specified question. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-16 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-16 UTC."],[[["The Answer resource represents an answer to a question, including details like author, upvote count, and text."],["Answers can be created, updated, deleted, and listed using the provided methods."],["Answer data is represented in JSON format with fields for name, author, upvote count, text, creation time, and update time."],["The text of an answer can be up to 4096 characters long and must contain at least one non-whitespace character."],["Answer timestamps are formatted according to RFC3339 UTC \"Zulu\" format with nanosecond resolution."]]],[]]