WriteLogEntriesRequest class final
The parameters to WriteLogEntries.
- Inheritance
-
- Object
- ProtoMessage
- WriteLogEntriesRequest
Constructors
Properties
- dryRun → bool
-
Optional. If true, the request should expect normal response, but the
entries won't be persisted nor exported. Useful for checking whether the
logging API endpoints are working properly before sending valuable data.
final
-
entries
→ List<
LogEntry> -
Required. The log entries to send to Logging. The order of log
entries in this list does not matter. Values supplied in this method's
log_name,resource, andlabelsfields are copied into those log entries in this list that do not include values for their corresponding fields. For more information, see theLogEntrytype.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
→ Map<
String, String> -
Optional. Default labels that are added to the
labelsfield of all log entries inentries. If a log entry already has a label with the same key as a label in this parameter, then the log entry's label is not changed. SeeLogEntry.final - logName → String
-
Optional. A default log resource name that is assigned to all log entries
in
entriesthat do not specify a value forlog_name:final - partialSuccess → bool
-
Optional. Whether a batch's valid entries should be written even if some
other entry failed due to a permanent error such as INVALID_ARGUMENT or
PERMISSION_DENIED. If any entry failed, then the response status is the
response status of one of the failed entries. The response will include
error details in
WriteLogEntriesPartialErrors.log_entry_errorskeyed by the entries' zero-based index in theentries. Failed requests for which no entries are written will not include per-entry errors.final - qualifiedName → String
-
The fully qualified name of this message, i.e.,
google.protobuf.Durationorgoogle.rpc.ErrorInfo.finalinherited - resource → MonitoredResource?
-
Optional. A default monitored resource object that is assigned to all log
entries in
entriesthat do not specify a value forresource. Example:final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fullyQualifiedName → const String