Reference documentation and code samples for the Agent Registry V1 API class Google::Cloud::AgentRegistry::V1::Service::McpServerSpec.
The spec of the MCP Server.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#content
def content() -> ::Google::Protobuf::Struct
Returns
-
(::Google::Protobuf::Struct) — Optional. The content of the MCP Server spec.
This payload is validated against the schema for the specified type.
The content size is limited to
10KB.
#content=
def content=(value) -> ::Google::Protobuf::Struct
Parameter
-
value (::Google::Protobuf::Struct) — Optional. The content of the MCP Server spec.
This payload is validated against the schema for the specified type.
The content size is limited to
10KB.
Returns
-
(::Google::Protobuf::Struct) — Optional. The content of the MCP Server spec.
This payload is validated against the schema for the specified type.
The content size is limited to
10KB.
#type
def type() -> ::Google::Cloud::AgentRegistry::V1::Service::McpServerSpec::Type
Returns
- (::Google::Cloud::AgentRegistry::V1::Service::McpServerSpec::Type) — Required. The type of the MCP Server spec content.
#type=
def type=(value) -> ::Google::Cloud::AgentRegistry::V1::Service::McpServerSpec::Type
Parameter
- value (::Google::Cloud::AgentRegistry::V1::Service::McpServerSpec::Type) — Required. The type of the MCP Server spec content.
Returns
- (::Google::Cloud::AgentRegistry::V1::Service::McpServerSpec::Type) — Required. The type of the MCP Server spec content.