GoogleCloudAiplatformV1FindNeighborsRequest.fromJson constructor

GoogleCloudAiplatformV1FindNeighborsRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1FindNeighborsRequest.fromJson(core.Map json_)
    : this(
        deployedIndexId: json_.containsKey('deployedIndexId')
            ? json_['deployedIndexId'] as core.String
            : null,
        queries: json_.containsKey('queries')
            ? (json_['queries'] as core.List)
                .map((value) =>
                    GoogleCloudAiplatformV1FindNeighborsRequestQuery.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        returnFullDatapoint: json_.containsKey('returnFullDatapoint')
            ? json_['returnFullDatapoint'] as core.bool
            : null,
      );