ToolFileSearchTool class

Constructors

ToolFileSearchTool({Input<String?>? corpusType, Input<String?>? description, Input<String?>? fileCorpus, required Input<String> name})
Creates a new ToolFileSearchTool. corpusType Optional. The type of the corpus. Default is FULLY_MANAGED. description Optional. The tool description. fileCorpus Optional. The corpus where files are stored. name Required. The tool name.
const
ToolFileSearchTool.fromMap(Map<String, dynamic> map)
factory

Properties

corpusType → Input<String?>?
Optional. The type of the corpus. Default is FULLY_MANAGED. Possible values: CORPUS_TYPE_UNSPECIFIED USER_OWNED FULLY_MANAGED Possible values are: CORPUS_TYPE_UNSPECIFIED, USER_OWNED, FULLY_MANAGED.
final
description → Input<String?>?
Optional. The tool description.
final
fileCorpus → Input<String?>?
Optional. The corpus where files are stored. Format: projects/{project}/locations/{location}/ragCorpora/{rag_corpus}
final
hashCode → int
The hash code for this object.
no setterinherited
name → Input<String>
Required. The tool name.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited