Configuration of a specific billing destination (Currently only support bill against consumer project).
Fields
monitored_resource
The monitored resource type. The type must be defined in Service.monitored_resources section.
metrics
Names of the metrics to report to this billing destination. Each name must be defined in Service.metrics section.
Implementations
new
fn new() -> Self
set_monitored_resource
fn set_monitored_resource<T: std::convert::Into<std::string::String>>(self, v: T) -> Self
Sets the value of [monitored_resource][crate::model::billing::BillingDestination::monitored_resource].
set_metrics
fn set_metrics<T, V>(self, v: T) -> Self
where
T: std::iter::IntoIterator,
V: std::convert::Into<std::string::String>,
Sets the value of [metrics][crate::model::billing::BillingDestination::metrics].