public sealed class SamplingStrategy.Types.RandomSampleConfig : IMessage<SamplingStrategy.Types.RandomSampleConfig>, IEquatable<SamplingStrategy.Types.RandomSampleConfig>, IDeepCloneable<SamplingStrategy.Types.RandomSampleConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class SamplingStrategy.Types.RandomSampleConfig.
[[["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-14 UTC."],[[["\u003cp\u003eThis documentation is for the \u003ccode\u003eRandomSampleConfig\u003c/code\u003e class within the Vertex AI v1beta1 API, which is used for randomly selecting requests.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRandomSampleConfig\u003c/code\u003e class 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.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from the base \u003ccode\u003eobject\u003c/code\u003e class and contains inherited members like \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides two constructors, one default and another that accepts an existing \u003ccode\u003eRandomSampleConfig\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eIt has a \u003ccode\u003eSampleRate\u003c/code\u003e property, which is a double value between 0 and 1 that determines the sampling rate for the selection process.\u003c/p\u003e\n"]]],[],null,[]]