Class: Google::Cloud::Logging::V2::IndexConfig

Inherits:
Object
  • Object
show all
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

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.

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.



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.

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



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.

Returns:



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