Class BetaManagedAgentsWebFetchUrlSources
-
- All Implemented Interfaces:
public final class BetaManagedAgentsWebFetchUrlSourcesWhich sources contribute URLs the web_fetch tool may fetch. A key that is null was not set and allows every URL from that source.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsWebFetchUrlSources.BuilderA builder for BetaManagedAgentsWebFetchUrlSources.
-
Method Summary
Modifier and Type Method Description final Optional<BetaManagedAgentsWebFetchUrlSourceToolFilter>clientToolResults()Which custom tools' results contribute URLs that may be fetched. final Optional<BetaManagedAgentsWebFetchUrlSourceToolFilter>serverToolResults()Which of the web_search and web_fetch tools' results contribute URLs that may be fetched. final Optional<BetaManagedAgentsWebFetchUrlSourceUserInput>userInput()Whether URLs in the text of user messages may be fetched. final JsonField<BetaManagedAgentsWebFetchUrlSourceToolFilter>_clientToolResults()Returns the raw JSON value of clientToolResults. final JsonField<BetaManagedAgentsWebFetchUrlSourceToolFilter>_serverToolResults()Returns the raw JSON value of serverToolResults. final JsonField<BetaManagedAgentsWebFetchUrlSourceUserInput>_userInput()Returns the raw JSON value of userInput. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsWebFetchUrlSources.BuildertoBuilder()final BetaManagedAgentsWebFetchUrlSourcesvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsWebFetchUrlSources.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsWebFetchUrlSources. -
-
Method Detail
-
clientToolResults
final Optional<BetaManagedAgentsWebFetchUrlSourceToolFilter> clientToolResults()
Which custom tools' results contribute URLs that may be fetched. Null when not set, which allows every custom tool's results.
-
serverToolResults
final Optional<BetaManagedAgentsWebFetchUrlSourceToolFilter> serverToolResults()
Which of the web_search and web_fetch tools' results contribute URLs that may be fetched. Null when not set, which allows both.
-
userInput
final Optional<BetaManagedAgentsWebFetchUrlSourceUserInput> userInput()
Whether URLs in the text of user messages may be fetched. Null when not set, which allows them.
-
_clientToolResults
final JsonField<BetaManagedAgentsWebFetchUrlSourceToolFilter> _clientToolResults()
Returns the raw JSON value of clientToolResults.
Unlike clientToolResults, this method doesn't throw if the JSON field has an unexpected type.
-
_serverToolResults
final JsonField<BetaManagedAgentsWebFetchUrlSourceToolFilter> _serverToolResults()
Returns the raw JSON value of serverToolResults.
Unlike serverToolResults, this method doesn't throw if the JSON field has an unexpected type.
-
_userInput
final JsonField<BetaManagedAgentsWebFetchUrlSourceUserInput> _userInput()
Returns the raw JSON value of userInput.
Unlike userInput, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsWebFetchUrlSources.Builder toBuilder()
-
validate
final BetaManagedAgentsWebFetchUrlSources validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaManagedAgentsWebFetchUrlSources.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsWebFetchUrlSources.
The following fields are required:
.clientToolResults() .serverToolResults() .userInput()
-
-
-
-