Skip to content
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.

Commit

Permalink
docs: Fix formatting of request arg in docstring (#74)
Browse files Browse the repository at this point in the history
* chore: Update gapic-generator-python to v1.9.0

PiperOrigin-RevId: 517425588

Source-Link: googleapis/googleapis@33c93eb

Source-Link: googleapis/googleapis-gen@d5f5978
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZDVmNTk3ODlkMTlmYzQzMjcwZmYyMTI0OTY3ZDRlYzg5OTJiOGU4ZiJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* docs: Fix formatting of request arg in docstring

chore: Update gapic-generator-python to v1.9.1
PiperOrigin-RevId: 518604533

Source-Link: googleapis/googleapis@8a085ae

Source-Link: googleapis/googleapis-gen@b2ab4b0
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjJhYjRiMGEwYWUyOTA3ZTgxMmMyMDkxOThhNzRlMDg5OGFmY2IwNCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Mar 23, 2023
1 parent 4b5d10a commit 6edd830
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 30 deletions.
Expand Up @@ -1113,8 +1113,7 @@ async def sample_create_api_version():
Args:
request (Optional[Union[google.cloud.apigee_registry_v1.types.CreateApiVersionRequest, dict]]):
The request object. Request message for
CreateApiVersion.
The request object. Request message for CreateApiVersion.
parent (:class:`str`):
Required. The parent, which owns this collection of
versions. Format: ``projects/*/locations/*/apis/*``
Expand Down Expand Up @@ -1250,8 +1249,7 @@ async def sample_update_api_version():
Args:
request (Optional[Union[google.cloud.apigee_registry_v1.types.UpdateApiVersionRequest, dict]]):
The request object. Request message for
UpdateApiVersion.
The request object. Request message for UpdateApiVersion.
api_version (:class:`google.cloud.apigee_registry_v1.types.ApiVersion`):
Required. The version to update.
Expand Down Expand Up @@ -1380,8 +1378,7 @@ async def sample_delete_api_version():
Args:
request (Optional[Union[google.cloud.apigee_registry_v1.types.DeleteApiVersionRequest, dict]]):
The request object. Request message for
DeleteApiVersion.
The request object. Request message for DeleteApiVersion.
name (:class:`str`):
Required. The name of the version to delete. Format:
``projects/*/locations/*/apis/*/versions/*``
Expand Down Expand Up @@ -2864,8 +2861,7 @@ async def sample_get_api_deployment():
Args:
request (Optional[Union[google.cloud.apigee_registry_v1.types.GetApiDeploymentRequest, dict]]):
The request object. Request message for
GetApiDeployment.
The request object. Request message for GetApiDeployment.
name (:class:`str`):
Required. The name of the deployment to retrieve.
Format: ``projects/*/locations/*/apis/*/deployments/*``
Expand Down
12 changes: 4 additions & 8 deletions google/cloud/apigee_registry_v1/services/registry/client.py
Expand Up @@ -1352,8 +1352,7 @@ def sample_create_api_version():
Args:
request (Union[google.cloud.apigee_registry_v1.types.CreateApiVersionRequest, dict]):
The request object. Request message for
CreateApiVersion.
The request object. Request message for CreateApiVersion.
parent (str):
Required. The parent, which owns this collection of
versions. Format: ``projects/*/locations/*/apis/*``
Expand Down Expand Up @@ -1477,8 +1476,7 @@ def sample_update_api_version():
Args:
request (Union[google.cloud.apigee_registry_v1.types.UpdateApiVersionRequest, dict]):
The request object. Request message for
UpdateApiVersion.
The request object. Request message for UpdateApiVersion.
api_version (google.cloud.apigee_registry_v1.types.ApiVersion):
Required. The version to update.
Expand Down Expand Up @@ -1595,8 +1593,7 @@ def sample_delete_api_version():
Args:
request (Union[google.cloud.apigee_registry_v1.types.DeleteApiVersionRequest, dict]):
The request object. Request message for
DeleteApiVersion.
The request object. Request message for DeleteApiVersion.
name (str):
Required. The name of the version to delete. Format:
``projects/*/locations/*/apis/*/versions/*``
Expand Down Expand Up @@ -2950,8 +2947,7 @@ def sample_get_api_deployment():
Args:
request (Union[google.cloud.apigee_registry_v1.types.GetApiDeploymentRequest, dict]):
The request object. Request message for
GetApiDeployment.
The request object. Request message for GetApiDeployment.
name (str):
Required. The name of the deployment to retrieve.
Format: ``projects/*/locations/*/apis/*/deployments/*``
Expand Down
Expand Up @@ -1517,7 +1517,6 @@ def __call__(
request (~.registry_service.CreateApiDeploymentRequest):
The request object. Request message for
CreateApiDeployment.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -2040,7 +2039,6 @@ def __call__(
request (~.registry_service.DeleteApiDeploymentRequest):
The request object. Request message for
DeleteApiDeployment.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -2119,7 +2117,6 @@ def __call__(
request (~.registry_service.DeleteApiDeploymentRevisionRequest):
The request object. Request message for
DeleteApiDeploymentRevision.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -2292,7 +2289,6 @@ def __call__(
request (~.registry_service.DeleteApiSpecRevisionRequest):
The request object. Request message for
DeleteApiSpecRevision.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -2848,7 +2844,6 @@ def __call__(
request (~.registry_service.GetApiSpecContentsRequest):
The request object. Request message for
GetApiSpecContents.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -3189,7 +3184,6 @@ def __call__(
request (~.registry_service.GetArtifactContentsRequest):
The request object. Request message for
GetArtifactContents.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -3345,7 +3339,6 @@ def __call__(
request (~.registry_service.ListApiDeploymentRevisionsRequest):
The request object. Request message for
ListApiDeploymentRevisions.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -3437,7 +3430,6 @@ def __call__(
request (~.registry_service.ListApiDeploymentsRequest):
The request object. Request message for
ListApiDeployments.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -3615,7 +3607,6 @@ def __call__(
request (~.registry_service.ListApiSpecRevisionsRequest):
The request object. Request message for
ListApiSpecRevisions.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -4111,7 +4102,6 @@ def __call__(
request (~.registry_service.RollbackApiDeploymentRequest):
The request object. Request message for
RollbackApiDeployment.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -4331,7 +4321,6 @@ def __call__(
request (~.registry_service.TagApiDeploymentRevisionRequest):
The request object. Request message for
TagApiDeploymentRevision.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -4439,7 +4428,6 @@ def __call__(
request (~.registry_service.TagApiSpecRevisionRequest):
The request object. Request message for
TagApiSpecRevision.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -4650,7 +4638,6 @@ def __call__(
request (~.registry_service.UpdateApiDeploymentRequest):
The request object. Request message for
UpdateApiDeployment.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -42,7 +42,7 @@
"proto-plus >= 1.22.0, <2.0.0dev",
"proto-plus >= 1.22.2, <2.0.0dev; python_version>='3.11'",
"protobuf>=3.19.5,<5.0.0dev,!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5",
"grpc-google-iam-v1 >= 0.12.4, < 1.0.0dev",
"grpc-google-iam-v1 >= 0.12.4, <1.0.0dev",
]
url = "https://github.com/googleapis/python-apigee-registry"

Expand Down

0 comments on commit 6edd830

Please sign in to comment.