GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigTrainingDataset.fromJson constructor

GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigTrainingDataset.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1ModelMonitoringObjectiveConfigTrainingDataset.fromJson(
    core.Map json_)
    : this(
        bigquerySource: json_.containsKey('bigquerySource')
            ? GoogleCloudAiplatformV1BigQuerySource.fromJson(
                json_['bigquerySource']
                    as core.Map<core.String, core.dynamic>)
            : null,
        dataFormat: json_.containsKey('dataFormat')
            ? json_['dataFormat'] as core.String
            : null,
        dataset: json_.containsKey('dataset')
            ? json_['dataset'] as core.String
            : null,
        gcsSource: json_.containsKey('gcsSource')
            ? GoogleCloudAiplatformV1GcsSource.fromJson(
                json_['gcsSource'] as core.Map<core.String, core.dynamic>)
            : null,
        loggingSamplingStrategy: json_.containsKey('loggingSamplingStrategy')
            ? GoogleCloudAiplatformV1SamplingStrategy.fromJson(
                json_['loggingSamplingStrategy']
                    as core.Map<core.String, core.dynamic>)
            : null,
        targetField: json_.containsKey('targetField')
            ? json_['targetField'] as core.String
            : null,
      );