Struct google_servicecontrol1::LogEntry[][src]

pub struct LogEntry {
    pub http_request: Option<HttpRequest>,
    pub severity: Option<String>,
    pub trace: Option<String>,
    pub text_payload: Option<String>,
    pub timestamp: Option<String>,
    pub labels: Option<HashMap<String, String>>,
    pub struct_payload: Option<HashMap<String, String>>,
    pub proto_payload: Option<HashMap<String, String>>,
    pub insert_id: Option<String>,
    pub operation: Option<LogEntryOperation>,
    pub name: Option<String>,
}

An individual log entry.

This type is not used in any activity, and only used as part of another schema.

Fields

Optional. Information about the HTTP request associated with this log entry, if applicable.

The severity of the log entry. The default value is LogSeverity.DEFAULT.

Optional. Resource name of the trace associated with the log entry, if any. If this field contains a relative resource name, you can assume the name is relative to //tracing.googleapis.com. Example: projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824

The log entry payload, represented as a Unicode string (UTF-8).

The time the event described by the log entry occurred. If omitted, defaults to operation start time.

A set of user-defined (key, value) data that provides additional information about the log entry.

The log entry payload, represented as a structure that is expressed as a JSON object.

The log entry payload, represented as a protocol buffer that is expressed as a JSON object. The only accepted type currently is AuditLog.

A unique ID for the log entry used for deduplication. If omitted, the implementation will generate one based on operation_id.

Optional. Information about an operation associated with the log entry, if applicable.

Required. The log to which this log entry belongs. Examples: "syslog", "book_log".

Trait Implementations

impl Default for LogEntry
[src]

Returns the "default value" for a type. Read more

impl Clone for LogEntry
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for LogEntry
[src]

Formats the value using the given formatter. Read more

impl Part for LogEntry
[src]

Auto Trait Implementations

impl Send for LogEntry

impl Sync for LogEntry