class Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ImportDocumentTemplate

The template used for importing documents.

Attributes

knowledge_types[RW]

Required. The knowledge type of document content. Corresponds to the JSON property `knowledgeTypes` @return [Array<String>]

metadata[RW]

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. Corresponds to the JSON property `metadata` @return [Hash<String,String>]

mime_type[RW]

Required. The MIME type of the document. Corresponds to the JSON property `mimeType` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 10192
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 10197
def update!(**args)
  @knowledge_types = args[:knowledge_types] if args.key?(:knowledge_types)
  @metadata = args[:metadata] if args.key?(:metadata)
  @mime_type = args[:mime_type] if args.key?(:mime_type)
end