Skip to content

Relationships

Schema relationships
graph LR
    LogDestinations -->|"account"| Accounts
    LogDestinations -->|"encryption_key"| ManagedKeys

Properties

idstring
required·

Stable identifier for this destination.

accountstring

The account, subscription or project this object belongs to.

References: Accounts → id
collected_atstring

When this was actually read, not when it was asked for.

created_atstring

When the destination was created, UTC ISO 8601.

deletion_protection_enabledboolean

Whether the destination itself is protected from deletion.

destination_idstring

The destination's provider reference.

destination_typestring

What kind of sink this is: log_group, storage_bucket, workspace or log_sink.

encryption_keyobject

The customer-managed key protecting the logs. Null means the provider's own key.

References: ManagedKeys → id
idstring

The target's id.

locationstring

Where the logs physically sit. Equal to region for a regional sink.

log_classstring

The provider's storage class for this destination, which can change what is queryable.

namestring

The destination's name as the customer sees it.

native_typestring

The provider's own type string.

per_table_retentionobject[]

Per-table retention overrides where the provider supports them.

retention_daysinteger

Days kept for that table, overriding the destination default.

tablestring

The table or stream the override applies to.

providerstring

Which cloud this came from.

provider_idstring

The provider's own unbroken identifier for the destination.

regionstring

Where the destination is. 'global' for genuinely global resources.

remote_dataRecord<string, any>

Raw data returned from the remote API call.

retention_daysinteger

How many days logs are kept. Null when the provider keeps them indefinitely - read retention_is_indefinite before treating null as unknown.

retention_is_indefiniteboolean

Whether logs are kept forever because no retention period is set. True is a real answer, not a missing one.

retention_lockedboolean

Whether retention can no longer be shortened or the logs deleted.

stored_bytesinteger

Bytes currently held, where the provider reports it.

tagsobject

Key-value pairs exactly as the customer set them.

unreadable_fieldsobject[]

Fields on this object that could not be read, and why. An empty array means everything was read. Use this to tell a real value from a missing one.

detailstring

Explanation of the reason, where one adds anything.

fieldstring

The property on this resource that could not be read.

reasonstring

Why the field could not be read. available_on_get: Not read on list to keep the list fast; call GET for this resource's id to get it.

Possible values:
not_supported_by_providernot_configuredpermission_deniednot_collectedcollection_errorpartially_collectedavailable_on_get
updated_atstring

When the object was last modified at the provider, in UTC ISO 8601. Null when the provider does not record one - see unreadable_fields.