Resource: Answer
Represents an answer to a question
JSON representation | |
---|---|
{
"name": string,
"author": {
object ( |
Fields | |
---|---|
name |
Output only. The unique name for the answer accounts/*/locations/*/questions/*/answers/* |
author |
Output only. The author of the answer. |
upvoteCount |
Output only. The number of upvotes for the answer. |
text |
The text of the answer. It should contain at least one non-whitespace character. The maximum length is 4096 characters. |
createTime |
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: |
updateTime |
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: |
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. |