BackendServiceLogConfigArgs

data class BackendServiceLogConfigArgs(val enable: Output<Boolean>? = null, val sampleRate: Output<Double>? = null) : ConvertibleToJava<BackendServiceLogConfigArgs>

Constructors

Link copied to clipboard
constructor(enable: Output<Boolean>? = null, sampleRate: Output<Double>? = null)

Properties

Link copied to clipboard
val enable: Output<Boolean>? = null

Whether to enable logging for the load balancer traffic served by this backend service.

Link copied to clipboard
val sampleRate: Output<Double>? = null

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.

Functions

Link copied to clipboard
open override fun toJava(): BackendServiceLogConfigArgs