Class: Google::Firestore::V1::DeleteDocumentRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/firestore/v1/doc/google/firestore/v1/firestore.rb

Overview

The request for Firestore::DeleteDocument.

Instance Attribute Summary collapse

Instance Attribute Details

#current_documentGoogle::Firestore::V1::Precondition

Returns An optional precondition on the document. The request will fail if this is set and not met by the target document.

Returns:



154
# File 'lib/google/cloud/firestore/v1/doc/google/firestore/v1/firestore.rb', line 154

class DeleteDocumentRequest; end

#nameString

Returns Required. The resource name of the Document to delete. In the format: projects/{project_id}/databases/{database_id}/documents/{document_path}.

Returns:

  • (String)

    Required. The resource name of the Document to delete. In the format: projects/{project_id}/databases/{database_id}/documents/{document_path}.



154
# File 'lib/google/cloud/firestore/v1/doc/google/firestore/v1/firestore.rb', line 154

class DeleteDocumentRequest; end