The parameters to WriteLogEntries.
.. attribute:: log_name
Optional. 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. For example: :: "projects/my-project-
id/logs/syslog" "organizations/1234567890/logs/cloudresour
cemanager.googleapis.com%2Factivity" The permission
logging.logEntries.create is needed on each project,
organization, billing account, or folder that is receiving new
log entries, whether the resource is specified in logName or
in an individual log entry.
Optional. Default labels that are added to the labels
field of all log entries in entries
. 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. See
LogEntry][google.logging.v2.LogEntry]
.
Optional. Whether valid entries should be written even if some
other entries fail due to INVALID_ARGUMENT or
PERMISSION_DENIED errors. If any entry is not written, then
the response status is the error associated with one of the
failed entries and the response includes error details keyed
by the entries' zero-based index in the entries.write
method.
Inheritance
builtins.object > google.protobuf.pyext._message.CMessage > builtins.object > google.protobuf.message.Message > WriteLogEntriesRequestClasses
LabelsEntry
API documentation for logging_v2.types.WriteLogEntriesRequest.LabelsEntry
class.