exclusions
Creates, updates, deletes, gets or lists an exclusions
resource.
Overview
Name | exclusions |
Type | Resource |
Id | google.logging.exclusions |
Fields
The following fields are returned by SELECT
queries:
- exclusions_list
- projects_exclusions_get
- organizations_exclusions_get
- folders_exclusions_get
- billing_accounts_exclusions_get
- exclusions_get
- projects_exclusions_list
- organizations_exclusions_list
- folders_exclusions_list
- billing_accounts_exclusions_list
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Optional. 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. |
createTime | string (google-datetime) | Output only. The creation timestamp of the exclusion.This field may not be present for older exclusions. |
description | string | Optional. A description of this exclusion. |
disabled | boolean | 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. |
filter | string | Required. 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<ERROR sample(insertId, 0.99) |
updateTime | string (google-datetime) | Output only. The last update timestamp of the exclusion.This field may not be present for older exclusions. |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Optional. 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. |
createTime | string (google-datetime) | Output only. The creation timestamp of the exclusion.This field may not be present for older exclusions. |
description | string | Optional. A description of this exclusion. |
disabled | boolean | 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. |
filter | string | Required. 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<ERROR sample(insertId, 0.99) |
updateTime | string (google-datetime) | Output only. The last update timestamp of the exclusion.This field may not be present for older exclusions. |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Optional. 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. |
createTime | string (google-datetime) | Output only. The creation timestamp of the exclusion.This field may not be present for older exclusions. |
description | string | Optional. A description of this exclusion. |
disabled | boolean | 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. |
filter | string | Required. 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<ERROR sample(insertId, 0.99) |
updateTime | string (google-datetime) | Output only. The last update timestamp of the exclusion.This field may not be present for older exclusions. |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Optional. 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. |
createTime | string (google-datetime) | Output only. The creation timestamp of the exclusion.This field may not be present for older exclusions. |
description | string | Optional. A description of this exclusion. |
disabled | boolean | 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. |
filter | string | Required. 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<ERROR sample(insertId, 0.99) |
updateTime | string (google-datetime) | Output only. The last update timestamp of the exclusion.This field may not be present for older exclusions. |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Optional. 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. |
createTime | string (google-datetime) | Output only. The creation timestamp of the exclusion.This field may not be present for older exclusions. |
description | string | Optional. A description of this exclusion. |
disabled | boolean | 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. |
filter | string | Required. 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<ERROR sample(insertId, 0.99) |
updateTime | string (google-datetime) | Output only. The last update timestamp of the exclusion.This field may not be present for older exclusions. |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Optional. 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. |
createTime | string (google-datetime) | Output only. The creation timestamp of the exclusion.This field may not be present for older exclusions. |
description | string | Optional. A description of this exclusion. |
disabled | boolean | 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. |
filter | string | Required. 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<ERROR sample(insertId, 0.99) |
updateTime | string (google-datetime) | Output only. The last update timestamp of the exclusion.This field may not be present for older exclusions. |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Optional. 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. |
createTime | string (google-datetime) | Output only. The creation timestamp of the exclusion.This field may not be present for older exclusions. |
description | string | Optional. A description of this exclusion. |
disabled | boolean | 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. |
filter | string | Required. 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<ERROR sample(insertId, 0.99) |
updateTime | string (google-datetime) | Output only. The last update timestamp of the exclusion.This field may not be present for older exclusions. |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Optional. 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. |
createTime | string (google-datetime) | Output only. The creation timestamp of the exclusion.This field may not be present for older exclusions. |
description | string | Optional. A description of this exclusion. |
disabled | boolean | 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. |
filter | string | Required. 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<ERROR sample(insertId, 0.99) |
updateTime | string (google-datetime) | Output only. The last update timestamp of the exclusion.This field may not be present for older exclusions. |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Optional. 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. |
createTime | string (google-datetime) | Output only. The creation timestamp of the exclusion.This field may not be present for older exclusions. |
description | string | Optional. A description of this exclusion. |
disabled | boolean | 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. |
filter | string | Required. 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<ERROR sample(insertId, 0.99) |
updateTime | string (google-datetime) | Output only. The last update timestamp of the exclusion.This field may not be present for older exclusions. |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Optional. 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. |
createTime | string (google-datetime) | Output only. The creation timestamp of the exclusion.This field may not be present for older exclusions. |
description | string | Optional. A description of this exclusion. |
disabled | boolean | 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. |
filter | string | Required. 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<ERROR sample(insertId, 0.99) |
updateTime | string (google-datetime) | Output only. The last update timestamp of the exclusion.This field may not be present for older exclusions. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
exclusions_list | select | parentType , parent | pageToken , pageSize | Lists all the exclusions on the _Default sink in a parent resource. |
projects_exclusions_get | select | projectsId , exclusionsId | Gets the description of an exclusion in the _Default sink. | |
organizations_exclusions_get | select | organizationsId , exclusionsId | Gets the description of an exclusion in the _Default sink. | |
folders_exclusions_get | select | foldersId , exclusionsId | Gets the description of an exclusion in the _Default sink. | |
billing_accounts_exclusions_get | select | billingAccountsId , exclusionsId | Gets the description of an exclusion in the _Default sink. | |
exclusions_get | select | name | Gets the description of an exclusion in the _Default sink. | |
projects_exclusions_list | select | projectsId | pageToken , pageSize | Lists all the exclusions on the _Default sink in a parent resource. |
organizations_exclusions_list | select | organizationsId | pageToken , pageSize | Lists all the exclusions on the _Default sink in a parent resource. |
folders_exclusions_list | select | foldersId | pageToken , pageSize | Lists all the exclusions on the _Default sink in a parent resource. |
billing_accounts_exclusions_list | select | billingAccountsId | pageToken , pageSize | Lists all the exclusions on the _Default sink in a parent resource. |
exclusions_create | insert | parentType , parent | 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. | |
projects_exclusions_create | insert | projectsId | 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. | |
organizations_exclusions_create | insert | organizationsId | 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. | |
folders_exclusions_create | insert | foldersId | 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. | |
billing_accounts_exclusions_create | insert | billingAccountsId | 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. | |
projects_exclusions_patch | update | projectsId , exclusionsId | updateMask | Changes one or more properties of an existing exclusion in the _Default sink. |
organizations_exclusions_patch | update | organizationsId , exclusionsId | updateMask | Changes one or more properties of an existing exclusion in the _Default sink. |
folders_exclusions_patch | update | foldersId , exclusionsId | updateMask | Changes one or more properties of an existing exclusion in the _Default sink. |
billing_accounts_exclusions_patch | update | billingAccountsId , exclusionsId | updateMask | Changes one or more properties of an existing exclusion in the _Default sink. |
exclusions_patch | update | name | updateMask | Changes one or more properties of an existing exclusion in the _Default sink. |
projects_exclusions_delete | delete | projectsId , exclusionsId | Deletes an exclusion in the _Default sink. | |
organizations_exclusions_delete | delete | organizationsId , exclusionsId | Deletes an exclusion in the _Default sink. | |
folders_exclusions_delete | delete | foldersId , exclusionsId | Deletes an exclusion in the _Default sink. | |
billing_accounts_exclusions_delete | delete | billingAccountsId , exclusionsId | Deletes an exclusion in the _Default sink. | |
exclusions_delete | delete | name | Deletes an exclusion in the _Default sink. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
billingAccountsId | string | |
exclusionsId | string | |
foldersId | string | |
name | string | |
organizationsId | string | |
parent | string | |
parentType | string | |
projectsId | string | |
pageSize | integer (int32) | |
pageToken | string | |
updateMask | string (google-fieldmask) |
SELECT
examples
- exclusions_list
- projects_exclusions_get
- organizations_exclusions_get
- folders_exclusions_get
- billing_accounts_exclusions_get
- exclusions_get
- projects_exclusions_list
- organizations_exclusions_list
- folders_exclusions_list
- billing_accounts_exclusions_list
Lists all the exclusions on the _Default sink in a parent resource.
SELECT
name,
createTime,
description,
disabled,
filter,
updateTime
FROM google.logging.exclusions
WHERE parentType = '{{ parentType }}' -- required
AND parent = '{{ parent }}' -- required
AND pageToken = '{{ pageToken }}'
AND pageSize = '{{ pageSize }}';
Gets the description of an exclusion in the _Default sink.
SELECT
name,
createTime,
description,
disabled,
filter,
updateTime
FROM google.logging.exclusions
WHERE projectsId = '{{ projectsId }}' -- required
AND exclusionsId = '{{ exclusionsId }}' -- required;
Gets the description of an exclusion in the _Default sink.
SELECT
name,
createTime,
description,
disabled,
filter,
updateTime
FROM google.logging.exclusions
WHERE organizationsId = '{{ organizationsId }}' -- required
AND exclusionsId = '{{ exclusionsId }}' -- required;
Gets the description of an exclusion in the _Default sink.
SELECT
name,
createTime,
description,
disabled,
filter,
updateTime
FROM google.logging.exclusions
WHERE foldersId = '{{ foldersId }}' -- required
AND exclusionsId = '{{ exclusionsId }}' -- required;
Gets the description of an exclusion in the _Default sink.
SELECT
name,
createTime,
description,
disabled,
filter,
updateTime
FROM google.logging.exclusions
WHERE billingAccountsId = '{{ billingAccountsId }}' -- required
AND exclusionsId = '{{ exclusionsId }}' -- required;
Gets the description of an exclusion in the _Default sink.
SELECT
name,
createTime,
description,
disabled,
filter,
updateTime
FROM google.logging.exclusions
WHERE name = '{{ name }}' -- required;
Lists all the exclusions on the _Default sink in a parent resource.
SELECT
name,
createTime,
description,
disabled,
filter,
updateTime
FROM google.logging.exclusions
WHERE projectsId = '{{ projectsId }}' -- required
AND pageToken = '{{ pageToken }}'
AND pageSize = '{{ pageSize }}';
Lists all the exclusions on the _Default sink in a parent resource.
SELECT
name,
createTime,
description,
disabled,
filter,
updateTime
FROM google.logging.exclusions
WHERE organizationsId = '{{ organizationsId }}' -- required
AND pageToken = '{{ pageToken }}'
AND pageSize = '{{ pageSize }}';
Lists all the exclusions on the _Default sink in a parent resource.
SELECT
name,
createTime,
description,
disabled,
filter,
updateTime
FROM google.logging.exclusions
WHERE foldersId = '{{ foldersId }}' -- required
AND pageToken = '{{ pageToken }}'
AND pageSize = '{{ pageSize }}';
Lists all the exclusions on the _Default sink in a parent resource.
SELECT
name,
createTime,
description,
disabled,
filter,
updateTime
FROM google.logging.exclusions
WHERE billingAccountsId = '{{ billingAccountsId }}' -- required
AND pageToken = '{{ pageToken }}'
AND pageSize = '{{ pageSize }}';
INSERT
examples
- exclusions_create
- projects_exclusions_create
- organizations_exclusions_create
- folders_exclusions_create
- billing_accounts_exclusions_create
- Manifest
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.
INSERT INTO google.logging.exclusions (
data__name,
data__description,
data__filter,
data__disabled,
parentType,
parent
)
SELECT
'{{ name }}',
'{{ description }}',
'{{ filter }}',
{{ disabled }},
'{{ parentType }}',
'{{ parent }}'
RETURNING
name,
createTime,
description,
disabled,
filter,
updateTime
;
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.
INSERT INTO google.logging.exclusions (
data__name,
data__description,
data__filter,
data__disabled,
projectsId
)
SELECT
'{{ name }}',
'{{ description }}',
'{{ filter }}',
{{ disabled }},
'{{ projectsId }}'
RETURNING
name,
createTime,
description,
disabled,
filter,
updateTime
;
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.
INSERT INTO google.logging.exclusions (
data__name,
data__description,
data__filter,
data__disabled,
organizationsId
)
SELECT
'{{ name }}',
'{{ description }}',
'{{ filter }}',
{{ disabled }},
'{{ organizationsId }}'
RETURNING
name,
createTime,
description,
disabled,
filter,
updateTime
;
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.
INSERT INTO google.logging.exclusions (
data__name,
data__description,
data__filter,
data__disabled,
foldersId
)
SELECT
'{{ name }}',
'{{ description }}',
'{{ filter }}',
{{ disabled }},
'{{ foldersId }}'
RETURNING
name,
createTime,
description,
disabled,
filter,
updateTime
;
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.
INSERT INTO google.logging.exclusions (
data__name,
data__description,
data__filter,
data__disabled,
billingAccountsId
)
SELECT
'{{ name }}',
'{{ description }}',
'{{ filter }}',
{{ disabled }},
'{{ billingAccountsId }}'
RETURNING
name,
createTime,
description,
disabled,
filter,
updateTime
;
# Description fields are for documentation purposes
- name: exclusions
props:
- name: parentType
value: string
description: Required parameter for the exclusions resource.
- name: parent
value: string
description: Required parameter for the exclusions resource.
- name: projectsId
value: string
description: Required parameter for the exclusions resource.
- name: organizationsId
value: string
description: Required parameter for the exclusions resource.
- name: foldersId
value: string
description: Required parameter for the exclusions resource.
- name: billingAccountsId
value: string
description: Required parameter for the exclusions resource.
- name: name
value: string
description: >
Optional. 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.
- name: description
value: string
description: >
Optional. A description of this exclusion.
- name: filter
value: string
description: >
Required. 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<ERROR sample(insertId, 0.99)
- name: disabled
value: boolean
description: >
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.
UPDATE
examples
- projects_exclusions_patch
- organizations_exclusions_patch
- folders_exclusions_patch
- billing_accounts_exclusions_patch
- exclusions_patch
Changes one or more properties of an existing exclusion in the _Default sink.
UPDATE google.logging.exclusions
SET
data__name = '{{ name }}',
data__description = '{{ description }}',
data__filter = '{{ filter }}',
data__disabled = {{ disabled }}
WHERE
projectsId = '{{ projectsId }}' --required
AND exclusionsId = '{{ exclusionsId }}' --required
AND updateMask = '{{ updateMask}}'
RETURNING
name,
createTime,
description,
disabled,
filter,
updateTime;
Changes one or more properties of an existing exclusion in the _Default sink.
UPDATE google.logging.exclusions
SET
data__name = '{{ name }}',
data__description = '{{ description }}',
data__filter = '{{ filter }}',
data__disabled = {{ disabled }}
WHERE
organizationsId = '{{ organizationsId }}' --required
AND exclusionsId = '{{ exclusionsId }}' --required
AND updateMask = '{{ updateMask}}'
RETURNING
name,
createTime,
description,
disabled,
filter,
updateTime;
Changes one or more properties of an existing exclusion in the _Default sink.
UPDATE google.logging.exclusions
SET
data__name = '{{ name }}',
data__description = '{{ description }}',
data__filter = '{{ filter }}',
data__disabled = {{ disabled }}
WHERE
foldersId = '{{ foldersId }}' --required
AND exclusionsId = '{{ exclusionsId }}' --required
AND updateMask = '{{ updateMask}}'
RETURNING
name,
createTime,
description,
disabled,
filter,
updateTime;
Changes one or more properties of an existing exclusion in the _Default sink.
UPDATE google.logging.exclusions
SET
data__name = '{{ name }}',
data__description = '{{ description }}',
data__filter = '{{ filter }}',
data__disabled = {{ disabled }}
WHERE
billingAccountsId = '{{ billingAccountsId }}' --required
AND exclusionsId = '{{ exclusionsId }}' --required
AND updateMask = '{{ updateMask}}'
RETURNING
name,
createTime,
description,
disabled,
filter,
updateTime;
Changes one or more properties of an existing exclusion in the _Default sink.
UPDATE google.logging.exclusions
SET
data__name = '{{ name }}',
data__description = '{{ description }}',
data__filter = '{{ filter }}',
data__disabled = {{ disabled }}
WHERE
name = '{{ name }}' --required
AND updateMask = '{{ updateMask}}'
RETURNING
name,
createTime,
description,
disabled,
filter,
updateTime;
DELETE
examples
- projects_exclusions_delete
- organizations_exclusions_delete
- folders_exclusions_delete
- billing_accounts_exclusions_delete
- exclusions_delete
Deletes an exclusion in the _Default sink.
DELETE FROM google.logging.exclusions
WHERE projectsId = '{{ projectsId }}' --required
AND exclusionsId = '{{ exclusionsId }}' --required;
Deletes an exclusion in the _Default sink.
DELETE FROM google.logging.exclusions
WHERE organizationsId = '{{ organizationsId }}' --required
AND exclusionsId = '{{ exclusionsId }}' --required;
Deletes an exclusion in the _Default sink.
DELETE FROM google.logging.exclusions
WHERE foldersId = '{{ foldersId }}' --required
AND exclusionsId = '{{ exclusionsId }}' --required;
Deletes an exclusion in the _Default sink.
DELETE FROM google.logging.exclusions
WHERE billingAccountsId = '{{ billingAccountsId }}' --required
AND exclusionsId = '{{ exclusionsId }}' --required;
Deletes an exclusion in the _Default sink.
DELETE FROM google.logging.exclusions
WHERE name = '{{ name }}' --required;