Skip to content

Commit 7fdd504

Browse files
yoshi-automationsofisl
authored andcommitted
feat(monitoring): update the API
#### monitoring:v1 The following keys were added: - schemas.ColumnSortingOptions.description - schemas.ColumnSortingOptions.id - schemas.ColumnSortingOptions.properties.column.description - schemas.ColumnSortingOptions.properties.column.type - schemas.ColumnSortingOptions.properties.direction.description - schemas.ColumnSortingOptions.properties.direction.enum - schemas.ColumnSortingOptions.properties.direction.enumDescriptions - schemas.ColumnSortingOptions.properties.direction.type - schemas.ColumnSortingOptions.type - schemas.DataSet.properties.sort.description - schemas.DataSet.properties.sort.items.$ref - schemas.DataSet.properties.sort.type The following keys were changed: - schemas.MosaicLayout.properties.columns.description #### monitoring:v3 The following keys were added: - resources.projects.resources.metricDescriptors.methods.list.parameters.activeOnly.description - resources.projects.resources.metricDescriptors.methods.list.parameters.activeOnly.location - resources.projects.resources.metricDescriptors.methods.list.parameters.activeOnly.type - schemas.AlertStrategy.properties.notificationPrompts.description - schemas.AlertStrategy.properties.notificationPrompts.items.enum - schemas.AlertStrategy.properties.notificationPrompts.items.enumDescriptions - schemas.AlertStrategy.properties.notificationPrompts.items.type - schemas.AlertStrategy.properties.notificationPrompts.type - schemas.PrometheusQueryLanguageCondition.properties.disableMetricValidation.description - schemas.PrometheusQueryLanguageCondition.properties.disableMetricValidation.type The following keys were changed: - resources.projects.resources.metricDescriptors.methods.list.parameters.filter.description - resources.projects.resources.metricDescriptors.methods.list.parameters.pageSize.description - resources.projects.resources.metricDescriptors.methods.list.parameters.pageToken.description - resources.projects.resources.notificationChannels.methods.delete.parameters.force.description - schemas.AlertPolicy.description - schemas.AlertPolicy.properties.alertStrategy.description - schemas.AlertPolicy.properties.severity.description - schemas.AlertPolicy.properties.validity.description - schemas.AlertStrategy.properties.autoClose.description - schemas.AlertStrategy.properties.notificationRateLimit.description - schemas.Condition.properties.conditionSql.description - schemas.Daily.properties.periodicity.description - schemas.Hourly.properties.minuteOffset.description - schemas.Hourly.properties.periodicity.description - schemas.Minutes.properties.periodicity.description - schemas.MonitoringQueryLanguageCondition.description - schemas.NotificationRateLimit.description - schemas.PrometheusQueryLanguageCondition.description - schemas.SqlCondition.description - schemas.SqlCondition.properties.query.description - schemas.TimeOfDay.properties.hours.description - schemas.TimeOfDay.properties.minutes.description - schemas.TimeOfDay.properties.nanos.description - schemas.TimeOfDay.properties.seconds.description
1 parent feb82b1 commit 7fdd504

File tree

3 files changed

+123
-51
lines changed

3 files changed

+123
-51
lines changed

‎discovery/monitoring-v1.json

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,7 @@
753753
}
754754
}
755755
},
756-
"revision": "20240929",
756+
"revision": "20241212",
757757
"rootUrl": "https://monitoring.googleapis.com/",
758758
"schemas": {
759759
"Aggregation": {
@@ -1060,6 +1060,33 @@
10601060
},
10611061
"type": "object"
10621062
},
1063+
"ColumnSortingOptions": {
1064+
"description": "Data structure to storing column's sort strategy",
1065+
"id": "ColumnSortingOptions",
1066+
"properties": {
1067+
"column": {
1068+
"description": "Optional. Column name to sort data by",
1069+
"type": "string"
1070+
},
1071+
"direction": {
1072+
"description": "Optional. A sorting direction that determines ascending or descending order. This is a legacy field kept for backwards compatibility with table.",
1073+
"enum": [
1074+
"SORT_ORDER_UNSPECIFIED",
1075+
"SORT_ORDER_NONE",
1076+
"SORT_ORDER_ASCENDING",
1077+
"SORT_ORDER_DESCENDING"
1078+
],
1079+
"enumDescriptions": [
1080+
"An unspecified sort order. This option is invalid when sorting is required.",
1081+
"No sorting is applied.",
1082+
"The lowest-valued entries are selected first.",
1083+
"The highest-valued entries are selected first."
1084+
],
1085+
"type": "string"
1086+
}
1087+
},
1088+
"type": "object"
1089+
},
10631090
"Dashboard": {
10641091
"description": "A Google Stackdriver dashboard. Dashboards define the content and layout of pages in the Stackdriver web application.",
10651092
"id": "Dashboard",
@@ -1253,6 +1280,13 @@
12531280
],
12541281
"type": "string"
12551282
},
1283+
"sort": {
1284+
"description": "Optional. A collection of sort options, affects the order of the data and legend.",
1285+
"items": {
1286+
"$ref": "ColumnSortingOptions"
1287+
},
1288+
"type": "array"
1289+
},
12561290
"targetAxis": {
12571291
"description": "Optional. The target axis to use for plotting the metric.",
12581292
"enum": [
@@ -1800,7 +1834,7 @@
18001834
"id": "MosaicLayout",
18011835
"properties": {
18021836
"columns": {
1803-
"description": "The number of columns in the mosaic grid. The number of columns must be between 1 and 12, inclusive.",
1837+
"description": "The number of columns in the mosaic grid. The number of columns must be between 1 and 48, inclusive.",
18041838
"format": "int32",
18051839
"type": "integer"
18061840
},

0 commit comments

Comments
 (0)