Class: Google::Cloud::ServiceControl::V1::LogEntry

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/api/servicecontrol/v1/log_entry.rb

Overview

An individual log entry.

Defined Under Namespace

Classes: LabelsEntry

Instance Attribute Summary collapse

Instance Attribute Details

#http_request::Google::Cloud::ServiceControl::V1::HttpRequest

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

Returns:



75
76
77
78
79
80
81
82
83
84
85
86
87
# File 'proto_docs/google/api/servicecontrol/v1/log_entry.rb', line 75

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

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

Returns:

  • (::String)

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



75
76
77
78
79
80
81
82
83
84
85
86
87
# File 'proto_docs/google/api/servicecontrol/v1/log_entry.rb', line 75

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}

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

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

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



75
76
77
78
79
80
81
82
83
84
85
86
87
# File 'proto_docs/google/api/servicecontrol/v1/log_entry.rb', line 75

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

#name::String

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

Returns:

  • (::String)

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



75
76
77
78
79
80
81
82
83
84
85
86
87
# File 'proto_docs/google/api/servicecontrol/v1/log_entry.rb', line 75

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::ServiceControl::V1::LogEntryOperation

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

Returns:



75
76
77
78
79
80
81
82
83
84
85
86
87
# File 'proto_docs/google/api/servicecontrol/v1/log_entry.rb', line 75

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

Returns The log entry payload, represented as a protocol buffer that is expressed as a JSON object. The only accepted type currently is [AuditLog][google.cloud.audit.AuditLog].

Returns:

  • (::Google::Protobuf::Any)

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



75
76
77
78
79
80
81
82
83
84
85
86
87
# File 'proto_docs/google/api/servicecontrol/v1/log_entry.rb', line 75

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

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

Returns:



75
76
77
78
79
80
81
82
83
84
85
86
87
# File 'proto_docs/google/api/servicecontrol/v1/log_entry.rb', line 75

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::ServiceControl::V1::LogEntrySourceLocation

Returns Optional. Source code location information associated with the log entry, if any.

Returns:



75
76
77
78
79
80
81
82
83
84
85
86
87
# File 'proto_docs/google/api/servicecontrol/v1/log_entry.rb', line 75

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

#struct_payload::Google::Protobuf::Struct

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

Returns:



75
76
77
78
79
80
81
82
83
84
85
86
87
# File 'proto_docs/google/api/servicecontrol/v1/log_entry.rb', line 75

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

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

Returns:

  • (::String)

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



75
76
77
78
79
80
81
82
83
84
85
86
87
# File 'proto_docs/google/api/servicecontrol/v1/log_entry.rb', line 75

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

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

Returns:



75
76
77
78
79
80
81
82
83
84
85
86
87
# File 'proto_docs/google/api/servicecontrol/v1/log_entry.rb', line 75

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

Returns 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.

Returns:

  • (::String)

    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



75
76
77
78
79
80
81
82
83
84
85
86
87
# File 'proto_docs/google/api/servicecontrol/v1/log_entry.rb', line 75

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