Class: Google::Cloud::Logging::V2::IndexConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Logging::V2::IndexConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/logging/v2/logging_config.rb
Overview
Configuration for an indexed field.
Instance Attribute Summary collapse
-
#create_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#field_path ⇒ ::String
Required.
-
#type ⇒ ::Google::Cloud::Logging::V2::IndexType
Required.
Instance Attribute Details
#create_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The timestamp when the index was last modified.
This is used to return the timestamp, and will be ignored if supplied during update.
44 45 46 47 |
# File 'proto_docs/google/logging/v2/logging_config.rb', line 44 class IndexConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#field_path ⇒ ::String
Returns Required. The LogEntry field path to index.
Note that some paths are automatically indexed, and other paths are not eligible for indexing. See indexing documentation for details.
For example: jsonPayload.request.status
.
44 45 46 47 |
# File 'proto_docs/google/logging/v2/logging_config.rb', line 44 class IndexConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#type ⇒ ::Google::Cloud::Logging::V2::IndexType
Returns Required. The type of data in this index.
44 45 46 47 |
# File 'proto_docs/google/logging/v2/logging_config.rb', line 44 class IndexConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |