Interface ComputeBackendServiceLogConfig

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    ComputeBackendServiceLogConfig.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.102.0 (build e354887)",
               date="2024-08-31T03:59:18.329Z")
    @Stability(Stable)
    public interface ComputeBackendServiceLogConfig
    extends software.amazon.jsii.JsiiSerializable
    • Method Detail

      • getEnable

        @Stability(Stable)
        @Nullable
        default Object getEnable()
        Whether to enable logging for the load balancer traffic served by this backend service.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_backend_service#enable ComputeBackendService#enable}

      • getSampleRate

        @Stability(Stable)
        @Nullable
        default Number 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 1.0. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_backend_service#sample_rate ComputeBackendService#sample_rate}