Class BetaManagedAgentsWebFetchUrlSourceOnly
-
- All Implemented Interfaces:
public final class BetaManagedAgentsWebFetchUrlSourceOnlyOnly the named tools' results contribute URLs that may be fetched.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsWebFetchUrlSourceOnly.BuilderA builder for BetaManagedAgentsWebFetchUrlSourceOnly.
-
Method Summary
Modifier and Type Method Description final List<BetaManagedAgentsWebFetchUrlSourceToolReference>tools()The tools whose results contribute. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("only")final JsonField<List<BetaManagedAgentsWebFetchUrlSourceToolReference>>_tools()Returns the raw JSON value of tools. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsWebFetchUrlSourceOnly.BuildertoBuilder()final BetaManagedAgentsWebFetchUrlSourceOnlyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsWebFetchUrlSourceOnly.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsWebFetchUrlSourceOnly. final static BetaManagedAgentsWebFetchUrlSourceOnlyof(List<BetaManagedAgentsWebFetchUrlSourceToolReference> tools)Returns an immutable instance of BetaManagedAgentsWebFetchUrlSourceOnly with the required tools set to the given value. -
-
Method Detail
-
tools
final List<BetaManagedAgentsWebFetchUrlSourceToolReference> tools()
The tools whose results contribute. Between 1 and 128 entries, each with a different name. An empty list is rejected; use "none" to allow no tool's results.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("only")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_tools
final JsonField<List<BetaManagedAgentsWebFetchUrlSourceToolReference>> _tools()
Returns the raw JSON value of tools.
Unlike tools, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsWebFetchUrlSourceOnly.Builder toBuilder()
-
validate
final BetaManagedAgentsWebFetchUrlSourceOnly 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 BetaManagedAgentsWebFetchUrlSourceOnly.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsWebFetchUrlSourceOnly.
The following fields are required:
.tools()
-
of
final static BetaManagedAgentsWebFetchUrlSourceOnly of(List<BetaManagedAgentsWebFetchUrlSourceToolReference> tools)
Returns an immutable instance of BetaManagedAgentsWebFetchUrlSourceOnly with the required tools set to the given value.
-
-
-
-