Meters
Query Parameters
int32Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/meters"{ "meters": [ { "aggregation": "AGGREGATION_TYPE_UNSPECIFIED", "createTime": "2019-08-24T14:15:22Z", "displayName": "string", "eventType": "string", "groupKeys": [ "string" ], "name": "string", "updateTime": "2019-08-24T14:15:22Z", "valueProperty": "string" } ], "nextPageToken": "string"}Query Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Meter defines how usage events are filtered, grouped, and aggregated.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/meters?meterId=string" \ -H "Content-Type: application/json" \ -d '{ "aggregation": "AGGREGATION_TYPE_UNSPECIFIED", "displayName": "string", "eventType": "string" }'{ "aggregation": "AGGREGATION_TYPE_UNSPECIFIED", "createTime": "2019-08-24T14:15:22Z", "displayName": "string", "eventType": "string", "groupKeys": [ "string" ], "name": "string", "updateTime": "2019-08-24T14:15:22Z", "valueProperty": "string"}Path Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/meters/string"{ "aggregation": "AGGREGATION_TYPE_UNSPECIFIED", "createTime": "2019-08-24T14:15:22Z", "displayName": "string", "eventType": "string", "groupKeys": [ "string" ], "name": "string", "updateTime": "2019-08-24T14:15:22Z", "valueProperty": "string"}Path Parameters
Query Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Meter defines how usage events are filtered, grouped, and aggregated.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/v1/meters/string?updateMask=string" \ -H "Content-Type: application/json" \ -d '{ "aggregation": "AGGREGATION_TYPE_UNSPECIFIED", "displayName": "string", "eventType": "string" }'{ "aggregation": "AGGREGATION_TYPE_UNSPECIFIED", "createTime": "2019-08-24T14:15:22Z", "displayName": "string", "eventType": "string", "groupKeys": [ "string" ], "name": "string", "updateTime": "2019-08-24T14:15:22Z", "valueProperty": "string"}