Preparing search index...
The search index is not available
@google/genai
@google/genai
gaos/google-genai
GeminiNextGenAgentTemplates
Class GeminiNextGenAgentTemplates
Client wrapper for Agent Templates CRUD operations.
Index
Constructors
constructor
Methods
create
delete
get
list
update
Constructors
constructor
new
GeminiNextGenAgentTemplates
(
resolveClient
:
(
apiVersion
?:
string
)
=>
GoogleGenAI
,
)
:
GeminiNextGenAgentTemplates
Parameters
resolveClient
:
(
apiVersion
?:
string
)
=>
GoogleGenAI
Returns
GeminiNextGenAgentTemplates
Methods
create
create
(
params
?:
|
undefined
|
null
|
AgentTemplateCreateParams
&
{
api_version
?:
string
}
,
options
?:
GoogleGenAIRequestOptions
,
)
:
Promise
<
AgentTemplate
>
Parameters
params
:
undefined
|
null
|
AgentTemplateCreateParams
&
{
api_version
?:
string
}
= {}
Optional
options
:
GoogleGenAIRequestOptions
Returns
Promise
<
AgentTemplate
>
delete
delete
(
id
:
string
,
params
?:
undefined
|
null
|
DeleteAgentTemplateParams
,
options
?:
GoogleGenAIRequestOptions
,
)
:
Promise
<
Empty
>
Parameters
id
:
string
params
:
undefined
|
null
|
DeleteAgentTemplateParams
= {}
Optional
options
:
GoogleGenAIRequestOptions
Returns
Promise
<
Empty
>
get
get
(
id
:
string
,
params
?:
undefined
|
null
|
GetAgentTemplateParams
,
options
?:
GoogleGenAIRequestOptions
,
)
:
Promise
<
AgentTemplate
>
Parameters
id
:
string
params
:
undefined
|
null
|
GetAgentTemplateParams
= {}
Optional
options
:
GoogleGenAIRequestOptions
Returns
Promise
<
AgentTemplate
>
list
list
(
params
?:
undefined
|
null
|
ListAgentTemplatesRequest
,
options
?:
GoogleGenAIRequestOptions
,
)
:
Promise
<
AgentTemplateListResponse
>
Parameters
params
:
undefined
|
null
|
ListAgentTemplatesRequest
= {}
Optional
options
:
GoogleGenAIRequestOptions
Returns
Promise
<
AgentTemplateListResponse
>
update
update
(
id
:
string
,
params
?:
undefined
|
null
|
UpdateAgentTemplateParams
,
options
?:
GoogleGenAIRequestOptions
,
)
:
Promise
<
AgentTemplate
>
Parameters
id
:
string
params
:
undefined
|
null
|
UpdateAgentTemplateParams
= {}
Optional
options
:
GoogleGenAIRequestOptions
Returns
Promise
<
AgentTemplate
>
Settings
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
create
delete
get
list
update
@google/genai
Loading...
Client wrapper for Agent Templates CRUD operations.