Class: Anthropic::Models::Beta::BetaLimitedNetwork

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/anthropic/models/beta/beta_limited_network.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

This class inherits a constructor from Anthropic::Internal::Type::BaseModel

Instance Attribute Details

#allow_mcp_serversBoolean

Permits outbound access to MCP server endpoints configured on the agent, beyond those listed in the allowed_hosts array.

Returns:



12
# File 'lib/anthropic/models/beta/beta_limited_network.rb', line 12

required :allow_mcp_servers, Anthropic::Internal::Type::Boolean

#allow_package_managersBoolean

Permits outbound access to public package registries (PyPI, npm, etc.) beyond those listed in the allowed_hosts array.

Returns:



19
# File 'lib/anthropic/models/beta/beta_limited_network.rb', line 19

required :allow_package_managers, Anthropic::Internal::Type::Boolean

#allowed_hostsArray<String>

Specifies domains the container can reach.

Returns:

  • (Array<String>)


25
# File 'lib/anthropic/models/beta/beta_limited_network.rb', line 25

required :allowed_hosts, Anthropic::Internal::Type::ArrayOf[String]

#typeSymbol, :limited

Network policy type

Returns:

  • (Symbol, :limited)


31
# File 'lib/anthropic/models/beta/beta_limited_network.rb', line 31

required :type, const: :limited