Class BetaLimitedNetworkParams
-
- All Implemented Interfaces:
public final class BetaLimitedNetworkParamsLimited network request params.
Fields default to null; on update, omitted fields preserve the existing value.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaLimitedNetworkParams.BuilderA builder for BetaLimitedNetworkParams.
-
Method Summary
Modifier and Type Method Description 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 Optional<Boolean>allowMcpServers()Permits outbound access to MCP server endpoints configured on the agent, beyond those listed in the allowed_hostsarray.final Optional<Boolean>allowPackageManagers()Permits outbound access to public package registries (PyPI, npm, etc. final Optional<List<String>>allowedHosts()Specifies domains the container can reach. 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 BetaLimitedNetworkParams.BuildertoBuilder()final BetaLimitedNetworkParamsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaLimitedNetworkParams.Builderbuilder()Returns a mutable builder for constructing an instance of BetaLimitedNetworkParams. -
-
Method Detail
-
_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 Optional<Boolean> allowMcpServers()
Permits outbound access to MCP server endpoints configured on the agent, beyond those listed in the
allowed_hostsarray. Defaults tofalse.
-
allowPackageManagers
final Optional<Boolean> allowPackageManagers()
Permits outbound access to public package registries (PyPI, npm, etc.) beyond those listed in the
allowed_hostsarray. Defaults tofalse.
-
allowedHosts
final Optional<List<String>> allowedHosts()
Specifies domains the container can reach.
-
_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 BetaLimitedNetworkParams.Builder toBuilder()
-
validate
final BetaLimitedNetworkParams 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 BetaLimitedNetworkParams.Builder builder()
Returns a mutable builder for constructing an instance of BetaLimitedNetworkParams.
-
-
-
-