Class DeleteDocumentRequest (2.4.0)

public sealed class DeleteDocumentRequest : IMessage<DeleteDocumentRequest>, IEquatable<DeleteDocumentRequest>, IDeepCloneable<DeleteDocumentRequest>, IBufferMessage, IMessage

The request for [Firestore.DeleteDocument][google.firestore.v1.Firestore.DeleteDocument].

Inheritance

Object > DeleteDocumentRequest

Namespace

Google.Cloud.Firestore.V1

Assembly

Google.Cloud.Firestore.V1.dll

Constructors

DeleteDocumentRequest()

public DeleteDocumentRequest()

DeleteDocumentRequest(DeleteDocumentRequest)

public DeleteDocumentRequest(DeleteDocumentRequest other)
Parameter
NameDescription
otherDeleteDocumentRequest

Properties

CurrentDocument

public Precondition CurrentDocument { get; set; }

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

Property Value
TypeDescription
Precondition

Name

public string Name { get; set; }

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

Property Value
TypeDescription
String