# Google Cloud Storage Insights V1 Client - Class ProjectErrors (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 ProjectErrors.

Provides a summary of the project level error statistics.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ validated_count` | `int|string` Optional. Count of successfully validated projects. |
| `↳ outside_org_error_count` | `int|string` Optional. Count of projects which are not in the same organization. |
| `↳ outside_org_project_numbers` | `int[]|string[]` Optional. Subset of project numbers which are not in the same organization. |
| `↳ non_management_hub_entitled_error_count` | `int|string` Optional. Count of projects that are not subscribed to Storage Intelligence. |
| `↳ non_management_hub_entitled_project_numbers` | `int[]|string[]` Optional. Subset of project numbers that are not subscribed to Storage Intelligence. |
| `↳ non_storage_intelligence_entitled_error_count` | `int|string` Optional. Count of projects that are not subscribed to Storage Intelligence. |
| `↳ non_storage_intelligence_entitled_project_numbers` | `int[]|string[]` Optional. Subset of project numbers that are not subscribed to Storage Intelligence. |
| `↳ internal_error_count` | `int|string` Optional. Number of projects that encountered internal errors during validation and are automatically retried. |
| `↳ destination_project_org_error` | `bool` Optional. Indicates if the destination project resides within the same organization as the source project. |
| `↳ destination_project_check_has_internal_error` | `bool` Optional. Indicates whether the destination project check failed due to an internal error. If `true`, the system automatically retries the check. |

### getValidatedCount

Optional. Count of successfully validated projects.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### hasValidatedCount

### clearValidatedCount

### setValidatedCount

Optional. Count of successfully validated projects.

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

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

### getOutsideOrgErrorCount

Optional. Count of projects which are not in the same organization.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### hasOutsideOrgErrorCount

### clearOutsideOrgErrorCount

### setOutsideOrgErrorCount

Optional. Count of projects which are not in the same organization.

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

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

### getOutsideOrgProjectNumbers

Optional. Subset of project numbers which are not in the same
organization.

| **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>` |   |

### setOutsideOrgProjectNumbers

Optional. Subset of project numbers which are not in the same
organization.

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

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

### getNonManagementHubEntitledErrorCount

Optional. Count of projects that are not subscribed to Storage
Intelligence.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### hasNonManagementHubEntitledErrorCount

### clearNonManagementHubEntitledErrorCount

### setNonManagementHubEntitledErrorCount

Optional. Count of projects that are not subscribed to Storage
Intelligence.

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

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

### getNonManagementHubEntitledProjectNumbers

Optional. Subset of project numbers that are not subscribed to Storage
Intelligence.

| **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>` |   |

### setNonManagementHubEntitledProjectNumbers

Optional. Subset of project numbers that are not subscribed to Storage
Intelligence.

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

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

### getNonStorageIntelligenceEntitledErrorCount

Optional. Count of projects that are not subscribed to Storage
Intelligence.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### hasNonStorageIntelligenceEntitledErrorCount

### clearNonStorageIntelligenceEntitledErrorCount

### setNonStorageIntelligenceEntitledErrorCount

Optional. Count of projects that are not subscribed to Storage
Intelligence.

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

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

### getNonStorageIntelligenceEntitledProjectNumbers

Optional. Subset of project numbers that are not subscribed to Storage
Intelligence.

| **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>` |   |

### setNonStorageIntelligenceEntitledProjectNumbers

Optional. Subset of project numbers that are not subscribed to Storage
Intelligence.

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

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

### getInternalErrorCount

Optional. Number of projects that encountered internal errors during
validation and are automatically retried.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### hasInternalErrorCount

### clearInternalErrorCount

### setInternalErrorCount

Optional. Number of projects that encountered internal errors during
validation and are automatically retried.

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

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

### getDestinationProjectOrgError

Optional. Indicates if the destination project resides within the same
organization as the source project.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### hasDestinationProjectOrgError

### setDestinationProjectOrgError

Optional. Indicates if the destination project resides within the same
organization as the source project.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

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

### getDestinationProjectCheckHasInternalError

Optional. Indicates whether the destination project check failed due to
an internal error. If `true`, the system automatically retries the
check.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### hasDestinationProjectCheckHasInternalError

### setDestinationProjectCheckHasInternalError

Optional. Indicates whether the destination project check failed due to
an internal error. If `true`, the system automatically retries the
check.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

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

### getDestinationProjectCheckResult

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |