Path helper methods for the Documents API.
Extended By
Methods
#document_path
def document_path(project:, knowledge_base:, document:) -> ::String
def document_path(project:, location:, knowledge_base:, document:) -> ::String
Create a fully-qualified Document resource string.
def document_path(project:, knowledge_base:, document:) -> ::String
projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}
- project (String)
- knowledge_base (String)
- document (String)
def document_path(project:, location:, knowledge_base:, document:) -> ::String
projects/{project}/locations/{location}/knowledgeBases/{knowledge_base}/documents/{document}
- project (String)
- location (String)
- knowledge_base (String)
- document (String)
- (::String)
- (::ArgumentError)
#knowledge_base_path
def knowledge_base_path(project:, knowledge_base:) -> ::String
def knowledge_base_path(project:, location:, knowledge_base:) -> ::String
Create a fully-qualified KnowledgeBase resource string.
def knowledge_base_path(project:, knowledge_base:) -> ::String
projects/{project}/knowledgeBases/{knowledge_base}
- project (String)
- knowledge_base (String)
def knowledge_base_path(project:, location:, knowledge_base:) -> ::String
projects/{project}/locations/{location}/knowledgeBases/{knowledge_base}
- project (String)
- location (String)
- knowledge_base (String)
- (::String)
- (::ArgumentError)