public sealed class DeleteApiRequest : IMessage<DeleteApiRequest>, IEquatable<DeleteApiRequest>, IDeepCloneable<DeleteApiRequest>, IBufferMessage, IMessageReference documentation and code samples for the API hub v1 API class DeleteApiRequest.
The [DeleteApi][google.cloud.apihub.v1.ApiHub.DeleteApi] method's request.
Implements
IMessageDeleteApiRequest, IEquatableDeleteApiRequest, IDeepCloneableDeleteApiRequest, IBufferMessage, IMessageNamespace
Google.Cloud.ApiHub.V1Assembly
Google.Cloud.ApiHub.V1.dll
Constructors
DeleteApiRequest()
public DeleteApiRequest()DeleteApiRequest(DeleteApiRequest)
public DeleteApiRequest(DeleteApiRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
DeleteApiRequest |
Properties
ApiName
public ApiName ApiName { get; set; }| Property Value | |
|---|---|
| Type | Description |
ApiName |
|
Force
public bool Force { get; set; }Optional. If set to true, any versions from this API will also be deleted. Otherwise, the request will only work if the API has no versions.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
Name
public string Name { get; set; }Required. The name of the API resource to delete.
Format: projects/{project}/locations/{location}/apis/{api}
| Property Value | |
|---|---|
| Type | Description |
string |
|