Cloud Logging V2 API - Class Google::Cloud::Logging::V2::WriteLogEntriesPartialErrors (v1.0.1)

Reference documentation and code samples for the Cloud Logging V2 API class Google::Cloud::Logging::V2::WriteLogEntriesPartialErrors.

Error details for WriteLogEntries with partial success.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#log_entry_errors

def log_entry_errors() -> ::Google::Protobuf::Map{::Integer => ::Google::Rpc::Status}
Returns
  • (::Google::Protobuf::Map{::Integer => ::Google::Rpc::Status}) — 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.

#log_entry_errors=

def log_entry_errors=(value) -> ::Google::Protobuf::Map{::Integer => ::Google::Rpc::Status}
Parameter
  • value (::Google::Protobuf::Map{::Integer => ::Google::Rpc::Status}) — 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
  • (::Google::Protobuf::Map{::Integer => ::Google::Rpc::Status}) — 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.