Reference documentation and code samples for the Google Developer Knowledge V1 Client class CitationSource.
Citation source.
Generated from protobuf message google.developers.knowledge.v1.Answer.CitationSource
Namespace
Google \ Developers \ DeveloperKnowledge \ V1 \ AnswerMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ reference_index |
int
Output only. Contains the index of the Answer.AnswerReference in the |
getReferenceIndex
Output only. Contains the index of the
Answer.AnswerReference
in the references repeated field.
| Returns | |
|---|---|
| Type | Description |
int |
|
setReferenceIndex
Output only. Contains the index of the
Answer.AnswerReference
in the references repeated field.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|