RegionBackendServiceLogConfig class

Constructors

RegionBackendServiceLogConfig({Input<bool?>? enable, Input<List<String>?>? optionalFields, Input<String?>? optionalMode, Input<List<RegionBackendServiceLogConfigRequestHeader>?>? requestHeaders, Input<List<RegionBackendServiceLogConfigResponseHeader>?>? responseHeaders, Input<double?>? sampleRate})
Creates a new RegionBackendServiceLogConfig. 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
const
RegionBackendServiceLogConfig.fromMap(Map<String, dynamic> map)
factory

Properties

enable → Input<bool?>?
Whether to enable logging for the load balancer traffic served by this backend service.
final
hashCode → int
The hash code for this object.
no setterinherited
optionalFields → Input<List<String>?>?
Specifies the fields to include in logging. This field can only be specified if logging is enabled for this backend service.
final
optionalMode → Input<String?>?
Specifies the optional logging mode for the load balancer traffic. Supported values: INCLUDE_ALL_OPTIONAL, EXCLUDE_ALL_OPTIONAL, CUSTOM. Possible values are: INCLUDE_ALL_OPTIONAL, EXCLUDE_ALL_OPTIONAL, CUSTOM.
final
requestHeaders → Input<List<RegionBackendServiceLogConfigRequestHeader>?>?
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. Structure is documented below.
final
responseHeaders → Input<List<RegionBackendServiceLogConfigResponseHeader>?>?
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. Structure is documented below.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sampleRate → Input<double?>?
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.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited