WriteLogEntriesRequest class

The parameters to WriteLogEntries.

Constructors

WriteLogEntriesRequest({bool? dryRun, List<LogEntry>? entries, Map<String, String>? labels, String? logName, bool? partialSuccess, MonitoredResource? resource})
WriteLogEntriesRequest.fromJson(Map json_)

Properties

dryRun bool?
If true, the request should expect normal response, but the entries won't be persisted nor exported.
getter/setter pair
entries List<LogEntry>?
The log entries to send to Logging.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
labels Map<String, String>?
Default labels that are added to the labels field of all log entries in entries.
getter/setter pair
logName String?
A default log resource name that is assigned to all log entries in entries that do not specify a value for log_name: projects/[PROJECT_ID]/logs/[LOG_ID] organizations/[ORGANIZATION_ID]/logs/[LOG_ID] billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID] folders/[FOLDER_ID]/logs/[LOG_ID][LOG_ID] must be URL-encoded.
getter/setter pair
partialSuccess bool?
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.
getter/setter pair
resource MonitoredResource?
A default monitored resource object that is assigned to all log entries in entries that do not specify a value for resource.
getter/setter pair
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() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited