REST Resource: accounts.locations.questions.answers

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

delete

Deletes the answer written by the current user to a question.

list

Returns the paginated list of answers for a specified question.

upsert

Creates an answer or updates the existing answer written by the user for the specified question.