diff --git a/packages/google-ai-generativelanguage/scripts/client-post-processing/doc-formatting.yaml b/packages/google-ai-generativelanguage/scripts/client-post-processing/doc-formatting.yaml deleted file mode 120000 index 6e0991666f97..000000000000 --- a/packages/google-ai-generativelanguage/scripts/client-post-processing/doc-formatting.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/doc-formatting.yaml \ No newline at end of file diff --git a/packages/google-apps-chat/scripts/client-post-processing/doc-formatting.yaml b/packages/google-apps-chat/scripts/client-post-processing/doc-formatting.yaml deleted file mode 120000 index 6e0991666f97..000000000000 --- a/packages/google-apps-chat/scripts/client-post-processing/doc-formatting.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/doc-formatting.yaml \ No newline at end of file diff --git a/packages/google-apps-script-type/scripts/client-post-processing/docs-index-rst-for-unversioned-apis.yaml b/packages/google-apps-script-type/scripts/client-post-processing/docs-index-rst-for-unversioned-apis.yaml deleted file mode 120000 index 5210cfe029ab..000000000000 --- a/packages/google-apps-script-type/scripts/client-post-processing/docs-index-rst-for-unversioned-apis.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/docs-index-rst-for-unversioned-apis.yaml \ No newline at end of file diff --git a/packages/google-cloud-alloydb/scripts/client-post-processing/doc-formatting.yaml b/packages/google-cloud-alloydb/scripts/client-post-processing/doc-formatting.yaml deleted file mode 120000 index 6e0991666f97..000000000000 --- a/packages/google-cloud-alloydb/scripts/client-post-processing/doc-formatting.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/doc-formatting.yaml \ No newline at end of file diff --git a/packages/google-cloud-asset/scripts/client-post-processing/mypy-error-with-org-policy-as-dependency.yaml b/packages/google-cloud-asset/scripts/client-post-processing/mypy-error-with-org-policy-as-dependency.yaml deleted file mode 120000 index b70052b14956..000000000000 --- a/packages/google-cloud-asset/scripts/client-post-processing/mypy-error-with-org-policy-as-dependency.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/mypy-error-with-org-policy-as-dependency.yaml \ No newline at end of file diff --git a/packages/google-cloud-automl/scripts/client-post-processing/doc-formatting.yaml b/packages/google-cloud-automl/scripts/client-post-processing/doc-formatting.yaml deleted file mode 120000 index 6e0991666f97..000000000000 --- a/packages/google-cloud-automl/scripts/client-post-processing/doc-formatting.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/doc-formatting.yaml \ No newline at end of file diff --git a/packages/google-cloud-automl/scripts/client-post-processing/integrate-isolated-handwritten-code.yaml b/packages/google-cloud-automl/scripts/client-post-processing/integrate-isolated-handwritten-code.yaml deleted file mode 120000 index b4086db9c19b..000000000000 --- a/packages/google-cloud-automl/scripts/client-post-processing/integrate-isolated-handwritten-code.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/integrate-isolated-handwritten-code.yaml \ No newline at end of file diff --git a/packages/google-cloud-binary-authorization/scripts/client-post-processing/add-missing-dependencies-to-setup-py-constraints.yaml b/packages/google-cloud-binary-authorization/scripts/client-post-processing/add-missing-dependencies-to-setup-py-constraints.yaml deleted file mode 120000 index 20a2e3aa4e64..000000000000 --- a/packages/google-cloud-binary-authorization/scripts/client-post-processing/add-missing-dependencies-to-setup-py-constraints.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/add-missing-dependencies-to-setup-py-constraints.yaml \ No newline at end of file diff --git a/packages/google-cloud-binary-authorization/scripts/client-post-processing/proto-plus-dependency-with-modified-namespace.yaml b/packages/google-cloud-binary-authorization/scripts/client-post-processing/proto-plus-dependency-with-modified-namespace.yaml deleted file mode 120000 index 40c84a601c9a..000000000000 --- a/packages/google-cloud-binary-authorization/scripts/client-post-processing/proto-plus-dependency-with-modified-namespace.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/proto-plus-dependency-with-modified-namespace.yaml \ No newline at end of file diff --git a/packages/google-cloud-binary-authorization/scripts/client-post-processing/remove-unused-imports.yaml b/packages/google-cloud-binary-authorization/scripts/client-post-processing/remove-unused-imports.yaml deleted file mode 120000 index 7fec3ab621e3..000000000000 --- a/packages/google-cloud-binary-authorization/scripts/client-post-processing/remove-unused-imports.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/remove-unused-imports.yaml \ No newline at end of file diff --git a/packages/google-cloud-build/scripts/client-post-processing/add-missing-dependencies-to-setup-py-constraints.yaml b/packages/google-cloud-build/scripts/client-post-processing/add-missing-dependencies-to-setup-py-constraints.yaml deleted file mode 120000 index 20a2e3aa4e64..000000000000 --- a/packages/google-cloud-build/scripts/client-post-processing/add-missing-dependencies-to-setup-py-constraints.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/add-missing-dependencies-to-setup-py-constraints.yaml \ No newline at end of file diff --git a/packages/google-cloud-capacityplanner/scripts/client-post-processing/doc-formatting.yaml b/packages/google-cloud-capacityplanner/scripts/client-post-processing/doc-formatting.yaml deleted file mode 100644 index 6e0991666f97..000000000000 --- a/packages/google-cloud-capacityplanner/scripts/client-post-processing/doc-formatting.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/doc-formatting.yaml \ No newline at end of file diff --git a/packages/google-cloud-common/scripts/client-post-processing/docs-index-rst-for-unversioned-apis.yaml b/packages/google-cloud-common/scripts/client-post-processing/docs-index-rst-for-unversioned-apis.yaml deleted file mode 120000 index 5210cfe029ab..000000000000 --- a/packages/google-cloud-common/scripts/client-post-processing/docs-index-rst-for-unversioned-apis.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/docs-index-rst-for-unversioned-apis.yaml \ No newline at end of file diff --git a/packages/google-cloud-compute/scripts/client-post-processing/update-readme-with-pycharm-workaround.yaml b/packages/google-cloud-compute/scripts/client-post-processing/update-readme-with-pycharm-workaround.yaml deleted file mode 120000 index dd8897961d33..000000000000 --- a/packages/google-cloud-compute/scripts/client-post-processing/update-readme-with-pycharm-workaround.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/update-readme-with-pycharm-workaround.yaml \ No newline at end of file diff --git a/packages/google-cloud-containeranalysis/scripts/client-post-processing/containeranalysis-grafeas-integration.yaml b/packages/google-cloud-containeranalysis/scripts/client-post-processing/containeranalysis-grafeas-integration.yaml deleted file mode 120000 index 2dfd79aa837b..000000000000 --- a/packages/google-cloud-containeranalysis/scripts/client-post-processing/containeranalysis-grafeas-integration.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/containeranalysis-grafeas-integration.yaml \ No newline at end of file diff --git a/packages/google-cloud-datacatalog/scripts/client-post-processing/doc-formatting.yaml b/packages/google-cloud-datacatalog/scripts/client-post-processing/doc-formatting.yaml deleted file mode 120000 index 6e0991666f97..000000000000 --- a/packages/google-cloud-datacatalog/scripts/client-post-processing/doc-formatting.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/doc-formatting.yaml \ No newline at end of file diff --git a/packages/google-cloud-dataflow-client/scripts/client-post-processing/revert-reserved-words.yaml b/packages/google-cloud-dataflow-client/scripts/client-post-processing/revert-reserved-words.yaml deleted file mode 120000 index 895cd1dcaedb..000000000000 --- a/packages/google-cloud-dataflow-client/scripts/client-post-processing/revert-reserved-words.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/revert-reserved-words.yaml \ No newline at end of file diff --git a/packages/google-cloud-dataplex/scripts/client-post-processing/doc-formatting.yaml b/packages/google-cloud-dataplex/scripts/client-post-processing/doc-formatting.yaml deleted file mode 120000 index 6e0991666f97..000000000000 --- a/packages/google-cloud-dataplex/scripts/client-post-processing/doc-formatting.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/doc-formatting.yaml \ No newline at end of file diff --git a/packages/google-cloud-discoveryengine/scripts/client-post-processing/doc-formatting.yaml b/packages/google-cloud-discoveryengine/scripts/client-post-processing/doc-formatting.yaml deleted file mode 120000 index 6e0991666f97..000000000000 --- a/packages/google-cloud-discoveryengine/scripts/client-post-processing/doc-formatting.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/doc-formatting.yaml \ No newline at end of file diff --git a/packages/google-cloud-dms/scripts/client-post-processing/doc-formatting.yaml b/packages/google-cloud-dms/scripts/client-post-processing/doc-formatting.yaml deleted file mode 120000 index 6e0991666f97..000000000000 --- a/packages/google-cloud-dms/scripts/client-post-processing/doc-formatting.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/doc-formatting.yaml \ No newline at end of file diff --git a/packages/google-cloud-documentai/scripts/client-post-processing/doc-formatting.yaml b/packages/google-cloud-documentai/scripts/client-post-processing/doc-formatting.yaml deleted file mode 120000 index 6e0991666f97..000000000000 --- a/packages/google-cloud-documentai/scripts/client-post-processing/doc-formatting.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/doc-formatting.yaml \ No newline at end of file diff --git a/packages/google-cloud-edgenetwork/scripts/client-post-processing/doc-formatting.yaml b/packages/google-cloud-edgenetwork/scripts/client-post-processing/doc-formatting.yaml deleted file mode 120000 index 6e0991666f97..000000000000 --- a/packages/google-cloud-edgenetwork/scripts/client-post-processing/doc-formatting.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/doc-formatting.yaml \ No newline at end of file diff --git a/packages/google-cloud-enterpriseknowledgegraph/scripts/client-post-processing/doc-formatting.yaml b/packages/google-cloud-enterpriseknowledgegraph/scripts/client-post-processing/doc-formatting.yaml deleted file mode 120000 index 6e0991666f97..000000000000 --- a/packages/google-cloud-enterpriseknowledgegraph/scripts/client-post-processing/doc-formatting.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/doc-formatting.yaml \ No newline at end of file diff --git a/packages/google-cloud-filestore/scripts/client-post-processing/add-dependency-google-cloud-common.yaml b/packages/google-cloud-filestore/scripts/client-post-processing/add-dependency-google-cloud-common.yaml deleted file mode 120000 index 1fbec1155d1d..000000000000 --- a/packages/google-cloud-filestore/scripts/client-post-processing/add-dependency-google-cloud-common.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/add-dependency-google-cloud-common.yaml \ No newline at end of file diff --git a/packages/google-cloud-gdchardwaremanagement/scripts/client-post-processing/doc-formatting.yaml b/packages/google-cloud-gdchardwaremanagement/scripts/client-post-processing/doc-formatting.yaml deleted file mode 120000 index 6e0991666f97..000000000000 --- a/packages/google-cloud-gdchardwaremanagement/scripts/client-post-processing/doc-formatting.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/doc-formatting.yaml \ No newline at end of file diff --git a/packages/google-cloud-kms/scripts/client-post-processing/revert-reserved-words.yaml b/packages/google-cloud-kms/scripts/client-post-processing/revert-reserved-words.yaml deleted file mode 120000 index 895cd1dcaedb..000000000000 --- a/packages/google-cloud-kms/scripts/client-post-processing/revert-reserved-words.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/revert-reserved-words.yaml \ No newline at end of file diff --git a/packages/google-cloud-maintenance-api/scripts/client-post-processing/doc-formatting.yaml b/packages/google-cloud-maintenance-api/scripts/client-post-processing/doc-formatting.yaml deleted file mode 120000 index 6e0991666f97..000000000000 --- a/packages/google-cloud-maintenance-api/scripts/client-post-processing/doc-formatting.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/doc-formatting.yaml \ No newline at end of file diff --git a/packages/google-cloud-network-connectivity/scripts/client-post-processing/doc-formatting.yaml b/packages/google-cloud-network-connectivity/scripts/client-post-processing/doc-formatting.yaml deleted file mode 120000 index 6e0991666f97..000000000000 --- a/packages/google-cloud-network-connectivity/scripts/client-post-processing/doc-formatting.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/doc-formatting.yaml \ No newline at end of file diff --git a/packages/google-cloud-network-services/scripts/client-post-processing/doc-formatting.yaml b/packages/google-cloud-network-services/scripts/client-post-processing/doc-formatting.yaml deleted file mode 120000 index 6e0991666f97..000000000000 --- a/packages/google-cloud-network-services/scripts/client-post-processing/doc-formatting.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/doc-formatting.yaml \ No newline at end of file diff --git a/packages/google-cloud-oracledatabase/scripts/client-post-processing/doc-formatting.yaml b/packages/google-cloud-oracledatabase/scripts/client-post-processing/doc-formatting.yaml deleted file mode 120000 index 6e0991666f97..000000000000 --- a/packages/google-cloud-oracledatabase/scripts/client-post-processing/doc-formatting.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/doc-formatting.yaml \ No newline at end of file diff --git a/packages/google-cloud-orchestration-airflow/scripts/client-post-processing/doc-formatting.yaml b/packages/google-cloud-orchestration-airflow/scripts/client-post-processing/doc-formatting.yaml deleted file mode 120000 index 6e0991666f97..000000000000 --- a/packages/google-cloud-orchestration-airflow/scripts/client-post-processing/doc-formatting.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/doc-formatting.yaml \ No newline at end of file diff --git a/packages/google-cloud-policysimulator/scripts/client-post-processing/add-missing-dependencies-to-setup-py-constraints.yaml b/packages/google-cloud-policysimulator/scripts/client-post-processing/add-missing-dependencies-to-setup-py-constraints.yaml deleted file mode 120000 index 20a2e3aa4e64..000000000000 --- a/packages/google-cloud-policysimulator/scripts/client-post-processing/add-missing-dependencies-to-setup-py-constraints.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/add-missing-dependencies-to-setup-py-constraints.yaml \ No newline at end of file diff --git a/packages/google-cloud-policytroubleshooter-iam/scripts/client-post-processing/proto-plus-dependency-with-modified-namespace.yaml b/packages/google-cloud-policytroubleshooter-iam/scripts/client-post-processing/proto-plus-dependency-with-modified-namespace.yaml deleted file mode 120000 index 40c84a601c9a..000000000000 --- a/packages/google-cloud-policytroubleshooter-iam/scripts/client-post-processing/proto-plus-dependency-with-modified-namespace.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/proto-plus-dependency-with-modified-namespace.yaml \ No newline at end of file diff --git a/packages/google-cloud-securitycentermanagement/scripts/client-post-processing/doc-formatting.yaml b/packages/google-cloud-securitycentermanagement/scripts/client-post-processing/doc-formatting.yaml deleted file mode 120000 index 6e0991666f97..000000000000 --- a/packages/google-cloud-securitycentermanagement/scripts/client-post-processing/doc-formatting.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/doc-formatting.yaml \ No newline at end of file diff --git a/packages/google-cloud-service-control/scripts/client-post-processing/doc-formatting.yaml b/packages/google-cloud-service-control/scripts/client-post-processing/doc-formatting.yaml deleted file mode 120000 index 6e0991666f97..000000000000 --- a/packages/google-cloud-service-control/scripts/client-post-processing/doc-formatting.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/doc-formatting.yaml \ No newline at end of file diff --git a/packages/google-cloud-speech/scripts/client-post-processing/integrate-isolated-handwritten-code.yaml b/packages/google-cloud-speech/scripts/client-post-processing/integrate-isolated-handwritten-code.yaml deleted file mode 120000 index b4086db9c19b..000000000000 --- a/packages/google-cloud-speech/scripts/client-post-processing/integrate-isolated-handwritten-code.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/integrate-isolated-handwritten-code.yaml \ No newline at end of file diff --git a/packages/google-cloud-storagebatchoperations/scripts/client-post-processing/doc-formatting.yaml b/packages/google-cloud-storagebatchoperations/scripts/client-post-processing/doc-formatting.yaml deleted file mode 120000 index 6e0991666f97..000000000000 --- a/packages/google-cloud-storagebatchoperations/scripts/client-post-processing/doc-formatting.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/doc-formatting.yaml \ No newline at end of file diff --git a/packages/google-cloud-trace/scripts/client-post-processing/revert-reserved-words.yaml b/packages/google-cloud-trace/scripts/client-post-processing/revert-reserved-words.yaml deleted file mode 120000 index 895cd1dcaedb..000000000000 --- a/packages/google-cloud-trace/scripts/client-post-processing/revert-reserved-words.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/revert-reserved-words.yaml \ No newline at end of file diff --git a/packages/google-cloud-translate/scripts/client-post-processing/integrate-isolated-handwritten-code.yaml b/packages/google-cloud-translate/scripts/client-post-processing/integrate-isolated-handwritten-code.yaml deleted file mode 120000 index b4086db9c19b..000000000000 --- a/packages/google-cloud-translate/scripts/client-post-processing/integrate-isolated-handwritten-code.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/integrate-isolated-handwritten-code.yaml \ No newline at end of file diff --git a/packages/google-cloud-vision/scripts/client-post-processing/integrate-isolated-handwritten-code.yaml b/packages/google-cloud-vision/scripts/client-post-processing/integrate-isolated-handwritten-code.yaml deleted file mode 100644 index 7fe323638441..000000000000 --- a/packages/google-cloud-vision/scripts/client-post-processing/integrate-isolated-handwritten-code.yaml +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 2023 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: Integrate isolated handwritten helpers/mixin code -url: https://github.com/googleapis/gapic-generator-python/issues/1642 -replacements: - - paths: [ - packages/google-cloud-vision/google/cloud/vision/__init__.py - ] - before: | - from google.cloud.vision_v1.services.image_annotator.client import ImageAnnotatorClient - after: | - from google.cloud.vision_v1 import ImageAnnotatorClient - count: 1 - - paths: [ - packages/google-cloud-vision/google/cloud/vision_v1/__init__.py, - packages/google-cloud-vision/google/cloud/vision_v1p1beta1/__init__.py, - packages/google-cloud-vision/google/cloud/vision_v1p2beta1/__init__.py, - packages/google-cloud-vision/google/cloud/vision_v1p3beta1/__init__.py, - packages/google-cloud-vision/google/cloud/vision_v1p4beta1/__init__.py, - ] - before: | - from .services.image_annotator import ImageAnnotatorAsyncClient, ImageAnnotatorClient - after: | - from google.cloud.vision_helpers import VisionHelpers - from google.cloud.vision_helpers.decorators import add_single_feature_methods\n - from .services.image_annotator import ImageAnnotatorAsyncClient - from .services.image_annotator import ImageAnnotatorClient as IacImageAnnotatorClient - count: 5 - - paths: [ - packages/google-cloud-vision/google/cloud/vision_v1/__init__.py, - packages/google-cloud-vision/google/cloud/vision_v1p1beta1/__init__.py, - packages/google-cloud-vision/google/cloud/vision_v1p2beta1/__init__.py, - packages/google-cloud-vision/google/cloud/vision_v1p3beta1/__init__.py, - packages/google-cloud-vision/google/cloud/vision_v1p4beta1/__init__.py, - ] - before: | - from .types.web_detection import WebDetection\n - __all__ = \( - after: | - from .types.web_detection import WebDetection\n\n - @add_single_feature_methods - class ImageAnnotatorClient(VisionHelpers, IacImageAnnotatorClient): - __doc__ = IacImageAnnotatorClient.__doc__ - Feature = Feature\n\n - __all__ = ( - count: 5 diff --git a/packages/google-cloud-visionai/scripts/client-post-processing/doc-formatting.yaml b/packages/google-cloud-visionai/scripts/client-post-processing/doc-formatting.yaml deleted file mode 120000 index 6e0991666f97..000000000000 --- a/packages/google-cloud-visionai/scripts/client-post-processing/doc-formatting.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/doc-formatting.yaml \ No newline at end of file diff --git a/packages/google-cloud-workflows/scripts/client-post-processing/doc-formatting.yaml b/packages/google-cloud-workflows/scripts/client-post-processing/doc-formatting.yaml deleted file mode 120000 index 6e0991666f97..000000000000 --- a/packages/google-cloud-workflows/scripts/client-post-processing/doc-formatting.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/doc-formatting.yaml \ No newline at end of file diff --git a/packages/google-cloud-workflows/scripts/client-post-processing/sub-api-versioned-namespace.yaml b/packages/google-cloud-workflows/scripts/client-post-processing/sub-api-versioned-namespace.yaml deleted file mode 120000 index 9c11752d4c47..000000000000 --- a/packages/google-cloud-workflows/scripts/client-post-processing/sub-api-versioned-namespace.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/sub-api-versioned-namespace.yaml \ No newline at end of file diff --git a/packages/google-geo-type/scripts/client-post-processing/docs-index-rst-for-unversioned-apis.yaml b/packages/google-geo-type/scripts/client-post-processing/docs-index-rst-for-unversioned-apis.yaml deleted file mode 120000 index 5210cfe029ab..000000000000 --- a/packages/google-geo-type/scripts/client-post-processing/docs-index-rst-for-unversioned-apis.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/docs-index-rst-for-unversioned-apis.yaml \ No newline at end of file diff --git a/packages/google-maps-routing/scripts/client-post-processing/doc-formatting.yaml b/packages/google-maps-routing/scripts/client-post-processing/doc-formatting.yaml deleted file mode 120000 index 6e0991666f97..000000000000 --- a/packages/google-maps-routing/scripts/client-post-processing/doc-formatting.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/doc-formatting.yaml \ No newline at end of file diff --git a/packages/google-shopping-merchant-accounts/scripts/client-post-processing/doc-formatting.yaml b/packages/google-shopping-merchant-accounts/scripts/client-post-processing/doc-formatting.yaml deleted file mode 120000 index 6e0991666f97..000000000000 --- a/packages/google-shopping-merchant-accounts/scripts/client-post-processing/doc-formatting.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/doc-formatting.yaml \ No newline at end of file diff --git a/packages/google-shopping-merchant-notifications/scripts/client-post-processing/add-missing-dependencies-to-setup-py-constraints.yaml b/packages/google-shopping-merchant-notifications/scripts/client-post-processing/add-missing-dependencies-to-setup-py-constraints.yaml deleted file mode 120000 index 20a2e3aa4e64..000000000000 --- a/packages/google-shopping-merchant-notifications/scripts/client-post-processing/add-missing-dependencies-to-setup-py-constraints.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/add-missing-dependencies-to-setup-py-constraints.yaml \ No newline at end of file diff --git a/packages/google-shopping-merchant-reports/scripts/client-post-processing/doc-formatting.yaml b/packages/google-shopping-merchant-reports/scripts/client-post-processing/doc-formatting.yaml deleted file mode 120000 index 6e0991666f97..000000000000 --- a/packages/google-shopping-merchant-reports/scripts/client-post-processing/doc-formatting.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/doc-formatting.yaml \ No newline at end of file diff --git a/packages/google-shopping-type/scripts/client-post-processing/docs-index-rst-for-unversioned-apis.yaml b/packages/google-shopping-type/scripts/client-post-processing/docs-index-rst-for-unversioned-apis.yaml deleted file mode 120000 index 5210cfe029ab..000000000000 --- a/packages/google-shopping-type/scripts/client-post-processing/docs-index-rst-for-unversioned-apis.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../scripts/client-post-processing/docs-index-rst-for-unversioned-apis.yaml \ No newline at end of file diff --git a/scripts/client-post-processing/add-dependency-google-cloud-common.yaml b/scripts/client-post-processing/add-dependency-google-cloud-common.yaml deleted file mode 100644 index 8b4a4fcdaf25..000000000000 --- a/scripts/client-post-processing/add-dependency-google-cloud-common.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 2023 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: Add missing dependency for google-cloud-common -url: https://github.com/googleapis/gapic-generator-python/issues/1836 -replacements: - - paths: [ - packages/google-cloud-filestore/setup.py, - ] - before: | - dependencies = \[ - "google-api-core\[grpc\] >= 1.34.1, <3.0.0,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,!=2.10.*", - # Exclude incompatible versions of `google-auth` - # See https://github.com/googleapis/google-cloud-python/issues/12364 - "google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0", - "proto-plus >= 1.22.3, <2.0.0", - after: | - dependencies = [ - "google-api-core[grpc] >= 1.34.1, <3.0.0,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,!=2.10.*", - # Exclude incompatible versions of `google-auth` - # See https://github.com/googleapis/google-cloud-python/issues/12364 - "google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0", - "google-cloud-common >= 1.0.0, <2.0.0", - "proto-plus >= 1.22.3, <2.0.0", - count: 1 - - paths: [ - packages/google-cloud-filestore/testing/constraints-3.7.txt - ] - before: | - google-api-core==1.34.1 - google-auth==2.14.1 - proto-plus==1.22.3 - after: | - google-api-core==1.34.1 - google-auth==2.14.1 - google-cloud-common==1.0.0 - proto-plus==1.22.3 - count: 1 diff --git a/scripts/client-post-processing/add-missing-dependencies-to-setup-py-constraints.yaml b/scripts/client-post-processing/add-missing-dependencies-to-setup-py-constraints.yaml index 6ee29d86f11e..69366c0456c4 100644 --- a/scripts/client-post-processing/add-missing-dependencies-to-setup-py-constraints.yaml +++ b/scripts/client-post-processing/add-missing-dependencies-to-setup-py-constraints.yaml @@ -46,70 +46,6 @@ replacements: grpc-google-iam-v1==0.12.4 proto-plus==1.22.3 count: 1 - - paths: [ - packages/google-cloud-build/setup.py - ] - before: | - dependencies = \[ - "google-api-core\[grpc\] >= 1.34.1, <3.0.0,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,!=2.10.*", - # Exclude incompatible versions of `google-auth` - # See https://github.com/googleapis/google-cloud-python/issues/12364 - "google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0", - "proto-plus >= 1.22.3, <2.0.0", - after: | - dependencies = [ - "google-api-core[grpc] >= 1.34.1, <3.0.0,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,!=2.10.*", - # Exclude incompatible versions of `google-auth` - # See https://github.com/googleapis/google-cloud-python/issues/12364 - "google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0", - "grpc-google-iam-v1 >=0.12.4, <1.0.0", - "proto-plus >= 1.22.3, <2.0.0", - count: 1 - - paths: [ - packages/google-cloud-build/testing/constraints-3.7.txt - ] - before: | - google-api-core==1.34.1 - google-auth==2.14.1 - proto-plus==1.22.3 - after: | - google-api-core==1.34.1 - google-auth==2.14.1 - grpc-google-iam-v1==0.12.4 - proto-plus==1.22.3 - count: 1 - - paths: [ - packages/google-cloud-binary-authorization/setup.py - ] - before: | - dependencies = \[ - "google-api-core\[grpc\] >= 1.34.1, <3.0.0,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,!=2.10.*", - # Exclude incompatible versions of `google-auth` - # See https://github.com/googleapis/google-cloud-python/issues/12364 - "google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0", - "proto-plus >= 1.22.3, <2.0.0", - after: | - dependencies = [ - "google-api-core[grpc] >= 1.34.1, <3.0.0,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,!=2.10.*", - # Exclude incompatible versions of `google-auth` - # See https://github.com/googleapis/google-cloud-python/issues/12364 - "google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0", - "grafeas >= 1.1.2, <2.0", - "proto-plus >= 1.22.3, <2.0.0", - count: 1 - - paths: [ - packages/google-cloud-binary-authorization/testing/constraints-3.7.txt - ] - before: | - google-api-core==1.34.1 - google-auth==2.14.1 - proto-plus==1.22.3 - after: | - google-api-core==1.34.1 - google-auth==2.14.1 - grafeas==1.1.2 - proto-plus==1.22.3 - count: 1 - paths: [ packages/google-cloud-iam/testing/constraints-3.7.txt ] @@ -142,62 +78,3 @@ replacements: "grpc-google-iam-v1 >=0.12.4, <1.0.0", "proto-plus >= 1.22.3, <2.0.0", count: 1 - - paths: [ - packages/google-cloud-policysimulator/setup.py - ] - before: | - dependencies = \[ - "google-api-core\[grpc\] >= 1.34.1, <3.0.0,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,!=2.10.*", - # Exclude incompatible versions of `google-auth` - # See https://github.com/googleapis/google-cloud-python/issues/12364 - "google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0", - "proto-plus >= 1.22.3, <2.0.0", - after: | - dependencies = [ - "google-api-core[grpc] >= 1.34.1, <3.0.0,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,!=2.10.*", - # Exclude incompatible versions of `google-auth` - # See https://github.com/googleapis/google-cloud-python/issues/12364 - "google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0", - "google-cloud-org-policy >= 1.0.0, <2.0.0", - "proto-plus >= 1.22.3, <2.0.0", - count: 1 - - paths: [ - packages/google-shopping-merchant-notifications/setup.py - ] - before: | - dependencies = \[ - "google-api-core\[grpc\] >= 1.34.1, <3.0.0,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,!=2.10.*", - # Exclude incompatible versions of `google-auth` - # See https://github.com/googleapis/google-cloud-python/issues/12364 - "google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0", - "proto-plus >= 1.22.3, <2.0.0", - "proto-plus >= 1.25.0, <2.0.0; python_version >= '3.13'", - "protobuf>=3.20.2,<7.0.0,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5", - \] - after: | - dependencies = [ - "google-api-core[grpc] >= 1.34.1, <3.0.0,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,!=2.10.*", - # Exclude incompatible versions of `google-auth` - # See https://github.com/googleapis/google-cloud-python/issues/12364 - "google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0", - "proto-plus >= 1.22.3, <2.0.0", - "proto-plus >= 1.25.0, <2.0.0; python_version >= '3.13'", - "protobuf>=3.20.2,<7.0.0,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5", - "google-shopping-type >= 1.0.0, <2.0.0", - ] - count: 1 - - paths: [ - packages/google-shopping-merchant-notifications/testing/constraints-3.7.txt - ] - before: | - google-api-core==1.34.1 - google-auth==2.14.1 - proto-plus==1.22.3 - protobuf==3.20.2 - after: | - google-api-core==1.34.1 - google-auth==2.14.1 - proto-plus==1.22.3 - google-shopping-type==1.0.0 - protobuf==3.20.2 - count: 1 diff --git a/scripts/client-post-processing/containeranalysis-grafeas-integration.yaml b/scripts/client-post-processing/containeranalysis-grafeas-integration.yaml deleted file mode 100644 index 92470bc21e3d..000000000000 --- a/scripts/client-post-processing/containeranalysis-grafeas-integration.yaml +++ /dev/null @@ -1,168 +0,0 @@ -# Copyright 2023 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: Customizations related to the integration with grafeas -url: https://github.com/googleapis/gapic-generator-python/issues/1830 -replacements: - - paths: [ - packages/google-cloud-containeranalysis/setup.py - ] - before: | - dependencies = \[ - "google-api-core\[grpc\] >= 1.34.1, <3.0.0,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,!=2.10.*", - # Exclude incompatible versions of `google-auth` - # See https://github.com/googleapis/google-cloud-python/issues/12364 - "google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0", - "proto-plus >= 1.22.3, <2.0.0", - after: | - dependencies = [ - "google-api-core[grpc] >= 1.34.1, <3.0.0,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,!=2.10.*", - # Exclude incompatible versions of `google-auth` - # See https://github.com/googleapis/google-cloud-python/issues/12364 - "google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0", - "grafeas >=1.4.1, <2.0", - "proto-plus >= 1.22.3, <2.0.0", - count: 1 - - paths: [ - packages/google-cloud-containeranalysis/testing/constraints-3.7.txt - ] - before: | - google-api-core==1.34.1 - google-auth==2.14.1 - proto-plus==1.22.3 - after: | - google-api-core==1.34.1 - google-auth==2.14.1 - grafeas==1.4.1 - proto-plus==1.22.3 - count: 1 - - paths: [ - packages/google-cloud-containeranalysis/google/cloud/devtools/containeranalysis_v1/services/container_analysis/client.py, - packages/google-cloud-containeranalysis/google/cloud/devtools/containeranalysis_v1/services/container_analysis/async_client.py, - ] - before: | - from google.iam.v1 import policy_pb2 # type: ignore\n - after: | - from google.iam.v1 import policy_pb2 # type: ignore - from grafeas import grafeas_v1 - from grafeas.grafeas_v1.services.grafeas import transports\n - count: 2 - - paths: [ - packages/google-cloud-containeranalysis/google/cloud/devtools/containeranalysis_v1/services/container_analysis/client.py, - ] - before: | - \,\n "credentialsType": None, - \ \}, - \ \) - \ - \ def set_iam_policy\( - after: | - ,\n "credentialsType": None, - }, - )\n - def get_grafeas_client(self) -> grafeas_v1.GrafeasClient: - grafeas_transport = grafeas_v1.services.grafeas.transports.GrafeasGrpcTransport( - credentials=self.transport._credentials, - # Set ``credentials_file`` to ``None`` here as - # transport._credentials contains the credentials - # which are saved - credentials_file=None, - host=self.transport._host, - scopes=self.transport.AUTH_SCOPES, - ) - return grafeas_v1.GrafeasClient(transport=grafeas_transport)\n - def set_iam_policy( - count: 1 - - paths: [ - packages/google-cloud-containeranalysis/google/cloud/devtools/containeranalysis_v1/services/container_analysis/async_client.py, - ] - before: | - \,\n "credentialsType": None, - \ \}, - \ \) - \ - \ async def set_iam_policy\( - after: | - ,\n "credentialsType": None, - }, - )\n - def get_grafeas_client(self) -> grafeas_v1.GrafeasClient: - grafeas_transport = grafeas_v1.services.grafeas.transports.GrafeasGrpcTransport( - credentials=self.transport._credentials, - # Set ``credentials_file`` to ``None`` here as - # transport._credentials contains the credentials - # which are saved - credentials_file=None, - host=self.transport._host, - scopes=self.transport.AUTH_SCOPES, - ) - return grafeas_v1.GrafeasClient(transport=grafeas_transport)\n - async def set_iam_policy( - count: 1 - - paths: [ - packages/google-cloud-containeranalysis/google/cloud/devtools/containeranalysis_v1/types/containeranalysis.py - ] - before: from grafeas.v1 import severity_pb2 # type: ignore - after: import grafeas.grafeas_v1 # type: ignore - count: 1 - - paths: [ - packages/google-cloud-containeranalysis/tests/unit/gapic/containeranalysis_v1/test_container_analysis.py - ] - before: | - \) - \ create_channel.assert_called_with\( - \ "containeranalysis.googleapis.com:443", - \ credentials=file_creds, - \ credentials_file=None, - \ quota_project_id=None, - \ default_scopes=\("https://www.googleapis.com/auth/cloud-platform",\), - \ scopes=None, - \ default_host="containeranalysis.googleapis.com", - \ ssl_credentials=None, - \ options=\[ - \ \("grpc.max_send_message_length", -1\), - \ \("grpc.max_receive_message_length", -1\), - \ \], - \ \)\n\n - after: | - ) - create_channel.assert_called_with( - "containeranalysis.googleapis.com:443", - credentials=file_creds, - credentials_file=None, - quota_project_id=None, - default_scopes=("https://www.googleapis.com/auth/cloud-platform",), - scopes=None, - default_host="containeranalysis.googleapis.com", - ssl_credentials=None, - options=[ - ("grpc.max_send_message_length", -1), - ("grpc.max_receive_message_length", -1), - ], - ) - - # Also check client.get_grafeas_client() to make sure that the file credentials are used - assert file_creds == client.get_grafeas_client().transport._credentials\n\n - count: 1 - - paths: [ - packages/google-cloud-containeranalysis/google/cloud/devtools/containeranalysis_v1/types/containeranalysis.py - ] - before: grafeas.v1.severity_pb2.Severity - after: grafeas.v1.grafeas.grafeas_v1.Severity - count: 1 - - paths: [ - packages/google-cloud-containeranalysis/google/cloud/devtools/containeranalysis_v1/types/containeranalysis.py - ] - before: severity_pb2 - after: grafeas.grafeas_v1 - count: 2 diff --git a/scripts/client-post-processing/doc-formatting.yaml b/scripts/client-post-processing/doc-formatting.yaml index 99f7ba46b51e..45b260d64e41 100644 --- a/scripts/client-post-processing/doc-formatting.yaml +++ b/scripts/client-post-processing/doc-formatting.yaml @@ -14,311 +14,6 @@ description: Fix formatting issues in docs url: https://github.com/googleapis/gapic-generator-python/issues/1829 replacements: - - paths: [ - packages/google-ai-generativelanguage/google/ai/generativelanguage_v1beta3/services/permission_service/async_client.py, - packages/google-ai-generativelanguage/google/ai/generativelanguage_v1beta3/services/permission_service/client.py - ] - before: | - \ role's permitted operations: - \ - \ - reader can use the resource \(e.g. - \ tuned model\) for inference - \ - writer has reader's permissions and - \ additionally can edit and share - \ - owner has writer's permissions and - \ additionally can delete - after: " role's permitted operations:\n\n - reader can use the resource (e.g.\n tuned model) for inference\n - writer has reader's permissions and\n additionally can edit and share\n - owner has writer's permissions and\n additionally can delete\n" - count: 6 - - paths: [ - packages/google-ai-generativelanguage/google/ai/generativelanguage_v1beta3/types/permission.py, - ] - before: | - \ previous role's permitted operations: - \ - \ - reader can use the resource \(e.g. tuned model\) for inference - \ - writer has reader's permissions and additionally can edit and - \ share - \ - owner has writer's permissions and additionally can delete - after: " previous role's permitted operations:\n\n - reader can use the resource (e.g. tuned model) for inference\n - writer has reader's permissions and additionally can edit and\n share\n - owner has writer's permissions and additionally can delete\n" - count: 1 - - paths: [ - packages/google-cloud-datacatalog/google/cloud/datacatalog_v1beta1/types/usage.py, - ] - before: | - \ references are not yet counted in usage computation - \ https://cloud.google.com/bigquery/docs/querying-wildcard-tables - after: " references are not yet counted in usage computation\n https://cloud.google.com/bigquery/docs/querying-wildcard-tables\n" - count: 1 - - paths: [ - packages/google-cloud-edgenetwork/google/cloud/edgenetwork_v1/types/resources.py, - ] - before: | - \ 14 years, 51 weeks, 6 days, 23 hours, 59 - after: " 14 years, 51 weeks, 6 days, 23 hours, 59\n" - count: 1 - - paths: [ - packages/google-cloud-network-connectivity/google/cloud/networkconnectivity_v1/types/policy_based_routing.py, - ] - before: | - \ 1000. The priority value must be from 1 to - \ 65535, inclusive. - after: " 1000. The priority value must be from 1 to\n 65535, inclusive.\n" - count: 1 - - paths: [ - packages/google-cloud-visionai/google/cloud/visionai_v1/types/platform.py, - packages/google-cloud-visionai/google/cloud/visionai_v1alpha1/types/platform.py, - ] - before: | - \ 'ingestionTime': DOUBLE; \(UNIX timestamp\) - \ 'application': STRING; - after: " 'ingestionTime': DOUBLE; (UNIX timestamp)\n 'application': STRING;\n" - count: 2 - - paths: [ - packages/google-cloud-visionai/google/cloud/visionai_v1/types/platform.py, - packages/google-cloud-visionai/google/cloud/visionai_v1alpha1/types/platform.py, - ] - before: "'processor': STRING;\n }\n" - after: "'processor': STRING;\n\n }\n\n" - count: 2 - - paths: [ - packages/google-cloud-documentai/google/cloud/documentai_v1beta3/types/document_service.py, - ] - before: | - \n Currently support query strings are: - \ ------------------------------------ - \ - \ ``SplitType=DATASET_SPLIT_TEST\|DATASET_SPLIT_TRAIN\|DATASET_SPLIT_UNASSIGNED`` - \ - \ - ``LabelingState=DOCUMENT_LABELED\|DOCUMENT_UNLABELED\|DOCUMENT_AUTO_LABELED`` - after: "\n Currently support query strings are:\n\n - ``SplitType=DATASET_SPLIT_TEST|DATASET_SPLIT_TRAIN|DATASET_SPLIT_UNASSIGNED``\n - ``LabelingState=DOCUMENT_LABELED|DOCUMENT_UNLABELED|DOCUMENT_AUTO_LABELED``\n" - count: 1 - - paths: [ - packages/google-apps-chat/google/apps/chat_v1/services/chat_service/async_client.py, - ] - before: \|Message sent with app authentication\| - after: "|Message sent with app authentication async|" - count: 2 - - paths: [ - packages/google-apps-chat/google/apps/chat_v1/services/chat_service/transports/grpc_asyncio.py, - ] - before: \|Message sent with app authentication\| - after: "|Message sent with app authentication async gRPC|" - count: 2 - - paths: [ - packages/google-apps-chat/google/apps/chat_v1/services/chat_service/transports/grpc.py, - ] - before: \|Message sent with app authentication\| - after: "|Message sent with app authentication gRPC|" - count: 2 - - paths: [ - packages/google-apps-chat/google/apps/chat_v1/services/chat_service/async_client.py, - ] - before: \|Message sent with user authentication\| - after: "|Message sent with user authentication async|" - count: 2 - - paths: [ - packages/google-apps-chat/google/apps/chat_v1/services/chat_service/transports/grpc_asyncio.py, - ] - before: \|Message sent with user authentication\| - after: "|Message sent with user authentication async gRPC|" - count: 2 - - paths: [ - packages/google-apps-chat/google/apps/chat_v1/services/chat_service/transports/grpc.py, - ] - before: \|Message sent with user authentication\| - after: "|Message sent with user authentication gRPC|" - count: 2 - - paths: [ - packages/google-cloud-alloydb/google/cloud/alloydb_v1/types/resources.py, - packages/google-cloud-alloydb/google/cloud/alloydb_v1alpha/types/resources.py, - packages/google-cloud-alloydb/google/cloud/alloydb_v1beta/types/resources.py, - ] - before: | - \ 1024. Any integer between 256 and 4500 is - \ considered valid. - after: " 1024. Any integer between 256 and 4500 is\n considered valid.\n" - count: 3 - - paths: [ - packages/google-cloud-dms/google/cloud/clouddms_v1/types/conversionworkspace_resources.py, - ] - before: | - Optional. Column fractional seconds precision - \ - used only for timestamp based datatypes - if - \ not specified and relevant uses the source - after: | - Optional. Column fractional seconds precision: - - - used only for timestamp based datatypes - - if not specified and relevant uses the source - count: 1 - - paths: [ - packages/google-cloud-enterpriseknowledgegraph/google/cloud/enterpriseknowledgegraph_v1/types/service.py, - ] - before: | - If true, separate clusters by their - \ geographic region \(from geocoding\). Uses the - \ following entity features:\n - \ - schema.org/addressLocality - \ - schema.org/addressRegion - \ - schema.org/addressCountry - \ Warning: processing will no longer be - \ regionalized! - after: | - If true, separate clusters by their - geographic region (from geocoding). Uses the - following entity features:\n - - schema.org/addressLocality - - schema.org/addressRegion - - schema.org/addressCountry\n - Warning: processing will no longer be - regionalized! - count: 1 - - paths: [ - packages/google-cloud-gdchardwaremanagement/google/cloud/gdchardwaremanagement_v1alpha/types/resources.py, - ] - before: | - Optional. Any additional notes for this Site. - \ Please include information about:\n - \ - security or access restrictions - \ - any regulations affecting the technicians - \ visiting the site - \ - any special process or approval required to - \ move the equipment - \ - whether a representative will be available - \ during site visits - after: | - Optional. Any additional notes for this Site. - Please include information about:\n - - security or access restrictions - - any regulations affecting the technicians - visiting the site - - any special process or approval required to - move the equipment - - whether a representative will be available - during site visits\n - count: 1 - - paths: [ - packages/google-cloud-oracledatabase/google/cloud/oracledatabase_v1/types/exadata_infra.py, - ] - before: | - Optional. The window of hours during the day - \ when maintenance should be performed. The window - \ is a 4 hour slot. Valid values are:\n - \ 0 - represents time slot 0:00 - 3:59 UTC - \ 4 - represents time slot 4:00 - 7:59 UTC - \ 8 - represents time slot 8:00 - 11:59 UTC - \ 12 - represents time slot 12:00 - 15:59 UTC - \ 16 - represents time slot 16:00 - 19:59 UTC 20 - \ - represents time slot 20:00 - 23:59 UTC - after: | - Optional. The window of hours during the day - when maintenance should be performed. The window - is a 4 hour slot. Valid values are:\n - 0 - represents time slot 0:00 - 3:59 UTC - 4 - represents time slot 4:00 - 7:59 UTC - 8 - represents time slot 8:00 - 11:59 UTC - 12 - represents time slot 12:00 - 15:59 UTC - 16 - represents time slot 16:00 - 19:59 UTC - 20 - represents time slot 20:00 - 23:59 UTC - count: 1 - - paths: [ - packages/google-cloud-service-control/google/cloud/servicecontrol_v1/types/service_controller.py, - ] - before: | - The Google cloud project number, e.g. - \ 1234567890. A value of 0 indicates no project - \ number is found. - after: | - The Google cloud project number, e.g. - 1234567890. A value of 0 indicates no project - number is found. - count: 1 - - paths: [ - packages/google-maps-routing/google/maps/routing_v2/types/toll_passes.py, - ] - before: | - E-card provided by multiple banks used to pay - \ for tolls. All e-cards via banks are charged the - \ same so only one enum value is needed. E.g. - \ - Bank Mandiri - after: | - E-card provided by multiple banks used to pay - for tolls. All e-cards via banks are charged the - same so only one enum value is needed. E.g.\n - - Bank Mandiri - count: 1 - - paths: [ - packages/google-shopping-merchant-accounts/google/shopping/merchant_accounts_v1beta/services/online_return_policy_service/async_client.py, - packages/google-shopping-merchant-accounts/google/shopping/merchant_accounts_v1beta/services/online_return_policy_service/client.py, - packages/google-shopping-merchant-accounts/google/shopping/merchant_accounts_v1beta/services/online_return_policy_service/transports/grpc.py, - packages/google-shopping-merchant-accounts/google/shopping/merchant_accounts_v1beta/services/online_return_policy_service/transports/grpc_asyncio.py, - ] - before: "This API defines the following resource model:\n --------------------------------------------------------\n\n `OnlineReturnPolicy" - after: "This API defines the following resource model:\n\n - `OnlineReturnPolicy" - count: 4 - - paths: [ - packages/google-shopping-merchant-accounts/google/shopping/merchant_accounts_v1/services/online_return_policy_service/async_client.py, - packages/google-shopping-merchant-accounts/google/shopping/merchant_accounts_v1/services/online_return_policy_service/client.py, - packages/google-shopping-merchant-accounts/google/shopping/merchant_accounts_v1/services/online_return_policy_service/transports/grpc.py, - packages/google-shopping-merchant-accounts/google/shopping/merchant_accounts_v1/services/online_return_policy_service/transports/grpc_asyncio.py, - ] - before: "This API defines the following resource model:\n --------------------------------------------------------\n\n \\[OnlineReturnPolicy" - after: "This API defines the following resource model:\n\n - [OnlineReturnPolicy" - count: 4 - - paths: [ - packages/google-shopping-merchant-accounts/google/shopping/merchant_accounts_v1beta/services/omnichannel_settings_service/async_client.py, - packages/google-shopping-merchant-accounts/google/shopping/merchant_accounts_v1beta/services/omnichannel_settings_service/client.py, - packages/google-shopping-merchant-accounts/google/shopping/merchant_accounts_v1beta/services/omnichannel_settings_service/transports/grpc.py, - packages/google-shopping-merchant-accounts/google/shopping/merchant_accounts_v1beta/services/omnichannel_settings_service/transports/grpc_asyncio.py, - packages/google-shopping-merchant-accounts/google/shopping/merchant_accounts_v1/services/omnichannel_settings_service/async_client.py, - packages/google-shopping-merchant-accounts/google/shopping/merchant_accounts_v1/services/omnichannel_settings_service/client.py, - packages/google-shopping-merchant-accounts/google/shopping/merchant_accounts_v1/services/omnichannel_settings_service/transports/grpc.py, - packages/google-shopping-merchant-accounts/google/shopping/merchant_accounts_v1/services/omnichannel_settings_service/transports/grpc_asyncio.py, - ] - before: | - This API defines the following resource model: - \ ----------------------------------------------\n - \ \[OmnichannelSetting\]\[google.shopping.merchant.accounts.v1.OmnichannelSetting\] - after: | - This API defines the following resource model: - - [OmnichannelSetting][google.shopping.merchant.accounts.v1.OmnichannelSetting] - count: 8 - - paths: [ - packages/google-shopping-merchant-accounts/google/shopping/merchant_accounts_v1beta/types/shippingsettings.py - ] - before: | - Required. This field is used for avoid async - \ issue. Make sure shipping setting data - \ didn't change between get call and insert call. - after: | - Required. This field is used for avoid async - issue. Make sure shipping setting data - didn't change between get call and insert call. - count: 1 - - paths: [ - packages/google-shopping-merchant-reports/google/shopping/merchant_reports_v1alpha/types/reports.py, - packages/google-shopping-merchant-reports/google/shopping/merchant_reports_v1beta/types/reports.py, - packages/google-shopping-merchant-reports/google/shopping/merchant_reports_v1/types/reports.py, - ] - before: | - Here's an example of how the aggregated status is computed:\n - \ Free listings \\\| Shopping ads \\\| Status - \ --------------\\\|--------------\\\|------------------------------ - \ Approved \\\| Approved \\\| ELIGIBLE Approved \\\| Pending \\\| ELIGIBLE - \ Approved \\\| Disapproved \\\| ELIGIBLE_LIMITED Pending \\\| Pending \\\| - \ PENDING Disapproved \\\| Disapproved \\\| NOT_ELIGIBLE_OR_DISAPPROVED\n - \ Values: - after: | - Here's an example of how the aggregated status is computed:\n - ``` - Free listings \| Shopping ads \| Status - --------------\|--------------\|------------------------------ - Approved \| Approved \| ELIGIBLE Approved \| Pending \| ELIGIBLE - Approved \| Disapproved \| ELIGIBLE_LIMITED Pending \| Pending \| - PENDING Disapproved \| Disapproved \| NOT_ELIGIBLE_OR_DISAPPROVED - ```\n - Values: - count: 3 - paths: [ packages/google-cloud-monitoring/google/cloud/monitoring_v3/types/metric_service.py ] @@ -359,220 +54,3 @@ replacements: type. The returned descriptor will not enumerate any monitored resource types. count: 1 - - paths: [ - packages/google-cloud-orchestration-airflow/google/cloud/orchestration/airflow/service_v1/types/environments.py, - packages/google-cloud-orchestration-airflow/google/cloud/orchestration/airflow/service_v1beta1/types/environments.py, - ] - before: | - \{ - "example": "ZXhhbXBsZV92YWx1ZQ==", - "another-example": - "YW5vdGhlcl9leGFtcGxlX3ZhbHVl" \} - after: | - .. code-block:: json\n - { - "example": "ZXhhbXBsZV92YWx1ZQ==", - "another-example": "YW5vdGhlcl9leGFtcGxlX3ZhbHVl" - }\n - count: 2 - - paths: [ - packages/google-cloud-automl/google/cloud/automl_v1/types/io.py, - ] - before: "Classification\n ''''''''''''''" - after: "Classification:" - count: 6 - - paths: [ - packages/google-cloud-automl/google/cloud/automl_v1/types/io.py, - ] - before: | - AutoML Vision - \ \^\^\^\^\^\^\^\^\^\^\^\^\^ - after: | - AutoML Vision: - count: 2 - - paths: [ - packages/google-cloud-automl/google/cloud/automl_v1/types/io.py, - ] - before: | - AutoML Tables - \ \^\^\^\^\^\^\^\^\^\^\^\^\^ - after: | - AutoML Tables: - count: 2 - - paths: [ - packages/google-cloud-automl/google/cloud/automl_v1/types/io.py, - ] - before: | - AutoML Tables - \ \^\^\^\^\^\^\^\^\^\^\^\^\^ - after: | - AutoML Tables: - count: 1 - - paths: [ - packages/google-cloud-automl/google/cloud/automl_v1/types/io.py, - ] - before: "Entity Extraction\n '''''''''''''''''" - after: "Entity Extraction:" - count: 2 - - paths: [ - packages/google-cloud-automl/google/cloud/automl_v1/types/io.py, - ] - before: "Sentiment Analysis\n ''''''''''''''''''" - after: "Sentiment Analysis:" - count: 2 - - paths: [ - packages/google-cloud-automl/google/cloud/automl_v1/types/io.py, - ] - before: "Object Tracking\n '''''''''''''''" - after: "Object Tracking:" - count: 2 - - paths: [ - packages/google-cloud-automl/google/cloud/automl_v1/types/io.py, - ] - before: | - AutoML Video Intelligence - \ \^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^ - after: | - AutoML Video Intelligence: - count: 2 - - paths: [ - packages/google-cloud-automl/google/cloud/automl_v1/types/io.py, - ] - before: "Object Detection\n ''''''''''''''''" - after: "Object Detection:" - count: 2 - - paths: [ - packages/google-cloud-automl/google/cloud/automl_v1/types/io.py, - ] - before: | - AutoML Natural Language - \ \^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^\^ - after: | - AutoML Natural Language: - count: 2 - - paths: [ - packages/google-cloud-workflows/google/cloud/workflows_v1/types/workflows.py, - ] - before: | - The maximum number of revisions to return per - \ page. If a value is not specified, a default - \ value of 20 is used. The maximum permitted value - \ is - \ 100. Values greater than 100 are coerced down to - \ 100. - after: | - The maximum number of revisions to return per - page. If a value is not specified, a default - value of 20 is used. The maximum permitted value - is 100. Values greater than 100 are coerced down - to 100. - count: 1 - - paths: [ - packages/google-cloud-network-services/google/cloud/network_services_v1/types/service_lb_policy.py, - ] - before: | - Optional. If set to 'True', an unhealthy - \ IG/NEG will be set as drained. - \ - An IG/NEG is considered unhealthy if less than - after: | - Optional. If set to 'True', an unhealthy - IG/NEG will be set as drained.\n - - An IG/NEG is considered unhealthy if less than - count: 1 - - paths: [ - packages/google-cloud-discoveryengine/google/cloud/discoveryengine_v1/types/search_service.py, - packages/google-cloud-discoveryengine/google/cloud/discoveryengine_v1alpha/types/search_service.py, - packages/google-cloud-discoveryengine/google/cloud/discoveryengine_v1beta/types/search_service.py, - ] - before: | - Example #1 \(multi-turn /search API calls\): - \ - \ Call /search API with the session ID generated - \ in the first call. Here, the previous search - \ query gets considered in query standing. I.e., - \ if the first query is "How did Alphabet do in - \ 2022\?" and the current query is "How about - \ 2023\?", the current query will be interpreted - \ as "How did Alphabet do in 2023\?". - \ - \ Example #2 \(coordination between /search API - \ calls and /answer API calls\): - \ - \ Call /answer API with the session ID generated - \ in the first call. Here, the answer generation - \ happens in the context of the search results - \ from the first search call. - after: | - Example #1 (multi-turn /search API calls):\n - - Call /search API with the session ID generated - in the first call. Here, the previous search - query gets considered in query standing. I.e., - if the first query is "How did Alphabet do in - 2022?" and the current query is "How about - 2023?", the current query will be interpreted - as "How did Alphabet do in 2023?".\n - Example #2 (coordination between /search API - calls and /answer API calls):\n - - Call /answer API with the session ID generated - in the first call. Here, the answer generation - happens in the context of the search results - from the first search call. - count: 3 - - paths: [ - packages/google-cloud-maintenance-api/google/cloud/maintenance_api_v1beta/types/maintenance_service.py, - ] - before: | - user_controllable \(bool\): - \ Output only. Indicates whether the user has - \ some control over that maintenance, either - \ proactively before maintenance was scheduled - after: | - user_controllable (bool): - Output only. Indicates whether the user has - some control over that maintenance, either - proactively before maintenance was scheduled - count: 1 - - paths: [ - packages/google-cloud-storagebatchoperations/google/cloud/storagebatchoperations_v1/types/storage_batch_operations_types.py, - ] - before: | - content_type \(str\): - \ Optional. Updates objects Content-Type fixed - \ metadata. Unset values will be ignored. - \ Set empty values to clear the metadata. Refer - \ to documentation in - after: | - content_type (str): - Optional. Updates objects Content-Type fixed - metadata. Unset values will be ignored. - Set empty values to clear the metadata. Refer - to documentation in - count: 1 - - paths: [ - packages/google-cloud-dataplex/google/cloud/dataplex_v1/types/business_glossary.py, - ] - before: | - Examples of using a filter are: - \ -------------------------------\n - \ ``immediate_parent="projects/\{project_id_or_number\}/locations/\{location_id\}/glossaries/\{glossary_id\}"`` - \ -------------------------------------------------------------------------------------------------------\n - \ ``immediate_parent="projects/\{project_id_or_number\}/locations/\{location_id\}/glossaries/\{glossary_id\}/categories/\{category_id\}"`` - after: | - Examples of using a filter are:\n - - ``immediate_parent="projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}"`` - - ``immediate_parent="projects/{project_id_or_number}/locations/{location_id}/glossaries/{glossary_id}/categories/{category_id}"`` - count: 2 - - paths: [ - packages/google-cloud-capacityplanner/google/cloud/capacityplanner_v1beta/types/usage_service.py, - ] - before: | - The format[\s]+is:\n - \ [\s]+projects/\{project\}/locations/\{location\} or - \ organizations/\{organization\}/locations/\{location\} - \ or[\s]+folders/\{folder\}/locations/\{location\} - after: | - The format is:\n - projects/{project}/locations/{location} or - organizations/{organization}/locations/{location} - or folders/{folder}/locations/{location} - count: 4 \ No newline at end of file diff --git a/scripts/client-post-processing/docs-index-rst-for-unversioned-apis.yaml b/scripts/client-post-processing/docs-index-rst-for-unversioned-apis.yaml deleted file mode 100644 index 266307713a7d..000000000000 --- a/scripts/client-post-processing/docs-index-rst-for-unversioned-apis.yaml +++ /dev/null @@ -1,174 +0,0 @@ -# Copyright 2023 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: docs/index.rst is handwritten for unversioned APIs -url: https://github.com/googleapis/gapic-generator-python/issues/1837 -replacements: - - paths: [ - packages/google-cloud-common/docs/index.rst - ] - before: | - API Reference - ------------- - .. toctree:: - :maxdepth: 2 - - common/services_ - common/types_ - after: | - .. include:: README.rst - - .. include:: multiprocessing.rst - - API Reference - ------------- - .. toctree:: - :maxdepth: 2 - - - common/services_ - common/types_ - - Changelog - --------- - - For a list of all ``google-cloud-common`` releases: - - .. toctree:: - :maxdepth: 2 - - CHANGELOG - - .. toctree:: - :hidden: - - summary_overview.md - count: 1 - - paths: [ - packages/google-shopping-type/docs/index.rst - ] - before: | - API Reference - ------------- - .. toctree:: - :maxdepth: 2 - - type/services_ - type/types_ - after: | - .. include:: README.rst - - .. include:: multiprocessing.rst - - API Reference - ------------- - .. toctree:: - :maxdepth: 2 - - - type/services_ - type/types_ - - Changelog - --------- - - For a list of all ``google-shopping-type`` releases: - - .. toctree:: - :maxdepth: 2 - - CHANGELOG - count: 1 - - paths: [ - packages/google-apps-script-type/docs/index.rst - ] - before: | - API Reference - ------------- - .. toctree:: - :maxdepth: 2 - - type/services_ - type/types_ - after: | - .. include:: README.rst - - .. include:: multiprocessing.rst - - API Reference - ------------- - .. toctree:: - :maxdepth: 2 - - - calendar/services_ - calendar/types_ - docs/services_ - docs/types_ - drive/services_ - drive/types_ - gmail/services_ - gmail/types_ - sheets/services_ - sheets/types_ - slides/services_ - slides/types_ - type/services_ - type/types_ - - - Changelog - --------- - - For a list of all ``google-apps-script-type`` releases: - - .. toctree:: - :maxdepth: 2 - - CHANGELOG - count: 1 - - paths: [ - packages/google-geo-type/docs/index.rst - ] - before: | - API Reference - ------------- - .. toctree:: - :maxdepth: 2 - - type/services_ - type/types_ - after: | - .. include:: README.rst - - .. include:: multiprocessing.rst - - API Reference - ------------- - .. toctree:: - :maxdepth: 2 - - - type/services_ - type/types_ - - Changelog - --------- - - For a list of all ``google-geo-type`` releases: - - .. toctree:: - :maxdepth: 2 - - CHANGELOG - count: 1 diff --git a/scripts/client-post-processing/integrate-isolated-handwritten-code.yaml b/scripts/client-post-processing/integrate-isolated-handwritten-code.yaml index 1d5d43ca7a2f..154ae2696342 100644 --- a/scripts/client-post-processing/integrate-isolated-handwritten-code.yaml +++ b/scripts/client-post-processing/integrate-isolated-handwritten-code.yaml @@ -14,133 +14,6 @@ description: Integrate isolated handwritten helpers/mixin code url: https://github.com/googleapis/gapic-generator-python/issues/1642 replacements: - - paths: [ - packages/google-cloud-vision/google/cloud/vision/__init__.py - ] - before: | - from google.cloud.vision_v1.services.image_annotator.client import ImageAnnotatorClient - after: | - from google.cloud.vision_v1 import ImageAnnotatorClient - count: 1 - - paths: [ - packages/google-cloud-vision/google/cloud/vision_v1/__init__.py, - packages/google-cloud-vision/google/cloud/vision_v1p1beta1/__init__.py, - packages/google-cloud-vision/google/cloud/vision_v1p2beta1/__init__.py, - packages/google-cloud-vision/google/cloud/vision_v1p3beta1/__init__.py, - packages/google-cloud-vision/google/cloud/vision_v1p4beta1/__init__.py, - ] - before: | - from .services.image_annotator import ImageAnnotatorAsyncClient, ImageAnnotatorClient - after: | - from google.cloud.vision_helpers import VisionHelpers - from google.cloud.vision_helpers.decorators import add_single_feature_methods\n - from .services.image_annotator import ImageAnnotatorAsyncClient - from .services.image_annotator import ImageAnnotatorClient as IacImageAnnotatorClient - count: 5 - - paths: [ - packages/google-cloud-vision/google/cloud/vision_v1/__init__.py, - packages/google-cloud-vision/google/cloud/vision_v1p1beta1/__init__.py, - packages/google-cloud-vision/google/cloud/vision_v1p2beta1/__init__.py, - packages/google-cloud-vision/google/cloud/vision_v1p3beta1/__init__.py, - packages/google-cloud-vision/google/cloud/vision_v1p4beta1/__init__.py, - ] - before: | - from .types.web_detection import WebDetection\n - __all__ = \( - after: | - from .types.web_detection import WebDetection\n\n - @add_single_feature_methods - class ImageAnnotatorClient(VisionHelpers, IacImageAnnotatorClient): - __doc__ = IacImageAnnotatorClient.__doc__ - Feature = Feature\n\n - __all__ = ( - count: 5 - - paths: [ - "packages/google-cloud-translate/setup.py" - ] - before: | - dependencies = \[ - "google-api-core\[grpc\] >= 1.34.1, <3.0.0,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,!=2.10.*", - # Exclude incompatible versions of `google-auth` - # See https://github.com/googleapis/google-cloud-python/issues/12364 - "google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0", - "proto-plus >= 1.22.3, <2.0.0", - after: | - dependencies = [ - "google-api-core[grpc] >= 1.34.1, <3.0.0,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,!=2.10.*", - # Exclude incompatible versions of `google-auth` - # See https://github.com/googleapis/google-cloud-python/issues/12364 - "google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0", - "google-cloud-core >= 1.4.4, <3.0.0", - "proto-plus >= 1.22.3, <2.0.0", - count: 1 - - paths: [ - "packages/google-cloud-translate/testing/constraints-3.7.txt" - ] - before: | - proto-plus==1.22.3 - protobuf==3.20.2 - after: | - proto-plus==1.22.3 - google-cloud-core==1.4.4 - protobuf==3.20.2 - count: 1 - - paths: [ - "packages/google-cloud-translate/docs/index.rst", - ] - before: | - API Reference - ------------- - .. toctree:: - :maxdepth: 2 - - translate_v2/services_ - translate_v2/types_ - after: | - API Reference - ------------- - .. toctree:: - :maxdepth: 2 - - v2 - count: 1 - - paths: [ - packages/google-cloud-speech/google/cloud/speech_v1/__init__.py, - ] - before: | - \) - - __all__ = \( - after: | - ) - - from google.cloud.speech_v1.helpers import SpeechHelpers\n\n - class SpeechClient(SpeechHelpers, SpeechClient): - __doc__ = SpeechClient.__doc__\n\n - __all__ = ( - count: 1 - - paths: [ - packages/google-cloud-speech/google/cloud/speech_v1p1beta1/__init__.py, - ] - before: | - \)\n - __all__ = \( - after: | - )\n - from google.cloud.speech_v1.helpers import SpeechHelpers - \n - class SpeechClient(SpeechHelpers, SpeechClient): - __doc__ = SpeechClient.__doc__\n\n - __all__ = ( - count: 1 - - paths: [ - packages/google-cloud-speech/google/cloud/speech/__init__.py, - ] - before: | - from google.cloud.speech_v1.services.speech.client import SpeechClient - after: | - from google.cloud.speech_v1 import SpeechClient - count: 1 - paths: [ packages/google-cloud-monitoring/setup.py, ] @@ -190,82 +63,3 @@ replacements: monitoring_v3/services_ monitoring_v3/types_ count: 1 - - paths: [ - packages/google-cloud-automl/setup.py, - ] - before: extras = \{\} - after: | - extras = { - "libcst": "libcst >= 0.2.5", - "pandas": ["pandas>=1.0.5"], - "storage": ["google-cloud-storage >=1.18.0, <4.0.0"], - } - count: 1 - - paths: [ - packages/google-cloud-automl/testing/constraints-3.7.txt, - ] - before: | - google-api-core==1.34.1 - google-auth==2.14.1 - proto-plus==1.22.3 - after: | - google-api-core==1.34.1 - google-auth==2.14.1 - google-cloud-storage==1.18.0 - libcst==0.2.5 - pandas==1.0.5 - proto-plus==1.22.3 - count: 1 - - paths: [ - packages/google-cloud-automl/docs/automl_v1beta1/services_.rst, - ] - before: | - Services for Google Cloud Automl v1beta1 API - ============================================ - .. toctree:: - :maxdepth: 2 - - auto_ml - prediction_service - after: | - Services for Google Cloud Automl v1beta1 API - ============================================ - .. toctree:: - :maxdepth: 2 - - tables - auto_ml - prediction_service - count: 1 - - paths: [ - packages/google-cloud-automl/google/cloud/automl_v1beta1/__init__.py, - ] - before: | - \) - from .types.annotation_payload import AnnotationPayload - after: | - ) - from .services.tables.gcs_client import GcsClient - from .services.tables.tables_client import TablesClient - from .types.annotation_payload import AnnotationPayload - count: 1 - - paths: [ - packages/google-cloud-automl/google/cloud/automl_v1beta1/__init__.py, - ] - before: | - __all__ = \( - "AutoMlAsyncClient", - after: | - __all__ = ( - "GcsClient", - "TablesClient", - "AutoMlAsyncClient", - count: 1 - - paths: [ - packages/google-cloud-automl/noxfile.py, - ] - before: | - UNIT_TEST_EXTRAS: List\[str\] = \[\] - after: | - UNIT_TEST_EXTRAS: List[str] = ["pandas", "storage"] - count: 1 diff --git a/scripts/client-post-processing/mypy-error-with-org-policy-as-dependency.yaml b/scripts/client-post-processing/mypy-error-with-org-policy-as-dependency.yaml deleted file mode 100644 index 72b07040efc2..000000000000 --- a/scripts/client-post-processing/mypy-error-with-org-policy-as-dependency.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 2023 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: Mypy error in asset golden files when adding dependency for google-cloud-org-policy -url: https://github.com/googleapis/gapic-generator-python/issues/1806 -replacements: - - paths: [ - packages/google-cloud-asset/setup.py - ] - before: | - dependencies = \[ - "google-api-core\[grpc\] >= 1.34.1, <3.0.0,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,!=2.10.*", - # Exclude incompatible versions of `google-auth` - # See https://github.com/googleapis/google-cloud-python/issues/12364 - "google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0", - "proto-plus >= 1.22.3, <2.0.0", - after: | - dependencies = [ - "google-api-core[grpc] >= 1.34.1, <3.0.0,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,!=2.10.*", - # Exclude incompatible versions of `google-auth` - # See https://github.com/googleapis/google-cloud-python/issues/12364 - "google-auth >= 2.14.1, <3.0.0,!=2.24.0,!=2.25.0", - "google-cloud-org-policy >= 0.1.2, <2.0.0", - "proto-plus >= 1.22.3, <2.0.0", - count: 1 - - paths: [ - packages/google-cloud-asset/testing/constraints-3.7.txt - ] - before: | - google-api-core==1.34.1 - google-auth==2.14.1 - proto-plus==1.22.3 - after: | - google-api-core==1.34.1 - google-auth==2.14.1 - google-cloud-org-policy==0.1.2 - proto-plus==1.22.3 - count: 1 diff --git a/scripts/client-post-processing/proto-plus-dependency-with-modified-namespace.yaml b/scripts/client-post-processing/proto-plus-dependency-with-modified-namespace.yaml index 78797d2b1b4e..f394ebd283b3 100644 --- a/scripts/client-post-processing/proto-plus-dependency-with-modified-namespace.yaml +++ b/scripts/client-post-processing/proto-plus-dependency-with-modified-namespace.yaml @@ -14,26 +14,6 @@ description: Unable to generate client if it has a proto-plus dependency with a modified namespace url: https://github.com/googleapis/gapic-generator-python/issues/1796 replacements: - - paths: [ - packages/google-cloud-binary-authorization/google/cloud/binaryauthorization_v1/types/service.py, - ] - before: | - from grafeas.v1 import attestation_pb2 # type: ignore - after: | - import grafeas.grafeas_v1.types # type: ignore - count: 1 - - paths: [ - packages/google-cloud-binary-authorization/google/cloud/binaryauthorization_v1/types/service.py, - ] - before: attestation_pb2 - after: grafeas.grafeas_v1.types - count: 3 - - paths: [ - packages/google-cloud-binary-authorization/google/cloud/binaryauthorization_v1/types/service.py, - ] - before: grafeas.v1.grafeas.grafeas_v1.types.AttestationOccurrence - after: grafeas.grafeas_v1.types.AttestationOccurrence - count: 1 - paths: [ packages/google-cloud-policytroubleshooter-iam/google/cloud/policytroubleshooter_iam_v3/types/troubleshooter.py, ] diff --git a/scripts/client-post-processing/revert-reserved-words.yaml b/scripts/client-post-processing/revert-reserved-words.yaml deleted file mode 100644 index e0195a3f1cb4..000000000000 --- a/scripts/client-post-processing/revert-reserved-words.yaml +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 2023 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: Contradicts reserved words defined in gapic-generator-python -url: https://github.com/googleapis/google-cloud-python/issues/11924 -replacements: - - paths: [ - packages/google-cloud-trace/google/cloud/trace_v2/types/trace.py, - ] - before: "type_" - after: "type" - count: 4 - - paths: [ - packages/google-cloud-kms/google/cloud/kms_v1/types/resources.py, - packages/google-cloud-kms/tests/unit/gapic/kms_v1/test_key_management_service.py, - ] - before: "format_" - after: "format" - count: 7 - - paths: [ - packages/google-cloud-dataflow-client/google/cloud/dataflow_v1beta3/types/metrics.py - ] - before: set \(google.protobuf.struct_pb2.Value\) - after: set_ (google.protobuf.struct_pb2.Value) - count: 1 - - paths: [ - packages/google-cloud-dataflow-client/google/cloud/dataflow_v1beta3/types/metrics.py - ] - before: "set: struct_pb2.Value = proto.Field" - after: "set_: struct_pb2.Value = proto.Field" - count: 1 \ No newline at end of file diff --git a/scripts/client-post-processing/sub-api-versioned-namespace.yaml b/scripts/client-post-processing/sub-api-versioned-namespace.yaml index a3ff95bb77b6..68f92a02dde1 100644 --- a/scripts/client-post-processing/sub-api-versioned-namespace.yaml +++ b/scripts/client-post-processing/sub-api-versioned-namespace.yaml @@ -90,58 +90,6 @@ replacements: gkehub_v1/multiclusteringress_v1/services_ gkehub_v1/multiclusteringress_v1/types_\n count: 1 - - paths: [ - packages/google-cloud-workflows/docs/index.rst - ] - before: | - API Reference - ------------- - .. toctree:: - :maxdepth: 2 - - workflows_v1/services_ - workflows_v1/types_ - - API Reference - ------------- - .. toctree:: - :maxdepth: 2 - - workflows_v1beta/services_ - workflows_v1beta/types_\n\n - after: | - API Reference - ------------- - .. toctree:: - :maxdepth: 2 - - workflows_v1/services_ - workflows_v1/types_ - - API Reference - ------------- - .. toctree:: - :maxdepth: 2 - - workflows_v1beta/services_ - workflows_v1beta/types_ - - API Reference - ------------- - .. toctree:: - :maxdepth: 2 - - executions_v1/services_ - executions_v1/types_ - - API Reference - ------------- - .. toctree:: - :maxdepth: 2 - - executions_v1beta/services_ - executions_v1beta/types_\n - count: 1 - paths: [ packages/google-cloud-os-login/google/cloud/oslogin_v1/services/os_login_service/async_client.py, packages/google-cloud-os-login/google/cloud/oslogin_v1/services/os_login_service/client.py, diff --git a/scripts/client-post-processing/update-readme-with-pycharm-workaround.yaml b/scripts/client-post-processing/update-readme-with-pycharm-workaround.yaml deleted file mode 100644 index c64cae64c268..000000000000 --- a/scripts/client-post-processing/update-readme-with-pycharm-workaround.yaml +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 2023 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: Update README to provide a workaround for PyCharm users -url: https://github.com/googleapis/gapic-generator-python/issues/1252 -replacements: - - paths: [ - packages/google-cloud-compute/README.rst - ] - before: | - .. _`venv`: https://docs.python.org/3/library/venv.html - - - Code samples and snippets - ~~~~~~~~~~~~~~~~~~~~~~~~~ - after: | - .. _`venv`: https://docs.python.org/3/library/venv.html - - PyCharm/JetBrains IDEs - ~~~~~~~~~~~~~~~~~~~~~~ - This library has now grown in size past the `JetBrains default size limit of ~2.5Mb`_. - As a result, code completion in JetBrains products can fail to work with the classes from our library. To - fix this, you need to update the ``idea.max.intellisense.filesize`` setting in custom properties - (Help -> Edit custom properties...). Just add the line ``idea.max.intellisense.filesize = 10000`` to change this - limit to ~10Mb. - - .. _JetBrains default size limit of ~2.5Mb: https://www.jetbrains.com/help/pycharm/file-idea-properties.html - - Code samples and snippets - ~~~~~~~~~~~~~~~~~~~~~~~~~ - count: 1