GoogleCloudAiplatformV1MigrateResourceRequest.fromJson constructor

GoogleCloudAiplatformV1MigrateResourceRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1MigrateResourceRequest.fromJson(core.Map json_)
    : this(
        migrateAutomlDatasetConfig: json_
                .containsKey('migrateAutomlDatasetConfig')
            ? GoogleCloudAiplatformV1MigrateResourceRequestMigrateAutomlDatasetConfig
                .fromJson(json_['migrateAutomlDatasetConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        migrateAutomlModelConfig: json_
                .containsKey('migrateAutomlModelConfig')
            ? GoogleCloudAiplatformV1MigrateResourceRequestMigrateAutomlModelConfig
                .fromJson(json_['migrateAutomlModelConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        migrateDataLabelingDatasetConfig: json_
                .containsKey('migrateDataLabelingDatasetConfig')
            ? GoogleCloudAiplatformV1MigrateResourceRequestMigrateDataLabelingDatasetConfig
                .fromJson(json_['migrateDataLabelingDatasetConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        migrateMlEngineModelVersionConfig: json_
                .containsKey('migrateMlEngineModelVersionConfig')
            ? GoogleCloudAiplatformV1MigrateResourceRequestMigrateMlEngineModelVersionConfig
                .fromJson(json_['migrateMlEngineModelVersionConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );