Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2778)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored Sep 9, 2024
1 parent cc62887 commit 72cc5c4
Show file tree
Hide file tree
Showing 6 changed files with 670 additions and 17 deletions.
29 changes: 28 additions & 1 deletion monitoring/v1/monitoring-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@
}
}
},
"revision": "20240721",
"revision": "20240829",
"rootUrl": "https://monitoring.googleapis.com/",
"schemas": {
"Aggregation": {
Expand Down Expand Up @@ -1022,10 +1022,37 @@
"description": "The persistent settings for a table's columns.",
"id": "ColumnSettings",
"properties": {
"alignment": {
"description": "Optional. Whether the column should be left / middle / right aligned",
"enum": [
"CELL_ALIGNMENT_UNSPECIFIED",
"LEFT",
"CENTER",
"RIGHT"
],
"enumDescriptions": [
"No horizontal alignment specified; fall back to the default behavior. Label values are left aligned. Numeric values are right aligned.",
"Left-align",
"Center-align",
"Right-align"
],
"type": "string"
},
"column": {
"description": "Required. The id of the column.",
"type": "string"
},
"displayName": {
"description": "Optional. Display name of the column",
"type": "string"
},
"thresholds": {
"description": "Optional. The thresholds used to determine how the table cell should be rendered given the time series' current value.",
"items": {
"$ref": "Threshold"
},
"type": "array"
},
"visible": {
"description": "Required. Whether the column should be visible on page load.",
"type": "boolean"
Expand Down
24 changes: 20 additions & 4 deletions monitoring/v1/monitoring-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 23 additions & 4 deletions monitoring/v3/monitoring-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -2114,7 +2114,7 @@
},
"query": {
"deprecated": true,
"description": "Queries time series using Monitoring Query Language.",
"description": "Queries time series by using Monitoring Query Language (MQL). We recommend using PromQL instead of MQL. For more information about the status of MQL, see the MQL deprecation notice (https://cloud.google.com/stackdriver/docs/deprecations/mql).",
"flatPath": "v3/projects/{projectsId}/timeSeries:query",
"httpMethod": "POST",
"id": "monitoring.projects.timeSeries.query",
Expand Down Expand Up @@ -2715,7 +2715,7 @@
}
}
},
"revision": "20240818",
"revision": "20240829",
"rootUrl": "https://monitoring.googleapis.com/",
"schemas": {
"Aggregation": {
Expand Down Expand Up @@ -4621,6 +4621,25 @@
"description": "The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period.",
"format": "google-duration",
"type": "string"
},
"timeSeriesResourceHierarchyLevel": {
"description": "The scope of the timeseries data of the metric.",
"items": {
"enum": [
"TIME_SERIES_RESOURCE_HIERARCHY_LEVEL_UNSPECIFIED",
"PROJECT",
"ORGANIZATION",
"FOLDER"
],
"enumDescriptions": [
"Do not use this default value.",
"Scopes a metric to a project.",
"Scopes a metric to an organization.",
"Scopes a metric to a folder."
],
"type": "string"
},
"type": "array"
}
},
"type": "object"
Expand Down Expand Up @@ -5197,7 +5216,7 @@
},
"QueryTimeSeriesRequest": {
"deprecated": true,
"description": "The QueryTimeSeries request.",
"description": "The QueryTimeSeries request. For information about the status of Monitoring Query Language (MQL), see the MQL deprecation notice (https://cloud.google.com/stackdriver/docs/deprecations/mql).",
"id": "QueryTimeSeriesRequest",
"properties": {
"pageSize": {
Expand All @@ -5218,7 +5237,7 @@
},
"QueryTimeSeriesResponse": {
"deprecated": true,
"description": "The QueryTimeSeries response.",
"description": "The QueryTimeSeries response. For information about the status of Monitoring Query Language (MQL), see the MQL deprecation notice (https://cloud.google.com/stackdriver/docs/deprecations/mql).",
"id": "QueryTimeSeriesResponse",
"properties": {
"nextPageToken": {
Expand Down
23 changes: 20 additions & 3 deletions monitoring/v3/monitoring-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 72cc5c4

Please sign in to comment.