Class BackendServiceLogConfig
The available logging options for the load balancer traffic served by this backend service.
Inheritance
System.Object
BackendServiceLogConfig
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Compute.v1.Data
Assembly: Google.Apis.Compute.v1.dll
Syntax
public class BackendServiceLogConfig : IDirectResponseSchema
Properties
Enable
This field denotes whether to enable logging for the load balancer traffic served by this backend service.
Declaration
[JsonProperty("enable")]
public virtual bool? Enable { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
SampleRate
This field can only be specified if logging is enabled for this backend service. The value of the field must be in [0, 1]. This configures the sampling rate of requests to the load balancer where 1.0 means all logged requests are reported and 0.0 means no logged requests are reported. The default value is 1.0.
Declaration
[JsonProperty("sampleRate")]
public virtual float? SampleRate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Single> |