code: public final void deleteDocument(AnyPathName name) {
  
      DeleteDocumentRequest request =
          DeleteDocumentRequest.newBuilder().setName(name == null ? null : name.toString()).build();
      deleteDocument(request);
    }
docs: Deletes a document.
  
  <p>Sample code:
  
  <pre><code>
  try (FirestoreClient firestoreClient = FirestoreClient.create()) {
  AnyPathName name = AnyPathName.of("[PROJECT]", "[DATABASE]", "[DOCUMENT]", "[ANY_PATH]");
  firestoreClient.deleteDocument(name);
  }
  </code></pre>
  
  @param name The resource name of the Document to delete. In the format:
  `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
  @throws com.google.api.gax.rpc.ApiException if the remote call fails