Dialogflow API (dialogflow:v2)

2022-01-22

2 new methods

Additions

    Methods
  • dialogflow.projects.locations.knowledgeBases.documents.import

      Description: Creates documents by importing data from external sources. Dialogflow supports up to 350 documents in each request. If you try to import more, Dialogflow will return an error. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `response`: ImportDocumentsResponse

      Scopes:

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/dialogflow
    • HTTP Method: POST

      Parameter Order: parent

      Flat Path: v2/projects/{projectsId}/locations/{locationsId}/knowledgeBases/{knowledgeBasesId}/documents:import

      Parameters:

        parent

          Type: string

          Required: Yes

          Pattern: ^projects/[^/]+/locations/[^/]+/knowledgeBases/[^/]+$

          Description: Required. The knowledge base to import documents into. Format: `projects//locations//knowledgeBases/`.

          Location: path

      Path: v2/{+parent}/documents:import

  • dialogflow.projects.knowledgeBases.documents.import

      Description: Creates documents by importing data from external sources. Dialogflow supports up to 350 documents in each request. If you try to import more, Dialogflow will return an error. This method is a [long-running operation](https://cloud.google.com/dialogflow/cx/docs/how/long-running-operation). The returned `Operation` type has the following method-specific fields: - `metadata`: KnowledgeOperationMetadata - `response`: ImportDocumentsResponse

      Scopes:

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/dialogflow
    • Path: v2/{+parent}/documents:import

      HTTP Method: POST

      Parameters:

        parent

          Type: string

          Description: Required. The knowledge base to import documents into. Format: `projects//locations//knowledgeBases/`.

          Required: Yes

          Pattern: ^projects/[^/]+/knowledgeBases/[^/]+$

          Location: path

      Flat Path: v2/projects/{projectsId}/knowledgeBases/{knowledgeBasesId}/documents:import

      Parameter Order: parent