ProjectsLocationsCollectionsDataStoresBranchesDocuments
class ProjectsLocationsCollectionsDataStoresBranchesDocuments extends Resource (View source)
The "documents" collection of methods.
Typical usage is:
$discoveryengineService = new Google\Service\DiscoveryEngine(...);
$documents = $discoveryengineService->projects_locations_collections_dataStores_branches_documents;
Methods
Creates a Document. (documents.create)
Deletes a Document. (documents.delete)
Gets a Document. (documents.get)
Bulk import of multiple Documents. Request processing may be synchronous.
Gets a list of Documents.
Updates a Document. (documents.patch)
Permanently deletes all selected Documents in a branch. This process is asynchronous. Depending on the number of Documents to be deleted, this operation can take hours to complete. Before the delete operation completes, some Documents might still be returned by DocumentService.GetDocument or DocumentService.ListDocuments. To get a list of the Documents to be deleted, set PurgeDocumentsRequest.force to false. (documents.purge)
Details
GoogleCloudDiscoveryengineV1Document
create(string $parent, GoogleCloudDiscoveryengineV1Document $postBody, array $optParams = [])
Creates a Document. (documents.create)
GoogleProtobufEmpty
delete(string $name, array $optParams = [])
Deletes a Document. (documents.delete)
GoogleCloudDiscoveryengineV1Document
get(string $name, array $optParams = [])
Gets a Document. (documents.get)
GoogleLongrunningOperation
import(string $parent, GoogleCloudDiscoveryengineV1ImportDocumentsRequest $postBody, array $optParams = [])
Bulk import of multiple Documents. Request processing may be synchronous.
Non-existing items are created. Note: It is possible for a subset of the Documents to be successfully updated. (documents.import)
GoogleCloudDiscoveryengineV1ListDocumentsResponse
listProjectsLocationsCollectionsDataStoresBranchesDocuments(string $parent, array $optParams = [])
Gets a list of Documents.
(documents.listProjectsLocationsCollectionsDataStoresBranchesDocuments)
GoogleCloudDiscoveryengineV1Document
patch(string $name, GoogleCloudDiscoveryengineV1Document $postBody, array $optParams = [])
Updates a Document. (documents.patch)
GoogleLongrunningOperation
purge(string $parent, GoogleCloudDiscoveryengineV1PurgeDocumentsRequest $postBody, array $optParams = [])
Permanently deletes all selected Documents in a branch. This process is asynchronous. Depending on the number of Documents to be deleted, this operation can take hours to complete. Before the delete operation completes, some Documents might still be returned by DocumentService.GetDocument or DocumentService.ListDocuments. To get a list of the Documents to be deleted, set PurgeDocumentsRequest.force to false. (documents.purge)