-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add support for
google.cloud.apigee_registry.__version__
(#46)
* chore: update to gapic-generator-python 1.5.0 feat: add support for `google.cloud.<api>.__version__` PiperOrigin-RevId: 484665853 Source-Link: googleapis/googleapis@8eb249a Source-Link: googleapis/googleapis-gen@c8aa327 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYzhhYTMyN2I1ZjQ3ODg2NWZjM2ZkOTFlM2MyNzY4ZTU0ZTI2YWQ0NCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * add .release-please-manifest.json with correct version * regenerate code using templated owlbot.py and autogenerated setup.py * configure release please to use manifest Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <[email protected]>
- Loading branch information
1 parent
a12c260
commit 242ba53
Showing
116 changed files
with
1,529 additions
and
8,347 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
packages/google-cloud-apigee-registry/.github/release-please.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
releaseType: python | ||
manifest: true | ||
handleGHRelease: true |
3 changes: 3 additions & 0 deletions
3
packages/google-cloud-apigee-registry/.release-please-manifest.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
".": "0.3.2" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
147 changes: 147 additions & 0 deletions
147
packages/google-cloud-apigee-registry/google/cloud/apigee_registry/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,147 @@ | ||
# -*- 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. | ||
# | ||
from google.cloud.apigee_registry import gapic_version as package_version | ||
|
||
__version__ = package_version.__version__ | ||
|
||
|
||
from google.cloud.apigee_registry_v1.services.provisioning.async_client import ( | ||
ProvisioningAsyncClient, | ||
) | ||
from google.cloud.apigee_registry_v1.services.provisioning.client import ( | ||
ProvisioningClient, | ||
) | ||
from google.cloud.apigee_registry_v1.services.registry.async_client import ( | ||
RegistryAsyncClient, | ||
) | ||
from google.cloud.apigee_registry_v1.services.registry.client import RegistryClient | ||
from google.cloud.apigee_registry_v1.types.provisioning_service import ( | ||
CreateInstanceRequest, | ||
DeleteInstanceRequest, | ||
GetInstanceRequest, | ||
Instance, | ||
OperationMetadata, | ||
) | ||
from google.cloud.apigee_registry_v1.types.registry_models import ( | ||
Api, | ||
ApiDeployment, | ||
ApiSpec, | ||
ApiVersion, | ||
Artifact, | ||
) | ||
from google.cloud.apigee_registry_v1.types.registry_service import ( | ||
CreateApiDeploymentRequest, | ||
CreateApiRequest, | ||
CreateApiSpecRequest, | ||
CreateApiVersionRequest, | ||
CreateArtifactRequest, | ||
DeleteApiDeploymentRequest, | ||
DeleteApiDeploymentRevisionRequest, | ||
DeleteApiRequest, | ||
DeleteApiSpecRequest, | ||
DeleteApiSpecRevisionRequest, | ||
DeleteApiVersionRequest, | ||
DeleteArtifactRequest, | ||
GetApiDeploymentRequest, | ||
GetApiRequest, | ||
GetApiSpecContentsRequest, | ||
GetApiSpecRequest, | ||
GetApiVersionRequest, | ||
GetArtifactContentsRequest, | ||
GetArtifactRequest, | ||
ListApiDeploymentRevisionsRequest, | ||
ListApiDeploymentRevisionsResponse, | ||
ListApiDeploymentsRequest, | ||
ListApiDeploymentsResponse, | ||
ListApiSpecRevisionsRequest, | ||
ListApiSpecRevisionsResponse, | ||
ListApiSpecsRequest, | ||
ListApiSpecsResponse, | ||
ListApisRequest, | ||
ListApisResponse, | ||
ListApiVersionsRequest, | ||
ListApiVersionsResponse, | ||
ListArtifactsRequest, | ||
ListArtifactsResponse, | ||
ReplaceArtifactRequest, | ||
RollbackApiDeploymentRequest, | ||
RollbackApiSpecRequest, | ||
TagApiDeploymentRevisionRequest, | ||
TagApiSpecRevisionRequest, | ||
UpdateApiDeploymentRequest, | ||
UpdateApiRequest, | ||
UpdateApiSpecRequest, | ||
UpdateApiVersionRequest, | ||
) | ||
|
||
__all__ = ( | ||
"ProvisioningClient", | ||
"ProvisioningAsyncClient", | ||
"RegistryClient", | ||
"RegistryAsyncClient", | ||
"CreateInstanceRequest", | ||
"DeleteInstanceRequest", | ||
"GetInstanceRequest", | ||
"Instance", | ||
"OperationMetadata", | ||
"Api", | ||
"ApiDeployment", | ||
"ApiSpec", | ||
"ApiVersion", | ||
"Artifact", | ||
"CreateApiDeploymentRequest", | ||
"CreateApiRequest", | ||
"CreateApiSpecRequest", | ||
"CreateApiVersionRequest", | ||
"CreateArtifactRequest", | ||
"DeleteApiDeploymentRequest", | ||
"DeleteApiDeploymentRevisionRequest", | ||
"DeleteApiRequest", | ||
"DeleteApiSpecRequest", | ||
"DeleteApiSpecRevisionRequest", | ||
"DeleteApiVersionRequest", | ||
"DeleteArtifactRequest", | ||
"GetApiDeploymentRequest", | ||
"GetApiRequest", | ||
"GetApiSpecContentsRequest", | ||
"GetApiSpecRequest", | ||
"GetApiVersionRequest", | ||
"GetArtifactContentsRequest", | ||
"GetArtifactRequest", | ||
"ListApiDeploymentRevisionsRequest", | ||
"ListApiDeploymentRevisionsResponse", | ||
"ListApiDeploymentsRequest", | ||
"ListApiDeploymentsResponse", | ||
"ListApiSpecRevisionsRequest", | ||
"ListApiSpecRevisionsResponse", | ||
"ListApiSpecsRequest", | ||
"ListApiSpecsResponse", | ||
"ListApisRequest", | ||
"ListApisResponse", | ||
"ListApiVersionsRequest", | ||
"ListApiVersionsResponse", | ||
"ListArtifactsRequest", | ||
"ListArtifactsResponse", | ||
"ReplaceArtifactRequest", | ||
"RollbackApiDeploymentRequest", | ||
"RollbackApiSpecRequest", | ||
"TagApiDeploymentRevisionRequest", | ||
"TagApiSpecRevisionRequest", | ||
"UpdateApiDeploymentRequest", | ||
"UpdateApiRequest", | ||
"UpdateApiSpecRequest", | ||
"UpdateApiVersionRequest", | ||
) |
16 changes: 16 additions & 0 deletions
16
packages/google-cloud-apigee-registry/google/cloud/apigee_registry/gapic_version.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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__ = "0.3.2" # {x-release-please-version} |
2 changes: 2 additions & 0 deletions
2
packages/google-cloud-apigee-registry/google/cloud/apigee_registry/py.typed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Marker file for PEP 561. | ||
# The google-cloud-apigee-registry package uses inline types. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.