GoogleCloudAiplatformV1BatchPredictionJobInstanceConfig.fromJson constructor

GoogleCloudAiplatformV1BatchPredictionJobInstanceConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1BatchPredictionJobInstanceConfig.fromJson(
    core.Map json_)
    : this(
        excludedFields: json_.containsKey('excludedFields')
            ? (json_['excludedFields'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        includedFields: json_.containsKey('includedFields')
            ? (json_['includedFields'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        instanceType: json_.containsKey('instanceType')
            ? json_['instanceType'] as core.String
            : null,
        keyField: json_.containsKey('keyField')
            ? json_['keyField'] as core.String
            : null,
      );