Google Cloud Storage Batch Operations V1 Client - Class ErrorSummary (0.1.2)

Reference documentation and code samples for the Google Cloud Storage Batch Operations V1 Client class ErrorSummary.

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

Generated from protobuf message google.cloud.storagebatchoperations.v1.ErrorSummary

Namespace

Google \ Cloud \ StorageBatchOperations \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ error_code int

Required. The canonical error code.

↳ error_count int|string

Required. Number of errors encountered per error_code.

↳ error_log_entries array<ErrorLogEntry>

Required. Sample error logs.

getErrorCode

Required. The canonical error code.

Returns
Type Description
int Enum of type Code.

setErrorCode

Required. The canonical error code.

Parameter
Name Description
var int

Enum of type Code.

Returns
Type Description
$this

getErrorCount

Required. Number of errors encountered per error_code.

Returns
Type Description
int|string

setErrorCount

Required. Number of errors encountered per error_code.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getErrorLogEntries

Required. Sample error logs.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setErrorLogEntries

Required. Sample error logs.

Parameter
Name Description
var array<ErrorLogEntry>
Returns
Type Description
$this