GoogleCloudAiplatformV1ExamplesOverride.fromJson constructor

GoogleCloudAiplatformV1ExamplesOverride.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1ExamplesOverride.fromJson(core.Map json_)
    : this(
        crowdingCount: json_['crowdingCount'] as core.int?,
        dataFormat: json_['dataFormat'] as core.String?,
        neighborCount: json_['neighborCount'] as core.int?,
        restrictions: (json_['restrictions'] as core.List?)
            ?.map((value) =>
                GoogleCloudAiplatformV1ExamplesRestrictionsNamespace.fromJson(
                    value as core.Map<core.String, core.dynamic>))
            .toList(),
        returnEmbeddings: json_['returnEmbeddings'] as core.bool?,
      );