google_iam_oauth_client_credential

Nivis Nix constructor for the google_iam_oauth_client_credential 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,
  location,
  oauth_client_credential_id,
  oauthclient,
  deletion_policy ? null,
  disabled ? null,
  display_name ? null,
  id ? null,
  project ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • location
  • oauth_client_credential_id
  • oauthclient
Optional arguments
  • deletion_policy (defaults to null)
  • disabled (defaults to null)
  • display_name (defaults to null)
  • id (defaults to null)
  • project (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • client_secret
  • name
Example
google_iam_oauth_client_credential {
  name = "iam_oauth_client_credential";
  location = …;  # required
  oauth_client_credential_id = …;  # required
  oauthclient = …;  # required
}

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