google_api_apigee v0.2.0 GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1OptimizedStats View Source

Attributes

  • Response (type: GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1OptimizedStatsResponse.t, default: nil) - This field wraps the stats response for Js Optimized Scenario with a Response key. E.g. { "Response": {

     "TimeUnit": [],
     "metaData": {
         "errors": [],
         "notices": [
             "Source:Postgres",
             "Table used: edge.api.aaxgroup001.agg_api",
             "PG Host:ruappg08-ro.production.apigeeks.net",
             "query served by:80c4ebca-6a10-4a2e-8faf-c60c1ee306ca"
         ]
     },
     "resultTruncated": false,
     "stats": {
         "data": [
             {
                "identifier": {
                    "names": [
                        "apiproxy"
                    ],
                    "values": [
                        "sirjee"
                    ]
                },
                "metric": [
                    {
                        "env": "prod",
                        "name": "sum(message_count)",
                        "values": [
                            36.0
                        ]
                    },
                    {
                        "env": "prod",
                        "name": "sum(is_error)",
                        "values": [
                            36.0
                        ]
                    }
                ]
            }
         ]
     }

    } }

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1OptimizedStats{
  Response:
    GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1OptimizedStatsResponse.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.