google_apihub_host_project_registrationNivis Nix constructor for the google_apihub_host_project_registration 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,
gcp_project,
host_project_registration_id,
location,
id ? null,
project ? null,
timeouts ? null,
overrides ? {}
}Required arguments
gcp_projecthost_project_registration_idlocation
Optional arguments
id(defaults tonull)project(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
create_timename
Example
google_apihub_host_project_registration {
name = "apihub_host_project_registration";
gcp_project = …; # required
host_project_registration_id = …; # required
location = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.