GoogleCloudAiplatformV1FeatureViewIndexConfig.fromJson constructor

GoogleCloudAiplatformV1FeatureViewIndexConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1FeatureViewIndexConfig.fromJson(core.Map json_)
    : this(
        bruteForceConfig: json_.containsKey('bruteForceConfig')
            ? GoogleCloudAiplatformV1FeatureViewIndexConfigBruteForceConfig
                .fromJson(json_['bruteForceConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        crowdingColumn: json_.containsKey('crowdingColumn')
            ? json_['crowdingColumn'] as core.String
            : null,
        distanceMeasureType: json_.containsKey('distanceMeasureType')
            ? json_['distanceMeasureType'] as core.String
            : null,
        embeddingColumn: json_.containsKey('embeddingColumn')
            ? json_['embeddingColumn'] as core.String
            : null,
        embeddingDimension: json_.containsKey('embeddingDimension')
            ? json_['embeddingDimension'] as core.int
            : null,
        filterColumns: json_.containsKey('filterColumns')
            ? (json_['filterColumns'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        treeAhConfig: json_.containsKey('treeAhConfig')
            ? GoogleCloudAiplatformV1FeatureViewIndexConfigTreeAHConfig
                .fromJson(json_['treeAhConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );