View Source GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1StatsHostStats (google_api_apigee v0.46.0)
Encapsulates the hostname wrapper: "hosts": [ { "metrics": [ { "name": "sum(message_count)", "values": [ "2.52056245E8" ] } ], "name": "example.com" } ]
Attributes
-
dimensions
(type:list(GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1DimensionMetric.t)
, default:nil
) - List of metrics grouped under dimensions. -
metrics
(type:list(GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1Metric.t)
, default:nil
) - 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
(type:String.t
, default:nil
) - Hostname used in query.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1StatsHostStats{ dimensions: [GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1DimensionMetric.t()] | nil, metrics: [GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1Metric.t()] | nil, name: String.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.