Resource: Answer
Defines an answer.
| JSON representation | 
|---|
{ "name": string, "state": enum (  | 
              
| Fields | |
|---|---|
name | 
                
                   
 Immutable. Fully qualified name   | 
              
state | 
                
                   
 The State of the answer generation.  | 
              
answerText | 
                
                   
 The textual answer.  | 
              
citations[] | 
                
                   
 Citations.  | 
              
groundingSupports[] | 
                
                   
 Optional. Grounding supports.  | 
              
references[] | 
                
                   
 References.  | 
              
relatedQuestions[] | 
                
                   
 Suggested related questions.  | 
              
steps[] | 
                
                   
 Answer generation steps.  | 
              
queryUnderstandingInfo | 
                
                   
 Query understanding information.  | 
              
answerSkippedReasons[] | 
                
                   
 Additional answer-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set.  | 
              
createTime | 
                
                   
 Output only. Answer creation timestamp. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:   | 
              
completeTime | 
                
                   
 Output only. Answer completed timestamp. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:   | 
              
safetyRatings[] | 
                
                   
 Optional. Safety ratings.  | 
              
groundingScore | 
                
                   
 A score in the range of [0, 1] describing how grounded the answer is by the reference chunks.  | 
              
Methods | 
            |
|---|---|
                
 | 
              Gets a Answer. |