public sealed class StackdriverLoggingConfig : IMessage<StackdriverLoggingConfig>, IEquatable<StackdriverLoggingConfig>, IDeepCloneable<StackdriverLoggingConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Tasks v2 API class StackdriverLoggingConfig.
Specifies the fraction of operations to write to
Stackdriver Logging.
This field may contain any value between 0.0 and 1.0, inclusive.
0.0 is the default and means that no operations are logged.
[[["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-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eStackdriverLoggingConfig\u003c/code\u003e class in the Google Cloud Tasks v2 API allows configuration for writing logs to Stackdriver Logging.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the \u003ccode\u003eGoogle.Cloud.Tasks.V2\u003c/code\u003e namespace and is available in the \u003ccode\u003eGoogle.Cloud.Tasks.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eIt implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, among others, and inherits from the \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class has a \u003ccode\u003eSamplingRatio\u003c/code\u003e property that determines the fraction of operations that will be logged to Stackdriver, with a range from 0.0 to 1.0.\u003c/p\u003e\n"],["\u003cp\u003eThe document contains links to previous versions of the same documentation, with 3.5.0 being the latest version.\u003c/p\u003e\n"]]],[],null,[]]