diff --git a/packages/google-cloud-bigquery-logging/.coveragerc b/packages/google-cloud-bigquery-logging/.coveragerc index 11f8501db6ef..1fc7be801011 100644 --- a/packages/google-cloud-bigquery-logging/.coveragerc +++ b/packages/google-cloud-bigquery-logging/.coveragerc @@ -5,6 +5,7 @@ branch = True show_missing = True omit = google/cloud/bigquery_logging/__init__.py + google/cloud/bigquery_logging/gapic_version.py exclude_lines = # Re-enable the standard pragma pragma: NO COVER diff --git a/packages/google-cloud-bigquery-logging/google/cloud/bigquery_logging_v1/__init__.py b/packages/google-cloud-bigquery-logging/google/cloud/bigquery_logging_v1/__init__.py index 62576d2d25aa..1bd01e51f101 100644 --- a/packages/google-cloud-bigquery-logging/google/cloud/bigquery_logging_v1/__init__.py +++ b/packages/google-cloud-bigquery-logging/google/cloud/bigquery_logging_v1/__init__.py @@ -13,7 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -from google.cloud.bigquery_logging import gapic_version as package_version +from google.cloud.bigquery_logging_v1 import gapic_version as package_version __version__ = package_version.__version__ diff --git a/packages/google-cloud-bigquery-logging/google/cloud/bigquery_logging_v1/gapic_version.py b/packages/google-cloud-bigquery-logging/google/cloud/bigquery_logging_v1/gapic_version.py new file mode 100644 index 000000000000..8f031bd4dd07 --- /dev/null +++ b/packages/google-cloud-bigquery-logging/google/cloud/bigquery_logging_v1/gapic_version.py @@ -0,0 +1,16 @@ +# -*- coding: utf-8 -*- +# Copyright 2022 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. +# +__version__ = "1.2.0" # {x-release-please-version} diff --git a/packages/google-cloud-bigquery-logging/release-please-config.json b/packages/google-cloud-bigquery-logging/release-please-config.json index f3404bf93e17..668695fce03f 100644 --- a/packages/google-cloud-bigquery-logging/release-please-config.json +++ b/packages/google-cloud-bigquery-logging/release-please-config.json @@ -4,7 +4,8 @@ ".": { "release-type": "python", "extra-files": [ - "google/cloud/bigquery_logging/gapic_version.py" + "google/cloud/bigquery_logging/gapic_version.py", + "google/cloud/bigquery_logging_v1/gapic_version.py" ] } }, @@ -16,4 +17,4 @@ ], "initial-version": "0.1.0" } - \ No newline at end of file +