Show / Hide Table of Contents

Class LoggingConfiguration

Configuration for logging collection.

Inheritance
object
LoggingConfiguration
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.NetworkServices.v1beta1.Data
Assembly: Google.Apis.NetworkServices.v1beta1.dll
Syntax
public class LoggingConfiguration : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Enable

Optional. Indicates whether logging is enabled or disabled. Set to true to explicitly enable, or false to explicitly disable.

Declaration
[JsonProperty("enable")]
public virtual bool? Enable { get; set; }
Property Value
Type Description
bool?

LoggingHttpRequestHeaders

Optional. The list of HTTP request headers to be logged. This field can only be specified if logging is enabled.

Declaration
[JsonProperty("loggingHttpRequestHeaders")]
public virtual IList<string> LoggingHttpRequestHeaders { get; set; }
Property Value
Type Description
IList<string>

LoggingHttpResponseHeaders

Optional. The list of HTTP response headers to be logged. This field can only be specified if logging is enabled.

Declaration
[JsonProperty("loggingHttpResponseHeaders")]
public virtual IList<string> LoggingHttpResponseHeaders { get; set; }
Property Value
Type Description
IList<string>

OptionalFields

Optional. Contains a list of optional fields to include in the logs. This field can only be specified if logging is enabled and optional_mode is set to CUSTOM.

Declaration
[JsonProperty("optionalFields")]
public virtual IList<string> OptionalFields { get; set; }
Property Value
Type Description
IList<string>

OptionalMode

Optional. Configures whether all, none, or a subset of optional fields should be added to the reported logs. This field can only be specified if logging is enabled.

Declaration
[JsonProperty("optionalMode")]
public virtual string OptionalMode { get; set; }
Property Value
Type Description
string

SampleRate

Optional. Specifies the logging sampling rate. The sampling rate is a float number in the interval [0, 1]. This field can only be specified if logging is enabled.

Declaration
[JsonProperty("sampleRate")]
public virtual float? SampleRate { get; set; }
Property Value
Type Description
float?

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX