Class BetaManagedAgentsServerToolUsage
-
- All Implemented Interfaces:
public final class BetaManagedAgentsServerToolUsageCumulative count of server-executed tool invocations, broken down by tool.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsServerToolUsage.BuilderA builder for BetaManagedAgentsServerToolUsage.
-
Method Summary
Modifier and Type Method Description final Optional<Integer>webFetchRequests()Number of server-executed web fetch requests. final Optional<Integer>webSearchRequests()Number of server-executed web search requests. final JsonField<Integer>_webFetchRequests()Returns the raw JSON value of webFetchRequests. final JsonField<Integer>_webSearchRequests()Returns the raw JSON value of webSearchRequests. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsServerToolUsage.BuildertoBuilder()final BetaManagedAgentsServerToolUsagevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsServerToolUsage.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsServerToolUsage. -
-
Method Detail
-
webFetchRequests
final Optional<Integer> webFetchRequests()
Number of server-executed web fetch requests.
-
webSearchRequests
final Optional<Integer> webSearchRequests()
Number of server-executed web search requests.
-
_webFetchRequests
final JsonField<Integer> _webFetchRequests()
Returns the raw JSON value of webFetchRequests.
Unlike webFetchRequests, this method doesn't throw if the JSON field has an unexpected type.
-
_webSearchRequests
final JsonField<Integer> _webSearchRequests()
Returns the raw JSON value of webSearchRequests.
Unlike webSearchRequests, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsServerToolUsage.Builder toBuilder()
-
validate
final BetaManagedAgentsServerToolUsage 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 BetaManagedAgentsServerToolUsage.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsServerToolUsage.
-
-
-
-