Reference documentation and code samples for the Google Developer Knowledge V1 Client class AnswerReference.
Represents a reference to a source.
Generated from protobuf message google.developers.knowledge.v1.Answer.AnswerReference
Namespace
Google \ Developers \ DeveloperKnowledge \ V1 \ AnswerMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ document_reference |
DocumentReference
Output only. The reference document. |
getDocumentReference
Output only. The reference document.
| Returns | |
|---|---|
| Type | Description |
DocumentReference|null |
|
hasDocumentReference
setDocumentReference
Output only. The reference document.
| Parameter | |
|---|---|
| Name | Description |
var |
DocumentReference
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getContent
| Returns | |
|---|---|
| Type | Description |
string |
|