GoogleCloudAiplatformV1EmbedContentRequest.fromJson constructor

GoogleCloudAiplatformV1EmbedContentRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1EmbedContentRequest.fromJson(core.Map json_)
  : this(
      autoTruncate: json_['autoTruncate'] as core.bool?,
      content: json_.containsKey('content')
          ? GoogleCloudAiplatformV1Content.fromJson(
              json_['content'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      outputDimensionality: json_['outputDimensionality'] as core.int?,
      taskType: json_['taskType'] as core.String?,
      title: json_['title'] as core.String?,
    );