Interface DeleteKnowledgeBaseRequestOrBuilder (4.54.0)

public interface DeleteKnowledgeBaseRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getForce()

public abstract boolean getForce()

Optional. Force deletes the knowledge base. When set to true, any documents in the knowledge base are also deleted.

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

Returns
Type Description
boolean

The force.

getName()

public abstract String getName()

Required. The name of the knowledge base to delete. Format: projects/<Project ID>/locations/<Location ID>/knowledgeBases/<Knowledge Base ID>.

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 knowledge base to delete. Format: projects/<Project ID>/locations/<Location ID>/knowledgeBases/<Knowledge Base ID>.

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

Returns
Type Description
ByteString

The bytes for name.