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

Provides a summary of the bucket level error statistics.

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

## 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 buckets. |
| `↳ permission_denied_count` | `int|string` Optional. Count of buckets with permission denied errors. |
| `↳ permission_denied_bucket_ids` | `string[]` Optional. Subset of bucket names that have permission denied. |
| `↳ non_management_hub_entitled_count` | `int|string` Optional. Count of buckets that are not subscribed to Storage Intelligence. |
| `↳ internal_error_count` | `int|string` Optional. Number of buckets that encountered internal errors during the validation process. These buckets are automatically retried in subsequent validation attempts. |
| `↳ non_storage_intelligence_entitled_count` | `int|string` Optional. Count of buckets that are not subscribed to Storage Intelligence. |
| `↳ non_storage_intelligence_entitled_bucket_ids` | `string[]` Optional. Subset of bucket names that are not subscribed to Storage Intelligence. |

### getValidatedCount

Optional. Count of successfully validated buckets.

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

### setValidatedCount

Optional. Count of successfully validated buckets.

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

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

### getPermissionDeniedCount

Optional. Count of buckets with permission denied errors.

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

### setPermissionDeniedCount

Optional. Count of buckets with permission denied errors.

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

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

### getPermissionDeniedBucketIds

Optional. Subset of bucket names that have permission denied.

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

### setPermissionDeniedBucketIds

Optional. Subset of bucket names that have permission denied.

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

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

### getNonManagementHubEntitledCount

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

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

### setNonManagementHubEntitledCount

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

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

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

### getInternalErrorCount

Optional. Number of buckets that encountered internal errors during the
validation process. These buckets are automatically retried in subsequent
validation attempts.

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

### setInternalErrorCount

Optional. Number of buckets that encountered internal errors during the
validation process. These buckets are automatically retried in subsequent
validation attempts.

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

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

### getNonStorageIntelligenceEntitledCount

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

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

### setNonStorageIntelligenceEntitledCount

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

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

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

### getNonStorageIntelligenceEntitledBucketIds

Optional. Subset of bucket names that are not subscribed to Storage
Intelligence.

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

### setNonStorageIntelligenceEntitledBucketIds

Optional. Subset of bucket names that are not subscribed to Storage
Intelligence.

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

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