Class ProjectSinkExclusion


  • public final class ProjectSinkExclusion
    extends java.lang.Object
    • Method Detail

      • description

        public java.util.Optional<java.lang.String> description()
        Returns:
        A description of this exclusion.
      • disabled

        public java.util.Optional<java.lang.Boolean> disabled()
        Returns:
        If set to True, then this exclusion is disabled and it does not exclude any log entries.
      • filter

        public java.lang.String filter()
        Returns:
        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. See [Advanced Log Filters](https://cloud.google.com/logging/docs/view/advanced_filters) for information on how to write a filter.
      • name

        public java.lang.String name()
        Returns:
        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.