LogExclusion class final

Specifies a set of log entries that are filtered out by a sink. If your Google Cloud resource receives a large volume of log entries, you can use exclusions to reduce your chargeable logs. Note that exclusions on organization-level and folder-level sinks don't apply to child resources. Note also that you cannot modify the _Required sink or exclude logs from it.

Inheritance
  • Object
  • ProtoMessage
  • LogExclusion

Constructors

LogExclusion({required String name, String description = '', required String filter, bool disabled = false, Timestamp? createTime, Timestamp? updateTime})
LogExclusion.fromJson(Object? j)
factory

Properties

createTime → Timestamp?
Output only. The creation timestamp of the exclusion.
final
description String
Optional. A description of this exclusion.
final
disabled bool
Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can google.logging.v2.ConfigServiceV2.UpdateExclusion to change the value of this field.
final
filter String
Required. An advanced logs filter that matches the log entries to be excluded. By using the sample function, you can exclude less than 100% of the matching log entries.
final
hashCode int
The hash code for this object.
no setterinherited
name String
Required. A client-assigned identifier, such as "load-balancer-exclusion". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric.
final
qualifiedName String
The fully qualified name of this message, i.e., google.protobuf.Duration or google.rpc.ErrorInfo.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updateTime → Timestamp?
Output only. The last update timestamp of the exclusion.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Object
override
toString() String
A string representation of this object.
override

Operators

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

Constants

fullyQualifiedName → const String