GetRegionBackendServiceLogConfig constructor

const GetRegionBackendServiceLogConfig({
  1. required Input<bool> enable,
  2. required Input<List<String>> optionalFields,
  3. required Input<String> optionalMode,
  4. required Input<List<GetRegionBackendServiceLogConfigRequestHeader>> requestHeaders,
  5. required Input<List<GetRegionBackendServiceLogConfigResponseHeader>> responseHeaders,
  6. required Input<double> sampleRate,
})

Creates a new GetRegionBackendServiceLogConfig. enable Whether to enable logging for the load balancer traffic served by this backend service. optionalFields Specifies the fields to include in logging. This field can only be specified if logging is enabled for this backend service. optionalMode Specifies the optional logging mode for the load balancer traffic. requestHeaders This field can only be specified if logging is enabled for this backend service and if the BackendService protocol is one of HTTP, HTTPS, HTTP2 and GRPC. Contains a list of request headers to be logged. responseHeaders This field can only be specified if logging is enabled for this backend service and if the BackendService protocol is one of HTTP, HTTPS, HTTP2 and GRPC. Contains a list of response headers to be logged. sampleRate This field can only be specified if logging is enabled for this backend service. The value of

Implementation

const GetRegionBackendServiceLogConfig({
  required this.enable,
  required this.optionalFields,
  required this.optionalMode,
  required this.requestHeaders,
  required this.responseHeaders,
  required this.sampleRate,
});