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.
Implements
IMessageIndexConfig, IEquatableIndexConfig, IDeepCloneableIndexConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Logging.V2Assembly
Google.Cloud.Logging.V2.dll
Constructors
IndexConfig()
public IndexConfig()
IndexConfig(IndexConfig)
public IndexConfig(IndexConfig other)
Parameter | |
---|---|
Name | Description |
other | IndexConfig |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |
Type
public IndexType Type { get; set; }
Required. The type of data in this index.
Property Value | |
---|---|
Type | Description |
IndexType |