Network Security V1 API - Class Google::Cloud::NetworkSecurity::V1::AuthzPolicy::AuthzRule::To::RequestOperation::MCPMethod (v0.1.0)

Reference documentation and code samples for the Network Security V1 API class Google::Cloud::NetworkSecurity::V1::AuthzPolicy::AuthzRule::To::RequestOperation::MCPMethod.

Describes a set of MCP methods to match against.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#name

def name() -> ::String
Returns
  • (::String) —

    Required. The MCP method to match against. Allowed values are as follows:

    1. tools, prompts, resources - these will match against all sub methods under the respective methods.
    2. prompts/list, tools/list, resources/list, resources/templates/list
    3. prompts/get, tools/call, resources/subscribe, resources/unsubscribe, resources/read Params cannot be specified for categories 1 and 2.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) —

    Required. The MCP method to match against. Allowed values are as follows:

    1. tools, prompts, resources - these will match against all sub methods under the respective methods.
    2. prompts/list, tools/list, resources/list, resources/templates/list
    3. prompts/get, tools/call, resources/subscribe, resources/unsubscribe, resources/read Params cannot be specified for categories 1 and 2.
Returns
  • (::String) —

    Required. The MCP method to match against. Allowed values are as follows:

    1. tools, prompts, resources - these will match against all sub methods under the respective methods.
    2. prompts/list, tools/list, resources/list, resources/templates/list
    3. prompts/get, tools/call, resources/subscribe, resources/unsubscribe, resources/read Params cannot be specified for categories 1 and 2.

#params

def params() -> ::Array<::Google::Cloud::NetworkSecurity::V1::AuthzPolicy::AuthzRule::StringMatch>
Returns

#params=

def params=(value) -> ::Array<::Google::Cloud::NetworkSecurity::V1::AuthzPolicy::AuthzRule::StringMatch>
Parameter
Returns