GoogleCloudAiplatformV1Examples.fromJson constructor

GoogleCloudAiplatformV1Examples.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1Examples.fromJson(core.Map json_)
    : this(
        exampleGcsSource: json_.containsKey('exampleGcsSource')
            ? GoogleCloudAiplatformV1ExamplesExampleGcsSource.fromJson(
                json_['exampleGcsSource']
                    as core.Map<core.String, core.dynamic>)
            : null,
        nearestNeighborSearchConfig:
            json_.containsKey('nearestNeighborSearchConfig')
                ? json_['nearestNeighborSearchConfig']
                : null,
        neighborCount: json_.containsKey('neighborCount')
            ? json_['neighborCount'] as core.int
            : null,
        presets: json_.containsKey('presets')
            ? GoogleCloudAiplatformV1Presets.fromJson(
                json_['presets'] as core.Map<core.String, core.dynamic>)
            : null,
      );