Sets a unique ID for the log entry. If you provide this field, the Logging service considers
other log entries in the same log with the same ID as duplicates which can be removed. If
omitted, the Logging service will generate a unique ID for this log entry.
Sets the name of the log to which this log entry belongs. The log name must be less than 512
characters long and can only include the following characters: upper and lower case
alphanumeric characters: [A-Za-z0-9]; and punctuation characters: _-./. The
forward-slash (/) characters in the log name must be URL-encoded. Examples:
syslog, library.googleapis.com%2Fbook_log.
Deprecated.This method is no longer recommended to setup the receive time timestamp.
Use setReceiveTimestamp(Instant) instead.
Sets the time the log entry was received by Cloud Logging, in milliseconds. If omitted, the
Logging service will set the time at which the log entry is received.
Sets the monitored resource associated with this log entry. Example: a log entry that reports
a database error would be associated with the monitored resource designating the particular
database that reported the error.
Sets the time at which the event described by the log entry occurred. If omitted, the Logging
service will use the time at which the log entry is received.
Sets the time at which the event described by the log entry occurred, in milliseconds. If
omitted, the Logging service will use the time at which the log entry is received.
Sets the resource name of the trace associated with the log entry, if any. If it contains a
relative resource name, the name is assumed to be relative to //tracing.googleapis.com.
Sets the resource name of the trace associated with the log entry, if any. If it contains a
relative resource name, the name is assumed to be relative to //tracing.googleapis.com.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]