API hub v1 API - Class DeleteApiRequest (1.0.0-beta01)

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

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

The [DeleteApi][google.cloud.apihub.v1.ApiHub.DeleteApi] method's request.

Inheritance

object > DeleteApiRequest

Namespace

Google.Cloud.ApiHub.V1

Assembly

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; }

ApiName-typed view over the Name resource name property.

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