SubnetworkLogConfig class
The available logging options for this subnetwork.
Constructors
-
SubnetworkLogConfig({String? aggregationInterval, bool? enable, String? filterExpr, double? flowSampling, String? metadata, List<
String> ? metadataFields}) - SubnetworkLogConfig.fromJson(Map json_)
Properties
- aggregationInterval ↔ String?
-
Can only be specified if VPC flow logging for this subnetwork is enabled.
Toggles the aggregation interval for collecting flow logs.
getter/setter pair
- enable ↔ bool?
-
Whether to enable flow logging for this subnetwork.
getter/setter pair
- filterExpr ↔ String?
-
Can only be specified if VPC flow logs for this subnetwork is enabled.
The filter expression is used to define which VPC flow logs should be
exported to Cloud Logging.
getter/setter pair
- flowSampling ↔ double?
-
Can only be specified if VPC flow logging for this subnetwork is enabled.
The value of the field must be in [0, 1].
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- metadata ↔ String?
-
Can only be specified if VPC flow logs for this subnetwork is enabled.
Configures whether all, none or a subset of metadata fields should be
added to the reported VPC flow logs.
getter/setter pair
-
metadataFields
↔ List<
String> ? -
Can only be specified if VPC flow logs for this subnetwork is enabled and
"metadata" was set to CUSTOM_METADATA.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited