Google Cloud Storage Transfer V1 Client - Class ErrorSummary (1.4.5)

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

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

Generated from protobuf message google.storagetransfer.v1.ErrorSummary

Namespace

Google \ Cloud \ StorageTransfer \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ error_code int

Required.

↳ error_count int|string

Required. Count of this type of error.

↳ error_log_entries array<Google\Cloud\StorageTransfer\V1\ErrorLogEntry>

Error samples. At most 5 error log entries are recorded for a given error code for a single transfer operation.

getErrorCode

Required.

Returns
Type Description
int

setErrorCode

Required.

Parameter
Name Description
var int
Returns
Type Description
$this

getErrorCount

Required. Count of this type of error.

Returns
Type Description
int|string

setErrorCount

Required. Count of this type of error.

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

getErrorLogEntries

Error samples.

At most 5 error log entries are recorded for a given error code for a single transfer operation.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setErrorLogEntries

Error samples.

At most 5 error log entries are recorded for a given error code for a single transfer operation.

Parameter
Name Description
var array<Google\Cloud\StorageTransfer\V1\ErrorLogEntry>
Returns
Type Description
$this