Firestore v1 API - Class DeleteDocumentRequest (3.1.0)

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

Reference documentation and code samples for the Firestore v1 API class DeleteDocumentRequest.

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

Inheritance

object > DeleteDocumentRequest

Namespace

GoogleCloudGoogle.Cloud.FirestoreV1

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