# Google Cloud Storage Insights V1 Client - Class SourceProjects (1.4.0)

1.4.0 (latest) 1.3.3 1.2.1 1.1.0 1.0.3 0.3.5 0.2.3 0.1.1 Reference documentation and code samples for the Google Cloud Storage Insights V1 Client class SourceProjects.

Collection of project numbers

Generated from protobuf message `google.cloud.storageinsights.v1.DatasetConfig.SourceProjects`

## Namespace

Google \\ Cloud \\ StorageInsights \\ V1 \\ DatasetConfig

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ project_numbers` | `int[]|string[]` |

### getProjectNumbers

Generated from protobuf field `repeated int64 project_numbers = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<int>|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setProjectNumbers

Generated from protobuf field `repeated int64 project_numbers = 1;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int[]|string[]` |

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