Stackdriver Logging V2 Client - Class WriteLogEntriesPartialErrors (1.31.0)

Reference documentation and code samples for the Stackdriver Logging V2 Client class WriteLogEntriesPartialErrors.

Error details for WriteLogEntries with partial success.

Generated from protobuf message google.logging.v2.WriteLogEntriesPartialErrors

Namespace

Google \ Cloud \ Logging \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ log_entry_errors array|Google\Protobuf\Internal\MapField

When WriteLogEntriesRequest.partial_success is true, records the error status for entries that were not written due to a permanent error, keyed by the entry's zero-based index in WriteLogEntriesRequest.entries. Failed requests for which no entries are written will not include per-entry errors.

getLogEntryErrors

When WriteLogEntriesRequest.partial_success is true, records the error status for entries that were not written due to a permanent error, keyed by the entry's zero-based index in WriteLogEntriesRequest.entries.

Failed requests for which no entries are written will not include per-entry errors.

Returns
Type Description
Google\Protobuf\Internal\MapField

setLogEntryErrors

When WriteLogEntriesRequest.partial_success is true, records the error status for entries that were not written due to a permanent error, keyed by the entry's zero-based index in WriteLogEntriesRequest.entries.

Failed requests for which no entries are written will not include per-entry errors.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this