Interface AuthzPolicy.AuthzRule.To.RequestOperationOrBuilder

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

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

    • hasHeaderSet

      boolean hasHeaderSet()
       Optional. A list of headers to match against in http header.
       
      .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet header_set = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the headerSet field is set.
    • getHeaderSet

       Optional. A list of headers to match against in http header.
       
      .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet header_set = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The headerSet.
    • getHeaderSetOrBuilder

       Optional. A list of headers to match against in http header.
       
      .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet header_set = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getHostsList

       Optional. A list of HTTP Hosts to match against. The match can be one
       of exact, prefix, suffix, or contains (substring match). Matches are
       always case sensitive unless the ignoreCase is set. Limited to 10
       hosts per Authorization Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch hosts = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getHosts

      AuthzPolicy.AuthzRule.StringMatch getHosts(int index)
       Optional. A list of HTTP Hosts to match against. The match can be one
       of exact, prefix, suffix, or contains (substring match). Matches are
       always case sensitive unless the ignoreCase is set. Limited to 10
       hosts per Authorization Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch hosts = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getHostsCount

      int getHostsCount()
       Optional. A list of HTTP Hosts to match against. The match can be one
       of exact, prefix, suffix, or contains (substring match). Matches are
       always case sensitive unless the ignoreCase is set. Limited to 10
       hosts per Authorization Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch hosts = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getHostsOrBuilderList

      List<? extends AuthzPolicy.AuthzRule.StringMatchOrBuilder> getHostsOrBuilderList()
       Optional. A list of HTTP Hosts to match against. The match can be one
       of exact, prefix, suffix, or contains (substring match). Matches are
       always case sensitive unless the ignoreCase is set. Limited to 10
       hosts per Authorization Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch hosts = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getHostsOrBuilder

      AuthzPolicy.AuthzRule.StringMatchOrBuilder getHostsOrBuilder(int index)
       Optional. A list of HTTP Hosts to match against. The match can be one
       of exact, prefix, suffix, or contains (substring match). Matches are
       always case sensitive unless the ignoreCase is set. Limited to 10
       hosts per Authorization Policy.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch hosts = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getPathsList

       Optional. A list of paths to match against. The match can be one of
       exact, prefix, suffix, or contains (substring match). Matches are
       always case sensitive unless the ignoreCase is set. Limited to 10
       paths per Authorization Policy.
       Note that this path match includes the query parameters. For gRPC
       services, this should be a fully-qualified name of the form
       /package.service/method.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch paths = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getPaths

      AuthzPolicy.AuthzRule.StringMatch getPaths(int index)
       Optional. A list of paths to match against. The match can be one of
       exact, prefix, suffix, or contains (substring match). Matches are
       always case sensitive unless the ignoreCase is set. Limited to 10
       paths per Authorization Policy.
       Note that this path match includes the query parameters. For gRPC
       services, this should be a fully-qualified name of the form
       /package.service/method.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch paths = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getPathsCount

      int getPathsCount()
       Optional. A list of paths to match against. The match can be one of
       exact, prefix, suffix, or contains (substring match). Matches are
       always case sensitive unless the ignoreCase is set. Limited to 10
       paths per Authorization Policy.
       Note that this path match includes the query parameters. For gRPC
       services, this should be a fully-qualified name of the form
       /package.service/method.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch paths = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getPathsOrBuilderList

      List<? extends AuthzPolicy.AuthzRule.StringMatchOrBuilder> getPathsOrBuilderList()
       Optional. A list of paths to match against. The match can be one of
       exact, prefix, suffix, or contains (substring match). Matches are
       always case sensitive unless the ignoreCase is set. Limited to 10
       paths per Authorization Policy.
       Note that this path match includes the query parameters. For gRPC
       services, this should be a fully-qualified name of the form
       /package.service/method.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch paths = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getPathsOrBuilder

      AuthzPolicy.AuthzRule.StringMatchOrBuilder getPathsOrBuilder(int index)
       Optional. A list of paths to match against. The match can be one of
       exact, prefix, suffix, or contains (substring match). Matches are
       always case sensitive unless the ignoreCase is set. Limited to 10
       paths per Authorization Policy.
       Note that this path match includes the query parameters. For gRPC
       services, this should be a fully-qualified name of the form
       /package.service/method.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch paths = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getMethodsList

      List<String> getMethodsList()
       Optional. A list of HTTP methods to match against. Each entry must be
       a valid HTTP method name (GET, PUT, POST, HEAD, PATCH, DELETE,
       OPTIONS). It only allows exact match and is always case sensitive.
       Limited to 10 methods per Authorization Policy.
       
      repeated string methods = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the methods.
    • getMethodsCount

      int getMethodsCount()
       Optional. A list of HTTP methods to match against. Each entry must be
       a valid HTTP method name (GET, PUT, POST, HEAD, PATCH, DELETE,
       OPTIONS). It only allows exact match and is always case sensitive.
       Limited to 10 methods per Authorization Policy.
       
      repeated string methods = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The count of methods.
    • getMethods

      String getMethods(int index)
       Optional. A list of HTTP methods to match against. Each entry must be
       a valid HTTP method name (GET, PUT, POST, HEAD, PATCH, DELETE,
       OPTIONS). It only allows exact match and is always case sensitive.
       Limited to 10 methods per Authorization Policy.
       
      repeated string methods = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the element to return.
      Returns:
      The methods at the given index.
    • getMethodsBytes

      com.google.protobuf.ByteString getMethodsBytes(int index)
       Optional. A list of HTTP methods to match against. Each entry must be
       a valid HTTP method name (GET, PUT, POST, HEAD, PATCH, DELETE,
       OPTIONS). It only allows exact match and is always case sensitive.
       Limited to 10 methods per Authorization Policy.
       
      repeated string methods = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the methods at the given index.
    • hasMcp

      boolean hasMcp()
       Optional. Defines the MCP protocol attributes to match on. If the MCP
       payload in the request body cannot be successfully parsed, the
       request will be denied. This field can be set only for AuthzPolicies
       targeting AgentGateway resources.
       
      .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.MCP mcp = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the mcp field is set.
    • getMcp

       Optional. Defines the MCP protocol attributes to match on. If the MCP
       payload in the request body cannot be successfully parsed, the
       request will be denied. This field can be set only for AuthzPolicies
       targeting AgentGateway resources.
       
      .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.MCP mcp = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The mcp.
    • getMcpOrBuilder

       Optional. Defines the MCP protocol attributes to match on. If the MCP
       payload in the request body cannot be successfully parsed, the
       request will be denied. This field can be set only for AuthzPolicies
       targeting AgentGateway resources.
       
      .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.MCP mcp = 5 [(.google.api.field_behavior) = OPTIONAL];