1.0.0-beta87 (latest) 1.0.0-beta86

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

Reference documentation and code samples for the Vertex AI v1beta1 API class DeleteRagCorpusRequest.

Request message for
\[VertexRagDataService.DeleteRagCorpus\]\[google.cloud.aiplatform.v1beta1.VertexRagDataService.DeleteRagCorpus\].

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> DeleteRagCorpusRequest

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DeleteRagCorpusRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.DeleteRagCorpusRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DeleteRagCorpusRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.DeleteRagCorpusRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DeleteRagCorpusRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.DeleteRagCorpusRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.AIPlatform.V1Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1)

## Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

## Constructors

### DeleteRagCorpusRequest()

    public DeleteRagCorpusRequest()

### DeleteRagCorpusRequest(DeleteRagCorpusRequest)

    public DeleteRagCorpusRequest(DeleteRagCorpusRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.DeleteRagCorpusRequest` |

## Properties

### Force

    public bool Force { get; set; }

Optional. If set to true, any RagFiles in this RagCorpus will also be
deleted. Otherwise, the request will only work if the RagCorpus has no
RagFiles.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### ForceDelete

    public bool ForceDelete { get; set; }

Optional. If set to true, any errors generated by external vector database
during the deletion will be ignored. The default value is false.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### Name

    public string Name { get; set; }

Required. The name of the RagCorpus resource to be deleted.
Format:
`projects/{project}/locations/{location}/ragCorpora/{rag_corpus}`

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### RagCorpusName

    public RagCorpusName RagCorpusName { get; set; }

[RagCorpusName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RagCorpusName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.DeleteRagCorpusRequest#Google_Cloud_AIPlatform_V1Beta1_DeleteRagCorpusRequest_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RagCorpusName` |   |