Describes the settings associated with a project, folder, organization, or billing account.
JSON representation |
---|
{
"name": string,
"kmsKeyName": string,
"kmsServiceAccountId": string,
"storageLocation": string,
"disableDefaultSink": boolean,
"defaultSinkConfig": {
object ( |
Fields | |
---|---|
name |
Output only. The resource name of the settings. |
kms |
Optional. The resource name for the configured Cloud KMS key. KMS key name format:
For example:
To enable CMEK, set this field to a valid The Cloud KMS key used by the Log Router can be updated by changing the To disable CMEK for the Log Router, set this field to an empty string. See Enabling CMEK for Log Router for more information. |
kms |
Output only. The service account that will be used by the Log Router to access your Cloud KMS key. Before enabling CMEK, you must first assign the role See Enabling CMEK for Log Router for more information. |
storage |
Optional. The storage location for the Example value: Note: this setting does not affect the location of resources where a location is explicitly provided when created, such as custom log buckets. |
disable |
Optional. If set to true, the |
default |
Optional. Overrides the built-in configuration for |
logging |
Output only. The service account for the given resource container, such as project or folder. Log sinks use this service account as their |
DefaultSinkConfig
Describes the custom _Default
sink configuration that is used to override the built-in _Default
sink configuration in newly created resource containers, such as projects or folders.
JSON representation |
---|
{ "filter": string, "exclusions": [ { object ( |
Fields | |
---|---|
filter |
Optional. An advanced logs filter. The only exported log entries are those that are in the resource owning the sink and that match the filter. For example:
To match all logs, don't add exclusions and use the following line as the value of
Cannot be empty or unset when the value of |
exclusions[] |
Optional. Specifies the set of exclusions to be added to the |
mode |
Required. Determines the behavior to apply to the built-in Exclusions are always appended, as built-in |
FilterWriteMode
Behavior to apply to the built-in _Default
sink inclusion filter.
Enums | |
---|---|
FILTER_WRITE_MODE_UNSPECIFIED |
The filter's write mode is unspecified. This mode must not be used. |
APPEND |
The contents of filter will be appended to the built-in _Default sink filter. Using the append mode with an empty filter will keep the sink inclusion filter unchanged. |
OVERWRITE |
The contents of filter will overwrite the built-in _Default sink filter. |