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
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classComputeBackendServiceLogConfig.BuilderA builder forComputeBackendServiceLogConfigstatic classComputeBackendServiceLogConfig.Jsii$ProxyAn implementation forComputeBackendServiceLogConfig
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ComputeBackendServiceLogConfig.Builderbuilder()default ObjectgetEnable()Whether to enable logging for the load balancer traffic served by this backend service.default NumbergetSampleRate()This field can only be specified if logging is enabled for this backend service.
-
-
-
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}
-
builder
@Stability(Stable) static ComputeBackendServiceLogConfig.Builder builder()
-
-