Struct google_cloudmonitoring2_beta2::MetricDescriptor
[−]
[src]
pub struct MetricDescriptor { pub project: Option<String>, pub labels: Option<Vec<MetricDescriptorLabelDescriptor>>, pub description: Option<String>, pub name: Option<String>, pub type_descriptor: Option<MetricDescriptorTypeDescriptor>, }
A metricDescriptor defines the name, label keys, and data type of a particular metric.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- list metric descriptors (none)
- delete metric descriptors (none)
- create metric descriptors (request|response)
Fields
project: Option<String>
The project ID to which the metric belongs.
labels: Option<Vec<MetricDescriptorLabelDescriptor>>
Labels defined for this metric.
description: Option<String>
Description of this metric.
name: Option<String>
The name of this metric.
type_descriptor: Option<MetricDescriptorTypeDescriptor>
Type description for this metric.
Trait Implementations
impl Debug for MetricDescriptor
[src]
impl Clone for MetricDescriptor
[src]
fn clone(&self) -> MetricDescriptor
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Default for MetricDescriptor
[src]
fn default() -> MetricDescriptor
Returns the "default value" for a type. Read more