SamplingStrategy

Sampling Strategy for logging, can be for both training and prediction dataset.

Fields
randomSampleConfig object (RandomSampleConfig)

Random sample config. Will support more sampling strategies later.

JSON representation
{ "randomSampleConfig": { object (RandomSampleConfig) } }

RandomSampleConfig

Requests are randomly selected.

Fields
sampleRate number

Sample rate (0, 1]

JSON representation
{ "sampleRate": number }