Skip to content

Commit 547de3c

Browse files
feat(monitoring): update the API
#### monitoring:v1 The following keys were changed: - schemas.EventAnnotation.properties.eventType.enum - schemas.EventAnnotation.properties.eventType.enumDescriptions #### monitoring:v3 The following keys were added: - schemas.ListTimeSeriesResponse.properties.unreachable.description - schemas.ListTimeSeriesResponse.properties.unreachable.items.type - schemas.ListTimeSeriesResponse.properties.unreachable.type - schemas.UptimeCheckConfig.properties.disabled.description - schemas.UptimeCheckConfig.properties.disabled.type
1 parent b15d77c commit 547de3c

File tree

3 files changed

+27
-4
lines changed

3 files changed

+27
-4
lines changed

‎discovery/monitoring-v1.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,7 @@
753753
}
754754
}
755755
},
756-
"revision": "20250227",
756+
"revision": "20250329",
757757
"rootUrl": "https://monitoring.googleapis.com/",
758758
"schemas": {
759759
"Aggregation": {
@@ -1448,7 +1448,9 @@
14481448
"UPTIME_CHECK_FAILURE",
14491449
"CLOUD_ALERTING_ALERT",
14501450
"SERVICE_HEALTH_INCIDENT",
1451-
"SAP_BACKINT"
1451+
"SAP_BACKINT",
1452+
"SAP_AVAILABILITY",
1453+
"SAP_OPERATIONS"
14521454
],
14531455
"enumDescriptions": [
14541456
"No event type specified.",
@@ -1473,7 +1475,9 @@
14731475
"Failure of a Cloud Monitoring uptime check.",
14741476
"Alerts from Cloud Alerting",
14751477
"Incidents from Service Health",
1476-
"Agent for SAP Backint related events."
1478+
"Agent for SAP Backint related events.",
1479+
"Agent for SAP availability related events.",
1480+
"Agent for SAP operations related events."
14771481
],
14781482
"type": "string"
14791483
},

‎discovery/monitoring-v3.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2720,7 +2720,7 @@
27202720
}
27212721
}
27222722
},
2723-
"revision": "20250227",
2723+
"revision": "20250323",
27242724
"rootUrl": "https://monitoring.googleapis.com/",
27252725
"schemas": {
27262726
"Aggregation": {
@@ -4423,6 +4423,13 @@
44234423
"unit": {
44244424
"description": "The unit in which all time_series point values are reported. unit follows the UCUM format for units as seen in https://unitsofmeasure.org/ucum.html. If different time_series have different units (for example, because they come from different metric types, or a unit is absent), then unit will be \"{not_a_unit}\".",
44254425
"type": "string"
4426+
},
4427+
"unreachable": {
4428+
"description": "Cloud regions that were unreachable which may have caused incomplete data to be returned.",
4429+
"items": {
4430+
"type": "string"
4431+
},
4432+
"type": "array"
44264433
}
44274434
},
44284435
"type": "object"
@@ -6097,6 +6104,10 @@
60976104
},
60986105
"type": "array"
60996106
},
6107+
"disabled": {
6108+
"description": "Whether the check is disabled or not.",
6109+
"type": "boolean"
6110+
},
61006111
"displayName": {
61016112
"description": "A human-friendly name for the Uptime check configuration. The display name should be unique within a Cloud Monitoring Workspace in order to make it easier to identify; however, uniqueness is not enforced. Required.",
61026113
"type": "string"

‎src/apis/monitoring/v3.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1294,6 +1294,10 @@ export namespace monitoring_v3 {
12941294
* The unit in which all time_series point values are reported. unit follows the UCUM format for units as seen in https://unitsofmeasure.org/ucum.html. If different time_series have different units (for example, because they come from different metric types, or a unit is absent), then unit will be "{not_a_unit\}".
12951295
*/
12961296
unit?: string | null;
1297+
/**
1298+
* Cloud regions that were unreachable which may have caused incomplete data to be returned.
1299+
*/
1300+
unreachable?: string[] | null;
12971301
}
12981302
/**
12991303
* The protocol for the ListUptimeCheckConfigs response.
@@ -2374,6 +2378,10 @@ export namespace monitoring_v3 {
23742378
* The content that is expected to appear in the data returned by the target server against which the check is run. Currently, only the first entry in the content_matchers list is supported, and additional entries will be ignored. This field is optional and should only be specified if a content match is required as part of the/ Uptime check.
23752379
*/
23762380
contentMatchers?: Schema$ContentMatcher[];
2381+
/**
2382+
* Whether the check is disabled or not.
2383+
*/
2384+
disabled?: boolean | null;
23772385
/**
23782386
* A human-friendly name for the Uptime check configuration. The display name should be unique within a Cloud Monitoring Workspace in order to make it easier to identify; however, uniqueness is not enforced. Required.
23792387
*/

0 commit comments

Comments
 (0)