GoogleCloudAiplatformV1MigratableResource.fromJson constructor

GoogleCloudAiplatformV1MigratableResource.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1MigratableResource.fromJson(core.Map json_)
    : this(
        automlDataset: json_.containsKey('automlDataset')
            ? GoogleCloudAiplatformV1MigratableResourceAutomlDataset.fromJson(
                json_['automlDataset'] as core.Map<core.String, core.dynamic>)
            : null,
        automlModel: json_.containsKey('automlModel')
            ? GoogleCloudAiplatformV1MigratableResourceAutomlModel.fromJson(
                json_['automlModel'] as core.Map<core.String, core.dynamic>)
            : null,
        dataLabelingDataset: json_.containsKey('dataLabelingDataset')
            ? GoogleCloudAiplatformV1MigratableResourceDataLabelingDataset
                .fromJson(json_['dataLabelingDataset']
                    as core.Map<core.String, core.dynamic>)
            : null,
        lastMigrateTime: json_.containsKey('lastMigrateTime')
            ? json_['lastMigrateTime'] as core.String
            : null,
        lastUpdateTime: json_.containsKey('lastUpdateTime')
            ? json_['lastUpdateTime'] as core.String
            : null,
        mlEngineModelVersion: json_.containsKey('mlEngineModelVersion')
            ? GoogleCloudAiplatformV1MigratableResourceMlEngineModelVersion
                .fromJson(json_['mlEngineModelVersion']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );