ApiFrontendLimits

com.google.api.server.spi.config

Annotation Type ApiFrontendLimits



  • @Retention(value=RUNTIME)
     @Target(value=TYPE)
    public @interface ApiFrontendLimits
    Annotation for configuration of API quota frontend limits. These are the limits applied to unregistered users of your API.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element and Description
      ApiFrontendLimitRule[] rules
      Sets custom rules for unregistered traffic to your API.
      int unregisteredDaily
      Sets the maximum number of requests per day for unregistered access to your API.
      int unregisteredQps
      Sets the maximum number of queries per second across all unregistered access to your API.
      int unregisteredUserQps
      Sets the number of queries per second an unregistered user can make against your API.
    • Element Detail

      • unregisteredUserQps

        public abstract int unregisteredUserQps
        Sets the number of queries per second an unregistered user can make against your API. The default is unlimited. If unauthenticated, each IP address is treated as a distinct user.
        Default:
        -2147483648
      • unregisteredQps

        public abstract int unregisteredQps
        Sets the maximum number of queries per second across all unregistered access to your API. The default is unlimited.
        Default:
        -2147483648
      • unregisteredDaily

        public abstract int unregisteredDaily
        Sets the maximum number of requests per day for unregistered access to your API. The default is unlimited.
        Default:
        -2147483648
本頁內容對您是否有任何幫助?請提供意見:

傳送您對下列選項的寶貴意見...

這個網頁
Cloud Endpoints Frameworks for App Engine
需要協助嗎?請前往我們的支援網頁