ApiMetricCost

com.google.api.server.spi.config

Annotation Type ApiMetricCost



  • public @interface ApiMetricCost
    Metric cost definition for a method.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element and Description
      int cost
      The cost charged to the metric.
      java.lang.String name
      The metric name, which must be defined using ApiLimitMetric.
    • Element Detail

      • name

        public abstract java.lang.String name
        The metric name, which must be defined using ApiLimitMetric.
      • cost

        public abstract int cost
        The cost charged to the metric.
本頁內容對您是否有任何幫助?請提供意見:

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

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