Skip to content
This repository was archived by the owner on Jul 6, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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