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 099626f..7840fde 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.8.0" + ".": "1.8.1" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 06fcfd3..7ab254b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.8.1](https://github.com/googleapis/python-storage-transfer/compare/v1.8.0...v1.8.1) (2023-03-23) + + +### Documentation + +* Fix formatting of request arg in docstring ([#151](https://github.com/googleapis/python-storage-transfer/issues/151)) ([8af4265](https://github.com/googleapis/python-storage-transfer/commit/8af4265865eadabd21957fc9efb375d5ca3ac1a6)) + ## [1.8.0](https://github.com/googleapis/python-storage-transfer/compare/v1.7.1...v1.8.0) (2023-02-28) diff --git a/google/cloud/storage_transfer/gapic_version.py b/google/cloud/storage_transfer/gapic_version.py index b334dcc..90e0293 100644 --- a/google/cloud/storage_transfer/gapic_version.py +++ b/google/cloud/storage_transfer/gapic_version.py @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -__version__ = "1.8.0" # {x-release-please-version} +__version__ = "1.8.1" # {x-release-please-version} diff --git a/google/cloud/storage_transfer_v1/gapic_version.py b/google/cloud/storage_transfer_v1/gapic_version.py index b334dcc..90e0293 100644 --- a/google/cloud/storage_transfer_v1/gapic_version.py +++ b/google/cloud/storage_transfer_v1/gapic_version.py @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -__version__ = "1.8.0" # {x-release-please-version} +__version__ = "1.8.1" # {x-release-please-version} diff --git a/google/cloud/storage_transfer_v1/services/storage_transfer_service/async_client.py b/google/cloud/storage_transfer_v1/services/storage_transfer_service/async_client.py index facd553..a45046e 100644 --- a/google/cloud/storage_transfer_v1/services/storage_transfer_service/async_client.py +++ b/google/cloud/storage_transfer_v1/services/storage_transfer_service/async_client.py @@ -602,9 +602,9 @@ async def sample_list_transfer_jobs(): Args: request (Optional[Union[google.cloud.storage_transfer_v1.types.ListTransferJobsRequest, dict]]): - The request object. `projectId`, `jobNames`, and - `jobStatuses` are query parameters that can be specified - when listing transfer jobs. + The request object. ``projectId``, ``jobNames``, and ``jobStatuses`` are + query parameters that can be specified when listing + transfer jobs. retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1373,8 +1373,7 @@ async def sample_list_agent_pools(): Args: request (Optional[Union[google.cloud.storage_transfer_v1.types.ListAgentPoolsRequest, dict]]): - The request object. The request passed to - ListAgentPools. + The request object. The request passed to ListAgentPools. project_id (:class:`str`): Required. The ID of the Google Cloud project that owns the job. diff --git a/google/cloud/storage_transfer_v1/services/storage_transfer_service/client.py b/google/cloud/storage_transfer_v1/services/storage_transfer_service/client.py index 184f5cd..b4fc14c 100644 --- a/google/cloud/storage_transfer_v1/services/storage_transfer_service/client.py +++ b/google/cloud/storage_transfer_v1/services/storage_transfer_service/client.py @@ -829,9 +829,9 @@ def sample_list_transfer_jobs(): Args: request (Union[google.cloud.storage_transfer_v1.types.ListTransferJobsRequest, dict]): - The request object. `projectId`, `jobNames`, and - `jobStatuses` are query parameters that can be specified - when listing transfer jobs. + The request object. ``projectId``, ``jobNames``, and ``jobStatuses`` are + query parameters that can be specified when listing + transfer jobs. retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1607,8 +1607,7 @@ def sample_list_agent_pools(): Args: request (Union[google.cloud.storage_transfer_v1.types.ListAgentPoolsRequest, dict]): - The request object. The request passed to - ListAgentPools. + The request object. The request passed to ListAgentPools. project_id (str): Required. The ID of the Google Cloud project that owns the job. diff --git a/google/cloud/storage_transfer_v1/services/storage_transfer_service/transports/rest.py b/google/cloud/storage_transfer_v1/services/storage_transfer_service/transports/rest.py index 053dce2..0dac533 100644 --- a/google/cloud/storage_transfer_v1/services/storage_transfer_service/transports/rest.py +++ b/google/cloud/storage_transfer_v1/services/storage_transfer_service/transports/rest.py @@ -695,7 +695,6 @@ def __call__( request (~.transfer.CreateAgentPoolRequest): The request object. Specifies the request passed to CreateAgentPool. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -894,7 +893,6 @@ def __call__( request (~.transfer.DeleteAgentPoolRequest): The request object. Specifies the request passed to DeleteAgentPool. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1050,7 +1048,6 @@ def __call__( request (~.transfer.GetAgentPoolRequest): The request object. Specifies the request passed to GetAgentPool. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1139,7 +1136,6 @@ def __call__( request (~.transfer.GetGoogleServiceAccountRequest): The request object. Request passed to GetGoogleServiceAccount. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1413,7 +1409,6 @@ def __call__( The request object. ``projectId``, ``jobNames``, and ``jobStatuses`` are query parameters that can be specified when listing transfer jobs. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1503,7 +1498,6 @@ def __call__( request (~.transfer.PauseTransferOperationRequest): The request object. Request passed to PauseTransferOperation. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1590,7 +1584,6 @@ def __call__( request (~.transfer.ResumeTransferOperationRequest): The request object. Request passed to ResumeTransferOperation. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1775,7 +1768,6 @@ def __call__( request (~.transfer.UpdateAgentPoolRequest): The request object. Specifies the request passed to UpdateAgentPool. - 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.storagetransfer.v1.json b/samples/generated_samples/snippet_metadata_google.storagetransfer.v1.json index c8c6d1f..21d1a06 100644 --- a/samples/generated_samples/snippet_metadata_google.storagetransfer.v1.json +++ b/samples/generated_samples/snippet_metadata_google.storagetransfer.v1.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-storage-transfer", - "version": "1.8.0" + "version": "1.8.1" }, "snippets": [ {