diff --git a/.librarian/generator-input/client-post-processing/monitoring-dashboards-compatibility.yaml b/.librarian/generator-input/client-post-processing/monitoring-dashboards-compatibility.yaml new file mode 100644 index 000000000000..1eb2435889c0 --- /dev/null +++ b/.librarian/generator-input/client-post-processing/monitoring-dashboards-compatibility.yaml @@ -0,0 +1,34 @@ +# Copyright 2026 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +description: Preserve original index.rst +# Note that we may want to remove the stale directory entirely, at which point +# this file can be deleted too. +url: https://github.com/googleapis/google-cloud-python/issues/11858 +replacements: + - paths: [ + packages/google-cloud-monitoring-dashboards/docs/index.rst + ] + before: | + .. toctree:: + :maxdepth: 2 + + dashboard_v1/services_ + dashboard_v1/types_ + after: | + .. toctree:: + :maxdepth: 2 + + monitoring_dashboard_v1/services_ + monitoring_dashboard_v1/types_ + count: 1 diff --git a/librarian.yaml b/librarian.yaml index 7c0eb430af62..a7af553827e4 100644 --- a/librarian.yaml +++ b/librarian.yaml @@ -2678,41 +2678,8 @@ libraries: keep: - CHANGELOG.md - docs/CHANGELOG.md - - google/monitoring - - google/monitoring/dashboard - - google/monitoring/dashboard/__init__.py - - google/monitoring/dashboard/py.typed - - google/monitoring/dashboard_v1 - - google/monitoring/dashboard_v1/__init__.py - - google/monitoring/dashboard_v1/gapic_version.py - - google/monitoring/dashboard_v1/py.typed - - google/monitoring/dashboard_v1/services - - google/monitoring/dashboard_v1/services/__init__.py - - google/monitoring/dashboard_v1/services/dashboards_service - - google/monitoring/dashboard_v1/services/dashboards_service/__init__.py - - google/monitoring/dashboard_v1/services/dashboards_service/async_client.py - - google/monitoring/dashboard_v1/services/dashboards_service/client.py - - google/monitoring/dashboard_v1/services/dashboards_service/pagers.py - - google/monitoring/dashboard_v1/services/dashboards_service/transports - - google/monitoring/dashboard_v1/services/dashboards_service/transports/__init__.py - - google/monitoring/dashboard_v1/services/dashboards_service/transports/base.py - - google/monitoring/dashboard_v1/services/dashboards_service/transports/grpc.py - - google/monitoring/dashboard_v1/services/dashboards_service/transports/grpc_asyncio.py - - google/monitoring/dashboard_v1/types - - google/monitoring/dashboard_v1/types/__init__.py - - google/monitoring/dashboard_v1/types/common.py - - google/monitoring/dashboard_v1/types/dashboard.py - - google/monitoring/dashboard_v1/types/dashboards_service.py - - google/monitoring/dashboard_v1/types/layouts.py - - google/monitoring/dashboard_v1/types/metrics.py - - google/monitoring/dashboard_v1/types/scorecard.py - - google/monitoring/dashboard_v1/types/text.py - - google/monitoring/dashboard_v1/types/widget.py - - google/monitoring/dashboard_v1/types/xychart.py - - tests/unit/gapic/dashboard_v1 - tests/unit/gapic/dashboard_v1/__init__.py - tests/unit/gapic/dashboard_v1/test_dashboards_service.py - skip_generate: true python: opt_args_by_api: google/monitoring/dashboard/v1: diff --git a/packages/google-cloud-monitoring-dashboards/.repo-metadata.json b/packages/google-cloud-monitoring-dashboards/.repo-metadata.json index b9f6ca28e4f0..b6a5e1d8439e 100644 --- a/packages/google-cloud-monitoring-dashboards/.repo-metadata.json +++ b/packages/google-cloud-monitoring-dashboards/.repo-metadata.json @@ -1,17 +1,16 @@ { - "api_description": "are one way for you to view and analyze metric data. The Cloud Console provides predefined dashboards that require no setup or configuration. You can also define custom dashboards. With custom dashboards, you have complete control over the charts that are displayed and their configuration.", - "api_id": "monitoring.googleapis.com", - "api_shortname": "monitoring", - "client_documentation": "https://cloud.google.com/python/docs/reference/monitoring-dashboards/latest", - "default_version": "v1", - "distribution_name": "google-cloud-monitoring-dashboards", - "issue_tracker": "https://issuetracker.google.com/savedsearches/559785", - "language": "python", - "library_type": "GAPIC_AUTO", - "name": "monitoring-dashboards", - "name_pretty": "Monitoring Dashboards", - "product_documentation": "https://cloud.google.com/monitoring/dashboards/", - "release_level": "stable", - "repo": "googleapis/google-cloud-python", - "requires_billing": true + "api_description": "are one way for you to view and analyze metric data. The Cloud Console provides predefined dashboards that require no setup or configuration. You can also define custom dashboards. With custom dashboards, you have complete control over the charts that are displayed and their configuration.", + "api_id": "monitoring.googleapis.com", + "api_shortname": "monitoring", + "client_documentation": "https://cloud.google.com/python/docs/reference/monitoring-dashboards/latest", + "default_version": "v1", + "distribution_name": "google-cloud-monitoring-dashboards", + "issue_tracker": "https://issuetracker.google.com/savedsearches/559785", + "language": "python", + "library_type": "GAPIC_AUTO", + "name": "monitoring-dashboards", + "name_pretty": "Monitoring Dashboards", + "product_documentation": "https://cloud.google.com/monitoring/dashboards/", + "release_level": "stable", + "repo": "googleapis/google-cloud-python" } \ No newline at end of file