# Storage Batch Operations V1 API - Class Google::Cloud::StorageBatchOperations::V1::ErrorSummary (v0.10.0)

0.10.0 (latest) 0.9.0 0.8.1 0.7.0 0.6.0 0.5.0 0.4.1 0.3.0 0.2.0 0.1.3 Reference documentation and code samples for the Storage Batch Operations V1 API class Google::Cloud::StorageBatchOperations::V1::ErrorSummary.

A summary of errors by error code, plus a count and sample error log
entries.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #error_code

    def error_code() -> ::Google::Rpc::Code

**Returns**

- ([::Google::Rpc::Code](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_batch_operations-v1/latest/Google-Rpc-Code)) --- Required. The canonical error code.

### #error_code=

    def error_code=(value) -> ::Google::Rpc::Code

**Parameter**

- **value** ([::Google::Rpc::Code](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_batch_operations-v1/latest/Google-Rpc-Code)) --- Required. The canonical error code.
**Returns**

- ([::Google::Rpc::Code](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_batch_operations-v1/latest/Google-Rpc-Code)) --- Required. The canonical error code.

### #error_count

    def error_count() -> ::Integer

**Returns**

- (::Integer) --- Required. Number of errors encountered per `error_code`.

### #error_count=

    def error_count=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Required. Number of errors encountered per `error_code`.
**Returns**

- (::Integer) --- Required. Number of errors encountered per `error_code`.

### #error_log_entries

    def error_log_entries() -> ::Array<::Google::Cloud::StorageBatchOperations::V1::ErrorLogEntry>

**Returns**

- (::Array\<[::Google::Cloud::StorageBatchOperations::V1::ErrorLogEntry](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_batch_operations-v1/latest/Google-Cloud-StorageBatchOperations-V1-ErrorLogEntry)\>) --- Required. Sample error logs.

### #error_log_entries=

    def error_log_entries=(value) -> ::Array<::Google::Cloud::StorageBatchOperations::V1::ErrorLogEntry>

**Parameter**

- **value** (::Array\<[::Google::Cloud::StorageBatchOperations::V1::ErrorLogEntry](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_batch_operations-v1/latest/Google-Cloud-StorageBatchOperations-V1-ErrorLogEntry)\>) --- Required. Sample error logs.
**Returns**

- (::Array\<[::Google::Cloud::StorageBatchOperations::V1::ErrorLogEntry](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-storage_batch_operations-v1/latest/Google-Cloud-StorageBatchOperations-V1-ErrorLogEntry)\>) --- Required. Sample error logs.