LogEntryData constructor
LogEntryData({
- AuditLog? protoPayload,
- String? insertId,
- MonitoredResource? resource,
- Timestamp? timestamp,
- LogSeverity? severity,
- Map<
String, String> ? labels, - String? logName,
- LogEntryOperation? operation,
- String? trace,
- Timestamp? receiveTimestamp,
- String? spanId,
- LogSplit? split,
Implementation
factory LogEntryData({
AuditLog? protoPayload,
$core.String? insertId,
$42.MonitoredResource? resource,
$2.Timestamp? timestamp,
LogSeverity? severity,
$core.Map<$core.String, $core.String>? labels,
$core.String? logName,
LogEntryOperation? operation,
$core.String? trace,
$2.Timestamp? receiveTimestamp,
$core.String? spanId,
LogSplit? split,
}) {
final $result = create();
if (protoPayload != null) {
$result.protoPayload = protoPayload;
}
if (insertId != null) {
$result.insertId = insertId;
}
if (resource != null) {
$result.resource = resource;
}
if (timestamp != null) {
$result.timestamp = timestamp;
}
if (severity != null) {
$result.severity = severity;
}
if (labels != null) {
$result.labels.addAll(labels);
}
if (logName != null) {
$result.logName = logName;
}
if (operation != null) {
$result.operation = operation;
}
if (trace != null) {
$result.trace = trace;
}
if (receiveTimestamp != null) {
$result.receiveTimestamp = receiveTimestamp;
}
if (spanId != null) {
$result.spanId = spanId;
}
if (split != null) {
$result.split = split;
}
return $result;
}