GoogleCloudAiplatformV1ImportFeatureValuesRequest.fromJson constructor

GoogleCloudAiplatformV1ImportFeatureValuesRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1ImportFeatureValuesRequest.fromJson(core.Map json_)
    : this(
        avroSource: json_.containsKey('avroSource')
            ? GoogleCloudAiplatformV1AvroSource.fromJson(
                json_['avroSource'] as core.Map<core.String, core.dynamic>)
            : null,
        bigquerySource: json_.containsKey('bigquerySource')
            ? GoogleCloudAiplatformV1BigQuerySource.fromJson(
                json_['bigquerySource']
                    as core.Map<core.String, core.dynamic>)
            : null,
        csvSource: json_.containsKey('csvSource')
            ? GoogleCloudAiplatformV1CsvSource.fromJson(
                json_['csvSource'] as core.Map<core.String, core.dynamic>)
            : null,
        disableIngestionAnalysis:
            json_.containsKey('disableIngestionAnalysis')
                ? json_['disableIngestionAnalysis'] as core.bool
                : null,
        disableOnlineServing: json_.containsKey('disableOnlineServing')
            ? json_['disableOnlineServing'] as core.bool
            : null,
        entityIdField: json_.containsKey('entityIdField')
            ? json_['entityIdField'] as core.String
            : null,
        featureSpecs: json_.containsKey('featureSpecs')
            ? (json_['featureSpecs'] as core.List)
                .map((value) =>
                    GoogleCloudAiplatformV1ImportFeatureValuesRequestFeatureSpec
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        featureTime: json_.containsKey('featureTime')
            ? json_['featureTime'] as core.String
            : null,
        featureTimeField: json_.containsKey('featureTimeField')
            ? json_['featureTimeField'] as core.String
            : null,
        workerCount: json_.containsKey('workerCount')
            ? json_['workerCount'] as core.int
            : null,
      );