GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1StatsHostStats (google_api_apigee v0.24.1) View Source

This message type 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) - This field contains the 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 a top level metrics is 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" } ] This field contains the list of metric values.
  • name (type: String.t, default: nil) - This field contains the hostname used in query.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1StatsHostStats{
  dimensions: [GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1DimensionMetric.t()],
  metrics: [GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1Metric.t()],
  name: String.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.