Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::McpToolset.
A toolset that contains a list of tools that are offered by the MCP server.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#api_authentication
def api_authentication() -> ::Google::Cloud::Ces::V1beta::ApiAuthentication
Returns
- (::Google::Cloud::Ces::V1beta::ApiAuthentication) — Optional. Authentication information required to access tools and execute a tool against the MCP server. For bearer token authentication, the token applies only to tool execution, not to listing tools. This requires that tools can be listed without authentication.
#api_authentication=
def api_authentication=(value) -> ::Google::Cloud::Ces::V1beta::ApiAuthentication
Parameter
- value (::Google::Cloud::Ces::V1beta::ApiAuthentication) — Optional. Authentication information required to access tools and execute a tool against the MCP server. For bearer token authentication, the token applies only to tool execution, not to listing tools. This requires that tools can be listed without authentication.
Returns
- (::Google::Cloud::Ces::V1beta::ApiAuthentication) — Optional. Authentication information required to access tools and execute a tool against the MCP server. For bearer token authentication, the token applies only to tool execution, not to listing tools. This requires that tools can be listed without authentication.
#custom_headers
def custom_headers() -> ::Google::Protobuf::Map{::String => ::String}
Returns
-
(::Google::Protobuf::Map{::String => ::String}) — Optional. The custom headers to send in the request to the MCP server. The
values must be in the format
$context.variables.<name_of_variable>and can be set in the session variables. See https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/open-api#openapi-injection for more details.
#custom_headers=
def custom_headers=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
-
value (::Google::Protobuf::Map{::String => ::String}) — Optional. The custom headers to send in the request to the MCP server. The
values must be in the format
$context.variables.<name_of_variable>and can be set in the session variables. See https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/open-api#openapi-injection for more details.
Returns
-
(::Google::Protobuf::Map{::String => ::String}) — Optional. The custom headers to send in the request to the MCP server. The
values must be in the format
$context.variables.<name_of_variable>and can be set in the session variables. See https://docs.cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool/open-api#openapi-injection for more details.
#server_address
def server_address() -> ::String
Returns
- (::String) — Required. The address of the MCP server, for example, "https://example.com/mcp/". If the server is built with the MCP SDK, the url should be suffixed with "/mcp/". Only Streamable HTTP transport based servers are supported. See https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http for more details.
#server_address=
def server_address=(value) -> ::String
Parameter
- value (::String) — Required. The address of the MCP server, for example, "https://example.com/mcp/". If the server is built with the MCP SDK, the url should be suffixed with "/mcp/". Only Streamable HTTP transport based servers are supported. See https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http for more details.
Returns
- (::String) — Required. The address of the MCP server, for example, "https://example.com/mcp/". If the server is built with the MCP SDK, the url should be suffixed with "/mcp/". Only Streamable HTTP transport based servers are supported. See https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http for more details.
#service_directory_config
def service_directory_config() -> ::Google::Cloud::Ces::V1beta::ServiceDirectoryConfig
Returns
- (::Google::Cloud::Ces::V1beta::ServiceDirectoryConfig) — Optional. Service Directory configuration for VPC-SC, used to resolve service names within a perimeter.
#service_directory_config=
def service_directory_config=(value) -> ::Google::Cloud::Ces::V1beta::ServiceDirectoryConfig
Parameter
- value (::Google::Cloud::Ces::V1beta::ServiceDirectoryConfig) — Optional. Service Directory configuration for VPC-SC, used to resolve service names within a perimeter.
Returns
- (::Google::Cloud::Ces::V1beta::ServiceDirectoryConfig) — Optional. Service Directory configuration for VPC-SC, used to resolve service names within a perimeter.
#tls_config
def tls_config() -> ::Google::Cloud::Ces::V1beta::TlsConfig
Returns
- (::Google::Cloud::Ces::V1beta::TlsConfig) — Optional. The TLS configuration. Includes the custom server certificates that the client should trust.
#tls_config=
def tls_config=(value) -> ::Google::Cloud::Ces::V1beta::TlsConfig
Parameter
- value (::Google::Cloud::Ces::V1beta::TlsConfig) — Optional. The TLS configuration. Includes the custom server certificates that the client should trust.
Returns
- (::Google::Cloud::Ces::V1beta::TlsConfig) — Optional. The TLS configuration. Includes the custom server certificates that the client should trust.