Reference documentation and code samples for the Stackdriver Logging V2 Client class IndexConfig.
Configuration for an indexed field.
Generated from protobuf message google.logging.v2.IndexConfig
Namespace
Google \ Cloud \ Logging \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ field_path
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
int
Required. The type of data in this index.
↳ create_time
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.
getFieldPath
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
setFieldPath
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
var
string
$this
getType
Required. The type of data in this index.
int
setType
Required. The type of data in this index.
var
int
$this
getCreateTime
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.
hasCreateTime
clearCreateTime
setCreateTime
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.
$this