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"]],[["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-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 implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable<StackdriverLoggingConfig>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<StackdriverLoggingConfig>\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eStackdriverLoggingConfig\u003c/code\u003e class is available in multiple versions, with the latest being version 3.5.0, and older versions ranging back to 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from the \u003ccode\u003eobject\u003c/code\u003e class and includes members like \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt allows specifying a \u003ccode\u003eSamplingRatio\u003c/code\u003e to determine the fraction of operations logged, ranging from 0.0 (no logs) to 1.0 (all operations logged).\u003c/p\u003e\n"]]],[],null,[]]