GoogleCloudAiplatformV1SampleConfig.fromJson constructor

GoogleCloudAiplatformV1SampleConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1SampleConfig.fromJson(core.Map json_)
    : this(
        followingBatchSamplePercentage:
            json_.containsKey('followingBatchSamplePercentage')
                ? json_['followingBatchSamplePercentage'] as core.int
                : null,
        initialBatchSamplePercentage:
            json_.containsKey('initialBatchSamplePercentage')
                ? json_['initialBatchSamplePercentage'] as core.int
                : null,
        sampleStrategy: json_.containsKey('sampleStrategy')
            ? json_['sampleStrategy'] as core.String
            : null,
      );