Interface AuthzPolicy.AuthzRule.FromOrBuilder

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

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

    • getSourcesList

       Optional. Describes the properties of a request's sources. At least one
       of sources or notSources must be specified. Limited to 1 source.
       A match occurs when ANY source (in sources or notSources) matches the
       request. Within a single source, the match follows AND semantics
       across fields and OR semantics within a single field, i.e. a match
       occurs when ANY principal matches AND ANY ipBlocks match.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource sources = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getSources

       Optional. Describes the properties of a request's sources. At least one
       of sources or notSources must be specified. Limited to 1 source.
       A match occurs when ANY source (in sources or notSources) matches the
       request. Within a single source, the match follows AND semantics
       across fields and OR semantics within a single field, i.e. a match
       occurs when ANY principal matches AND ANY ipBlocks match.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource sources = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getSourcesCount

      int getSourcesCount()
       Optional. Describes the properties of a request's sources. At least one
       of sources or notSources must be specified. Limited to 1 source.
       A match occurs when ANY source (in sources or notSources) matches the
       request. Within a single source, the match follows AND semantics
       across fields and OR semantics within a single field, i.e. a match
       occurs when ANY principal matches AND ANY ipBlocks match.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource sources = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getSourcesOrBuilderList

      List<? extends AuthzPolicy.AuthzRule.From.RequestSourceOrBuilder> getSourcesOrBuilderList()
       Optional. Describes the properties of a request's sources. At least one
       of sources or notSources must be specified. Limited to 1 source.
       A match occurs when ANY source (in sources or notSources) matches the
       request. Within a single source, the match follows AND semantics
       across fields and OR semantics within a single field, i.e. a match
       occurs when ANY principal matches AND ANY ipBlocks match.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource sources = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getSourcesOrBuilder

      AuthzPolicy.AuthzRule.From.RequestSourceOrBuilder getSourcesOrBuilder(int index)
       Optional. Describes the properties of a request's sources. At least one
       of sources or notSources must be specified. Limited to 1 source.
       A match occurs when ANY source (in sources or notSources) matches the
       request. Within a single source, the match follows AND semantics
       across fields and OR semantics within a single field, i.e. a match
       occurs when ANY principal matches AND ANY ipBlocks match.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource sources = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getNotSourcesList

       Optional. Describes the negated properties of request sources. Matches
       requests from sources that do not match the criteria specified in this
       field. At least one of sources or notSources must be specified.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource not_sources = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getNotSources

      AuthzPolicy.AuthzRule.From.RequestSource getNotSources(int index)
       Optional. Describes the negated properties of request sources. Matches
       requests from sources that do not match the criteria specified in this
       field. At least one of sources or notSources must be specified.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource not_sources = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getNotSourcesCount

      int getNotSourcesCount()
       Optional. Describes the negated properties of request sources. Matches
       requests from sources that do not match the criteria specified in this
       field. At least one of sources or notSources must be specified.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource not_sources = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getNotSourcesOrBuilderList

      List<? extends AuthzPolicy.AuthzRule.From.RequestSourceOrBuilder> getNotSourcesOrBuilderList()
       Optional. Describes the negated properties of request sources. Matches
       requests from sources that do not match the criteria specified in this
       field. At least one of sources or notSources must be specified.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource not_sources = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getNotSourcesOrBuilder

      AuthzPolicy.AuthzRule.From.RequestSourceOrBuilder getNotSourcesOrBuilder(int index)
       Optional. Describes the negated properties of request sources. Matches
       requests from sources that do not match the criteria specified in this
       field. At least one of sources or notSources must be specified.
       
      repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource not_sources = 2 [(.google.api.field_behavior) = OPTIONAL];