Class GoogleCloudRetailV2alphaLoggingConfigLogGenerationRule
The logging configurations for services supporting log generation.
Implements
Inherited Members
Namespace: Google.Apis.CloudRetail.v2alpha.Data
Assembly: Google.Apis.CloudRetail.v2alpha.dll
Syntax
public class GoogleCloudRetailV2alphaLoggingConfigLogGenerationRule : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
InfoLogSampleRate
The log sample rate for INFO level log entries. You can use this to reduce the number of entries generated for INFO level logs. DO NOT set this field if the logging_level is not LoggingLevel.LOG_ALL. Otherwise, an INVALID_ARGUMENT error is returned. Sample rate for INFO logs defaults to 1 when unset (generate and send all INFO logs to Cloud Logging). Its value must be greater than 0 and less than or equal to 1.
Declaration
[JsonProperty("infoLogSampleRate")]
public virtual float? InfoLogSampleRate { get; set; }
Property Value
Type | Description |
---|---|
float? |
LoggingLevel
The logging level. By default it is set to LOG_WARNINGS_AND_ABOVE
.
Declaration
[JsonProperty("loggingLevel")]
public virtual string LoggingLevel { get; set; }
Property Value
Type | Description |
---|---|
string |