Class: Google::Cloud::Logging::V2::LogEntry
- Inherits:
-
Object
- Object
- Google::Cloud::Logging::V2::LogEntry
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/logging/v2/log_entry.rb
Overview
An individual entry in a log.
Defined Under Namespace
Classes: LabelsEntry
Instance Attribute Summary collapse
-
#http_request ⇒ ::Google::Cloud::Logging::Type::HttpRequest
Optional.
-
#insert_id ⇒ ::String
Optional.
-
#json_payload ⇒ ::Google::Protobuf::Struct
The log entry payload, represented as a structure that is expressed as a JSON object.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Optional.
-
#log_name ⇒ ::String
Required.
-
#operation ⇒ ::Google::Cloud::Logging::V2::LogEntryOperation
Optional.
-
#proto_payload ⇒ ::Google::Protobuf::Any
The log entry payload, represented as a protocol buffer.
-
#receive_timestamp ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#resource ⇒ ::Google::Api::MonitoredResource
Required.
-
#severity ⇒ ::Google::Cloud::Logging::Type::LogSeverity
Optional.
-
#source_location ⇒ ::Google::Cloud::Logging::V2::LogEntrySourceLocation
Optional.
-
#span_id ⇒ ::String
Optional.
-
#split ⇒ ::Google::Cloud::Logging::V2::LogSplit
Optional.
-
#text_payload ⇒ ::String
The log entry payload, represented as a Unicode string (UTF-8).
-
#timestamp ⇒ ::Google::Protobuf::Timestamp
Optional.
-
#trace ⇒ ::String
Optional.
-
#trace_sampled ⇒ ::Boolean
Optional.
Instance Attribute Details
#http_request ⇒ ::Google::Cloud::Logging::Type::HttpRequest
198 199 200 201 202 203 204 205 206 207 208 209 210 |
# File 'proto_docs/google/logging/v2/log_entry.rb', line 198 class LogEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#insert_id ⇒ ::String
198 199 200 201 202 203 204 205 206 207 208 209 210 |
# File 'proto_docs/google/logging/v2/log_entry.rb', line 198 class LogEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#json_payload ⇒ ::Google::Protobuf::Struct
198 199 200 201 202 203 204 205 206 207 208 209 210 |
# File 'proto_docs/google/logging/v2/log_entry.rb', line 198 class LogEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
198 199 200 201 202 203 204 205 206 207 208 209 210 |
# File 'proto_docs/google/logging/v2/log_entry.rb', line 198 class LogEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#log_name ⇒ ::String
198 199 200 201 202 203 204 205 206 207 208 209 210 |
# File 'proto_docs/google/logging/v2/log_entry.rb', line 198 class LogEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#operation ⇒ ::Google::Cloud::Logging::V2::LogEntryOperation
198 199 200 201 202 203 204 205 206 207 208 209 210 |
# File 'proto_docs/google/logging/v2/log_entry.rb', line 198 class LogEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#proto_payload ⇒ ::Google::Protobuf::Any
198 199 200 201 202 203 204 205 206 207 208 209 210 |
# File 'proto_docs/google/logging/v2/log_entry.rb', line 198 class LogEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#receive_timestamp ⇒ ::Google::Protobuf::Timestamp (readonly)
198 199 200 201 202 203 204 205 206 207 208 209 210 |
# File 'proto_docs/google/logging/v2/log_entry.rb', line 198 class LogEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#resource ⇒ ::Google::Api::MonitoredResource
198 199 200 201 202 203 204 205 206 207 208 209 210 |
# File 'proto_docs/google/logging/v2/log_entry.rb', line 198 class LogEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#severity ⇒ ::Google::Cloud::Logging::Type::LogSeverity
198 199 200 201 202 203 204 205 206 207 208 209 210 |
# File 'proto_docs/google/logging/v2/log_entry.rb', line 198 class LogEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#source_location ⇒ ::Google::Cloud::Logging::V2::LogEntrySourceLocation
198 199 200 201 202 203 204 205 206 207 208 209 210 |
# File 'proto_docs/google/logging/v2/log_entry.rb', line 198 class LogEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#span_id ⇒ ::String
198 199 200 201 202 203 204 205 206 207 208 209 210 |
# File 'proto_docs/google/logging/v2/log_entry.rb', line 198 class LogEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#split ⇒ ::Google::Cloud::Logging::V2::LogSplit
198 199 200 201 202 203 204 205 206 207 208 209 210 |
# File 'proto_docs/google/logging/v2/log_entry.rb', line 198 class LogEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#text_payload ⇒ ::String
198 199 200 201 202 203 204 205 206 207 208 209 210 |
# File 'proto_docs/google/logging/v2/log_entry.rb', line 198 class LogEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#timestamp ⇒ ::Google::Protobuf::Timestamp
198 199 200 201 202 203 204 205 206 207 208 209 210 |
# File 'proto_docs/google/logging/v2/log_entry.rb', line 198 class LogEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#trace ⇒ ::String
198 199 200 201 202 203 204 205 206 207 208 209 210 |
# File 'proto_docs/google/logging/v2/log_entry.rb', line 198 class LogEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#trace_sampled ⇒ ::Boolean
198 199 200 201 202 203 204 205 206 207 208 209 210 |
# File 'proto_docs/google/logging/v2/log_entry.rb', line 198 class LogEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |