Class ApiProxy.ApiConfig

  • Enclosing class:
    ApiProxy

    public static final class ApiProxy.ApiConfig
    extends Object
    ApiConfig encapsulates one or more configuration parameters scoped to an individual API call.
    • Constructor Detail

      • ApiConfig

        public ApiConfig()
    • Method Detail

      • getDeadlineInSeconds

        public Double getDeadlineInSeconds()
        Returns the number of seconds that the API call will be allowed to run, or null for the default deadline.
      • setDeadlineInSeconds

        public void setDeadlineInSeconds​(Double deadlineInSeconds)
        Set the number of seconds that the API call will be allowed to run, or null for the default deadline.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object