Cloud Logging V2 API - Class Google::Cloud::Logging::V2::IndexConfig (v1.0.1)

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
Returns
  • (::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
Returns
  • (::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
Parameter
  • 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

Returns
  • (::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
Returns

#type=

def type=(value) -> ::Google::Cloud::Logging::V2::IndexType
Parameter
Returns