Class BetaManagedAgentsWebFetchUrlSourcesParams.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsWebFetchUrlSourcesParams.BuilderA builder for BetaManagedAgentsWebFetchUrlSourcesParams.
-
-
Method Summary
-
-
Method Detail
-
clientToolResults
final BetaManagedAgentsWebFetchUrlSourcesParams.Builder clientToolResults(BetaManagedAgentsWebFetchUrlSourceToolFilterParams clientToolResults)
Which custom tools' results contribute URLs that may be fetched: "all" (the default), "none", or an only or except list. Each name in a list must be a custom tool in the same tools array.
-
clientToolResults
final BetaManagedAgentsWebFetchUrlSourcesParams.Builder clientToolResults(Optional<BetaManagedAgentsWebFetchUrlSourceToolFilterParams> clientToolResults)
Alias for calling Builder.clientToolResults with
clientToolResults.orElse(null).
-
clientToolResults
final BetaManagedAgentsWebFetchUrlSourcesParams.Builder clientToolResults(JsonField<BetaManagedAgentsWebFetchUrlSourceToolFilterParams> clientToolResults)
Sets Builder.clientToolResults to an arbitrary JSON value.
You should usually call Builder.clientToolResults with a well-typed BetaManagedAgentsWebFetchUrlSourceToolFilterParams value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
clientToolResults
final BetaManagedAgentsWebFetchUrlSourcesParams.Builder clientToolResults(BetaManagedAgentsWebFetchUrlSourceShorthand shorthand)
Alias for calling clientToolResults with
BetaManagedAgentsWebFetchUrlSourceToolFilterParams.ofShorthand(shorthand).
-
clientToolResults
final BetaManagedAgentsWebFetchUrlSourcesParams.Builder clientToolResults(BetaManagedAgentsWebFetchUrlSourceToolFilter betaManagedAgentsWebFetchUrlSourceToolFilter)
Alias for calling clientToolResults with
BetaManagedAgentsWebFetchUrlSourceToolFilterParams.ofBetaManagedAgentsWebFetchUrlSourceToolFilter(betaManagedAgentsWebFetchUrlSourceToolFilter).
-
serverToolResults
final BetaManagedAgentsWebFetchUrlSourcesParams.Builder serverToolResults(BetaManagedAgentsWebFetchUrlSourceToolFilterParams serverToolResults)
Which of the web_search and web_fetch tools' results contribute URLs that may be fetched: "all" (the default), "none", or an only or except list. Each name in a list must be "web_search" or "web_fetch".
-
serverToolResults
final BetaManagedAgentsWebFetchUrlSourcesParams.Builder serverToolResults(Optional<BetaManagedAgentsWebFetchUrlSourceToolFilterParams> serverToolResults)
Alias for calling Builder.serverToolResults with
serverToolResults.orElse(null).
-
serverToolResults
final BetaManagedAgentsWebFetchUrlSourcesParams.Builder serverToolResults(JsonField<BetaManagedAgentsWebFetchUrlSourceToolFilterParams> serverToolResults)
Sets Builder.serverToolResults to an arbitrary JSON value.
You should usually call Builder.serverToolResults with a well-typed BetaManagedAgentsWebFetchUrlSourceToolFilterParams value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
serverToolResults
final BetaManagedAgentsWebFetchUrlSourcesParams.Builder serverToolResults(BetaManagedAgentsWebFetchUrlSourceShorthand shorthand)
Alias for calling serverToolResults with
BetaManagedAgentsWebFetchUrlSourceToolFilterParams.ofShorthand(shorthand).
-
serverToolResults
final BetaManagedAgentsWebFetchUrlSourcesParams.Builder serverToolResults(BetaManagedAgentsWebFetchUrlSourceToolFilter betaManagedAgentsWebFetchUrlSourceToolFilter)
Alias for calling serverToolResults with
BetaManagedAgentsWebFetchUrlSourceToolFilterParams.ofBetaManagedAgentsWebFetchUrlSourceToolFilter(betaManagedAgentsWebFetchUrlSourceToolFilter).
-
userInput
final BetaManagedAgentsWebFetchUrlSourcesParams.Builder userInput(BetaManagedAgentsWebFetchUrlSourceUserInputParams userInput)
Whether URLs in the text of user messages may be fetched: "all" (the default) or "none".
-
userInput
final BetaManagedAgentsWebFetchUrlSourcesParams.Builder userInput(Optional<BetaManagedAgentsWebFetchUrlSourceUserInputParams> userInput)
Alias for calling Builder.userInput with
userInput.orElse(null).
-
userInput
final BetaManagedAgentsWebFetchUrlSourcesParams.Builder userInput(JsonField<BetaManagedAgentsWebFetchUrlSourceUserInputParams> userInput)
Sets Builder.userInput to an arbitrary JSON value.
You should usually call Builder.userInput with a well-typed BetaManagedAgentsWebFetchUrlSourceUserInputParams value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
userInput
final BetaManagedAgentsWebFetchUrlSourcesParams.Builder userInput(BetaManagedAgentsWebFetchUrlSourceShorthand shorthand)
Alias for calling userInput with
BetaManagedAgentsWebFetchUrlSourceUserInputParams.ofShorthand(shorthand).
-
userInput
final BetaManagedAgentsWebFetchUrlSourcesParams.Builder userInput(BetaManagedAgentsWebFetchUrlSourceUserInput betaManagedAgentsWebFetchUrlSourceUserInput)
Alias for calling userInput with
BetaManagedAgentsWebFetchUrlSourceUserInputParams.ofBetaManagedAgentsWebFetchUrlSourceUserInput(betaManagedAgentsWebFetchUrlSourceUserInput).
-
additionalProperties
final BetaManagedAgentsWebFetchUrlSourcesParams.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaManagedAgentsWebFetchUrlSourcesParams.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsWebFetchUrlSourcesParams.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsWebFetchUrlSourcesParams.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsWebFetchUrlSourcesParams.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsWebFetchUrlSourcesParams build()
Returns an immutable instance of BetaManagedAgentsWebFetchUrlSourcesParams.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-