Google Cloud Logging v2 API - Class IndexConfig (4.1.0)

public sealed class IndexConfig : IMessage<IndexConfig>, IEquatable<IndexConfig>, IDeepCloneable<IndexConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Logging v2 API class IndexConfig.

Configuration for an indexed field.

Inheritance

object > IndexConfig

Namespace

Google.Cloud.Logging.V2

Assembly

Google.Cloud.Logging.V2.dll

Constructors

IndexConfig()

public IndexConfig()

IndexConfig(IndexConfig)

public IndexConfig(IndexConfig other)
Parameter
NameDescription
otherIndexConfig

Properties

CreateTime

public Timestamp CreateTime { get; set; }

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.

Property Value
TypeDescription
Timestamp

FieldPath

public string FieldPath { get; set; }

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

Property Value
TypeDescription
string

Type

public IndexType Type { get; set; }

Required. The type of data in this index.

Property Value
TypeDescription
IndexType