code: def get_document(project_id, knowledge_base_id, document_id):
      
      import dialogflow_v2beta1 as dialogflow
      client = dialogflow.DocumentsClient()
      document_path = client.document_path(project_id, knowledge_base_id,
                                           document_id)
  
      response = client.get_document(document_path)
      print('Got Document:')
      print(' - Display Name: {}'.format(response.display_name))
      print(' - Knowledge ID: {}'.format(response.name))
      print(' - MIME Type: {}'.format(response.mime_type))
      print(' - Knowledge Types:')
      for knowledge_type in response.knowledge_types:
          print('    - {}'.format(KNOWLEDGE_TYPES[knowledge_type]))
      print(' - Source: {}\n'.format(response.content_uri))
docs: Gets a Document.
  
      Args:
          project_id: The GCP project linked with the agent.
          knowledge_base_id: Id of the Knowledge base.
          document_id: Id of the Document.