google_storage_bucket_objectNivis Nix constructor for the google_storage_bucket_object 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,
bucket,
cache_control ? null,
content ? null,
content_disposition ? null,
content_encoding ? null,
content_language ? null,
content_type ? null,
deletion_policy ? null,
detect_md5hash ? null,
event_based_hold ? null,
force_empty_content_type ? null,
id ? null,
kms_key_name ? null,
metadata ? null,
cfg_name ? null,
source ? null,
source_md5hash ? null,
storage_class ? null,
temporary_hold ? null,
contexts ? null,
customer_encryption ? null,
retention ? null,
timeouts ? null,
overrides ? {}
}Required arguments
bucket
Optional arguments
cache_control(defaults tonull)content(defaults tonull)content_disposition(defaults tonull)content_encoding(defaults tonull)content_language(defaults tonull)content_type(defaults tonull)deletion_policy(defaults tonull)detect_md5hash(defaults tonull)event_based_hold(defaults tonull)force_empty_content_type(defaults tonull)id(defaults tonull)kms_key_name(defaults tonull)metadata(defaults tonull)cfg_name(defaults tonull)source(defaults tonull)source_md5hash(defaults tonull)storage_class(defaults tonull)temporary_hold(defaults tonull)contexts(defaults tonull)customer_encryption(defaults tonull)retention(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
crc32cgenerationmd5hashmd5hexhashmedia_linkoutput_nameself_link
Example
google_storage_bucket_object {
name = "storage_bucket_object";
bucket = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.