diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 5fc5daa..b8edda5 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest - digest: sha256:8555f0e37e6261408f792bfd6635102d2da5ad73f8f09bcb24f25e6afb5fac97 + digest: sha256:2e247c7bf5154df7f98cce087a20ca7605e236340c7d6d1a14447e5c06791bd6 diff --git a/.kokoro/requirements.in b/.kokoro/requirements.in index 882178c..ec867d9 100644 --- a/.kokoro/requirements.in +++ b/.kokoro/requirements.in @@ -5,6 +5,6 @@ typing-extensions twine wheel setuptools -nox +nox>=2022.11.21 # required to remove dependency on py charset-normalizer<3 click<8.1.0 diff --git a/.kokoro/requirements.txt b/.kokoro/requirements.txt index fa99c12..66a2172 100644 --- a/.kokoro/requirements.txt +++ b/.kokoro/requirements.txt @@ -1,6 +1,6 @@ # -# This file is autogenerated by pip-compile with python 3.10 -# To update, run: +# This file is autogenerated by pip-compile with Python 3.9 +# by the following command: # # pip-compile --allow-unsafe --generate-hashes requirements.in # @@ -335,9 +335,9 @@ more-itertools==9.0.0 \ --hash=sha256:250e83d7e81d0c87ca6bd942e6aeab8cc9daa6096d12c5308f3f92fa5e5c1f41 \ --hash=sha256:5a6257e40878ef0520b1803990e3e22303a41b5714006c32a3fd8304b26ea1ab # via jaraco-classes -nox==2022.8.7 \ - --hash=sha256:1b894940551dc5c389f9271d197ca5d655d40bdc6ccf93ed6880e4042760a34b \ - --hash=sha256:96cca88779e08282a699d672258ec01eb7c792d35bbbf538c723172bce23212c +nox==2022.11.21 \ + --hash=sha256:0e41a990e290e274cb205a976c4c97ee3c5234441a8132c8c3fd9ea3c22149eb \ + --hash=sha256:e21c31de0711d1274ca585a2c5fde36b1aa962005ba8e9322bf5eeed16dcd684 # via -r requirements.in packaging==21.3 \ --hash=sha256:dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb \ @@ -380,10 +380,6 @@ protobuf==3.20.3 \ # gcp-docuploader # gcp-releasetool # google-api-core -py==1.11.0 \ - --hash=sha256:51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719 \ - --hash=sha256:607c53218732647dff4acdfcd50cb62615cedf612e72d1724fb1a0cc6405b378 - # via nox pyasn1==0.4.8 \ --hash=sha256:39c7e2ec30515947ff4e87fb6f456dfc6e84857d34be479c9d4a4ba4bf46aa5d \ --hash=sha256:aef77c9fb94a3ac588e87841208bdec464471d9871bd5050a287cc9a475cd0ba diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 64e0684..d0972da 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.7.0" + ".": "1.7.1" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 24a7c02..be999d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.7.1](https://github.com/googleapis/python-service-usage/compare/v1.7.0...v1.7.1) (2023-03-23) + + +### Documentation + +* Fix formatting of request arg in docstring ([#170](https://github.com/googleapis/python-service-usage/issues/170)) ([f730be6](https://github.com/googleapis/python-service-usage/commit/f730be62e82de2374216e72d8a54fc8110e0a868)) + ## [1.7.0](https://github.com/googleapis/python-service-usage/compare/v1.6.1...v1.7.0) (2023-02-28) diff --git a/google/cloud/service_usage/gapic_version.py b/google/cloud/service_usage/gapic_version.py index f033c61..84856f0 100644 --- a/google/cloud/service_usage/gapic_version.py +++ b/google/cloud/service_usage/gapic_version.py @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -__version__ = "1.7.0" # {x-release-please-version} +__version__ = "1.7.1" # {x-release-please-version} diff --git a/google/cloud/service_usage_v1/gapic_version.py b/google/cloud/service_usage_v1/gapic_version.py index f033c61..84856f0 100644 --- a/google/cloud/service_usage_v1/gapic_version.py +++ b/google/cloud/service_usage_v1/gapic_version.py @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -__version__ = "1.7.0" # {x-release-please-version} +__version__ = "1.7.1" # {x-release-please-version} diff --git a/google/cloud/service_usage_v1/services/service_usage/async_client.py b/google/cloud/service_usage_v1/services/service_usage/async_client.py index f137e40..000f995 100644 --- a/google/cloud/service_usage_v1/services/service_usage/async_client.py +++ b/google/cloud/service_usage_v1/services/service_usage/async_client.py @@ -259,8 +259,7 @@ async def sample_enable_service(): Args: request (Optional[Union[google.cloud.service_usage_v1.types.EnableServiceRequest, dict]]): - The request object. Request message for the - `EnableService` method. + The request object. Request message for the ``EnableService`` method. retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -361,8 +360,7 @@ async def sample_disable_service(): Args: request (Optional[Union[google.cloud.service_usage_v1.types.DisableServiceRequest, dict]]): - The request object. Request message for the - `DisableService` method. + The request object. Request message for the ``DisableService`` method. retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -453,8 +451,7 @@ async def sample_get_service(): Args: request (Optional[Union[google.cloud.service_usage_v1.types.GetServiceRequest, dict]]): - The request object. Request message for the `GetService` - method. + The request object. Request message for the ``GetService`` method. retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -546,8 +543,7 @@ async def sample_list_services(): Args: request (Optional[Union[google.cloud.service_usage_v1.types.ListServicesRequest, dict]]): - The request object. Request message for the - `ListServices` method. + The request object. Request message for the ``ListServices`` method. retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -643,8 +639,7 @@ async def sample_batch_enable_services(): Args: request (Optional[Union[google.cloud.service_usage_v1.types.BatchEnableServicesRequest, dict]]): - The request object. Request message for the - `BatchEnableServices` method. + The request object. Request message for the ``BatchEnableServices`` method. retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -735,8 +730,7 @@ async def sample_batch_get_services(): Args: request (Optional[Union[google.cloud.service_usage_v1.types.BatchGetServicesRequest, dict]]): - The request object. Request message for the - `BatchGetServices` method. + The request object. Request message for the ``BatchGetServices`` method. retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. diff --git a/google/cloud/service_usage_v1/services/service_usage/client.py b/google/cloud/service_usage_v1/services/service_usage/client.py index 2549c36..597a152 100644 --- a/google/cloud/service_usage_v1/services/service_usage/client.py +++ b/google/cloud/service_usage_v1/services/service_usage/client.py @@ -470,8 +470,7 @@ def sample_enable_service(): Args: request (Union[google.cloud.service_usage_v1.types.EnableServiceRequest, dict]): - The request object. Request message for the - `EnableService` method. + The request object. Request message for the ``EnableService`` method. retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -573,8 +572,7 @@ def sample_disable_service(): Args: request (Union[google.cloud.service_usage_v1.types.DisableServiceRequest, dict]): - The request object. Request message for the - `DisableService` method. + The request object. Request message for the ``DisableService`` method. retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -666,8 +664,7 @@ def sample_get_service(): Args: request (Union[google.cloud.service_usage_v1.types.GetServiceRequest, dict]): - The request object. Request message for the `GetService` - method. + The request object. Request message for the ``GetService`` method. retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -760,8 +757,7 @@ def sample_list_services(): Args: request (Union[google.cloud.service_usage_v1.types.ListServicesRequest, dict]): - The request object. Request message for the - `ListServices` method. + The request object. Request message for the ``ListServices`` method. retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -858,8 +854,7 @@ def sample_batch_enable_services(): Args: request (Union[google.cloud.service_usage_v1.types.BatchEnableServicesRequest, dict]): - The request object. Request message for the - `BatchEnableServices` method. + The request object. Request message for the ``BatchEnableServices`` method. retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -951,8 +946,7 @@ def sample_batch_get_services(): Args: request (Union[google.cloud.service_usage_v1.types.BatchGetServicesRequest, dict]): - The request object. Request message for the - `BatchGetServices` method. + The request object. Request message for the ``BatchGetServices`` method. retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. diff --git a/samples/generated_samples/snippet_metadata_google.api.serviceusage.v1.json b/samples/generated_samples/snippet_metadata_google.api.serviceusage.v1.json index c842a28..fbebbaf 100644 --- a/samples/generated_samples/snippet_metadata_google.api.serviceusage.v1.json +++ b/samples/generated_samples/snippet_metadata_google.api.serviceusage.v1.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-service-usage", - "version": "1.7.0" + "version": "1.7.1" }, "snippets": [ {