View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2ImportDocumentTemplate (google_api_dialogflow v0.74.0)

The template used for importing documents.

Attributes

  • knowledgeTypes (type: list(String.t), default: nil) - Required. The knowledge type of document content.
  • metadata (type: map(), default: nil) - Metadata for the document. The metadata supports arbitrary key-value pairs. Suggested use cases include storing a document's title, an external URL distinct from the document's content_uri, etc. The max size of a key or a value of the metadata is 1024 bytes.
  • mimeType (type: String.t, default: nil) - Required. The MIME type of the document.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2ImportDocumentTemplate{
    knowledgeTypes: [String.t()] | nil,
    metadata: map() | nil,
    mimeType: String.t() | nil
  }

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.