GoogleCloudAiplatformV1RetrieveContextsRequest.fromJson constructor

GoogleCloudAiplatformV1RetrieveContextsRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1RetrieveContextsRequest.fromJson(core.Map json_)
    : this(
        query: json_.containsKey('query')
            ? GoogleCloudAiplatformV1RagQuery.fromJson(
                json_['query'] as core.Map<core.String, core.dynamic>)
            : null,
        vertexRagStore: json_.containsKey('vertexRagStore')
            ? GoogleCloudAiplatformV1RetrieveContextsRequestVertexRagStore
                .fromJson(json_['vertexRagStore']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );