Class BetaManagedAgentsGrepToolConfig
-
- All Implemented Interfaces:
public final class BetaManagedAgentsGrepToolConfigConfiguration for the grep tool.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsGrepToolConfig.BuilderA builder for BetaManagedAgentsGrepToolConfig.
public final classBetaManagedAgentsGrepToolConfig.PermissionPolicyPermission policy for tool execution.
-
Method Summary
Modifier and Type Method Description final Booleanenabled()final BetaManagedAgentsGrepToolConfig.PermissionPolicypermissionPolicy()Permission policy for tool execution. final JsonValue_name()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("grep")final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("grep")final JsonField<Boolean>_enabled()Returns the raw JSON value of enabled. final JsonField<BetaManagedAgentsGrepToolConfig.PermissionPolicy>_permissionPolicy()Returns the raw JSON value of permissionPolicy. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsGrepToolConfig.BuildertoBuilder()final BetaManagedAgentsGrepToolConfigvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsGrepToolConfig.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsGrepToolConfig. -
-
Method Detail
-
permissionPolicy
final BetaManagedAgentsGrepToolConfig.PermissionPolicy permissionPolicy()
Permission policy for tool execution.
-
_name
final JsonValue _name()
Expected to always return the following:
JsonValue.from("grep")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("grep")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_enabled
final JsonField<Boolean> _enabled()
Returns the raw JSON value of enabled.
Unlike enabled, this method doesn't throw if the JSON field has an unexpected type.
-
_permissionPolicy
final JsonField<BetaManagedAgentsGrepToolConfig.PermissionPolicy> _permissionPolicy()
Returns the raw JSON value of permissionPolicy.
Unlike permissionPolicy, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsGrepToolConfig.Builder toBuilder()
-
validate
final BetaManagedAgentsGrepToolConfig 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 BetaManagedAgentsGrepToolConfig.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsGrepToolConfig.
The following fields are required:
.enabled() .permissionPolicy()
-
-
-
-