Class BetaManagedAgentsMcpToolConfigParams
-
- All Implemented Interfaces:
public final class BetaManagedAgentsMcpToolConfigParamsConfiguration override for a specific MCP tool.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsMcpToolConfigParams.BuilderA builder for BetaManagedAgentsMcpToolConfigParams.
public final classBetaManagedAgentsMcpToolConfigParams.PermissionPolicyPermission policy for this tool. Overrides the
default_configsetting.
-
Method Summary
Modifier and Type Method Description final Stringname()Name of the MCP tool to configure. final Optional<Boolean>enabled()Whether this tool is enabled. final Optional<BetaManagedAgentsMcpToolConfigParams.PermissionPolicy>permissionPolicy()Permission policy for this tool. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<Boolean>_enabled()Returns the raw JSON value of enabled. final JsonField<BetaManagedAgentsMcpToolConfigParams.PermissionPolicy>_permissionPolicy()Returns the raw JSON value of permissionPolicy. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsMcpToolConfigParams.BuildertoBuilder()final BetaManagedAgentsMcpToolConfigParamsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsMcpToolConfigParams.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsMcpToolConfigParams. final static BetaManagedAgentsMcpToolConfigParamsof(String name)Returns an immutable instance of BetaManagedAgentsMcpToolConfigParams with the required name set to the given value. -
-
Method Detail
-
enabled
final Optional<Boolean> enabled()
Whether this tool is enabled. Overrides the
default_configsetting.
-
permissionPolicy
final Optional<BetaManagedAgentsMcpToolConfigParams.PermissionPolicy> permissionPolicy()
Permission policy for this tool. Overrides the
default_configsetting.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_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<BetaManagedAgentsMcpToolConfigParams.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 BetaManagedAgentsMcpToolConfigParams.Builder toBuilder()
-
validate
final BetaManagedAgentsMcpToolConfigParams 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 BetaManagedAgentsMcpToolConfigParams.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsMcpToolConfigParams.
The following fields are required:
.name()
-
of
final static BetaManagedAgentsMcpToolConfigParams of(String name)
Returns an immutable instance of BetaManagedAgentsMcpToolConfigParams with the required name set to the given value.
-
-
-
-