public sealed class SamplingStrategy : IMessage<SamplingStrategy>, IEquatable<SamplingStrategy>, IDeepCloneable<SamplingStrategy>, IBufferMessage, IMessage
Sampling Strategy for logging, can be for both training and prediction
dataset.
Next ID: 2
[[["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-20 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eSamplingStrategy\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1\u003c/code\u003e namespace, specifically version 2.0.0 of the library, with links to historical versions of the same class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSamplingStrategy\u003c/code\u003e class, found in the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1.dll\u003c/code\u003e assembly, is designed for defining the sampling method for logging purposes during both training and prediction, with plans for more strategies in the future.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eObject\u003c/code\u003e and implements multiple 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\u003eThere are two constructors available for \u003ccode\u003eSamplingStrategy\u003c/code\u003e, one being empty and the other using another \u003ccode\u003eSamplingStrategy\u003c/code\u003e instance as an argument.\u003c/p\u003e\n"],["\u003cp\u003eIt contains a \u003ccode\u003eRandomSampleConfig\u003c/code\u003e property of type \u003ccode\u003eSamplingStrategy.Types.RandomSampleConfig\u003c/code\u003e, used for configurations related to random sampling.\u003c/p\u003e\n"]]],[],null,[]]