Class BetaLimitedNetwork
-
- All Implemented Interfaces:
public final class BetaLimitedNetworkLimited network access.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaLimitedNetwork.BuilderA builder for BetaLimitedNetwork.
-
Method Summary
Modifier and Type Method Description final BooleanallowMcpServers()Permits outbound access to MCP server endpoints configured on the agent, beyond those listed in the allowed_hostsarray.final BooleanallowPackageManagers()Permits outbound access to public package registries (PyPI, npm, etc. final List<String>allowedHosts()Specifies domains the container can reach. final JsonValue_type()Network policy typeExpected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("limited")final JsonField<Boolean>_allowMcpServers()Returns the raw JSON value of allowMcpServers. final JsonField<Boolean>_allowPackageManagers()Returns the raw JSON value of allowPackageManagers. final JsonField<List<String>>_allowedHosts()Returns the raw JSON value of allowedHosts. final Map<String, JsonValue>_additionalProperties()final BetaLimitedNetwork.BuildertoBuilder()final BetaLimitedNetworkvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaLimitedNetwork.Builderbuilder()Returns a mutable builder for constructing an instance of BetaLimitedNetwork. -
-
Method Detail
-
allowMcpServers
final Boolean allowMcpServers()
Permits outbound access to MCP server endpoints configured on the agent, beyond those listed in the
allowed_hostsarray.
-
allowPackageManagers
final Boolean allowPackageManagers()
Permits outbound access to public package registries (PyPI, npm, etc.) beyond those listed in the
allowed_hostsarray.
-
allowedHosts
final List<String> allowedHosts()
Specifies domains the container can reach.
-
_type
final JsonValue _type()
Network policy type
Expected to always return the following:
JsonValue.from("limited")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_allowMcpServers
final JsonField<Boolean> _allowMcpServers()
Returns the raw JSON value of allowMcpServers.
Unlike allowMcpServers, this method doesn't throw if the JSON field has an unexpected type.
-
_allowPackageManagers
final JsonField<Boolean> _allowPackageManagers()
Returns the raw JSON value of allowPackageManagers.
Unlike allowPackageManagers, this method doesn't throw if the JSON field has an unexpected type.
-
_allowedHosts
final JsonField<List<String>> _allowedHosts()
Returns the raw JSON value of allowedHosts.
Unlike allowedHosts, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaLimitedNetwork.Builder toBuilder()
-
validate
final BetaLimitedNetwork 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 BetaLimitedNetwork.Builder builder()
Returns a mutable builder for constructing an instance of BetaLimitedNetwork.
The following fields are required:
.allowMcpServers() .allowPackageManagers() .allowedHosts()
-
-
-
-