public sealed class BackendServiceLogConfig : IMessage<BackendServiceLogConfig>, IEquatable<BackendServiceLogConfig>, IDeepCloneable<BackendServiceLogConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class BackendServiceLogConfig.
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 1.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-24 UTC."],[[["This webpage provides reference documentation for the `BackendServiceLogConfig` class within the Google.Cloud.Compute.V1 namespace, detailing its functionality for managing load balancer traffic logging."],["The `BackendServiceLogConfig` class implements interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and has constructors for creating new instances, either blank, or cloned from another instance."],["Key properties of `BackendServiceLogConfig` include `Enable`, which toggles logging, and `SampleRate`, which sets the sampling rate of logged requests, ranging from 0.0 to 1.0."],["The page also lists the different versions available for `BackendServiceLogConfig`, ranging from version 1.0.0 all the way to the most recent 3.6.0."],["`BackendServiceLogConfig` is used to configure logging for the traffic handled by a load balancer, allowing control over whether logs are generated and how many are sampled."]]],[]]