Class DocumentsResource.DeleteRequest
Deletes a document and all associated reviews and stored blobs.
Inheritance
DocumentsResource.DeleteRequest
Inherited Members
Namespace: Google.Apis.DeepReview.v1
Assembly: Google.Apis.DeepReview.v1.dll
Syntax
public class DocumentsResource.DeleteRequest : DeepReviewBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, string)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | name |
Properties
AllowMissing
Optional. If set to true, and the document is not found, the request succeeds.
Declaration
[RequestParameter("allowMissing", RequestParameterType.Query)]
public virtual bool? AllowMissing { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Force
Optional. If set to true, any child resources (e.g. review resources) are also deleted.
Declaration
[RequestParameter("force", RequestParameterType.Query)]
public virtual bool? Force { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Name
Required. The resource name of the document to delete. Format: documents/{document}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()