2.6.0 (latest) 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.1.0 1.0.0

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

Reference documentation and code samples for the API Gateway v1 API class DeleteApiRequest.

Request message for ApiGatewayService.DeleteApi

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[DeleteApiRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiGateway.V1/latest/Google.Cloud.ApiGateway.V1.DeleteApiRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DeleteApiRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiGateway.V1/latest/Google.Cloud.ApiGateway.V1.DeleteApiRequest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[DeleteApiRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiGateway.V1/latest/Google.Cloud.ApiGateway.V1.DeleteApiRequest.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## 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.ApiGateway.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiGateway.V1/latest/Google.Cloud.ApiGateway.V1.md.txt)

## Assembly

Google.Cloud.ApiGateway.V1.dll

## Constructors

### DeleteApiRequest()

    public DeleteApiRequest()

### DeleteApiRequest(DeleteApiRequest)

    public DeleteApiRequest(DeleteApiRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `DeleteApiRequest` |

## Properties

### ApiName

    public ApiName ApiName { get; set; }

[ApiName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiGateway.V1/latest/Google.Cloud.ApiGateway.V1.ApiName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiGateway.V1/latest/Google.Cloud.ApiGateway.V1.DeleteApiRequest.md.txt#Google_Cloud_ApiGateway_V1_DeleteApiRequest_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ApiName` |   |

### Name

    public string Name { get; set; }

Required. Resource name of the form:
`projects/*/locations/global/apis/*`

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |