Interface DeleteVersionRequestOrBuilder (0.5.0)

public interface DeleteVersionRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getForce()

public abstract boolean getForce()

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.

bool force = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The force.

getName()

public abstract String getName()

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

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

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

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.