GoogleCloudAiplatformV1MigratableResourceDataLabelingDataset.fromJson constructor

GoogleCloudAiplatformV1MigratableResourceDataLabelingDataset.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1MigratableResourceDataLabelingDataset.fromJson(
    core.Map json_)
    : this(
        dataLabelingAnnotatedDatasets: json_
                .containsKey('dataLabelingAnnotatedDatasets')
            ? (json_['dataLabelingAnnotatedDatasets'] as core.List)
                .map((value) =>
                    GoogleCloudAiplatformV1MigratableResourceDataLabelingDatasetDataLabelingAnnotatedDataset
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        dataset: json_.containsKey('dataset')
            ? json_['dataset'] as core.String
            : null,
        datasetDisplayName: json_.containsKey('datasetDisplayName')
            ? json_['datasetDisplayName'] as core.String
            : null,
      );