GoogleApi.Compute.V1.Model.BackendServiceLogConfig (google_api_compute v0.37.0) View Source

The available logging options for the load balancer traffic served by this backend service.

Attributes

  • enable (type: boolean(), default: nil) - This field denotes whether to enable logging for the load balancer traffic served by this backend service.
  • sampleRate (type: number(), default: nil) - 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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Compute.V1.Model.BackendServiceLogConfig{
  enable: boolean() | nil,
  sampleRate: number() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.