google_storage_object_access_control

Nivis Nix constructor for the google_storage_object_access_control resource (provider google-beta). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  bucket,
  entity,
  object,
  role,
  deletion_policy ? null,
  id ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • bucket
  • entity
  • object
  • role
Optional arguments
  • deletion_policy (defaults to null)
  • id (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • domain
  • email
  • entity_id
  • generation
  • project_team
Example
google_storage_object_access_control {
  name = "storage_object_access_control";
  bucket = …;  # required
  entity = …;  # required
  object = …;  # required
  role = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.