API hub v1 API - Class DeleteVersionRequest (1.0.0-beta02)

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

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

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

Inheritance

object > DeleteVersionRequest

Namespace

Google.Cloud.ApiHub.V1

Assembly

Google.Cloud.ApiHub.V1.dll

Constructors

DeleteVersionRequest()

public DeleteVersionRequest()

DeleteVersionRequest(DeleteVersionRequest)

public DeleteVersionRequest(DeleteVersionRequest other)
Parameter
Name Description
other DeleteVersionRequest

Properties

Force

public bool Force { get; set; }

Optional. If set to true, any specs from this version will also be deleted. Otherwise, the request will only work if the version has no specs.

Property Value
Type Description
bool

Name

public string Name { get; set; }

Required. The name of the version to delete. Format: projects/{project}/locations/{location}/apis/{api}/versions/{version}

Property Value
Type Description
string

VersionName

public VersionName VersionName { get; set; }

VersionName-typed view over the Name resource name property.

Property Value
Type Description
VersionName