Class EdgeCacheServiceLogConfig
- java.lang.Object
-
- com.pulumi.gcp.networkservices.outputs.EdgeCacheServiceLogConfig
-
public final class EdgeCacheServiceLogConfig extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EdgeCacheServiceLogConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EdgeCacheServiceLogConfig.Builder
builder()
static EdgeCacheServiceLogConfig.Builder
builder(EdgeCacheServiceLogConfig defaults)
java.util.Optional<java.lang.Boolean>
enable()
java.util.Optional<java.lang.Double>
sampleRate()
-
-
-
Method Detail
-
enable
public java.util.Optional<java.lang.Boolean> enable()
- Returns:
- Specifies whether to enable logging for traffic served by this service.
-
sampleRate
public java.util.Optional<java.lang.Double> sampleRate()
- Returns:
- Configures the sampling rate of requests, where 1.0 means all logged requests are reported and 0.0 means no logged requests are reported. The default value is 1.0, and the value of the field must be in [0, 1]. This field can only be specified if logging is enabled for this service.
-
builder
public static EdgeCacheServiceLogConfig.Builder builder()
-
builder
public static EdgeCacheServiceLogConfig.Builder builder(EdgeCacheServiceLogConfig defaults)
-
-