public sealed class BackendServiceLogConfig : IMessage<BackendServiceLogConfig>, IEquatable<BackendServiceLogConfig>, IDeepCloneable<BackendServiceLogConfig>, IBufferMessage, IMessage
The available logging options for the load balancer traffic served by this backend service.
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 0.0.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This webpage details the `BackendServiceLogConfig` class within the `Google.Cloud.Compute.V1` namespace, specifically for .NET development."],["The latest version of `BackendServiceLogConfig` is 3.6.0, with a range of previous versions (from 1.0.0 to 3.5.0) also documented on the page."],["`BackendServiceLogConfig` manages logging options for load balancer traffic and implements several interfaces including `IMessage`, `IEquatable`, and `IDeepCloneable`."],["The class offers properties to enable logging (`Enable`), check if logging is enabled (`HasEnable`), check if the sample rate is set (`HasSampleRate`), and adjust the logging sample rate (`SampleRate`)."],["There are two constructors available for creating instances of `BackendServiceLogConfig`, one default and another for copying an existing instance."]]],[]]