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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eBackendServiceLogConfig\u003c/code\u003e class within the Google.Cloud.Compute.V1 API, specifically version 2.5.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBackendServiceLogConfig\u003c/code\u003e class is used to manage logging options for load balancer traffic served by a backend service.\u003c/p\u003e\n"],["\u003cp\u003eThe latest available version of the documentation is 3.6.0, and there are several versions available, ranging from 1.0.0 up to 3.6.0, each with their own documentation page.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBackendServiceLogConfig\u003c/code\u003e has properties to enable/disable logging (\u003ccode\u003eEnable\u003c/code\u003e) and to set the sampling rate (\u003ccode\u003eSampleRate\u003c/code\u003e) for logged requests.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBackendServiceLogConfig\u003c/code\u003e implements multiple interfaces such as IMessage, IEquatable, IDeepCloneable and IBufferMessage.\u003c/p\u003e\n"]]],[],null,[]]