Reference documentation and code samples for the Cloud Logging V2 API class Google::Cloud::Logging::V2::IndexConfig.
Configuration for an indexed field.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
-
(::Google::Protobuf::Timestamp) — 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.
#field_path
def field_path() -> ::String
-
(::String) — 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
#field_path=
def field_path=(value) -> ::String
-
value (::String) — 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
-
(::String) — 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
#type
def type() -> ::Google::Cloud::Logging::V2::IndexType
- (::Google::Cloud::Logging::V2::IndexType) — Required. The type of data in this index.
#type=
def type=(value) -> ::Google::Cloud::Logging::V2::IndexType
- value (::Google::Cloud::Logging::V2::IndexType) — Required. The type of data in this index.
- (::Google::Cloud::Logging::V2::IndexType) — Required. The type of data in this index.