google_storage_insights_dataset_configNivis Nix constructor for the google_storage_insights_dataset_config resource (provider google). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
dataset_config_id,
location,
retention_period_days,
activity_data_retention_period_days ? null,
deletion_policy ? null,
description ? null,
id ? null,
include_newly_created_buckets ? null,
link_dataset ? null,
organization_number ? null,
organization_scope ? null,
project ? null,
exclude_cloud_storage_buckets ? null,
exclude_cloud_storage_locations ? null,
identity ? null,
include_cloud_storage_buckets ? null,
include_cloud_storage_locations ? null,
source_folders ? null,
source_projects ? null,
timeouts ? null,
overrides ? {}
}Required arguments
dataset_config_idlocationretention_period_days
Optional arguments
activity_data_retention_period_days(defaults tonull)deletion_policy(defaults tonull)description(defaults tonull)id(defaults tonull)include_newly_created_buckets(defaults tonull)link_dataset(defaults tonull)organization_number(defaults tonull)organization_scope(defaults tonull)project(defaults tonull)exclude_cloud_storage_buckets(defaults tonull)exclude_cloud_storage_locations(defaults tonull)identity(defaults tonull)include_cloud_storage_buckets(defaults tonull)include_cloud_storage_locations(defaults tonull)source_folders(defaults tonull)source_projects(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
create_timedataset_config_statelinknameuidupdate_time
Example
google_storage_insights_dataset_config {
name = "storage_insights_dataset_config";
dataset_config_id = …; # required
location = …; # required
retention_period_days = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.