0.2.1 (latest) 0.1.0 Reference documentation and code samples for the Google Developer Knowledge V1 Client class BatchGetDocumentsResponse.

Response message for
[DeveloperKnowledge.BatchGetDocuments](https://developers.google.com/php/docs/reference/developer-knowledge/latest/V1.Client.DeveloperKnowledgeClient#_Google_Developers_DeveloperKnowledge_V1_Client_DeveloperKnowledgeClient__batchGetDocuments__).

Generated from protobuf message `google.developers.knowledge.v1.BatchGetDocumentsResponse`

## Namespace

Google \\ Developers \\ DeveloperKnowledge \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ documents` | `array<https://developers.google.com/php/docs/reference/developer-knowledge/latest/V1.Document>` Contains the documents requested. |

### getDocuments

Contains the documents requested.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<https://developers.google.com/php/docs/reference/developer-knowledge/latest/V1.Document>` |   |

### setDocuments

Contains the documents requested.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://developers.google.com/php/docs/reference/developer-knowledge/latest/V1.Document>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |