Interface AuthzPolicy.AuthzRule.To.RequestOperation.MCPOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
AuthzPolicy.AuthzRule.To.RequestOperation.MCP, AuthzPolicy.AuthzRule.To.RequestOperation.MCP.Builder
Enclosing class:
AuthzPolicy.AuthzRule.To.RequestOperation

public static interface AuthzPolicy.AuthzRule.To.RequestOperation.MCPOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getBaseProtocolMethodsOptionValue

      int getBaseProtocolMethodsOptionValue()
       Optional. If specified, matches on the MCP protocol’s non-access
       specific methods namely:
       * initialize
       * completion/
       * logging/
       * notifications/
       * ping
       Defaults to SKIP_BASE_PROTOCOL_METHODS if not specified.
       
      .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.BaseProtocolMethodsOption base_protocol_methods_option = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for baseProtocolMethodsOption.
    • getBaseProtocolMethodsOption

       Optional. If specified, matches on the MCP protocol’s non-access
       specific methods namely:
       * initialize
       * completion/
       * logging/
       * notifications/
       * ping
       Defaults to SKIP_BASE_PROTOCOL_METHODS if not specified.
       
      .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.BaseProtocolMethodsOption base_protocol_methods_option = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The baseProtocolMethodsOption.
    • getMethodsList

       Optional. A list of MCP methods and associated parameters to match
       on. It is recommended to use this field to match on tools, prompts
       and resource accesses while setting the baseProtocolMethodsOption
       to MATCH_BASE_PROTOCOL_METHODS to match on all the other MCP
       protocol methods.
       Limited to 10 MCP methods per Authorization Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.MCPMethod methods = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getMethods

       Optional. A list of MCP methods and associated parameters to match
       on. It is recommended to use this field to match on tools, prompts
       and resource accesses while setting the baseProtocolMethodsOption
       to MATCH_BASE_PROTOCOL_METHODS to match on all the other MCP
       protocol methods.
       Limited to 10 MCP methods per Authorization Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.MCPMethod methods = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getMethodsCount

      int getMethodsCount()
       Optional. A list of MCP methods and associated parameters to match
       on. It is recommended to use this field to match on tools, prompts
       and resource accesses while setting the baseProtocolMethodsOption
       to MATCH_BASE_PROTOCOL_METHODS to match on all the other MCP
       protocol methods.
       Limited to 10 MCP methods per Authorization Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.MCPMethod methods = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getMethodsOrBuilderList

       Optional. A list of MCP methods and associated parameters to match
       on. It is recommended to use this field to match on tools, prompts
       and resource accesses while setting the baseProtocolMethodsOption
       to MATCH_BASE_PROTOCOL_METHODS to match on all the other MCP
       protocol methods.
       Limited to 10 MCP methods per Authorization Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.MCPMethod methods = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getMethodsOrBuilder

       Optional. A list of MCP methods and associated parameters to match
       on. It is recommended to use this field to match on tools, prompts
       and resource accesses while setting the baseProtocolMethodsOption
       to MATCH_BASE_PROTOCOL_METHODS to match on all the other MCP
       protocol methods.
       Limited to 10 MCP methods per Authorization Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.MCPMethod methods = 2 [(.google.api.field_behavior) = OPTIONAL];