pub struct GoogleCloudApigeeV1StatsHostStats {
pub dimensions: Option<Vec<GoogleCloudApigeeV1DimensionMetric>>,
pub metrics: Option<Vec<GoogleCloudApigeeV1Metric>>,
pub name: Option<String>,
}Expand description
Encapsulates the hostname wrapper: "hosts": [ { "metrics": [ { "name": "sum(message_count)", "values": [ "2.52056245E8" ] } ], "name": "example.com" } ]
This type is not used in any activity, and only used as part of another schema.
Fields§
§dimensions: Option<Vec<GoogleCloudApigeeV1DimensionMetric>>List of metrics grouped under dimensions.
metrics: Option<Vec<GoogleCloudApigeeV1Metric>>In the final response, only one of the following fields will be present based on the dimensions provided. If no dimensions are provided, then only the top-level metrics are provided. If dimensions are included, then there will be a top-level dimensions field under hostnames which will contain metrics values and the dimension name. Example: "hosts": [ { "dimensions": [ { "metrics": [ { "name": "sum(message_count)", "values": [ "2.14049521E8" ] } ], "name": "nit_proxy" } ], "name": "example.com" } ] OR "hosts": [ { "metrics": [ { "name": "sum(message_count)", "values": [ "2.19026331E8" ] } ], "name": "example.com" } ] List of metric values.
name: Option<String>Hostname used in query.
Trait Implementations§
Source§impl Clone for GoogleCloudApigeeV1StatsHostStats
impl Clone for GoogleCloudApigeeV1StatsHostStats
Source§fn clone(&self) -> GoogleCloudApigeeV1StatsHostStats
fn clone(&self) -> GoogleCloudApigeeV1StatsHostStats
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more