public class Exclusion extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Exclusion.Builder
A builder for
Exclusion objects. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.google.protobuf.Timestamp |
getCreateTime()
Returns the creation timestamp of the exclusion.
|
String |
getDescription()
Returns an optional description of an exclusion.
|
String |
getFilter()
Returns an advanced logs filter.
|
String |
getName()
Returns the name of log exclusion.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Returns the last update timestamp of the exclusion.
|
int |
hashCode() |
boolean |
isDisabled()
If set to True, then this exclusion is disabled and it does not exclude any log entries.
|
static Exclusion.Builder |
newBuilder(String name,
String filter)
Returns a builder for
Exclusion objects given the name of the exclusion and its filter. |
static Exclusion |
of(String name,
String filter)
Creates a
Exclusion object given the name of the exclusion and its filter. |
Exclusion.Builder |
toBuilder()
Returns a builder for this
Exclusion object. |
String |
toString() |
public String getName()
public String getDescription()
public String getFilter()
resource.type=gcs_bucket severity<ERROR
sample(insertId, 0.99)
.public boolean isDisabled()
public com.google.protobuf.Timestamp getCreateTime()
public com.google.protobuf.Timestamp getUpdateTime()
public Exclusion.Builder toBuilder()
Exclusion
object.public static Exclusion.Builder newBuilder(String name, String filter)
Exclusion
objects given the name of the exclusion and its filter.Copyright © 2023 Google LLC. All rights reserved.