All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.compute.model.BackendServiceLogConfig.html Maven / Gradle / Ivy







BackendServiceLogConfig (Compute Engine API beta-rev20220726-2.0.0)












com.google.api.services.compute.model

Class BackendServiceLogConfig

    • Constructor Detail

      • BackendServiceLogConfig

        public BackendServiceLogConfig()
    • Method Detail

      • getEnable

        public Boolean getEnable()
        This field denotes whether to enable logging for the load balancer traffic served by this backend service.
        Returns:
        value or null for none
      • setEnable

        public BackendServiceLogConfig setEnable(Boolean enable)
        This field denotes whether to enable logging for the load balancer traffic served by this backend service.
        Parameters:
        enable - enable or null for none
      • getSampleRate

        public Float getSampleRate()
        This field can only be specified if logging is enabled for this backend service. The value of the field must be in [0, 1]. This configures the sampling rate of requests to the load balancer where 1.0 means all logged requests are reported and 0.0 means no logged requests are reported. The default value is 0.0.
        Returns:
        value or null for none
      • setSampleRate

        public BackendServiceLogConfig setSampleRate(Float sampleRate)
        This field can only be specified if logging is enabled for this backend service. The value of the field must be in [0, 1]. This configures the sampling rate of requests to the load balancer where 1.0 means all logged requests are reported and 0.0 means no logged requests are reported. The default value is 0.0.
        Parameters:
        sampleRate - sampleRate or null for none

Copyright © 2011–2022 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy