Class BetaManagedAgentsMcpToolConfig
-
- All Implemented Interfaces:
public final class BetaManagedAgentsMcpToolConfigResolved configuration for a specific MCP tool.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsMcpToolConfig.BuilderA builder for BetaManagedAgentsMcpToolConfig.
public final classBetaManagedAgentsMcpToolConfig.PermissionPolicyPermission policy for tool execution.
-
Method Summary
Modifier and Type Method Description final Booleanenabled()final Stringname()final BetaManagedAgentsMcpToolConfig.PermissionPolicypermissionPolicy()Permission policy for tool execution. final JsonField<Boolean>_enabled()Returns the raw JSON value of enabled. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<BetaManagedAgentsMcpToolConfig.PermissionPolicy>_permissionPolicy()Returns the raw JSON value of permissionPolicy. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsMcpToolConfig.BuildertoBuilder()final BetaManagedAgentsMcpToolConfigvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsMcpToolConfig.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsMcpToolConfig. -
-
Method Detail
-
permissionPolicy
final BetaManagedAgentsMcpToolConfig.PermissionPolicy permissionPolicy()
Permission policy for tool execution.
-
_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.
-
_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.
-
_permissionPolicy
final JsonField<BetaManagedAgentsMcpToolConfig.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 BetaManagedAgentsMcpToolConfig.Builder toBuilder()
-
validate
final BetaManagedAgentsMcpToolConfig 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 BetaManagedAgentsMcpToolConfig.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsMcpToolConfig.
The following fields are required:
.enabled() .name() .permissionPolicy()
-
-
-
-