google_monitoring_metric_descriptorNivis Nix constructor for the google_monitoring_metric_descriptor 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,
metric_kind,
type,
value_type,
deletion_policy ? null,
description ? null,
display_name ? null,
id ? null,
launch_stage ? null,
project ? null,
unit ? null,
labels ? null,
metadata ? null,
timeouts ? null,
overrides ? {}
}Required arguments
metric_kindtypevalue_type
Optional arguments
deletion_policy(defaults tonull)description(defaults tonull)display_name(defaults tonull)id(defaults tonull)launch_stage(defaults tonull)project(defaults tonull)unit(defaults tonull)labels(defaults tonull)metadata(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
monitored_resource_typesname
Example
google_monitoring_metric_descriptor {
name = "monitoring_metric_descriptor";
metric_kind = …; # required
type = …; # required
value_type = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.