WriteLogEntriesRequest constructor
WriteLogEntriesRequest({})
Implementation
factory WriteLogEntriesRequest({
$core.String? logName,
$3.MonitoredResource? resource,
$core.Map<$core.String, $core.String>? labels,
$core.Iterable<$4.LogEntry>? entries,
$core.bool? partialSuccess,
$core.bool? dryRun,
}) {
final _result = create();
if (logName != null) {
_result.logName = logName;
}
if (resource != null) {
_result.resource = resource;
}
if (labels != null) {
_result.labels.addAll(labels);
}
if (entries != null) {
_result.entries.addAll(entries);
}
if (partialSuccess != null) {
_result.partialSuccess = partialSuccess;
}
if (dryRun != null) {
_result.dryRun = dryRun;
}
return _result;
}