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 Summary
Modifier and TypeMethodDescriptionOptional.intOptional.getMethods(int index) Optional.intOptional.Optional.getMethodsOrBuilder(int index) Optional.Optional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
AuthzPolicy.AuthzRule.To.RequestOperation.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
List<AuthzPolicy.AuthzRule.To.RequestOperation.MCPMethod> 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
List<? extends AuthzPolicy.AuthzRule.To.RequestOperation.MCPMethodOrBuilder> 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];
-