Stackdriver Logging V2 Client - Class WriteLogEntriesPartialErrors (1.32.2)

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

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
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: