OrganizationExclusionArgs

data class OrganizationExclusionArgs(val description: Output<String>? = null, val disabled: Output<Boolean>? = null, val filter: Output<String>? = null, val name: Output<String>? = null, val organizationId: Output<String>? = null) : ConvertibleToJava<OrganizationExclusionArgs>

Creates a new exclusion in the _Default sink in a specified parent resource. Only log entries belonging to that resource can be excluded. You can have up to 10 exclusions in a resource.

Constructors

Link copied to clipboard
fun OrganizationExclusionArgs(description: Output<String>? = null, disabled: Output<Boolean>? = null, filter: Output<String>? = null, name: Output<String>? = null, organizationId: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): OrganizationExclusionArgs

Properties

Link copied to clipboard
val description: Output<String>? = null

Optional. A description of this exclusion.

Link copied to clipboard
val disabled: Output<Boolean>? = null

Optional. If set to True, then this exclusion is disabled and it does not exclude any log entries. You can update an exclusion to change the value of this field.

Link copied to clipboard
val filter: Output<String>? = null

An advanced logs filter (https://cloud.google.com/logging/docs/view/advanced-queries) that matches the log entries to be excluded. By using the sample function (https://cloud.google.com/logging/docs/view/advanced-queries#sample), you can exclude less than 100% of the matching log entries.For example, the following query matches 99% of low-severity log entries from Google Cloud Storage buckets:resource.type=gcs_bucket severity

Link copied to clipboard
val name: Output<String>? = null

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.

Link copied to clipboard
val organizationId: Output<String>? = null