Class BetaManagedAgentsUrlMcpServerParams
-
- All Implemented Interfaces:
public final class BetaManagedAgentsUrlMcpServerParamsURL-based MCP server connection.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsUrlMcpServerParams.BuilderA builder for BetaManagedAgentsUrlMcpServerParams.
-
Method Summary
Modifier and Type Method Description final Stringname()Unique name for this server, referenced by mcp_toolset configurations. final Stringurl()Endpoint URL for the MCP server. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("url")final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_url()Returns the raw JSON value of url. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsUrlMcpServerParams.BuildertoBuilder()final BetaManagedAgentsUrlMcpServerParamsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsUrlMcpServerParams.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsUrlMcpServerParams. -
-
Method Detail
-
name
final String name()
Unique name for this server, referenced by mcp_toolset configurations. 1-255 characters.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("url")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_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.
-
_url
final JsonField<String> _url()
Returns the raw JSON value of url.
Unlike url, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsUrlMcpServerParams.Builder toBuilder()
-
validate
final BetaManagedAgentsUrlMcpServerParams 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 BetaManagedAgentsUrlMcpServerParams.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsUrlMcpServerParams.
The following fields are required:
.name() .url()
-
-
-
-